diff --git a/CHANGELOG.md b/CHANGELOG.md index 3184fb515cdbc3..810c550c19494a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,73 @@ # [Versions](https://mui.com/versions/) +## 5.12.2 + + + +_Apr 25, 2023_ + +A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨: + +- ⚠️ **[BREAKING CHANGE]** The `Unstyled` suffix has been removed from Base UI component names, including names of types and other related identifiers – a codemod script is provided to assist with the change. +- 🐛 bug fixes and 📚 documentation improvements. + +### `@mui/material@5.12.2` + +- ​[FormControl] Fix `filled` when value is set through `inputProps` (#36741) @sai6855 +- ​[Slider] `onChange` handler should be called only when value has changed (#36706) @gitstart +- ​[Table] Fix `Sorting & Selecting` tables (#36898) @oliviertassinari + +### `@mui/base@5.0.0-alpha.127` + +#### Breaking changes + +- ​[base] Remove unstyled suffix from Base components + Codemod script (#36873) @hbjORbj + + The `Unstyled` suffix has been removed from all Base UI component names, including names of types and other related identifiers. + + You can use this [codemod](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/src/v5.0.0/base-remove-unstyled-suffix.js) to help with the migration: + + ```sh + npx @mui/codemod v5.0.0/base-remove-unstyled-suffix + ``` + +#### Changes + +- ​[codemod][base] Improve the removal of `component` prop codemod script (#36952) @hbjORbj +- ​[codemod][base] Write a migration script for removal of `component` prop from components (#36831) @hbjORbj +- ​[Base][useButton] Allow useButton params to be completely optional (#36922) @mj12albert + +### `@mui/joy@5.0.0-alpha.77` + +- ​[Joy][Chip] Chip button not showing up in Firefox browser (#36930) @TakhyunKim +- ​[Joy] Add `invertedColors` to Menu and Alert (#36975) @siriwatknp +- ​[joy][Select] Set focus visible on select options when navigating with arrow keys (#36689) @gitstart + +### Docs + +- ​[docs] Fix console error introduced by #36408 (#36980) @alexfauquette +- ​[docs] Add stray Joy UI documentation improvements (#36921) @danilo-leal +- ​[docs] Add Joy profile dashboard template (#36931) @siriwatknp +- ​[docs] Fix 404 links (#36969) @oliviertassinari +- ​[docs] Clarify when bundle size optimization is needed (#36823) @oliviertassinari +- ​[docs] Fix Chakra UI theme scoping typo (#36950) @mj12albert +- ​[docs] Add snackbar example using sonner (#36926) @PupoSDC +- ​[docs] Adjust the Material Icons page design and formatting (#36937) @danilo-leal +- ​[docs] Allows to customize menu with any icon (#36408) @alexfauquette +- ​[docs] Add info about passing ref to input element (#36913) @tomaskebrle +- ​[docs][material] Tabs API section cleanup (#36942) @mnajdova + +### Core + +- ​[core] Fix CI failure on `master` (#37016) @hbjORbj +- ​[typescript] Add the missing explicit component return types (#36924) @michaldudak +- ​[website] Update main data grid demo on X landing page (#37001) @cherniavskii +- ​[website] Design role updates (#36997) @danilo-leal +- ​[website] X component section improvements (#36598) @danilo-leal +- ​[website] Developer Advocate role filled @oliviertassinari + +All contributors of this release in alphabetical order: @alexfauquette, @cherniavskii, @danilo-leal, @gitstart, @hbjORbj, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @PupoSDC, @sai6855, @siriwatknp, @TakhyunKim, @tomaskebrle + ## 5.12.1 diff --git a/benchmark/package.json b/benchmark/package.json index d9e68d3a146477..db5a7f7e7325cd 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -15,7 +15,7 @@ "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", "@mdx-js/react": "^2.3.0", - "@mui/material": "^5.12.1", + "@mui/material": "^5.12.2", "@mui/styles": "^5.12.0", "@mui/system": "^5.12.1", "@styled-system/css": "^5.1.5", diff --git a/docs/package.json b/docs/package.json index 1c79d28d94f36e..7c7ecfa7b018fa 100644 --- a/docs/package.json +++ b/docs/package.json @@ -31,14 +31,14 @@ "@fortawesome/fontawesome-svg-core": "^6.2.1", "@fortawesome/free-solid-svg-icons": "^6.2.1", "@fortawesome/react-fontawesome": "^0.2.0", - "@mui/base": "5.0.0-alpha.126", + "@mui/base": "5.0.0-alpha.127", "@mui/docs": "^5.12.0", "@mui/icons-material": "^5.11.16", - "@mui/joy": "5.0.0-alpha.76", - "@mui/lab": "5.0.0-alpha.127", + "@mui/joy": "5.0.0-alpha.77", + "@mui/lab": "5.0.0-alpha.128", "@mui/markdown": "^5.0.0", - "@mui/material": "^5.12.1", - "@mui/material-next": "6.0.0-alpha.82", + "@mui/material": "^5.12.2", + "@mui/material-next": "6.0.0-alpha.83", "@mui/styled-engine": "^5.12.0", "@mui/styled-engine-sc": "^5.12.0", "@mui/styles": "^5.12.0", diff --git a/package.json b/package.json index 645757364f42cf..8b0ae93b96a767 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mui/monorepo", - "version": "5.12.1", + "version": "5.12.2", "private": true, "scripts": { "proptypes": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts", diff --git a/packages/api-docs-builder/package.json b/packages/api-docs-builder/package.json index f3d19c76c67e20..9f7ffb08abf783 100644 --- a/packages/api-docs-builder/package.json +++ b/packages/api-docs-builder/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@babel/core": "^7.21.3", - "@mui-internal/docs-utilities": "*", + "@mui-internal/docs-utilities": "^1.0.0", "@mui/markdown": "^5.0.0", "ast-types": "^0.14.2", "doctrine": "^3.0.0", diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index 270d89ba57275c..a6c61244b149f7 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -1,6 +1,6 @@ { "name": "@mui/base", - "version": "5.0.0-alpha.126", + "version": "5.0.0-alpha.127", "private": false, "author": "MUI Team", "description": "A library of headless ('unstyled') React UI components and low-level hooks.", diff --git a/packages/mui-codemod/package.json b/packages/mui-codemod/package.json index 2da7cd24898caa..91e87c7722dc9e 100644 --- a/packages/mui-codemod/package.json +++ b/packages/mui-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@mui/codemod", - "version": "5.12.0", + "version": "5.12.2", "bin": "./codemod.js", "private": false, "author": "MUI Team", diff --git a/packages/mui-core-downloads-tracker/package.json b/packages/mui-core-downloads-tracker/package.json index e11c334720746e..fb3a51c4433eb5 100644 --- a/packages/mui-core-downloads-tracker/package.json +++ b/packages/mui-core-downloads-tracker/package.json @@ -1,6 +1,6 @@ { "name": "@mui/core-downloads-tracker", - "version": "5.12.1", + "version": "5.12.2", "private": false, "author": "MUI Team", "description": "Internal package to track number of downloads of our design system libraries", diff --git a/packages/mui-joy/package.json b/packages/mui-joy/package.json index d38a572df62f08..cc602cf2492719 100644 --- a/packages/mui-joy/package.json +++ b/packages/mui-joy/package.json @@ -1,6 +1,6 @@ { "name": "@mui/joy", - "version": "5.0.0-alpha.76", + "version": "5.0.0-alpha.77", "private": false, "author": "MUI Team", "description": "A library of beautifully designed React UI components.", @@ -57,8 +57,8 @@ }, "dependencies": { "@babel/runtime": "^7.21.0", - "@mui/base": "5.0.0-alpha.126", - "@mui/core-downloads-tracker": "^5.12.1", + "@mui/base": "5.0.0-alpha.127", + "@mui/core-downloads-tracker": "^5.12.2", "@mui/system": "^5.12.1", "@mui/types": "^7.2.4", "@mui/utils": "^5.12.0", diff --git a/packages/mui-lab/package.json b/packages/mui-lab/package.json index b0f91a92d89903..4cc83cd6d14b61 100644 --- a/packages/mui-lab/package.json +++ b/packages/mui-lab/package.json @@ -1,6 +1,6 @@ { "name": "@mui/lab", - "version": "5.0.0-alpha.127", + "version": "5.0.0-alpha.128", "private": false, "author": "MUI Team", "description": "Laboratory for new MUI modules.", @@ -61,7 +61,7 @@ }, "dependencies": { "@babel/runtime": "^7.21.0", - "@mui/base": "5.0.0-alpha.126", + "@mui/base": "5.0.0-alpha.127", "@mui/system": "^5.12.1", "@mui/types": "^7.2.4", "@mui/utils": "^5.12.0", diff --git a/packages/mui-material-next/package.json b/packages/mui-material-next/package.json index e149e744b5c696..31bacdf7877078 100644 --- a/packages/mui-material-next/package.json +++ b/packages/mui-material-next/package.json @@ -1,6 +1,6 @@ { "name": "@mui/material-next", - "version": "6.0.0-alpha.82", + "version": "6.0.0-alpha.83", "private": false, "author": "MUI Team", "description": "v6-alpha: React components that implement Google's Material Design", @@ -59,8 +59,8 @@ }, "dependencies": { "@babel/runtime": "^7.21.0", - "@mui/base": "5.0.0-alpha.126", - "@mui/material": "^5.12.1", + "@mui/base": "5.0.0-alpha.127", + "@mui/material": "^5.12.2", "@mui/system": "^5.12.1", "@mui/types": "^7.2.4", "@mui/utils": "^5.12.0", diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index 24ecab283d6cb9..494d120dd6d68f 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -1,6 +1,6 @@ { "name": "@mui/material", - "version": "5.12.1", + "version": "5.12.2", "private": false, "author": "MUI Team", "description": "React components that implement Google's Material Design.", @@ -61,8 +61,8 @@ }, "dependencies": { "@babel/runtime": "^7.21.0", - "@mui/base": "5.0.0-alpha.126", - "@mui/core-downloads-tracker": "^5.12.1", + "@mui/base": "5.0.0-alpha.127", + "@mui/core-downloads-tracker": "^5.12.2", "@mui/system": "^5.12.1", "@mui/types": "^7.2.4", "@mui/utils": "^5.12.0",