From 0bb94403c66990835c577f9e05490778304f6228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20Emir=20=C5=9Een?= Date: Thu, 25 Jul 2024 16:19:00 +0300 Subject: [PATCH] docs(material-ui): fix sandpack issue --- .../docs/guides-concepts/authentication/auth-pages/mui.tsx | 2 +- .../docs/guides-concepts/forms/server-side-validation-mui.tsx | 2 +- .../docs/guides-concepts/forms/use-select-material-ui.tsx | 2 +- .../docs/guides-concepts/general-concepts/auth-pages/mui.tsx | 2 +- .../docs/guides-concepts/general-concepts/layout/mui.tsx | 2 +- .../docs/guides-concepts/notifications/notifications-mui.tsx | 2 +- .../docs/guides-concepts/tables/example/material-ui.tsx | 2 +- .../docs/guides-concepts/tables/example/search-material-ui.tsx | 2 +- .../material-ui/introduction/previews/auth-page.tsx | 2 +- .../material-ui/introduction/previews/basic-views.tsx | 2 +- .../material-ui/introduction/previews/example.tsx | 2 +- .../material-ui/introduction/previews/layout-next-js.tsx | 2 +- .../introduction/previews/layout-react-router-dom.tsx | 2 +- .../material-ui/introduction/previews/layout-remix.tsx | 2 +- .../material-ui/introduction/previews/theming.tsx | 2 +- .../material-ui/introduction/previews/usage-next-js.tsx | 2 +- .../introduction/previews/usage-react-router-dom.tsx | 2 +- .../material-ui/introduction/previews/usage-remix.tsx | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/documentation/docs/guides-concepts/authentication/auth-pages/mui.tsx b/documentation/docs/guides-concepts/authentication/auth-pages/mui.tsx index 7c9874119a50..392da927d82e 100644 --- a/documentation/docs/guides-concepts/authentication/auth-pages/mui.tsx +++ b/documentation/docs/guides-concepts/authentication/auth-pages/mui.tsx @@ -11,7 +11,7 @@ export function MaterialUIAuth() { "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "react-router-dom": "latest", "react-router": "latest", "@emotion/react": "^11.8.2", diff --git a/documentation/docs/guides-concepts/forms/server-side-validation-mui.tsx b/documentation/docs/guides-concepts/forms/server-side-validation-mui.tsx index 8579037ea7f8..9205cea5b139 100644 --- a/documentation/docs/guides-concepts/forms/server-side-validation-mui.tsx +++ b/documentation/docs/guides-concepts/forms/server-side-validation-mui.tsx @@ -7,7 +7,7 @@ export default function ServerSideValidationMui() { height={460} showOpenInCodeSandbox={false} dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", diff --git a/documentation/docs/guides-concepts/forms/use-select-material-ui.tsx b/documentation/docs/guides-concepts/forms/use-select-material-ui.tsx index aa93e733226c..256750f91a25 100644 --- a/documentation/docs/guides-concepts/forms/use-select-material-ui.tsx +++ b/documentation/docs/guides-concepts/forms/use-select-material-ui.tsx @@ -9,7 +9,7 @@ export default function UseSelectMaterialUI() { "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-hook-form": "latest", - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@mui/material": "latest", }} startRoute="/" diff --git a/documentation/docs/guides-concepts/general-concepts/auth-pages/mui.tsx b/documentation/docs/guides-concepts/general-concepts/auth-pages/mui.tsx index 7c9874119a50..392da927d82e 100644 --- a/documentation/docs/guides-concepts/general-concepts/auth-pages/mui.tsx +++ b/documentation/docs/guides-concepts/general-concepts/auth-pages/mui.tsx @@ -11,7 +11,7 @@ export function MaterialUIAuth() { "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "react-router-dom": "latest", "react-router": "latest", "@emotion/react": "^11.8.2", diff --git a/documentation/docs/guides-concepts/general-concepts/layout/mui.tsx b/documentation/docs/guides-concepts/general-concepts/layout/mui.tsx index af369678799f..64de482e3be5 100644 --- a/documentation/docs/guides-concepts/general-concepts/layout/mui.tsx +++ b/documentation/docs/guides-concepts/general-concepts/layout/mui.tsx @@ -12,7 +12,7 @@ export function MaterialUILayout() { "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", "@refinedev/inferencer": "latest", - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "react-router-dom": "latest", "react-router": "latest", "@emotion/react": "^11.8.2", diff --git a/documentation/docs/guides-concepts/notifications/notifications-mui.tsx b/documentation/docs/guides-concepts/notifications/notifications-mui.tsx index 8205c407f419..def764acd9db 100644 --- a/documentation/docs/guides-concepts/notifications/notifications-mui.tsx +++ b/documentation/docs/guides-concepts/notifications/notifications-mui.tsx @@ -14,7 +14,7 @@ export default function NotificationMui() { "@mui/lab": "^5.0.0-alpha.85", "@mui/material": "^5.14.2", "@mui/system": "latest", - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", }} startRoute="/" files={{ diff --git a/documentation/docs/guides-concepts/tables/example/material-ui.tsx b/documentation/docs/guides-concepts/tables/example/material-ui.tsx index 3daeeed0f82c..8c7427fff7a6 100644 --- a/documentation/docs/guides-concepts/tables/example/material-ui.tsx +++ b/documentation/docs/guides-concepts/tables/example/material-ui.tsx @@ -7,7 +7,7 @@ export default function BaseMaterialUI() { dependencies={{ "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@mui/x-data-grid": "latest", "@mui/material": "latest", "@mui/system": "latest", diff --git a/documentation/docs/guides-concepts/tables/example/search-material-ui.tsx b/documentation/docs/guides-concepts/tables/example/search-material-ui.tsx index db0da3c20ae3..017f46a064b0 100644 --- a/documentation/docs/guides-concepts/tables/example/search-material-ui.tsx +++ b/documentation/docs/guides-concepts/tables/example/search-material-ui.tsx @@ -7,7 +7,7 @@ export default function BaseCoreTable() { dependencies={{ "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@mui/x-data-grid": "latest", "@mui/material": "latest", "@mui/system": "latest", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/auth-page.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/auth-page.tsx index 8ac9d1da5e63..ea4fc18f0b25 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/auth-page.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/auth-page.tsx @@ -8,7 +8,7 @@ export default function AuthPage() { // showFiles initialPercentage={40} dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/basic-views.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/basic-views.tsx index 46ffec8f3799..dc0e455f9a57 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/basic-views.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/basic-views.tsx @@ -7,7 +7,7 @@ export default function BasicViews() { showNavigator initialPercentage={40} dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/example.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/example.tsx index 38908c5e65d4..b5867ccd9d84 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/example.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/example.tsx @@ -7,7 +7,7 @@ export default function Example() { showNavigator previewOnly dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-next-js.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-next-js.tsx index bc783a70c55d..39fe06e1c21a 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-next-js.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-next-js.tsx @@ -7,7 +7,7 @@ export default function LayoutNextjs() { showNavigator hidePreview dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-react-router-dom.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-react-router-dom.tsx index 6a09a3850216..fe6e848d05fe 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-react-router-dom.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-react-router-dom.tsx @@ -9,7 +9,7 @@ export default function LayoutReactRouterDom() { // showFiles initialPercentage={35} dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-remix.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-remix.tsx index a9d1abfc083a..04591fb0f9ec 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-remix.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/layout-remix.tsx @@ -7,7 +7,7 @@ export default function LayoutRemix() { showNavigator hidePreview dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/theming.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/theming.tsx index d4b5eca54c2e..f457a7dfad7c 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/theming.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/theming.tsx @@ -9,7 +9,7 @@ export default function Usage() { height={320} showOpenInCodeSandbox={false} dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-router-v6": "latest", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-next-js.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-next-js.tsx index d5ea114345d6..6ca275593c3d 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-next-js.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-next-js.tsx @@ -8,7 +8,7 @@ export default function UsageNextjs() { hidePreview showFiles dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-hook-form": "^4.8.12", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-react-router-dom.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-react-router-dom.tsx index 71bcc17123ce..3aaafdf9a5c9 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-react-router-dom.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-react-router-dom.tsx @@ -8,7 +8,7 @@ export default function UsageReactRouterDom() { hidePreview showFiles dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-hook-form": "^4.8.12", diff --git a/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-remix.tsx b/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-remix.tsx index 6dc9fcb4885a..81ef67857b6a 100644 --- a/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-remix.tsx +++ b/documentation/docs/ui-integrations/material-ui/introduction/previews/usage-remix.tsx @@ -8,7 +8,7 @@ export default function UsageRemix() { hidePreview showFiles dependencies={{ - "@refinedev/mui": "latest", + "@refinedev/mui": "5.0.0", "@refinedev/core": "latest", "@refinedev/simple-rest": "latest", "@refinedev/react-hook-form": "^4.8.12",