Skip to content

Commit

Permalink
fix mui type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Mar 18, 2024
1 parent 64f291c commit 89dfbff
Show file tree
Hide file tree
Showing 7 changed files with 608 additions and 745 deletions.
8 changes: 4 additions & 4 deletions apps/material-react-table-docs/package.json
Expand Up @@ -44,11 +44,11 @@
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.27.7",
"@types/node": "^20.11.28",
"@types/react": "^18.2.66",
"@types/node": "^20.11.29",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"eslint": "8.57.0",
"eslint-config-next": "14.1.3",
"next-plausible": "^3.12.0",
Expand Down
4 changes: 2 additions & 2 deletions apps/test-remix/package.json
Expand Up @@ -19,15 +19,15 @@
"@remix-run/node": "^2.8.1",
"@remix-run/react": "^2.8.1",
"@remix-run/serve": "^2.8.1",
"isbot": "^5.1.1",
"isbot": "^5.1.2",
"material-react-table": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@remix-run/dev": "^2.8.1",
"@remix-run/eslint-config": "^2.8.1",
"@types/react": "^18.2.66",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"eslint": "^8.57.0",
"typescript": "^5.4.2"
Expand Down
6 changes: 3 additions & 3 deletions apps/test-vite/package.json
Expand Up @@ -20,10 +20,10 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.66",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down
37 changes: 18 additions & 19 deletions packages/material-react-table/package.json
Expand Up @@ -23,7 +23,6 @@
"bugs": {
"url": "https://github.com/KevinVandy/material-react-table/issues"
},
"type": "module",
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.esm.js",
Expand Down Expand Up @@ -72,22 +71,22 @@
"@mui/x-date-pickers": "^6.19.7",
"@rollup/plugin-typescript": "^11.1.6",
"@size-limit/preset-small-lib": "^11.1.1",
"@storybook/addon-a11y": "^8.0.0",
"@storybook/addon-essentials": "^8.0.0",
"@storybook/addon-interactions": "^8.0.0",
"@storybook/addon-links": "^8.0.0",
"@storybook/addon-onboarding": "^8.0.0",
"@storybook/addon-storysource": "^8.0.0",
"@storybook/blocks": "^8.0.0",
"@storybook/preview-api": "^8.0.0",
"@storybook/react": "^8.0.0",
"@storybook/react-vite": "^8.0.0",
"@storybook/test": "^8.0.0",
"@types/node": "^20.11.28",
"@types/react": "^18.2.66",
"@storybook/addon-a11y": "^8.0.1",
"@storybook/addon-essentials": "^8.0.1",
"@storybook/addon-interactions": "^8.0.1",
"@storybook/addon-links": "^8.0.1",
"@storybook/addon-onboarding": "^8.0.1",
"@storybook/addon-storysource": "^8.0.1",
"@storybook/blocks": "^8.0.1",
"@storybook/preview-api": "^8.0.1",
"@storybook/react": "^8.0.1",
"@storybook/react-vite": "^8.0.1",
"@storybook/test": "^8.0.1",
"@types/node": "^20.11.29",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"eslint-plugin-mui-path-imports": "^0.0.15",
Expand All @@ -103,8 +102,8 @@
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"size-limit": "^11.1.1",
"storybook": "^8.0.0",
"storybook-dark-mode": "^4.0.0",
"storybook": "^8.0.1",
"storybook-dark-mode": "^4.0.1",
"tslib": "^2.6.2",
"typescript": "^5.4.2",
"vite": "^5.1.6"
Expand All @@ -121,7 +120,7 @@
"dependencies": {
"@tanstack/match-sorter-utils": "8.11.8",
"@tanstack/react-table": "8.13.2",
"@tanstack/react-virtual": "3.1.3",
"@tanstack/react-virtual": "3.2.0",
"highlight-words": "1.2.2"
}
}
Expand Up @@ -117,7 +117,7 @@ export const MRT_SelectCheckbox = <TData extends MRT_RowData>({
}
>
{enableMultiRowSelection === false ? (
<Radio {...commonProps} />
<Radio {...(commonProps as any)} />
) : (
<Checkbox
indeterminate={
Expand Down
Expand Up @@ -73,7 +73,7 @@ const longColumns: MRT_ColumnDef<any>[] = [
},
];

const longData = [...Array(1000)].map(() => ({
const longData = [...Array(5000)].map(() => ({
address: faker.location.streetAddress(),
city: faker.location.city(),
country: faker.location.country(),
Expand Down

0 comments on commit 89dfbff

Please sign in to comment.