{
  "id": "table-pagination",
  "name": "TablePagination",
  "level": "molecule",
  "status": "stable",
  "purpose": "Pagination footer for DataTable.",
  "description": "Composes the existing Pagination molecule with a summary line ('1–10 of 42'). page / pageCount are required and 1-based; pageSize / totalItems unlock the compressed range. Patterns consulted: Patterns/Navigation · PaginationForDatasets, Patterns/Page Shells · DataPage.",
  "role": "navigation",
  "import": "@rrios-forge/ui/molecules/table-pagination",
  "exports": [
    "TablePagination",
    "TABLE_PAGINATION_DENSITIES",
    "tablePaginationVariants"
  ],
  "source": "packages/ui/src/molecules/table-pagination",
  "axes": [
    {
      "axis": "density",
      "part": null,
      "values": [
        "compact",
        "comfortable"
      ],
      "default": null,
      "meaning": null
    }
  ],
  "needs": [
    {
      "need": "Table",
      "answer": "`DataTable`, or `TableHeader` + `TableRow` + `TablePagination`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-tablepagination--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablepagination--playground",
      "frame": "/iframe.html?id=components-molecules-tablepagination--playground&viewMode=story"
    },
    {
      "name": "Many pages",
      "id": "components-molecules-tablepagination--many-pages",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablepagination--many-pages",
      "frame": "/iframe.html?id=components-molecules-tablepagination--many-pages&viewMode=story"
    },
    {
      "name": "First page",
      "id": "components-molecules-tablepagination--first-page",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablepagination--first-page",
      "frame": "/iframe.html?id=components-molecules-tablepagination--first-page&viewMode=story"
    },
    {
      "name": "Last page",
      "id": "components-molecules-tablepagination--last-page",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablepagination--last-page",
      "frame": "/iframe.html?id=components-molecules-tablepagination--last-page&viewMode=story"
    },
    {
      "name": "In data surface",
      "id": "components-molecules-tablepagination--in-data-surface",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablepagination--in-data-surface",
      "frame": "/iframe.html?id=components-molecules-tablepagination--in-data-surface&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/table-pagination.stories.tsx"
}
