diff --git a/.circleci/config.yml b/.circleci/config.yml index bbac06912be39c..938876712dfcad 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -142,7 +142,7 @@ jobs: name: '`pnpm dedupe` was run?' command: | # #default-branch-switch - if [[ $(git diff --name-status next | grep -E 'pnpm-workspace\.yaml|pnpm-lock.yaml|package\.json') == "" ]]; + if [[ $(git diff --name-status master | grep -E 'pnpm-workspace\.yaml|pnpm-lock.yaml|package\.json') == "" ]]; then echo "No changes to dependencies detected. Skipping..." else diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 026600211a0232..3b43ecde31fcca 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -72,11 +72,11 @@ git remote add upstream https://github.com/mui/material-ui.git -3. Synchronize your local `next` branch with the upstream one: +3. Synchronize your local `master` branch with the upstream one: ```bash -git checkout next -git pull upstream next +git checkout master +git pull upstream master ``` 4. Install the dependencies with pnpm (yarn or npm aren't supported): @@ -146,7 +146,7 @@ Make sure the following is true: -- The branch is targeted at `next` for ongoing development. All tests are passing. Code that lands in `next` must be compatible with the latest alpha/beta release. It may contain additional features but no breaking changes. We should be able to release a new minor version from the tip of `next` at any time. +- The branch is targeted at `master` for ongoing development. All tests are passing. Code that lands in `master` must be compatible with the latest stable release. It may contain additional features but no breaking changes. We should be able to release a new minor version from the tip of `master` at any time. - If a feature is being added: - If the result was already achievable with the core library, you've explained why this feature needs to be added to the core. - If this is a common use case, you've added an example to the documentation. diff --git a/docs/data/base/getting-started/quickstart/quickstart.md b/docs/data/base/getting-started/quickstart/quickstart.md index 12d61fcbe678b3..7dca90ff8739ac 100644 --- a/docs/data/base/getting-started/quickstart/quickstart.md +++ b/docs/data/base/getting-started/quickstart/quickstart.md @@ -10,24 +10,18 @@ If you're using Next.js 13.4 or later, check out the [Next.js App Router guide]( `@mui/base` is completely standalone – run one of the following commands to add Base UI to your React project: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - - - ```bash npm -npm install @mui/base@next +npm install @mui/base ``` ```bash pnpm -pnpm add @mui/base@next +pnpm add @mui/base ``` ```bash yarn -yarn add @mui/base@next +yarn add @mui/base ``` diff --git a/docs/data/base/guides/working-with-tailwind-css/working-with-tailwind-css.md b/docs/data/base/guides/working-with-tailwind-css/working-with-tailwind-css.md index 78b3d3e30a554c..92cf9f71fa4ad9 100644 --- a/docs/data/base/guides/working-with-tailwind-css/working-with-tailwind-css.md +++ b/docs/data/base/guides/working-with-tailwind-css/working-with-tailwind-css.md @@ -31,14 +31,8 @@ We'll use [`create-react-app` with TypeScript](https://create-react-app.dev/docs After you have created the project, follow the instructions given on the [Tailwind CSS installation page](https://tailwindcss.com/docs/guides/create-react-app) in order to configure `tailwind`. Next, install `@mui/base` in the project: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - - - ```bash -npm install @mui/base@next +npm install @mui/base ``` ## Adding the player markup diff --git a/docs/data/joy/getting-started/installation/installation.md b/docs/data/joy/getting-started/installation/installation.md index 0557c255450585..904ed071dcd5ed 100644 --- a/docs/data/joy/getting-started/installation/installation.md +++ b/docs/data/joy/getting-started/installation/installation.md @@ -6,24 +6,18 @@ Run one of the following commands to add Joy UI to your project: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - - - ```bash npm -npm install @mui/joy@next @emotion/react @emotion/styled +npm install @mui/joy @emotion/react @emotion/styled ``` ```bash pnpm -pnpm add @mui/joy@next @emotion/react @emotion/styled +pnpm add @mui/joy @emotion/react @emotion/styled ``` ```bash yarn -yarn add @mui/joy@next @emotion/react @emotion/styled +yarn add @mui/joy @emotion/react @emotion/styled ``` diff --git a/docs/data/joy/integrations/icon-libraries/icon-libraries.md b/docs/data/joy/integrations/icon-libraries/icon-libraries.md index 6e0ed174b76a69..a8b3e878912e21 100644 --- a/docs/data/joy/integrations/icon-libraries/icon-libraries.md +++ b/docs/data/joy/integrations/icon-libraries/icon-libraries.md @@ -13,12 +13,8 @@ This section assumes that you've already installed Joy UI in your app—see [In #### yarn -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - ```bash -yarn add @mui/icons-material@next @mui/material@next +yarn add @mui/icons-material @mui/material ``` :::warning @@ -43,14 +39,8 @@ You can keep track of the progress in [this issue](https://github.com/mui/materi #### npm -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - - - ```bash -npm install @mui/icons-material@next @mui/material@next +npm install @mui/icons-material @mui/material ``` :::warning 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 4aaee4fc3131cc..5aa917add5104c 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 @@ -19,24 +19,20 @@ For a component to be ready to move to the core, the following criteria are cons To install and save in your `package.json` dependencies, run one of the following commands: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - ```bash npm -npm install @mui/lab@next @mui/material@next +npm install @mui/lab @mui/material ``` ```bash pnpm -pnpm add @mui/lab@next @mui/material@next +pnpm add @mui/lab @mui/material ``` ```bash yarn -yarn add @mui/lab@next @mui/material@next +yarn add @mui/lab @mui/material ``` diff --git a/docs/data/material/components/icons/icons.md b/docs/data/material/components/icons/icons.md index 15b2b7f5868399..9682e2b67d41e6 100644 --- a/docs/data/material/components/icons/icons.md +++ b/docs/data/material/components/icons/icons.md @@ -26,23 +26,19 @@ You can [search the full list of these icons](/material-ui/material-icons/). Run one of the following commands to install it and save it to your `package.json` dependencies: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - ```bash npm -npm install @mui/icons-material@next +npm install @mui/icons-material ``` ```bash pnpm -pnpm add @mui/icons-material@next +pnpm add @mui/icons-material ``` ```bash yarn -yarn add @mui/icons-material@next +yarn add @mui/icons-material ``` diff --git a/docs/data/material/components/material-icons/material-icons.md b/docs/data/material/components/material-icons/material-icons.md index d5a6e5e0b7d5e1..86c3b6f8c1c8c2 100644 --- a/docs/data/material/components/material-icons/material-icons.md +++ b/docs/data/material/components/material-icons/material-icons.md @@ -18,24 +18,20 @@ includes the 2,100+ official [Material Icons](https://fonts.google.com/icons?ico It depends on `@mui/material`, which requires Emotion packages. Use one of the following commands to install it: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - ```bash npm -npm install @mui/icons-material@next @mui/material@next @emotion/styled @emotion/react +npm install @mui/icons-material @mui/material @emotion/styled @emotion/react ``` ```bash pnpm -pnpm add @mui/icons-material@next @mui/material@next @emotion/styled @emotion/react +pnpm add @mui/icons-material @mui/material @emotion/styled @emotion/react ``` ```bash yarn -yarn add @mui/icons-material@next @mui/material@next @emotion/styled @emotion/react +yarn add @mui/icons-material @mui/material @emotion/styled @emotion/react ``` diff --git a/docs/data/material/customization/dark-mode/dark-mode.md b/docs/data/material/customization/dark-mode/dark-mode.md index d1eda92da44f76..86921f703c53d3 100644 --- a/docs/data/material/customization/dark-mode/dark-mode.md +++ b/docs/data/material/customization/dark-mode/dark-mode.md @@ -198,9 +198,9 @@ We provide codemods to migrate your codebase from using `theme.palette.mode` to You can run each codemod below or all of them at once. ```bash -npx @mui/codemod@next v6.0.0/styled -npx @mui/codemod@next v6.0.0/sx-prop -npx @mui/codemod@next v6.0.0/theme-v6 +npx @mui/codemod@latest v6.0.0/styled +npx @mui/codemod@latest v6.0.0/sx-prop +npx @mui/codemod@latest v6.0.0/theme-v6 ``` > Run `v6.0.0/theme-v6` against the file that contains the custom `styleOverrides`. Ignore this codemod if you don't have a custom theme. diff --git a/docs/data/material/getting-started/installation/installation.md b/docs/data/material/getting-started/installation/installation.md index 7d3c3c6fe891a4..666e60bb9f1bfe 100644 --- a/docs/data/material/getting-started/installation/installation.md +++ b/docs/data/material/getting-started/installation/installation.md @@ -6,24 +6,20 @@ Run one of the following commands to add Material UI to your project: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - ```bash npm -npm install @mui/material@next @emotion/react @emotion/styled +npm install @mui/material @emotion/react @emotion/styled ``` ```bash pnpm -pnpm add @mui/material@next @emotion/react @emotion/styled +pnpm add @mui/material @emotion/react @emotion/styled ``` ```bash yarn -yarn add @mui/material@next @emotion/react @emotion/styled +yarn add @mui/material @emotion/react @emotion/styled ``` @@ -162,7 +158,7 @@ You can start using Material UI right away with minimal front-end infrastructur -Follow [this CDN example](https://github.com/mui/material-ui/tree/next/examples/material-ui-via-cdn) to get started. +Follow [this CDN example](https://github.com/mui/material-ui/tree/master/examples/material-ui-via-cdn) to get started. :::error We do _not_ recommend using this approach in production. diff --git a/docs/data/material/getting-started/templates/blog/README.md b/docs/data/material/getting-started/templates/blog/README.md index f2305a49255eec..c582b088659a33 100644 --- a/docs/data/material/getting-started/templates/blog/README.md +++ b/docs/data/material/getting-started/templates/blog/README.md @@ -4,7 +4,7 @@ -1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/next/examples). +1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/master/examples). 2. Make sure your project has the required dependencies: @mui/material, @mui/icons-material, @emotion/styled, @emotion/react, markdown-to-jsx. 3. Import and use the `Blog` component. @@ -12,4 +12,4 @@ -View the demo at https://next.mui.com/material-ui/getting-started/templates/blog/. +View the demo at https://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 1e23cde07e4e70..9b6fb03b6cce10 100644 --- a/docs/data/material/getting-started/templates/checkout/README.md +++ b/docs/data/material/getting-started/templates/checkout/README.md @@ -4,7 +4,7 @@ -1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/next/examples). +1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/master/examples). 2. Make sure your project has the required dependencies: @mui/material, @emotion/styled, @emotion/react. 3. Import and use the `Checkout` component. @@ -12,4 +12,4 @@ -View the demo at https://next.mui.com/material-ui/getting-started/templates/checkout/. +View the demo at https://mui.com/material-ui/getting-started/templates/checkout/. diff --git a/docs/data/material/getting-started/templates/dashboard/README.md b/docs/data/material/getting-started/templates/dashboard/README.md index 56b0c8c1bbdbf7..3415051ae20be5 100644 --- a/docs/data/material/getting-started/templates/dashboard/README.md +++ b/docs/data/material/getting-started/templates/dashboard/README.md @@ -4,7 +4,7 @@ -1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/next/examples). +1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/master/examples). 2. Make sure your project has the required dependencies: @mui/material, @mui/icons-material, @emotion/styled, @emotion/react, @mui/x-charts. 3. Import and use the `Dashboard` component. @@ -12,4 +12,4 @@ -View the demo at https://next.mui.com/material-ui/getting-started/templates/dashboard/. +View the demo at https://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 d8000c3c170ef6..05d2a22764cebe 100644 --- a/docs/data/material/getting-started/templates/marketing-page/README.md +++ b/docs/data/material/getting-started/templates/marketing-page/README.md @@ -4,7 +4,7 @@ -1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/next/examples). +1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/master/examples). 2. Make sure your project has the required dependencies: @mui/material, @mui/icons-material, @emotion/styled, @emotion/react. 3. Import and use the `MarketingPage` component. @@ -12,4 +12,4 @@ -View the demo at https://next.mui.com/material-ui/getting-started/templates/marketing-page/. +View the demo at https://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 a7995114143ef1..67c088ce173215 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 @@ -4,7 +4,7 @@ -1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/next/examples). +1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/master/examples). 2. Make sure your project has the required dependencies: @mui/material, @mui/icons-material, @emotion/styled, @emotion/react. 3. Import and use the `SignInSide` component. @@ -12,4 +12,4 @@ -View the demo at https://next.mui.com/material-ui/getting-started/templates/sign-in-side/. +View the demo at https://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 f9de61277a45c7..7ad1e840c69051 100644 --- a/docs/data/material/getting-started/templates/sign-in/README.md +++ b/docs/data/material/getting-started/templates/sign-in/README.md @@ -4,7 +4,7 @@ -1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/next/examples). +1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/master/examples). 2. Make sure your project has the required dependencies: @mui/material, @mui/icons-material, @emotion/styled, @emotion/react. 3. Import and use the `SignIn` component. @@ -12,4 +12,4 @@ -View the demo at https://next.mui.com/material-ui/getting-started/templates/sign-in/. +View the demo at https://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 f46cae4ad63fe5..aa89e2950d0e36 100644 --- a/docs/data/material/getting-started/templates/sign-up/README.md +++ b/docs/data/material/getting-started/templates/sign-up/README.md @@ -4,7 +4,7 @@ -1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/next/examples). +1. Copy the files into your project, or one of the [example projects](https://github.com/mui/material-ui/tree/master/examples). 2. Make sure your project has the required dependencies: @mui/material, @mui/icons-material, @emotion/styled, @emotion/react. 3. Import and use the `SignUp` component. @@ -12,4 +12,4 @@ -View the demo at https://next.mui.com/material-ui/getting-started/templates/sign-up/. +View the demo at https://mui.com/material-ui/getting-started/templates/sign-up/. diff --git a/docs/data/material/guides/localization/localization.md b/docs/data/material/guides/localization/localization.md index 005b436c3c52ff..f341c4725f0ef3 100644 --- a/docs/data/material/guides/localization/localization.md +++ b/docs/data/material/guides/localization/localization.md @@ -98,7 +98,7 @@ The [Data Grid and Data Grid Pro](/x/react-data-grid/) components have their own -You can [find the source](https://github.com/mui/material-ui/blob/next/packages/mui-material/src/locale/index.ts) in the GitHub repository. +You can [find the source](https://github.com/mui/material-ui/blob/master/packages/mui-material/src/locale/index.ts) in the GitHub repository. To create your own translation, or to customize the English text, copy this file to your project, make any changes needed and import the locale from there. diff --git a/docs/data/material/guides/typescript/typescript.md b/docs/data/material/guides/typescript/typescript.md index ab31f6937079e3..16263e85624be0 100644 --- a/docs/data/material/guides/typescript/typescript.md +++ b/docs/data/material/guides/typescript/typescript.md @@ -6,7 +6,7 @@ -Material UI requires a minimum version of TypeScript 4.7. Have a look at the [Create React App with TypeScript](https://github.com/mui/material-ui/tree/next/examples/material-ui-cra-ts) example. +Material UI requires a minimum version of TypeScript 4.7. Have a look at the [Create React App with TypeScript](https://github.com/mui/material-ui/tree/master/examples/material-ui-cra-ts) example. For types to work, it's recommended that you have at least the following options enabled in your `tsconfig.json`: diff --git a/docs/data/material/integrations/interoperability/interoperability.md b/docs/data/material/integrations/interoperability/interoperability.md index d52dd16ef1b7df..bf2d2a1fa75110 100644 --- a/docs/data/material/integrations/interoperability/interoperability.md +++ b/docs/data/material/integrations/interoperability/interoperability.md @@ -274,8 +274,8 @@ If, however, you would like to use styled-components, you can configure your app -- [Create React App with styled-components](https://github.com/mui/material-ui/tree/next/examples/material-ui-cra-styled-components) -- [Create React App with styled-components and TypeScript](https://github.com/mui/material-ui/tree/next/examples/material-ui-cra-styled-components-ts) +- [Create React App with styled-components](https://github.com/mui/material-ui/tree/master/examples/material-ui-cra-styled-components) +- [Create React App with styled-components and TypeScript](https://github.com/mui/material-ui/tree/master/examples/material-ui-cra-styled-components-ts) Following this approach reduces the bundle size, and removes the need to configure the CSS injection order. diff --git a/docs/data/material/integrations/nextjs/nextjs.md b/docs/data/material/integrations/nextjs/nextjs.md index 12e4ee4734ea3a..7a258ee1adabe8 100644 --- a/docs/data/material/integrations/nextjs/nextjs.md +++ b/docs/data/material/integrations/nextjs/nextjs.md @@ -11,24 +11,18 @@ This section walks through the Material UI integration with the Next.js [App Ro Start by ensuring that you already have `@mui/material` and `next` installed. Then, run one of the following commands to install the dependencies: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - - - ```bash npm -npm install @mui/material-nextjs@next @emotion/cache +npm install @mui/material-nextjs @emotion/cache ``` ```bash pnpm -pnpm add @mui/material-nextjs@next @emotion/cache +pnpm add @mui/material-nextjs @emotion/cache ``` ```bash yarn -yarn add @mui/material-nextjs@next @emotion/cache +yarn add @mui/material-nextjs @emotion/cache ``` diff --git a/docs/data/material/integrations/styled-components/styled-components.md b/docs/data/material/integrations/styled-components/styled-components.md index f4535e06691d6f..0601f5b3e68205 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": "next" -+ "@mui/styled-engine": "npm:@mui/styled-engine-sc@next" +- "@mui/styled-engine": "latest" ++ "@mui/styled-engine": "npm:@mui/styled-engine-sc@latest" }, + "resolutions": { -+ "@mui/styled-engine": "npm:@mui/styled-engine-sc@next" ++ "@mui/styled-engine": "npm:@mui/styled-engine-sc@latest" + }, } ``` @@ -102,8 +102,8 @@ We provide boilerplate examples of Create React App with Material UI and styled -- [Material UI + CRA + styled-components (JavaScript)](https://github.com/mui/material-ui/tree/next/examples/material-ui-cra-styled-components) -- [Material UI + CRA + styled-components (TypeScript)](https://github.com/mui/material-ui/tree/next/examples/material-ui-cra-styled-components-ts) +- [Material UI + CRA + styled-components (JavaScript)](https://github.com/mui/material-ui/tree/master/examples/material-ui-cra-styled-components) +- [Material UI + CRA + styled-components (TypeScript)](https://github.com/mui/material-ui/tree/master/examples/material-ui-cra-styled-components-ts) :::warning `@emotion/react`, `@emotion/styled`, and `styled-components` are optional peer dependencies of `@mui/material`, so you need to install them yourself. diff --git a/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md b/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md index dd449af5f953e1..f68b77369cc4b4 100644 --- a/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md +++ b/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md @@ -46,7 +46,7 @@ MUI System props (such as `mt={*}`, `bgcolor={*}`, and more) have been deprecat Use the codemod below to move all System props to the `sx` prop: ```bash -npx @mui/codemod@next v6.0.0/system-props +npx @mui/codemod@latest v6.0.0/system-props ``` You can also manually update your components as shown in the snippet below: @@ -63,7 +63,7 @@ Custom component variants defined in the theme are now merged with the theme sty Use this codemod to update your project's theme file: ```bash -npx @mui/codemod@next v6.0.0/theme-v6 +npx @mui/codemod@latest v6.0.0/theme-v6 ``` You can also manually update your theme as shown in the snippet below: @@ -246,7 +246,7 @@ Here's how to migrate: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#autocomplete-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/autocomplete-props +npx @mui/codemod@latest deprecations/autocomplete-props ``` ### componentsProps @@ -274,7 +274,7 @@ The Autocomplete's `componentsProps` prop was deprecated in favor of `slotProps` Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#avatar-group-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/avatar-group-props +npx @mui/codemod@latest deprecations/avatar-group-props ``` ### slotProps.additionalAvatar @@ -332,7 +332,7 @@ The AvatarGroup's `componentsProps` was deprecated in favor of `slotProps`: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#backdrop-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/backdrop-props +npx @mui/codemod@latest deprecations/backdrop-props ``` ### components @@ -362,7 +362,7 @@ The Backdrop's `componentsProps` prop was deprecated in favor of `slotProps`: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#badge-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/badge-props +npx @mui/codemod@latest deprecations/badge-props ``` ### components @@ -941,7 +941,7 @@ Here's how to migrate: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#circular-progress-classes) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/circular-progress-classes +npx @mui/codemod@latest deprecations/circular-progress-classes ``` ### Composed CSS classes @@ -1000,7 +1000,7 @@ The Divider's `light` prop was deprecated, Use `sx={{ opacity : "0.6" }}` (or an Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#filled-input-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/filled-input-props +npx @mui/codemod@latest deprecations/filled-input-props ``` ### components @@ -1030,7 +1030,7 @@ The FilledInput's prop `componentsProps` was deprecated in favor of `slotProps`: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#form-control-label-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/form-control-label-props +npx @mui/codemod@latest deprecations/form-control-label-props ``` ### componentsProps @@ -1049,7 +1049,7 @@ The FormControlLabel's `componentsProps` prop was deprecated in favor of `slotPr Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#input-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/input-props +npx @mui/codemod@latest deprecations/input-props ``` ### components @@ -1079,7 +1079,7 @@ The Input's prop `componentsProps` was deprecated in favor of `slotProps`: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#input-base-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/input-base-props +npx @mui/codemod@latest deprecations/input-base-props ``` ### components @@ -1109,7 +1109,7 @@ The InputBase's prop `componentsProps` was deprecated in favor of `slotProps`: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#list-item-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/list-item-props +npx @mui/codemod@latest deprecations/list-item-props ``` ### components @@ -1171,7 +1171,7 @@ The ListItemSecondaryAction component was deprecated in favor of the `secondaryA Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#grid-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/grid-props +npx @mui/codemod@latest deprecations/grid-props ``` ### wrap prop @@ -1190,7 +1190,7 @@ The Grid's `wrap` prop was deprecated in favor of `flexWrap` MUI System prop: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#image-list-item-bar-classes) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/image-list-item-bar-classes +npx @mui/codemod@latest deprecations/image-list-item-bar-classes ``` ### Composed CSS classes @@ -1246,7 +1246,7 @@ Here's how to migrate: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#modal-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/modal-props +npx @mui/codemod@latest deprecations/modal-props ``` ### components @@ -1276,7 +1276,7 @@ The Modal's `componentsProps` prop was deprecated in favor of `slotProps`: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#outlined-input-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/outlined-input-props +npx @mui/codemod@latest deprecations/outlined-input-props ``` ### components @@ -1306,7 +1306,7 @@ The OutlinedInput's prop `componentsProps` was deprecated in favor of `slotProps Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#pagination-item-classes) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/pagination-item-classes +npx @mui/codemod@latest deprecations/pagination-item-classes ``` ### Composed CSS classes @@ -1369,7 +1369,7 @@ The PaginationItems's `components` prop was deprecated in favor of `slots`: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#popper-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/popper-props +npx @mui/codemod@latest deprecations/popper-props ``` ### components @@ -1469,7 +1469,7 @@ Here's how to migrate: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#tab-classes) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/tab-classes +npx @mui/codemod@latest deprecations/tab-classes ``` ### Composed CSS classes @@ -1503,7 +1503,7 @@ Here's how to migrate: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#table-sort-label-classes) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/table-sort-label-classes +npx @mui/codemod@latest deprecations/table-sort-label-classes ``` ### Composed CSS classes @@ -1543,7 +1543,7 @@ Here's how to migrate: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#text-field-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/text-field-props +npx @mui/codemod@latest deprecations/text-field-props ``` ### \*Props props @@ -1572,7 +1572,7 @@ All of the TextField's slot props (`*Props`) props were deprecated in favor of e Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#tooltip-props) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/tooltip-props +npx @mui/codemod@latest deprecations/tooltip-props ``` ### components @@ -1647,7 +1647,7 @@ The StepLabel's `componentsProps` prop was deprecated in favor of `slotProps`: Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#step-connector-classes) below to migrate the code as described in the following sections: ```bash -npx @mui/codemod@next deprecations/step-connector-classes +npx @mui/codemod@latest deprecations/step-connector-classes ``` ### Composed CSS classes diff --git a/docs/data/material/migration/upgrade-to-v6/migrating-to-pigment-css.md b/docs/data/material/migration/upgrade-to-v6/migrating-to-pigment-css.md index f3dca514efd548..236d2c81c1f576 100644 --- a/docs/data/material/migration/upgrade-to-v6/migrating-to-pigment-css.md +++ b/docs/data/material/migration/upgrade-to-v6/migrating-to-pigment-css.md @@ -295,7 +295,7 @@ const theme = extendTheme({ Run the following codemod to remove the owner state from the theme: ```bash -npx @mui/codemod@next v6.0.0/theme-v6 next.config.mjs +npx @mui/codemod@latest v6.0.0/theme-v6 next.config.mjs ``` There are cases where the codemod is not able to remove the owner state. In such cases, you have to manually replace the owner state with `variants`. @@ -399,7 +399,7 @@ Use `DefaultPropsProvider` in your main application file and move all the compon Run the following codemod: ```bash -npx @mui/codemod@next v6.0.0/sx-prop path/to/folder +npx @mui/codemod@latest v6.0.0/sx-prop path/to/folder ``` The scenarios below are not covered by the codemod, so you have to manually update them: @@ -485,7 +485,7 @@ If you have custom components that are using `styled` from `@mui/material/styles Then, run the following codemod: ```bash -npx @mui/codemod@next v6.0.0/styled path/to/folder +npx @mui/codemod@latest v6.0.0/styled path/to/folder ``` The scenarios below are not covered by the codemod, so you have to manually update them: diff --git a/docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md b/docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md index 51851bac715449..0acd3bcec0e275 100644 --- a/docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md +++ b/docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md @@ -23,16 +23,7 @@ Material UI v6 features several other quality-of-life improvements, including: - support for [container queries](/material-ui/customization/container-queries/) - a [new theme utility](#color-mode-theme-utility) for adding styles to specific color modes -## Start using the beta release - -In your `package.json` file, change the package version from `"latest"` to `"next"`. - -```diff title="package.json" --"@mui/material": "latest", -+"@mui/material": "next", -``` - -If you're using any of these packages, you can also change their version to `"next"`: +If you're using any of these packages, you can also change their version to `"6.0.0"`: - `@mui/icons-material` - `@mui/system` @@ -281,7 +272,7 @@ Additionally, the `true` value for the `size` prop was renamed to `"grow"`: Use this codemod to migrate your project to the new `size` and `offset` props: ```bash -npx @mui/codemod@next v6.0.0/grid-v2-props +npx @mui/codemod@latest v6.0.0/grid-v2-props ``` :::warning @@ -300,7 +291,7 @@ The usage described above also applies to custom breakpoints: You can use the same codemod for custom breakpoints by providing the breakpoints as an argument: ```bash -npx @mui/codemod@next v6.0.0/grid-v2-props --jscodeshift='--muiBreakpoints=mobile,desktop' +npx @mui/codemod@latest v6.0.0/grid-v2-props --jscodeshift='--muiBreakpoints=mobile,desktop' ``` #### disableEqualOverflow prop removed @@ -343,7 +334,7 @@ Still, we strongly recommend adopting this new behavior rather than trying to re Use this codemod to migrate your project to the `ListItemButton` component: ```bash -npx @mui/codemod@next v6.0.0/list-item-button-prop +npx @mui/codemod@latest v6.0.0/list-item-button-prop ``` As the `ListItem` no longer supports these props, the class names related to these props were removed. You should use the `listItemButtonClasses` object instead. @@ -369,11 +360,6 @@ As the `ListItem` no longer supports these props, the class names related to the In v6, the `children` prop passed to the Loading Button component is now wrapped in a `` tag to avoid [issues](https://github.com/mui/material-ui/issues/27853) when using tools to translate websites. -### Rating - -Previously, due to a bug, the `aria-label` attribute was "null Stars" when no value was set in the Rating component. -This is fixed in v6, with the `aria-label` attribute being "0 Stars" when no value is set. - ### useMediaQuery types The following deprecated types are removed in v6: @@ -462,9 +448,9 @@ Material UI v6 introduces a new utility for adding styles to specific color mod Use these codemods to migrate your project to `theme.applyStyles`: ```bash -npx @mui/codemod@next v6.0.0/styled -npx @mui/codemod@next v6.0.0/sx-prop -npx @mui/codemod@next v6.0.0/theme-v6 +npx @mui/codemod@latest v6.0.0/styled +npx @mui/codemod@latest v6.0.0/sx-prop +npx @mui/codemod@latest v6.0.0/theme-v6 ``` :::info diff --git a/docs/data/styles/basics/basics.md b/docs/data/styles/basics/basics.md index deab3798fbaeb8..f654a750ce5d72 100644 --- a/docs/data/styles/basics/basics.md +++ b/docs/data/styles/basics/basics.md @@ -17,14 +17,10 @@ Please use [`@mui/system`](/system/getting-started/) instead. To install and save in your `package.json` dependencies, run: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - ```bash -npm install @mui/styles@next +npm install @mui/styles ``` ## Getting started diff --git a/docs/data/system/getting-started/installation/installation.md b/docs/data/system/getting-started/installation/installation.md index cd726fce05e8be..8bea51f6f8d758 100644 --- a/docs/data/system/getting-started/installation/installation.md +++ b/docs/data/system/getting-started/installation/installation.md @@ -6,20 +6,18 @@ Run one of the following commands to add MUI System to your project: - - ```bash npm -npm install @mui/system@next @emotion/react @emotion/styled +npm install @mui/system @emotion/react @emotion/styled ``` ```bash pnpm -pnpm add @mui/system@next @emotion/react @emotion/styled +pnpm add @mui/system @emotion/react @emotion/styled ``` ```bash yarn -yarn add @mui/system@next @emotion/react @emotion/styled +yarn add @mui/system @emotion/react @emotion/styled ``` @@ -41,24 +39,20 @@ Please note that [react](https://www.npmjs.com/package/react) is a peer dependen MUI System uses [Emotion](https://emotion.sh/docs/introduction) as its default styling engine. If you want to use [styled-components](https://styled-components.com/) instead, run one of the following commands: -:::info -The `next` tag is used to download the latest pre-release, v6 version. Remove it to get the current stable version. -::: - ```bash npm -npm install @mui/system@next @mui/styled-engine-sc@next styled-components +npm install @mui/system @mui/styled-engine-sc styled-components ``` ```bash pnpm -pnpm add @mui/system@next @mui/styled-engine-sc@next styled-components +pnpm add @mui/system @mui/styled-engine-sc styled-components ``` ```bash yarn -yarn add @mui/system@next @mui/styled-engine-sc@next styled-components +yarn add @mui/system @mui/styled-engine-sc styled-components ``` diff --git a/docs/data/system/getting-started/the-sx-prop/the-sx-prop.md b/docs/data/system/getting-started/the-sx-prop/the-sx-prop.md index e3a2c5f4ee7dee..61f86a7491bbf5 100644 --- a/docs/data/system/getting-started/the-sx-prop/the-sx-prop.md +++ b/docs/data/system/getting-started/the-sx-prop/the-sx-prop.md @@ -209,7 +209,7 @@ Please use the callback as the entire value instead. You can migrate the code using our codemod: ```bash -npx @mui/codemod@next v6.0.0/sx-prop path/to/file-or-folder +npx @mui/codemod@latest v6.0.0/sx-prop path/to/file-or-folder ``` ::: diff --git a/docs/data/system/getting-started/usage/usage.md b/docs/data/system/getting-started/usage/usage.md index 13eecae50d9099..6d3d0bae641795 100644 --- a/docs/data/system/getting-started/usage/usage.md +++ b/docs/data/system/getting-started/usage/usage.md @@ -158,7 +158,7 @@ Runtime performance takes a hit. -Visit the [benchmark folder](https://github.com/mui/material-ui/tree/next/benchmark/browser) for a reproduction of the metrics above. +Visit the [benchmark folder](https://github.com/mui/material-ui/tree/master/benchmark/browser) for a reproduction of the metrics above. We believe that for most use cases it's fast enough, but there are simple workarounds when performance becomes critical. For instance, when rendering a list with many items, you can use a CSS child selector to have a single "style injection" point (using d. for the wrapper and a. for each item). diff --git a/docs/data/system/migration/migrating-to-v6/migrating-to-v6.md b/docs/data/system/migration/migrating-to-v6/migrating-to-v6.md index e34a9766a07b19..65e00ad0312b07 100644 --- a/docs/data/system/migration/migrating-to-v6/migrating-to-v6.md +++ b/docs/data/system/migration/migrating-to-v6/migrating-to-v6.md @@ -96,7 +96,7 @@ Besides that, the `true` value for the size prop was renamed to `"grow"`: Use this codemod to migrate your project to the new size and offset props: ```bash -npx @mui/codemod@next v6.0.0/grid-v2-props +npx @mui/codemod@latest v6.0.0/grid-v2-props ``` :::warning @@ -113,7 +113,7 @@ If you have custom breakpoints, the change is the same: Which you can cover with the same codemod by providing the custom breakpoints as an argument: ```bash -npx @mui/codemod@next v6.0.0/grid-v2-props --jscodeshift='--muiBreakpoints=mobile,desktop' +npx @mui/codemod@latest v6.0.0/grid-v2-props --jscodeshift='--muiBreakpoints=mobile,desktop' ``` #### Removal of the disableEqualOverflow prop diff --git a/docs/next.config.mjs b/docs/next.config.mjs index 4fe7014fb0b469..78b8bbe89ce1f0 100644 --- a/docs/next.config.mjs +++ b/docs/next.config.mjs @@ -192,7 +192,7 @@ export default withDocsInfra({ // docs-infra LIB_VERSION: pkg.version, SOURCE_CODE_REPO: 'https://github.com/mui/material-ui', - SOURCE_GITHUB_BRANCH: 'next', // #default-branch-switch + SOURCE_GITHUB_BRANCH: 'master', // #default-branch-switch GITHUB_TEMPLATE_DOCS_FEEDBACK: '4.docs-feedback.yml', BUILD_ONLY_ENGLISH_LOCALE: String(buildOnlyEnglishLocale), // MUI Core related diff --git a/docs/package.json b/docs/package.json index 6d8b262a843324..cc6057b843bd92 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,7 +9,7 @@ "build:clean": "rimraf .next && pnpm build", "build-sw": "node ./scripts/buildServiceWorker.js", "dev": "next dev", - "deploy": "git push -f material-ui-docs next:next", + "deploy": "git push -f material-ui-docs master:latest", "icons": "rimraf --glob public/static/icons/* && node ./scripts/buildIcons.js", "start": "serve ./export", "create-playground": "cpy --cwd=scripts playground.template.tsx ../../pages/playground --rename=index.tsx", diff --git a/docs/pages/_app.js b/docs/pages/_app.js index 1752c016ee7382..1b3a4e4e061636 100644 --- a/docs/pages/_app.js +++ b/docs/pages/_app.js @@ -178,7 +178,10 @@ function AppWrapper(props) { wordmarkSvg: muiSvgWordmarkString, versions: [ { text: `v${materialPkgJson.version}`, current: true }, - { text: `v5`, href: `https://mui.com${languagePrefix}/material-ui/getting-started/` }, + { + text: 'v5', + href: `https://v5.mui.com${languagePrefix}/getting-started/installation/`, + }, { text: 'v4', href: `https://v4.mui.com${languagePrefix}/getting-started/installation/`, @@ -211,7 +214,6 @@ function AppWrapper(props) { wordmarkSvg: muiSvgWordmarkString, versions: [ { text: `v${systemPkgJson.version}`, current: true }, - { text: 'v5', href: `https://mui.com${languagePrefix}/system/getting-started/` }, { text: 'v4', href: `https://v4.mui.com${languagePrefix}/system/basics/` }, { text: 'View all versions', diff --git a/docs/src/modules/components/MaterialUIExampleCollection.js b/docs/src/modules/components/MaterialUIExampleCollection.js index 064f2f22912eaa..e30d49e68a5eca 100644 --- a/docs/src/modules/components/MaterialUIExampleCollection.js +++ b/docs/src/modules/components/MaterialUIExampleCollection.js @@ -14,78 +14,78 @@ const examples = [ name: 'Next.js App Router', label: 'View JavaScript', tsLabel: 'View TypeScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-nextjs', - tsLink: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-nextjs-ts', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-nextjs', + tsLink: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-nextjs-ts', src: '/static/images/examples/next.svg', }, { name: 'Next.js Pages Router', label: 'View JavaScript', tsLabel: 'View TypeScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-nextjs-pages-router', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-nextjs-pages-router', tsLink: - 'https://github.com/mui/material-ui/tree/next/examples/material-ui-nextjs-pages-router-ts', + 'https://github.com/mui/material-ui/tree/master/examples/material-ui-nextjs-pages-router-ts', src: '/static/images/examples/next.svg', }, { name: 'Vite.js', label: 'View JavaScript', tsLabel: 'View TypeScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-vite', - tsLink: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-vite-ts', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-vite', + tsLink: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-vite-ts', src: '/static/images/examples/vite.svg', }, { name: 'Remix', label: 'View TypeScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-remix-ts', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-remix-ts', src: '/static/images/examples/remix.svg', }, { name: 'Create React App', label: 'View JavaScript', tsLabel: 'View TypeScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-cra', - tsLink: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-cra-ts', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-cra', + tsLink: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-cra-ts', src: '/static/images/examples/cra.svg', }, { name: 'Tailwind CSS + Create React App', label: 'View TypeScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-cra-tailwind-ts', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-cra-tailwind-ts', src: '/static/images/examples/tailwindcss.svg', }, { name: 'styled-components', label: 'View JavaScript', tsLabel: 'View TypeScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-cra-styled-components', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-cra-styled-components', tsLink: - 'https://github.com/mui/material-ui/tree/next/examples/material-ui-cra-styled-components-ts', + 'https://github.com/mui/material-ui/tree/master/examples/material-ui-cra-styled-components-ts', src: '/static/images/examples/styled.png', }, { name: 'Preact', label: 'View JavaScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-preact', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-preact', src: '/static/images/examples/preact.svg', }, { name: 'CDN', label: 'View JavaScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-via-cdn', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-via-cdn', src: , }, { name: 'Express.js (server-rendered)', label: 'View JavaScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-express-ssr', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-express-ssr', src: '/static/images/examples/express.png', }, { name: 'Gatsby', label: 'View JavaScript', - link: 'https://github.com/mui/material-ui/tree/next/examples/material-ui-gatsby', + link: 'https://github.com/mui/material-ui/tree/master/examples/material-ui-gatsby', src: '/static/images/examples/gatsby.svg', }, { diff --git a/docs/src/modules/sandbox/CodeSandbox.test.js b/docs/src/modules/sandbox/CodeSandbox.test.js index 16249c8dc4500c..16f745b352da2a 100644 --- a/docs/src/modules/sandbox/CodeSandbox.test.js +++ b/docs/src/modules/sandbox/CodeSandbox.test.js @@ -33,7 +33,7 @@ describe('CodeSandbox', () => { 'https://github.com/mui/material-ui/blob/v5.7.0/docs/data/material/components/buttons/BasicButtons.js', dependencies: { react: 'latest', - '@mui/material': 'next', + '@mui/material': 'latest', 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', @@ -123,7 +123,7 @@ ReactDOM.createRoot(document.querySelector("#root")).render( 'https://github.com/mui/material-ui/blob/v5.7.0/docs/data/material/components/buttons/BasicButtons.tsx', dependencies: { react: 'latest', - '@mui/material': 'next', + '@mui/material': 'latest', 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', @@ -230,7 +230,7 @@ ReactDOM.createRoot(document.querySelector("#root")!).render( expect(result.dependencies).to.deep.equal({ '@emotion/react': 'latest', '@emotion/styled': 'latest', - '@mui/material': 'next', + '@mui/material': 'latest', '@types/react': 'latest', '@types/react-dom': 'latest', react: 'latest', diff --git a/docs/src/modules/sandbox/Dependencies.test.js b/docs/src/modules/sandbox/Dependencies.test.js index 94eca04aab7ac6..71b4f6b1cba69b 100644 --- a/docs/src/modules/sandbox/Dependencies.test.js +++ b/docs/src/modules/sandbox/Dependencies.test.js @@ -40,8 +40,8 @@ const styles = theme => ({ '@emotion/react': 'latest', '@emotion/styled': 'latest', '@foo-bar/bip': 'latest', - '@mui/material': 'next', - '@mui/base': 'next', + '@mui/material': 'latest', + '@mui/base': 'latest', 'prop-types': 'latest', }); }); @@ -71,7 +71,7 @@ const suggestions = [ 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', - '@mui/material': 'next', + '@mui/material': 'latest', '@unexisting/thing': 'latest', 'autosuggest-highlight': 'latest', 'prop-types': 'latest', @@ -100,8 +100,8 @@ import { LocalizationProvider as MuiPickersLocalizationProvider, KeyboardTimePic 'prop-types': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', - '@mui/material': 'next', - '@mui/lab': 'next', + '@mui/material': 'latest', + '@mui/lab': 'latest', }); }); @@ -127,8 +127,8 @@ import 'exceljs'; 'prop-types': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', - '@mui/material': 'next', - '@mui/lab': 'next', + '@mui/material': 'latest', + '@mui/lab': 'latest', exceljs: 'latest', }); }); @@ -146,8 +146,8 @@ import 'exceljs'; '@emotion/react': 'latest', '@emotion/styled': 'latest', '@foo-bar/bip': 'latest', - '@mui/material': 'next', - '@mui/base': 'next', + '@mui/material': 'latest', + '@mui/base': 'latest', '@types/foo-bar__bip': 'latest', '@types/prop-types': 'latest', '@types/react-dom': 'latest', @@ -167,7 +167,7 @@ import 'exceljs'; 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', - '@mui/material': 'next', + '@mui/material': 'latest', '@types/react-dom': 'latest', '@types/react': 'latest', typescript: 'latest', @@ -195,8 +195,8 @@ import { 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', - '@mui/material': 'next', - '@mui/lab': 'next', + '@mui/material': 'latest', + '@mui/lab': 'latest', }); }); @@ -215,8 +215,8 @@ import lab from '@mui/lab'; 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', - '@mui/material': 'next', - '@mui/lab': 'next', + '@mui/material': 'latest', + '@mui/lab': 'latest', }); }); @@ -517,10 +517,10 @@ export default function EmailExample() { 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', - '@mui/icons-material': 'next', - '@mui/joy': 'next', - '@mui/material': 'next', - '@mui/system': 'next', + '@mui/icons-material': 'latest', + '@mui/joy': 'latest', + '@mui/material': 'latest', + '@mui/system': 'latest', '@types/react': 'latest', '@types/react-dom': 'latest', typescript: 'latest', diff --git a/docs/src/modules/sandbox/Dependencies.ts b/docs/src/modules/sandbox/Dependencies.ts index 402276e228dad6..023fb4238c4d79 100644 --- a/docs/src/modules/sandbox/Dependencies.ts +++ b/docs/src/modules/sandbox/Dependencies.ts @@ -50,7 +50,7 @@ export default function SandboxDependencies( process.env.SOURCE_CODE_REPO !== 'https://github.com/mui/material-ui' ) { // #default-branch-switch - return 'next'; + return 'latest'; } const shortSha = commitRef.slice(0, 8); return `https://pkg.csb.dev/mui/material-ui/commit/${shortSha}/@mui/${packageName}`; diff --git a/docs/src/modules/sandbox/StackBlitz.test.js b/docs/src/modules/sandbox/StackBlitz.test.js index 67bc0625b4cf80..0d25c2a95c77b7 100644 --- a/docs/src/modules/sandbox/StackBlitz.test.js +++ b/docs/src/modules/sandbox/StackBlitz.test.js @@ -83,7 +83,7 @@ ReactDOM.createRoot(document.querySelector("#root")).render( }, dependencies: { react: 'latest', - '@mui/material': 'next', + '@mui/material': 'latest', 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', @@ -186,7 +186,7 @@ ReactDOM.createRoot(document.querySelector("#root")!).render( }, dependencies: { react: 'latest', - '@mui/material': 'next', + '@mui/material': 'latest', 'react-dom': 'latest', '@emotion/react': 'latest', '@emotion/styled': 'latest', diff --git a/examples/base-ui-cra-ts/README.md b/examples/base-ui-cra-ts/README.md index 2029b19cd297d5..7938f7fca126d0 100644 --- a/examples/base-ui-cra-ts/README.md +++ b/examples/base-ui-cra-ts/README.md @@ -11,7 +11,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/base-ui-cra-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/base-ui-cra-ts cd base-ui-cra-ts ``` @@ -26,6 +26,6 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/base-ui-cra-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/base-ui-cra-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/base-ui-cra-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/base-ui-cra-ts) diff --git a/examples/base-ui-cra/README.md b/examples/base-ui-cra/README.md index ba507114f7029d..b30905698d8d41 100644 --- a/examples/base-ui-cra/README.md +++ b/examples/base-ui-cra/README.md @@ -11,7 +11,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/base-ui-cra +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/base-ui-cra cd base-ui-cra ``` @@ -26,6 +26,6 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/base-ui-cra) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/base-ui-cra) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/base-ui-cra) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/base-ui-cra) diff --git a/examples/base-ui-nextjs-tailwind-ts/README.md b/examples/base-ui-nextjs-tailwind-ts/README.md index 4810c38b4c01ea..3f256ef21693d1 100644 --- a/examples/base-ui-nextjs-tailwind-ts/README.md +++ b/examples/base-ui-nextjs-tailwind-ts/README.md @@ -9,7 +9,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/base-ui-nextjs-tailwind-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/base-ui-nextjs-tailwind-ts cd base-ui-nextjs-tailwind-ts ``` @@ -24,9 +24,9 @@ or -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/base-ui-nextjs-tailwind-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/base-ui-nextjs-tailwind-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/base-ui-nextjs-tailwind-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/base-ui-nextjs-tailwind-ts) ## Learn more diff --git a/examples/base-ui-vite-tailwind-ts/README.md b/examples/base-ui-vite-tailwind-ts/README.md index fb1f58b18a3714..4545337ebfed16 100644 --- a/examples/base-ui-vite-tailwind-ts/README.md +++ b/examples/base-ui-vite-tailwind-ts/README.md @@ -10,10 +10,8 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): - - ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/base-ui-vite-tailwind-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/base-ui-vite-tailwind-ts cd base-ui-vite-tailwind-ts ``` @@ -28,6 +26,6 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/base-ui-vite-tailwind-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/base-ui-vite-tailwind-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/next/master/examples/base-ui-vite-tailwind-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/base-ui-vite-tailwind-ts) diff --git a/examples/base-ui-vite-tailwind/README.md b/examples/base-ui-vite-tailwind/README.md index c9eae3c65e2acc..37e997ae9ec3ee 100644 --- a/examples/base-ui-vite-tailwind/README.md +++ b/examples/base-ui-vite-tailwind/README.md @@ -10,10 +10,8 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): - - ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/base-ui-vite-tailwind +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/base-ui-vite-tailwind cd base-ui-vite-tailwind ``` @@ -28,6 +26,6 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/base-ui-vite-tailwind) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/base-ui-vite-tailwind) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/base-ui-vite-tailwind) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/base-ui-vite-tailwind) diff --git a/examples/joy-ui-cra-ts/README.md b/examples/joy-ui-cra-ts/README.md index e0de9c863fc936..01765382b76618 100644 --- a/examples/joy-ui-cra-ts/README.md +++ b/examples/joy-ui-cra-ts/README.md @@ -9,7 +9,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/joy-ui-cra-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/joy-ui-cra-ts cd joy-ui-cra-ts ``` @@ -24,13 +24,13 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/joy-ui-cra-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/joy-ui-cra-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/joy-ui-cra-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/joy-ui-cra-ts) ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://next.mui.com/joy-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://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 5be78719e54c3a..796dc1137db89c 100644 --- a/examples/joy-ui-nextjs-ts/README.md +++ b/examples/joy-ui-nextjs-ts/README.md @@ -9,7 +9,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/joy-ui-nextjs-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/joy-ui-nextjs-ts cd joy-ui-nextjs-ts ``` @@ -26,9 +26,9 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/joy-ui-nextjs-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/joy-ui-nextjs-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/joy-ui-nextjs-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/joy-ui-nextjs-ts) ## Learn more @@ -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://next.mui.com/joy-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://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 573ee7874108e2..dcc482bdfd04d9 100644 --- a/examples/joy-ui-vite-ts/README.md +++ b/examples/joy-ui-vite-ts/README.md @@ -11,7 +11,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/joy-ui-vite-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/joy-ui-vite-ts cd joy-ui-vite-ts ``` @@ -26,9 +26,9 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/joy-ui-vite-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/joy-ui-vite-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/joy-ui-vite-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/joy-ui-vite-ts) ## The idea behind the example @@ -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://next.mui.com/joy-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/joy-ui/getting-started/templates/) section. diff --git a/examples/material-ui-cra-styled-components-ts/README.md b/examples/material-ui-cra-styled-components-ts/README.md index e4fe2372157f31..4fa59826c2ab3b 100644 --- a/examples/material-ui-cra-styled-components-ts/README.md +++ b/examples/material-ui-cra-styled-components-ts/README.md @@ -23,7 +23,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-cra-styled-components-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-cra-styled-components-ts cd material-ui-cra-styled-components-ts ``` @@ -40,7 +40,7 @@ npm start Note that CodeSandbox is not supporting react-app-rewired, yet you can [still see the code](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-cra-styled-components-ts). -The following link leverages this demo: https://next.mui.com/material-ui/integrations/interoperability/#change-the-default-styled-engine with Parcel's alias feature within the `package.json`. +The following link leverages this demo: https://mui.com/material-ui/integrations/interoperability/#change-the-default-styled-engine with Parcel's alias feature within the `package.json`. [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/styled-components-interoperability-w9z9d) @@ -57,4 +57,4 @@ Note, the version 5 of `@mui/styled-engine-sc` is compatible with version 5 of ` You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-cra-styled-components/README.md b/examples/material-ui-cra-styled-components/README.md index b8f29298bc033a..e4a94251ed7bc8 100644 --- a/examples/material-ui-cra-styled-components/README.md +++ b/examples/material-ui-cra-styled-components/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-cra-styled-components +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-cra-styled-components cd material-ui-cra-styled-components ``` @@ -24,7 +24,7 @@ npm start Note that CodeSandbox is not supporting react-app-rewired, yet you can [still see the code](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-cra-styled-components). -The following link leverages this demo: https://next.mui.com/material-ui/integrations/interoperability/#change-the-default-styled-engine with Parcel's alias feature within the `package.json`. +The following link leverages this demo: https://mui.com/material-ui/integrations/interoperability/#change-the-default-styled-engine with Parcel's alias feature within the `package.json`. [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/styled-components-interoperability-w9z9d) @@ -41,4 +41,4 @@ Note, the version 5 of `@mui/styled-engine-sc` is compatible with version 5 of ` You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-cra-tailwind-ts/README.md b/examples/material-ui-cra-tailwind-ts/README.md index 614cb515ce76c5..f4f8e5f13deb58 100644 --- a/examples/material-ui-cra-tailwind-ts/README.md +++ b/examples/material-ui-cra-tailwind-ts/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-cra-tailwind-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-cra-tailwind-ts cd material-ui-cra-tailwind-ts ``` @@ -22,10 +22,12 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-cra-tailwind-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-cra-tailwind-ts) ## The idea behind the example + + This example demonstrates how you can use [Tailwind CSS](https://tailwindcss.com/) and [Create React App](https://github.com/facebookincubator/create-react-app) together with Material UI. It includes `@mui/material` and its peer dependencies, including [Emotion](https://emotion.sh/docs/introduction), the default style engine in Material UI v6. @@ -34,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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-cra-ts/README.md b/examples/material-ui-cra-ts/README.md index 3841507285ad27..dfd9da114d38ae 100644 --- a/examples/material-ui-cra-ts/README.md +++ b/examples/material-ui-cra-ts/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-cra-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-cra-ts cd material-ui-cra-ts ``` @@ -22,19 +22,19 @@ or: -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-cra-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-cra-ts) -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-cra-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-cra-ts) ## The idea behind the example This example demonstrates how you can use Material UI with [Create React App](https://github.com/facebookincubator/create-react-app) in [TypeScript](https://github.com/Microsoft/TypeScript). It includes `@mui/material` and its peer dependencies, including [Emotion](https://emotion.sh/docs/introduction), the default style engine in Material UI v6. -If you prefer, you can [use styled-components instead](https://next.mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-cra/README.md b/examples/material-ui-cra/README.md index d467d5a6bd7d34..94dbc3515b6db6 100644 --- a/examples/material-ui-cra/README.md +++ b/examples/material-ui-cra/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-cra +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-cra cd material-ui-cra ``` @@ -22,9 +22,9 @@ or: -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-cra) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-cra) -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-cra) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-cra) ## The idea behind the example @@ -32,11 +32,11 @@ or: This example demonstrates how you can use [Create React App](https://github.com/facebookincubator/create-react-app) with Material UI. It includes `@mui/material` and its peer dependencies, including [Emotion](https://emotion.sh/docs/introduction), the default style engine in Material UI v6. -If you prefer, you can [use styled-components instead](https://next.mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-express-ssr/README.md b/examples/material-ui-express-ssr/README.md index f90ae384919690..2ee2fbc7f97917 100644 --- a/examples/material-ui-express-ssr/README.md +++ b/examples/material-ui-express-ssr/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-express-ssr +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-express-ssr cd material-ui-express-ssr ``` @@ -22,20 +22,20 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-express-ssr) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-express-ssr) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-express-ssr) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-express-ssr) ## The idea behind the example -This is the reference implementation of the [Server Rendering tutorial](https://next.mui.com/material-ui/guides/server-rendering/). +This is the reference implementation of the [Server Rendering tutorial](https://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 v6. -If you prefer, you can [use styled-components instead](https://next.mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-gatsby/README.md b/examples/material-ui-gatsby/README.md index 8902f146c90127..afdad50c1d209b 100644 --- a/examples/material-ui-gatsby/README.md +++ b/examples/material-ui-gatsby/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-gatsby +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-gatsby cd material-ui-gatsby ``` @@ -22,11 +22,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 v6. -If you prefer, you can [use styled-components instead](https://next.mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-nextjs-pages-router-ts/README.md b/examples/material-ui-nextjs-pages-router-ts/README.md index 0d0c7bab57fb2e..25e32aa803cfd2 100644 --- a/examples/material-ui-nextjs-pages-router-ts/README.md +++ b/examples/material-ui-nextjs-pages-router-ts/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-nextjs-pages-router-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-nextjs-pages-router-ts cd material-ui-nextjs-pages-router-ts ``` @@ -22,28 +22,28 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-nextjs-pages-router-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-nextjs-pages-router-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-nextjs-pages-router-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-nextjs-pages-router-ts) ## The idea behind the example **Note:** This example is set up to use the Next.js Pages Router. As of Next.js 13.4, the newer App Router pattern is stable. -We recommend starting new projects with the [Material UI with Next.js (App Router) example](https://github.com/mui/material-ui/tree/next/examples/material-ui-nextjs-ts) unless you need (or prefer) the Pages Router. +We recommend starting new projects with the [Material UI with Next.js (App Router) example](https://github.com/mui/material-ui/tree/master/examples/material-ui-nextjs-ts) unless you need (or prefer) the Pages Router. 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 v6. -If you prefer, you can [use styled-components instead](https://next.mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components). ## The link component 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://next.mui.com/material-ui/integrations/routing/#next-js-pages-router). +More information [in the documentation](https://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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-nextjs-pages-router/README.md b/examples/material-ui-nextjs-pages-router/README.md index e2073b85d66a0e..50453acf21f548 100644 --- a/examples/material-ui-nextjs-pages-router/README.md +++ b/examples/material-ui-nextjs-pages-router/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-nextjs-pages-router +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-nextjs-pages-router cd material-ui-nextjs-pages-router ``` @@ -22,28 +22,28 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-nextjs-pages-router) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-nextjs-pages-router) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-nextjs-pages-router) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-nextjs-pages-router) ## The idea behind the example **Note:** This example is set up to use the Next.js Pages Router. As of Next.js 13.4, the newer App Router pattern is stable. -We recommend starting new projects with the [Material UI with Next.js (App Router) example](https://github.com/mui/material-ui/tree/next/examples/material-ui-nextjs) unless you need (or prefer) the Pages Router. +We recommend starting new projects with the [Material UI with Next.js (App Router) example](https://github.com/mui/material-ui/tree/master/examples/material-ui-nextjs) unless you need (or prefer) the Pages Router. 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 v6. -If you prefer, you can [use styled-components instead](https://next.mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components). ## The Link component 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://next.mui.com/material-ui/integrations/routing/#next-js-pages-router). +More information [in the documentation](https://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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-nextjs-ts-v4-v5-migration/README.md b/examples/material-ui-nextjs-ts-v4-v5-migration/README.md index 1360296146ad15..5e735a257caa98 100644 --- a/examples/material-ui-nextjs-ts-v4-v5-migration/README.md +++ b/examples/material-ui-nextjs-ts-v4-v5-migration/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-nextjs-ts-v4-v5-migration +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-nextjs-ts-v4-v5-migration cd material-ui-nextjs-ts-v4-v5-migration ``` @@ -22,23 +22,23 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-nextjs-ts-v4-v5-migration) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-nextjs-ts-v4-v5-migration) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-nextjs-ts-v4-v5-migration) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-nextjs-ts-v4-v5-migration) ## The idea behind the example 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 v6. -If you prefer, you can [use styled-components instead](https://next.mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://mui.com/material-ui/integrations/interoperability/#styled-components). It also includes `@mui/styles`, the legacy styling solution that uses JSS as an engine. It provides all the necessary config for working with both Emotion and JSS for server-side rendering. The project is intended as a basic starter for migrating your application from v4 to v5, as it lets the JSS style overrides take precedence over the default styles passed to the components by Emotion. -It demonstrates what results after handling v5's breaking changes to the [theme](https://next.mui.com/material-ui/migration/v5-style-changes/) and [components](https://next.mui.com/material-ui/migration/v5-component-changes/). +It demonstrates what results after handling v5's breaking changes to the [theme](https://mui.com/material-ui/migration/v5-style-changes/) and [components](https://mui.com/material-ui/migration/v5-component-changes/). ## The Link component Next.js Pages Router has [a custom Link component](https://nextjs.org/docs/pages/api-reference/components/link). The example folder provides adapters for usage with Material UI. -You can find more information [in the documentation](https://next.mui.com/material-ui/integrations/routing/#next-js-pages-router). +You can find more information [in the documentation](https://mui.com/material-ui/integrations/routing/#next-js-pages-router). diff --git a/examples/material-ui-nextjs-ts/README.md b/examples/material-ui-nextjs-ts/README.md index 976964f5bf95b0..df5d86c065a2a4 100644 --- a/examples/material-ui-nextjs-ts/README.md +++ b/examples/material-ui-nextjs-ts/README.md @@ -9,7 +9,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-nextjs-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-nextjs-ts cd material-ui-nextjs-ts ``` @@ -26,9 +26,9 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-nextjs-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-nextjs-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-nextjs-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-nextjs-ts) ## Learn more @@ -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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-nextjs/README.md b/examples/material-ui-nextjs/README.md index 13eacf4492aac3..98ea0fabe4fc94 100644 --- a/examples/material-ui-nextjs/README.md +++ b/examples/material-ui-nextjs/README.md @@ -9,7 +9,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-nextjs +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-nextjs cd material-ui-nextjs ``` @@ -26,20 +26,20 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-nextjs) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-nextjs) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-nextjs) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-nextjs) ## Learn more To learn more about this example: - [Next.js documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Customizing Material UI](https://next.mui.com/material-ui/customization/how-to-customize/) - approaches to customizing Material UI. +- [Customizing Material UI](https://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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-pigment-css-nextjs-ts/README.md b/examples/material-ui-pigment-css-nextjs-ts/README.md index 496bf263356018..ed2d9cf3e6a81a 100644 --- a/examples/material-ui-pigment-css-nextjs-ts/README.md +++ b/examples/material-ui-pigment-css-nextjs-ts/README.md @@ -9,7 +9,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-pigment-css-nextjs-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-pigment-css-nextjs-ts cd material-ui-pigment-css-nextjs-ts ``` @@ -26,9 +26,9 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-pigment-css-nextjs-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-pigment-css-nextjs-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-pigment-css-nextjs-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-pigment-css-nextjs-ts) ## Learn more @@ -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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-pigment-css-vite-ts/README.md b/examples/material-ui-pigment-css-vite-ts/README.md index 78b6bde93e935f..a685e472732239 100644 --- a/examples/material-ui-pigment-css-vite-ts/README.md +++ b/examples/material-ui-pigment-css-vite-ts/README.md @@ -22,9 +22,9 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-pigment-css-vite-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-pigment-css-vite-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-pigment-css-vite-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-pigment-css-vite-ts) ## The idea behind the example @@ -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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-preact/README.md b/examples/material-ui-preact/README.md index 9ee7e2da1658cf..a374fabc65c404 100644 --- a/examples/material-ui-preact/README.md +++ b/examples/material-ui-preact/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-preact +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-preact cd material-ui-preact ``` @@ -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://next.mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-remix-ts/README.md b/examples/material-ui-remix-ts/README.md index e07f487f0a0a09..4cba4dca5836f9 100644 --- a/examples/material-ui-remix-ts/README.md +++ b/examples/material-ui-remix-ts/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-remix-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-remix-ts cd material-ui-remix-ts ``` @@ -22,19 +22,19 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-remix-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-remix-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-remix-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-remix-ts) ## The idea behind the example 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 v6. -If you prefer, you can [use styled-components instead](https://next.mui.com/material-ui/integrations/interoperability/#styled-components). +If you prefer, you can [use styled-components instead](https://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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-via-cdn/README.md b/examples/material-ui-via-cdn/README.md index ae7543e2eee7ee..4e3b10b3830c7b 100644 --- a/examples/material-ui-via-cdn/README.md +++ b/examples/material-ui-via-cdn/README.md @@ -4,10 +4,8 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): - - ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-via-cdn +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-via-cdn cd material-ui-via-cdn ``` @@ -25,11 +23,11 @@ The client has to download the entire library, regardless of which components ar -[The live preview.](https://rawcdn.githack.com/mui/material-ui/next/examples/material-ui-via-cdn/index.html) +[The live preview.](https://rawcdn.githack.com/mui/material-ui/master/examples/material-ui-via-cdn/index.html) ## What's next? You now have a working example project. -You can head back to the documentation and continue by browsing the [templates](https://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-vite-ts/README.md b/examples/material-ui-vite-ts/README.md index 3cb64a2104c2d9..0428f0631fac0d 100644 --- a/examples/material-ui-vite-ts/README.md +++ b/examples/material-ui-vite-ts/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-vite-ts +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-vite-ts cd material-ui-vite-ts ``` @@ -22,9 +22,9 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-vite-ts) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-vite-ts) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-vite-ts) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-vite-ts) ## The idea behind the example @@ -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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/examples/material-ui-vite/README.md b/examples/material-ui-vite/README.md index a1f08472eeeb69..185ce6aeabe059 100644 --- a/examples/material-ui-vite/README.md +++ b/examples/material-ui-vite/README.md @@ -7,7 +7,7 @@ Download the example [or clone the repo](https://github.com/mui/material-ui): ```bash -curl https://codeload.github.com/mui/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/material-ui-vite +curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-vite cd material-ui-vite ``` @@ -22,9 +22,9 @@ or: -[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/next/examples/material-ui-vite) +[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-vite) -[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/next/examples/material-ui-vite) +[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-vite) ## The idea behind the example @@ -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://next.mui.com/material-ui/getting-started/templates/) section. +You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section. diff --git a/package.json b/package.json index 386ce2c618bf8f..06d079a9c0d2b4 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "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", - "release:publish": "pnpm publish --recursive --tag next", - "release:publish:dry-run": "pnpm publish --recursive --tag next --registry=\"http://localhost:4873/\"", + "release:publish": "pnpm publish --recursive --tag latest", + "release:publish:dry-run": "pnpm publish --recursive --tag latest --registry=\"http://localhost:4873/\"", "release:tag": "node scripts/releaseTag.mjs", "docs:api": "rimraf --glob ./docs/pages/**/api-docs ./docs/pages/**/api && pnpm docs:api:build", "docs:api:build": "tsx ./scripts/buidApiDocs/index.ts", @@ -47,7 +47,7 @@ "stylelint": "stylelint --reportInvalidScopeDisables --reportNeedlessDisables \"docs/**/*.{js,ts,tsx}\" --ignore-path .gitignore", "markdownlint": "markdownlint-cli2 \"**/*.md\"", "valelint": "git ls-files | grep -h \".md$\" | xargs vale --filter='.Level==\"error\"'", - "prettier": "pretty-quick --ignore-path .eslintignore --branch next", + "prettier": "pretty-quick --ignore-path .eslintignore --branch master", "prettier:all": "prettier --write . --ignore-path .eslintignore", "size:snapshot": "node --max-old-space-size=4096 ./scripts/sizeSnapshot/create", "size:why": "pnpm size:snapshot --analyze", diff --git a/packages/api-docs-builder-core/baseUi/projectSettings.ts b/packages/api-docs-builder-core/baseUi/projectSettings.ts index 5c276df37500e9..fbedfbab331035 100644 --- a/packages/api-docs-builder-core/baseUi/projectSettings.ts +++ b/packages/api-docs-builder-core/baseUi/projectSettings.ts @@ -47,5 +47,5 @@ export const projectSettings: ProjectSettings = { generateClassName: generateUtilityClass, isGlobalClassName: isGlobalState, // #default-branch-switch - baseApiUrl: 'https://next.mui.com', + baseApiUrl: 'https://mui.com', }; diff --git a/packages/api-docs-builder-core/materialUi/projectSettings.ts b/packages/api-docs-builder-core/materialUi/projectSettings.ts index 5d0c11f161135a..2617c50f54983b 100644 --- a/packages/api-docs-builder-core/materialUi/projectSettings.ts +++ b/packages/api-docs-builder-core/materialUi/projectSettings.ts @@ -44,5 +44,5 @@ export const projectSettings: ProjectSettings = { generateClassName: generateUtilityClass, isGlobalClassName: isGlobalState, // #default-branch-switch - baseApiUrl: 'https://next.mui.com', + baseApiUrl: 'https://mui.com', }; diff --git a/packages/mui-base/README.md b/packages/mui-base/README.md index 45b919f6e3c34b..d84f270367e381 100644 --- a/packages/mui-base/README.md +++ b/packages/mui-base/README.md @@ -1,6 +1,6 @@

- Base UI logo + Base UI logo

Base UI

@@ -11,17 +11,15 @@ Base UI is a library of headless ("unstyled") React components and low-level ho Install the package in your project directory with: - - ```bash -npm install @mui/base@next +npm install @mui/base ``` ## Documentation -Visit [https://next.mui.com/base-ui/](https://next.mui.com/base-ui/) to view the full documentation. +Visit [https://mui.com/base-ui/](https://mui.com/base-ui/) to view the full documentation. ## Questions @@ -30,14 +28,14 @@ Use the "base-ui" tag on Stack Overflow to make it easier for the community to ## Examples -Our documentation features [a collection of example projects using Base UI](https://github.com/mui/material-ui/tree/next/examples). +Our documentation features [a collection of example projects using Base UI](https://github.com/mui/material-ui/tree/master/examples). ## Contributing Read the [contributing guide](/CONTRIBUTING.md) to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes. Contributing to Base UI is about more than just issues and pull requests! -There are many other ways to [support Base UI](https://next.mui.com/material-ui/getting-started/faq/#mui-is-awesome-how-can-i-support-the-project) beyond contributing to the code base. +There are many other ways to [support Base UI](https://mui.com/material-ui/getting-started/faq/#mui-is-awesome-how-can-i-support-the-project) beyond contributing to the code base. ## Changelog @@ -45,7 +43,7 @@ The [changelog](https://github.com/mui/material-ui/releases) is regularly update ## Roadmap -Future plans and high-priority features and enhancements can be found in the [roadmap](https://next.mui.com/material-ui/discover-more/roadmap/). +Future plans and high-priority features and enhancements can be found in the [roadmap](https://mui.com/material-ui/discover-more/roadmap/). ## License diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index 7fdd64cebd261b..8f89b4c048608f 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -43,7 +43,7 @@ "@babel/runtime": "^7.25.0", "@floating-ui/react-dom": "^2.1.1", "@mui/types": "workspace:^", - "@mui/utils": "workspace:*", + "@mui/utils": "workspace:^", "@popperjs/core": "^2.11.8", "clsx": "^2.1.1", "prop-types": "^15.8.1" diff --git a/packages/mui-base/src/FormControl/useFormControlContext.ts b/packages/mui-base/src/FormControl/useFormControlContext.ts index 686443e04ce523..19457e81686603 100644 --- a/packages/mui-base/src/FormControl/useFormControlContext.ts +++ b/packages/mui-base/src/FormControl/useFormControlContext.ts @@ -6,11 +6,11 @@ import { FormControlContext } from './FormControlContext'; * * Demos: * - * - [Form Control](https://next.mui.com/base-ui/react-form-control/#hook) + * - [Form Control](https://mui.com/base-ui/react-form-control/#hook) * * API: * - * - [useFormControlContext API](https://next.mui.com/base-ui/react-form-control/hooks-api/#use-form-control-context) + * - [useFormControlContext API](https://mui.com/base-ui/react-form-control/hooks-api/#use-form-control-context) */ export function useFormControlContext(): UseFormControlContextReturnValue | undefined { return React.useContext(FormControlContext); diff --git a/packages/mui-base/src/unstable_useModal/useModal.ts b/packages/mui-base/src/unstable_useModal/useModal.ts index 3217887ea3a2a5..3166acd289d6eb 100644 --- a/packages/mui-base/src/unstable_useModal/useModal.ts +++ b/packages/mui-base/src/unstable_useModal/useModal.ts @@ -30,11 +30,11 @@ const defaultManager = new ModalManager(); * * Demos: * - * - [Modal](https://next.mui.com/base-ui/react-modal/#hook) + * - [Modal](https://mui.com/base-ui/react-modal/#hook) * * API: * - * - [useModal API](https://next.mui.com/base-ui/react-modal/hooks-api/#use-modal) + * - [useModal API](https://mui.com/base-ui/react-modal/hooks-api/#use-modal) */ export function useModal(parameters: UseModalParameters): UseModalReturnValue { const { diff --git a/packages/mui-base/src/unstable_useNumberInput/useNumberInput.ts b/packages/mui-base/src/unstable_useNumberInput/useNumberInput.ts index 8c2acfa662e3e1..1129b7013fd1e7 100644 --- a/packages/mui-base/src/unstable_useNumberInput/useNumberInput.ts +++ b/packages/mui-base/src/unstable_useNumberInput/useNumberInput.ts @@ -36,11 +36,11 @@ export function getInputValueAsString(v: string): string { * * Demos: * - * - [Number Input](https://next.mui.com/base-ui/react-number-input/#hook) + * - [Number Input](https://mui.com/base-ui/react-number-input/#hook) * * API: * - * - [useNumberInput API](https://next.mui.com/base-ui/react-number-input/hooks-api/#use-number-input) + * - [useNumberInput API](https://mui.com/base-ui/react-number-input/hooks-api/#use-number-input) */ export function useNumberInput(parameters: UseNumberInputParameters): UseNumberInputReturnValue { const { diff --git a/packages/mui-base/src/useAutocomplete/useAutocomplete.d.ts b/packages/mui-base/src/useAutocomplete/useAutocomplete.d.ts index 989af6b831b3c1..8c0e920568c892 100644 --- a/packages/mui-base/src/useAutocomplete/useAutocomplete.d.ts +++ b/packages/mui-base/src/useAutocomplete/useAutocomplete.d.ts @@ -347,11 +347,11 @@ export type AutocompleteGetTagProps = ({ index }: { index: number }) => { * * Demos: * - * - [Autocomplete](https://next.mui.com/base-ui/react-autocomplete/#hook) + * - [Autocomplete](https://mui.com/base-ui/react-autocomplete/#hook) * * API: * - * - [useAutocomplete API](https://next.mui.com/base-ui/react-autocomplete/hooks-api/#use-autocomplete) + * - [useAutocomplete API](https://mui.com/base-ui/react-autocomplete/hooks-api/#use-autocomplete) */ export function useAutocomplete< Value, diff --git a/packages/mui-base/src/useBadge/useBadge.ts b/packages/mui-base/src/useBadge/useBadge.ts index 29fbdc8cc99d89..19422269495fbe 100644 --- a/packages/mui-base/src/useBadge/useBadge.ts +++ b/packages/mui-base/src/useBadge/useBadge.ts @@ -7,11 +7,11 @@ import { UseBadgeParameters, UseBadgeReturnValue } from './useBadge.types'; * * Demos: * - * - [Badge](https://next.mui.com/base-ui/react-badge/#hook) + * - [Badge](https://mui.com/base-ui/react-badge/#hook) * * API: * - * - [useBadge API](https://next.mui.com/base-ui/react-badge/hooks-api/#use-badge) + * - [useBadge API](https://mui.com/base-ui/react-badge/hooks-api/#use-badge) */ export function useBadge(parameters: UseBadgeParameters): UseBadgeReturnValue { const { diff --git a/packages/mui-base/src/useButton/useButton.ts b/packages/mui-base/src/useButton/useButton.ts index 4ddbfe62169954..03f9f3d968791c 100644 --- a/packages/mui-base/src/useButton/useButton.ts +++ b/packages/mui-base/src/useButton/useButton.ts @@ -17,11 +17,11 @@ import { MuiCancellableEvent } from '../utils/MuiCancellableEvent'; * * Demos: * - * - [Button](https://next.mui.com/base-ui/react-button/#hook) + * - [Button](https://mui.com/base-ui/react-button/#hook) * * API: * - * - [useButton API](https://next.mui.com/base-ui/react-button/hooks-api/#use-button) + * - [useButton API](https://mui.com/base-ui/react-button/hooks-api/#use-button) */ export function useButton(parameters: UseButtonParameters = {}): UseButtonReturnValue { const { diff --git a/packages/mui-base/src/useDropdown/useDropdown.ts b/packages/mui-base/src/useDropdown/useDropdown.ts index 5184a369d3c2dd..f6b1fc1be5e11c 100644 --- a/packages/mui-base/src/useDropdown/useDropdown.ts +++ b/packages/mui-base/src/useDropdown/useDropdown.ts @@ -10,11 +10,11 @@ import { dropdownReducer } from './dropdownReducer'; * * Demos: * - * - [Menu](https://next.mui.com/base-ui/react-menu/#hooks) + * - [Menu](https://mui.com/base-ui/react-menu/#hooks) * * API: * - * - [useDropdown API](https://next.mui.com/base-ui/react-menu/hooks-api/#use-dropdown) + * - [useDropdown API](https://mui.com/base-ui/react-menu/hooks-api/#use-dropdown) */ export function useDropdown(parameters: UseDropdownParameters = {}) { const { defaultOpen, onOpenChange, open: openProp, componentName = 'useDropdown' } = parameters; diff --git a/packages/mui-base/src/useInput/useInput.ts b/packages/mui-base/src/useInput/useInput.ts index 862fc573672d1e..146d7f0882232d 100644 --- a/packages/mui-base/src/useInput/useInput.ts +++ b/packages/mui-base/src/useInput/useInput.ts @@ -14,11 +14,11 @@ import { * * Demos: * - * - [Input](https://next.mui.com/base-ui/react-input/#hook) + * - [Input](https://mui.com/base-ui/react-input/#hook) * * API: * - * - [useInput API](https://next.mui.com/base-ui/react-input/hooks-api/#use-input) + * - [useInput API](https://mui.com/base-ui/react-input/hooks-api/#use-input) */ export function useInput(parameters: UseInputParameters = {}): UseInputReturnValue { const { diff --git a/packages/mui-base/src/useMenu/useMenu.ts b/packages/mui-base/src/useMenu/useMenu.ts index 06d3de7c0ed3ae..aa4215ee4b3b92 100644 --- a/packages/mui-base/src/useMenu/useMenu.ts +++ b/packages/mui-base/src/useMenu/useMenu.ts @@ -30,11 +30,11 @@ const FALLBACK_MENU_CONTEXT: DropdownContextValue = { * * Demos: * - * - [Menu](https://next.mui.com/base-ui/react-menu/#hooks) + * - [Menu](https://mui.com/base-ui/react-menu/#hooks) * * API: * - * - [useMenu API](https://next.mui.com/base-ui/react-menu/hooks-api/#use-menu) + * - [useMenu API](https://mui.com/base-ui/react-menu/hooks-api/#use-menu) */ export function useMenu(parameters: UseMenuParameters = {}): UseMenuReturnValue { const { diff --git a/packages/mui-base/src/useMenuButton/useMenuButton.ts b/packages/mui-base/src/useMenuButton/useMenuButton.ts index 4103e040bed9c2..82a04a688cee67 100644 --- a/packages/mui-base/src/useMenuButton/useMenuButton.ts +++ b/packages/mui-base/src/useMenuButton/useMenuButton.ts @@ -14,11 +14,11 @@ import { extractEventHandlers } from '../utils'; * * Demos: * - * - [Menu](https://next.mui.com/base-ui/react-menu/#hooks) + * - [Menu](https://mui.com/base-ui/react-menu/#hooks) * * API: * - * - [useMenuButton API](https://next.mui.com/base-ui/react-menu/hooks-api/#use-menu-button) + * - [useMenuButton API](https://mui.com/base-ui/react-menu/hooks-api/#use-menu-button) */ export function useMenuButton(parameters: UseMenuButtonParameters = {}): UseMenuButtonReturnValue { const { disabled = false, focusableWhenDisabled, rootRef: externalRef } = parameters; diff --git a/packages/mui-base/src/useMenuItem/useMenuItem.ts b/packages/mui-base/src/useMenuItem/useMenuItem.ts index 74545d2ddad541..40f6fee89998ea 100644 --- a/packages/mui-base/src/useMenuItem/useMenuItem.ts +++ b/packages/mui-base/src/useMenuItem/useMenuItem.ts @@ -34,11 +34,11 @@ const FALLBACK_MENU_CONTEXT: DropdownContextValue = { * * Demos: * - * - [Menu](https://next.mui.com/base-ui/react-menu/#hooks) + * - [Menu](https://mui.com/base-ui/react-menu/#hooks) * * API: * - * - [useMenuItem API](https://next.mui.com/base-ui/react-menu/hooks-api/#use-menu-item) + * - [useMenuItem API](https://mui.com/base-ui/react-menu/hooks-api/#use-menu-item) */ export function useMenuItem(params: UseMenuItemParameters): UseMenuItemReturnValue { const { diff --git a/packages/mui-base/src/useMenuItem/useMenuItemContextStabilizer.ts b/packages/mui-base/src/useMenuItem/useMenuItemContextStabilizer.ts index 259d52fedf809e..43e8719d5e0eac 100644 --- a/packages/mui-base/src/useMenuItem/useMenuItemContextStabilizer.ts +++ b/packages/mui-base/src/useMenuItem/useMenuItemContextStabilizer.ts @@ -8,11 +8,11 @@ import { ListContext, ListContextValue, ListItemState } from '../useList'; * * Demos: * - * - [Menu](https://next.mui.com/base-ui/react-menu/#hooks) + * - [Menu](https://mui.com/base-ui/react-menu/#hooks) * * API: * - * - [useMenuItemContextStabilizer API](https://next.mui.com/base-ui/react-menu/hooks-api/#use-menu-item-context-stabilizer) + * - [useMenuItemContextStabilizer API](https://mui.com/base-ui/react-menu/hooks-api/#use-menu-item-context-stabilizer) * * @param id - The id of the MenuItem. If undefined, it will be generated with useId. * @returns The stable ListContext value and the id of the MenuItem. diff --git a/packages/mui-base/src/useOption/useOption.ts b/packages/mui-base/src/useOption/useOption.ts index 69c344aa7954fe..3164a47f6d5cc8 100644 --- a/packages/mui-base/src/useOption/useOption.ts +++ b/packages/mui-base/src/useOption/useOption.ts @@ -14,11 +14,11 @@ import { EventHandlers } from '../utils/types'; * * Demos: * - * - [Select](https://next.mui.com/base-ui/react-select/#hooks) + * - [Select](https://mui.com/base-ui/react-select/#hooks) * * API: * - * - [useOption API](https://next.mui.com/base-ui/react-select/hooks-api/#use-option) + * - [useOption API](https://mui.com/base-ui/react-select/hooks-api/#use-option) */ export function useOption(params: UseOptionParameters): UseOptionReturnValue { const { value, label, disabled, rootRef: optionRefParam, id: idParam } = params; diff --git a/packages/mui-base/src/useOption/useOptionContextStabilizer.ts b/packages/mui-base/src/useOption/useOptionContextStabilizer.ts index 25230a3c5d47fd..fe77b4e319f17a 100644 --- a/packages/mui-base/src/useOption/useOptionContextStabilizer.ts +++ b/packages/mui-base/src/useOption/useOptionContextStabilizer.ts @@ -7,11 +7,11 @@ import { ListContext, ListContextValue } from '../useList'; * * Demos: * - * - [Select](https://next.mui.com/base-ui/react-select/#hooks) + * - [Select](https://mui.com/base-ui/react-select/#hooks) * * API: * - * - [useOptionContextStabilizer API](https://next.mui.com/base-ui/react-select/hooks-api/#use-option-context-stabilizer) + * - [useOptionContextStabilizer API](https://mui.com/base-ui/react-select/hooks-api/#use-option-context-stabilizer) * * @param value - The value of the Option. * @returns The stable ListContext value. diff --git a/packages/mui-base/src/useSelect/useSelect.ts b/packages/mui-base/src/useSelect/useSelect.ts index a14df7671a4ad9..984b93e32922b0 100644 --- a/packages/mui-base/src/useSelect/useSelect.ts +++ b/packages/mui-base/src/useSelect/useSelect.ts @@ -56,11 +56,11 @@ function defaultFormValueProvider( * * Demos: * - * - [Select](https://next.mui.com/base-ui/react-select/#hooks) + * - [Select](https://mui.com/base-ui/react-select/#hooks) * * API: * - * - [useSelect API](https://next.mui.com/base-ui/react-select/hooks-api/#use-select) + * - [useSelect API](https://mui.com/base-ui/react-select/hooks-api/#use-select) */ function useSelect( props: UseSelectParameters, diff --git a/packages/mui-base/src/useSlider/useSlider.ts b/packages/mui-base/src/useSlider/useSlider.ts index 695a8416fcfc3b..5fe4fdf97ecb0e 100644 --- a/packages/mui-base/src/useSlider/useSlider.ts +++ b/packages/mui-base/src/useSlider/useSlider.ts @@ -190,11 +190,11 @@ function doesSupportTouchActionNone() { * * Demos: * - * - [Slider](https://next.mui.com/base-ui/react-slider/#hook) + * - [Slider](https://mui.com/base-ui/react-slider/#hook) * * API: * - * - [useSlider API](https://next.mui.com/base-ui/react-slider/hooks-api/#use-slider) + * - [useSlider API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider) */ export function useSlider(parameters: UseSliderParameters): UseSliderReturnValue { const { diff --git a/packages/mui-base/src/useSnackbar/useSnackbar.ts b/packages/mui-base/src/useSnackbar/useSnackbar.ts index 68301be94b9284..4b9de6ad0754bb 100644 --- a/packages/mui-base/src/useSnackbar/useSnackbar.ts +++ b/packages/mui-base/src/useSnackbar/useSnackbar.ts @@ -17,11 +17,11 @@ import { EventHandlers } from '../utils/types'; * * Demos: * - * - [Snackbar](https://next.mui.com/base-ui/react-snackbar/#hook) + * - [Snackbar](https://mui.com/base-ui/react-snackbar/#hook) * * API: * - * - [useSnackbar API](https://next.mui.com/base-ui/react-snackbar/hooks-api/#use-snackbar) + * - [useSnackbar API](https://mui.com/base-ui/react-snackbar/hooks-api/#use-snackbar) */ export function useSnackbar(parameters: UseSnackbarParameters = {}): UseSnackbarReturnValue { const { diff --git a/packages/mui-base/src/useSwitch/useSwitch.ts b/packages/mui-base/src/useSwitch/useSwitch.ts index b63ca86d7cfb27..65b3ceaf88991f 100644 --- a/packages/mui-base/src/useSwitch/useSwitch.ts +++ b/packages/mui-base/src/useSwitch/useSwitch.ts @@ -12,11 +12,11 @@ import { UseSwitchParameters, UseSwitchReturnValue } from './useSwitch.types'; * * Demos: * - * - [Switch](https://next.mui.com/base-ui/react-switch/#hook) + * - [Switch](https://mui.com/base-ui/react-switch/#hook) * * API: * - * - [useSwitch API](https://next.mui.com/base-ui/react-switch/hooks-api/#use-switch) + * - [useSwitch API](https://mui.com/base-ui/react-switch/hooks-api/#use-switch) */ export function useSwitch(props: UseSwitchParameters): UseSwitchReturnValue { const { diff --git a/packages/mui-base/src/useTab/useTab.ts b/packages/mui-base/src/useTab/useTab.ts index 169e85266f8a75..de0d99f5232828 100644 --- a/packages/mui-base/src/useTab/useTab.ts +++ b/packages/mui-base/src/useTab/useTab.ts @@ -18,11 +18,11 @@ function tabValueGenerator(otherTabValues: Set) { * * Demos: * - * - [Tabs](https://next.mui.com/base-ui/react-tabs/#hooks) + * - [Tabs](https://mui.com/base-ui/react-tabs/#hooks) * * API: * - * - [useTab API](https://next.mui.com/base-ui/react-tabs/hooks-api/#use-tab) + * - [useTab API](https://mui.com/base-ui/react-tabs/hooks-api/#use-tab) */ function useTab(parameters: UseTabParameters): UseTabReturnValue { const { value: valueParam, rootRef: externalRef, disabled = false, id: idParam } = parameters; diff --git a/packages/mui-base/src/useTabPanel/useTabPanel.ts b/packages/mui-base/src/useTabPanel/useTabPanel.ts index 5914b00a59ae13..2f70921b40f6d3 100644 --- a/packages/mui-base/src/useTabPanel/useTabPanel.ts +++ b/packages/mui-base/src/useTabPanel/useTabPanel.ts @@ -17,11 +17,11 @@ function tabPanelValueGenerator(otherTabPanelValues: Set) { * * Demos: * - * - [Tabs](https://next.mui.com/base-ui/react-tabs/#hooks) + * - [Tabs](https://mui.com/base-ui/react-tabs/#hooks) * * API: * - * - [useTabPanel API](https://next.mui.com/base-ui/react-tabs/hooks-api/#use-tab-panel) + * - [useTabPanel API](https://mui.com/base-ui/react-tabs/hooks-api/#use-tab-panel) */ function useTabPanel(parameters: UseTabPanelParameters): UseTabPanelReturnValue { const { value: valueParam, id: idParam, rootRef: externalRef } = parameters; diff --git a/packages/mui-base/src/useTabs/useTabs.ts b/packages/mui-base/src/useTabs/useTabs.ts index 2fc70b3860c4b3..bf6e1d368f8f70 100644 --- a/packages/mui-base/src/useTabs/useTabs.ts +++ b/packages/mui-base/src/useTabs/useTabs.ts @@ -17,11 +17,11 @@ type IdLookupFunction = (id: string | number) => string | undefined; * * Demos: * - * - [Tabs](https://next.mui.com/base-ui/react-tabs/#hooks) + * - [Tabs](https://mui.com/base-ui/react-tabs/#hooks) * * API: * - * - [useTabs API](https://next.mui.com/base-ui/react-tabs/hooks-api/#use-tabs) + * - [useTabs API](https://mui.com/base-ui/react-tabs/hooks-api/#use-tabs) */ function useTabs(parameters: UseTabsParameters): UseTabsReturnValue { const { diff --git a/packages/mui-base/src/useTabsList/useTabsList.ts b/packages/mui-base/src/useTabsList/useTabsList.ts index 64afb1beef8118..3afdb4b8448dd6 100644 --- a/packages/mui-base/src/useTabsList/useTabsList.ts +++ b/packages/mui-base/src/useTabsList/useTabsList.ts @@ -17,11 +17,11 @@ import { tabsListReducer } from './tabsListReducer'; * * Demos: * - * - [Tabs](https://next.mui.com/base-ui/react-tabs/#hooks) + * - [Tabs](https://mui.com/base-ui/react-tabs/#hooks) * * API: * - * - [useTabsList API](https://next.mui.com/base-ui/react-tabs/hooks-api/#use-tabs-list) + * - [useTabsList API](https://mui.com/base-ui/react-tabs/hooks-api/#use-tabs-list) */ function useTabsList(parameters: UseTabsListParameters): UseTabsListReturnValue { const { rootRef: externalRef } = parameters; diff --git a/packages/mui-base/src/useTransition/useTransitionStateManager.ts b/packages/mui-base/src/useTransition/useTransitionStateManager.ts index a6cacbe15fa668..3c5043cd2628ed 100644 --- a/packages/mui-base/src/useTransition/useTransitionStateManager.ts +++ b/packages/mui-base/src/useTransition/useTransitionStateManager.ts @@ -19,11 +19,11 @@ export type UseTransitionStateManagerReturnValue = { * * Demos: * - * - [Transitions](https://next.mui.com/base-ui/react-transitions/#hooks) + * - [Transitions](https://mui.com/base-ui/react-transitions/#hooks) * * API: * - * - [useTransitionStateManager API](https://next.mui.com/base-ui/react-transitions/hooks-api/#use-transition-state-manager) + * - [useTransitionStateManager API](https://mui.com/base-ui/react-transitions/hooks-api/#use-transition-state-manager) */ export function useTransitionStateManager(): UseTransitionStateManagerReturnValue { const transitionContext = React.useContext(TransitionContext); diff --git a/packages/mui-base/src/useTransition/useTransitionTrigger.ts b/packages/mui-base/src/useTransition/useTransitionTrigger.ts index babc3caa150421..2430731fe1a91c 100644 --- a/packages/mui-base/src/useTransition/useTransitionTrigger.ts +++ b/packages/mui-base/src/useTransition/useTransitionTrigger.ts @@ -7,11 +7,11 @@ import { TransitionContextValue } from './TransitionContext'; * * Demos: * - * - [Transitions](https://next.mui.com/base-ui/react-transitions/#hooks) + * - [Transitions](https://mui.com/base-ui/react-transitions/#hooks) * * API: * - * - [useTransitionTrigger API](https://next.mui.com/base-ui/react-transitions/hooks-api/#use-transition-trigger) + * - [useTransitionTrigger API](https://mui.com/base-ui/react-transitions/hooks-api/#use-transition-trigger) */ export function useTransitionTrigger(requestEnter: boolean): UseTransitionTriggerReturnValue { const [exitTransitionFinished, setExitTransitionFinished] = React.useState(true); diff --git a/packages/mui-codemod/README.md b/packages/mui-codemod/README.md index 2786b3c83c0eb2..3e0eca4e86b811 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@next +npx @mui/codemod@latest Applies a `@mui/codemod` to the specified paths @@ -34,10 +34,10 @@ Options: --jscodeshift [string] [default: false] Examples: - npx @mui/codemod@next v4.0.0/theme-spacing-api src - npx @mui/codemod@next v5.0.0/component-rename-prop src -- + npx @mui/codemod@latest v4.0.0/theme-spacing-api src + npx @mui/codemod@latest v5.0.0/component-rename-prop src -- --component=Grid --from=prop --to=newProp - npx @mui/codemod@next v5.0.0/preset-safe src --parser=flow + npx @mui/codemod@latest v5.0.0/preset-safe src --parser=flow ``` ### jscodeshift options @@ -45,7 +45,7 @@ Examples: To pass more options directly to jscodeshift, use `--jscodeshift="..."`. For example: ```bash -npx @mui/codemod@next --jscodeshift="--run-in-band --verbose=2" +npx @mui/codemod@latest --jscodeshift="--run-in-band --verbose=2" ``` See all available options [here](https://github.com/facebook/jscodeshift#usage-cli). @@ -56,7 +56,7 @@ Options to [recast](https://github.com/benjamn/recast)'s printer can be provided through jscodeshift's `printOptions` command line argument ```bash -npx @mui/codemod@next --jscodeshift="--printOptions='{\"quote\":\"double\"}'" +npx @mui/codemod@latest --jscodeshift="--printOptions='{\"quote\":\"double\"}'" ``` ## Included scripts @@ -71,7 +71,7 @@ npx @mui/codemod@next --jscodeshift="--printOptions='{\"quote ### Deprecations ```bash -npx @mui/codemod@next deprecations/all +npx @mui/codemod@latest deprecations/all ``` #### `all` @@ -90,7 +90,7 @@ A combination of all deprecations. ``` ```bash -npx @mui/codemod@next deprecations/accordion-props +npx @mui/codemod@latest deprecations/accordion-props ``` #### `accordion-summary-classes` @@ -133,7 +133,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/accordion-summary-classes +npx @mui/codemod@latest deprecations/accordion-summary-classes ``` #### `alert-classes` @@ -229,7 +229,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/alert-classes +npx @mui/codemod@latest deprecations/alert-classes ``` #### `alert-props` @@ -255,7 +255,7 @@ npx @mui/codemod@next deprecations/alert-classes ``` ```bash -npx @mui/codemod@next deprecations/alert-props +npx @mui/codemod@latest deprecations/alert-props ``` #### `autocomplete-props` @@ -321,7 +321,7 @@ npx @mui/codemod@next deprecations/alert-props ``` ```bash -npx @mui/codemod@next deprecations/autocomplete-props +npx @mui/codemod@latest deprecations/autocomplete-props ``` #### `avatar-group-props` @@ -369,7 +369,7 @@ npx @mui/codemod@next deprecations/autocomplete-props ``` ```bash -npx @mui/codemod@next deprecations/avatar-group-props +npx @mui/codemod@latest deprecations/avatar-group-props ``` #### `avatar-props` @@ -418,7 +418,7 @@ npx @mui/codemod@next deprecations/avatar-group-props ``` ```bash -npx @mui/codemod@next deprecations/backdrop-props +npx @mui/codemod@latest deprecations/backdrop-props ``` #### `badge-props` @@ -444,7 +444,7 @@ npx @mui/codemod@next deprecations/backdrop-props ``` ```bash -npx @mui/codemod@next deprecations/badge-props +npx @mui/codemod@latest deprecations/badge-props ``` #### `button-classes` @@ -666,7 +666,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/button-classes +npx @mui/codemod@latest deprecations/button-classes ``` #### `button-group-classes` @@ -973,7 +973,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/chip-classes +npx @mui/codemod@latest deprecations/chip-classes ``` #### `circular-progress-classes` @@ -1012,7 +1012,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/circular-progress-classes +npx @mui/codemod@latest deprecations/circular-progress-classes ``` #### `divider-props` @@ -1025,7 +1025,7 @@ npx @mui/codemod@next deprecations/circular-progress-classes ``` ```bash -npx @mui/codemod@next deprecations/divider-props +npx @mui/codemod@latest deprecations/divider-props ``` #### `filled-input-props` @@ -1051,7 +1051,7 @@ npx @mui/codemod@next deprecations/divider-props ``` ```bash -npx @mui/codemod@next deprecations/filled-input-props +npx @mui/codemod@latest deprecations/filled-input-props ``` #### `form-control-label-props` @@ -1073,7 +1073,7 @@ npx @mui/codemod@next deprecations/filled-input-props ``` ```bash -npx @mui/codemod@next deprecations/form-control-label-props +npx @mui/codemod@latest deprecations/form-control-label-props ``` @@ -1100,7 +1100,7 @@ npx @mui/codemod@next deprecations/form-control-label-props ``` ```bash -npx @mui/codemod@next deprecations/list-item-props +npx @mui/codemod@latest deprecations/list-item-props ``` #### `grid-props` @@ -1113,7 +1113,7 @@ npx @mui/codemod@next deprecations/list-item-props ``` ```bash -npx @mui/codemod@next deprecations/grid-props +npx @mui/codemod@latest deprecations/grid-props ``` #### `image-list-item-bar-classes` @@ -1170,7 +1170,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/image-list-item-bar-classes +npx @mui/codemod@latest deprecations/image-list-item-bar-classes ``` #### `input-base-props` @@ -1196,7 +1196,7 @@ npx @mui/codemod@next deprecations/image-list-item-bar-classes ``` ```bash -npx @mui/codemod@next deprecations/input-base-props +npx @mui/codemod@latest deprecations/input-base-props ``` #### `input-props` @@ -1222,7 +1222,7 @@ npx @mui/codemod@next deprecations/input-base-props ``` ```bash -npx @mui/codemod@next deprecations/input-props +npx @mui/codemod@latest deprecations/input-props ``` #### `modal-props` @@ -1248,7 +1248,7 @@ npx @mui/codemod@next deprecations/input-props ``` ```bash -npx @mui/codemod@next deprecations/modal-props +npx @mui/codemod@latest deprecations/modal-props ``` #### `pagination-item-classes` @@ -1312,7 +1312,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/pagination-item-classes +npx @mui/codemod@latest deprecations/pagination-item-classes ``` #### `pagination-item-props` @@ -1334,7 +1334,7 @@ npx @mui/codemod@next deprecations/pagination-item-classes ``` ```bash -npx @mui/codemod@next deprecations/pagination-item-props +npx @mui/codemod@latest deprecations/pagination-item-props ``` #### `popper-props` @@ -1360,7 +1360,7 @@ npx @mui/codemod@next deprecations/pagination-item-props ``` ```bash -npx @mui/codemod@next deprecations/popper-props +npx @mui/codemod@latest deprecations/popper-props ``` #### `outlined-input-props` @@ -1386,7 +1386,7 @@ npx @mui/codemod@next deprecations/popper-props ``` ```bash -npx @mui/codemod@next deprecations/outlined-input-props +npx @mui/codemod@latest deprecations/outlined-input-props ``` #### `slider-props` @@ -1412,7 +1412,7 @@ npx @mui/codemod@next deprecations/outlined-input-props ``` ```bash -npx @mui/codemod@next deprecations/slider-props +npx @mui/codemod@latest deprecations/slider-props ``` #### `tooltip-props` @@ -1438,7 +1438,7 @@ npx @mui/codemod@next deprecations/slider-props ``` ```bash -npx @mui/codemod@next deprecations/tooltip-props +npx @mui/codemod@latest deprecations/tooltip-props ``` #### `step-connector-classes` @@ -1514,7 +1514,7 @@ npx @mui/codemod@latest deprecations/step-label-props ``` ```bash -npx @mui/codemod@next deprecations/text-field-props +npx @mui/codemod@latest deprecations/text-field-props ``` #### `toggle-button-group-classes` @@ -1569,7 +1569,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/step-connector-classes +npx @mui/codemod@latest deprecations/step-connector-classes ``` #### `tab-classes` @@ -1599,7 +1599,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/tab-classes +npx @mui/codemod@latest deprecations/tab-classes ``` #### `table-sort-label-classes` @@ -1638,7 +1638,7 @@ CSS transforms: ``` ```bash -npx @mui/codemod@next deprecations/table-sort-label-classes +npx @mui/codemod@latest deprecations/table-sort-label-classes ``` #### `typography-props` @@ -1660,7 +1660,7 @@ npx @mui/codemod@next deprecations/table-sort-label-classes ``` ```bash -npx @mui/codemod@next deprecations/typography-props +npx @mui/codemod@latest deprecations/typography-props ``` ### v6.0.0 @@ -1668,7 +1668,7 @@ npx @mui/codemod@next deprecations/typography-props #### `sx-prop` ```bash -npx @mui/codemod@next v6.0.0/sx-prop +npx @mui/codemod@latest v6.0.0/sx-prop ``` Update the usage of the `sx` prop to be compatible with `@pigment-css/react`. @@ -1691,7 +1691,7 @@ Update the usage of the `sx` prop to be compatible with `@pigment-css/react`. #### `system-props` ```bash -npx @mui/codemod@next v6.0.0/system-props +npx @mui/codemod@latest v6.0.0/system-props ``` Remove system props and add them to the `sx` prop. @@ -1704,7 +1704,7 @@ Remove system props and add them to the `sx` prop. #### `theme-v6` ```bash -npx @mui/codemod@next v6.0.0/theme-v6 +npx @mui/codemod@latest v6.0.0/theme-v6 ``` Update the theme creation from `@mui/system@v5` to be compatible with `@pigment-css/react`. @@ -1766,7 +1766,7 @@ Update the theme creation from `@mui/system@v5` to be compatible with `@pigment- #### `styled` ```bash -npx @mui/codemod@next v6.0.0/styled +npx @mui/codemod@latest v6.0.0/styled ``` Updates the usage of `styled` from `@mui/system@v5` to be compatible with `@pigment-css/react`. @@ -1840,7 +1840,7 @@ However, it has some **limitations**: #### `grid-v2-props` ```bash -npx @mui/codemod@next v6.0.0/grid-v2-props +npx @mui/codemod@latest v6.0.0/grid-v2-props ``` Updates the usage of the `@mui/material/Grid2`, `@mui/system/Grid`, and `@mui/joy/Grid` components to their updated APIs. @@ -1859,7 +1859,7 @@ Updates the usage of the `@mui/material/Grid2`, `@mui/system/Grid`, and `@mui/jo You can provide the theme breakpoints via options, for example, `--jscodeshift='--muiBreakpoints=mobile,desktop'`, to use your custom breakpoints in the transformation. ```bash -npx @mui/codemod@next v6.0.0/grid-v2-props --jscodeshift='--muiBreakpoints=mobile,desktop' +npx @mui/codemod@latest v6.0.0/grid-v2-props --jscodeshift='--muiBreakpoints=mobile,desktop' ``` ```diff @@ -1885,7 +1885,7 @@ This codemod updates the import and re-export statements. ``` ```bash -npx @mui/codemod@next v5.0.0/base-use-named-exports +npx @mui/codemod@latest v5.0.0/base-use-named-exports ``` #### `base-remove-unstyled-suffix` @@ -1898,7 +1898,7 @@ The `Unstyled` suffix has been removed from all Base UI component names, includ ``` ```bash -npx @mui/codemod@next v5.0.0/base-remove-unstyled-suffix +npx @mui/codemod@latest v5.0.0/base-remove-unstyled-suffix ``` #### `base-remove-component-prop` @@ -1913,7 +1913,7 @@ This change only affects Base UI components. ``` ```bash -npx @mui/codemod@next v5.0.0/base-remove-component-prop +npx @mui/codemod@latest v5.0.0/base-remove-component-prop ``` #### `rename-css-variables` @@ -1928,7 +1928,7 @@ Updates the names of the CSS variables of the Joy UI components to adapt to the ``` ```bash -npx @mui/codemod@next v5.0.0/rename-css-variables +npx @mui/codemod@latest v5.0.0/rename-css-variables ``` #### `base-hook-imports` @@ -1941,7 +1941,7 @@ Updates the sources of the imports of the Base UI hooks to adapt to the new dir ``` ```bash -npx @mui/codemod@next v5.0.0/base-hook-imports +npx @mui/codemod@latest v5.0.0/base-hook-imports ``` #### `joy-rename-classname-prefix` @@ -1956,7 +1956,7 @@ Renames the classname prefix from `'Joy'` to `'Mui'` for Joy UI components. ``` ```bash -npx @mui/codemod@next v5.0.0/joy-rename-classname-prefix +npx @mui/codemod@latest v5.0.0/joy-rename-classname-prefix ``` #### `joy-rename-row-prop` @@ -1971,7 +1971,7 @@ Transforms `row` prop to `orientation` prop across `Card`, `List` and `RadioGrou ``` ```bash -npx @mui/codemod@next v5.0.0/joy-rename-row-prop +npx @mui/codemod@latest v5.0.0/joy-rename-row-prop ``` #### `joy-avatar-remove-imgProps` @@ -1989,7 +1989,7 @@ This change only affects Joy UI Avatar component. ``` ```bash -npx @mui/codemod@next v5.0.0/joy-avatar-remove-imgProps +npx @mui/codemod@latest v5.0.0/joy-avatar-remove-imgProps ``` #### `joy-text-field-to-input` @@ -2047,7 +2047,7 @@ This change only affects Joy UI components. ``` ```bash -npx @mui/codemod@next v5.0.0/joy-text-field-to-input +npx @mui/codemod@latest v5.0.0/joy-text-field-to-input ``` #### `joy-rename-components-to-slots` @@ -2066,7 +2066,7 @@ This change only affects Joy UI components. ``` ```bash -npx @mui/codemod@next v5.0.0/joy-rename-components-to-slots +npx @mui/codemod@latest v5.0.0/joy-rename-components-to-slots ``` The associated breaking change was done in [#34997](https://github.com/mui/material-ui/pull/34997). @@ -2076,7 +2076,7 @@ The associated breaking change was done in [#34997](https://github.com/mui/mater Rename the imports of Date and Time Pickers from `@mui/lab` to `@mui/x-date-pickers` and `@mui/x-date-pickers-pro`. ```bash -npx @mui/codemod@next v5.0.0/date-pickers-moved-to-x +npx @mui/codemod@latest v5.0.0/date-pickers-moved-to-x ``` #### `tree-view-moved-to-x` @@ -2084,7 +2084,7 @@ npx @mui/codemod@next v5.0.0/date-pickers-moved-to-x Rename the imports of Tree View from `@mui/lab` to `@mui/x-tree-view`. ```bash -npx @mui/codemod@next v5.0.0/tree-view-moved-to-x +npx @mui/codemod@latest v5.0.0/tree-view-moved-to-x ``` #### 🚀 `preset-safe` @@ -2092,7 +2092,7 @@ npx @mui/codemod@next v5.0.0/tree-view-moved-to-x A combination of all important transformers for migrating v4 to v5. ⚠️ This codemod should be run only once. ```bash -npx @mui/codemod@next v5.0.0/preset-safe +npx @mui/codemod@latest v5.0.0/preset-safe ``` The list includes these transformers @@ -2159,7 +2159,7 @@ Imports and inserts `adaptV4Theme` into `createTheme` (or `createMuiTheme`) ``` ```bash -npx @mui/codemod@next v5.0.0/adapter-v4 +npx @mui/codemod@latest v5.0.0/adapter-v4 ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme). @@ -2176,7 +2176,7 @@ Renames `Autocomplete`'s `closeIcon` prop to `clearIcon`. ```bash -npx @mui/codemod@next v5.0.0/autocomplete-rename-closeicon +npx @mui/codemod@latest 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). @@ -2195,7 +2195,7 @@ Renames `Autocomplete`'s `getOptionSelected` to `isOptionEqualToValue`. ```bash -npx @mui/codemod@next v5.0.0/autocomplete-rename-option +npx @mui/codemod@latest 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). @@ -2214,7 +2214,7 @@ Updates the `Avatar`'s `variant` value and `classes` key from 'circle' to 'circu ```bash -npx @mui/codemod@next v5.0.0/avatar-circle-circular +npx @mui/codemod@latest 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). @@ -2249,7 +2249,7 @@ Renames the badge's props. ```bash -npx @mui/codemod@next v5.0.0/badge-overlap-value +npx @mui/codemod@latest 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). @@ -2273,7 +2273,7 @@ This change only affects Base UI components. ```bash -npx @mui/codemod@next v5.0.0/base-rename-components-to-slots +npx @mui/codemod@latest v5.0.0/base-rename-components-to-slots ``` The associated breaking change was done in [#34693](https://github.com/mui/material-ui/pull/34693). @@ -2292,7 +2292,7 @@ Updates the Box API from separate system props to `sx`. ```bash -npx @mui/codemod@next v5.0.0/box-borderradius-values +npx @mui/codemod@latest 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). @@ -2307,7 +2307,7 @@ Renames the Box `css` prop to `sx` ``` ```bash -npx @mui/codemod@next v5.0.0/box-rename-css +npx @mui/codemod@latest v5.0.0/box-rename-css ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#box). @@ -2328,7 +2328,7 @@ Renames the Box `grid*Gap` props. ```bash -npx @mui/codemod@next v5.0.0/box-rename-gap +npx @mui/codemod@latest 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). @@ -2345,7 +2345,7 @@ Removes the outdated `color` prop values. ```bash -npx @mui/codemod@next v5.0.0/button-color-prop +npx @mui/codemod@latest 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). @@ -2362,7 +2362,7 @@ Removes the Chip `variant` prop if the value is `"default"`. ```bash -npx @mui/codemod@next v5.0.0/chip-variant-prop +npx @mui/codemod@latest 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). @@ -2379,7 +2379,7 @@ Renames the CircularProgress `static` variant to `determinate`. ```bash -npx @mui/codemod@next v5.0.0/circularprogress-variant +npx @mui/codemod@latest 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). @@ -2398,7 +2398,7 @@ Renames `Collapse`'s `collapsedHeight` prop to `collapsedSize`. ```bash -npx @mui/codemod@next v5.0.0/collapse-rename-collapsedheight +npx @mui/codemod@latest 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). @@ -2417,7 +2417,7 @@ A generic codemod to rename any component prop. ```bash -npx @mui/codemod@next v5.0.0/component-rename-prop -- --component=Grid --from=prop --to=newProp +npx @mui/codemod@latest v5.0.0/component-rename-prop -- --component=Grid --from=prop --to=newProp ``` #### `core-styles-import` @@ -2430,7 +2430,7 @@ Renames private import from `core/styles/*` to `core/styles` ``` ```bash -npx @mui/codemod@next v5.0.0/core-styles-import +npx @mui/codemod@latest v5.0.0/core-styles-import ``` #### `create-theme` @@ -2443,7 +2443,7 @@ Renames the function `createMuiTheme` to `createTheme` ``` ```bash -npx @mui/codemod@next v5.0.0/create-theme +npx @mui/codemod@latest v5.0.0/create-theme ``` #### `dialog-props` @@ -2456,7 +2456,7 @@ Remove `disableBackdropClick` prop from `` ``` ```bash -npx @mui/codemod@next v5.0.0/dialog-props +npx @mui/codemod@latest v5.0.0/dialog-props ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#dialog). @@ -2471,7 +2471,7 @@ Remove `disableTypography` prop from `` ``` ```bash -npx @mui/codemod@next v5.0.0/dialog-title-props +npx @mui/codemod@latest v5.0.0/dialog-title-props ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#dialog). @@ -2488,7 +2488,7 @@ Adds `prepend: true` to Emotion `createCache` ``` ```bash -npx @mui/codemod@next v5.0.0/create-theme +npx @mui/codemod@latest v5.0.0/create-theme ``` #### `expansion-panel-component` @@ -2496,7 +2496,7 @@ npx @mui/codemod@next v5.0.0/create-theme Renames `ExpansionPanel*` to `Accordion*` ```bash -npx @mui/codemod@next v5.0.0/expansion-panel-component +npx @mui/codemod@latest v5.0.0/expansion-panel-component ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#expansionpanel). @@ -2509,7 +2509,7 @@ You can find more details about this breaking change in [the migration guide](ht ``` ```bash -npx @mui/codemod@next v5.0.0/fab-variant +npx @mui/codemod@latest v5.0.0/fab-variant ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#fab). @@ -2529,7 +2529,7 @@ Renames the `fade` style utility import and calls to `alpha`. ```bash -npx @mui/codemod@next v5.0.0/fade-rename-alpha +npx @mui/codemod@latest 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). @@ -2546,7 +2546,7 @@ Renames `Grid`'s `justify` prop to `justifyContent`. ```bash -npx @mui/codemod@next v5.0.0/grid-justify-justifycontent +npx @mui/codemod@latest 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). @@ -2556,7 +2556,7 @@ You can find more details about this breaking change in [the migration guide](ht Renames `GridList*` to `ImageList*` ```bash -npx @mui/codemod@next v5.0.0/grid-list-component +npx @mui/codemod@latest v5.0.0/grid-list-component ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#gridlist). @@ -2573,7 +2573,7 @@ Adds `size="large"` if `size` is not defined to get the same appearance as v4. ``` ```bash -npx @mui/codemod@next v5.0.0/icon-button-size +npx @mui/codemod@latest v5.0.0/icon-button-size ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#iconbutton). @@ -2638,7 +2638,7 @@ Replace JSS styling with `makeStyles` or `withStyles` to `styled` API. ``` ```bash -npx @mui/codemod@next v5.0.0/jss-to-styled +npx @mui/codemod@latest v5.0.0/jss-to-styled ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#1-use-styled-or-sx-api). @@ -2710,7 +2710,7 @@ Migrate JSS styling with `makeStyles` or `withStyles` to the corresponding `tss- ``` ```bash -npx @mui/codemod@next v5.0.0/jss-to-tss-react +npx @mui/codemod@latest v5.0.0/jss-to-tss-react ``` The following scenarios are not currently handled by this codemod and will be marked with a @@ -2738,7 +2738,7 @@ Apply `underline="hover"` to `` that does not define `underline` prop (t ``` ```bash -npx @mui/codemod@next v5.0.0/link-underline-hover +npx @mui/codemod@latest v5.0.0/link-underline-hover ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#link). @@ -2776,7 +2776,7 @@ Moves JSS imports to `@material-ui/styles` ``` ```bash -npx @mui/codemod@next v5.0.0/material-ui-styles +npx @mui/codemod@latest v5.0.0/material-ui-styles ``` #### `material-ui-types` @@ -2789,7 +2789,7 @@ Renames `Omit` import from `@material-ui/types` to `DistributiveOmit` ``` ```bash -npx @mui/codemod@next v5.0.0/material-ui-types +npx @mui/codemod@latest v5.0.0/material-ui-types ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#material-ui-types). @@ -2806,7 +2806,7 @@ Removes `disableBackdropClick` and `onEscapeKeyDown` from `` ``` ```bash -npx @mui/codemod@next v5.0.0/modal-props +npx @mui/codemod@latest v5.0.0/modal-props ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#modal). @@ -2830,7 +2830,7 @@ or ```bash -npx @mui/codemod@next v5.0.0/moved-lab-modules +npx @mui/codemod@latest v5.0.0/moved-lab-modules ``` You can find more details about this breaking change in the migration guide. @@ -2855,7 +2855,7 @@ Renames `Pagination*`'s `shape` values from 'round' to 'circular'. ``` ```bash -npx @mui/codemod@next v5.0.0/pagination-round-circular +npx @mui/codemod@latest v5.0.0/pagination-round-circular ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#pagination). @@ -2874,7 +2874,7 @@ Fix private import paths. ```bash -npx @mui/codemod@next v5.0.0/optimal-imports +npx @mui/codemod@latest v5.0.0/optimal-imports ``` #### `root-ref` @@ -2882,7 +2882,7 @@ npx @mui/codemod@next v5.0.0/optimal-imports Removes `RootRef` from the codebase. ```bash -npx @mui/codemod@next v5.0.0/root-ref +npx @mui/codemod@latest v5.0.0/root-ref ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#rootref). @@ -2897,7 +2897,7 @@ You can find more details about this breaking change in [the migration guide](ht ``` ```bash -npx @mui/codemod@next v5.0.0/skeleton-variant +npx @mui/codemod@latest v5.0.0/skeleton-variant ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#skeleton). @@ -2907,7 +2907,7 @@ You can find more details about this breaking change in [the migration guide](ht Applies `StyledEngineProvider` to the files that contains `ThemeProvider`. ```bash -npx @mui/codemod@next v5.0.0/styled-engine-provider +npx @mui/codemod@latest v5.0.0/styled-engine-provider ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-style-changes/#style-library). @@ -2933,7 +2933,7 @@ Renames props in `Table*` components. ``` ```bash -npx @mui/codemod@next v5.0.0/table-props +npx @mui/codemod@latest v5.0.0/table-props ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#table). @@ -2952,7 +2952,7 @@ Renames the `Tabs`'s `scrollButtons` prop values. ``` ```bash -npx @mui/codemod@next v5.0.0/tabs-scroll-buttons +npx @mui/codemod@latest v5.0.0/tabs-scroll-buttons ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#tabs). @@ -2971,7 +2971,7 @@ Renames `TextField`'s rows props. ``` ```bash -npx @mui/codemod@next v5.0.0/textarea-minmax-rows +npx @mui/codemod@latest v5.0.0/textarea-minmax-rows ``` You can find more details about this breaking change in the migration guide. @@ -2984,7 +2984,7 @@ You can find more details about this breaking change in the migration guide. Adds `DefaultTheme` module augmentation to TypeScript projects. ```bash -npx @mui/codemod@next v5.0.0/theme-augment +npx @mui/codemod@latest v5.0.0/theme-augment ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#material-ui-styles). @@ -3003,7 +3003,7 @@ Updates breakpoint values to match new logic. ⚠️ This mod is not idempotent, ```bash -npx @mui/codemod@next v5.0.0/theme-breakpoints +npx @mui/codemod@latest 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). @@ -3013,7 +3013,7 @@ You can find more details about this breaking change in [the migration guide](ht Renames `theme.breakpoints.width('md')` to `theme.breakpoints.values.md`. ```bash -npx @mui/codemod@next v5.0.0/theme-breakpoints-width +npx @mui/codemod@latest v5.0.0/theme-breakpoints-width ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme). @@ -3026,7 +3026,7 @@ You can find more details about this breaking change in [the migration guide](ht ``` ```bash -npx @mui/codemod@next v5.0.0/theme-options +npx @mui/codemod@latest v5.0.0/theme-options ``` #### `theme-palette-mode` @@ -3048,7 +3048,7 @@ Renames `type` to `mode`. ``` ```bash -npx @mui/codemod@next v5.0.0/theme-palette-mode +npx @mui/codemod@latest v5.0.0/theme-palette-mode ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme). @@ -3058,7 +3058,7 @@ You can find more details about this breaking change in [the migration guide](ht Renames `MuiThemeProvider` to `ThemeProvider`. ```bash -npx @mui/codemod@next v5.0.0/theme-provider +npx @mui/codemod@latest v5.0.0/theme-provider ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#material-ui-core-styles). @@ -3077,7 +3077,7 @@ Removes the 'px' suffix from some template strings. ```bash -npx @mui/codemod@next v5.0.0/theme-spacing +npx @mui/codemod@latest 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). @@ -3092,7 +3092,7 @@ Renames `theme.typography.round($number)` to `Math.round($number * 1e5) / 1e5`. ``` ```bash -npx @mui/codemod@next v5.0.0/theme-typography-round +npx @mui/codemod@latest v5.0.0/theme-typography-round ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme). @@ -3110,7 +3110,7 @@ Converts all `@mui/material` submodule imports to the root module: ```bash -npx @mui/codemod@next v5.0.0/top-level-imports +npx @mui/codemod@latest v5.0.0/top-level-imports ``` Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's useful. @@ -3120,7 +3120,7 @@ Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's u Renames import `transitions` to `createTransitions` ```bash -npx @mui/codemod@next v5.0.0/transitions +npx @mui/codemod@latest v5.0.0/transitions ``` #### `use-autocomplete` @@ -3133,7 +3133,7 @@ Renames `useAutocomplete` related import from lab to core ``` ```bash -npx @mui/codemod@next v5.0.0/use-autocomplete +npx @mui/codemod@latest v5.0.0/use-autocomplete ``` #### `use-transitionprops` @@ -3162,7 +3162,7 @@ Updates Dialog, Menu, Popover, and Snackbar to use the `TransitionProps` prop to ```bash -npx @mui/codemod@next v5.0.0/use-transitionprops +npx @mui/codemod@latest 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). @@ -3192,7 +3192,7 @@ The diff should look like this: ```bash -npx @mui/codemod@next v5.0.0/variant-prop +npx @mui/codemod@latest v5.0.0/variant-prop ``` #### `with-mobile-dialog` @@ -3206,7 +3206,7 @@ Removes imported `withMobileDialog`, and inserts hardcoded version to prevent ap ``` ```bash -npx @mui/codemod@next v5.0.0/with-mobile-dialog +npx @mui/codemod@latest v5.0.0/with-mobile-dialog ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#dialog). @@ -3222,7 +3222,7 @@ Removes `withWidth` import, and inserts hardcoded version to prevent application ``` ```bash -npx @mui/codemod@next v5.0.0/with-width +npx @mui/codemod@latest v5.0.0/with-width ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-style-changes/#material-ui-core-styles). @@ -3283,7 +3283,7 @@ Replace every occurrence of `material-ui` related package with the new package n ``` ```bash -npx @mui/codemod@next v5.0.0/mui-replace +npx @mui/codemod@latest v5.0.0/mui-replace ``` You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/migration-v4/#update-material-ui-version). @@ -3303,7 +3303,7 @@ The diff should look like this: ```bash -npx @mui/codemod@next v4.0.0/theme-spacing-api +npx @mui/codemod@latest 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. @@ -3330,7 +3330,7 @@ Converts all `@material-ui/core` imports more than 1 level deep to the optimal f ```bash -npx @mui/codemod@next v4.0.0/optimal-imports +npx @mui/codemod@latest v4.0.0/optimal-imports ``` Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's useful. @@ -3348,7 +3348,7 @@ Converts all `@material-ui/core` submodule imports to the root module: ```bash -npx @mui/codemod@next v4.0.0/top-level-imports +npx @mui/codemod@latest v4.0.0/top-level-imports ``` Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's useful. @@ -3369,7 +3369,7 @@ The diff should look like this: ```bash -npx @mui/codemod@next v1.0.0/import-path +npx @mui/codemod@latest 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.: @@ -3396,7 +3396,7 @@ The diff should look like this: ```bash -npx @mui/codemod@next v1.0.0/color-imports +npx @mui/codemod@latest v1.0.0/color-imports ``` **additional options** @@ -3404,7 +3404,7 @@ npx @mui/codemod@next v1.0.0/color-imports ```bash -npx @mui/codemod@next v1.0.0/color-imports -- --importPath='mui/styles/colors' --targetPath='mui/colors' +npx @mui/codemod@latest v1.0.0/color-imports -- --importPath='mui/styles/colors' --targetPath='mui/colors' ``` #### `svg-icon-imports` @@ -3422,7 +3422,7 @@ The diff should look like this: ```bash -npx @mui/codemod@next v1.0.0/svg-icon-imports +npx @mui/codemod@latest v1.0.0/svg-icon-imports ``` #### `menu-item-primary-text` @@ -3440,7 +3440,7 @@ The diff should look like this: ```bash -npx @mui/codemod@next v1.0.0/menu-item-primary-text +npx @mui/codemod@latest v1.0.0/menu-item-primary-text ``` ### v0.15.0 @@ -3464,5 +3464,5 @@ The diff should look like this: ```bash -npx @mui/codemod@next v0.15.0/import-path +npx @mui/codemod@latest v0.15.0/import-path ``` diff --git a/packages/mui-docs/README.md b/packages/mui-docs/README.md index 562368dcd515b3..157a61b81662d6 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@next +npm install @mui/docs ``` 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@next +npm install @mui/material ``` ## Documentation diff --git a/packages/mui-icons-material/README.md b/packages/mui-icons-material/README.md index 88979a9e52b10a..9157f6babac894 100644 --- a/packages/mui-icons-material/README.md +++ b/packages/mui-icons-material/README.md @@ -11,7 +11,7 @@ The Material Icons package depends on Material UI—install both with the follo ```bash -npm install @mui/icons-material@next @mui/material@next @emotion/styled @emotion/react +npm install @mui/icons-material @mui/material @emotion/styled @emotion/react ``` diff --git a/packages/mui-icons-material/package.json b/packages/mui-icons-material/package.json index 0a14db42b5f1f1..54c57c97f4719e 100644 --- a/packages/mui-icons-material/package.json +++ b/packages/mui-icons-material/package.json @@ -67,7 +67,7 @@ "yargs": "^17.7.2" }, "peerDependencies": { - "@mui/material": "workspace:*", + "@mui/material": "workspace:^", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, diff --git a/packages/mui-joy/README.md b/packages/mui-joy/README.md index 30fdd7c1f9011a..4921f8a288f6af 100644 --- a/packages/mui-joy/README.md +++ b/packages/mui-joy/README.md @@ -11,10 +11,8 @@ Joy UI is an open-source React component library that implements MUI's own desi Install the package in your project directory with: - - ```bash -npm install @mui/joy@next @emotion/react @emotion/styled +npm install @mui/joy @emotion/react @emotion/styled ``` ## Documentation diff --git a/packages/mui-joy/package.json b/packages/mui-joy/package.json index 65843849903c72..ba8377016e9aa1 100644 --- a/packages/mui-joy/package.json +++ b/packages/mui-joy/package.json @@ -41,9 +41,9 @@ "@babel/runtime": "^7.25.0", "@mui/base": "workspace:*", "@mui/core-downloads-tracker": "workspace:^", - "@mui/system": "workspace:*", + "@mui/system": "workspace:^", "@mui/types": "workspace:^", - "@mui/utils": "workspace:*", + "@mui/utils": "workspace:^", "clsx": "^2.1.1", "prop-types": "^15.8.1" }, diff --git a/packages/mui-lab/README.md b/packages/mui-lab/README.md index 09600169c250d9..3a38ed547576ff 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@next +npm install @mui/lab ``` 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@next @emotion/react @emotion/styled +npm install @mui/material @emotion/react @emotion/styled ``` ## Documentation -Visit [https://next.mui.com/material-ui/about-the-lab/](https://next.mui.com/material-ui/about-the-lab/) to view the full documentation. +Visit [https://mui.com/material-ui/about-the-lab/](https://mui.com/material-ui/about-the-lab/) to view the full documentation. diff --git a/packages/mui-lab/package.json b/packages/mui-lab/package.json index 5501ef276f3616..2577a90e7f32a1 100644 --- a/packages/mui-lab/package.json +++ b/packages/mui-lab/package.json @@ -42,9 +42,9 @@ "dependencies": { "@babel/runtime": "^7.25.0", "@mui/base": "workspace:*", - "@mui/system": "workspace:*", + "@mui/system": "workspace:^", "@mui/types": "workspace:^", - "@mui/utils": "workspace:*", + "@mui/utils": "workspace:^", "clsx": "^2.1.1", "prop-types": "^15.8.1" }, diff --git a/packages/mui-lab/src/LoadingButton/LoadingButton.d.ts b/packages/mui-lab/src/LoadingButton/LoadingButton.d.ts index 90351bc0f2a15c..193b192ddf029d 100644 --- a/packages/mui-lab/src/LoadingButton/LoadingButton.d.ts +++ b/packages/mui-lab/src/LoadingButton/LoadingButton.d.ts @@ -62,13 +62,13 @@ export type LoadingButtonTypeMap< * * Demos: * - * - [Button Group](https://next.mui.com/material-ui/react-button-group/) - * - [Button](https://next.mui.com/material-ui/react-button/) + * - [Button Group](https://mui.com/material-ui/react-button-group/) + * - [Button](https://mui.com/material-ui/react-button/) * * API: * - * - [LoadingButton API](https://next.mui.com/material-ui/api/loading-button/) - * - inherits [Button API](https://next.mui.com/material-ui/api/button/) + * - [LoadingButton API](https://mui.com/material-ui/api/loading-button/) + * - inherits [Button API](https://mui.com/material-ui/api/button/) */ declare const LoadingButton: ExtendButton; diff --git a/packages/mui-lab/src/Masonry/Masonry.d.ts b/packages/mui-lab/src/Masonry/Masonry.d.ts index ad713aabf157ea..530c4666296ca7 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://next.mui.com/material-ui/react-masonry/) + * - [Masonry](https://mui.com/material-ui/react-masonry/) * * API: * - * - [Masonry API](https://next.mui.com/material-ui/api/masonry/) + * - [Masonry API](https://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 eb11d2d4e4e77a..38274ad8257053 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://next.mui.com/material-ui/react-tabs/) + * - [Tabs](https://mui.com/material-ui/react-tabs/) * * API: * - * - [TabContext API](https://next.mui.com/material-ui/api/tab-context/) + * - [TabContext API](https://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 7079020fa7d846..cf7a6dd2381a44 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://next.mui.com/material-ui/react-tabs/) + * - [Tabs](https://mui.com/material-ui/react-tabs/) * * API: * - * - [TabList API](https://next.mui.com/material-ui/api/tab-list/) - * - inherits [Tabs API](https://next.mui.com/material-ui/api/tabs/) + * - [TabList API](https://mui.com/material-ui/api/tab-list/) + * - inherits [Tabs API](https://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 ecefd407146b86..47905950704896 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 65ba2b3f39c66b..168b023cece9c2 100644 --- a/packages/mui-lab/src/TimelineConnector/TimelineConnector.d.ts +++ b/packages/mui-lab/src/TimelineConnector/TimelineConnector.d.ts @@ -24,10 +24,10 @@ export interface TimelineConnectorProps * * Demos: * - * - [Timeline](https://next.mui.com/material-ui/react-timeline/) + * - [Timeline](https://mui.com/material-ui/react-timeline/) * * API: * - * - [TimelineConnector API](https://next.mui.com/material-ui/api/timeline-connector/) + * - [TimelineConnector API](https://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 6e632d90950606..6bfe5fe24e9ffd 100644 --- a/packages/mui-lab/src/TimelineContent/TimelineContent.d.ts +++ b/packages/mui-lab/src/TimelineContent/TimelineContent.d.ts @@ -23,11 +23,11 @@ export interface TimelineContentProps extends StandardProps { * * Demos: * - * - [Timeline](https://next.mui.com/material-ui/react-timeline/) + * - [Timeline](https://mui.com/material-ui/react-timeline/) * * API: * - * - [TimelineContent API](https://next.mui.com/material-ui/api/timeline-content/) - * - inherits [Typography API](https://next.mui.com/material-ui/api/typography/) + * - [TimelineContent API](https://mui.com/material-ui/api/timeline-content/) + * - inherits [Typography API](https://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 c6a0999dd49a26..1d04d9caacd8f4 100644 --- a/packages/mui-lab/src/TimelineDot/TimelineDot.d.ts +++ b/packages/mui-lab/src/TimelineDot/TimelineDot.d.ts @@ -41,10 +41,10 @@ export interface TimelineDotProps extends StandardProps ```bash -npm install @mui/material@next @emotion/react @emotion/styled +npm install @mui/material @emotion/react @emotion/styled ``` ## Documentation diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index f7152b99ee6bc6..4d73ea99a5eb45 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -42,9 +42,9 @@ "dependencies": { "@babel/runtime": "^7.25.0", "@mui/core-downloads-tracker": "workspace:^", - "@mui/system": "workspace:*", + "@mui/system": "workspace:^", "@mui/types": "workspace:^", - "@mui/utils": "workspace:*", + "@mui/utils": "workspace:^", "@popperjs/core": "^2.11.8", "@types/react-transition-group": "^4.4.11", "clsx": "^2.1.1", diff --git a/packages/mui-material/src/Accordion/Accordion.d.ts b/packages/mui-material/src/Accordion/Accordion.d.ts index c76e67a4e19eb9..ce45c2e7c39a57 100644 --- a/packages/mui-material/src/Accordion/Accordion.d.ts +++ b/packages/mui-material/src/Accordion/Accordion.d.ts @@ -109,12 +109,12 @@ export type AccordionTypeMap< * * Demos: * - * - [Accordion](https://next.mui.com/material-ui/react-accordion/) + * - [Accordion](https://mui.com/material-ui/react-accordion/) * * API: * - * - [Accordion API](https://next.mui.com/material-ui/api/accordion/) - * - inherits [Paper API](https://next.mui.com/material-ui/api/paper/) + * - [Accordion API](https://mui.com/material-ui/api/accordion/) + * - inherits [Paper API](https://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 ecf3efa0649aea..39c13ee770255f 100644 --- a/packages/mui-material/src/AccordionActions/AccordionActions.d.ts +++ b/packages/mui-material/src/AccordionActions/AccordionActions.d.ts @@ -27,10 +27,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 8ff5a1a81e579d..b273c915b27863 100644 --- a/packages/mui-material/src/Alert/Alert.d.ts +++ b/packages/mui-material/src/Alert/Alert.d.ts @@ -135,11 +135,11 @@ export interface AlertOwnerState extends AlertProps {} * * Demos: * - * - [Alert](https://next.mui.com/material-ui/react-alert/) + * - [Alert](https://mui.com/material-ui/react-alert/) * * API: * - * - [Alert API](https://next.mui.com/material-ui/api/alert/) - * - inherits [Paper API](https://next.mui.com/material-ui/api/paper/) + * - [Alert API](https://mui.com/material-ui/api/alert/) + * - inherits [Paper API](https://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 8d98cc8d3541bd..f85b125962f08c 100644 --- a/packages/mui-material/src/AlertTitle/AlertTitle.d.ts +++ b/packages/mui-material/src/AlertTitle/AlertTitle.d.ts @@ -22,11 +22,11 @@ export interface AlertTitleProps extends TypographyProps<'div'> { * * Demos: * - * - [Alert](https://next.mui.com/material-ui/react-alert/) + * - [Alert](https://mui.com/material-ui/react-alert/) * * API: * - * - [AlertTitle API](https://next.mui.com/material-ui/api/alert-title/) - * - inherits [Typography API](https://next.mui.com/material-ui/api/typography/) + * - [AlertTitle API](https://mui.com/material-ui/api/alert-title/) + * - inherits [Typography API](https://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 20ea34e1377e6a..db9f4c75fbcee9 100644 --- a/packages/mui-material/src/AppBar/AppBar.d.ts +++ b/packages/mui-material/src/AppBar/AppBar.d.ts @@ -56,12 +56,12 @@ export type AppBarTypeMap< * * Demos: * - * - [App Bar](https://next.mui.com/material-ui/react-app-bar/) + * - [App Bar](https://mui.com/material-ui/react-app-bar/) * * API: * - * - [AppBar API](https://next.mui.com/material-ui/api/app-bar/) - * - inherits [Paper API](https://next.mui.com/material-ui/api/paper/) + * - [AppBar API](https://mui.com/material-ui/api/app-bar/) + * - inherits [Paper API](https://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 da407dc51dc891..cfd14099f4b6c8 100644 --- a/packages/mui-material/src/Autocomplete/Autocomplete.d.ts +++ b/packages/mui-material/src/Autocomplete/Autocomplete.d.ts @@ -352,11 +352,11 @@ export interface AutocompleteProps< * * Demos: * - * - [Autocomplete](https://next.mui.com/material-ui/react-autocomplete/) + * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/) * * API: * - * - [Autocomplete API](https://next.mui.com/material-ui/api/autocomplete/) + * - [Autocomplete API](https://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 4ece9bebc8282f..d0e73b8ac1b802 100644 --- a/packages/mui-material/src/Avatar/Avatar.d.ts +++ b/packages/mui-material/src/Avatar/Avatar.d.ts @@ -86,11 +86,11 @@ export interface AvatarTypeMap< * * Demos: * - * - [Avatar](https://next.mui.com/material-ui/react-avatar/) + * - [Avatar](https://mui.com/material-ui/react-avatar/) * * API: * - * - [Avatar API](https://next.mui.com/material-ui/api/avatar/) + * - [Avatar API](https://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 640bf2a4386c51..8ba6e494f8e5bb 100644 --- a/packages/mui-material/src/AvatarGroup/AvatarGroup.d.ts +++ b/packages/mui-material/src/AvatarGroup/AvatarGroup.d.ts @@ -107,11 +107,11 @@ export interface AvatarGroupTypeMap< * * Demos: * - * - [Avatar](https://next.mui.com/material-ui/react-avatar/) + * - [Avatar](https://mui.com/material-ui/react-avatar/) * * API: * - * - [AvatarGroup API](https://next.mui.com/material-ui/api/avatar-group/) + * - [AvatarGroup API](https://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 1be692237cef65..f770d4a5c74783 100644 --- a/packages/mui-material/src/Backdrop/Backdrop.d.ts +++ b/packages/mui-material/src/Backdrop/Backdrop.d.ts @@ -121,12 +121,12 @@ export declare const BackdropRoot: React.FC; * * Demos: * - * - [Backdrop](https://next.mui.com/material-ui/react-backdrop/) + * - [Backdrop](https://mui.com/material-ui/react-backdrop/) * * API: * - * - [Backdrop API](https://next.mui.com/material-ui/api/backdrop/) - * - inherits [Fade API](https://next.mui.com/material-ui/api/fade/) + * - [Backdrop API](https://mui.com/material-ui/api/backdrop/) + * - inherits [Fade API](https://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 fc4f37a095ad14..fe3d1e7528afad 100644 --- a/packages/mui-material/src/Badge/Badge.d.ts +++ b/packages/mui-material/src/Badge/Badge.d.ts @@ -162,12 +162,12 @@ export declare const BadgeMark: React.FC; * * Demos: * - * - [Avatar](https://next.mui.com/material-ui/react-avatar/) - * - [Badge](https://next.mui.com/material-ui/react-badge/) + * - [Avatar](https://mui.com/material-ui/react-avatar/) + * - [Badge](https://mui.com/material-ui/react-badge/) * * API: * - * - [Badge API](https://next.mui.com/material-ui/api/badge/) + * - [Badge API](https://mui.com/material-ui/api/badge/) */ declare const Badge: OverridableComponent; diff --git a/packages/mui-material/src/Badge/useBadge.ts b/packages/mui-material/src/Badge/useBadge.ts index 214f281d084c35..efd0c7ed19e078 100644 --- a/packages/mui-material/src/Badge/useBadge.ts +++ b/packages/mui-material/src/Badge/useBadge.ts @@ -7,11 +7,11 @@ import { UseBadgeParameters, UseBadgeReturnValue } from './useBadge.types'; * * Demos: * - * - [Badge](https://next.mui.com/base-ui/react-badge/#hook) + * - [Badge](https://mui.com/base-ui/react-badge/#hook) * * API: * - * - [useBadge API](https://next.mui.com/base-ui/react-badge/hooks-api/#use-badge) + * - [useBadge API](https://mui.com/base-ui/react-badge/hooks-api/#use-badge) */ function useBadge(parameters: UseBadgeParameters): UseBadgeReturnValue { const { diff --git a/packages/mui-material/src/BottomNavigation/BottomNavigation.d.ts b/packages/mui-material/src/BottomNavigation/BottomNavigation.d.ts index c368a17f087a4b..b335e6e536f47e 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://next.mui.com/material-ui/react-bottom-navigation/) + * - [Bottom Navigation](https://mui.com/material-ui/react-bottom-navigation/) * * API: * - * - [BottomNavigation API](https://next.mui.com/material-ui/api/bottom-navigation/) + * - [BottomNavigation API](https://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 c52ef2c26ee50c..7b32550d882e61 100644 --- a/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.d.ts +++ b/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.d.ts @@ -53,12 +53,12 @@ export type BottomNavigationActionTypeMap< * * Demos: * - * - [Bottom Navigation](https://next.mui.com/material-ui/react-bottom-navigation/) + * - [Bottom Navigation](https://mui.com/material-ui/react-bottom-navigation/) * * API: * - * - [BottomNavigationAction API](https://next.mui.com/material-ui/api/bottom-navigation-action/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [BottomNavigationAction API](https://mui.com/material-ui/api/bottom-navigation-action/) + * - inherits [ButtonBase API](https://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 afd25b413442e1..1a9c2df9a80fbf 100644 --- a/packages/mui-material/src/Box/Box.d.ts +++ b/packages/mui-material/src/Box/Box.d.ts @@ -7,11 +7,11 @@ import { Theme as MaterialTheme } from '../styles'; * * Demos: * - * - [Box](https://next.mui.com/material-ui/react-box/) + * - [Box](https://mui.com/material-ui/react-box/) * * API: * - * - [Box API](https://next.mui.com/material-ui/api/box/) + * - [Box API](https://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 4c58c98f7a7225..a7cce24589befd 100644 --- a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts +++ b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts @@ -91,12 +91,12 @@ export interface BreadcrumbsTypeMap< * * Demos: * - * - [Breadcrumbs](https://next.mui.com/material-ui/react-breadcrumbs/) + * - [Breadcrumbs](https://mui.com/material-ui/react-breadcrumbs/) * * API: * - * - [Breadcrumbs API](https://next.mui.com/material-ui/api/breadcrumbs/) - * - inherits [Typography API](https://next.mui.com/material-ui/api/typography/) + * - [Breadcrumbs API](https://mui.com/material-ui/api/breadcrumbs/) + * - inherits [Typography API](https://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 1574944c43a559..c1e3e95f747014 100644 --- a/packages/mui-material/src/Button/Button.d.ts +++ b/packages/mui-material/src/Button/Button.d.ts @@ -111,13 +111,13 @@ export type ExtendButton = (( * * Demos: * - * - [Button Group](https://next.mui.com/material-ui/react-button-group/) - * - [Button](https://next.mui.com/material-ui/react-button/) + * - [Button Group](https://mui.com/material-ui/react-button-group/) + * - [Button](https://mui.com/material-ui/react-button/) * * API: * - * - [Button API](https://next.mui.com/material-ui/api/button/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [Button API](https://mui.com/material-ui/api/button/) + * - inherits [ButtonBase API](https://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 77e0c68ffe9cbc..53a65f79fc1920 100644 --- a/packages/mui-material/src/ButtonBase/ButtonBase.d.ts +++ b/packages/mui-material/src/ButtonBase/ButtonBase.d.ts @@ -115,11 +115,11 @@ export type ExtendButtonBase = (( * * Demos: * - * - [Button](https://next.mui.com/material-ui/react-button/) + * - [Button](https://mui.com/material-ui/react-button/) * * API: * - * - [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [ButtonBase API](https://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 72aff8ccb89870..77cc7f128db348 100644 --- a/packages/mui-material/src/ButtonGroup/ButtonGroup.d.ts +++ b/packages/mui-material/src/ButtonGroup/ButtonGroup.d.ts @@ -90,11 +90,11 @@ export interface ButtonGroupTypeMap< * * Demos: * - * - [Button Group](https://next.mui.com/material-ui/react-button-group/) + * - [Button Group](https://mui.com/material-ui/react-button-group/) * * API: * - * - [ButtonGroup API](https://next.mui.com/material-ui/api/button-group/) + * - [ButtonGroup API](https://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 c35861feb931ac..41d2f725d61c18 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://next.mui.com/material-ui/react-card/) + * - [Card](https://mui.com/material-ui/react-card/) * * API: * - * - [Card API](https://next.mui.com/material-ui/api/card/) - * - inherits [Paper API](https://next.mui.com/material-ui/api/paper/) + * - [Card API](https://mui.com/material-ui/api/card/) + * - inherits [Paper API](https://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 5265cfa6f9ae03..40a01c09c76910 100644 --- a/packages/mui-material/src/CardActionArea/CardActionArea.d.ts +++ b/packages/mui-material/src/CardActionArea/CardActionArea.d.ts @@ -29,12 +29,12 @@ export type CardActionAreaTypeMap< * * Demos: * - * - [Card](https://next.mui.com/material-ui/react-card/) + * - [Card](https://mui.com/material-ui/react-card/) * * API: * - * - [CardActionArea API](https://next.mui.com/material-ui/api/card-action-area/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [CardActionArea API](https://mui.com/material-ui/api/card-action-area/) + * - inherits [ButtonBase API](https://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 d3d1779c27bbf5..eb5494dc0e0229 100644 --- a/packages/mui-material/src/CardActions/CardActions.d.ts +++ b/packages/mui-material/src/CardActions/CardActions.d.ts @@ -27,10 +27,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 4bc6ae6b38863d..4fce9fed0685d3 100644 --- a/packages/mui-material/src/CardHeader/CardHeader.d.ts +++ b/packages/mui-material/src/CardHeader/CardHeader.d.ts @@ -77,11 +77,11 @@ export interface CardHeaderTypeMap< * * Demos: * - * - [Card](https://next.mui.com/material-ui/react-card/) + * - [Card](https://mui.com/material-ui/react-card/) * * API: * - * - [CardHeader API](https://next.mui.com/material-ui/api/card-header/) + * - [CardHeader API](https://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 bbf1816feb2ba6..59d56b2cfd5081 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 b6aadfaba53a54..9d9d6ffca56d24 100644 --- a/packages/mui-material/src/Checkbox/Checkbox.d.ts +++ b/packages/mui-material/src/Checkbox/Checkbox.d.ts @@ -107,12 +107,12 @@ export interface CheckboxProps * * Demos: * - * - [Checkbox](https://next.mui.com/material-ui/react-checkbox/) - * - [Transfer List](https://next.mui.com/material-ui/react-transfer-list/) + * - [Checkbox](https://mui.com/material-ui/react-checkbox/) + * - [Transfer List](https://mui.com/material-ui/react-transfer-list/) * * API: * - * - [Checkbox API](https://next.mui.com/material-ui/api/checkbox/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [Checkbox API](https://mui.com/material-ui/api/checkbox/) + * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) */ export default function Checkbox(props: CheckboxProps): React.JSX.Element; diff --git a/packages/mui-material/src/Chip/Chip.d.ts b/packages/mui-material/src/Chip/Chip.d.ts index 10955d9026def1..c5cd5a82b154a4 100644 --- a/packages/mui-material/src/Chip/Chip.d.ts +++ b/packages/mui-material/src/Chip/Chip.d.ts @@ -105,11 +105,11 @@ export interface ChipTypeMap< * * Demos: * - * - [Chip](https://next.mui.com/material-ui/react-chip/) + * - [Chip](https://mui.com/material-ui/react-chip/) * * API: * - * - [Chip API](https://next.mui.com/material-ui/api/chip/) + * - [Chip API](https://mui.com/material-ui/api/chip/) */ declare const Chip: OverridableComponent; diff --git a/packages/mui-material/src/CircularProgress/CircularProgress.d.ts b/packages/mui-material/src/CircularProgress/CircularProgress.d.ts index 0ec024993fc1b5..31b99ab6a7273e 100644 --- a/packages/mui-material/src/CircularProgress/CircularProgress.d.ts +++ b/packages/mui-material/src/CircularProgress/CircularProgress.d.ts @@ -67,10 +67,10 @@ export interface CircularProgressProps * * Demos: * - * - [Progress](https://next.mui.com/material-ui/react-progress/) + * - [Progress](https://mui.com/material-ui/react-progress/) * * API: * - * - [CircularProgress API](https://next.mui.com/material-ui/api/circular-progress/) + * - [CircularProgress API](https://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 cf7e1673ba0db1..57d83c6b9d053a 100644 --- a/packages/mui-material/src/ClickAwayListener/ClickAwayListener.tsx +++ b/packages/mui-material/src/ClickAwayListener/ClickAwayListener.tsx @@ -65,12 +65,12 @@ export interface ClickAwayListenerProps { * * Demos: * - * - [Click-Away Listener](https://next.mui.com/material-ui/react-click-away-listener/) - * - [Menu](https://next.mui.com/material-ui/react-menu/) + * - [Click-Away Listener](https://mui.com/material-ui/react-click-away-listener/) + * - [Menu](https://mui.com/material-ui/react-menu/) * * API: * - * - [ClickAwayListener API](https://next.mui.com/material-ui/api/click-away-listener/) + * - [ClickAwayListener API](https://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 c61f1d53321e56..aa756bb779a3f7 100644 --- a/packages/mui-material/src/Collapse/Collapse.d.ts +++ b/packages/mui-material/src/Collapse/Collapse.d.ts @@ -54,18 +54,18 @@ export interface CollapseProps extends StandardProps /** * The Collapse transition is used by the - * [Vertical Stepper](https://next.mui.com/material-ui/react-stepper/#vertical-stepper) StepContent component. + * [Vertical Stepper](https://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://next.mui.com/material-ui/react-card/) - * - [Lists](https://next.mui.com/material-ui/react-list/) - * - [Transitions](https://next.mui.com/material-ui/transitions/) + * - [Card](https://mui.com/material-ui/react-card/) + * - [Lists](https://mui.com/material-ui/react-list/) + * - [Transitions](https://mui.com/material-ui/transitions/) * * API: * - * - [Collapse API](https://next.mui.com/material-ui/api/collapse/) + * - [Collapse API](https://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 8ab0be3f73780d..9416144afe2943 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://next.mui.com/material-ui/react-container/) + * - [Container](https://mui.com/material-ui/react-container/) * * API: * - * - [Container API](https://next.mui.com/material-ui/api/container/) + * - [Container API](https://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 6032c59eb267f1..11cb225bd7ac03 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://next.mui.com/material-ui/react-css-baseline/) + * - [CSS Baseline](https://mui.com/material-ui/react-css-baseline/) * * API: * - * - [CssBaseline API](https://next.mui.com/material-ui/api/css-baseline/) + * - [CssBaseline API](https://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 e8b4c70b12bf09..fe96782c634169 100644 --- a/packages/mui-material/src/Dialog/Dialog.d.ts +++ b/packages/mui-material/src/Dialog/Dialog.d.ts @@ -111,11 +111,11 @@ export interface DialogProps extends StandardProps { * * Demos: * - * - [Dialog](https://next.mui.com/material-ui/react-dialog/) + * - [Dialog](https://mui.com/material-ui/react-dialog/) * * API: * - * - [Dialog API](https://next.mui.com/material-ui/api/dialog/) - * - inherits [Modal API](https://next.mui.com/material-ui/api/modal/) + * - [Dialog API](https://mui.com/material-ui/api/dialog/) + * - inherits [Modal API](https://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 cc732990894112..3f1842f3461c08 100644 --- a/packages/mui-material/src/DialogActions/DialogActions.d.ts +++ b/packages/mui-material/src/DialogActions/DialogActions.d.ts @@ -27,10 +27,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 2d6b4f13a50feb..3586405748dc38 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://next.mui.com/material-ui/react-dialog/) + * - [Dialog](https://mui.com/material-ui/react-dialog/) * * API: * - * - [DialogTitle API](https://next.mui.com/material-ui/api/dialog-title/) - * - inherits [Typography API](https://next.mui.com/material-ui/api/typography/) + * - [DialogTitle API](https://mui.com/material-ui/api/dialog-title/) + * - inherits [Typography API](https://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 1f5307972704a1..607806e6516f48 100644 --- a/packages/mui-material/src/Divider/Divider.d.ts +++ b/packages/mui-material/src/Divider/Divider.d.ts @@ -66,12 +66,12 @@ export interface DividerTypeMap< * * Demos: * - * - [Divider](https://next.mui.com/material-ui/react-divider/) - * - [Lists](https://next.mui.com/material-ui/react-list/) + * - [Divider](https://mui.com/material-ui/react-divider/) + * - [Lists](https://mui.com/material-ui/react-list/) * * API: * - * - [Divider API](https://next.mui.com/material-ui/api/divider/) + * - [Divider API](https://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 b16351dee894b7..63807058e521ab 100644 --- a/packages/mui-material/src/Drawer/Drawer.d.ts +++ b/packages/mui-material/src/Drawer/Drawer.d.ts @@ -74,15 +74,15 @@ export interface DrawerProps extends StandardProps; diff --git a/packages/mui-material/src/Fade/Fade.d.ts b/packages/mui-material/src/Fade/Fade.d.ts index a0c2fd024261f1..6e6a7055ea20a4 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://next.mui.com/material-ui/react-modal/) component. + * The Fade transition is used by the [Modal](https://mui.com/material-ui/react-modal/) component. * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally. * * Demos: * - * - [Transitions](https://next.mui.com/material-ui/transitions/) + * - [Transitions](https://mui.com/material-ui/transitions/) * * API: * - * - [Fade API](https://next.mui.com/material-ui/api/fade/) + * - [Fade API](https://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 7432f5bda9555e..c31279ed4f8b8b 100644 --- a/packages/mui-material/src/FilledInput/FilledInput.d.ts +++ b/packages/mui-material/src/FilledInput/FilledInput.d.ts @@ -30,12 +30,12 @@ export interface FilledInputProps extends StandardProps { * * Demos: * - * - [Text Field](https://next.mui.com/material-ui/react-text-field/) + * - [Text Field](https://mui.com/material-ui/react-text-field/) * * API: * - * - [FilledInput API](https://next.mui.com/material-ui/api/filled-input/) - * - inherits [InputBase API](https://next.mui.com/material-ui/api/input-base/) + * - [FilledInput API](https://mui.com/material-ui/api/filled-input/) + * - inherits [InputBase API](https://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 962165a5c33bd1..062d78db66d4fe 100644 --- a/packages/mui-material/src/FormControl/FormControl.d.ts +++ b/packages/mui-material/src/FormControl/FormControl.d.ts @@ -98,7 +98,7 @@ export interface FormControlTypeMap< * * Input * * InputLabel * - * You can find one composition example below and more going to [the demos](https://next.mui.com/material-ui/react-text-field/#components). + * You can find one composition example below and more going to [the demos](https://mui.com/material-ui/react-text-field/#components). * * ```jsx * @@ -113,14 +113,14 @@ export interface FormControlTypeMap< * * Demos: * - * - [Checkbox](https://next.mui.com/material-ui/react-checkbox/) - * - [Radio Group](https://next.mui.com/material-ui/react-radio-button/) - * - [Switch](https://next.mui.com/material-ui/react-switch/) - * - [Text Field](https://next.mui.com/material-ui/react-text-field/) + * - [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/) + * - [Text Field](https://mui.com/material-ui/react-text-field/) * * API: * - * - [FormControl API](https://next.mui.com/material-ui/api/form-control/) + * - [FormControl API](https://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 9a0b2e1d0caf5c..07e08ff94d721b 100644 --- a/packages/mui-material/src/FormControlLabel/FormControlLabel.d.ts +++ b/packages/mui-material/src/FormControlLabel/FormControlLabel.d.ts @@ -98,12 +98,12 @@ export interface FormControlLabelProps * * Demos: * - * - [Checkbox](https://next.mui.com/material-ui/react-checkbox/) - * - [Radio Group](https://next.mui.com/material-ui/react-radio-button/) - * - [Switch](https://next.mui.com/material-ui/react-switch/) + * - [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/) * * API: * - * - [FormControlLabel API](https://next.mui.com/material-ui/api/form-control-label/) + * - [FormControlLabel API](https://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 d18a8220203ca5..120c8bda2f6ad4 100644 --- a/packages/mui-material/src/FormGroup/FormGroup.d.ts +++ b/packages/mui-material/src/FormGroup/FormGroup.d.ts @@ -30,11 +30,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 1ed383f68805e9..f332f4d1c1a33d 100644 --- a/packages/mui-material/src/FormLabel/FormLabel.d.ts +++ b/packages/mui-material/src/FormLabel/FormLabel.d.ts @@ -68,13 +68,13 @@ export interface FormLabelTypeMap< * * Demos: * - * - [Checkbox](https://next.mui.com/material-ui/react-checkbox/) - * - [Radio Group](https://next.mui.com/material-ui/react-radio-button/) - * - [Switch](https://next.mui.com/material-ui/react-switch/) + * - [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/) * * API: * - * - [FormLabel API](https://next.mui.com/material-ui/api/form-label/) + * - [FormLabel API](https://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 be98077796b721..a5f9b45d7ab4fc 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://next.mui.com/material-ui/customization/how-to-customize/) + * - [How to customize](https://mui.com/material-ui/customization/how-to-customize/) * * API: * - * - [GlobalStyles API](https://next.mui.com/material-ui/api/global-styles/) + * - [GlobalStyles API](https://mui.com/material-ui/api/global-styles/) */ export default function GlobalStyles(props: GlobalStylesProps): React.ReactElement; diff --git a/packages/mui-material/src/Grid/Grid.d.ts b/packages/mui-material/src/Grid/Grid.d.ts index 8621d3f06a2090..961500b86670d4 100644 --- a/packages/mui-material/src/Grid/Grid.d.ts +++ b/packages/mui-material/src/Grid/Grid.d.ts @@ -162,13 +162,13 @@ export interface GridTypeMap< * * Demos: * - * - [Grid](https://next.mui.com/material-ui/react-grid/) + * - [Grid](https://mui.com/material-ui/react-grid/) * * API: * - * - [Grid API](https://next.mui.com/material-ui/api/grid/) + * - [Grid API](https://mui.com/material-ui/api/grid/) * - * @deprecated Use the [`Grid2`](https://next.mui.com/material-ui/react-grid2/) component instead. + * @deprecated Use the [`Grid2`](https://mui.com/material-ui/react-grid2/) component instead. */ declare const Grid: OverridableComponent; diff --git a/packages/mui-material/src/Grid/Grid.js b/packages/mui-material/src/Grid/Grid.js index ec8f82bda71359..99c728095e36c4 100644 --- a/packages/mui-material/src/Grid/Grid.js +++ b/packages/mui-material/src/Grid/Grid.js @@ -399,7 +399,7 @@ const useUtilityClasses = (ownerState) => { }; /** - * @deprecated Use the [`Grid2`](https://next.mui.com/material-ui/react-grid2/) component instead. + * @deprecated Use the [`Grid2`](https://mui.com/material-ui/react-grid2/) component instead. */ const Grid = React.forwardRef(function Grid(inProps, ref) { const themeProps = useThemeProps({ props: inProps, name: 'MuiGrid' }); diff --git a/packages/mui-material/src/Grid2/Grid2.tsx b/packages/mui-material/src/Grid2/Grid2.tsx index 6fefa1c7d335e1..3aeb961de5ff97 100644 --- a/packages/mui-material/src/Grid2/Grid2.tsx +++ b/packages/mui-material/src/Grid2/Grid2.tsx @@ -112,11 +112,11 @@ export type Grid2Props< * * Demos: * - * - [Grid version 2](https://next.mui.com/material-ui/react-grid2/) + * - [Grid version 2](https://mui.com/material-ui/react-grid2/) * * API: * - * - [Grid2 API](https://next.mui.com/material-ui/api/grid-2/) + * - [Grid2 API](https://mui.com/material-ui/api/grid-2/) */ const Grid2 = createGrid2({ createStyledComponent: styled('div', { diff --git a/packages/mui-material/src/Grow/Grow.d.ts b/packages/mui-material/src/Grow/Grow.d.ts index c01ca0614f9f1a..b4a412e9792737 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://next.mui.com/material-ui/react-tooltip/) and - * [Popover](https://next.mui.com/material-ui/react-popover/) components. + * 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. * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally. * * Demos: * - * - [Popover](https://next.mui.com/material-ui/react-popover/) - * - [Transitions](https://next.mui.com/material-ui/transitions/) + * - [Popover](https://mui.com/material-ui/react-popover/) + * - [Transitions](https://mui.com/material-ui/transitions/) * * API: * - * - [Grow API](https://next.mui.com/material-ui/api/grow/) + * - [Grow API](https://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/Hidden/Hidden.d.ts b/packages/mui-material/src/Hidden/Hidden.d.ts index 566562223cd8cd..f07cf95a14c119 100644 --- a/packages/mui-material/src/Hidden/Hidden.d.ts +++ b/packages/mui-material/src/Hidden/Hidden.d.ts @@ -85,11 +85,11 @@ export interface HiddenProps { * * Demos: * - * - [Hidden](https://next.mui.com/material-ui/react-hidden/) + * - [Hidden](https://mui.com/material-ui/react-hidden/) * * API: * - * - [Hidden API](https://next.mui.com/material-ui/api/hidden/) + * - [Hidden API](https://mui.com/material-ui/api/hidden/) * * @deprecated The Hidden component was deprecated in Material UI v5. To learn more, see [the Hidden section](/material-ui/migration/v5-component-changes/#hidden) of the migration docs. */ diff --git a/packages/mui-material/src/Icon/Icon.d.ts b/packages/mui-material/src/Icon/Icon.d.ts index e89527fd4c33bb..643e8a9667a12d 100644 --- a/packages/mui-material/src/Icon/Icon.d.ts +++ b/packages/mui-material/src/Icon/Icon.d.ts @@ -67,12 +67,12 @@ export interface IconTypeMap< * * Demos: * - * - [Icons](https://next.mui.com/material-ui/icons/) - * - [Material Icons](https://next.mui.com/material-ui/material-icons/) + * - [Icons](https://mui.com/material-ui/icons/) + * - [Material Icons](https://mui.com/material-ui/material-icons/) * * API: * - * - [Icon API](https://next.mui.com/material-ui/api/icon/) + * - [Icon API](https://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 8169de7e40ca59..108d72d09ac0c3 100644 --- a/packages/mui-material/src/IconButton/IconButton.d.ts +++ b/packages/mui-material/src/IconButton/IconButton.d.ts @@ -68,17 +68,17 @@ export type IconButtonTypeMap< }>; /** - * Refer to the [Icons](https://next.mui.com/material-ui/icons/) section of the documentation + * Refer to the [Icons](https://mui.com/material-ui/icons/) section of the documentation * regarding the available icon options. * * Demos: * - * - [Button](https://next.mui.com/material-ui/react-button/) + * - [Button](https://mui.com/material-ui/react-button/) * * API: * - * - [IconButton API](https://next.mui.com/material-ui/api/icon-button/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [IconButton API](https://mui.com/material-ui/api/icon-button/) + * - inherits [ButtonBase API](https://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 53ce9e5a1588f2..618e3cbc990531 100644 --- a/packages/mui-material/src/ImageList/ImageList.d.ts +++ b/packages/mui-material/src/ImageList/ImageList.d.ts @@ -56,11 +56,11 @@ export interface ImageListTypeMap< * * Demos: * - * - [Image List](https://next.mui.com/material-ui/react-image-list/) + * - [Image List](https://mui.com/material-ui/react-image-list/) * * API: * - * - [ImageList API](https://next.mui.com/material-ui/api/image-list/) + * - [ImageList API](https://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 20a1f635344c7d..09892699adfadb 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://next.mui.com/material-ui/react-image-list/) + * - [Image List](https://mui.com/material-ui/react-image-list/) * * API: * - * - [ImageListItem API](https://next.mui.com/material-ui/api/image-list-item/) + * - [ImageListItem API](https://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 7194d9e2e0440e..b134d22e35121d 100644 --- a/packages/mui-material/src/ImageListItemBar/ImageListItemBar.d.ts +++ b/packages/mui-material/src/ImageListItemBar/ImageListItemBar.d.ts @@ -42,10 +42,10 @@ export interface ImageListItemBarProps * * Demos: * - * - [Image List](https://next.mui.com/material-ui/react-image-list/) + * - [Image List](https://mui.com/material-ui/react-image-list/) * * API: * - * - [ImageListItemBar API](https://next.mui.com/material-ui/api/image-list-item-bar/) + * - [ImageListItemBar API](https://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/Input/Input.d.ts b/packages/mui-material/src/Input/Input.d.ts index 6e390cad7c4798..771af138da3324 100644 --- a/packages/mui-material/src/Input/Input.d.ts +++ b/packages/mui-material/src/Input/Input.d.ts @@ -23,12 +23,12 @@ export interface InputProps extends StandardProps { * * Demos: * - * - [Text Field](https://next.mui.com/material-ui/react-text-field/) + * - [Text Field](https://mui.com/material-ui/react-text-field/) * * API: * - * - [Input API](https://next.mui.com/material-ui/api/input/) - * - inherits [InputBase API](https://next.mui.com/material-ui/api/input-base/) + * - [Input API](https://mui.com/material-ui/api/input/) + * - inherits [InputBase API](https://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 15707df2a38af9..14ad4b05d3f00d 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://next.mui.com/material-ui/react-text-field/) + * - [Text Field](https://mui.com/material-ui/react-text-field/) * * API: * - * - [InputAdornment API](https://next.mui.com/material-ui/api/input-adornment/) + * - [InputAdornment API](https://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 5f5b743cae7b0b..1fc733478cd66c 100644 --- a/packages/mui-material/src/InputBase/InputBase.d.ts +++ b/packages/mui-material/src/InputBase/InputBase.d.ts @@ -255,10 +255,10 @@ export interface InputBaseComponentProps * * Demos: * - * - [Text Field](https://next.mui.com/material-ui/react-text-field/) + * - [Text Field](https://mui.com/material-ui/react-text-field/) * * API: * - * - [InputBase API](https://next.mui.com/material-ui/api/input-base/) + * - [InputBase API](https://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 e18e64c09178f5..d35c933cac7be5 100644 --- a/packages/mui-material/src/InputLabel/InputLabel.d.ts +++ b/packages/mui-material/src/InputLabel/InputLabel.d.ts @@ -71,12 +71,12 @@ export type InputLabelTypeMap< * * Demos: * - * - [Text Field](https://next.mui.com/material-ui/react-text-field/) + * - [Text Field](https://mui.com/material-ui/react-text-field/) * * API: * - * - [InputLabel API](https://next.mui.com/material-ui/api/input-label/) - * - inherits [FormLabel API](https://next.mui.com/material-ui/api/form-label/) + * - [InputLabel API](https://mui.com/material-ui/api/input-label/) + * - inherits [FormLabel API](https://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 f2cca1efb4dac5..58e7a73e9e80c5 100644 --- a/packages/mui-material/src/LinearProgress/LinearProgress.d.ts +++ b/packages/mui-material/src/LinearProgress/LinearProgress.d.ts @@ -53,10 +53,10 @@ export interface LinearProgressProps * * Demos: * - * - [Progress](https://next.mui.com/material-ui/react-progress/) + * - [Progress](https://mui.com/material-ui/react-progress/) * * API: * - * - [LinearProgress API](https://next.mui.com/material-ui/api/linear-progress/) + * - [LinearProgress API](https://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 4b00c47107d136..99b9147a962c3a 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 720a6bba7fa675..19b0aaa68cbd94 100644 --- a/packages/mui-material/src/List/List.d.ts +++ b/packages/mui-material/src/List/List.d.ts @@ -56,12 +56,12 @@ export type ExtendList = OverridableComponen * * Demos: * - * - [Lists](https://next.mui.com/material-ui/react-list/) - * - [Transfer List](https://next.mui.com/material-ui/react-transfer-list/) + * - [Lists](https://mui.com/material-ui/react-list/) + * - [Transfer List](https://mui.com/material-ui/react-transfer-list/) * * API: * - * - [List API](https://next.mui.com/material-ui/api/list/) + * - [List API](https://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 59da2dee9b6e5b..4e70147d199b14 100644 --- a/packages/mui-material/src/ListItem/ListItem.d.ts +++ b/packages/mui-material/src/ListItem/ListItem.d.ts @@ -116,12 +116,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 0aaae64028fa2d..5a13d4c9d5d8de 100644 --- a/packages/mui-material/src/ListItemAvatar/ListItemAvatar.d.ts +++ b/packages/mui-material/src/ListItemAvatar/ListItemAvatar.d.ts @@ -22,10 +22,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 15e5c5cbd0f33c..076ca13b5513eb 100644 --- a/packages/mui-material/src/ListItemIcon/ListItemIcon.d.ts +++ b/packages/mui-material/src/ListItemIcon/ListItemIcon.d.ts @@ -24,10 +24,10 @@ 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 c00618b5b03657..4e25f63ddfd124 100644 --- a/packages/mui-material/src/Menu/Menu.d.ts +++ b/packages/mui-material/src/Menu/Menu.d.ts @@ -86,12 +86,12 @@ export declare const MenuPaper: React.FC; * * Demos: * - * - [App Bar](https://next.mui.com/material-ui/react-app-bar/) - * - [Menu](https://next.mui.com/material-ui/react-menu/) + * - [App Bar](https://mui.com/material-ui/react-app-bar/) + * - [Menu](https://mui.com/material-ui/react-menu/) * * API: * - * - [Menu API](https://next.mui.com/material-ui/api/menu/) - * - inherits [Popover API](https://next.mui.com/material-ui/api/popover/) + * - [Menu API](https://mui.com/material-ui/api/menu/) + * - inherits [Popover API](https://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 5915662f5ff037..76f2fe665f8070 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://next.mui.com/material-ui/react-menu/) + * - [Menu](https://mui.com/material-ui/react-menu/) * * API: * - * - [MenuItem API](https://next.mui.com/material-ui/api/menu-item/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [MenuItem API](https://mui.com/material-ui/api/menu-item/) + * - inherits [ButtonBase API](https://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 5f8a4e585ae3f4..f177efc71b9cb6 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 4dd737cda97675..9a05cabb4b9b5d 100644 --- a/packages/mui-material/src/MobileStepper/MobileStepper.d.ts +++ b/packages/mui-material/src/MobileStepper/MobileStepper.d.ts @@ -52,11 +52,11 @@ export interface MobileStepperProps extends StandardProps; /** * Modal is a lower-level construct that is leveraged by the following components: * - * * [Dialog](https://next.mui.com/material-ui/api/dialog/) - * * [Drawer](https://next.mui.com/material-ui/api/drawer/) - * * [Menu](https://next.mui.com/material-ui/api/menu/) - * * [Popover](https://next.mui.com/material-ui/api/popover/) + * * [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/) * - * If you are creating a modal dialog, you probably want to use the [Dialog](https://next.mui.com/material-ui/api/dialog/) component + * If you are creating a modal dialog, you probably want to use the [Dialog](https://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://next.mui.com/material-ui/react-modal/) + * - [Modal](https://mui.com/material-ui/react-modal/) * * API: * - * - [Modal API](https://next.mui.com/material-ui/api/modal/) + * - [Modal API](https://mui.com/material-ui/api/modal/) */ declare const Modal: OverridableComponent; diff --git a/packages/mui-material/src/Modal/useModal.ts b/packages/mui-material/src/Modal/useModal.ts index eb7924d7eab790..5321d2f66ea75b 100644 --- a/packages/mui-material/src/Modal/useModal.ts +++ b/packages/mui-material/src/Modal/useModal.ts @@ -31,11 +31,11 @@ const defaultManager = new ModalManager(); * * Demos: * - * - [Modal](https://next.mui.com/base-ui/react-modal/#hook) + * - [Modal](https://mui.com/base-ui/react-modal/#hook) * * API: * - * - [useModal API](https://next.mui.com/base-ui/react-modal/hooks-api/#use-modal) + * - [useModal API](https://mui.com/base-ui/react-modal/hooks-api/#use-modal) */ function useModal(parameters: UseModalParameters): UseModalReturnValue { const { diff --git a/packages/mui-material/src/NativeSelect/NativeSelect.d.ts b/packages/mui-material/src/NativeSelect/NativeSelect.d.ts index 28ec68143d6468..f2947572a2a2e6 100644 --- a/packages/mui-material/src/NativeSelect/NativeSelect.d.ts +++ b/packages/mui-material/src/NativeSelect/NativeSelect.d.ts @@ -57,12 +57,12 @@ export interface NativeSelectProps * * Demos: * - * - [Select](https://next.mui.com/material-ui/react-select/) + * - [Select](https://mui.com/material-ui/react-select/) * * API: * - * - [NativeSelect API](https://next.mui.com/material-ui/api/native-select/) - * - inherits [Input API](https://next.mui.com/material-ui/api/input/) + * - [NativeSelect API](https://mui.com/material-ui/api/native-select/) + * - inherits [Input API](https://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 9bf17444706241..0d8bc8c9c6b6c7 100644 --- a/packages/mui-material/src/NoSsr/NoSsr.tsx +++ b/packages/mui-material/src/NoSsr/NoSsr.tsx @@ -16,11 +16,11 @@ import { NoSsrProps } from './NoSsr.types'; * * Demos: * - * - [No SSR](https://next.mui.com/material-ui/react-no-ssr/) + * - [No SSR](https://mui.com/material-ui/react-no-ssr/) * * API: * - * - [NoSsr API](https://next.mui.com/material-ui/api/no-ssr/) + * - [NoSsr API](https://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 22a4c69059a155..f8faee63a44db8 100644 --- a/packages/mui-material/src/OutlinedInput/OutlinedInput.d.ts +++ b/packages/mui-material/src/OutlinedInput/OutlinedInput.d.ts @@ -28,12 +28,12 @@ export interface OutlinedInputProps extends StandardProps { * * Demos: * - * - [Text Field](https://next.mui.com/material-ui/react-text-field/) + * - [Text Field](https://mui.com/material-ui/react-text-field/) * * API: * - * - [OutlinedInput API](https://next.mui.com/material-ui/api/outlined-input/) - * - inherits [InputBase API](https://next.mui.com/material-ui/api/input-base/) + * - [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/) + * - inherits [InputBase API](https://mui.com/material-ui/api/input-base/) */ declare const OutlinedInput: ((props: OutlinedInputProps) => 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 752661d0c34015..679f0d34af9a29 100644 --- a/packages/mui-material/src/Pagination/Pagination.d.ts +++ b/packages/mui-material/src/Pagination/Pagination.d.ts @@ -84,10 +84,10 @@ export interface PaginationProps * * Demos: * - * - [Pagination](https://next.mui.com/material-ui/react-pagination/) + * - [Pagination](https://mui.com/material-ui/react-pagination/) * * API: * - * - [Pagination API](https://next.mui.com/material-ui/api/pagination/) + * - [Pagination API](https://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 2fa9c39736e559..89f80057ac255b 100644 --- a/packages/mui-material/src/PaginationItem/PaginationItem.d.ts +++ b/packages/mui-material/src/PaginationItem/PaginationItem.d.ts @@ -118,11 +118,11 @@ export interface PaginationItemTypeMap< * * Demos: * - * - [Pagination](https://next.mui.com/material-ui/react-pagination/) + * - [Pagination](https://mui.com/material-ui/react-pagination/) * * API: * - * - [PaginationItem API](https://next.mui.com/material-ui/api/pagination-item/) + * - [PaginationItem API](https://mui.com/material-ui/api/pagination-item/) */ 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 5c387010ca2f96..4c35061f6e3395 100644 --- a/packages/mui-material/src/Paper/Paper.d.ts +++ b/packages/mui-material/src/Paper/Paper.d.ts @@ -50,12 +50,12 @@ export interface PaperTypeMap< * * Demos: * - * - [Card](https://next.mui.com/material-ui/react-card/) - * - [Paper](https://next.mui.com/material-ui/react-paper/) + * - [Card](https://mui.com/material-ui/react-card/) + * - [Paper](https://mui.com/material-ui/react-paper/) * * API: * - * - [Paper API](https://next.mui.com/material-ui/api/paper/) + * - [Paper API](https://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 7e79204a424a49..9ea90947bfe742 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://next.mui.com/material-ui/react-container/) + * - [Container](https://mui.com/material-ui/react-container/) * * API: * - * - [PigmentContainer API](https://next.mui.com/material-ui/api/pigment-container/) + * - [PigmentContainer API](https://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 7d18a8dd1ead3a..9518069c45bf1f 100644 --- a/packages/mui-material/src/PigmentGrid/PigmentGrid.tsx +++ b/packages/mui-material/src/PigmentGrid/PigmentGrid.tsx @@ -145,11 +145,11 @@ const useUtilityClasses = (ownerState: GridBaseProps) => { * * Demos: * - * - [Grid version 2](https://next.mui.com/material-ui/react-grid2/) + * - [Grid version 2](https://mui.com/material-ui/react-grid2/) * * API: * - * - [PigmentGrid API](https://next.mui.com/material-ui/api/pigment-grid/) + * - [PigmentGrid API](https://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/PigmentHidden/PigmentHidden.tsx b/packages/mui-material/src/PigmentHidden/PigmentHidden.tsx index 99fb1a3972dccd..c4abce51b2f243 100644 --- a/packages/mui-material/src/PigmentHidden/PigmentHidden.tsx +++ b/packages/mui-material/src/PigmentHidden/PigmentHidden.tsx @@ -254,11 +254,11 @@ HiddenCss.propTypes /* remove-proptypes */ = { * * Demos: * - * - [Hidden](https://next.mui.com/material-ui/react-hidden/) + * - [Hidden](https://mui.com/material-ui/react-hidden/) * * API: * - * - [PigmentHidden API](https://next.mui.com/material-ui/api/pigment-hidden/) + * - [PigmentHidden API](https://mui.com/material-ui/api/pigment-hidden/) */ function PigmentHidden({ implementation = 'js', ...props }: HiddenProps & { className?: string }) { if (implementation === 'js') { diff --git a/packages/mui-material/src/PigmentStack/PigmentStack.tsx b/packages/mui-material/src/PigmentStack/PigmentStack.tsx index 04d90fbe52ca69..4b0e34d9abbe2f 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://next.mui.com/material-ui/react-stack/) + * - [Stack](https://mui.com/material-ui/react-stack/) * * API: * - * - [PigmentStack API](https://next.mui.com/material-ui/api/pigment-stack/) + * - [PigmentStack API](https://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 3ff8f128b72a38..6dd98759e2283a 100644 --- a/packages/mui-material/src/Popover/Popover.d.ts +++ b/packages/mui-material/src/Popover/Popover.d.ts @@ -182,12 +182,12 @@ export declare const PopoverPaper: React.FC; * * Demos: * - * - [Menu](https://next.mui.com/material-ui/react-menu/) - * - [Popover](https://next.mui.com/material-ui/react-popover/) + * - [Menu](https://mui.com/material-ui/react-menu/) + * - [Popover](https://mui.com/material-ui/react-popover/) * * API: * - * - [Popover API](https://next.mui.com/material-ui/api/popover/) - * - inherits [Modal API](https://next.mui.com/material-ui/api/modal/) + * - [Popover API](https://mui.com/material-ui/api/popover/) + * - inherits [Modal API](https://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 6be1269727b656..b329b808ae044d 100644 --- a/packages/mui-material/src/Popper/Popper.tsx +++ b/packages/mui-material/src/Popper/Popper.tsx @@ -50,13 +50,13 @@ const PopperRoot = styled(BasePopper, { * * Demos: * - * - [Autocomplete](https://next.mui.com/material-ui/react-autocomplete/) - * - [Menu](https://next.mui.com/material-ui/react-menu/) - * - [Popper](https://next.mui.com/material-ui/react-popper/) + * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/) + * - [Menu](https://mui.com/material-ui/react-menu/) + * - [Popper](https://mui.com/material-ui/react-popper/) * * API: * - * - [Popper API](https://next.mui.com/material-ui/api/popper/) + * - [Popper API](https://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 d59a8322e47a95..b6aff42416c348 100644 --- a/packages/mui-material/src/Portal/Portal.tsx +++ b/packages/mui-material/src/Portal/Portal.tsx @@ -22,11 +22,11 @@ function getContainer(container: PortalProps['container']) { * * Demos: * - * - [Portal](https://next.mui.com/material-ui/react-portal/) + * - [Portal](https://mui.com/material-ui/react-portal/) * * API: * - * - [Portal API](https://next.mui.com/material-ui/api/portal/) + * - [Portal API](https://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 fff957773fcce5..839696994c4b31 100644 --- a/packages/mui-material/src/Radio/Radio.d.ts +++ b/packages/mui-material/src/Radio/Radio.d.ts @@ -55,11 +55,11 @@ export interface RadioProps * * Demos: * - * - [Radio Group](https://next.mui.com/material-ui/react-radio-button/) + * - [Radio Group](https://mui.com/material-ui/react-radio-button/) * * API: * - * - [Radio API](https://next.mui.com/material-ui/api/radio/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [Radio API](https://mui.com/material-ui/api/radio/) + * - inherits [ButtonBase API](https://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 03d7c848511e57..3793f088ac1384 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://next.mui.com/material-ui/react-radio-button/) + * - [Radio Group](https://mui.com/material-ui/react-radio-button/) * * API: * - * - [RadioGroup API](https://next.mui.com/material-ui/api/radio-group/) - * - inherits [FormGroup API](https://next.mui.com/material-ui/api/form-group/) + * - [RadioGroup API](https://mui.com/material-ui/api/radio-group/) + * - inherits [FormGroup API](https://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 19202e5b401819..c13fb057e05718 100644 --- a/packages/mui-material/src/Rating/Rating.d.ts +++ b/packages/mui-material/src/Rating/Rating.d.ts @@ -118,10 +118,10 @@ export interface RatingProps * * Demos: * - * - [Rating](https://next.mui.com/material-ui/react-rating/) + * - [Rating](https://mui.com/material-ui/react-rating/) * * API: * - * - [Rating API](https://next.mui.com/material-ui/api/rating/) + * - [Rating API](https://mui.com/material-ui/api/rating/) */ export default function Rating(props: RatingProps): React.JSX.Element; diff --git a/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.d.ts b/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.d.ts index 4978384fb29337..d4224ff66fefea 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://next.mui.com/material-ui/react-css-baseline/) + * - [CSS Baseline](https://mui.com/material-ui/react-css-baseline/) * * API: * - * - [ScopedCssBaseline API](https://next.mui.com/material-ui/api/scoped-css-baseline/) + * - [ScopedCssBaseline API](https://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 84bf9cfed790ab..d6396fb5df8291 100644 --- a/packages/mui-material/src/Select/Select.d.ts +++ b/packages/mui-material/src/Select/Select.d.ts @@ -189,12 +189,12 @@ export type SelectProps = * * Demos: * - * - [Select](https://next.mui.com/material-ui/react-select/) + * - [Select](https://mui.com/material-ui/react-select/) * * API: * - * - [Select API](https://next.mui.com/material-ui/api/select/) - * - inherits [OutlinedInput API](https://next.mui.com/material-ui/api/outlined-input/) + * - [Select API](https://mui.com/material-ui/api/select/) + * - inherits [OutlinedInput API](https://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 1166a46be999bc..1d4e9eda13c324 100644 --- a/packages/mui-material/src/Skeleton/Skeleton.d.ts +++ b/packages/mui-material/src/Skeleton/Skeleton.d.ts @@ -58,11 +58,11 @@ export interface SkeletonTypeMap< * * Demos: * - * - [Skeleton](https://next.mui.com/material-ui/react-skeleton/) + * - [Skeleton](https://mui.com/material-ui/react-skeleton/) * * API: * - * - [Skeleton API](https://next.mui.com/material-ui/api/skeleton/) + * - [Skeleton API](https://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 58cf5747ff7413..d6a6181e18fa69 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://next.mui.com/material-ui/react-drawer/) component. + * The Slide transition is used by the [Drawer](https://mui.com/material-ui/react-drawer/) component. * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally. * * Demos: * - * - [Dialog](https://next.mui.com/material-ui/react-dialog/) - * - [Transitions](https://next.mui.com/material-ui/transitions/) + * - [Dialog](https://mui.com/material-ui/react-dialog/) + * - [Transitions](https://mui.com/material-ui/transitions/) * * API: * - * - [Slide API](https://next.mui.com/material-ui/api/slide/) + * - [Slide API](https://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 5956cd492660b3..ab2ad4fd09e610 100644 --- a/packages/mui-material/src/Slider/Slider.d.ts +++ b/packages/mui-material/src/Slider/Slider.d.ts @@ -306,11 +306,11 @@ export declare const SliderValueLabel: React.FC; * * Demos: * - * - [Slider](https://next.mui.com/material-ui/react-slider/) + * - [Slider](https://mui.com/material-ui/react-slider/) * * API: * - * - [Slider API](https://next.mui.com/material-ui/api/slider/) + * - [Slider API](https://mui.com/material-ui/api/slider/) */ declare const Slider: OverridableComponent; diff --git a/packages/mui-material/src/Slider/useSlider.ts b/packages/mui-material/src/Slider/useSlider.ts index ba97c4adb1ab01..d36189f6a72022 100644 --- a/packages/mui-material/src/Slider/useSlider.ts +++ b/packages/mui-material/src/Slider/useSlider.ts @@ -192,11 +192,11 @@ function doesSupportTouchActionNone() { * * Demos: * - * - [Slider](https://next.mui.com/base-ui/react-slider/#hook) + * - [Slider](https://mui.com/base-ui/react-slider/#hook) * * API: * - * - [useSlider API](https://next.mui.com/base-ui/react-slider/hooks-api/#use-slider) + * - [useSlider API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider) */ export function useSlider(parameters: UseSliderParameters): UseSliderReturnValue { const { diff --git a/packages/mui-material/src/Snackbar/Snackbar.d.ts b/packages/mui-material/src/Snackbar/Snackbar.d.ts index 07f9bf3a5754c0..40afc52181ee57 100644 --- a/packages/mui-material/src/Snackbar/Snackbar.d.ts +++ b/packages/mui-material/src/Snackbar/Snackbar.d.ts @@ -121,10 +121,10 @@ export interface SnackbarProps 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 6692dc514a7d63..fe13177c0b0aae 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://next.mui.com/material-ui/react-stack/) + * - [Stack](https://mui.com/material-ui/react-stack/) * * API: * - * - [Stack API](https://next.mui.com/material-ui/api/stack/) + * - [Stack API](https://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 4124ae1cfc367d..ccb6f1044ff242 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://next.mui.com/material-ui/react-stepper/) + * - [Stepper](https://mui.com/material-ui/react-stepper/) * * API: * - * - [Step API](https://next.mui.com/material-ui/api/step/) + * - [Step API](https://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 c14a0a3df7f889..e5593d63872cc2 100644 --- a/packages/mui-material/src/StepButton/StepButton.d.ts +++ b/packages/mui-material/src/StepButton/StepButton.d.ts @@ -47,12 +47,12 @@ export type StepButtonTypeMap< * * Demos: * - * - [Stepper](https://next.mui.com/material-ui/react-stepper/) + * - [Stepper](https://mui.com/material-ui/react-stepper/) * * API: * - * - [StepButton API](https://next.mui.com/material-ui/api/step-button/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [StepButton API](https://mui.com/material-ui/api/step-button/) + * - inherits [ButtonBase API](https://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 bb2b26f0dde028..1837606f674bc8 100644 --- a/packages/mui-material/src/StepConnector/StepConnector.d.ts +++ b/packages/mui-material/src/StepConnector/StepConnector.d.ts @@ -24,10 +24,10 @@ export type StepConnectorClasskey = keyof NonNullable * * Demos: * - * - [Stepper](https://next.mui.com/material-ui/react-stepper/) + * - [Stepper](https://mui.com/material-ui/react-stepper/) * * API: * - * - [StepContent API](https://next.mui.com/material-ui/api/step-content/) + * - [StepContent API](https://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 f640ce25594866..d71906a033977e 100644 --- a/packages/mui-material/src/StepIcon/StepIcon.d.ts +++ b/packages/mui-material/src/StepIcon/StepIcon.d.ts @@ -41,10 +41,10 @@ export type StepIconClasskey = keyof NonNullable; * * Demos: * - * - [Stepper](https://next.mui.com/material-ui/react-stepper/) + * - [Stepper](https://mui.com/material-ui/react-stepper/) * * API: * - * - [StepIcon API](https://next.mui.com/material-ui/api/step-icon/) + * - [StepIcon API](https://mui.com/material-ui/api/step-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 da324c2a58e4c2..c72b93925a4724 100644 --- a/packages/mui-material/src/StepLabel/StepLabel.d.ts +++ b/packages/mui-material/src/StepLabel/StepLabel.d.ts @@ -84,11 +84,11 @@ export type StepLabelClasskey = keyof NonNullable; * * Demos: * - * - [Stepper](https://next.mui.com/material-ui/react-stepper/) + * - [Stepper](https://mui.com/material-ui/react-stepper/) * * API: * - * - [StepLabel API](https://next.mui.com/material-ui/api/step-label/) + * - [StepLabel API](https://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 f69a73fdee860a..5fc6837acaf0b0 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://next.mui.com/material-ui/react-stepper/) + * - [Stepper](https://mui.com/material-ui/react-stepper/) * * API: * - * - [Stepper API](https://next.mui.com/material-ui/api/stepper/) + * - [Stepper API](https://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 842e68e24dd59d..f759ef569f5939 100644 --- a/packages/mui-material/src/SvgIcon/SvgIcon.d.ts +++ b/packages/mui-material/src/SvgIcon/SvgIcon.d.ts @@ -94,12 +94,12 @@ export interface SvgIconTypeMap< * * Demos: * - * - [Icons](https://next.mui.com/material-ui/icons/) - * - [Material Icons](https://next.mui.com/material-ui/material-icons/) + * - [Icons](https://mui.com/material-ui/icons/) + * - [Material Icons](https://mui.com/material-ui/material-icons/) * * API: * - * - [SvgIcon API](https://next.mui.com/material-ui/api/svg-icon/) + * - [SvgIcon API](https://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 47b09550d93dde..fea68f162183d7 100644 --- a/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts +++ b/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts @@ -81,12 +81,12 @@ export interface SwipeableDrawerProps extends Omit; diff --git a/packages/mui-material/src/Switch/Switch.d.ts b/packages/mui-material/src/Switch/Switch.d.ts index c9029f20bc58b9..b57cb0aa32fa4c 100644 --- a/packages/mui-material/src/Switch/Switch.d.ts +++ b/packages/mui-material/src/Switch/Switch.d.ts @@ -58,12 +58,12 @@ export interface SwitchProps * * Demos: * - * - [Switch](https://next.mui.com/material-ui/react-switch/) - * - [Transfer List](https://next.mui.com/material-ui/react-transfer-list/) + * - [Switch](https://mui.com/material-ui/react-switch/) + * - [Transfer List](https://mui.com/material-ui/react-transfer-list/) * * API: * - * - [Switch API](https://next.mui.com/material-ui/api/switch/) - * - inherits [IconButton API](https://next.mui.com/material-ui/api/icon-button/) + * - [Switch API](https://mui.com/material-ui/api/switch/) + * - inherits [IconButton API](https://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 fd173c2e434e92..eafa235b722b4b 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://next.mui.com/material-ui/react-tabs/) + * - [Tabs](https://mui.com/material-ui/react-tabs/) * * API: * - * - [Tab API](https://next.mui.com/material-ui/api/tab/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [Tab API](https://mui.com/material-ui/api/tab/) + * - inherits [ButtonBase API](https://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 aefc6db919ce78..b7c38525c46a12 100644 --- a/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts +++ b/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts @@ -69,10 +69,10 @@ export interface TabScrollButtonProps extends ButtonBaseProps { * * Demos: * - * - [Tabs](https://next.mui.com/material-ui/react-tabs/) + * - [Tabs](https://mui.com/material-ui/react-tabs/) * * API: * - * - [TabScrollButton API](https://next.mui.com/material-ui/api/tab-scroll-button/) + * - [TabScrollButton API](https://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 88da07b45aabf4..4327d327dc68b9 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://next.mui.com/material-ui/react-table/) + * - [Table](https://mui.com/material-ui/react-table/) * * API: * - * - [Table API](https://next.mui.com/material-ui/api/table/) + * - [Table API](https://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 a71b369426e0ce..144f01676c378e 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://next.mui.com/material-ui/react-table/) + * - [Table](https://mui.com/material-ui/react-table/) * * API: * - * - [TableBody API](https://next.mui.com/material-ui/api/table-body/) + * - [TableBody API](https://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 30e14effcf4ef9..0a5de08842ca09 100644 --- a/packages/mui-material/src/TableCell/TableCell.d.ts +++ b/packages/mui-material/src/TableCell/TableCell.d.ts @@ -77,10 +77,10 @@ export type SortDirection = 'asc' | 'desc' | false; * * Demos: * - * - [Table](https://next.mui.com/material-ui/react-table/) + * - [Table](https://mui.com/material-ui/react-table/) * * API: * - * - [TableCell API](https://next.mui.com/material-ui/api/table-cell/) + * - [TableCell API](https://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 a2b923f4bb4dfb..053af18e278bfa 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://next.mui.com/material-ui/react-table/) + * - [Table](https://mui.com/material-ui/react-table/) * * API: * - * - [TableContainer API](https://next.mui.com/material-ui/api/table-container/) + * - [TableContainer API](https://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 2bb494f1e8af71..7dacb5fb80492b 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://next.mui.com/material-ui/react-table/) + * - [Table](https://mui.com/material-ui/react-table/) * * API: * - * - [TableFooter API](https://next.mui.com/material-ui/api/table-footer/) + * - [TableFooter API](https://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 3a4b1451e15ed6..8646071c5c0e4c 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://next.mui.com/material-ui/react-table/) + * - [Table](https://mui.com/material-ui/react-table/) * * API: * - * - [TableHead API](https://next.mui.com/material-ui/api/table-head/) + * - [TableHead API](https://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 d741e160780cec..eddd7872498701 100644 --- a/packages/mui-material/src/TablePagination/TablePagination.d.ts +++ b/packages/mui-material/src/TablePagination/TablePagination.d.ts @@ -166,13 +166,13 @@ export interface TablePaginationTypeMap> diff --git a/packages/mui-material/src/TableRow/TableRow.d.ts b/packages/mui-material/src/TableRow/TableRow.d.ts index b0597f7c3a9aa8..0a5d572f79dc9e 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://next.mui.com/material-ui/react-table/) + * - [Table](https://mui.com/material-ui/react-table/) * * API: * - * - [TableRow API](https://next.mui.com/material-ui/api/table-row/) + * - [TableRow API](https://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 fb392171a48d65..6c62dcdd5ddf6e 100644 --- a/packages/mui-material/src/TableSortLabel/TableSortLabel.d.ts +++ b/packages/mui-material/src/TableSortLabel/TableSortLabel.d.ts @@ -55,12 +55,12 @@ export type TableSortLabelTypeMap< * * Demos: * - * - [Table](https://next.mui.com/material-ui/react-table/) + * - [Table](https://mui.com/material-ui/react-table/) * * API: * - * - [TableSortLabel API](https://next.mui.com/material-ui/api/table-sort-label/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [TableSortLabel API](https://mui.com/material-ui/api/table-sort-label/) + * - inherits [ButtonBase API](https://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 e27af76d493d6e..24b13a4911988f 100644 --- a/packages/mui-material/src/Tabs/Tabs.d.ts +++ b/packages/mui-material/src/Tabs/Tabs.d.ts @@ -185,11 +185,11 @@ export interface TabsTypeMap< * * Demos: * - * - [Tabs](https://next.mui.com/material-ui/react-tabs/) + * - [Tabs](https://mui.com/material-ui/react-tabs/) * * API: * - * - [Tabs API](https://next.mui.com/material-ui/api/tabs/) + * - [Tabs API](https://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 e2f3f36aabea90..eaa9d2ab97c03d 100644 --- a/packages/mui-material/src/TextField/TextField.d.ts +++ b/packages/mui-material/src/TextField/TextField.d.ts @@ -299,12 +299,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://next.mui.com/material-ui/api/form-control/) - * * [InputLabel](https://next.mui.com/material-ui/api/input-label/) - * * [FilledInput](https://next.mui.com/material-ui/api/filled-input/) - * * [OutlinedInput](https://next.mui.com/material-ui/api/outlined-input/) - * * [Input](https://next.mui.com/material-ui/api/input/) - * * [FormHelperText](https://next.mui.com/material-ui/api/form-helper-text/) + * * [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/) * * If you wish to alter the props applied to the `input` element, you can do so as follows: * @@ -324,13 +324,13 @@ export type TextFieldOwnerState = BaseTextFieldProps; * * Demos: * - * - [Autocomplete](https://next.mui.com/material-ui/react-autocomplete/) - * - [Text Field](https://next.mui.com/material-ui/react-text-field/) + * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/) + * - [Text Field](https://mui.com/material-ui/react-text-field/) * * API: * - * - [TextField API](https://next.mui.com/material-ui/api/text-field/) - * - inherits [FormControl API](https://next.mui.com/material-ui/api/form-control/) + * - [TextField API](https://mui.com/material-ui/api/text-field/) + * - inherits [FormControl API](https://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 c284416fd79f87..37529fa37873c5 100644 --- a/packages/mui-material/src/TextareaAutosize/TextareaAutosize.tsx +++ b/packages/mui-material/src/TextareaAutosize/TextareaAutosize.tsx @@ -49,11 +49,11 @@ function isEmpty(obj: TextareaStyles) { * * Demos: * - * - [Textarea Autosize](https://next.mui.com/material-ui/react-textarea-autosize/) + * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/) * * API: * - * - [TextareaAutosize API](https://next.mui.com/material-ui/api/textarea-autosize/) + * - [TextareaAutosize API](https://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 78d8af06f0df83..2bea78bf1ab56f 100644 --- a/packages/mui-material/src/ToggleButton/ToggleButton.d.ts +++ b/packages/mui-material/src/ToggleButton/ToggleButton.d.ts @@ -91,12 +91,12 @@ export type ToggleButtonTypeMap< * * Demos: * - * - [Toggle Button](https://next.mui.com/material-ui/react-toggle-button/) + * - [Toggle Button](https://mui.com/material-ui/react-toggle-button/) * * API: * - * - [ToggleButton API](https://next.mui.com/material-ui/api/toggle-button/) - * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/) + * - [ToggleButton API](https://mui.com/material-ui/api/toggle-button/) + * - inherits [ButtonBase API](https://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 e9c06d942a6482..dee8f289b5553b 100644 --- a/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.d.ts +++ b/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.d.ts @@ -80,10 +80,10 @@ export interface ToggleButtonGroupProps * * Demos: * - * - [Toggle Button](https://next.mui.com/material-ui/react-toggle-button/) + * - [Toggle Button](https://mui.com/material-ui/react-toggle-button/) * * API: * - * - [ToggleButtonGroup API](https://next.mui.com/material-ui/api/toggle-button-group/) + * - [ToggleButtonGroup API](https://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 ad14fa4bb22800..d5755f4d309999 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://next.mui.com/material-ui/react-app-bar/) + * - [App Bar](https://mui.com/material-ui/react-app-bar/) * * API: * - * - [Toolbar API](https://next.mui.com/material-ui/api/toolbar/) + * - [Toolbar API](https://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 926417e83e8c3b..eba83168c29f4c 100644 --- a/packages/mui-material/src/Tooltip/Tooltip.d.ts +++ b/packages/mui-material/src/Tooltip/Tooltip.d.ts @@ -217,10 +217,10 @@ export interface TooltipProps extends StandardProps; diff --git a/packages/mui-material/src/Zoom/Zoom.d.ts b/packages/mui-material/src/Zoom/Zoom.d.ts index 0d6d8a2703a787..ad7b99b6a3b19d 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://next.mui.com/material-ui/react-button/#floating-action-buttons) component. + * [Button](https://mui.com/material-ui/react-button/#floating-action-buttons) component. * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally. * * Demos: * - * - [Transitions](https://next.mui.com/material-ui/transitions/) + * - [Transitions](https://mui.com/material-ui/transitions/) * * API: * - * - [Zoom API](https://next.mui.com/material-ui/api/zoom/) + * - [Zoom API](https://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/useAutocomplete/useAutocomplete.d.ts b/packages/mui-material/src/useAutocomplete/useAutocomplete.d.ts index 8cb5fdd9e06cbf..b74e6646430106 100644 --- a/packages/mui-material/src/useAutocomplete/useAutocomplete.d.ts +++ b/packages/mui-material/src/useAutocomplete/useAutocomplete.d.ts @@ -347,11 +347,11 @@ export type AutocompleteGetTagProps = ({ index }: { index: number }) => { * * Demos: * - * - [Autocomplete](https://next.mui.com/base-ui/react-autocomplete/#hook) + * - [Autocomplete](https://mui.com/base-ui/react-autocomplete/#hook) * * API: * - * - [useAutocomplete API](https://next.mui.com/base-ui/react-autocomplete/hooks-api/#use-autocomplete) + * - [useAutocomplete API](https://mui.com/base-ui/react-autocomplete/hooks-api/#use-autocomplete) */ export function useAutocomplete< Value, diff --git a/packages/mui-private-theming/package.json b/packages/mui-private-theming/package.json index 36e8365855abe9..8b81ccfa4e0c31 100644 --- a/packages/mui-private-theming/package.json +++ b/packages/mui-private-theming/package.json @@ -38,7 +38,7 @@ }, "dependencies": { "@babel/runtime": "^7.25.0", - "@mui/utils": "workspace:*", + "@mui/utils": "workspace:^", "prop-types": "^15.8.1" }, "devDependencies": { diff --git a/packages/mui-styled-engine-sc/README.md b/packages/mui-styled-engine-sc/README.md index 3ad474dbc2e264..871bccbd80d746 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://next.mui.com/material-ui/integrations/styled-components/](https://next.mui.com/material-ui/integrations/styled-components/) to view the full documentation. +Visit [https://mui.com/material-ui/integrations/styled-components/](https://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 05a621f948f910..ab3d9fd2a968da 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://next.mui.com/material-ui/integrations/styled-components/](https://next.mui.com/material-ui/integrations/styled-components/) to view the full documentation. +Visit [https://mui.com/material-ui/integrations/styled-components/](https://mui.com/material-ui/integrations/styled-components/) to view the full documentation. diff --git a/packages/mui-styles/README.md b/packages/mui-styles/README.md index 944061cd8a83da..93587d0f4a587a 100644 --- a/packages/mui-styles/README.md +++ b/packages/mui-styles/README.md @@ -6,10 +6,8 @@ You can leverage our styling solution, even if you are not using our components. Install the package in your project directory with: - - ```bash -npm install @mui/styles@next +npm install @mui/styles ``` ## Documentation diff --git a/packages/mui-styles/package.json b/packages/mui-styles/package.json index 703f26a338ea94..2c33667e03371f 100644 --- a/packages/mui-styles/package.json +++ b/packages/mui-styles/package.json @@ -39,9 +39,9 @@ "dependencies": { "@babel/runtime": "^7.25.0", "@emotion/hash": "^0.9.2", - "@mui/private-theming": "workspace:*", + "@mui/private-theming": "workspace:^", "@mui/types": "workspace:^", - "@mui/utils": "workspace:*", + "@mui/utils": "workspace:^", "clsx": "^2.1.1", "csstype": "^3.1.3", "hoist-non-react-statics": "^3.3.2", diff --git a/packages/mui-system/README.md b/packages/mui-system/README.md index 66f439ddcb3298..a3f99ef5eff975 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@next @emotion/react @emotion/styled +npm install @mui/system @emotion/react @emotion/styled ``` ## Documentation -Visit [https://next.mui.com/system/getting-started/](https://next.mui.com/system/getting-started/) to view the full documentation. +Visit [https://mui.com/system/getting-started/](https://mui.com/system/getting-started/) to view the full documentation. diff --git a/packages/mui-system/package.json b/packages/mui-system/package.json index 37a5accbaa0971..9d029534669d9f 100644 --- a/packages/mui-system/package.json +++ b/packages/mui-system/package.json @@ -40,10 +40,10 @@ }, "dependencies": { "@babel/runtime": "^7.25.0", - "@mui/private-theming": "workspace:*", - "@mui/styled-engine": "workspace:*", + "@mui/private-theming": "workspace:^", + "@mui/styled-engine": "workspace:^", "@mui/types": "workspace:^", - "@mui/utils": "workspace:*", + "@mui/utils": "workspace:^", "clsx": "^2.1.1", "csstype": "^3.1.3", "prop-types": "^15.8.1" diff --git a/packages/mui-system/src/createBreakpoints/createBreakpoints.d.ts b/packages/mui-system/src/createBreakpoints/createBreakpoints.d.ts index 9486f3b68aa224..4404933d0e9b5e 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://next.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-up-key-media-query) + * @see [API documentation](https://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://next.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-down-key-media-query) + * @see [API documentation](https://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://next.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-between-start-end-media-query) + * @see [API documentation](https://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://next.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-only-key-media-query) + * @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-only-key-media-query) */ only: (key: Breakpoint) => string; /** diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d979f70d78ab03..1d81b0e2a26705 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1309,7 +1309,7 @@ importers: specifier: workspace:^ version: link:../mui-types/build '@mui/utils': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-utils/build '@popperjs/core': specifier: ^2.11.8 @@ -1589,13 +1589,13 @@ importers: specifier: workspace:^ version: link:../mui-core-downloads-tracker/build '@mui/system': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-system/build '@mui/types': specifier: workspace:^ version: link:../mui-types/build '@mui/utils': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-utils/build clsx: specifier: ^2.1.1 @@ -1666,13 +1666,13 @@ importers: specifier: workspace:^ version: link:../mui-material-pigment-css/build '@mui/system': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-system/build '@mui/types': specifier: workspace:^ version: link:../mui-types/build '@mui/utils': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-utils/build clsx: specifier: ^2.1.1 @@ -1734,13 +1734,13 @@ importers: specifier: workspace:^ version: link:../mui-material-pigment-css/build '@mui/system': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-system/build '@mui/types': specifier: workspace:^ version: link:../mui-types/build '@mui/utils': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-utils/build '@popperjs/core': specifier: ^2.11.8 @@ -1865,7 +1865,7 @@ importers: specifier: ^7.25.0 version: 7.25.0 '@mui/utils': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-utils/build prop-types: specifier: ^15.8.1 @@ -1982,13 +1982,13 @@ importers: specifier: ^0.9.2 version: 0.9.2 '@mui/private-theming': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-private-theming/build '@mui/types': specifier: workspace:^ version: link:../mui-types/build '@mui/utils': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-utils/build clsx: specifier: ^2.1.1 @@ -2065,16 +2065,16 @@ importers: specifier: ^7.25.0 version: 7.25.0 '@mui/private-theming': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-private-theming/build '@mui/styled-engine': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-styled-engine/build '@mui/types': specifier: workspace:^ version: link:../mui-types/build '@mui/utils': - specifier: workspace:* + specifier: workspace:^ version: link:../mui-utils/build clsx: specifier: ^2.1.1