material-react-table 1.4.2 → 1.4.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": "1.4.2",
2
+ "version": "1.4.3",
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.",
@@ -57,17 +57,17 @@
57
57
  "@babel/preset-react": "^7.18.6",
58
58
  "@emotion/react": "^11.10.5",
59
59
  "@emotion/styled": "^11.10.5",
60
- "@mui/icons-material": "^5.10.16",
61
- "@mui/material": "^5.10.17",
60
+ "@mui/icons-material": "^5.11.0",
61
+ "@mui/material": "^5.11.0",
62
62
  "@rollup/plugin-babel": "^6.0.3",
63
63
  "@rollup/plugin-node-resolve": "^15.0.1",
64
64
  "@rollup/plugin-typescript": "^10.0.1",
65
65
  "@size-limit/preset-small-lib": "^8.1.0",
66
- "@types/node": "^18.11.11",
66
+ "@types/node": "^18.11.15",
67
67
  "@types/react": "^18.0.26",
68
68
  "@types/react-dom": "^18.0.9",
69
- "@typescript-eslint/eslint-plugin": "^5.46.0",
70
- "@typescript-eslint/parser": "^5.46.0",
69
+ "@typescript-eslint/eslint-plugin": "^5.46.1",
70
+ "@typescript-eslint/parser": "^5.46.1",
71
71
  "eslint": "^8.29.0",
72
72
  "eslint-plugin-mui-path-imports": "^0.0.7",
73
73
  "react": "^18.2.0",
@@ -15,7 +15,7 @@ import InputAdornment from '@mui/material/InputAdornment';
15
15
  import MenuItem from '@mui/material/MenuItem';
16
16
  import TextField from '@mui/material/TextField';
17
17
  import Tooltip from '@mui/material/Tooltip';
18
- import debounce from '@mui/material/utils/debounce';
18
+ import { debounce } from '@mui/material/utils';
19
19
  import type { TextFieldProps } from '@mui/material/TextField';
20
20
  import type { MRT_Header, MRT_TableInstance } from '..';
21
21
  import { MRT_FilterOptionMenu } from '../menus/MRT_FilterOptionMenu';
@@ -87,7 +87,8 @@ export const MRT_FilterTextField: FC<Props> = ({
87
87
  ]
88
88
  : '';
89
89
  const filterPlaceholder = !isRangeFilter
90
- ? localization.filterByColumn?.replace('{column}', String(columnDef.header))
90
+ ? textFieldProps?.placeholder ??
91
+ localization.filterByColumn?.replace('{column}', String(columnDef.header))
91
92
  : rangeFilterIndex === 0
92
93
  ? localization.min
93
94
  : rangeFilterIndex === 1
@@ -10,7 +10,7 @@ import IconButton from '@mui/material/IconButton';
10
10
  import InputAdornment from '@mui/material/InputAdornment';
11
11
  import TextField from '@mui/material/TextField';
12
12
  import Tooltip from '@mui/material/Tooltip';
13
- import debounce from '@mui/material/utils/debounce';
13
+ import { debounce } from '@mui/material/utils';
14
14
  import { MRT_FilterOptionMenu } from '../menus/MRT_FilterOptionMenu';
15
15
  import { MRT_TableInstance } from '..';
16
16