{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pagination-mui-treasury",
  "type": "registry:item",
  "title": "Pagination (MUI Treasury)",
  "description": "Pagination styled with the MUI Treasury theme — install the theme alongside.",
  "dependencies": [
    "@mui/material",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [
    "https://www.mui-treasury.com/r/mui-treasury.json"
  ],
  "files": [
    {
      "path": "components/pagination-mui-treasury/pagination-mui-treasury.tsx",
      "target": "src/mui-treasury/components/pagination-mui-treasury/pagination-mui-treasury.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\n\nimport {\n  Box,\n  Pagination,\n  Paper,\n  Stack,\n  Table,\n  TableBody,\n  TableCell,\n  TableHead,\n  TableRow,\n  Typography,\n} from '@mui/material';\n\nconst ORDERS = [\n  {\n    id: 'ORD-1042',\n    customer: 'Ada Lovelace',\n    total: '$248.00',\n    status: 'Paid',\n  },\n  {\n    id: 'ORD-1041',\n    customer: 'Linus Torvalds',\n    total: '$94.50',\n    status: 'Refunded',\n  },\n  {\n    id: 'ORD-1040',\n    customer: 'Grace Hopper',\n    total: '$612.00',\n    status: 'Paid',\n  },\n  {\n    id: 'ORD-1039',\n    customer: 'Tim Berners-Lee',\n    total: '$56.20',\n    status: 'Pending',\n  },\n];\n\nexport function PaginationMuiTreasury() {\n  return (\n    <Stack spacing={6} sx={{ width: '100%', maxWidth: 720, mx: 'auto' }}>\n      <Box>\n        <Typography variant=\"subtitle1\" sx={{ mb: 1, fontWeight: 600 }}>\n          Recent orders\n        </Typography>\n        <Paper variant=\"outlined\">\n          <Table size=\"small\">\n            <TableHead>\n              <TableRow>\n                <TableCell>Order</TableCell>\n                <TableCell>Customer</TableCell>\n                <TableCell>Status</TableCell>\n                <TableCell align=\"right\">Total</TableCell>\n              </TableRow>\n            </TableHead>\n            <TableBody>\n              {ORDERS.map((row) => (\n                <TableRow key={row.id}>\n                  <TableCell>{row.id}</TableCell>\n                  <TableCell>{row.customer}</TableCell>\n                  <TableCell>{row.status}</TableCell>\n                  <TableCell align=\"right\">{row.total}</TableCell>\n                </TableRow>\n              ))}\n            </TableBody>\n          </Table>\n          <Stack\n            direction=\"row\"\n            sx={{\n              alignItems: 'center',\n              justifyContent: 'space-between',\n              px: 2,\n              py: 1.5,\n              borderTop: 1,\n              borderColor: 'divider',\n            }}\n          >\n            <Typography\n              variant=\"caption\"\n              sx={{\n                color: 'text.secondary',\n              }}\n            >\n              Showing 21–24 of 248\n            </Typography>\n            <Pagination\n              count={62}\n              page={3}\n              size=\"small\"\n              shape=\"rounded\"\n              siblingCount={1}\n              boundaryCount={1}\n            />\n          </Stack>\n        </Paper>\n      </Box>\n      <Box>\n        <Typography variant=\"subtitle1\" sx={{ mb: 1, fontWeight: 600 }}>\n          Compact\n        </Typography>\n        <Pagination count={10} page={5} shape=\"rounded\" siblingCount={0} />\n      </Box>\n    </Stack>\n  );\n}\n",
      "type": "registry:item"
    },
    {
      "path": "components/pagination-mui-treasury/index.ts",
      "target": "src/mui-treasury/components/pagination-mui-treasury/index.ts",
      "content": "export * from './pagination-mui-treasury';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "category": "primitive",
    "subcategory": "pagination",
    "exportName": "PaginationMuiTreasury"
  }
}