From ae0996b2db42624b70e232c48698fa3971663880 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Fri, 18 Nov 2022 09:30:19 +0100 Subject: [PATCH 1/2] [docs] Inform that pickers are in X repo --- .../material/guides/pickers-migration/pickers-migration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/data/material/guides/pickers-migration/pickers-migration.md b/docs/data/material/guides/pickers-migration/pickers-migration.md index 7d8564d7601a2f..4f6e0d23c44270 100644 --- a/docs/data/material/guides/pickers-migration/pickers-migration.md +++ b/docs/data/material/guides/pickers-migration/pickers-migration.md @@ -2,6 +2,12 @@

@material-ui/pickers was moved to the @mui/lab.

+:::info +**Stable package available**: The pickers are not available in `@mui/lab`after `v5.0.0-alpha.89`. +They have been moved from `@mui/lab` to the MUI X packages `@mui/x-date-pickers` and `@mui/x-date-pickers-pro`. +To migrate from `@mui/lab` to `@mui/x-date-pickers` you can follow the dedicated [migration guide](https://mui.com/x/react-date-pickers/migration-lab/). +::: + :::warning **⚠️ The date picker components were rewritten**. In most places, the logic was rewritten from scratch, so it isn't possible to maintain the whole list of changes. Here's an overview of the most important concepts that were changed. If you are going to upgrade, the easiest way might be to go through each picker usage in your codebase, and rewrite them one at a time. Don't forget to run your tests after each! ::: From 23aed3a9df33a39b19a8d8e00a13f9a17263884e Mon Sep 17 00:00:00 2001 From: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com> Date: Fri, 18 Nov 2022 11:46:10 +0100 Subject: [PATCH 2/2] Update docs/data/material/guides/pickers-migration/pickers-migration.md Co-authored-by: Andrew Cherniavskii Signed-off-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com> --- .../data/material/guides/pickers-migration/pickers-migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/material/guides/pickers-migration/pickers-migration.md b/docs/data/material/guides/pickers-migration/pickers-migration.md index 4f6e0d23c44270..ea8509d2061050 100644 --- a/docs/data/material/guides/pickers-migration/pickers-migration.md +++ b/docs/data/material/guides/pickers-migration/pickers-migration.md @@ -5,7 +5,7 @@ :::info **Stable package available**: The pickers are not available in `@mui/lab`after `v5.0.0-alpha.89`. They have been moved from `@mui/lab` to the MUI X packages `@mui/x-date-pickers` and `@mui/x-date-pickers-pro`. -To migrate from `@mui/lab` to `@mui/x-date-pickers` you can follow the dedicated [migration guide](https://mui.com/x/react-date-pickers/migration-lab/). +To migrate from `@mui/lab` to `@mui/x-date-pickers` you can follow the dedicated [migration guide](/x/react-date-pickers/migration-lab/). ::: :::warning