diff --git a/docs/data/joy/customization/dark-mode/dark-mode.md b/docs/data/joy/customization/dark-mode/dark-mode.md index 317e450eec8d2d..f9f718357679e9 100644 --- a/docs/data/joy/customization/dark-mode/dark-mode.md +++ b/docs/data/joy/customization/dark-mode/dark-mode.md @@ -115,7 +115,7 @@ export default class MyDocument extends Document { ### Next.js App Router -To use the Joy UI API with a Next.js project with the App Router, add the following code to the [root layout](https://nextjs.org/docs/app/building-your-application/routing/layouts-and-templates#root-layout-required) file in order to prevent flickering: +To use the Joy UI API with a Next.js project with the App Router, add the following code to the [root layout](https://nextjs.org/docs/app/api-reference/file-conventions/layout#root-layouts) file in order to prevent flickering: ```jsx title="app/layout.js" import InitColorSchemeScript from '@mui/joy/InitColorSchemeScript'; diff --git a/docs/data/material/customization/css-theme-variables/configuration.md b/docs/data/material/customization/css-theme-variables/configuration.md index 61b3d935a07be7..516c650fa461ed 100644 --- a/docs/data/material/customization/css-theme-variables/configuration.md +++ b/docs/data/material/customization/css-theme-variables/configuration.md @@ -181,7 +181,7 @@ createTheme({ ### Next.js App Router -Add the following code to the [root layout](https://nextjs.org/docs/app/building-your-application/routing/layouts-and-templates#root-layout-required) file: +Add the following code to the [root layout](https://nextjs.org/docs/app/api-reference/file-conventions/layout#root-layouts) file: ```jsx title="app/layout.js" import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'; diff --git a/docs/data/material/migration/migration-v4/v5-component-changes.md b/docs/data/material/migration/migration-v4/v5-component-changes.md index 8fa8f2b793e237..e7f5555da7ed23 100644 --- a/docs/data/material/migration/migration-v4/v5-component-changes.md +++ b/docs/data/material/migration/migration-v4/v5-component-changes.md @@ -1255,7 +1255,7 @@ This component has been removed. You can get a reference to the underlying DOM node of our components via `ref` prop. -The component relied on [`ReactDOM.findDOMNode`](https://react.dev/reference/react-dom/findDOMNode) which is [deprecated in `React.StrictMode`](https://react.dev/reference/react/StrictMode#warning-about-deprecated-finddomnode-usage). +The component relied on [`ReactDOM.findDOMNode`](https://legacy.reactjs.org/docs/react-dom.html#finddomnode) which is [deprecated in `React.StrictMode`](https://react.dev/reference/react/StrictMode#warning-about-deprecated-finddomnode-usage). :::success This is handled in the [preset-safe codemod](#preset-safe) by applying fake `RootRef` component to prevent application crash, but further fixes are required. diff --git a/docs/translations/api-docs/app-bar/app-bar.json b/docs/translations/api-docs/app-bar/app-bar.json index 24a0d15e2cce0b..c792fde0fd695a 100644 --- a/docs/translations/api-docs/app-bar/app-bar.json +++ b/docs/translations/api-docs/app-bar/app-bar.json @@ -10,7 +10,7 @@ "description": "If true, the color prop is applied in dark mode." }, "position": { - "description": "The positioning type. The behavior of the different options is described in the MDN web docs. Note: sticky is not universally supported and will fall back to static when unavailable." + "description": "The positioning type. The behavior of the different options is described in the MDN web docs. Note: sticky is not universally supported and will fall back to static when unavailable." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." diff --git a/packages/mui-material/src/AppBar/AppBar.d.ts b/packages/mui-material/src/AppBar/AppBar.d.ts index db9f4c75fbcee9..97c3b3603a0baa 100644 --- a/packages/mui-material/src/AppBar/AppBar.d.ts +++ b/packages/mui-material/src/AppBar/AppBar.d.ts @@ -30,7 +30,7 @@ export interface AppBarOwnProps { enableColorOnDark?: boolean; /** * The positioning type. The behavior of the different options is described - * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning). + * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Web/CSS/position). * Note: `sticky` is not universally supported and will fall back to `static` when unavailable. * @default 'fixed' */ diff --git a/packages/mui-material/src/AppBar/AppBar.js b/packages/mui-material/src/AppBar/AppBar.js index 5be4078f364c41..fc0e5c86fb65fa 100644 --- a/packages/mui-material/src/AppBar/AppBar.js +++ b/packages/mui-material/src/AppBar/AppBar.js @@ -247,7 +247,7 @@ AppBar.propTypes /* remove-proptypes */ = { enableColorOnDark: PropTypes.bool, /** * The positioning type. The behavior of the different options is described - * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning). + * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Web/CSS/position). * Note: `sticky` is not universally supported and will fall back to `static` when unavailable. * @default 'fixed' */