material-react-table 0.40.10 → 0.40.11

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.40.10",
2
+ "version": "0.40.11",
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.",
@@ -53,9 +53,9 @@
53
53
  "@babel/preset-react": "^7.18.6",
54
54
  "@emotion/react": "^11.10.0",
55
55
  "@emotion/styled": "^11.10.0",
56
- "@faker-js/faker": "^7.4.0",
57
- "@mui/icons-material": "^5.10.2",
58
- "@mui/material": "^5.10.2",
56
+ "@faker-js/faker": "^7.5.0",
57
+ "@mui/icons-material": "^5.10.3",
58
+ "@mui/material": "^5.10.3",
59
59
  "@rollup/plugin-babel": "^5.3.1",
60
60
  "@rollup/plugin-node-resolve": "^13.3.0",
61
61
  "@rollup/plugin-typescript": "^8.4.0",
@@ -211,11 +211,16 @@ export const MRT_TableRoot = <TData extends Record<string, any> = {}>(
211
211
  () =>
212
212
  prepareColumns(
213
213
  [...displayColumns, ...props.columns],
214
- columnFilterFns,
214
+ props.state?.columnFilterFns ?? columnFilterFns,
215
215
  props.filterFns as any,
216
216
  props.sortingFns as any,
217
217
  ),
218
- [columnFilterFns, displayColumns, props.columns],
218
+ [
219
+ columnFilterFns,
220
+ displayColumns,
221
+ props.columns,
222
+ props.state?.columnFilterFns,
223
+ ],
219
224
  );
220
225
 
221
226
  const data: TData[] = useMemo(