material-react-table 1.3.5 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ export declare const MRT_TableRoot: <TData extends Record<string, any> = {}>(pro
41
41
  enableToolbarInternalActions?: boolean | undefined;
42
42
  enableTopToolbar?: boolean | undefined;
43
43
  expandRowsFn?: ((dataRow: TData) => TData[]) | undefined;
44
- getRowId?: ((originalRow: MRT_Row<TData>, index: number, parentRow: MRT_Row<TData>) => string) | undefined;
44
+ getRowId?: ((originalRow: TData, index: number, parentRow: MRT_Row<TData>) => string) | undefined;
45
45
  globalFilterFn?: MRT_FilterOption | undefined;
46
46
  globalFilterModeOptions?: MRT_FilterOption[] | null | undefined;
47
47
  icons?: Partial<import("..").MRT_Icons> | undefined;
package/dist/index.d.ts CHANGED
@@ -584,7 +584,7 @@ declare type MaterialReactTableProps<TData extends Record<string, any> = {}> = O
584
584
  enableToolbarInternalActions?: boolean;
585
585
  enableTopToolbar?: boolean;
586
586
  expandRowsFn?: (dataRow: TData) => TData[];
587
- getRowId?: (originalRow: MRT_Row<TData>, index: number, parentRow: MRT_Row<TData>) => string;
587
+ getRowId?: (originalRow: TData, index: number, parentRow: MRT_Row<TData>) => string;
588
588
  globalFilterFn?: MRT_FilterOption;
589
589
  globalFilterModeOptions?: MRT_FilterOption[] | null;
590
590
  icons?: Partial<MRT_Icons>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.5",
2
+ "version": "1.3.7",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table",
5
5
  "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
@@ -52,16 +52,16 @@
52
52
  "storybook": "start-storybook -p 6006"
53
53
  },
54
54
  "devDependencies": {
55
- "@babel/core": "^7.19.6",
55
+ "@babel/core": "^7.20.2",
56
56
  "@babel/preset-react": "^7.18.6",
57
57
  "@emotion/react": "^11.10.4",
58
58
  "@emotion/styled": "^11.10.4",
59
59
  "@faker-js/faker": "^7.5.0",
60
60
  "@mui/icons-material": "^5.10.6",
61
- "@mui/material": "^5.10.10",
62
- "@rollup/plugin-babel": "^5.3.1",
63
- "@rollup/plugin-node-resolve": "^14.1.0",
64
- "@rollup/plugin-typescript": "^8.5.0",
61
+ "@mui/material": "^5.10.13",
62
+ "@rollup/plugin-babel": "^6.0.2",
63
+ "@rollup/plugin-node-resolve": "^15.0.1",
64
+ "@rollup/plugin-typescript": "^9.0.2",
65
65
  "@size-limit/preset-small-lib": "^8.1.0",
66
66
  "@storybook/addon-a11y": "^6.5.12",
67
67
  "@storybook/addon-actions": "^6.5.12",
@@ -73,12 +73,12 @@
73
73
  "@storybook/builder-webpack5": "^6.4.22",
74
74
  "@storybook/manager-webpack5": "^6.4.22",
75
75
  "@storybook/react": "^6.5.12",
76
- "@types/react": "^18.0.21",
76
+ "@types/react": "^18.0.25",
77
77
  "@types/react-dom": "^18.0.6",
78
- "@typescript-eslint/eslint-plugin": "^5.40.1",
79
- "@typescript-eslint/parser": "^5.40.1",
80
- "babel-loader": "^8.2.5",
81
- "eslint": "^8.26.0",
78
+ "@typescript-eslint/eslint-plugin": "^5.42.1",
79
+ "@typescript-eslint/parser": "^5.42.1",
80
+ "babel-loader": "^9.1.0",
81
+ "eslint": "^8.27.0",
82
82
  "eslint-plugin-mui-path-imports": "^0.0.3",
83
83
  "prettier": "^2.7.1",
84
84
  "react": "^18.2.0",
@@ -86,13 +86,13 @@
86
86
  "react-is": "^18.2.0",
87
87
  "rollup": "^2.79.1",
88
88
  "rollup-plugin-copy": "^3.4.0",
89
- "rollup-plugin-dts": "^4.2.2",
89
+ "rollup-plugin-dts": "^5.0.0",
90
90
  "rollup-plugin-peer-deps-external": "^2.2.4",
91
91
  "size-limit": "^8.1.0",
92
92
  "storybook-dark-mode": "^1.1.2",
93
- "tslib": "^2.4.0",
93
+ "tslib": "^2.4.1",
94
94
  "typescript": "^4.8.4",
95
- "webpack": "^5.0.0"
95
+ "webpack": "^5.75.0"
96
96
  },
97
97
  "peerDependencies": {
98
98
  "@emotion/react": ">=11",
@@ -103,7 +103,7 @@
103
103
  },
104
104
  "dependencies": {
105
105
  "@tanstack/match-sorter-utils": "8.5.14",
106
- "@tanstack/react-table": "8.5.22",
106
+ "@tanstack/react-table": "8.5.24",
107
107
  "react-virtual": "^2.10.4"
108
108
  }
109
109
  }
@@ -676,7 +676,7 @@ export type MaterialReactTableProps<TData extends Record<string, any> = {}> =
676
676
  enableTopToolbar?: boolean;
677
677
  expandRowsFn?: (dataRow: TData) => TData[];
678
678
  getRowId?: (
679
- originalRow: MRT_Row<TData>,
679
+ originalRow: TData,
680
680
  index: number,
681
681
  parentRow: MRT_Row<TData>,
682
682
  ) => string;