diff --git a/README.md b/README.md index 1abb7599491305..ed7da96675fa94 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- Material UI logo + Material UI logo

Material UI

diff --git a/docs/data/material/components/about-the-lab/about-the-lab.md b/docs/data/material/components/about-the-lab/about-the-lab.md index 5392da5990df8c..69b09cda020fcf 100644 --- a/docs/data/material/components/about-the-lab/about-the-lab.md +++ b/docs/data/material/components/about-the-lab/about-the-lab.md @@ -24,15 +24,15 @@ To install and save in your `package.json` dependencies, run one of the followin ```bash npm -npm install @mui/lab @mui/material +npm install @mui/lab@^7.0.0-beta @mui/material@^7.0.0 ``` ```bash pnpm -pnpm add @mui/lab @mui/material +pnpm add @mui/lab@^7.0.0-beta @mui/material@^7.0.0 ``` ```bash yarn -yarn add @mui/lab @mui/material +yarn add @mui/lab@^7.0.0-beta @mui/material@^7.0.0 ``` diff --git a/docs/data/material/components/icons/icons.md b/docs/data/material/components/icons/icons.md index a51239a6107863..2a64bac52a79a6 100644 --- a/docs/data/material/components/icons/icons.md +++ b/docs/data/material/components/icons/icons.md @@ -30,15 +30,15 @@ Run one of the following commands to install it and save it to your `package.jso ```bash npm -npm install @mui/icons-material +npm install @mui/icons-material@^7.0.0 ``` ```bash pnpm -pnpm add @mui/icons-material +pnpm add @mui/icons-material@^7.0.0 ``` ```bash yarn -yarn add @mui/icons-material +yarn add @mui/icons-material@^7.0.0 ``` diff --git a/docs/data/material/components/material-icons/material-icons.md b/docs/data/material/components/material-icons/material-icons.md index 293e42a0c8a60d..b7248b8ea35dae 100644 --- a/docs/data/material/components/material-icons/material-icons.md +++ b/docs/data/material/components/material-icons/material-icons.md @@ -23,15 +23,15 @@ Use one of the following commands to install it: ```bash npm -npm install @mui/icons-material @mui/material @emotion/styled @emotion/react +npm install @mui/icons-material@^7.0.0 @mui/material@^7.0.0 @emotion/styled @emotion/react ``` ```bash pnpm -pnpm add @mui/icons-material @mui/material @emotion/styled @emotion/react +pnpm add @mui/icons-material@^7.0.0 @mui/material@^7.0.0 @emotion/styled @emotion/react ``` ```bash yarn -yarn add @mui/icons-material @mui/material @emotion/styled @emotion/react +yarn add @mui/icons-material@^7.0.0 @mui/material@^7.0.0 @emotion/styled @emotion/react ``` diff --git a/docs/data/material/getting-started/installation/installation.md b/docs/data/material/getting-started/installation/installation.md index bbd4940863f673..41a23c39e67866 100644 --- a/docs/data/material/getting-started/installation/installation.md +++ b/docs/data/material/getting-started/installation/installation.md @@ -11,15 +11,15 @@ Run one of the following commands to add Material UI to your project: ```bash npm -npm install @mui/material @emotion/react @emotion/styled +npm install @mui/material@^7.0.0 @emotion/react @emotion/styled ``` ```bash pnpm -pnpm add @mui/material @emotion/react @emotion/styled +pnpm add @mui/material@^7.0.0 @emotion/react @emotion/styled ``` ```bash yarn -yarn add @mui/material @emotion/react @emotion/styled +yarn add @mui/material@^7.0.0 @emotion/react @emotion/styled ``` diff --git a/docs/data/material/getting-started/templates/blog/README.md b/docs/data/material/getting-started/templates/blog/README.md index 8aa18c5b12f931..222b7c1fa2c554 100644 --- a/docs/data/material/getting-started/templates/blog/README.md +++ b/docs/data/material/getting-started/templates/blog/README.md @@ -12,4 +12,4 @@ -View the demo at https://mui.com/material-ui/getting-started/templates/blog/. +View the demo at https://v7.mui.com/material-ui/getting-started/templates/blog/. diff --git a/docs/data/material/getting-started/templates/checkout/README.md b/docs/data/material/getting-started/templates/checkout/README.md index 6cc85eee576eb7..7a658bab4ae37e 100644 --- a/docs/data/material/getting-started/templates/checkout/README.md +++ b/docs/data/material/getting-started/templates/checkout/README.md @@ -12,4 +12,4 @@ -View the demo at https://mui.com/material-ui/getting-started/templates/checkout/. +View the demo at https://v7.mui.com/material-ui/getting-started/templates/checkout/. diff --git a/docs/data/material/getting-started/templates/crud-dashboard/README.md b/docs/data/material/getting-started/templates/crud-dashboard/README.md index 8d21313f38232d..7dcea2e49bc696 100644 --- a/docs/data/material/getting-started/templates/crud-dashboard/README.md +++ b/docs/data/material/getting-started/templates/crud-dashboard/README.md @@ -12,4 +12,4 @@ -View the demo at https://mui.com/material-ui/getting-started/templates/crud-dashboard/. +View the demo at https://v7.mui.com/material-ui/getting-started/templates/crud-dashboard/. diff --git a/docs/data/material/getting-started/templates/dashboard/README.md b/docs/data/material/getting-started/templates/dashboard/README.md index 5e8dbaa9c0d040..3bc859f809b01d 100644 --- a/docs/data/material/getting-started/templates/dashboard/README.md +++ b/docs/data/material/getting-started/templates/dashboard/README.md @@ -12,4 +12,4 @@ -View the demo at https://mui.com/material-ui/getting-started/templates/dashboard/. +View the demo at https://v7.mui.com/material-ui/getting-started/templates/dashboard/. diff --git a/docs/data/material/getting-started/templates/marketing-page/README.md b/docs/data/material/getting-started/templates/marketing-page/README.md index 4d8325e17dd6f1..aa3627f879a326 100644 --- a/docs/data/material/getting-started/templates/marketing-page/README.md +++ b/docs/data/material/getting-started/templates/marketing-page/README.md @@ -12,4 +12,4 @@ -View the demo at https://mui.com/material-ui/getting-started/templates/marketing-page/. +View the demo at https://v7.mui.com/material-ui/getting-started/templates/marketing-page/. diff --git a/docs/data/material/getting-started/templates/sign-in-side/README.md b/docs/data/material/getting-started/templates/sign-in-side/README.md index 5d7f52cff210d5..4588f4beab862b 100644 --- a/docs/data/material/getting-started/templates/sign-in-side/README.md +++ b/docs/data/material/getting-started/templates/sign-in-side/README.md @@ -12,4 +12,4 @@ -View the demo at https://mui.com/material-ui/getting-started/templates/sign-in-side/. +View the demo at https://v7.mui.com/material-ui/getting-started/templates/sign-in-side/. diff --git a/docs/data/material/getting-started/templates/sign-in/README.md b/docs/data/material/getting-started/templates/sign-in/README.md index fe11971a4ec9ba..ae7605486bf3c6 100644 --- a/docs/data/material/getting-started/templates/sign-in/README.md +++ b/docs/data/material/getting-started/templates/sign-in/README.md @@ -12,4 +12,4 @@ -View the demo at https://mui.com/material-ui/getting-started/templates/sign-in/. +View the demo at https://v7.mui.com/material-ui/getting-started/templates/sign-in/. diff --git a/docs/data/material/getting-started/templates/sign-up/README.md b/docs/data/material/getting-started/templates/sign-up/README.md index 646bd65aaa139b..a1e91a32c1256e 100644 --- a/docs/data/material/getting-started/templates/sign-up/README.md +++ b/docs/data/material/getting-started/templates/sign-up/README.md @@ -12,4 +12,4 @@ -View the demo at https://mui.com/material-ui/getting-started/templates/sign-up/. +View the demo at https://v7.mui.com/material-ui/getting-started/templates/sign-up/. diff --git a/docs/data/material/integrations/styled-components/styled-components.md b/docs/data/material/integrations/styled-components/styled-components.md index 62f0c1b4af7447..6a64747df37af5 100644 --- a/docs/data/material/integrations/styled-components/styled-components.md +++ b/docs/data/material/integrations/styled-components/styled-components.md @@ -35,11 +35,11 @@ If you're using yarn, you can configure it using a package resolution: ```diff title="package.json" { "dependencies": { -- "@mui/styled-engine": "latest" -+ "@mui/styled-engine": "npm:@mui/styled-engine-sc@latest" +- "@mui/styled-engine": "^7.0.0" ++ "@mui/styled-engine": "npm:@mui/styled-engine-sc@^7.0.0" }, + "resolutions": { -+ "@mui/styled-engine": "npm:@mui/styled-engine-sc@latest" ++ "@mui/styled-engine": "npm:@mui/styled-engine-sc@^7.0.0" + }, } ``` diff --git a/docs/data/material/migration/upgrade-to-v7/upgrade-to-native-color.md b/docs/data/material/migration/upgrade-to-v7/upgrade-to-native-color.md index 88948ef956b65f..a6c5e221b8c082 100644 --- a/docs/data/material/migration/upgrade-to-v7/upgrade-to-native-color.md +++ b/docs/data/material/migration/upgrade-to-v7/upgrade-to-native-color.md @@ -14,15 +14,15 @@ Update Material UI to the latest version (or at least v7.3.0). ```bash npm -npm install @mui/material@latest +npm install @mui/material@^7.0.0 ``` ```bash pnpm -pnpm add @mui/material@latest +pnpm add @mui/material@^7.0.0 ``` ```bash yarn -yarn add @mui/material@latest +yarn add @mui/material@^7.0.0 ``` diff --git a/docs/data/material/migration/upgrade-to-v7/upgrade-to-v7.md b/docs/data/material/migration/upgrade-to-v7/upgrade-to-v7.md index 0a73e3d2f7e5ee..ec08915cf086ec 100644 --- a/docs/data/material/migration/upgrade-to-v7/upgrade-to-v7.md +++ b/docs/data/material/migration/upgrade-to-v7/upgrade-to-v7.md @@ -230,7 +230,7 @@ Depending on your project, you may follow one of the following approaches: ```bash - npx @mui/codemod v7.0.0/grid-props + npx @mui/codemod@^7.0.0 v7.0.0/grid-props ``` See the [Grid upgrade guide](/material-ui/migration/upgrade-to-grid-v2/) for more information. @@ -303,7 +303,7 @@ Use this codemod to automatically update the `size` value: ```bash -npx @mui/codemod v7.0.0/input-label-size-normal-medium +npx @mui/codemod@^7.0.0 v7.0.0/input-label-size-normal-medium ``` **Note:** Because the default size of `InputLabel` was changed from `normal` to `medium`, the class `MuiInputLabel‑sizeMedium` is no longer added. If you relied on this class for custom styling, use a different class. @@ -570,7 +570,7 @@ Use this codemod to automatically update the imports: ```bash -npx @mui/codemod v7.0.0/lab-removed-components +npx @mui/codemod@^7.0.0 v7.0.0/lab-removed-components ``` :::warning diff --git a/docs/data/system/getting-started/installation/installation.md b/docs/data/system/getting-started/installation/installation.md index 5ddd8d6883e9b1..a2bc20cd94ee54 100644 --- a/docs/data/system/getting-started/installation/installation.md +++ b/docs/data/system/getting-started/installation/installation.md @@ -9,15 +9,15 @@ Run one of the following commands to add MUI System to your project: ```bash npm -npm install @mui/system @emotion/react @emotion/styled +npm install @mui/system@^7.0.0 @emotion/react @emotion/styled ``` ```bash pnpm -pnpm add @mui/system @emotion/react @emotion/styled +pnpm add @mui/system@^7.0.0 @emotion/react @emotion/styled ``` ```bash yarn -yarn add @mui/system @emotion/react @emotion/styled +yarn add @mui/system@^7.0.0 @emotion/react @emotion/styled ``` @@ -44,15 +44,15 @@ If you want to use [styled-components](https://styled-components.com/) instead, ```bash npm -npm install @mui/system @mui/styled-engine-sc styled-components +npm install @mui/system@^7.0.0 @mui/styled-engine-sc@^7.0.0 styled-components ``` ```bash pnpm -pnpm add @mui/system @mui/styled-engine-sc styled-components +pnpm add @mui/system@^7.0.0 @mui/styled-engine-sc@^7.0.0 styled-components ``` ```bash yarn -yarn add @mui/system @mui/styled-engine-sc styled-components +yarn add @mui/system@^7.0.0 @mui/styled-engine-sc@^7.0.0 styled-components ``` diff --git a/docs/public/static/error-codes.json b/docs/public/static/error-codes.json index 5e86ee26ea6822..0ab44a629240aa 100644 --- a/docs/public/static/error-codes.json +++ b/docs/public/static/error-codes.json @@ -18,6 +18,6 @@ "17": "MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.", "18": "MUI: The provided shorthand %s is invalid. The format should be `@` or `@/`.\nFor example, `@sm` or `@600` or `@40rem/sidebar`.", "19": "MUI: The `experimental_sx` has been moved to `theme.unstable_sx`.For more details, see https://github.com/mui/material-ui/pull/35150.", - "20": "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.", + "20": "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.", "21": "MUI: The `colorSchemes.%s` option is either missing or invalid." } diff --git a/docs/src/modules/components/Head.tsx b/docs/src/modules/components/Head.tsx index ff4c97c425b5ae..6eb989e6389248 100644 --- a/docs/src/modules/components/Head.tsx +++ b/docs/src/modules/components/Head.tsx @@ -8,7 +8,7 @@ import { pathnameToLanguage } from 'docs/src/modules/utils/helpers'; // #host-reference const HOST = process.env.PULL_REQUEST_ID ? `https://deploy-preview-${process.env.PULL_REQUEST_ID}--${process.env.NETLIFY_SITE_NAME}.netlify.app` - : 'https://mui.com'; + : 'https://v7.mui.com'; interface HeadProps { card?: string; @@ -64,7 +64,7 @@ export default function Head(props: HeadProps) { { dependencies: { react: 'latest', // #npm-tag-reference - '@mui/material': 'latest', + '@mui/material': '^7.0.0', 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', @@ -127,7 +127,7 @@ ReactDOM.createRoot(document.querySelector("#root")).render( dependencies: { react: 'latest', // #npm-tag-reference - '@mui/material': 'latest', + '@mui/material': '^7.0.0', 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', @@ -234,7 +234,7 @@ ReactDOM.createRoot(document.querySelector("#root")!).render( '@emotion/react': 'latest', '@emotion/styled': 'latest', // #npm-tag-reference - '@mui/material': 'latest', + '@mui/material': '^7.0.0', react: 'latest', 'react-dom': 'latest', typescript: 'latest', diff --git a/docs/src/modules/sandbox/Dependencies.test.js b/docs/src/modules/sandbox/Dependencies.test.js index f3363bf2d46f96..71610b29d93fd6 100644 --- a/docs/src/modules/sandbox/Dependencies.test.js +++ b/docs/src/modules/sandbox/Dependencies.test.js @@ -41,7 +41,7 @@ const styles = theme => ({ '@emotion/styled': 'latest', '@foo-bar/bip': 'latest', // #npm-tag-reference - '@mui/material': 'latest', + '@mui/material': '^7.0.0', '@mui/base': 'latest', 'prop-types': 'latest', }); @@ -73,7 +73,7 @@ const suggestions = [ '@emotion/react': 'latest', '@emotion/styled': 'latest', // #npm-tag-reference - '@mui/material': 'latest', + '@mui/material': '^7.0.0', '@unexisting/thing': 'latest', 'autosuggest-highlight': 'latest', 'prop-types': 'latest', @@ -103,8 +103,8 @@ import { LocalizationProvider as MuiPickersLocalizationProvider, KeyboardTimePic '@emotion/react': 'latest', '@emotion/styled': 'latest', // #npm-tag-reference - '@mui/material': 'latest', - '@mui/lab': 'latest', + '@mui/material': '^7.0.0', + '@mui/lab': '^7.0.0-beta', }); }); @@ -131,8 +131,8 @@ import 'exceljs'; '@emotion/react': 'latest', '@emotion/styled': 'latest', // #npm-tag-reference - '@mui/material': 'latest', - '@mui/lab': 'latest', + '@mui/material': '^7.0.0', + '@mui/lab': '^7.0.0-beta', exceljs: 'latest', }); }); @@ -151,7 +151,7 @@ import 'exceljs'; '@emotion/styled': 'latest', '@foo-bar/bip': 'latest', // #npm-tag-reference - '@mui/material': 'latest', + '@mui/material': '^7.0.0', '@mui/base': 'latest', typescript: 'latest', }); @@ -206,8 +206,8 @@ import { '@emotion/react': 'latest', '@emotion/styled': 'latest', // #npm-tag-reference - '@mui/material': 'latest', - '@mui/lab': 'latest', + '@mui/material': '^7.0.0', + '@mui/lab': '^7.0.0-beta', }); }); @@ -227,8 +227,8 @@ import lab from '@mui/lab'; '@emotion/react': 'latest', '@emotion/styled': 'latest', // #npm-tag-reference - '@mui/material': 'latest', - '@mui/lab': 'latest', + '@mui/material': '^7.0.0', + '@mui/lab': '^7.0.0-beta', }); }); @@ -533,10 +533,10 @@ export default function EmailExample() { '@emotion/react': 'latest', '@emotion/styled': 'latest', // #npm-tag-reference - '@mui/icons-material': 'latest', + '@mui/icons-material': '^7.0.0', '@mui/joy': 'latest', - '@mui/material': 'latest', - '@mui/system': 'latest', + '@mui/material': '^7.0.0', + '@mui/system': '^7.0.0', typescript: 'latest', }); }); @@ -558,7 +558,7 @@ import OutlinedInput from '@mui/material/OutlinedInput'; '@emotion/react': 'latest', '@emotion/styled': 'latest', // #npm-tag-reference - '@mui/material': 'latest', + '@mui/material': '^7.0.0', '@base-ui/react': 'latest', typescript: 'latest', }); diff --git a/docs/src/modules/sandbox/Dependencies.ts b/docs/src/modules/sandbox/Dependencies.ts index e1e37bb9d0a56f..474bf1cc33f118 100644 --- a/docs/src/modules/sandbox/Dependencies.ts +++ b/docs/src/modules/sandbox/Dependencies.ts @@ -59,7 +59,11 @@ export default function SandboxDependencies( return 'latest'; } // #npm-tag-reference - return 'latest'; + if (packageName === 'lab') { + return '^7.0.0-beta'; + } + // #npm-tag-reference + return '^7.0.0'; } return `https://pkg.pr.new/mui/material-ui/@mui/${packageName}@${commitRef}`; } diff --git a/docs/src/modules/sandbox/StackBlitz.test.js b/docs/src/modules/sandbox/StackBlitz.test.js index d1637482a23eeb..b16f66f1467dc7 100644 --- a/docs/src/modules/sandbox/StackBlitz.test.js +++ b/docs/src/modules/sandbox/StackBlitz.test.js @@ -66,7 +66,7 @@ describe('StackBlitz', () => { }, "dependencies": { "react": "latest", - "@mui/material": "latest", + "@mui/material": "^7.0.0", "react-dom": "latest", "@emotion/react": "latest", "@emotion/styled": "latest" @@ -115,7 +115,7 @@ export default defineConfig({ dependencies: { react: 'latest', // #npm-tag-reference - '@mui/material': 'latest', + '@mui/material': '^7.0.0', 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', @@ -176,7 +176,7 @@ export default defineConfig({ }, "dependencies": { "react": "latest", - "@mui/material": "latest", + "@mui/material": "^7.0.0", "react-dom": "latest", "@emotion/react": "latest", "@emotion/styled": "latest", @@ -260,7 +260,7 @@ export default defineConfig({ dependencies: { react: 'latest', // #npm-tag-reference - '@mui/material': 'latest', + '@mui/material': '^7.0.0', 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', diff --git a/examples/joy-ui-cra-ts/README.md b/examples/joy-ui-cra-ts/README.md index 1dead5d384f540..1162b04b12e73d 100644 --- a/examples/joy-ui-cra-ts/README.md +++ b/examples/joy-ui-cra-ts/README.md @@ -33,4 +33,4 @@ or: You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/joy-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/joy-ui/getting-started/templates/) section. diff --git a/examples/joy-ui-nextjs-ts/README.md b/examples/joy-ui-nextjs-ts/README.md index 80a331e50ec887..4c7a219d0ed5ff 100644 --- a/examples/joy-ui-nextjs-ts/README.md +++ b/examples/joy-ui-nextjs-ts/README.md @@ -42,4 +42,4 @@ To learn more about this example: You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/joy-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/joy-ui/getting-started/templates/) section. diff --git a/examples/joy-ui-vite-ts/README.md b/examples/joy-ui-vite-ts/README.md index 112ba899b69333..9624717fa3d68c 100644 --- a/examples/joy-ui-vite-ts/README.md +++ b/examples/joy-ui-vite-ts/README.md @@ -40,4 +40,4 @@ It includes `@mui/joy` and it's peer dependencies. You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/joy-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/joy-ui/getting-started/templates/) section. diff --git a/examples/material-ui-express-ssr/README.md b/examples/material-ui-express-ssr/README.md index 12594922d4eb70..99d1d4f1280043 100644 --- a/examples/material-ui-express-ssr/README.md +++ b/examples/material-ui-express-ssr/README.md @@ -30,14 +30,14 @@ or: -This is the reference implementation of the [Server Rendering tutorial](https://mui.com/material-ui/guides/server-rendering/). +This is the reference implementation of the [Server Rendering tutorial](https://v7.mui.com/material-ui/guides/server-rendering/). The example project includes `@mui/material` and its peer dependencies, including [Emotion](https://emotion.sh/docs/introduction), the default style engine in Material UI. -If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://v7.mui.com/material-ui/integrations/interoperability/#styled-components). ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-express-ssr/package.json b/examples/material-ui-express-ssr/package.json index c1bec86fe52b43..06a18126319146 100644 --- a/examples/material-ui-express-ssr/package.json +++ b/examples/material-ui-express-ssr/package.json @@ -15,7 +15,7 @@ "@emotion/react": "latest", "@emotion/styled": "latest", "@emotion/server": "latest", - "@mui/material": "latest", + "@mui/material": "^7.0.0", "babel-loader": "latest", "cross-env": "latest", "express": "latest", diff --git a/examples/material-ui-gatsby/README.md b/examples/material-ui-gatsby/README.md index d93a7a65b13b5b..a18d0c64167215 100644 --- a/examples/material-ui-gatsby/README.md +++ b/examples/material-ui-gatsby/README.md @@ -24,11 +24,11 @@ npm run develop The project uses [Gatsby](https://github.com/gatsbyjs/gatsby), which is a static site generator for React. It includes `@mui/material` and its peer dependencies, including [Emotion](https://emotion.sh/docs/introduction), the default style engine in Material UI. -If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://v7.mui.com/material-ui/integrations/interoperability/#styled-components). ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-gatsby/package.json b/examples/material-ui-gatsby/package.json index 5c0583b9630563..810392d465d812 100644 --- a/examples/material-ui-gatsby/package.json +++ b/examples/material-ui-gatsby/package.json @@ -10,7 +10,7 @@ "@emotion/react": "latest", "@emotion/server": "latest", "@emotion/styled": "latest", - "@mui/material": "latest", + "@mui/material": "^7.0.0", "gatsby": "latest", "gatsby-plugin-react-helmet": "latest", "react": "latest", diff --git a/examples/material-ui-nextjs-pages-router-ts/README.md b/examples/material-ui-nextjs-pages-router-ts/README.md index 2d0687032a5525..3f2b86a910d8f3 100644 --- a/examples/material-ui-nextjs-pages-router-ts/README.md +++ b/examples/material-ui-nextjs-pages-router-ts/README.md @@ -36,7 +36,7 @@ We recommend starting new projects with the [Material UI with Next.js (App Rout The project uses [Next.js](https://github.com/vercel/next.js), which is a framework for server-rendered React apps. It includes `@mui/material` and its peer dependencies, including [Emotion](https://emotion.sh/docs/introduction), the default style engine in Material UI. -If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://v7.mui.com/material-ui/integrations/interoperability/#styled-components). ## The link component @@ -44,11 +44,11 @@ If you prefer, you can [use styled-components instead](https://mui.com/material- The [example folder](https://github.com/mui/material-ui/tree/HEAD/examples/material-ui-nextjs-pages-router-ts) provides an adapter for the use of [Next.js's Link component](https://nextjs.org/docs/pages/api-reference/components/link) with Material UI. -More information [in the documentation](https://mui.com/material-ui/integrations/routing/#next-js-pages-router). +More information [in the documentation](https://v7.mui.com/material-ui/integrations/routing/#next-js-pages-router). ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-nextjs-pages-router-ts/package.json b/examples/material-ui-nextjs-pages-router-ts/package.json index 073557b13a5cbf..b1e729f0091abf 100644 --- a/examples/material-ui-nextjs-pages-router-ts/package.json +++ b/examples/material-ui-nextjs-pages-router-ts/package.json @@ -13,9 +13,9 @@ "@emotion/react": "latest", "@emotion/server": "latest", "@emotion/styled": "latest", - "@mui/icons-material": "latest", - "@mui/material": "latest", - "@mui/material-nextjs": "latest", + "@mui/icons-material": "^7.0.0", + "@mui/material": "^7.0.0", + "@mui/material-nextjs": "^7.0.0", "clsx": "latest", "next": "^16.0.7", "react": "^19.0.0", diff --git a/examples/material-ui-nextjs-pages-router/README.md b/examples/material-ui-nextjs-pages-router/README.md index bf72de80b148f5..0c3abe9b8278c9 100644 --- a/examples/material-ui-nextjs-pages-router/README.md +++ b/examples/material-ui-nextjs-pages-router/README.md @@ -36,7 +36,7 @@ We recommend starting new projects with the [Material UI with Next.js (App Rout The project uses [Next.js](https://github.com/vercel/next.js), which is a framework for server-rendered React apps. It includes `@mui/material` and its peer dependencies, including [Emotion](https://emotion.sh/docs/introduction), the default style engine in Material UI. -If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://v7.mui.com/material-ui/integrations/interoperability/#styled-components). ## The Link component @@ -44,11 +44,11 @@ If you prefer, you can [use styled-components instead](https://mui.com/material- The [example folder](https://github.com/mui/material-ui/tree/HEAD/examples/material-ui-nextjs-pages-router) provides an adapter for the use of [Next.js's Link component](https://nextjs.org/docs/pages/api-reference/components/link) with Material UI. -More information [in the documentation](https://mui.com/material-ui/integrations/routing/#next-js-pages-router). +More information [in the documentation](https://v7.mui.com/material-ui/integrations/routing/#next-js-pages-router). ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-nextjs-pages-router/package.json b/examples/material-ui-nextjs-pages-router/package.json index 3ad263479abd04..161699012b7f95 100644 --- a/examples/material-ui-nextjs-pages-router/package.json +++ b/examples/material-ui-nextjs-pages-router/package.json @@ -13,9 +13,9 @@ "@emotion/react": "latest", "@emotion/server": "latest", "@emotion/styled": "latest", - "@mui/icons-material": "latest", - "@mui/material": "latest", - "@mui/material-nextjs": "latest", + "@mui/icons-material": "^7.0.0", + "@mui/material": "^7.0.0", + "@mui/material-nextjs": "^7.0.0", "clsx": "latest", "next": "^16.0.7", "react": "^19.0.0", diff --git a/examples/material-ui-nextjs-ts/README.md b/examples/material-ui-nextjs-ts/README.md index 7d4e4919c2d80b..5b753927d35e61 100644 --- a/examples/material-ui-nextjs-ts/README.md +++ b/examples/material-ui-nextjs-ts/README.md @@ -37,11 +37,11 @@ To learn more about this example: - [Next.js documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Customizing Material UI](https://mui.com/material-ui/customization/how-to-customize/) - approaches to customizing Material UI. +- [Customizing Material UI](https://v7.mui.com/material-ui/customization/how-to-customize/) - approaches to customizing Material UI. ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-nextjs-ts/package.json b/examples/material-ui-nextjs-ts/package.json index 4b8f920905a0d5..9c668310df240a 100644 --- a/examples/material-ui-nextjs-ts/package.json +++ b/examples/material-ui-nextjs-ts/package.json @@ -12,9 +12,9 @@ "@emotion/cache": "latest", "@emotion/react": "latest", "@emotion/styled": "latest", - "@mui/icons-material": "latest", - "@mui/material": "latest", - "@mui/material-nextjs": "latest", + "@mui/icons-material": "^7.0.0", + "@mui/material": "^7.0.0", + "@mui/material-nextjs": "^7.0.0", "next": "^16.0.7", "react": "^19.0.0", "react-dom": "^19.0.0" diff --git a/examples/material-ui-nextjs/README.md b/examples/material-ui-nextjs/README.md index 9fb80ee96e7125..74cf0b5d3ff6d8 100644 --- a/examples/material-ui-nextjs/README.md +++ b/examples/material-ui-nextjs/README.md @@ -37,11 +37,11 @@ To learn more about this example: - [Next.js documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Customizing Material UI](https://mui.com/material-ui/customization/how-to-customize/) - approaches to customizing Material UI. +- [Customizing Material UI](https://v7.mui.com/material-ui/customization/how-to-customize/) - approaches to customizing Material UI. ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-nextjs/package.json b/examples/material-ui-nextjs/package.json index 47253033581620..86a1db58badfc9 100644 --- a/examples/material-ui-nextjs/package.json +++ b/examples/material-ui-nextjs/package.json @@ -11,9 +11,9 @@ "@emotion/cache": "latest", "@emotion/react": "latest", "@emotion/styled": "latest", - "@mui/icons-material": "latest", - "@mui/material": "latest", - "@mui/material-nextjs": "latest", + "@mui/icons-material": "^7.0.0", + "@mui/material": "^7.0.0", + "@mui/material-nextjs": "^7.0.0", "eslint": "latest", "eslint-config-next": "latest", "next": "^16.0.7", diff --git a/examples/material-ui-pigment-css-nextjs-ts/README.md b/examples/material-ui-pigment-css-nextjs-ts/README.md index a0938adcedb5bd..4a0609ada1be04 100644 --- a/examples/material-ui-pigment-css-nextjs-ts/README.md +++ b/examples/material-ui-pigment-css-nextjs-ts/README.md @@ -37,11 +37,11 @@ To learn more about this example: - [Next.js documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Customizing Material UI](https://mui.com/material-ui/customization/how-to-customize/) - approaches to customizing Material UI. +- [Customizing Material UI](https://v7.mui.com/material-ui/customization/how-to-customize/) - approaches to customizing Material UI. ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-pigment-css-nextjs-ts/package.json b/examples/material-ui-pigment-css-nextjs-ts/package.json index 6ad1dad7c4b790..cdf14cfc2e4ace 100644 --- a/examples/material-ui-pigment-css-nextjs-ts/package.json +++ b/examples/material-ui-pigment-css-nextjs-ts/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@mui/material": "latest", - "@mui/material-pigment-css": "latest", + "@mui/material": "^7.0.0", + "@mui/material-pigment-css": "^7.0.0", "@pigment-css/react": "latest", "next": "latest", "react": "latest", diff --git a/examples/material-ui-pigment-css-vite-ts/README.md b/examples/material-ui-pigment-css-vite-ts/README.md index 7f53d64d762460..6558e4f69f1d45 100644 --- a/examples/material-ui-pigment-css-vite-ts/README.md +++ b/examples/material-ui-pigment-css-vite-ts/README.md @@ -36,4 +36,4 @@ It includes `@mui/material` and [Pigment CSS](https://github.com/mui/pigment-cs You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-pigment-css-vite-ts/package.json b/examples/material-ui-pigment-css-vite-ts/package.json index 60933cd6162610..91b4cd41c48a08 100644 --- a/examples/material-ui-pigment-css-vite-ts/package.json +++ b/examples/material-ui-pigment-css-vite-ts/package.json @@ -10,8 +10,8 @@ "preview": "vite preview" }, "dependencies": { - "@mui/material": "latest", - "@mui/material-pigment-css": "latest", + "@mui/material": "^7.0.0", + "@mui/material-pigment-css": "^7.0.0", "@pigment-css/react": "latest", "react": "latest", "react-dom": "latest", diff --git a/examples/material-ui-preact/README.md b/examples/material-ui-preact/README.md index 8a03ac1eec3fd8..a3a286fc2eda34 100644 --- a/examples/material-ui-preact/README.md +++ b/examples/material-ui-preact/README.md @@ -28,11 +28,11 @@ It includes `@mui/material` and its peer dependencies, including [Emotion](https -If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://v7.mui.com/material-ui/integrations/interoperability/#styled-components). ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-preact/package.json b/examples/material-ui-preact/package.json index 5198c32d209933..385c700aadc154 100644 --- a/examples/material-ui-preact/package.json +++ b/examples/material-ui-preact/package.json @@ -6,7 +6,7 @@ "@babel/helper-builder-react-jsx": "latest", "@emotion/react": "latest", "@emotion/styled": "latest", - "@mui/material": "latest", + "@mui/material": "^7.0.0", "@testing-library/jest-dom": "latest", "@testing-library/react": "latest", "@testing-library/user-event": "latest", diff --git a/examples/material-ui-react-router-ts/README.md b/examples/material-ui-react-router-ts/README.md index 15566192753eef..b2142465a5ddb4 100644 --- a/examples/material-ui-react-router-ts/README.md +++ b/examples/material-ui-react-router-ts/README.md @@ -38,4 +38,4 @@ It includes `@mui/material` and its peer dependencies, including [Emotion](https You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-react-router-ts/package.json b/examples/material-ui-react-router-ts/package.json index 8527a35a344258..81deedf1b45030 100644 --- a/examples/material-ui-react-router-ts/package.json +++ b/examples/material-ui-react-router-ts/package.json @@ -13,7 +13,7 @@ "@emotion/react": "latest", "@emotion/server": "latest", "@emotion/styled": "latest", - "@mui/material": "latest", + "@mui/material": "^7.0.0", "@react-router/node": "latest", "@react-router/serve": "latest", "isbot": "latest", diff --git a/examples/material-ui-remix-ts/README.md b/examples/material-ui-remix-ts/README.md index a3c6c590ea769f..279f711b469a08 100644 --- a/examples/material-ui-remix-ts/README.md +++ b/examples/material-ui-remix-ts/README.md @@ -32,11 +32,11 @@ or: The project uses [Remix](https://remix.run/), which is a full-stack web framework. It includes `@mui/material` and its peer dependencies, including [Emotion](https://emotion.sh/docs/introduction), the default style engine in Material UI. -If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://v7.mui.com/material-ui/integrations/interoperability/#styled-components). ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-remix-ts/package.json b/examples/material-ui-remix-ts/package.json index 068a7ffc7976f4..08693b62d6c26f 100644 --- a/examples/material-ui-remix-ts/package.json +++ b/examples/material-ui-remix-ts/package.json @@ -13,7 +13,7 @@ "@emotion/react": "latest", "@emotion/server": "latest", "@emotion/styled": "latest", - "@mui/material": "latest", + "@mui/material": "^7.0.0", "@remix-run/css-bundle": "latest", "@remix-run/node": "latest", "@remix-run/react": "latest", diff --git a/examples/material-ui-via-cdn/README.md b/examples/material-ui-via-cdn/README.md index d0be42b7aa9ccc..5651f771f0d442 100644 --- a/examples/material-ui-via-cdn/README.md +++ b/examples/material-ui-via-cdn/README.md @@ -35,4 +35,4 @@ The client has to download the entire library, regardless of which components ar You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-vite-tailwind-ts/README.md b/examples/material-ui-vite-tailwind-ts/README.md index a3ed80431c9831..f1e210e9505d41 100644 --- a/examples/material-ui-vite-tailwind-ts/README.md +++ b/examples/material-ui-vite-tailwind-ts/README.md @@ -36,4 +36,4 @@ It includes `@mui/material` and its peer dependencies, including [Emotion](https You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-vite-tailwind-ts/package.json b/examples/material-ui-vite-tailwind-ts/package.json index 3c595d941ca294..121f8e4a64dc24 100644 --- a/examples/material-ui-vite-tailwind-ts/package.json +++ b/examples/material-ui-vite-tailwind-ts/package.json @@ -12,7 +12,7 @@ "dependencies": { "@emotion/react": "latest", "@emotion/styled": "latest", - "@mui/material": "latest", + "@mui/material": "^7.0.0", "@tailwindcss/vite": "latest", "react": "latest", "react-dom": "latest", diff --git a/examples/material-ui-vite-ts/README.md b/examples/material-ui-vite-ts/README.md index 84c51161c4fda3..842c036af5e6de 100644 --- a/examples/material-ui-vite-ts/README.md +++ b/examples/material-ui-vite-ts/README.md @@ -38,4 +38,4 @@ It includes `@mui/material` and its peer dependencies, including [Emotion](https You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-vite-ts/package.json b/examples/material-ui-vite-ts/package.json index b0cec7c10dd640..9c507609d05465 100644 --- a/examples/material-ui-vite-ts/package.json +++ b/examples/material-ui-vite-ts/package.json @@ -11,8 +11,8 @@ "dependencies": { "@emotion/react": "latest", "@emotion/styled": "latest", - "@mui/icons-material": "latest", - "@mui/material": "latest", + "@mui/icons-material": "^7.0.0", + "@mui/material": "^7.0.0", "react": "latest", "react-dom": "latest" }, diff --git a/examples/material-ui-vite/README.md b/examples/material-ui-vite/README.md index 033857e95325fb..769969dee60635 100644 --- a/examples/material-ui-vite/README.md +++ b/examples/material-ui-vite/README.md @@ -36,4 +36,4 @@ It includes `@mui/material` and its peer dependencies, including [Emotion](https You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://v7.mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-vite/package.json b/examples/material-ui-vite/package.json index 7a68696b12c4b3..d734801640d506 100644 --- a/examples/material-ui-vite/package.json +++ b/examples/material-ui-vite/package.json @@ -10,7 +10,7 @@ "dependencies": { "@emotion/react": "latest", "@emotion/styled": "latest", - "@mui/material": "latest", + "@mui/material": "^7.0.0", "react": "latest", "react-dom": "latest" }, diff --git a/package.json b/package.json index 265792f28978fb..7fd13067c28aa6 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "build:ci": "lerna run build --concurrency 8 --ignore docs --stream --skip-nx-cache", "build:public": "lerna run --no-private build", "build:public:ci": "lerna run --no-private build --concurrency 8 --skip-nx-cache", - "release:publish": "code-infra publish --github-release", - "release:publish:dry-run": "code-infra publish --github-release --dry-run", + "release:publish": "code-infra publish --github-release --tag latest-v7", + "release:publish:dry-run": "code-infra publish --github-release --dry-run --tag latest-v7", "release:version": "lerna version --no-changelog --no-push --no-git-tag-version --no-private --force-publish=@mui/core-downloads-tracker", "release:build": "lerna run --concurrency 8 --no-private build --skip-nx-cache", "release:changelog": "node scripts/releaseChangelog.mjs", diff --git a/packages/api-docs-builder-core/materialUi/projectSettings.ts b/packages/api-docs-builder-core/materialUi/projectSettings.ts index 23e0e56137796a..8cd10c7efe2fa7 100644 --- a/packages/api-docs-builder-core/materialUi/projectSettings.ts +++ b/packages/api-docs-builder-core/materialUi/projectSettings.ts @@ -45,7 +45,7 @@ export const projectSettings: ProjectSettings = { generateClassName, isGlobalClassName: isGlobalState, // #host-reference - baseApiUrl: 'https://mui.com', + baseApiUrl: 'https://v7.mui.com', pagesManifestPath: path.join(process.cwd(), 'docs/data/material/pages.ts'), nonComponentFolders: [ 'material/getting-started', diff --git a/packages/mui-codemod/README.md b/packages/mui-codemod/README.md index 26ee2754fffa01..79f5780416b820 100644 --- a/packages/mui-codemod/README.md +++ b/packages/mui-codemod/README.md @@ -14,7 +14,7 @@ Some of the codemods also run [postcss](https://github.com/postcss/postcss) plug ```bash -npx @mui/codemod +npx @mui/codemod@^7.0.0 Applies a `@mui/codemod` to the specified paths @@ -2209,7 +2209,7 @@ Replace the usage of the `alpha()`, `lighten()`, and `darken()` functions from ` ```bash -npx @mui/codemod v7.0.0/grid-props +npx @mui/codemod@^7.0.0 v7.0.0/grid-props ``` Updates the usage of the `@mui/material/Grid`, `@mui/system/Grid`, and `@mui/joy/Grid` components to their updated APIs. @@ -2230,7 +2230,7 @@ You can provide the theme breakpoints via options, for example, `--jscodeshift=' ```bash -npx @mui/codemod v7.0.0/grid-props --jscodeshift='--muiBreakpoints=mobile,desktop' +npx @mui/codemod@^7.0.0 v7.0.0/grid-props --jscodeshift='--muiBreakpoints=mobile,desktop' ``` ```diff @@ -2243,7 +2243,7 @@ npx @mui/codemod v7.0.0/grid-props --jscodeshift='--muiBreakpoints=mobile ```bash -npx @mui/codemod v7.0.0/lab-removed-components +npx @mui/codemod@^7.0.0 v7.0.0/lab-removed-components ``` Update the import of the following components and hook moved from `@mui/lab` to `@mui/material`: @@ -2289,12 +2289,12 @@ Updates the `InputLabel`'s `size` value from `normal` to `medium`. ```bash -npx @mui/codemod v7.0.0/input-label-size-normal-medium +npx @mui/codemod@^7.0.0 v7.0.0/input-label-size-normal-medium ``` -You can find more details about this breaking change in [the migration guide](https://next.mui.com/material-ui/migration/upgrade-to-v7/#inputlabel). +You can find more details about this breaking change in [the migration guide](https://v7.mui.com/material-ui/migration/upgrade-to-v7/#inputlabel). ### v6.0.0 @@ -2809,7 +2809,7 @@ Renames `Autocomplete`'s `closeIcon` prop to `clearIcon`. ```bash -npx @mui/codemod@latest v5.0.0/autocomplete-rename-closeicon +npx @mui/codemod@^7.0.0 v5.0.0/autocomplete-rename-closeicon ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#autocomplete). @@ -2828,7 +2828,7 @@ Renames `Autocomplete`'s `getOptionSelected` to `isOptionEqualToValue`. ```bash -npx @mui/codemod@latest v5.0.0/autocomplete-rename-option +npx @mui/codemod@^7.0.0 v5.0.0/autocomplete-rename-option ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#autocomplete). @@ -2847,7 +2847,7 @@ Updates the `Avatar`'s `variant` value and `classes` key from 'circle' to 'circu ```bash -npx @mui/codemod@latest v5.0.0/avatar-circle-circular +npx @mui/codemod@^7.0.0 v5.0.0/avatar-circle-circular ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#avatar). @@ -2882,7 +2882,7 @@ Renames the badge's props. ```bash -npx @mui/codemod@latest v5.0.0/badge-overlap-value +npx @mui/codemod@^7.0.0 v5.0.0/badge-overlap-value ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#badge). @@ -2906,7 +2906,7 @@ This change only affects Base UI components. ```bash -npx @mui/codemod@latest v5.0.0/base-rename-components-to-slots +npx @mui/codemod@^7.0.0 v5.0.0/base-rename-components-to-slots ``` The associated breaking change was done in [#34693](https://github.com/mui/material-ui/pull/34693). @@ -2925,7 +2925,7 @@ Updates the Box API from separate system props to `sx`. ```bash -npx @mui/codemod@latest v5.0.0/box-borderradius-values +npx @mui/codemod@^7.0.0 v5.0.0/box-borderradius-values ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#box). @@ -2961,7 +2961,7 @@ Renames the Box `grid*Gap` props. ```bash -npx @mui/codemod@latest v5.0.0/box-rename-gap +npx @mui/codemod@^7.0.0 v5.0.0/box-rename-gap ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#box). @@ -2978,7 +2978,7 @@ Removes the outdated `color` prop values. ```bash -npx @mui/codemod@latest v5.0.0/button-color-prop +npx @mui/codemod@^7.0.0 v5.0.0/button-color-prop ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#button). @@ -2995,7 +2995,7 @@ Removes the Chip `variant` prop if the value is `"default"`. ```bash -npx @mui/codemod@latest v5.0.0/chip-variant-prop +npx @mui/codemod@^7.0.0 v5.0.0/chip-variant-prop ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#chip). @@ -3012,7 +3012,7 @@ Renames the CircularProgress `static` variant to `determinate`. ```bash -npx @mui/codemod@latest v5.0.0/circularprogress-variant +npx @mui/codemod@^7.0.0 v5.0.0/circularprogress-variant ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#circularprogress). @@ -3031,7 +3031,7 @@ Renames `Collapse`'s `collapsedHeight` prop to `collapsedSize`. ```bash -npx @mui/codemod@latest v5.0.0/collapse-rename-collapsedheight +npx @mui/codemod@^7.0.0 v5.0.0/collapse-rename-collapsedheight ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#collapse). @@ -3050,7 +3050,7 @@ A generic codemod to rename any component prop. ```bash -npx @mui/codemod@latest v5.0.0/component-rename-prop -- --component=Grid --from=prop --to=newProp +npx @mui/codemod@^7.0.0 v5.0.0/component-rename-prop -- --component=Grid --from=prop --to=newProp ``` #### `core-styles-import` @@ -3162,7 +3162,7 @@ Renames the `fade` style utility import and calls to `alpha()`. ```bash -npx @mui/codemod@latest v5.0.0/fade-rename-alpha +npx @mui/codemod@^7.0.0 v5.0.0/fade-rename-alpha ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#styles). @@ -3179,7 +3179,7 @@ Renames `Grid`'s `justify` prop to `justifyContent`. ```bash -npx @mui/codemod@latest v5.0.0/grid-justify-justifycontent +npx @mui/codemod@^7.0.0 v5.0.0/grid-justify-justifycontent ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#grid). @@ -3463,7 +3463,7 @@ or ```bash -npx @mui/codemod@latest v5.0.0/moved-lab-modules +npx @mui/codemod@^7.0.0 v5.0.0/moved-lab-modules ``` You can find more details about this breaking change in the migration guide. @@ -3527,7 +3527,7 @@ Fix private import paths. ```bash -npx @mui/codemod@latest v5.0.0/optimal-imports +npx @mui/codemod@^7.0.0 v5.0.0/optimal-imports ``` #### `root-ref` @@ -3656,7 +3656,7 @@ Updates breakpoint values to match new logic. ⚠️ This mod is not idempotent, ```bash -npx @mui/codemod@latest v5.0.0/theme-breakpoints +npx @mui/codemod@^7.0.0 v5.0.0/theme-breakpoints ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme). @@ -3730,7 +3730,7 @@ Removes the 'px' suffix from some template strings. ```bash -npx @mui/codemod@latest v5.0.0/theme-spacing +npx @mui/codemod@^7.0.0 v5.0.0/theme-spacing ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme). @@ -3763,7 +3763,7 @@ Converts all `@mui/material` submodule imports to the root module: ```bash -npx @mui/codemod@latest v5.0.0/top-level-imports +npx @mui/codemod@^7.0.0 v5.0.0/top-level-imports ``` Head to https://mui.com/material-ui/guides/minimizing-bundle-size/ to understand when it's useful. @@ -3815,7 +3815,7 @@ Updates Dialog, Menu, Popover, and Snackbar to use the `TransitionProps` prop to ```bash -npx @mui/codemod@latest v5.0.0/use-transitionprops +npx @mui/codemod@^7.0.0 v5.0.0/use-transitionprops ``` You can find more details about this breaking change in [the migration guide](/material-ui/migration/v5-component-changes/#dialog). @@ -3845,7 +3845,7 @@ The diff should look like this: ```bash -npx @mui/codemod@latest v5.0.0/variant-prop +npx @mui/codemod@^7.0.0 v5.0.0/variant-prop ``` #### `with-mobile-dialog` @@ -3956,7 +3956,7 @@ The diff should look like this: ```bash -npx @mui/codemod@latest v4.0.0/theme-spacing-api +npx @mui/codemod@^7.0.0 v4.0.0/theme-spacing-api ``` This codemod tries to perform a basic expression simplification which can be improved for expressions that use more than one operation. @@ -3983,7 +3983,7 @@ Converts all `@material-ui/core` imports more than 1 level deep to the optimal f ```bash -npx @mui/codemod@latest v4.0.0/optimal-imports +npx @mui/codemod@^7.0.0 v4.0.0/optimal-imports ``` Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's useful. @@ -4001,7 +4001,7 @@ Converts all `@material-ui/core` submodule imports to the root module: ```bash -npx @mui/codemod@latest v4.0.0/top-level-imports +npx @mui/codemod@^7.0.0 v4.0.0/top-level-imports ``` Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's useful. @@ -4022,7 +4022,7 @@ The diff should look like this: ```bash -npx @mui/codemod@latest v1.0.0/import-path +npx @mui/codemod@^7.0.0 v1.0.0/import-path ``` **Notice**: if you are migrating from pre-v1.0, and your imports use `material-ui`, you will need to manually find and replace all references to `material-ui` in your code to `@material-ui/core`. E.g.: @@ -4049,7 +4049,7 @@ The diff should look like this: ```bash -npx @mui/codemod@latest v1.0.0/color-imports +npx @mui/codemod@^7.0.0 v1.0.0/color-imports ``` **additional options** @@ -4057,7 +4057,7 @@ npx @mui/codemod@latest v1.0.0/color-imports ```bash -npx @mui/codemod@latest v1.0.0/color-imports -- --importPath='mui/styles/colors' --targetPath='mui/colors' +npx @mui/codemod@^7.0.0 v1.0.0/color-imports -- --importPath='mui/styles/colors' --targetPath='mui/colors' ``` #### `svg-icon-imports` @@ -4075,7 +4075,7 @@ The diff should look like this: ```bash -npx @mui/codemod@latest v1.0.0/svg-icon-imports +npx @mui/codemod@^7.0.0 v1.0.0/svg-icon-imports ``` #### `menu-item-primary-text` @@ -4093,7 +4093,7 @@ The diff should look like this: ```bash -npx @mui/codemod@latest v1.0.0/menu-item-primary-text +npx @mui/codemod@^7.0.0 v1.0.0/menu-item-primary-text ``` ### v0.15.0 @@ -4117,5 +4117,5 @@ The diff should look like this: ```bash -npx @mui/codemod@latest v0.15.0/import-path +npx @mui/codemod@^7.0.0 v0.15.0/import-path ``` diff --git a/packages/mui-docs/README.md b/packages/mui-docs/README.md index 0b853f494c90aa..71f671c550f02f 100644 --- a/packages/mui-docs/README.md +++ b/packages/mui-docs/README.md @@ -9,7 +9,7 @@ Install the package in your project directory with: ```bash -npm install @mui/docs +npm install @mui/docs@^7.0.0 ``` The docs has a peer dependency on the core components. @@ -18,7 +18,7 @@ If you are not already using Material UI in your project, you can add it with: ```bash -npm install @mui/material +npm install @mui/material@^7.0.0 ``` ## Documentation diff --git a/packages/mui-icons-material/README.md b/packages/mui-icons-material/README.md index 7fa2d3f229a761..faa8934244d63b 100644 --- a/packages/mui-icons-material/README.md +++ b/packages/mui-icons-material/README.md @@ -13,15 +13,15 @@ The Material Icons package depends on Material UI—install both with the follo ```bash -npm install @mui/icons-material @mui/material @emotion/styled @emotion/react +npm install @mui/icons-material@^7.0.0 @mui/material@^7.0.0 @emotion/styled @emotion/react ``` ## Documentation -- Learn more about Material UI's [SVG Icon component](https://mui.com/material-ui/icons/#svgicon). -- Browse the available icons on the [Material Icons page](https://mui.com/material-ui/material-icons/). +- Learn more about Material UI's [SVG Icon component](https://v7.mui.com/material-ui/icons/#svgicon). +- Browse the available icons on the [Material Icons page](https://v7.mui.com/material-ui/material-icons/). ## Contributing diff --git a/packages/mui-lab/README.md b/packages/mui-lab/README.md index f499ca6bcfcdaa..8cc803239b4a25 100644 --- a/packages/mui-lab/README.md +++ b/packages/mui-lab/README.md @@ -9,7 +9,7 @@ Install the package in your project directory with: ```bash -npm install @mui/lab +npm install @mui/lab@^7.0.0-beta ``` The lab has peer dependencies on the Material Design components and on the Emotion library. @@ -18,11 +18,11 @@ If you are not already using them in your project, you can install with: ```bash -npm install @mui/material @emotion/react @emotion/styled +npm install @mui/material@^7.0.0 @emotion/react @emotion/styled ``` ## Documentation -Visit [https://mui.com/material-ui/about-the-lab/](https://mui.com/material-ui/about-the-lab/) to view the full documentation. +Visit [https://v7.mui.com/material-ui/about-the-lab/](https://v7.mui.com/material-ui/about-the-lab/) to view the full documentation. diff --git a/packages/mui-lab/src/Masonry/Masonry.d.ts b/packages/mui-lab/src/Masonry/Masonry.d.ts index b8139905b8d7cf..2a47dc1006d292 100644 --- a/packages/mui-lab/src/Masonry/Masonry.d.ts +++ b/packages/mui-lab/src/Masonry/Masonry.d.ts @@ -56,11 +56,11 @@ export interface MasonryTypeMap< * * Demos: * - * - [Masonry](https://mui.com/material-ui/react-masonry/) + * - [Masonry](https://v7.mui.com/material-ui/react-masonry/) * * API: * - * - [Masonry API](https://mui.com/material-ui/api/masonry/) + * - [Masonry API](https://v7.mui.com/material-ui/api/masonry/) */ declare const Masonry: OverridableComponent; diff --git a/packages/mui-lab/src/TabContext/TabContext.d.ts b/packages/mui-lab/src/TabContext/TabContext.d.ts index 38274ad8257053..377829b1c35561 100644 --- a/packages/mui-lab/src/TabContext/TabContext.d.ts +++ b/packages/mui-lab/src/TabContext/TabContext.d.ts @@ -19,11 +19,11 @@ export interface TabContextProps { * * Demos: * - * - [Tabs](https://mui.com/material-ui/react-tabs/) + * - [Tabs](https://v7.mui.com/material-ui/react-tabs/) * * API: * - * - [TabContext API](https://mui.com/material-ui/api/tab-context/) + * - [TabContext API](https://v7.mui.com/material-ui/api/tab-context/) */ export default function TabContext(props: TabContextProps): React.JSX.Element; export function useTabContext(): TabContextValue | null; diff --git a/packages/mui-lab/src/TabList/TabList.d.ts b/packages/mui-lab/src/TabList/TabList.d.ts index cf7a6dd2381a44..0053c549379da1 100644 --- a/packages/mui-lab/src/TabList/TabList.d.ts +++ b/packages/mui-lab/src/TabList/TabList.d.ts @@ -22,12 +22,12 @@ export interface TabListTypeMap< * * Demos: * - * - [Tabs](https://mui.com/material-ui/react-tabs/) + * - [Tabs](https://v7.mui.com/material-ui/react-tabs/) * * API: * - * - [TabList API](https://mui.com/material-ui/api/tab-list/) - * - inherits [Tabs API](https://mui.com/material-ui/api/tabs/) + * - [TabList API](https://v7.mui.com/material-ui/api/tab-list/) + * - inherits [Tabs API](https://v7.mui.com/material-ui/api/tabs/) */ declare const TabList: OverridableComponent; diff --git a/packages/mui-lab/src/TabPanel/TabPanel.d.ts b/packages/mui-lab/src/TabPanel/TabPanel.d.ts index 753861836d160d..2a4bd41c014991 100644 --- a/packages/mui-lab/src/TabPanel/TabPanel.d.ts +++ b/packages/mui-lab/src/TabPanel/TabPanel.d.ts @@ -33,10 +33,10 @@ export interface TabPanelProps extends StandardProps(function Timeline(inProps, ref) { const props = useThemeProps({ props: inProps, name: 'MuiTimeline' }); diff --git a/packages/mui-lab/src/TimelineConnector/TimelineConnector.d.ts b/packages/mui-lab/src/TimelineConnector/TimelineConnector.d.ts index 87825db13bf422..9d6bfd9867b5f9 100644 --- a/packages/mui-lab/src/TimelineConnector/TimelineConnector.d.ts +++ b/packages/mui-lab/src/TimelineConnector/TimelineConnector.d.ts @@ -25,10 +25,10 @@ export interface TimelineConnectorProps extends StandardProps< * * Demos: * - * - [Timeline](https://mui.com/material-ui/react-timeline/) + * - [Timeline](https://v7.mui.com/material-ui/react-timeline/) * * API: * - * - [TimelineConnector API](https://mui.com/material-ui/api/timeline-connector/) + * - [TimelineConnector API](https://v7.mui.com/material-ui/api/timeline-connector/) */ export default function TimelineConnector(props: TimelineConnectorProps): React.JSX.Element; diff --git a/packages/mui-lab/src/TimelineContent/TimelineContent.d.ts b/packages/mui-lab/src/TimelineContent/TimelineContent.d.ts index 27bf012a7cf535..acf9f15c700ab7 100644 --- a/packages/mui-lab/src/TimelineContent/TimelineContent.d.ts +++ b/packages/mui-lab/src/TimelineContent/TimelineContent.d.ts @@ -24,11 +24,11 @@ export interface TimelineContentProps extends StandardProps { * * Demos: * - * - [Timeline](https://mui.com/material-ui/react-timeline/) + * - [Timeline](https://v7.mui.com/material-ui/react-timeline/) * * API: * - * - [TimelineContent API](https://mui.com/material-ui/api/timeline-content/) - * - inherits [Typography API](https://mui.com/material-ui/api/typography/) + * - [TimelineContent API](https://v7.mui.com/material-ui/api/timeline-content/) + * - inherits [Typography API](https://v7.mui.com/material-ui/api/typography/) */ export default function TimelineContent(props: TimelineContentProps): React.JSX.Element; diff --git a/packages/mui-lab/src/TimelineDot/TimelineDot.d.ts b/packages/mui-lab/src/TimelineDot/TimelineDot.d.ts index 581d07039ea367..448da41cef4dc7 100644 --- a/packages/mui-lab/src/TimelineDot/TimelineDot.d.ts +++ b/packages/mui-lab/src/TimelineDot/TimelineDot.d.ts @@ -45,10 +45,10 @@ export interface TimelineDotProps extends StandardProps

- Material UI logo + Material UI logo

Material UI

@@ -15,7 +15,7 @@ Install the package in your project directory with: ```bash -npm install @mui/material @emotion/react @emotion/styled +npm install @mui/material@^7.0.0 @emotion/react @emotion/styled ``` ## Documentation diff --git a/packages/mui-material/src/Accordion/Accordion.d.ts b/packages/mui-material/src/Accordion/Accordion.d.ts index f75c327c213e05..bb030b58d9f56c 100644 --- a/packages/mui-material/src/Accordion/Accordion.d.ts +++ b/packages/mui-material/src/Accordion/Accordion.d.ts @@ -143,12 +143,12 @@ export type AccordionTypeMap< * * Demos: * - * - [Accordion](https://mui.com/material-ui/react-accordion/) + * - [Accordion](https://v7.mui.com/material-ui/react-accordion/) * * API: * - * - [Accordion API](https://mui.com/material-ui/api/accordion/) - * - inherits [Paper API](https://mui.com/material-ui/api/paper/) + * - [Accordion API](https://v7.mui.com/material-ui/api/accordion/) + * - inherits [Paper API](https://v7.mui.com/material-ui/api/paper/) */ declare const Accordion: OverridableComponent; diff --git a/packages/mui-material/src/AccordionActions/AccordionActions.d.ts b/packages/mui-material/src/AccordionActions/AccordionActions.d.ts index 22aca23b58839a..db920b8c8356db 100644 --- a/packages/mui-material/src/AccordionActions/AccordionActions.d.ts +++ b/packages/mui-material/src/AccordionActions/AccordionActions.d.ts @@ -28,10 +28,10 @@ export interface AccordionActionsProps extends StandardProps; diff --git a/packages/mui-material/src/Alert/Alert.d.ts b/packages/mui-material/src/Alert/Alert.d.ts index 8bc90388686e17..64227ec11482c4 100644 --- a/packages/mui-material/src/Alert/Alert.d.ts +++ b/packages/mui-material/src/Alert/Alert.d.ts @@ -201,11 +201,11 @@ export interface AlertOwnerState extends AlertProps {} * * Demos: * - * - [Alert](https://mui.com/material-ui/react-alert/) + * - [Alert](https://v7.mui.com/material-ui/react-alert/) * * API: * - * - [Alert API](https://mui.com/material-ui/api/alert/) - * - inherits [Paper API](https://mui.com/material-ui/api/paper/) + * - [Alert API](https://v7.mui.com/material-ui/api/alert/) + * - inherits [Paper API](https://v7.mui.com/material-ui/api/paper/) */ export default function Alert(props: AlertProps): React.JSX.Element; diff --git a/packages/mui-material/src/AlertTitle/AlertTitle.d.ts b/packages/mui-material/src/AlertTitle/AlertTitle.d.ts index 72483d2e364bef..befa75c35a96b9 100644 --- a/packages/mui-material/src/AlertTitle/AlertTitle.d.ts +++ b/packages/mui-material/src/AlertTitle/AlertTitle.d.ts @@ -23,11 +23,11 @@ export interface AlertTitleProps extends TypographyProps<'div'> { * * Demos: * - * - [Alert](https://mui.com/material-ui/react-alert/) + * - [Alert](https://v7.mui.com/material-ui/react-alert/) * * API: * - * - [AlertTitle API](https://mui.com/material-ui/api/alert-title/) - * - inherits [Typography API](https://mui.com/material-ui/api/typography/) + * - [AlertTitle API](https://v7.mui.com/material-ui/api/alert-title/) + * - inherits [Typography API](https://v7.mui.com/material-ui/api/typography/) */ export default function AlertTitle(props: AlertTitleProps): React.JSX.Element; diff --git a/packages/mui-material/src/AppBar/AppBar.d.ts b/packages/mui-material/src/AppBar/AppBar.d.ts index 9d5cad55203f08..e9ae677c565167 100644 --- a/packages/mui-material/src/AppBar/AppBar.d.ts +++ b/packages/mui-material/src/AppBar/AppBar.d.ts @@ -69,12 +69,12 @@ export type AppBarTypeMap< * * Demos: * - * - [App Bar](https://mui.com/material-ui/react-app-bar/) + * - [App Bar](https://v7.mui.com/material-ui/react-app-bar/) * * API: * - * - [AppBar API](https://mui.com/material-ui/api/app-bar/) - * - inherits [Paper API](https://mui.com/material-ui/api/paper/) + * - [AppBar API](https://v7.mui.com/material-ui/api/app-bar/) + * - inherits [Paper API](https://v7.mui.com/material-ui/api/paper/) */ declare const AppBar: OverridableComponent; diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.d.ts b/packages/mui-material/src/Autocomplete/Autocomplete.d.ts index 571286dfd771f7..a05904f5b79e22 100644 --- a/packages/mui-material/src/Autocomplete/Autocomplete.d.ts +++ b/packages/mui-material/src/Autocomplete/Autocomplete.d.ts @@ -458,11 +458,11 @@ export interface AutocompleteProps< * * Demos: * - * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/) + * - [Autocomplete](https://v7.mui.com/material-ui/react-autocomplete/) * * API: * - * - [Autocomplete API](https://mui.com/material-ui/api/autocomplete/) + * - [Autocomplete API](https://v7.mui.com/material-ui/api/autocomplete/) */ export default function Autocomplete< Value, diff --git a/packages/mui-material/src/Avatar/Avatar.d.ts b/packages/mui-material/src/Avatar/Avatar.d.ts index cf65d765bc7286..d94218e3292c4a 100644 --- a/packages/mui-material/src/Avatar/Avatar.d.ts +++ b/packages/mui-material/src/Avatar/Avatar.d.ts @@ -119,11 +119,11 @@ export interface AvatarTypeMap< * * Demos: * - * - [Avatar](https://mui.com/material-ui/react-avatar/) + * - [Avatar](https://v7.mui.com/material-ui/react-avatar/) * * API: * - * - [Avatar API](https://mui.com/material-ui/api/avatar/) + * - [Avatar API](https://v7.mui.com/material-ui/api/avatar/) */ declare const Avatar: OverridableComponent; diff --git a/packages/mui-material/src/AvatarGroup/AvatarGroup.d.ts b/packages/mui-material/src/AvatarGroup/AvatarGroup.d.ts index 96a1d8b252215c..49d9e281d630b8 100644 --- a/packages/mui-material/src/AvatarGroup/AvatarGroup.d.ts +++ b/packages/mui-material/src/AvatarGroup/AvatarGroup.d.ts @@ -109,11 +109,11 @@ export interface AvatarGroupTypeMap< * * Demos: * - * - [Avatar](https://mui.com/material-ui/react-avatar/) + * - [Avatar](https://v7.mui.com/material-ui/react-avatar/) * * API: * - * - [AvatarGroup API](https://mui.com/material-ui/api/avatar-group/) + * - [AvatarGroup API](https://v7.mui.com/material-ui/api/avatar-group/) */ declare const AvatarGroup: OverridableComponent; diff --git a/packages/mui-material/src/Backdrop/Backdrop.d.ts b/packages/mui-material/src/Backdrop/Backdrop.d.ts index 87b892b4ce4676..afa8ab0cf62f29 100644 --- a/packages/mui-material/src/Backdrop/Backdrop.d.ts +++ b/packages/mui-material/src/Backdrop/Backdrop.d.ts @@ -131,12 +131,12 @@ export declare const BackdropRoot: React.FC; * * Demos: * - * - [Backdrop](https://mui.com/material-ui/react-backdrop/) + * - [Backdrop](https://v7.mui.com/material-ui/react-backdrop/) * * API: * - * - [Backdrop API](https://mui.com/material-ui/api/backdrop/) - * - inherits [Fade API](https://mui.com/material-ui/api/fade/) + * - [Backdrop API](https://v7.mui.com/material-ui/api/backdrop/) + * - inherits [Fade API](https://v7.mui.com/material-ui/api/fade/) */ declare const Backdrop: OverridableComponent; diff --git a/packages/mui-material/src/Badge/Badge.d.ts b/packages/mui-material/src/Badge/Badge.d.ts index 7321008445c40d..afbc9f9f13e30e 100644 --- a/packages/mui-material/src/Badge/Badge.d.ts +++ b/packages/mui-material/src/Badge/Badge.d.ts @@ -170,12 +170,12 @@ export declare const BadgeMark: React.FC; * * Demos: * - * - [Avatar](https://mui.com/material-ui/react-avatar/) - * - [Badge](https://mui.com/material-ui/react-badge/) + * - [Avatar](https://v7.mui.com/material-ui/react-avatar/) + * - [Badge](https://v7.mui.com/material-ui/react-badge/) * * API: * - * - [Badge API](https://mui.com/material-ui/api/badge/) + * - [Badge API](https://v7.mui.com/material-ui/api/badge/) */ declare const Badge: OverridableComponent; diff --git a/packages/mui-material/src/BottomNavigation/BottomNavigation.d.ts b/packages/mui-material/src/BottomNavigation/BottomNavigation.d.ts index a9f1c93aad3e1e..8be73cb05b2f6e 100644 --- a/packages/mui-material/src/BottomNavigation/BottomNavigation.d.ts +++ b/packages/mui-material/src/BottomNavigation/BottomNavigation.d.ts @@ -47,11 +47,11 @@ export interface BottomNavigationTypeMap< * * Demos: * - * - [Bottom Navigation](https://mui.com/material-ui/react-bottom-navigation/) + * - [Bottom Navigation](https://v7.mui.com/material-ui/react-bottom-navigation/) * * API: * - * - [BottomNavigation API](https://mui.com/material-ui/api/bottom-navigation/) + * - [BottomNavigation API](https://v7.mui.com/material-ui/api/bottom-navigation/) */ declare const BottomNavigation: OverridableComponent; diff --git a/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.d.ts b/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.d.ts index c8b7c70487a066..aa5ce8b09b47c5 100644 --- a/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.d.ts +++ b/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.d.ts @@ -88,12 +88,12 @@ export type BottomNavigationActionTypeMap< * * Demos: * - * - [Bottom Navigation](https://mui.com/material-ui/react-bottom-navigation/) + * - [Bottom Navigation](https://v7.mui.com/material-ui/react-bottom-navigation/) * * API: * - * - [BottomNavigationAction API](https://mui.com/material-ui/api/bottom-navigation-action/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [BottomNavigationAction API](https://v7.mui.com/material-ui/api/bottom-navigation-action/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const BottomNavigationAction: ExtendButtonBase< BottomNavigationActionTypeMap<{}, ButtonBaseTypeMap['defaultComponent']> diff --git a/packages/mui-material/src/Box/Box.d.ts b/packages/mui-material/src/Box/Box.d.ts index 4cc369573f3514..b1f9900492e9cf 100644 --- a/packages/mui-material/src/Box/Box.d.ts +++ b/packages/mui-material/src/Box/Box.d.ts @@ -7,12 +7,12 @@ import { Theme as MaterialTheme } from '../styles'; * * Demos: * - * - [Box](https://mui.com/material-ui/react-box/) - * - [Menubar](https://mui.com/material-ui/react-menubar/) + * - [Box](https://v7.mui.com/material-ui/react-box/) + * - [Menubar](https://v7.mui.com/material-ui/react-menubar/) * * API: * - * - [Box API](https://mui.com/material-ui/api/box/) + * - [Box API](https://v7.mui.com/material-ui/api/box/) */ declare const Box: OverridableComponent>; diff --git a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts index 75c5cd6a921276..65c3e092563f28 100644 --- a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts +++ b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts @@ -97,12 +97,12 @@ export interface BreadcrumbsTypeMap< * * Demos: * - * - [Breadcrumbs](https://mui.com/material-ui/react-breadcrumbs/) + * - [Breadcrumbs](https://v7.mui.com/material-ui/react-breadcrumbs/) * * API: * - * - [Breadcrumbs API](https://mui.com/material-ui/api/breadcrumbs/) - * - inherits [Typography API](https://mui.com/material-ui/api/typography/) + * - [Breadcrumbs API](https://v7.mui.com/material-ui/api/breadcrumbs/) + * - inherits [Typography API](https://v7.mui.com/material-ui/api/typography/) */ declare const Breadcrumbs: OverridableComponent; diff --git a/packages/mui-material/src/Button/Button.d.ts b/packages/mui-material/src/Button/Button.d.ts index 94c99fa01f26aa..1a5890e06bca4c 100644 --- a/packages/mui-material/src/Button/Button.d.ts +++ b/packages/mui-material/src/Button/Button.d.ts @@ -133,15 +133,15 @@ export type ExtendButton = (( * * Demos: * - * - [Button Group](https://mui.com/material-ui/react-button-group/) - * - [Button](https://mui.com/material-ui/react-button/) - * - [Menubar](https://mui.com/material-ui/react-menubar/) - * - [Number Field](https://mui.com/material-ui/react-number-field/) + * - [Button Group](https://v7.mui.com/material-ui/react-button-group/) + * - [Button](https://v7.mui.com/material-ui/react-button/) + * - [Menubar](https://v7.mui.com/material-ui/react-menubar/) + * - [Number Field](https://v7.mui.com/material-ui/react-number-field/) * * API: * - * - [Button API](https://mui.com/material-ui/api/button/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [Button API](https://v7.mui.com/material-ui/api/button/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const Button: ExtendButtonBase; diff --git a/packages/mui-material/src/ButtonBase/ButtonBase.d.ts b/packages/mui-material/src/ButtonBase/ButtonBase.d.ts index 6bf0b4088d3173..0290339aefc319 100644 --- a/packages/mui-material/src/ButtonBase/ButtonBase.d.ts +++ b/packages/mui-material/src/ButtonBase/ButtonBase.d.ts @@ -117,11 +117,11 @@ export type ExtendButtonBase = (( * * Demos: * - * - [Button](https://mui.com/material-ui/react-button/) + * - [Button](https://v7.mui.com/material-ui/react-button/) * * API: * - * - [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const ButtonBase: ExtendButtonBase; diff --git a/packages/mui-material/src/ButtonGroup/ButtonGroup.d.ts b/packages/mui-material/src/ButtonGroup/ButtonGroup.d.ts index b6156013295f5f..9cdd70b5e2767f 100644 --- a/packages/mui-material/src/ButtonGroup/ButtonGroup.d.ts +++ b/packages/mui-material/src/ButtonGroup/ButtonGroup.d.ts @@ -93,11 +93,11 @@ export interface ButtonGroupTypeMap< * * Demos: * - * - [Button Group](https://mui.com/material-ui/react-button-group/) + * - [Button Group](https://v7.mui.com/material-ui/react-button-group/) * * API: * - * - [ButtonGroup API](https://mui.com/material-ui/api/button-group/) + * - [ButtonGroup API](https://v7.mui.com/material-ui/api/button-group/) */ declare const ButtonGroup: OverridableComponent; diff --git a/packages/mui-material/src/Card/Card.d.ts b/packages/mui-material/src/Card/Card.d.ts index ed93ec5e18c976..9c6b681c675d09 100644 --- a/packages/mui-material/src/Card/Card.d.ts +++ b/packages/mui-material/src/Card/Card.d.ts @@ -37,12 +37,12 @@ export interface CardTypeMap< * * Demos: * - * - [Card](https://mui.com/material-ui/react-card/) + * - [Card](https://v7.mui.com/material-ui/react-card/) * * API: * - * - [Card API](https://mui.com/material-ui/api/card/) - * - inherits [Paper API](https://mui.com/material-ui/api/paper/) + * - [Card API](https://v7.mui.com/material-ui/api/card/) + * - inherits [Paper API](https://v7.mui.com/material-ui/api/paper/) */ declare const Card: OverridableComponent; diff --git a/packages/mui-material/src/CardActionArea/CardActionArea.d.ts b/packages/mui-material/src/CardActionArea/CardActionArea.d.ts index db7613b43503a8..2ef949fd65071b 100644 --- a/packages/mui-material/src/CardActionArea/CardActionArea.d.ts +++ b/packages/mui-material/src/CardActionArea/CardActionArea.d.ts @@ -69,12 +69,12 @@ export type CardActionAreaTypeMap< * * Demos: * - * - [Card](https://mui.com/material-ui/react-card/) + * - [Card](https://v7.mui.com/material-ui/react-card/) * * API: * - * - [CardActionArea API](https://mui.com/material-ui/api/card-action-area/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [CardActionArea API](https://v7.mui.com/material-ui/api/card-action-area/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const CardActionArea: ExtendButtonBase< CardActionAreaTypeMap<{}, ButtonBaseTypeMap['defaultComponent']> diff --git a/packages/mui-material/src/CardActions/CardActions.d.ts b/packages/mui-material/src/CardActions/CardActions.d.ts index b8aa8218884048..bc5fbf35b240bd 100644 --- a/packages/mui-material/src/CardActions/CardActions.d.ts +++ b/packages/mui-material/src/CardActions/CardActions.d.ts @@ -28,10 +28,10 @@ export interface CardActionsProps extends StandardProps; diff --git a/packages/mui-material/src/CardHeader/CardHeader.d.ts b/packages/mui-material/src/CardHeader/CardHeader.d.ts index a7beee02bbf995..8483f11967736a 100644 --- a/packages/mui-material/src/CardHeader/CardHeader.d.ts +++ b/packages/mui-material/src/CardHeader/CardHeader.d.ts @@ -178,11 +178,11 @@ export interface CardHeaderTypeMap< * * Demos: * - * - [Card](https://mui.com/material-ui/react-card/) + * - [Card](https://v7.mui.com/material-ui/react-card/) * * API: * - * - [CardHeader API](https://mui.com/material-ui/api/card-header/) + * - [CardHeader API](https://v7.mui.com/material-ui/api/card-header/) */ declare const CardHeader: OverridableCardHeader; diff --git a/packages/mui-material/src/CardMedia/CardMedia.d.ts b/packages/mui-material/src/CardMedia/CardMedia.d.ts index d6ffa37209fda3..68804d52087104 100644 --- a/packages/mui-material/src/CardMedia/CardMedia.d.ts +++ b/packages/mui-material/src/CardMedia/CardMedia.d.ts @@ -40,11 +40,11 @@ export interface CardMediaTypeMap>; diff --git a/packages/mui-material/src/Checkbox/Checkbox.d.ts b/packages/mui-material/src/Checkbox/Checkbox.d.ts index d743a31f361021..5264124f333073 100644 --- a/packages/mui-material/src/Checkbox/Checkbox.d.ts +++ b/packages/mui-material/src/Checkbox/Checkbox.d.ts @@ -149,12 +149,12 @@ export interface CheckboxOwnerState extends Omit; diff --git a/packages/mui-material/src/CircularProgress/CircularProgress.d.ts b/packages/mui-material/src/CircularProgress/CircularProgress.d.ts index ccfaacc659102b..d27ac379fe00f4 100644 --- a/packages/mui-material/src/CircularProgress/CircularProgress.d.ts +++ b/packages/mui-material/src/CircularProgress/CircularProgress.d.ts @@ -81,10 +81,10 @@ export interface CircularProgressProps extends StandardProps< * * Demos: * - * - [Progress](https://mui.com/material-ui/react-progress/) + * - [Progress](https://v7.mui.com/material-ui/react-progress/) * * API: * - * - [CircularProgress API](https://mui.com/material-ui/api/circular-progress/) + * - [CircularProgress API](https://v7.mui.com/material-ui/api/circular-progress/) */ export default function CircularProgress(props: CircularProgressProps): React.JSX.Element; diff --git a/packages/mui-material/src/ClickAwayListener/ClickAwayListener.tsx b/packages/mui-material/src/ClickAwayListener/ClickAwayListener.tsx index 05835970c20b03..7cbf439f739dd9 100644 --- a/packages/mui-material/src/ClickAwayListener/ClickAwayListener.tsx +++ b/packages/mui-material/src/ClickAwayListener/ClickAwayListener.tsx @@ -63,12 +63,12 @@ export interface ClickAwayListenerProps { * * Demos: * - * - [Click-Away Listener](https://mui.com/material-ui/react-click-away-listener/) - * - [Menu](https://mui.com/material-ui/react-menu/) + * - [Click-Away Listener](https://v7.mui.com/material-ui/react-click-away-listener/) + * - [Menu](https://v7.mui.com/material-ui/react-menu/) * * API: * - * - [ClickAwayListener API](https://mui.com/material-ui/api/click-away-listener/) + * - [ClickAwayListener API](https://v7.mui.com/material-ui/api/click-away-listener/) */ function ClickAwayListener(props: ClickAwayListenerProps): React.JSX.Element { const { diff --git a/packages/mui-material/src/Collapse/Collapse.d.ts b/packages/mui-material/src/Collapse/Collapse.d.ts index 98e31030a82b89..1f1dab63847967 100644 --- a/packages/mui-material/src/Collapse/Collapse.d.ts +++ b/packages/mui-material/src/Collapse/Collapse.d.ts @@ -95,18 +95,18 @@ export interface CollapseOwnerState extends CollapseProps { /** * The Collapse transition is used by the - * [Vertical Stepper](https://mui.com/material-ui/react-stepper/#vertical-stepper) StepContent component. + * [Vertical Stepper](https://v7.mui.com/material-ui/react-stepper/#vertical-stepper) StepContent component. * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally. * * Demos: * - * - [Card](https://mui.com/material-ui/react-card/) - * - [Lists](https://mui.com/material-ui/react-list/) - * - [Transitions](https://mui.com/material-ui/transitions/) + * - [Card](https://v7.mui.com/material-ui/react-card/) + * - [Lists](https://v7.mui.com/material-ui/react-list/) + * - [Transitions](https://v7.mui.com/material-ui/transitions/) * * API: * - * - [Collapse API](https://mui.com/material-ui/api/collapse/) + * - [Collapse API](https://v7.mui.com/material-ui/api/collapse/) * - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props) */ diff --git a/packages/mui-material/src/Container/Container.d.ts b/packages/mui-material/src/Container/Container.d.ts index a99dceddc00f70..de1055881e07da 100644 --- a/packages/mui-material/src/Container/Container.d.ts +++ b/packages/mui-material/src/Container/Container.d.ts @@ -47,11 +47,11 @@ export interface ContainerTypeMap< * * Demos: * - * - [Container](https://mui.com/material-ui/react-container/) + * - [Container](https://v7.mui.com/material-ui/react-container/) * * API: * - * - [Container API](https://mui.com/material-ui/api/container/) + * - [Container API](https://v7.mui.com/material-ui/api/container/) */ declare const Container: OverridableComponent; diff --git a/packages/mui-material/src/CssBaseline/CssBaseline.d.ts b/packages/mui-material/src/CssBaseline/CssBaseline.d.ts index ecf48b228eb79b..33a8b2bae46c8d 100644 --- a/packages/mui-material/src/CssBaseline/CssBaseline.d.ts +++ b/packages/mui-material/src/CssBaseline/CssBaseline.d.ts @@ -20,10 +20,10 @@ export interface CssBaselineProps extends StyledComponentProps { * * Demos: * - * - [CSS Baseline](https://mui.com/material-ui/react-css-baseline/) + * - [CSS Baseline](https://v7.mui.com/material-ui/react-css-baseline/) * * API: * - * - [CssBaseline API](https://mui.com/material-ui/api/css-baseline/) + * - [CssBaseline API](https://v7.mui.com/material-ui/api/css-baseline/) */ export default function CssBaseline(props: CssBaselineProps): React.JSX.Element; diff --git a/packages/mui-material/src/Dialog/Dialog.d.ts b/packages/mui-material/src/Dialog/Dialog.d.ts index dcfc6242b1bf17..e3d4cd28775301 100644 --- a/packages/mui-material/src/Dialog/Dialog.d.ts +++ b/packages/mui-material/src/Dialog/Dialog.d.ts @@ -203,12 +203,12 @@ export interface DialogProps * * Demos: * - * - [Dialog](https://mui.com/material-ui/react-dialog/) + * - [Dialog](https://v7.mui.com/material-ui/react-dialog/) * * API: * - * - [Dialog API](https://mui.com/material-ui/api/dialog/) - * - inherits [Modal API](https://mui.com/material-ui/api/modal/) + * - [Dialog API](https://v7.mui.com/material-ui/api/dialog/) + * - inherits [Modal API](https://v7.mui.com/material-ui/api/modal/) */ export default function Dialog(props: DialogProps): React.JSX.Element; diff --git a/packages/mui-material/src/DialogActions/DialogActions.d.ts b/packages/mui-material/src/DialogActions/DialogActions.d.ts index 182c5f953013d8..0e3ea604db6a52 100644 --- a/packages/mui-material/src/DialogActions/DialogActions.d.ts +++ b/packages/mui-material/src/DialogActions/DialogActions.d.ts @@ -28,10 +28,10 @@ export interface DialogActionsProps extends StandardProps; diff --git a/packages/mui-material/src/DialogTitle/DialogTitle.d.ts b/packages/mui-material/src/DialogTitle/DialogTitle.d.ts index eba96e06337ee4..b0a7c3d3056c61 100644 --- a/packages/mui-material/src/DialogTitle/DialogTitle.d.ts +++ b/packages/mui-material/src/DialogTitle/DialogTitle.d.ts @@ -32,12 +32,12 @@ export interface DialogTitleTypeMap< * * Demos: * - * - [Dialog](https://mui.com/material-ui/react-dialog/) + * - [Dialog](https://v7.mui.com/material-ui/react-dialog/) * * API: * - * - [DialogTitle API](https://mui.com/material-ui/api/dialog-title/) - * - inherits [Typography API](https://mui.com/material-ui/api/typography/) + * - [DialogTitle API](https://v7.mui.com/material-ui/api/dialog-title/) + * - inherits [Typography API](https://v7.mui.com/material-ui/api/typography/) */ declare const DialogTitle: OverridableComponent; diff --git a/packages/mui-material/src/Divider/Divider.d.ts b/packages/mui-material/src/Divider/Divider.d.ts index 5017e9d9f19103..837dca3650505e 100644 --- a/packages/mui-material/src/Divider/Divider.d.ts +++ b/packages/mui-material/src/Divider/Divider.d.ts @@ -68,13 +68,13 @@ export interface DividerTypeMap< * * Demos: * - * - [Divider](https://mui.com/material-ui/react-divider/) - * - [Lists](https://mui.com/material-ui/react-list/) - * - [Menubar](https://mui.com/material-ui/react-menubar/) + * - [Divider](https://v7.mui.com/material-ui/react-divider/) + * - [Lists](https://v7.mui.com/material-ui/react-list/) + * - [Menubar](https://v7.mui.com/material-ui/react-menubar/) * * API: * - * - [Divider API](https://mui.com/material-ui/api/divider/) + * - [Divider API](https://v7.mui.com/material-ui/api/divider/) */ declare const Divider: OverridableComponent; diff --git a/packages/mui-material/src/Drawer/Drawer.d.ts b/packages/mui-material/src/Drawer/Drawer.d.ts index 429f4c0fb3d61f..9bdab1c73060cb 100644 --- a/packages/mui-material/src/Drawer/Drawer.d.ts +++ b/packages/mui-material/src/Drawer/Drawer.d.ts @@ -167,15 +167,15 @@ export interface DrawerProps export interface DrawerOwnerState extends Omit {} /** - * The props of the [Modal](https://mui.com/material-ui/api/modal/) component are available + * The props of the [Modal](https://v7.mui.com/material-ui/api/modal/) component are available * when `variant="temporary"` is set. * * Demos: * - * - [Drawer](https://mui.com/material-ui/react-drawer/) + * - [Drawer](https://v7.mui.com/material-ui/react-drawer/) * * API: * - * - [Drawer API](https://mui.com/material-ui/api/drawer/) + * - [Drawer API](https://v7.mui.com/material-ui/api/drawer/) */ export default function Drawer(props: DrawerProps): React.JSX.Element; diff --git a/packages/mui-material/src/Fab/Fab.d.ts b/packages/mui-material/src/Fab/Fab.d.ts index 93df892d1369fd..46b0baf3ec3527 100644 --- a/packages/mui-material/src/Fab/Fab.d.ts +++ b/packages/mui-material/src/Fab/Fab.d.ts @@ -81,12 +81,12 @@ export type FabTypeMap< * * Demos: * - * - [Floating Action Button](https://mui.com/material-ui/react-floating-action-button/) + * - [Floating Action Button](https://v7.mui.com/material-ui/react-floating-action-button/) * * API: * - * - [Fab API](https://mui.com/material-ui/api/fab/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [Fab API](https://v7.mui.com/material-ui/api/fab/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const Fab: ExtendButtonBase; diff --git a/packages/mui-material/src/Fade/Fade.d.ts b/packages/mui-material/src/Fade/Fade.d.ts index b06c8091dcfdb3..720b455c30582e 100644 --- a/packages/mui-material/src/Fade/Fade.d.ts +++ b/packages/mui-material/src/Fade/Fade.d.ts @@ -34,16 +34,16 @@ export interface FadeProps extends Omit { } /** - * The Fade transition is used by the [Modal](https://mui.com/material-ui/react-modal/) component. + * The Fade transition is used by the [Modal](https://v7.mui.com/material-ui/react-modal/) component. * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally. * * Demos: * - * - [Transitions](https://mui.com/material-ui/transitions/) + * - [Transitions](https://v7.mui.com/material-ui/transitions/) * * API: * - * - [Fade API](https://mui.com/material-ui/api/fade/) + * - [Fade API](https://v7.mui.com/material-ui/api/fade/) * - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props) */ export default function Fade(props: FadeProps): React.JSX.Element; diff --git a/packages/mui-material/src/FilledInput/FilledInput.d.ts b/packages/mui-material/src/FilledInput/FilledInput.d.ts index 48ff8729dfeeeb..6d18ac797ca3c8 100644 --- a/packages/mui-material/src/FilledInput/FilledInput.d.ts +++ b/packages/mui-material/src/FilledInput/FilledInput.d.ts @@ -31,12 +31,12 @@ export interface FilledInputProps extends StandardProps { * * Demos: * - * - [Text Field](https://mui.com/material-ui/react-text-field/) + * - [Text Field](https://v7.mui.com/material-ui/react-text-field/) * * API: * - * - [FilledInput API](https://mui.com/material-ui/api/filled-input/) - * - inherits [InputBase API](https://mui.com/material-ui/api/input-base/) + * - [FilledInput API](https://v7.mui.com/material-ui/api/filled-input/) + * - inherits [InputBase API](https://v7.mui.com/material-ui/api/input-base/) */ declare const FilledInput: ((props: FilledInputProps) => React.JSX.Element) & { muiName: string }; diff --git a/packages/mui-material/src/FormControl/FormControl.d.ts b/packages/mui-material/src/FormControl/FormControl.d.ts index dd24c926ed539f..8f6b900c78c6f4 100644 --- a/packages/mui-material/src/FormControl/FormControl.d.ts +++ b/packages/mui-material/src/FormControl/FormControl.d.ts @@ -100,7 +100,7 @@ export interface FormControlTypeMap< * * Input * * InputLabel * - * You can find one composition example below and more going to [the demos](https://mui.com/material-ui/react-text-field/#components). + * You can find one composition example below and more going to [the demos](https://v7.mui.com/material-ui/react-text-field/#components). * * ```jsx * @@ -115,15 +115,15 @@ export interface FormControlTypeMap< * * Demos: * - * - [Checkbox](https://mui.com/material-ui/react-checkbox/) - * - [Number Field](https://mui.com/material-ui/react-number-field/) - * - [Radio Group](https://mui.com/material-ui/react-radio-button/) - * - [Switch](https://mui.com/material-ui/react-switch/) - * - [Text Field](https://mui.com/material-ui/react-text-field/) + * - [Checkbox](https://v7.mui.com/material-ui/react-checkbox/) + * - [Number Field](https://v7.mui.com/material-ui/react-number-field/) + * - [Radio Group](https://v7.mui.com/material-ui/react-radio-button/) + * - [Switch](https://v7.mui.com/material-ui/react-switch/) + * - [Text Field](https://v7.mui.com/material-ui/react-text-field/) * * API: * - * - [FormControl API](https://mui.com/material-ui/api/form-control/) + * - [FormControl API](https://v7.mui.com/material-ui/api/form-control/) */ declare const FormControl: OverridableComponent; diff --git a/packages/mui-material/src/FormControlLabel/FormControlLabel.d.ts b/packages/mui-material/src/FormControlLabel/FormControlLabel.d.ts index 92cf941be13daf..c6f09b1e9c2237 100644 --- a/packages/mui-material/src/FormControlLabel/FormControlLabel.d.ts +++ b/packages/mui-material/src/FormControlLabel/FormControlLabel.d.ts @@ -102,12 +102,12 @@ export interface FormControlLabelProps * * Demos: * - * - [Checkbox](https://mui.com/material-ui/react-checkbox/) - * - [Radio Group](https://mui.com/material-ui/react-radio-button/) - * - [Switch](https://mui.com/material-ui/react-switch/) + * - [Checkbox](https://v7.mui.com/material-ui/react-checkbox/) + * - [Radio Group](https://v7.mui.com/material-ui/react-radio-button/) + * - [Switch](https://v7.mui.com/material-ui/react-switch/) * * API: * - * - [FormControlLabel API](https://mui.com/material-ui/api/form-control-label/) + * - [FormControlLabel API](https://v7.mui.com/material-ui/api/form-control-label/) */ export default function FormControlLabel(props: FormControlLabelProps): React.JSX.Element; diff --git a/packages/mui-material/src/FormGroup/FormGroup.d.ts b/packages/mui-material/src/FormGroup/FormGroup.d.ts index 004dff704999ec..ee8f3e801a05d5 100644 --- a/packages/mui-material/src/FormGroup/FormGroup.d.ts +++ b/packages/mui-material/src/FormGroup/FormGroup.d.ts @@ -31,11 +31,11 @@ export interface FormGroupProps extends StandardProps; diff --git a/packages/mui-material/src/FormLabel/FormLabel.d.ts b/packages/mui-material/src/FormLabel/FormLabel.d.ts index d72a3fd8a6da38..0297062617525f 100644 --- a/packages/mui-material/src/FormLabel/FormLabel.d.ts +++ b/packages/mui-material/src/FormLabel/FormLabel.d.ts @@ -70,14 +70,14 @@ export interface FormLabelTypeMap< * * Demos: * - * - [Checkbox](https://mui.com/material-ui/react-checkbox/) - * - [Number Field](https://mui.com/material-ui/react-number-field/) - * - [Radio Group](https://mui.com/material-ui/react-radio-button/) - * - [Switch](https://mui.com/material-ui/react-switch/) + * - [Checkbox](https://v7.mui.com/material-ui/react-checkbox/) + * - [Number Field](https://v7.mui.com/material-ui/react-number-field/) + * - [Radio Group](https://v7.mui.com/material-ui/react-radio-button/) + * - [Switch](https://v7.mui.com/material-ui/react-switch/) * * API: * - * - [FormLabel API](https://mui.com/material-ui/api/form-label/) + * - [FormLabel API](https://v7.mui.com/material-ui/api/form-label/) */ declare const FormLabel: OverridableComponent; diff --git a/packages/mui-material/src/GlobalStyles/GlobalStyles.d.ts b/packages/mui-material/src/GlobalStyles/GlobalStyles.d.ts index a5f9b45d7ab4fc..ecc9943e21b26d 100644 --- a/packages/mui-material/src/GlobalStyles/GlobalStyles.d.ts +++ b/packages/mui-material/src/GlobalStyles/GlobalStyles.d.ts @@ -12,10 +12,10 @@ export interface GlobalStylesProps { * * Demos: * - * - [How to customize](https://mui.com/material-ui/customization/how-to-customize/) + * - [How to customize](https://v7.mui.com/material-ui/customization/how-to-customize/) * * API: * - * - [GlobalStyles API](https://mui.com/material-ui/api/global-styles/) + * - [GlobalStyles API](https://v7.mui.com/material-ui/api/global-styles/) */ export default function GlobalStyles(props: GlobalStylesProps): React.ReactElement; diff --git a/packages/mui-material/src/Grid/Grid.tsx b/packages/mui-material/src/Grid/Grid.tsx index c9a96598650a08..2ef9497bfd5e83 100644 --- a/packages/mui-material/src/Grid/Grid.tsx +++ b/packages/mui-material/src/Grid/Grid.tsx @@ -118,11 +118,11 @@ export type GridProps< * * Demos: * - * - [Grid](https://mui.com/material-ui/react-grid/) + * - [Grid](https://v7.mui.com/material-ui/react-grid/) * * API: * - * - [Grid API](https://mui.com/material-ui/api/grid/) + * - [Grid API](https://v7.mui.com/material-ui/api/grid/) */ const Grid = createGrid({ createStyledComponent: styled('div', { diff --git a/packages/mui-material/src/GridLegacy/GridLegacy.d.ts b/packages/mui-material/src/GridLegacy/GridLegacy.d.ts index 8132e80d3ab5a7..8487c4a114d4d7 100644 --- a/packages/mui-material/src/GridLegacy/GridLegacy.d.ts +++ b/packages/mui-material/src/GridLegacy/GridLegacy.d.ts @@ -164,11 +164,11 @@ export interface GridLegacyTypeMap< * * Demos: * - * - [GridLegacy](https://mui.com/material-ui/react-grid-legacy/) + * - [GridLegacy](https://v7.mui.com/material-ui/react-grid-legacy/) * * API: * - * - [GridLegacy API](https://mui.com/material-ui/api/grid-legacy/) + * - [GridLegacy API](https://v7.mui.com/material-ui/api/grid-legacy/) * * @deprecated Use the [`Grid`](https://mui.com/material-ui/react-grid/) component instead. */ diff --git a/packages/mui-material/src/Grow/Grow.d.ts b/packages/mui-material/src/Grow/Grow.d.ts index ab29a22b91d1ee..f19bfcf41456f6 100644 --- a/packages/mui-material/src/Grow/Grow.d.ts +++ b/packages/mui-material/src/Grow/Grow.d.ts @@ -33,18 +33,18 @@ export interface GrowProps extends Omit { } /** - * The Grow transition is used by the [Tooltip](https://mui.com/material-ui/react-tooltip/) and - * [Popover](https://mui.com/material-ui/react-popover/) components. + * The Grow transition is used by the [Tooltip](https://v7.mui.com/material-ui/react-tooltip/) and + * [Popover](https://v7.mui.com/material-ui/react-popover/) components. * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally. * * Demos: * - * - [Popover](https://mui.com/material-ui/react-popover/) - * - [Transitions](https://mui.com/material-ui/transitions/) + * - [Popover](https://v7.mui.com/material-ui/react-popover/) + * - [Transitions](https://v7.mui.com/material-ui/transitions/) * * API: * - * - [Grow API](https://mui.com/material-ui/api/grow/) + * - [Grow API](https://v7.mui.com/material-ui/api/grow/) * - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props) */ export default function Grow(props: GrowProps): React.JSX.Element; diff --git a/packages/mui-material/src/Icon/Icon.d.ts b/packages/mui-material/src/Icon/Icon.d.ts index 22f7d3fc01b561..b1f2169895260b 100644 --- a/packages/mui-material/src/Icon/Icon.d.ts +++ b/packages/mui-material/src/Icon/Icon.d.ts @@ -68,12 +68,12 @@ export interface IconTypeMap< * * Demos: * - * - [Icons](https://mui.com/material-ui/icons/) - * - [Material Icons](https://mui.com/material-ui/material-icons/) + * - [Icons](https://v7.mui.com/material-ui/icons/) + * - [Material Icons](https://v7.mui.com/material-ui/material-icons/) * * API: * - * - [Icon API](https://mui.com/material-ui/api/icon/) + * - [Icon API](https://v7.mui.com/material-ui/api/icon/) */ declare const Icon: OverridableComponent & { muiName: string }; diff --git a/packages/mui-material/src/IconButton/IconButton.d.ts b/packages/mui-material/src/IconButton/IconButton.d.ts index 8d2733ab63abd5..fdc23fbf552696 100644 --- a/packages/mui-material/src/IconButton/IconButton.d.ts +++ b/packages/mui-material/src/IconButton/IconButton.d.ts @@ -85,18 +85,18 @@ export type IconButtonTypeMap< }>; /** - * Refer to the [Icons](https://mui.com/material-ui/icons/) section of the documentation + * Refer to the [Icons](https://v7.mui.com/material-ui/icons/) section of the documentation * regarding the available icon options. * * Demos: * - * - [Button](https://mui.com/material-ui/react-button/) - * - [Number Field](https://mui.com/material-ui/react-number-field/) + * - [Button](https://v7.mui.com/material-ui/react-button/) + * - [Number Field](https://v7.mui.com/material-ui/react-number-field/) * * API: * - * - [IconButton API](https://mui.com/material-ui/api/icon-button/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [IconButton API](https://v7.mui.com/material-ui/api/icon-button/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const IconButton: ExtendButtonBase; diff --git a/packages/mui-material/src/ImageList/ImageList.d.ts b/packages/mui-material/src/ImageList/ImageList.d.ts index bd982d046decba..173f3a25815a7c 100644 --- a/packages/mui-material/src/ImageList/ImageList.d.ts +++ b/packages/mui-material/src/ImageList/ImageList.d.ts @@ -58,11 +58,11 @@ export interface ImageListTypeMap< * * Demos: * - * - [Image List](https://mui.com/material-ui/react-image-list/) + * - [Image List](https://v7.mui.com/material-ui/react-image-list/) * * API: * - * - [ImageList API](https://mui.com/material-ui/api/image-list/) + * - [ImageList API](https://v7.mui.com/material-ui/api/image-list/) */ declare const ImageList: OverridableComponent; diff --git a/packages/mui-material/src/ImageListItem/ImageListItem.d.ts b/packages/mui-material/src/ImageListItem/ImageListItem.d.ts index 198b9805a32f72..575790cc90d03f 100644 --- a/packages/mui-material/src/ImageListItem/ImageListItem.d.ts +++ b/packages/mui-material/src/ImageListItem/ImageListItem.d.ts @@ -40,11 +40,11 @@ export interface ImageListItemTypeMap< * * Demos: * - * - [Image List](https://mui.com/material-ui/react-image-list/) + * - [Image List](https://v7.mui.com/material-ui/react-image-list/) * * API: * - * - [ImageListItem API](https://mui.com/material-ui/api/image-list-item/) + * - [ImageListItem API](https://v7.mui.com/material-ui/api/image-list-item/) */ declare const ImageListItem: OverridableComponent; diff --git a/packages/mui-material/src/ImageListItemBar/ImageListItemBar.d.ts b/packages/mui-material/src/ImageListItemBar/ImageListItemBar.d.ts index fcba9629291d79..4a970279ca4c71 100644 --- a/packages/mui-material/src/ImageListItemBar/ImageListItemBar.d.ts +++ b/packages/mui-material/src/ImageListItemBar/ImageListItemBar.d.ts @@ -45,10 +45,10 @@ export interface ImageListItemBarProps extends StandardProps< * * Demos: * - * - [Image List](https://mui.com/material-ui/react-image-list/) + * - [Image List](https://v7.mui.com/material-ui/react-image-list/) * * API: * - * - [ImageListItemBar API](https://mui.com/material-ui/api/image-list-item-bar/) + * - [ImageListItemBar API](https://v7.mui.com/material-ui/api/image-list-item-bar/) */ export default function ImageListItemBar(props: ImageListItemBarProps): React.JSX.Element; diff --git a/packages/mui-material/src/InitColorSchemeScript/InitColorSchemeScript.tsx b/packages/mui-material/src/InitColorSchemeScript/InitColorSchemeScript.tsx index 97f2b131681682..648366fe962186 100644 --- a/packages/mui-material/src/InitColorSchemeScript/InitColorSchemeScript.tsx +++ b/packages/mui-material/src/InitColorSchemeScript/InitColorSchemeScript.tsx @@ -56,11 +56,11 @@ export interface InitColorSchemeScriptProps { * * Demos: * - * - [InitColorSchemeScript](https://mui.com/material-ui/react-init-color-scheme-script/) + * - [InitColorSchemeScript](https://v7.mui.com/material-ui/react-init-color-scheme-script/) * * API: * - * - [InitColorSchemeScript API](https://mui.com/material-ui/api/init-color-scheme-script/) + * - [InitColorSchemeScript API](https://v7.mui.com/material-ui/api/init-color-scheme-script/) */ function InitColorSchemeScript(props: InitColorSchemeScriptProps) { const { diff --git a/packages/mui-material/src/Input/Input.d.ts b/packages/mui-material/src/Input/Input.d.ts index 54b583a9b51c8e..f68e9b25528dee 100644 --- a/packages/mui-material/src/Input/Input.d.ts +++ b/packages/mui-material/src/Input/Input.d.ts @@ -24,12 +24,12 @@ export interface InputProps extends StandardProps { * * Demos: * - * - [Text Field](https://mui.com/material-ui/react-text-field/) + * - [Text Field](https://v7.mui.com/material-ui/react-text-field/) * * API: * - * - [Input API](https://mui.com/material-ui/api/input/) - * - inherits [InputBase API](https://mui.com/material-ui/api/input-base/) + * - [Input API](https://v7.mui.com/material-ui/api/input/) + * - inherits [InputBase API](https://v7.mui.com/material-ui/api/input-base/) */ declare const Input: ((props: InputProps) => React.JSX.Element) & { muiName: string }; diff --git a/packages/mui-material/src/InputAdornment/InputAdornment.d.ts b/packages/mui-material/src/InputAdornment/InputAdornment.d.ts index da7094e901aa9a..b3041905dbb505 100644 --- a/packages/mui-material/src/InputAdornment/InputAdornment.d.ts +++ b/packages/mui-material/src/InputAdornment/InputAdornment.d.ts @@ -51,11 +51,11 @@ export interface InputAdornmentTypeMap< * * Demos: * - * - [Text Field](https://mui.com/material-ui/react-text-field/) + * - [Text Field](https://v7.mui.com/material-ui/react-text-field/) * * API: * - * - [InputAdornment API](https://mui.com/material-ui/api/input-adornment/) + * - [InputAdornment API](https://v7.mui.com/material-ui/api/input-adornment/) */ declare const InputAdornment: OverridableComponent; diff --git a/packages/mui-material/src/InputBase/InputBase.d.ts b/packages/mui-material/src/InputBase/InputBase.d.ts index c119b388b7e226..46aa9acc685b3e 100644 --- a/packages/mui-material/src/InputBase/InputBase.d.ts +++ b/packages/mui-material/src/InputBase/InputBase.d.ts @@ -275,10 +275,10 @@ export interface InputBaseComponentProps extends React.HTMLAttributes< * * Demos: * - * - [Text Field](https://mui.com/material-ui/react-text-field/) + * - [Text Field](https://v7.mui.com/material-ui/react-text-field/) * * API: * - * - [InputBase API](https://mui.com/material-ui/api/input-base/) + * - [InputBase API](https://v7.mui.com/material-ui/api/input-base/) */ export default function InputBase(props: InputBaseProps): React.JSX.Element; diff --git a/packages/mui-material/src/InputLabel/InputLabel.d.ts b/packages/mui-material/src/InputLabel/InputLabel.d.ts index 1636d306671602..a5b9e052e9a268 100644 --- a/packages/mui-material/src/InputLabel/InputLabel.d.ts +++ b/packages/mui-material/src/InputLabel/InputLabel.d.ts @@ -71,13 +71,13 @@ export type InputLabelTypeMap< * * Demos: * - * - [Number Field](https://mui.com/material-ui/react-number-field/) - * - [Text Field](https://mui.com/material-ui/react-text-field/) + * - [Number Field](https://v7.mui.com/material-ui/react-number-field/) + * - [Text Field](https://v7.mui.com/material-ui/react-text-field/) * * API: * - * - [InputLabel API](https://mui.com/material-ui/api/input-label/) - * - inherits [FormLabel API](https://mui.com/material-ui/api/form-label/) + * - [InputLabel API](https://v7.mui.com/material-ui/api/input-label/) + * - inherits [FormLabel API](https://v7.mui.com/material-ui/api/form-label/) */ declare const InputLabel: OverridableComponent; diff --git a/packages/mui-material/src/LinearProgress/LinearProgress.d.ts b/packages/mui-material/src/LinearProgress/LinearProgress.d.ts index b6f062fd51d47b..8d5f96669a6cee 100644 --- a/packages/mui-material/src/LinearProgress/LinearProgress.d.ts +++ b/packages/mui-material/src/LinearProgress/LinearProgress.d.ts @@ -64,10 +64,10 @@ export interface LinearProgressProps extends StandardProps< * * Demos: * - * - [Progress](https://mui.com/material-ui/react-progress/) + * - [Progress](https://v7.mui.com/material-ui/react-progress/) * * API: * - * - [LinearProgress API](https://mui.com/material-ui/api/linear-progress/) + * - [LinearProgress API](https://v7.mui.com/material-ui/api/linear-progress/) */ export default function LinearProgress(props: LinearProgressProps): React.JSX.Element; diff --git a/packages/mui-material/src/Link/Link.d.ts b/packages/mui-material/src/Link/Link.d.ts index e2fedf14779299..aa99cd8a9d96bc 100644 --- a/packages/mui-material/src/Link/Link.d.ts +++ b/packages/mui-material/src/Link/Link.d.ts @@ -49,13 +49,13 @@ export interface LinkTypeMap; diff --git a/packages/mui-material/src/List/List.d.ts b/packages/mui-material/src/List/List.d.ts index 518dc40e1971bc..1bf1eb68d4d72c 100644 --- a/packages/mui-material/src/List/List.d.ts +++ b/packages/mui-material/src/List/List.d.ts @@ -56,13 +56,13 @@ export type ExtendList = OverridableComponen * * Demos: * - * - [Lists](https://mui.com/material-ui/react-list/) - * - [Menubar](https://mui.com/material-ui/react-menubar/) - * - [Transfer List](https://mui.com/material-ui/react-transfer-list/) + * - [Lists](https://v7.mui.com/material-ui/react-list/) + * - [Menubar](https://v7.mui.com/material-ui/react-menubar/) + * - [Transfer List](https://v7.mui.com/material-ui/react-transfer-list/) * * API: * - * - [List API](https://mui.com/material-ui/api/list/) + * - [List API](https://v7.mui.com/material-ui/api/list/) */ declare const List: ExtendList; diff --git a/packages/mui-material/src/ListItem/ListItem.d.ts b/packages/mui-material/src/ListItem/ListItem.d.ts index 3c83e1ef779c59..8d5c728b534593 100644 --- a/packages/mui-material/src/ListItem/ListItem.d.ts +++ b/packages/mui-material/src/ListItem/ListItem.d.ts @@ -141,12 +141,12 @@ export interface ListItemTypeMap>; diff --git a/packages/mui-material/src/ListItemAvatar/ListItemAvatar.d.ts b/packages/mui-material/src/ListItemAvatar/ListItemAvatar.d.ts index f5a616e1f36930..cee177bb5870af 100644 --- a/packages/mui-material/src/ListItemAvatar/ListItemAvatar.d.ts +++ b/packages/mui-material/src/ListItemAvatar/ListItemAvatar.d.ts @@ -23,10 +23,10 @@ export interface ListItemAvatarProps extends StandardProps; diff --git a/packages/mui-material/src/ListItemIcon/ListItemIcon.d.ts b/packages/mui-material/src/ListItemIcon/ListItemIcon.d.ts index 3aacf8661801e8..97a23a9cae5b6b 100644 --- a/packages/mui-material/src/ListItemIcon/ListItemIcon.d.ts +++ b/packages/mui-material/src/ListItemIcon/ListItemIcon.d.ts @@ -25,11 +25,11 @@ export interface ListItemIconProps extends StandardProps; diff --git a/packages/mui-material/src/Menu/Menu.d.ts b/packages/mui-material/src/Menu/Menu.d.ts index eddb23a7556da9..cb3ae2f7c81913 100644 --- a/packages/mui-material/src/Menu/Menu.d.ts +++ b/packages/mui-material/src/Menu/Menu.d.ts @@ -172,12 +172,12 @@ export declare const MenuPaper: React.FC; * * Demos: * - * - [App Bar](https://mui.com/material-ui/react-app-bar/) - * - [Menu](https://mui.com/material-ui/react-menu/) + * - [App Bar](https://v7.mui.com/material-ui/react-app-bar/) + * - [Menu](https://v7.mui.com/material-ui/react-menu/) * * API: * - * - [Menu API](https://mui.com/material-ui/api/menu/) - * - inherits [Popover API](https://mui.com/material-ui/api/popover/) + * - [Menu API](https://v7.mui.com/material-ui/api/menu/) + * - inherits [Popover API](https://v7.mui.com/material-ui/api/popover/) */ export default function Menu(props: MenuProps): React.JSX.Element; diff --git a/packages/mui-material/src/MenuItem/MenuItem.d.ts b/packages/mui-material/src/MenuItem/MenuItem.d.ts index 01ea591389ab78..e536d498b6eb24 100644 --- a/packages/mui-material/src/MenuItem/MenuItem.d.ts +++ b/packages/mui-material/src/MenuItem/MenuItem.d.ts @@ -60,12 +60,12 @@ export type MenuItemTypeMap< * * Demos: * - * - [Menu](https://mui.com/material-ui/react-menu/) + * - [Menu](https://v7.mui.com/material-ui/react-menu/) * * API: * - * - [MenuItem API](https://mui.com/material-ui/api/menu-item/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [MenuItem API](https://v7.mui.com/material-ui/api/menu-item/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const MenuItem: ExtendButtonBase; diff --git a/packages/mui-material/src/MenuList/MenuList.d.ts b/packages/mui-material/src/MenuList/MenuList.d.ts index 8a25914afef76c..ab5111dd7391d0 100644 --- a/packages/mui-material/src/MenuList/MenuList.d.ts +++ b/packages/mui-material/src/MenuList/MenuList.d.ts @@ -48,18 +48,18 @@ export type MenuListClassKey = keyof NonNullable; diff --git a/packages/mui-material/src/MobileStepper/MobileStepper.d.ts b/packages/mui-material/src/MobileStepper/MobileStepper.d.ts index cc572f95a8d0f4..84480ccb368c8e 100644 --- a/packages/mui-material/src/MobileStepper/MobileStepper.d.ts +++ b/packages/mui-material/src/MobileStepper/MobileStepper.d.ts @@ -120,11 +120,11 @@ export interface MobileStepperOwnerState extends Omit; /** * Modal is a lower-level construct that is leveraged by the following components: * - * * [Dialog](https://mui.com/material-ui/api/dialog/) - * * [Drawer](https://mui.com/material-ui/api/drawer/) - * * [Menu](https://mui.com/material-ui/api/menu/) - * * [Popover](https://mui.com/material-ui/api/popover/) + * * [Dialog](https://v7.mui.com/material-ui/api/dialog/) + * * [Drawer](https://v7.mui.com/material-ui/api/drawer/) + * * [Menu](https://v7.mui.com/material-ui/api/menu/) + * * [Popover](https://v7.mui.com/material-ui/api/popover/) * - * If you are creating a modal dialog, you probably want to use the [Dialog](https://mui.com/material-ui/api/dialog/) component + * If you are creating a modal dialog, you probably want to use the [Dialog](https://v7.mui.com/material-ui/api/dialog/) component * rather than directly using Modal. * * This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals). * * Demos: * - * - [Modal](https://mui.com/material-ui/react-modal/) + * - [Modal](https://v7.mui.com/material-ui/react-modal/) * * API: * - * - [Modal API](https://mui.com/material-ui/api/modal/) + * - [Modal API](https://v7.mui.com/material-ui/api/modal/) */ declare const Modal: OverridableComponent; diff --git a/packages/mui-material/src/NativeSelect/NativeSelect.d.ts b/packages/mui-material/src/NativeSelect/NativeSelect.d.ts index b943f7c40f0088..8986991f301128 100644 --- a/packages/mui-material/src/NativeSelect/NativeSelect.d.ts +++ b/packages/mui-material/src/NativeSelect/NativeSelect.d.ts @@ -60,12 +60,12 @@ export interface NativeSelectProps extends StandardProps< * * Demos: * - * - [Select](https://mui.com/material-ui/react-select/) + * - [Select](https://v7.mui.com/material-ui/react-select/) * * API: * - * - [NativeSelect API](https://mui.com/material-ui/api/native-select/) - * - inherits [Input API](https://mui.com/material-ui/api/input/) + * - [NativeSelect API](https://v7.mui.com/material-ui/api/native-select/) + * - inherits [Input API](https://v7.mui.com/material-ui/api/input/) */ declare const NativeSelect: ((props: NativeSelectProps) => React.JSX.Element) & { muiName: string }; diff --git a/packages/mui-material/src/NoSsr/NoSsr.tsx b/packages/mui-material/src/NoSsr/NoSsr.tsx index c3163db060d11f..bced4fb6920ca7 100644 --- a/packages/mui-material/src/NoSsr/NoSsr.tsx +++ b/packages/mui-material/src/NoSsr/NoSsr.tsx @@ -17,11 +17,11 @@ import { NoSsrProps } from './NoSsr.types'; * * Demos: * - * - [No SSR](https://mui.com/material-ui/react-no-ssr/) + * - [No SSR](https://v7.mui.com/material-ui/react-no-ssr/) * * API: * - * - [NoSsr API](https://mui.com/material-ui/api/no-ssr/) + * - [NoSsr API](https://v7.mui.com/material-ui/api/no-ssr/) */ function NoSsr(props: NoSsrProps): React.JSX.Element { const { children, defer = false, fallback = null } = props; diff --git a/packages/mui-material/src/OutlinedInput/OutlinedInput.d.ts b/packages/mui-material/src/OutlinedInput/OutlinedInput.d.ts index af1061cb0e6569..0e305e6b15df65 100644 --- a/packages/mui-material/src/OutlinedInput/OutlinedInput.d.ts +++ b/packages/mui-material/src/OutlinedInput/OutlinedInput.d.ts @@ -53,13 +53,13 @@ export interface OutlinedInputOwnerState extends Omit React.JSX.Element) & { muiName: string; diff --git a/packages/mui-material/src/Pagination/Pagination.d.ts b/packages/mui-material/src/Pagination/Pagination.d.ts index bf018264c0167b..a49cf34f6bf1bb 100644 --- a/packages/mui-material/src/Pagination/Pagination.d.ts +++ b/packages/mui-material/src/Pagination/Pagination.d.ts @@ -90,10 +90,10 @@ export interface PaginationProps * * Demos: * - * - [Pagination](https://mui.com/material-ui/react-pagination/) + * - [Pagination](https://v7.mui.com/material-ui/react-pagination/) * * API: * - * - [Pagination API](https://mui.com/material-ui/api/pagination/) + * - [Pagination API](https://v7.mui.com/material-ui/api/pagination/) */ export default function Pagination(props: PaginationProps): React.JSX.Element; diff --git a/packages/mui-material/src/PaginationItem/PaginationItem.d.ts b/packages/mui-material/src/PaginationItem/PaginationItem.d.ts index f1484f262d9a10..2998b3c56302a4 100644 --- a/packages/mui-material/src/PaginationItem/PaginationItem.d.ts +++ b/packages/mui-material/src/PaginationItem/PaginationItem.d.ts @@ -171,12 +171,12 @@ export interface PaginationItemTypeMap< * * Demos: * - * - [Pagination](https://mui.com/material-ui/react-pagination/) + * - [Pagination](https://v7.mui.com/material-ui/react-pagination/) * * API: * - * - [PaginationItem API](https://mui.com/material-ui/api/pagination-item/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [PaginationItem API](https://v7.mui.com/material-ui/api/pagination-item/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const PaginationItem: OverridableComponent; diff --git a/packages/mui-material/src/Paper/Paper.d.ts b/packages/mui-material/src/Paper/Paper.d.ts index a5f7b533ab8ba1..7460a5f99a02de 100644 --- a/packages/mui-material/src/Paper/Paper.d.ts +++ b/packages/mui-material/src/Paper/Paper.d.ts @@ -52,13 +52,13 @@ export interface PaperTypeMap< * * Demos: * - * - [Card](https://mui.com/material-ui/react-card/) - * - [Menubar](https://mui.com/material-ui/react-menubar/) - * - [Paper](https://mui.com/material-ui/react-paper/) + * - [Card](https://v7.mui.com/material-ui/react-card/) + * - [Menubar](https://v7.mui.com/material-ui/react-menubar/) + * - [Paper](https://v7.mui.com/material-ui/react-paper/) * * API: * - * - [Paper API](https://mui.com/material-ui/api/paper/) + * - [Paper API](https://v7.mui.com/material-ui/api/paper/) */ declare const Paper: OverridableComponent; diff --git a/packages/mui-material/src/PigmentContainer/PigmentContainer.tsx b/packages/mui-material/src/PigmentContainer/PigmentContainer.tsx index 0e21b9e5f1096b..48a7a91c15885e 100644 --- a/packages/mui-material/src/PigmentContainer/PigmentContainer.tsx +++ b/packages/mui-material/src/PigmentContainer/PigmentContainer.tsx @@ -76,11 +76,11 @@ const useUtilityClasses = (ownerState: PigmentContainerOwnProps) => { * * Demos: * - * - [Container](https://mui.com/material-ui/react-container/) + * - [Container](https://v7.mui.com/material-ui/react-container/) * * API: * - * - [PigmentContainer API](https://mui.com/material-ui/api/pigment-container/) + * - [PigmentContainer API](https://v7.mui.com/material-ui/api/pigment-container/) */ const PigmentContainer = React.forwardRef(function PigmentContainer( { className, disableGutters = false, fixed = false, maxWidth = 'lg', ...props }, diff --git a/packages/mui-material/src/PigmentGrid/PigmentGrid.tsx b/packages/mui-material/src/PigmentGrid/PigmentGrid.tsx index 53f91cb071969f..fc037f2b3a4979 100644 --- a/packages/mui-material/src/PigmentGrid/PigmentGrid.tsx +++ b/packages/mui-material/src/PigmentGrid/PigmentGrid.tsx @@ -122,11 +122,11 @@ const useUtilityClasses = (ownerState: GridBaseProps) => { * * Demos: * - * - [Grid](https://mui.com/material-ui/react-grid/) + * - [Grid](https://v7.mui.com/material-ui/react-grid/) * * API: * - * - [PigmentGrid API](https://mui.com/material-ui/api/pigment-grid/) + * - [PigmentGrid API](https://v7.mui.com/material-ui/api/pigment-grid/) */ const PigmentGrid = React.forwardRef(function PigmentGrid(props, ref) { const { className, ...other } = props; diff --git a/packages/mui-material/src/PigmentStack/PigmentStack.tsx b/packages/mui-material/src/PigmentStack/PigmentStack.tsx index 7b50b2b7d431e7..d26b27af9393e0 100644 --- a/packages/mui-material/src/PigmentStack/PigmentStack.tsx +++ b/packages/mui-material/src/PigmentStack/PigmentStack.tsx @@ -63,11 +63,11 @@ const useUtilityClasses = () => { * * Demos: * - * - [Stack](https://mui.com/material-ui/react-stack/) + * - [Stack](https://v7.mui.com/material-ui/react-stack/) * * API: * - * - [PigmentStack API](https://mui.com/material-ui/api/pigment-stack/) + * - [PigmentStack API](https://v7.mui.com/material-ui/api/pigment-stack/) */ const PigmentStack = React.forwardRef(function PigmentStack({ className, ...props }, ref) { const classes = useUtilityClasses(); diff --git a/packages/mui-material/src/Popover/Popover.d.ts b/packages/mui-material/src/Popover/Popover.d.ts index b0e3eb9ca1bb1d..6a58263dace8f1 100644 --- a/packages/mui-material/src/Popover/Popover.d.ts +++ b/packages/mui-material/src/Popover/Popover.d.ts @@ -261,12 +261,12 @@ export declare const PopoverPaper: React.FC; * * Demos: * - * - [Menu](https://mui.com/material-ui/react-menu/) - * - [Popover](https://mui.com/material-ui/react-popover/) + * - [Menu](https://v7.mui.com/material-ui/react-menu/) + * - [Popover](https://v7.mui.com/material-ui/react-popover/) * * API: * - * - [Popover API](https://mui.com/material-ui/api/popover/) - * - inherits [Modal API](https://mui.com/material-ui/api/modal/) + * - [Popover API](https://v7.mui.com/material-ui/api/popover/) + * - inherits [Modal API](https://v7.mui.com/material-ui/api/modal/) */ export default function Popover(props: PopoverProps): React.JSX.Element; diff --git a/packages/mui-material/src/Popper/Popper.tsx b/packages/mui-material/src/Popper/Popper.tsx index 69223a513ce1db..7d06b09366dd89 100644 --- a/packages/mui-material/src/Popper/Popper.tsx +++ b/packages/mui-material/src/Popper/Popper.tsx @@ -51,13 +51,13 @@ const PopperRoot = styled(BasePopper, { * * Demos: * - * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/) - * - [Menu](https://mui.com/material-ui/react-menu/) - * - [Popper](https://mui.com/material-ui/react-popper/) + * - [Autocomplete](https://v7.mui.com/material-ui/react-autocomplete/) + * - [Menu](https://v7.mui.com/material-ui/react-menu/) + * - [Popper](https://v7.mui.com/material-ui/react-popper/) * * API: * - * - [Popper API](https://mui.com/material-ui/api/popper/) + * - [Popper API](https://v7.mui.com/material-ui/api/popper/) */ const Popper = React.forwardRef(function Popper( inProps: PopperProps, diff --git a/packages/mui-material/src/Portal/Portal.tsx b/packages/mui-material/src/Portal/Portal.tsx index 7f4e3f41ba9da3..d5340a9e7a2ae0 100644 --- a/packages/mui-material/src/Portal/Portal.tsx +++ b/packages/mui-material/src/Portal/Portal.tsx @@ -20,11 +20,11 @@ function getContainer(container: PortalProps['container']) { * * Demos: * - * - [Portal](https://mui.com/material-ui/react-portal/) + * - [Portal](https://v7.mui.com/material-ui/react-portal/) * * API: * - * - [Portal API](https://mui.com/material-ui/api/portal/) + * - [Portal API](https://v7.mui.com/material-ui/api/portal/) */ const Portal = React.forwardRef(function Portal( props: PortalProps, diff --git a/packages/mui-material/src/Radio/Radio.d.ts b/packages/mui-material/src/Radio/Radio.d.ts index e26dd9bee9d5c0..4fc460de130886 100644 --- a/packages/mui-material/src/Radio/Radio.d.ts +++ b/packages/mui-material/src/Radio/Radio.d.ts @@ -103,11 +103,11 @@ export interface RadioOwnerState extends Omit * * Demos: * - * - [Radio Group](https://mui.com/material-ui/react-radio-button/) + * - [Radio Group](https://v7.mui.com/material-ui/react-radio-button/) * * API: * - * - [Radio API](https://mui.com/material-ui/api/radio/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [Radio API](https://v7.mui.com/material-ui/api/radio/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ export default function Radio(props: RadioProps): React.JSX.Element; diff --git a/packages/mui-material/src/RadioGroup/RadioGroup.d.ts b/packages/mui-material/src/RadioGroup/RadioGroup.d.ts index 4bcf1c562b7f93..e244e1a6a7957f 100644 --- a/packages/mui-material/src/RadioGroup/RadioGroup.d.ts +++ b/packages/mui-material/src/RadioGroup/RadioGroup.d.ts @@ -29,11 +29,11 @@ export interface RadioGroupProps extends Omit { * * Demos: * - * - [Radio Group](https://mui.com/material-ui/react-radio-button/) + * - [Radio Group](https://v7.mui.com/material-ui/react-radio-button/) * * API: * - * - [RadioGroup API](https://mui.com/material-ui/api/radio-group/) - * - inherits [FormGroup API](https://mui.com/material-ui/api/form-group/) + * - [RadioGroup API](https://v7.mui.com/material-ui/api/radio-group/) + * - inherits [FormGroup API](https://v7.mui.com/material-ui/api/form-group/) */ export default function RadioGroup(props: RadioGroupProps): React.JSX.Element; diff --git a/packages/mui-material/src/Rating/Rating.d.ts b/packages/mui-material/src/Rating/Rating.d.ts index 0e0dfe174783b0..ad1127aeeab02d 100644 --- a/packages/mui-material/src/Rating/Rating.d.ts +++ b/packages/mui-material/src/Rating/Rating.d.ts @@ -184,11 +184,11 @@ export type RatingTypeMap< * * Demos: * - * - [Rating](https://mui.com/material-ui/react-rating/) + * - [Rating](https://v7.mui.com/material-ui/react-rating/) * * API: * - * - [Rating API](https://mui.com/material-ui/api/rating/) + * - [Rating API](https://v7.mui.com/material-ui/api/rating/) */ declare const Rating: OverridableComponent; diff --git a/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.d.ts b/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.d.ts index 48c0ec0cabe5ea..3709d7fee4e64c 100644 --- a/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.d.ts +++ b/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.d.ts @@ -36,11 +36,11 @@ export interface ScopedCssBaselineTypeMap< * * Demos: * - * - [CSS Baseline](https://mui.com/material-ui/react-css-baseline/) + * - [CSS Baseline](https://v7.mui.com/material-ui/react-css-baseline/) * * API: * - * - [ScopedCssBaseline API](https://mui.com/material-ui/api/scoped-css-baseline/) + * - [ScopedCssBaseline API](https://v7.mui.com/material-ui/api/scoped-css-baseline/) */ declare const ScopedCssBaseline: OverridableComponent; diff --git a/packages/mui-material/src/Select/Select.d.ts b/packages/mui-material/src/Select/Select.d.ts index 2b62399761f231..2c0ba0a43f0f74 100644 --- a/packages/mui-material/src/Select/Select.d.ts +++ b/packages/mui-material/src/Select/Select.d.ts @@ -198,12 +198,12 @@ export type SelectProps = * * Demos: * - * - [Select](https://mui.com/material-ui/react-select/) + * - [Select](https://v7.mui.com/material-ui/react-select/) * * API: * - * - [Select API](https://mui.com/material-ui/api/select/) - * - inherits [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/) + * - [Select API](https://v7.mui.com/material-ui/api/select/) + * - inherits [OutlinedInput API](https://v7.mui.com/material-ui/api/outlined-input/) */ declare const Select: ((props: SelectProps) => React.JSX.Element) & { muiName: string; diff --git a/packages/mui-material/src/Skeleton/Skeleton.d.ts b/packages/mui-material/src/Skeleton/Skeleton.d.ts index a59943db9857a3..1e7a396cfce507 100644 --- a/packages/mui-material/src/Skeleton/Skeleton.d.ts +++ b/packages/mui-material/src/Skeleton/Skeleton.d.ts @@ -60,11 +60,11 @@ export interface SkeletonTypeMap< * * Demos: * - * - [Skeleton](https://mui.com/material-ui/react-skeleton/) + * - [Skeleton](https://v7.mui.com/material-ui/react-skeleton/) * * API: * - * - [Skeleton API](https://mui.com/material-ui/api/skeleton/) + * - [Skeleton API](https://v7.mui.com/material-ui/api/skeleton/) */ declare const Skeleton: OverridableComponent; diff --git a/packages/mui-material/src/Slide/Slide.d.ts b/packages/mui-material/src/Slide/Slide.d.ts index fce9d58d343798..231eca40db84fd 100644 --- a/packages/mui-material/src/Slide/Slide.d.ts +++ b/packages/mui-material/src/Slide/Slide.d.ts @@ -48,17 +48,17 @@ export interface SlideProps extends TransitionProps { } /** - * The Slide transition is used by the [Drawer](https://mui.com/material-ui/react-drawer/) component. + * The Slide transition is used by the [Drawer](https://v7.mui.com/material-ui/react-drawer/) component. * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally. * * Demos: * - * - [Dialog](https://mui.com/material-ui/react-dialog/) - * - [Transitions](https://mui.com/material-ui/transitions/) + * - [Dialog](https://v7.mui.com/material-ui/react-dialog/) + * - [Transitions](https://v7.mui.com/material-ui/transitions/) * * API: * - * - [Slide API](https://mui.com/material-ui/api/slide/) + * - [Slide API](https://v7.mui.com/material-ui/api/slide/) * - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props) */ export default function Slide(props: SlideProps): React.JSX.Element; diff --git a/packages/mui-material/src/Slider/Slider.d.ts b/packages/mui-material/src/Slider/Slider.d.ts index 5c695eba2ba28b..4a587f6235b5a1 100644 --- a/packages/mui-material/src/Slider/Slider.d.ts +++ b/packages/mui-material/src/Slider/Slider.d.ts @@ -358,11 +358,11 @@ export declare const SliderValueLabel: React.FC; * * Demos: * - * - [Slider](https://mui.com/material-ui/react-slider/) + * - [Slider](https://v7.mui.com/material-ui/react-slider/) * * API: * - * - [Slider API](https://mui.com/material-ui/api/slider/) + * - [Slider API](https://v7.mui.com/material-ui/api/slider/) */ declare const Slider: SliderType; diff --git a/packages/mui-material/src/Snackbar/Snackbar.d.ts b/packages/mui-material/src/Snackbar/Snackbar.d.ts index ba7d9369cb3a4d..7461392529ae5b 100644 --- a/packages/mui-material/src/Snackbar/Snackbar.d.ts +++ b/packages/mui-material/src/Snackbar/Snackbar.d.ts @@ -199,11 +199,11 @@ export interface SnackbarProps * * Demos: * - * - [Snackbar](https://mui.com/material-ui/react-snackbar/) + * - [Snackbar](https://v7.mui.com/material-ui/react-snackbar/) * * API: * - * - [Snackbar API](https://mui.com/material-ui/api/snackbar/) + * - [Snackbar API](https://v7.mui.com/material-ui/api/snackbar/) */ export default function Snackbar(props: SnackbarProps): React.JSX.Element; diff --git a/packages/mui-material/src/SnackbarContent/SnackbarContent.d.ts b/packages/mui-material/src/SnackbarContent/SnackbarContent.d.ts index 6342687149f8ba..0f1d161587d6fd 100644 --- a/packages/mui-material/src/SnackbarContent/SnackbarContent.d.ts +++ b/packages/mui-material/src/SnackbarContent/SnackbarContent.d.ts @@ -33,11 +33,11 @@ export interface SnackbarContentProps extends StandardProps React.JSX.Element) & { muiName: string; diff --git a/packages/mui-material/src/Stack/Stack.d.ts b/packages/mui-material/src/Stack/Stack.d.ts index 4f3f88bcfb4a1f..f7c90535498307 100644 --- a/packages/mui-material/src/Stack/Stack.d.ts +++ b/packages/mui-material/src/Stack/Stack.d.ts @@ -50,11 +50,11 @@ export interface StackTypeMap< * * Demos: * - * - [Stack](https://mui.com/material-ui/react-stack/) + * - [Stack](https://v7.mui.com/material-ui/react-stack/) * * API: * - * - [Stack API](https://mui.com/material-ui/api/stack/) + * - [Stack API](https://v7.mui.com/material-ui/api/stack/) */ declare const Stack: OverridableComponent; diff --git a/packages/mui-material/src/Step/Step.d.ts b/packages/mui-material/src/Step/Step.d.ts index e19c744e315af8..5cae6e2ac68455 100644 --- a/packages/mui-material/src/Step/Step.d.ts +++ b/packages/mui-material/src/Step/Step.d.ts @@ -68,11 +68,11 @@ export type StepClasskey = keyof NonNullable; * * Demos: * - * - [Stepper](https://mui.com/material-ui/react-stepper/) + * - [Stepper](https://v7.mui.com/material-ui/react-stepper/) * * API: * - * - [Step API](https://mui.com/material-ui/api/step/) + * - [Step API](https://v7.mui.com/material-ui/api/step/) */ declare const Step: OverridableComponent; diff --git a/packages/mui-material/src/StepButton/StepButton.d.ts b/packages/mui-material/src/StepButton/StepButton.d.ts index 31393dd2ee7135..e576674096f2ec 100644 --- a/packages/mui-material/src/StepButton/StepButton.d.ts +++ b/packages/mui-material/src/StepButton/StepButton.d.ts @@ -42,12 +42,12 @@ export type StepButtonTypeMap< * * Demos: * - * - [Stepper](https://mui.com/material-ui/react-stepper/) + * - [Stepper](https://v7.mui.com/material-ui/react-stepper/) * * API: * - * - [StepButton API](https://mui.com/material-ui/api/step-button/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [StepButton API](https://v7.mui.com/material-ui/api/step-button/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const StepButton: ExtendButtonBase< StepButtonTypeMap<{}, ButtonBaseTypeMap['defaultComponent']> diff --git a/packages/mui-material/src/StepConnector/StepConnector.d.ts b/packages/mui-material/src/StepConnector/StepConnector.d.ts index 0eefd849de8a39..8e2c3ac8f59989 100644 --- a/packages/mui-material/src/StepConnector/StepConnector.d.ts +++ b/packages/mui-material/src/StepConnector/StepConnector.d.ts @@ -26,10 +26,10 @@ export type StepConnectorClasskey = keyof NonNullable * * Demos: * - * - [Stepper](https://mui.com/material-ui/react-stepper/) + * - [Stepper](https://v7.mui.com/material-ui/react-stepper/) * * API: * - * - [StepContent API](https://mui.com/material-ui/api/step-content/) + * - [StepContent API](https://v7.mui.com/material-ui/api/step-content/) */ export default function StepContent(props: StepContentProps): React.JSX.Element; diff --git a/packages/mui-material/src/StepIcon/StepIcon.d.ts b/packages/mui-material/src/StepIcon/StepIcon.d.ts index 0d9e6d414d2fbc..73c576bb2e1455 100644 --- a/packages/mui-material/src/StepIcon/StepIcon.d.ts +++ b/packages/mui-material/src/StepIcon/StepIcon.d.ts @@ -45,11 +45,11 @@ export type StepIconClasskey = keyof NonNullable; * * Demos: * - * - [Stepper](https://mui.com/material-ui/react-stepper/) + * - [Stepper](https://v7.mui.com/material-ui/react-stepper/) * * API: * - * - [StepIcon API](https://mui.com/material-ui/api/step-icon/) - * - inherits [SvgIcon API](https://mui.com/material-ui/api/svg-icon/) + * - [StepIcon API](https://v7.mui.com/material-ui/api/step-icon/) + * - inherits [SvgIcon API](https://v7.mui.com/material-ui/api/svg-icon/) */ export default function StepIcon(props: StepIconProps): React.JSX.Element; diff --git a/packages/mui-material/src/StepLabel/StepLabel.d.ts b/packages/mui-material/src/StepLabel/StepLabel.d.ts index 325172bba485cb..557fcda4b6776d 100644 --- a/packages/mui-material/src/StepLabel/StepLabel.d.ts +++ b/packages/mui-material/src/StepLabel/StepLabel.d.ts @@ -105,11 +105,11 @@ export type StepLabelClasskey = keyof NonNullable; * * Demos: * - * - [Stepper](https://mui.com/material-ui/react-stepper/) + * - [Stepper](https://v7.mui.com/material-ui/react-stepper/) * * API: * - * - [StepLabel API](https://mui.com/material-ui/api/step-label/) + * - [StepLabel API](https://v7.mui.com/material-ui/api/step-label/) */ declare const StepLabel: ((props: StepLabelProps) => React.JSX.Element) & { muiName: string; diff --git a/packages/mui-material/src/Stepper/Stepper.d.ts b/packages/mui-material/src/Stepper/Stepper.d.ts index d16327990c88e8..b0b1bdb1d4b915 100644 --- a/packages/mui-material/src/Stepper/Stepper.d.ts +++ b/packages/mui-material/src/Stepper/Stepper.d.ts @@ -70,11 +70,11 @@ export type StepperClasskey = keyof NonNullable; * * Demos: * - * - [Stepper](https://mui.com/material-ui/react-stepper/) + * - [Stepper](https://v7.mui.com/material-ui/react-stepper/) * * API: * - * - [Stepper API](https://mui.com/material-ui/api/stepper/) + * - [Stepper API](https://v7.mui.com/material-ui/api/stepper/) */ declare const Stepper: OverridableComponent; diff --git a/packages/mui-material/src/SvgIcon/SvgIcon.d.ts b/packages/mui-material/src/SvgIcon/SvgIcon.d.ts index 1d6f73b1615d25..56de1bc99dc822 100644 --- a/packages/mui-material/src/SvgIcon/SvgIcon.d.ts +++ b/packages/mui-material/src/SvgIcon/SvgIcon.d.ts @@ -95,12 +95,12 @@ export interface SvgIconTypeMap< * * Demos: * - * - [Icons](https://mui.com/material-ui/icons/) - * - [Material Icons](https://mui.com/material-ui/material-icons/) + * - [Icons](https://v7.mui.com/material-ui/icons/) + * - [Material Icons](https://v7.mui.com/material-ui/material-icons/) * * API: * - * - [SvgIcon API](https://mui.com/material-ui/api/svg-icon/) + * - [SvgIcon API](https://v7.mui.com/material-ui/api/svg-icon/) */ declare const SvgIcon: OverridableComponent & { muiName: string }; diff --git a/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts b/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts index b6fe44791d9021..fe2c13a76a4a90 100644 --- a/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts +++ b/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts @@ -109,12 +109,12 @@ export interface SwipeableDrawerProps * * Demos: * - * - [Drawer](https://mui.com/material-ui/react-drawer/) + * - [Drawer](https://v7.mui.com/material-ui/react-drawer/) * * API: * - * - [SwipeableDrawer API](https://mui.com/material-ui/api/swipeable-drawer/) - * - inherits [Drawer API](https://mui.com/material-ui/api/drawer/) + * - [SwipeableDrawer API](https://v7.mui.com/material-ui/api/swipeable-drawer/) + * - inherits [Drawer API](https://v7.mui.com/material-ui/api/drawer/) */ declare const SwipeableDrawer: React.JSXElementConstructor; diff --git a/packages/mui-material/src/Switch/Switch.d.ts b/packages/mui-material/src/Switch/Switch.d.ts index a3802695c8887b..671dc92fc8669d 100644 --- a/packages/mui-material/src/Switch/Switch.d.ts +++ b/packages/mui-material/src/Switch/Switch.d.ts @@ -135,12 +135,12 @@ export interface SwitchProps * * Demos: * - * - [Switch](https://mui.com/material-ui/react-switch/) - * - [Transfer List](https://mui.com/material-ui/react-transfer-list/) + * - [Switch](https://v7.mui.com/material-ui/react-switch/) + * - [Transfer List](https://v7.mui.com/material-ui/react-transfer-list/) * * API: * - * - [Switch API](https://mui.com/material-ui/api/switch/) - * - inherits [IconButton API](https://mui.com/material-ui/api/icon-button/) + * - [Switch API](https://v7.mui.com/material-ui/api/switch/) + * - inherits [IconButton API](https://v7.mui.com/material-ui/api/icon-button/) */ export default function Switch(props: SwitchProps): React.JSX.Element; diff --git a/packages/mui-material/src/Tab/Tab.d.ts b/packages/mui-material/src/Tab/Tab.d.ts index 7fc631343af643..1af99e6f85788e 100644 --- a/packages/mui-material/src/Tab/Tab.d.ts +++ b/packages/mui-material/src/Tab/Tab.d.ts @@ -66,12 +66,12 @@ export type TabTypeMap< * * Demos: * - * - [Tabs](https://mui.com/material-ui/react-tabs/) + * - [Tabs](https://v7.mui.com/material-ui/react-tabs/) * * API: * - * - [Tab API](https://mui.com/material-ui/api/tab/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [Tab API](https://v7.mui.com/material-ui/api/tab/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const Tab: ExtendButtonBase; diff --git a/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts b/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts index a2542d569800b8..0e414f1d56a2c7 100644 --- a/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts +++ b/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts @@ -78,10 +78,10 @@ export interface TabScrollButtonProps extends ButtonBaseProps { * * Demos: * - * - [Tabs](https://mui.com/material-ui/react-tabs/) + * - [Tabs](https://v7.mui.com/material-ui/react-tabs/) * * API: * - * - [TabScrollButton API](https://mui.com/material-ui/api/tab-scroll-button/) + * - [TabScrollButton API](https://v7.mui.com/material-ui/api/tab-scroll-button/) */ export default function TabScrollButton(props: TabScrollButtonProps): React.JSX.Element; diff --git a/packages/mui-material/src/Table/Table.d.ts b/packages/mui-material/src/Table/Table.d.ts index be6dab52db4ba1..e56f41c9c06325 100644 --- a/packages/mui-material/src/Table/Table.d.ts +++ b/packages/mui-material/src/Table/Table.d.ts @@ -48,11 +48,11 @@ export interface TableTypeMap< * * Demos: * - * - [Table](https://mui.com/material-ui/react-table/) + * - [Table](https://v7.mui.com/material-ui/react-table/) * * API: * - * - [Table API](https://mui.com/material-ui/api/table/) + * - [Table API](https://v7.mui.com/material-ui/api/table/) */ declare const Table: OverridableComponent; diff --git a/packages/mui-material/src/TableBody/TableBody.d.ts b/packages/mui-material/src/TableBody/TableBody.d.ts index 917c1f5ce6da53..f8a542e9f0782b 100644 --- a/packages/mui-material/src/TableBody/TableBody.d.ts +++ b/packages/mui-material/src/TableBody/TableBody.d.ts @@ -30,11 +30,11 @@ export interface TableBodyTypeMap< * * Demos: * - * - [Table](https://mui.com/material-ui/react-table/) + * - [Table](https://v7.mui.com/material-ui/react-table/) * * API: * - * - [TableBody API](https://mui.com/material-ui/api/table-body/) + * - [TableBody API](https://v7.mui.com/material-ui/api/table-body/) */ declare const TableBody: OverridableComponent; diff --git a/packages/mui-material/src/TableCell/TableCell.d.ts b/packages/mui-material/src/TableCell/TableCell.d.ts index cb0e327446d87c..27a7b869c96aa6 100644 --- a/packages/mui-material/src/TableCell/TableCell.d.ts +++ b/packages/mui-material/src/TableCell/TableCell.d.ts @@ -80,10 +80,10 @@ export type SortDirection = 'asc' | 'desc' | false; * * Demos: * - * - [Table](https://mui.com/material-ui/react-table/) + * - [Table](https://v7.mui.com/material-ui/react-table/) * * API: * - * - [TableCell API](https://mui.com/material-ui/api/table-cell/) + * - [TableCell API](https://v7.mui.com/material-ui/api/table-cell/) */ export default function TableCell(props: TableCellProps): React.JSX.Element; diff --git a/packages/mui-material/src/TableContainer/TableContainer.d.ts b/packages/mui-material/src/TableContainer/TableContainer.d.ts index c801faaec12307..917e033cd14631 100644 --- a/packages/mui-material/src/TableContainer/TableContainer.d.ts +++ b/packages/mui-material/src/TableContainer/TableContainer.d.ts @@ -30,11 +30,11 @@ export interface TableContainerTypeMap< * * Demos: * - * - [Table](https://mui.com/material-ui/react-table/) + * - [Table](https://v7.mui.com/material-ui/react-table/) * * API: * - * - [TableContainer API](https://mui.com/material-ui/api/table-container/) + * - [TableContainer API](https://v7.mui.com/material-ui/api/table-container/) */ declare const TableContainer: OverridableComponent; diff --git a/packages/mui-material/src/TableFooter/TableFooter.d.ts b/packages/mui-material/src/TableFooter/TableFooter.d.ts index 54901aa22164d9..80906956a4ed1e 100644 --- a/packages/mui-material/src/TableFooter/TableFooter.d.ts +++ b/packages/mui-material/src/TableFooter/TableFooter.d.ts @@ -30,11 +30,11 @@ export interface TableFooterTypeMap< * * Demos: * - * - [Table](https://mui.com/material-ui/react-table/) + * - [Table](https://v7.mui.com/material-ui/react-table/) * * API: * - * - [TableFooter API](https://mui.com/material-ui/api/table-footer/) + * - [TableFooter API](https://v7.mui.com/material-ui/api/table-footer/) */ declare const TableFooter: OverridableComponent; diff --git a/packages/mui-material/src/TableHead/TableHead.d.ts b/packages/mui-material/src/TableHead/TableHead.d.ts index 73525c39f96d44..fae86d92a5439f 100644 --- a/packages/mui-material/src/TableHead/TableHead.d.ts +++ b/packages/mui-material/src/TableHead/TableHead.d.ts @@ -30,11 +30,11 @@ export interface TableHeadTypeMap< * * Demos: * - * - [Table](https://mui.com/material-ui/react-table/) + * - [Table](https://v7.mui.com/material-ui/react-table/) * * API: * - * - [TableHead API](https://mui.com/material-ui/api/table-head/) + * - [TableHead API](https://v7.mui.com/material-ui/api/table-head/) */ declare const TableHead: OverridableComponent; diff --git a/packages/mui-material/src/TablePagination/TablePagination.d.ts b/packages/mui-material/src/TablePagination/TablePagination.d.ts index a64f7390fab5aa..72816b25ba40d4 100644 --- a/packages/mui-material/src/TablePagination/TablePagination.d.ts +++ b/packages/mui-material/src/TablePagination/TablePagination.d.ts @@ -287,13 +287,13 @@ export interface TablePaginationTypeMap> diff --git a/packages/mui-material/src/TablePaginationActions/TablePaginationActions.d.ts b/packages/mui-material/src/TablePaginationActions/TablePaginationActions.d.ts index 95c6b3e2e0881e..3a2a8348958954 100644 --- a/packages/mui-material/src/TablePaginationActions/TablePaginationActions.d.ts +++ b/packages/mui-material/src/TablePaginationActions/TablePaginationActions.d.ts @@ -99,11 +99,11 @@ export interface TablePaginationActionsSlots { * * Demos: * - * - [Pagination](https://mui.com/material-ui/react-pagination/) + * - [Pagination](https://v7.mui.com/material-ui/react-pagination/) * * API: * - * - [TablePaginationActions API](https://mui.com/material-ui/api/table-pagination-actions/) + * - [TablePaginationActions API](https://v7.mui.com/material-ui/api/table-pagination-actions/) */ declare const TablePaginationActions: React.JSXElementConstructor; diff --git a/packages/mui-material/src/TableRow/TableRow.d.ts b/packages/mui-material/src/TableRow/TableRow.d.ts index 34ff53c2845200..b3d7f1daeeced1 100644 --- a/packages/mui-material/src/TableRow/TableRow.d.ts +++ b/packages/mui-material/src/TableRow/TableRow.d.ts @@ -42,11 +42,11 @@ export interface TableRowTypeMap< * * Demos: * - * - [Table](https://mui.com/material-ui/react-table/) + * - [Table](https://v7.mui.com/material-ui/react-table/) * * API: * - * - [TableRow API](https://mui.com/material-ui/api/table-row/) + * - [TableRow API](https://v7.mui.com/material-ui/api/table-row/) */ declare const TableRow: OverridableComponent; diff --git a/packages/mui-material/src/TableSortLabel/TableSortLabel.d.ts b/packages/mui-material/src/TableSortLabel/TableSortLabel.d.ts index 2309ad3d36cbba..e93f0b455ec239 100644 --- a/packages/mui-material/src/TableSortLabel/TableSortLabel.d.ts +++ b/packages/mui-material/src/TableSortLabel/TableSortLabel.d.ts @@ -99,12 +99,12 @@ export type TableSortLabelTypeMap< * * Demos: * - * - [Table](https://mui.com/material-ui/react-table/) + * - [Table](https://v7.mui.com/material-ui/react-table/) * * API: * - * - [TableSortLabel API](https://mui.com/material-ui/api/table-sort-label/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [TableSortLabel API](https://v7.mui.com/material-ui/api/table-sort-label/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const TableSortLabel: ExtendButtonBase; diff --git a/packages/mui-material/src/Tabs/Tabs.d.ts b/packages/mui-material/src/Tabs/Tabs.d.ts index ecbcc7930cc0bc..bc421a769b15ba 100644 --- a/packages/mui-material/src/Tabs/Tabs.d.ts +++ b/packages/mui-material/src/Tabs/Tabs.d.ts @@ -293,11 +293,11 @@ export interface TabsTypeMap< * * Demos: * - * - [Tabs](https://mui.com/material-ui/react-tabs/) + * - [Tabs](https://v7.mui.com/material-ui/react-tabs/) * * API: * - * - [Tabs API](https://mui.com/material-ui/api/tabs/) + * - [Tabs API](https://v7.mui.com/material-ui/api/tabs/) */ declare const Tabs: OverridableComponent; diff --git a/packages/mui-material/src/TextField/TextField.d.ts b/packages/mui-material/src/TextField/TextField.d.ts index 6e4680f76360ee..267bae4edcb4c0 100644 --- a/packages/mui-material/src/TextField/TextField.d.ts +++ b/packages/mui-material/src/TextField/TextField.d.ts @@ -354,12 +354,12 @@ export type TextFieldOwnerState = BaseTextFieldProps; * It's important to understand that the text field is a simple abstraction * on top of the following components: * - * * [FormControl](https://mui.com/material-ui/api/form-control/) - * * [InputLabel](https://mui.com/material-ui/api/input-label/) - * * [FilledInput](https://mui.com/material-ui/api/filled-input/) - * * [OutlinedInput](https://mui.com/material-ui/api/outlined-input/) - * * [Input](https://mui.com/material-ui/api/input/) - * * [FormHelperText](https://mui.com/material-ui/api/form-helper-text/) + * * [FormControl](https://v7.mui.com/material-ui/api/form-control/) + * * [InputLabel](https://v7.mui.com/material-ui/api/input-label/) + * * [FilledInput](https://v7.mui.com/material-ui/api/filled-input/) + * * [OutlinedInput](https://v7.mui.com/material-ui/api/outlined-input/) + * * [Input](https://v7.mui.com/material-ui/api/input/) + * * [FormHelperText](https://v7.mui.com/material-ui/api/form-helper-text/) * * If you wish to alter the props applied to the `input` element, you can do so as follows: * @@ -379,13 +379,13 @@ export type TextFieldOwnerState = BaseTextFieldProps; * * Demos: * - * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/) - * - [Text Field](https://mui.com/material-ui/react-text-field/) + * - [Autocomplete](https://v7.mui.com/material-ui/react-autocomplete/) + * - [Text Field](https://v7.mui.com/material-ui/react-text-field/) * * API: * - * - [TextField API](https://mui.com/material-ui/api/text-field/) - * - inherits [FormControl API](https://mui.com/material-ui/api/form-control/) + * - [TextField API](https://v7.mui.com/material-ui/api/text-field/) + * - inherits [FormControl API](https://v7.mui.com/material-ui/api/form-control/) */ export default function TextField( props: { diff --git a/packages/mui-material/src/TextareaAutosize/TextareaAutosize.tsx b/packages/mui-material/src/TextareaAutosize/TextareaAutosize.tsx index b3d460a1d6eaef..41ba703f31d531 100644 --- a/packages/mui-material/src/TextareaAutosize/TextareaAutosize.tsx +++ b/packages/mui-material/src/TextareaAutosize/TextareaAutosize.tsx @@ -51,11 +51,11 @@ function isEmpty(obj: TextareaStyles) { * * Demos: * - * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/) + * - [Textarea Autosize](https://v7.mui.com/material-ui/react-textarea-autosize/) * * API: * - * - [TextareaAutosize API](https://mui.com/material-ui/api/textarea-autosize/) + * - [TextareaAutosize API](https://v7.mui.com/material-ui/api/textarea-autosize/) */ const TextareaAutosize = React.forwardRef(function TextareaAutosize( props: TextareaAutosizeProps, diff --git a/packages/mui-material/src/ToggleButton/ToggleButton.d.ts b/packages/mui-material/src/ToggleButton/ToggleButton.d.ts index b9108a4d162af0..38fe23a4612a61 100644 --- a/packages/mui-material/src/ToggleButton/ToggleButton.d.ts +++ b/packages/mui-material/src/ToggleButton/ToggleButton.d.ts @@ -95,12 +95,12 @@ export type ToggleButtonTypeMap< * * Demos: * - * - [Toggle Button](https://mui.com/material-ui/react-toggle-button/) + * - [Toggle Button](https://v7.mui.com/material-ui/react-toggle-button/) * * API: * - * - [ToggleButton API](https://mui.com/material-ui/api/toggle-button/) - * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) + * - [ToggleButton API](https://v7.mui.com/material-ui/api/toggle-button/) + * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/) */ declare const ToggleButton: ExtendButtonBase; diff --git a/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.d.ts b/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.d.ts index 6df2e44e23b372..03d5de8aa7d53c 100644 --- a/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.d.ts +++ b/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.d.ts @@ -86,10 +86,10 @@ export interface ToggleButtonGroupProps extends StandardProps< * * Demos: * - * - [Toggle Button](https://mui.com/material-ui/react-toggle-button/) + * - [Toggle Button](https://v7.mui.com/material-ui/react-toggle-button/) * * API: * - * - [ToggleButtonGroup API](https://mui.com/material-ui/api/toggle-button-group/) + * - [ToggleButtonGroup API](https://v7.mui.com/material-ui/api/toggle-button-group/) */ export default function ToggleButtonGroup(props: ToggleButtonGroupProps): React.JSX.Element; diff --git a/packages/mui-material/src/Toolbar/Toolbar.d.ts b/packages/mui-material/src/Toolbar/Toolbar.d.ts index 0635e139fff354..3c7f275fb6e033 100644 --- a/packages/mui-material/src/Toolbar/Toolbar.d.ts +++ b/packages/mui-material/src/Toolbar/Toolbar.d.ts @@ -44,11 +44,11 @@ export interface ToolbarTypeMap< * * Demos: * - * - [App Bar](https://mui.com/material-ui/react-app-bar/) + * - [App Bar](https://v7.mui.com/material-ui/react-app-bar/) * * API: * - * - [Toolbar API](https://mui.com/material-ui/api/toolbar/) + * - [Toolbar API](https://v7.mui.com/material-ui/api/toolbar/) */ declare const Toolbar: OverridableComponent; diff --git a/packages/mui-material/src/Tooltip/Tooltip.d.ts b/packages/mui-material/src/Tooltip/Tooltip.d.ts index f43a6196e638e6..b9ce95de275ce7 100644 --- a/packages/mui-material/src/Tooltip/Tooltip.d.ts +++ b/packages/mui-material/src/Tooltip/Tooltip.d.ts @@ -254,10 +254,10 @@ export interface TooltipOwnerState extends TooltipProps {} * * Demos: * - * - [Tooltip](https://mui.com/material-ui/react-tooltip/) + * - [Tooltip](https://v7.mui.com/material-ui/react-tooltip/) * * API: * - * - [Tooltip API](https://mui.com/material-ui/api/tooltip/) + * - [Tooltip API](https://v7.mui.com/material-ui/api/tooltip/) */ export default function Tooltip(props: TooltipProps): React.JSX.Element; diff --git a/packages/mui-material/src/Typography/Typography.d.ts b/packages/mui-material/src/Typography/Typography.d.ts index a87ef17f13ecc7..869c6c8d056344 100644 --- a/packages/mui-material/src/Typography/Typography.d.ts +++ b/packages/mui-material/src/Typography/Typography.d.ts @@ -113,13 +113,13 @@ export interface TypographyTypeMap< * * Demos: * - * - [Breadcrumbs](https://mui.com/material-ui/react-breadcrumbs/) - * - [Menubar](https://mui.com/material-ui/react-menubar/) - * - [Typography](https://mui.com/material-ui/react-typography/) + * - [Breadcrumbs](https://v7.mui.com/material-ui/react-breadcrumbs/) + * - [Menubar](https://v7.mui.com/material-ui/react-menubar/) + * - [Typography](https://v7.mui.com/material-ui/react-typography/) * * API: * - * - [Typography API](https://mui.com/material-ui/api/typography/) + * - [Typography API](https://v7.mui.com/material-ui/api/typography/) */ declare const Typography: OverridableComponent; diff --git a/packages/mui-material/src/Zoom/Zoom.d.ts b/packages/mui-material/src/Zoom/Zoom.d.ts index 85b33357483180..636b01e1f3cf97 100644 --- a/packages/mui-material/src/Zoom/Zoom.d.ts +++ b/packages/mui-material/src/Zoom/Zoom.d.ts @@ -35,16 +35,16 @@ export interface ZoomProps extends TransitionProps { /** * The Zoom transition can be used for the floating variant of the - * [Button](https://mui.com/material-ui/react-floating-action-button/#animation) component. + * [Button](https://v7.mui.com/material-ui/react-floating-action-button/#animation) component. * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally. * * Demos: * - * - [Transitions](https://mui.com/material-ui/transitions/) + * - [Transitions](https://v7.mui.com/material-ui/transitions/) * * API: * - * - [Zoom API](https://mui.com/material-ui/api/zoom/) + * - [Zoom API](https://v7.mui.com/material-ui/api/zoom/) * - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props) */ export default function Zoom(props: ZoomProps): React.JSX.Element; diff --git a/packages/mui-material/src/styles/createTheme.test.js b/packages/mui-material/src/styles/createTheme.test.js index 798a040c878648..45ddfba73b8926 100644 --- a/packages/mui-material/src/styles/createTheme.test.js +++ b/packages/mui-material/src/styles/createTheme.test.js @@ -563,8 +563,9 @@ describe('createTheme', () => { }); } catch (error) { expect(error.message).to.equal( + // #host-reference 'MUI: `vars` is a private field used for CSS variables support.\n' + - 'Please use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.', + 'Please use another name or follow the [docs](https://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.', ); } }); diff --git a/packages/mui-material/src/styles/createThemeNoVars.js b/packages/mui-material/src/styles/createThemeNoVars.js index 58f93ace3480eb..1541a9b6a335c6 100644 --- a/packages/mui-material/src/styles/createThemeNoVars.js +++ b/packages/mui-material/src/styles/createThemeNoVars.js @@ -93,7 +93,7 @@ function createThemeNoVars(options = {}, ...args) { throw /* minify-error */ new Error( 'MUI: `vars` is a private field used for CSS variables support.\n' + // #host-reference - 'Please use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.', + 'Please use another name or follow the [docs](https://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.', ); } diff --git a/packages/mui-styled-engine-sc/README.md b/packages/mui-styled-engine-sc/README.md index 0bb4d85d433c18..533719e31361d3 100644 --- a/packages/mui-styled-engine-sc/README.md +++ b/packages/mui-styled-engine-sc/README.md @@ -7,4 +7,4 @@ It's designed for developers who would like to use `styled-components` as the ma -Visit [https://mui.com/material-ui/integrations/styled-components/](https://mui.com/material-ui/integrations/styled-components/) to view the full documentation. +Visit [https://v7.mui.com/material-ui/integrations/styled-components/](https://v7.mui.com/material-ui/integrations/styled-components/) to view the full documentation. diff --git a/packages/mui-styled-engine/README.md b/packages/mui-styled-engine/README.md index f703a20f1e234a..1a2fadb2fe6c4e 100644 --- a/packages/mui-styled-engine/README.md +++ b/packages/mui-styled-engine/README.md @@ -8,4 +8,4 @@ It is used internally in the `@mui/system` package. -Visit [https://mui.com/material-ui/integrations/styled-components/](https://mui.com/material-ui/integrations/styled-components/) to view the full documentation. +Visit [https://v7.mui.com/material-ui/integrations/styled-components/](https://v7.mui.com/material-ui/integrations/styled-components/) to view the full documentation. diff --git a/packages/mui-system/README.md b/packages/mui-system/README.md index cfb95b2ed97b0c..f98d3e50c3a001 100644 --- a/packages/mui-system/README.md +++ b/packages/mui-system/README.md @@ -9,11 +9,11 @@ Install the package in your project directory with: ```bash -npm install @mui/system @emotion/react @emotion/styled +npm install @mui/system@^7.0.0 @emotion/react @emotion/styled ``` ## Documentation -Visit [https://mui.com/system/getting-started/](https://mui.com/system/getting-started/) to view the full documentation. +Visit [https://v7.mui.com/system/getting-started/](https://v7.mui.com/system/getting-started/) to view the full documentation. diff --git a/packages/mui-system/src/Grid/Grid.test.js b/packages/mui-system/src/Grid/Grid.test.js index b966192563b1a2..2099a29a1f2f19 100644 --- a/packages/mui-system/src/Grid/Grid.test.js +++ b/packages/mui-system/src/Grid/Grid.test.js @@ -275,7 +275,7 @@ describe('System ', () => { render(); }).toWarnDev( // #host-reference - `MUI Grid: The \`${breakpoint}\` prop has been removed. See https://mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`, + `MUI Grid: The \`${breakpoint}\` prop has been removed. See https://v7.mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`, ); }); }); diff --git a/packages/mui-system/src/Grid/deleteLegacyGridProps.ts b/packages/mui-system/src/Grid/deleteLegacyGridProps.ts index b68f06314f08c5..8c7d1dbf465bfa 100644 --- a/packages/mui-system/src/Grid/deleteLegacyGridProps.ts +++ b/packages/mui-system/src/Grid/deleteLegacyGridProps.ts @@ -6,7 +6,7 @@ const getLegacyGridWarning = (propName: 'item' | 'zeroMinWidth' | Breakpoint) => } // #host-reference - return `The \`${propName}\` prop has been removed. See https://mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`; + return `The \`${propName}\` prop has been removed. See https://v7.mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`; }; const warnedAboutProps: string[] = []; diff --git a/packages/mui-system/src/createBreakpoints/createBreakpoints.d.ts b/packages/mui-system/src/createBreakpoints/createBreakpoints.d.ts index 113bef60394819..ee35cca3e7f8bf 100644 --- a/packages/mui-system/src/createBreakpoints/createBreakpoints.d.ts +++ b/packages/mui-system/src/createBreakpoints/createBreakpoints.d.ts @@ -31,13 +31,13 @@ export interface Breakpoints { /** * @param key - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px. * @returns A media query string ready to be used with most styling solutions, which matches screen widths greater than the screen size given by the breakpoint key (inclusive). - * @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-up-key-media-query) + * @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-up-key-media-query) */ up: (key: Breakpoint | number) => string; /** * @param key - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px. * @returns A media query string ready to be used with most styling solutions, which matches screen widths less than the screen size given by the breakpoint key (exclusive). - * @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-down-key-media-query) + * @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-down-key-media-query) */ down: (key: Breakpoint | number) => string; /** @@ -45,14 +45,14 @@ export interface Breakpoints { * @param end - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px. * @returns A media query string ready to be used with most styling solutions, which matches screen widths greater than * the screen size given by the breakpoint key in the first argument (inclusive) and less than the screen size given by the breakpoint key in the second argument (exclusive). - * @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-between-start-end-media-query) + * @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-between-start-end-media-query) */ between: (start: Breakpoint | number, end: Breakpoint | number) => string; /** * @param key - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px. * @returns A media query string ready to be used with most styling solutions, which matches screen widths starting from * the screen size given by the breakpoint key (inclusive) and stopping at the screen size given by the next breakpoint key (exclusive). - * @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-only-key-media-query) + * @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-only-key-media-query) */ only: (key: Breakpoint) => string; /**