Skip to content

Commit e951e6a

Browse files
committed
package upgrades
1 parent d76d6cf commit e951e6a

File tree

10 files changed

+1376
-2337
lines changed

10 files changed

+1376
-2337
lines changed

apps/material-react-table-docs/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

apps/material-react-table-docs/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,45 +16,45 @@
1616
"@docsearch/js": "3.6.1",
1717
"@emotion/react": "^11.13.3",
1818
"@emotion/styled": "^11.13.0",
19-
"@faker-js/faker": "^8.4.1",
19+
"@faker-js/faker": "^9.0.0",
2020
"@fortawesome/fontawesome-svg-core": "^6.6.0",
2121
"@fortawesome/free-solid-svg-icons": "^6.6.0",
2222
"@fortawesome/react-fontawesome": "^0.2.2",
2323
"@mdx-js/loader": "^3.0.1",
2424
"@mdx-js/react": "^3.0.1",
25-
"@mui/icons-material": "^6.0.1",
26-
"@mui/material": "^6.0.1",
27-
"@mui/x-charts": "^7.15.0",
28-
"@mui/x-date-pickers": "^7.15.0",
29-
"@next/mdx": "^14.2.7",
30-
"@tanstack/react-query": "^5.53.3",
25+
"@mui/icons-material": "^6.1.0",
26+
"@mui/material": "^6.1.0",
27+
"@mui/x-charts": "^7.16.0",
28+
"@mui/x-date-pickers": "^7.16.0",
29+
"@next/mdx": "^14.2.11",
30+
"@tanstack/react-query": "^5.56.2",
3131
"@tanstack/react-table-devtools": "^8.20.5",
3232
"@types/mdx": "^2.0.13",
3333
"dayjs": "^1.11.13",
3434
"export-to-csv": "^1.4.0",
35-
"highlight-words": "1.2.2",
35+
"highlight-words": "2.0.0",
3636
"jspdf": "^2.5.1",
3737
"jspdf-autotable": "^3.8.3",
3838
"match-sorter": "^6.3.4",
3939
"material-react-table": "workspace:*",
40-
"next": "14.2.7",
40+
"next": "14.2.11",
4141
"next-sitemap": "^4.2.3",
4242
"prism-react-renderer": "^2.4.0",
4343
"react": "18.3.1",
4444
"react-dom": "18.3.1",
4545
"zod": "^3.23.8"
4646
},
4747
"devDependencies": {
48-
"@tanstack/eslint-plugin-query": "^5.53.0",
49-
"@types/node": "^22.5.2",
48+
"@tanstack/eslint-plugin-query": "^5.56.1",
49+
"@types/node": "^22.5.4",
5050
"@types/react": "^18.3.5",
5151
"@types/react-dom": "^18.3.0",
52-
"@typescript-eslint/eslint-plugin": "^8.4.0",
53-
"@typescript-eslint/parser": "^8.4.0",
54-
"eslint": "9.9.1",
55-
"eslint-config-next": "14.2.7",
52+
"@typescript-eslint/eslint-plugin": "^8.5.0",
53+
"@typescript-eslint/parser": "^8.5.0",
54+
"eslint": "9.10.0",
55+
"eslint-config-next": "14.2.11",
5656
"next-plausible": "^3.12.2",
5757
"raw-loader": "^4.0.2",
58-
"typescript": "5.5.4"
58+
"typescript": "5.6.2"
5959
}
6060
}

apps/test-cra/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"dependencies": {
66
"@emotion/react": "^11.13.3",
77
"@emotion/styled": "^11.13.0",
8-
"@mui/icons-material": "^6.0.1",
9-
"@mui/material": "^6.0.1",
10-
"@mui/x-date-pickers": "^7.15.0",
8+
"@mui/icons-material": "^6.1.0",
9+
"@mui/material": "^6.1.0",
10+
"@mui/x-date-pickers": "^7.16.0",
1111
"@testing-library/jest-dom": "^6.5.0",
1212
"@testing-library/react": "^16.0.1",
1313
"@testing-library/user-event": "^14.5.2",

apps/test-remix/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@
1212
"dependencies": {
1313
"@emotion/react": "^11.13.3",
1414
"@emotion/styled": "^11.13.0",
15-
"@mui/icons-material": "^6.0.1",
16-
"@mui/material": "^6.0.1",
17-
"@mui/x-date-pickers": "^7.15.0",
18-
"@remix-run/css-bundle": "^2.11.2",
19-
"@remix-run/node": "^2.11.2",
20-
"@remix-run/react": "^2.11.2",
21-
"@remix-run/serve": "^2.11.2",
15+
"@mui/icons-material": "^6.1.0",
16+
"@mui/material": "^6.1.0",
17+
"@mui/x-date-pickers": "^7.16.0",
18+
"@remix-run/css-bundle": "^2.12.0",
19+
"@remix-run/node": "^2.12.0",
20+
"@remix-run/react": "^2.12.0",
21+
"@remix-run/serve": "^2.12.0",
2222
"isbot": "^5.1.17",
2323
"material-react-table": "workspace:*",
2424
"react": "^18.3.1",
2525
"react-dom": "^18.3.1"
2626
},
2727
"devDependencies": {
28-
"@remix-run/dev": "^2.11.2",
29-
"@remix-run/eslint-config": "^2.11.2",
28+
"@remix-run/dev": "^2.12.0",
29+
"@remix-run/eslint-config": "^2.12.0",
3030
"@types/react": "^18.3.5",
3131
"@types/react-dom": "^18.3.0",
32-
"eslint": "^9.9.1",
33-
"typescript": "^5.5.4"
32+
"eslint": "^9.10.0",
33+
"typescript": "^5.6.2"
3434
},
3535
"engines": {
3636
"node": ">=18.0.0"

apps/test-vite/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
"dependencies": {
1313
"@emotion/react": "^11.13.3",
1414
"@emotion/styled": "^11.13.0",
15-
"@mui/icons-material": "^6.0.1",
16-
"@mui/material": "^6.0.1",
17-
"@mui/x-date-pickers": "^7.15.0",
15+
"@mui/icons-material": "^6.1.0",
16+
"@mui/material": "^6.1.0",
17+
"@mui/x-date-pickers": "^7.16.0",
1818
"material-react-table": "workspace:*",
1919
"react": "^18.3.1",
2020
"react-dom": "^18.3.1"
2121
},
2222
"devDependencies": {
2323
"@types/react": "^18.3.5",
2424
"@types/react-dom": "^18.3.0",
25-
"@typescript-eslint/eslint-plugin": "^8.4.0",
26-
"@typescript-eslint/parser": "^8.4.0",
25+
"@typescript-eslint/eslint-plugin": "^8.5.0",
26+
"@typescript-eslint/parser": "^8.5.0",
2727
"@vitejs/plugin-react": "^4.3.1",
28-
"eslint": "^9.9.1",
28+
"eslint": "^9.10.0",
2929
"eslint-plugin-react-hooks": "^4.6.2",
3030
"eslint-plugin-react-refresh": "^0.4.11",
31-
"typescript": "^5.5.4",
32-
"vite": "^5.4.2"
31+
"typescript": "^5.6.2",
32+
"vite": "^5.4.4"
3333
}
3434
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"devDependencies": {
2828
"prettier": "^3.3.3",
29-
"turbo": "^2.1.1"
29+
"turbo": "^2.1.2"
3030
},
3131
"engines": {
3232
"node": ">=16.0.0"

packages/material-react-table/package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -64,45 +64,45 @@
6464
"devDependencies": {
6565
"@emotion/react": "^11.13.3",
6666
"@emotion/styled": "^11.13.0",
67-
"@faker-js/faker": "^8.4.1",
68-
"@mui/icons-material": "^6.0.1",
69-
"@mui/material": "^6.0.1",
70-
"@mui/x-date-pickers": "^7.15.0",
67+
"@faker-js/faker": "^9.0.0",
68+
"@mui/icons-material": "^6.1.0",
69+
"@mui/material": "^6.1.0",
70+
"@mui/x-date-pickers": "^7.16.0",
7171
"@rollup/plugin-typescript": "^11.1.6",
72-
"@size-limit/preset-small-lib": "^11.1.4",
73-
"@storybook/addon-a11y": "^8.2.9",
74-
"@storybook/addon-essentials": "^8.2.9",
75-
"@storybook/addon-links": "^8.2.9",
76-
"@storybook/addon-storysource": "^8.2.9",
77-
"@storybook/blocks": "^8.2.9",
78-
"@storybook/preview-api": "^8.2.9",
79-
"@storybook/react": "^8.2.9",
80-
"@storybook/react-vite": "^8.2.9",
81-
"@types/node": "^22.5.2",
72+
"@size-limit/preset-small-lib": "^11.1.5",
73+
"@storybook/addon-a11y": "^8.3.0",
74+
"@storybook/addon-essentials": "^8.3.0",
75+
"@storybook/addon-links": "^8.3.0",
76+
"@storybook/addon-storysource": "^8.3.0",
77+
"@storybook/blocks": "^8.3.0",
78+
"@storybook/preview-api": "^8.3.0",
79+
"@storybook/react": "^8.3.0",
80+
"@storybook/react-vite": "^8.3.0",
81+
"@types/node": "^22.5.4",
8282
"@types/react": "^18.3.5",
8383
"@types/react-dom": "^18.3.0",
84-
"@typescript-eslint/eslint-plugin": "^8.4.0",
85-
"@typescript-eslint/parser": "^8.4.0",
84+
"@typescript-eslint/eslint-plugin": "^8.5.0",
85+
"@typescript-eslint/parser": "^8.5.0",
8686
"@vitejs/plugin-react": "^4.3.1",
87-
"eslint": "^9.9.1",
87+
"eslint": "^9.10.0",
8888
"eslint-plugin-mui-path-imports": "^0.0.15",
89-
"eslint-plugin-perfectionist": "^3.3.0",
89+
"eslint-plugin-perfectionist": "^3.5.0",
9090
"eslint-plugin-storybook": "^0.8.0",
9191
"prop-types": "^15.8.1",
9292
"react": "^18.3.1",
9393
"react-dom": "^18.3.1",
9494
"react-is": "^18.3.1",
9595
"rollup": "^2.79.1",
9696
"rollup-plugin-copy": "^3.5.0",
97-
"rollup-plugin-delete": "^2.0.0",
97+
"rollup-plugin-delete": "^2.1.0",
9898
"rollup-plugin-dts": "^6.1.1",
9999
"rollup-plugin-peer-deps-external": "^2.2.4",
100-
"size-limit": "^11.1.4",
101-
"storybook": "^8.2.9",
100+
"size-limit": "^11.1.5",
101+
"storybook": "^8.3.0",
102102
"storybook-dark-mode": "^4.0.2",
103103
"tslib": "^2.7.0",
104-
"typescript": "^5.5.4",
105-
"vite": "^5.4.2"
104+
"typescript": "^5.6.2",
105+
"vite": "^5.4.4"
106106
},
107107
"peerDependencies": {
108108
"@emotion/react": ">=11.13",
@@ -116,7 +116,7 @@
116116
"dependencies": {
117117
"@tanstack/match-sorter-utils": "8.19.4",
118118
"@tanstack/react-table": "8.20.5",
119-
"@tanstack/react-virtual": "3.10.6",
120-
"highlight-words": "1.2.2"
119+
"@tanstack/react-virtual": "3.10.7",
120+
"highlight-words": "2.0.0"
121121
}
122122
}

packages/material-react-table/src/components/inputs/MRT_FilterTextField.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export const MRT_FilterTextField = <TData extends MRT_RowData>({
185185
textFieldProps?.onChange?.(event);
186186
};
187187

188-
const handleAutocompleteChange = (newValue: DropdownOption) => {
188+
const handleAutocompleteChange = (newValue: DropdownOption | null) => {
189189
setAutocompleteValue(newValue);
190190
handleChange(getValueAndLabel(newValue).value);
191191
};
@@ -422,7 +422,8 @@ export const MRT_FilterTextField = <TData extends MRT_RowData>({
422422
getOptionLabel={(option: DropdownOption) =>
423423
getValueAndLabel(option).label
424424
}
425-
onChange={(_e, newValue: DropdownOption) =>
425+
// @ts-ignore
426+
onChange={(_e, newValue: DropdownOption | null) =>
426427
handleAutocompleteChange(newValue)
427428
}
428429
options={

packages/material-react-table/src/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const parseFromValuesOrFunc = <T, U>(
66
): T | undefined => (fn instanceof Function ? fn(arg) : fn);
77

88
export const getValueAndLabel = (
9-
option?: DropdownOption,
9+
option?: DropdownOption | null,
1010
): { label: string; value: string } => {
1111
let label: string = '';
1212
let value: string = '';

0 commit comments

Comments
 (0)