material-react-table 2.5.1 → 2.5.2
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/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/inputs/MRT_FilterTextField.tsx +2 -1
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "2.5.
|
2
|
+
"version": "2.5.2",
|
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.",
|
@@ -66,10 +66,10 @@
|
|
66
66
|
"@emotion/react": "^11.11.3",
|
67
67
|
"@emotion/styled": "^11.11.0",
|
68
68
|
"@faker-js/faker": "^8.3.1",
|
69
|
-
"@mui/icons-material": "^5.15.
|
70
|
-
"@mui/material": "^5.15.
|
71
|
-
"@mui/x-date-pickers": "^6.18.
|
72
|
-
"@rollup/plugin-typescript": "^11.1.
|
69
|
+
"@mui/icons-material": "^5.15.4",
|
70
|
+
"@mui/material": "^5.15.4",
|
71
|
+
"@mui/x-date-pickers": "^6.18.7",
|
72
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
73
73
|
"@size-limit/preset-small-lib": "^11.0.1",
|
74
74
|
"@storybook/addon-a11y": "^7.6.7",
|
75
75
|
"@storybook/addon-essentials": "^7.6.7",
|
@@ -80,11 +80,11 @@
|
|
80
80
|
"@storybook/react": "^7.6.7",
|
81
81
|
"@storybook/react-vite": "^7.6.7",
|
82
82
|
"@storybook/testing-library": "^0.2.2",
|
83
|
-
"@types/node": "^20.10.
|
84
|
-
"@types/react": "^18.2.
|
83
|
+
"@types/node": "^20.10.8",
|
84
|
+
"@types/react": "^18.2.47",
|
85
85
|
"@types/react-dom": "^18.2.18",
|
86
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
87
|
-
"@typescript-eslint/parser": "^6.
|
86
|
+
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
87
|
+
"@typescript-eslint/parser": "^6.18.1",
|
88
88
|
"@vitejs/plugin-react": "^4.2.1",
|
89
89
|
"eslint": "^8.56.0",
|
90
90
|
"eslint-plugin-mui-path-imports": "^0.0.15",
|
@@ -101,7 +101,7 @@
|
|
101
101
|
"storybook-dark-mode": "^3.0.3",
|
102
102
|
"tslib": "^2.6.2",
|
103
103
|
"typescript": "^5.3.3",
|
104
|
-
"vite": "^5.0.
|
104
|
+
"vite": "^5.0.11"
|
105
105
|
},
|
106
106
|
"peerDependencies": {
|
107
107
|
"@emotion/react": ">=11.11",
|
@@ -353,7 +353,6 @@ export const MRT_FilterTextField = <TData extends MRT_RowData>({
|
|
353
353
|
}
|
354
354
|
},
|
355
355
|
margin: 'none',
|
356
|
-
onClick: (e: MouseEvent<HTMLInputElement>) => e.stopPropagation(),
|
357
356
|
placeholder:
|
358
357
|
filterChipLabel || isSelectFilter || isMultiSelectFilter
|
359
358
|
? undefined
|
@@ -459,6 +458,7 @@ export const MRT_FilterTextField = <TData extends MRT_RowData>({
|
|
459
458
|
...commonTextFieldProps?.inputProps,
|
460
459
|
}}
|
461
460
|
onChange={handleTextFieldChange}
|
461
|
+
onClick={(e: MouseEvent<HTMLInputElement>) => e.stopPropagation()}
|
462
462
|
/>
|
463
463
|
)}
|
464
464
|
value={filterValue}
|
@@ -493,6 +493,7 @@ export const MRT_FilterTextField = <TData extends MRT_RowData>({
|
|
493
493
|
...commonTextFieldProps.SelectProps,
|
494
494
|
}}
|
495
495
|
onChange={handleTextFieldChange}
|
496
|
+
onClick={(e: MouseEvent<HTMLInputElement>) => e.stopPropagation()}
|
496
497
|
value={filterValue ?? ''}
|
497
498
|
>
|
498
499
|
{(isSelectFilter || isMultiSelectFilter) && [
|