From bc5b480d4e6ae09e547d3da92c782635e38adfe7 Mon Sep 17 00:00:00 2001 From: Diego Andai Date: Wed, 7 Feb 2024 10:46:49 -0300 Subject: [PATCH] [material-ui][docs] Migrating from deprecated apis follow up (#40981) --- .../migrating-from-deprecated-apis.md | 14 +++++++------- ...d-APIs.js => migrating-from-deprecated-apis.js} | 0 packages/mui-codemod/README.md | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) rename docs/pages/material-ui/migration/{migrating-from-deprecated-APIs.js => migrating-from-deprecated-apis.js} (100%) diff --git a/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md b/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md index e583aaa31d0fda..260ae14de93450 100644 --- a/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md +++ b/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md @@ -16,7 +16,7 @@ MaterialĀ UI provides the `deprecations/all` codemod to help you stay up to date npx @mui/codemod@latest deprecations/all ``` -This command runs all the current [deprecations codemods](/~https://github.com/mui/material-ui/tree/master/packages/mui-codemod#deprecations), automatically migrating to the updated API. +This command runs all the current [deprecations codemods](/~https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#deprecations), automatically migrating to the updated API. You can run this codemod as often as necessary to keep up with the latest changes. :::info @@ -30,22 +30,22 @@ If you need to run a specific codemod, those are also linked below. ### TransitionComponent -The Accordion's `TransitionComponent` was deprecated in favor of `slots.transition` ([Codemod](/~https://github.com/mui/material-ui/tree/master/packages/mui-codemod#accordion-props)): +The Accordion's `TransitionComponent` was deprecated in favor of `slots.transition` ([Codemod](/~https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#accordion-props)): ```diff ``` ### TransitionProps -The Accordion's `TransitionProps` was deprecated in favor of `slotProps.transition` ([Codemod](/~https://github.com/mui/material-ui/tree/master/packages/mui-codemod#accordion-props)): +The Accordion's `TransitionProps` was deprecated in favor of `slotProps.transition` ([Codemod](/~https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#accordion-props)): ```diff ``` diff --git a/docs/pages/material-ui/migration/migrating-from-deprecated-APIs.js b/docs/pages/material-ui/migration/migrating-from-deprecated-apis.js similarity index 100% rename from docs/pages/material-ui/migration/migrating-from-deprecated-APIs.js rename to docs/pages/material-ui/migration/migrating-from-deprecated-apis.js diff --git a/packages/mui-codemod/README.md b/packages/mui-codemod/README.md index 75218b33c56c70..9781310cd51a8d 100644 --- a/packages/mui-codemod/README.md +++ b/packages/mui-codemod/README.md @@ -80,10 +80,10 @@ A combination of all deprecations. ```diff ```