material-react-table 0.7.0-alpha.2 → 0.7.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.0-alpha.2",
2
+ "version": "0.7.0-alpha.3",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table",
5
5
  "description": "A fully featured Material-UI implementation of react-table, inspired by material-table and the mui DataGrid, written from the ground up in TypeScript.",
@@ -24,7 +24,7 @@
24
24
  "src"
25
25
  ],
26
26
  "engines": {
27
- "node": ">=12"
27
+ "node": ">=14"
28
28
  },
29
29
  "scripts": {
30
30
  "analyze": "size-limit --why",
@@ -97,7 +97,7 @@
97
97
  "react": ">=16.8"
98
98
  },
99
99
  "dependencies": {
100
- "@tanstack/react-table": "^8.0.0-alpha.26",
100
+ "@tanstack/react-table": "^8.0.0-alpha.28",
101
101
  "match-sorter": "^6.3.1"
102
102
  }
103
103
  }
@@ -33,14 +33,17 @@ export const MRT_TablePagination: FC<Props> = ({ tableInstance }) => {
33
33
 
34
34
  return (
35
35
  <TablePagination
36
- SelectProps={{ sx: { m: '0 1rem 0 1ch' } }}
36
+ SelectProps={{
37
+ sx: { m: '0 1rem 0 1ch' },
38
+ MenuProps: { MenuListProps: { disablePadding: true } },
39
+ }}
37
40
  component="div"
38
41
  count={getPrePaginationRowModel().rows.length}
39
42
  onPageChange={(_: any, newPage: number) => setPageIndex(newPage)}
40
43
  onRowsPerPageChange={handleChangeRowsPerPage}
41
44
  page={pageIndex}
42
45
  rowsPerPage={pageSize}
43
- rowsPerPageOptions={[5, 10, 20, 25, 50, 100]}
46
+ rowsPerPageOptions={[5, 10, 15, 20, 25, 30, 50, 100]}
44
47
  showFirstButton={showFirstLastPageButtons}
45
48
  showLastButton={showFirstLastPageButtons}
46
49
  {...tablePaginationProps}