diff --git a/CHANGELOG.md b/CHANGELOG.md index df6173b8dc7add..e64b257617eb95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,70 @@ # [Versions](https://mui.com/versions/) +## 5.8.6 + + + +_Jun 27, 2022_ + +A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨: + +- ⚒️ Fixed React 18 issues in few components +- 🚀 Improved the TypeScript augmentation when using CSS variables with `@mui/material` +- many other 🐛 bug fixes and 📚 documentation improvements + +### `@mui/material@5.8.6` + +- ​[Alert] Add support for CSS vars (#32624) @haneenmahd +- ​[Alert] Use `getContrastText` for filled variant font color (#29813) @SamoraMabuya + + Note: The color of the text in the warning contained `Alert` in dark mode was changed to black in order to improve the color contrast ratio + +- ​[OutlinedInput] Fix `ownerState` undefined in theme style overrides (#33241) @siriwatknp +- ​[Tabs] Fix crash when used with React 18 & Suspense (#33277) @mnajdova +- ​[TypeScript] Add CSS vars type augmentation for Material UI (#33211) @siriwatknp + +### `@mui/system@5.8.6` + +- ​[system] Add enableColorScheme option to getInitColorSchemeScript (#33261) @siriwatknp + +### `@mui/utils@5.8.6` + +- ​[utils] Allow state prefix to be configurable (#32972) @siriwatknp + +### `@mui/base@5.0.0-alpha.87` + +- ​[base] Improve the return type of useSlotProps (#33279) @michaldudak +- ​[base] Improve some types (#33270) @mnajdova +- ​[MenuUnstyled] Fix keyboard accessibility of menu items (#33145) @michaldudak +- ​[ModalManager] Lock body scroll when container is inside shadow DOM (#33168) @jacobweberbowery +- ​[SliderUnstyled] Use useSlotProps (#33132) @michaldudak +- ​[TextareaAutosize] Fix crash when used with React 18 & Suspense (#33238) @howlettt +- ​[TextareaAutosize] Fix warnings for too many renders in React 18 (#33253) @mnajdova + +### `@mui/joy@5.0.0-alpha.34` + +- ​[Joy] Add `Sheet` doc (#32820) @hbjORbj + +### Docs + +- ​[blog] Polish Why you should migrate to Material UI v5 today (#33244) @oliviertassinari +- ​[docs] Add note in docs about `componentsProps.root` taking precedence (#33097) @ZeeshanTamboli +- ​[docs] Remove a note about Base components being reexported from Material UI (#33265) @michaldudak +- ​[docs] Update code snippet in docs for custom color palette (#32946) @ZeeshanTamboli +- ​[docs] Fix the docs for production class generation (#31933) @Fafruch +- ​[docs] Fix internal link in Box page (#33149) @davidgarciab +- ​[docs] Badge component link in Base docs should be under Data Display section (#33249) @ZeeshanTamboli +- ​[examples] Fix comment typo (#33256) @WinmezzZ + +### Core + +- ​[core] Remove dead code (#33243) @oliviertassinari +- ​[website] Fix the scroll-top for all the website (#33215) @oliviertassinari +- ​[website] List new core role @oliviertassinari +- ​[website] Fix navigation menu close behavior (#33203) @oliviertassinari + +All contributors of this release in alphabetical order: @davidgarciab, @Fafruch, @haneenmahd, @hbjORbj, @howlettt, @jacobweberbowery, @michaldudak, @mnajdova, @oliviertassinari, @SamoraMabuya, @siriwatknp, @WinmezzZ, @ZeeshanTamboli + ## 5.8.5 diff --git a/benchmark/package.json b/benchmark/package.json index e0510917f6e0ab..2e8dd7cbf25577 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -15,9 +15,9 @@ "@emotion/react": "^11.9.0", "@emotion/styled": "^11.8.1", "@mdx-js/react": "^2.1.2", - "@mui/material": "^5.8.5", - "@mui/styles": "^5.8.4", - "@mui/system": "^5.8.5", + "@mui/material": "^5.8.6", + "@mui/styles": "^5.8.6", + "@mui/system": "^5.8.6", "@styled-system/css": "^5.1.5", "benchmark": "^2.1.4", "playwright": "^1.17.1", diff --git a/docs/package.json b/docs/package.json index c9effd6a780977..bb6a08936a3976 100644 --- a/docs/package.json +++ b/docs/package.json @@ -31,17 +31,17 @@ "@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/react-fontawesome": "^0.1.18", - "@mui/base": "5.0.0-alpha.86", - "@mui/docs": "^5.8.4", + "@mui/base": "5.0.0-alpha.87", + "@mui/docs": "^5.8.6", "@mui/icons-material": "^5.8.4", - "@mui/joy": "5.0.0-alpha.33", - "@mui/lab": "5.0.0-alpha.87", - "@mui/material": "^5.8.5", - "@mui/material-next": "6.0.0-alpha.41", + "@mui/joy": "5.0.0-alpha.34", + "@mui/lab": "5.0.0-alpha.88", + "@mui/material": "^5.8.6", + "@mui/material-next": "6.0.0-alpha.42", "@mui/styled-engine": "^5.8.0", "@mui/styled-engine-sc": "^5.8.0", - "@mui/styles": "^5.8.4", - "@mui/system": "^5.8.5", + "@mui/styles": "^5.8.6", + "@mui/system": "^5.8.6", "@mui/types": "^7.1.4", "@mui/x-data-grid": "^5.8.0", "@mui/x-data-grid-generator": "^5.8.0", diff --git a/package.json b/package.json index 2697f19ba5e61c..35d19d4730e0dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mui/monorepo", - "version": "5.8.5", + "version": "5.8.6", "private": true, "scripts": { "proptypes": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts", diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index 28bdc55642f784..4d67804272d954 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.86", + "version": "5.0.0-alpha.87", "private": false, "author": "MUI Team", "description": "A library of headless ('unstyled') React UI components and low-level hooks.", @@ -54,7 +54,7 @@ "@babel/runtime": "^7.17.2", "@emotion/is-prop-valid": "^1.1.2", "@mui/types": "^7.1.4", - "@mui/utils": "^5.8.4", + "@mui/utils": "^5.8.6", "@popperjs/core": "^2.11.5", "clsx": "^1.1.1", "prop-types": "^15.8.1", diff --git a/packages/mui-docs/package.json b/packages/mui-docs/package.json index b82159eb86765c..6e1cc4fc42c8f2 100644 --- a/packages/mui-docs/package.json +++ b/packages/mui-docs/package.json @@ -1,6 +1,6 @@ { "name": "@mui/docs", - "version": "5.8.4", + "version": "5.8.6", "private": false, "author": "MUI Team", "description": "MUI Docs - Documentation building blocks.", @@ -45,7 +45,7 @@ }, "dependencies": { "@babel/runtime": "^7.17.2", - "@mui/utils": "^5.8.4", + "@mui/utils": "^5.8.6", "nprogress": "^0.2.0" }, "publishConfig": { diff --git a/packages/mui-joy/package.json b/packages/mui-joy/package.json index e8fff2870d6fd7..1defe0af855f12 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.33", + "version": "5.0.0-alpha.34", "private": false, "author": "MUI Team", "description": "A library of beautifully designed React UI components.", @@ -57,10 +57,10 @@ }, "dependencies": { "@babel/runtime": "^7.17.2", - "@mui/base": "5.0.0-alpha.86", - "@mui/system": "^5.8.5", + "@mui/base": "5.0.0-alpha.87", + "@mui/system": "^5.8.6", "@mui/types": "^7.1.4", - "@mui/utils": "^5.8.4", + "@mui/utils": "^5.8.6", "clsx": "^1.1.1", "csstype": "^3.1.0", "prop-types": "^15.8.1", diff --git a/packages/mui-lab/package.json b/packages/mui-lab/package.json index f65c3576e711cd..e885bba628211f 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.87", + "version": "5.0.0-alpha.88", "private": false, "author": "MUI Team", "description": "Laboratory for new MUI modules.", @@ -77,9 +77,9 @@ }, "dependencies": { "@babel/runtime": "^7.17.2", - "@mui/base": "5.0.0-alpha.86", - "@mui/system": "^5.8.5", - "@mui/utils": "^5.8.4", + "@mui/base": "5.0.0-alpha.87", + "@mui/system": "^5.8.6", + "@mui/utils": "^5.8.6", "@mui/x-date-pickers": "5.0.0-alpha.1", "clsx": "^1.1.1", "prop-types": "^15.8.1", diff --git a/packages/mui-material-next/package.json b/packages/mui-material-next/package.json index 6bf1258daea12b..81ae3b65c4427e 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.41", + "version": "6.0.0-alpha.42", "private": false, "author": "MUI Team", "description": "v6-alpha: React components that implement Google's Material Design", @@ -59,11 +59,11 @@ }, "dependencies": { "@babel/runtime": "^7.17.2", - "@mui/base": "5.0.0-alpha.86", - "@mui/material": "^5.8.5", - "@mui/system": "^5.8.5", + "@mui/base": "5.0.0-alpha.87", + "@mui/material": "^5.8.6", + "@mui/system": "^5.8.6", "@mui/types": "^7.1.4", - "@mui/utils": "^5.8.4", + "@mui/utils": "^5.8.6", "@popperjs/core": "^2.11.5", "@types/react-transition-group": "^4.4.4", "clsx": "^1.1.1", diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index 94264e51abf313..c1cda87ea2f2f5 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -1,6 +1,6 @@ { "name": "@mui/material", - "version": "5.8.5", + "version": "5.8.6", "private": false, "author": "MUI Team", "description": "React components that implement Google's Material Design.", @@ -61,10 +61,10 @@ }, "dependencies": { "@babel/runtime": "^7.17.2", - "@mui/base": "5.0.0-alpha.86", - "@mui/system": "^5.8.5", + "@mui/base": "5.0.0-alpha.87", + "@mui/system": "^5.8.6", "@mui/types": "^7.1.4", - "@mui/utils": "^5.8.4", + "@mui/utils": "^5.8.6", "@types/react-transition-group": "^4.4.4", "clsx": "^1.1.1", "csstype": "^3.1.0", diff --git a/packages/mui-private-theming/package.json b/packages/mui-private-theming/package.json index 9b6d622bc2db52..7ecbe34b98abcd 100644 --- a/packages/mui-private-theming/package.json +++ b/packages/mui-private-theming/package.json @@ -1,6 +1,6 @@ { "name": "@mui/private-theming", - "version": "5.8.4", + "version": "5.8.6", "private": false, "author": "MUI Team", "description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.", @@ -48,7 +48,7 @@ }, "dependencies": { "@babel/runtime": "^7.17.2", - "@mui/utils": "^5.8.4", + "@mui/utils": "^5.8.6", "prop-types": "^15.8.1" }, "sideEffects": false, diff --git a/packages/mui-styles/package.json b/packages/mui-styles/package.json index f7bbe3b88fb471..a66c8ba50ae7d5 100644 --- a/packages/mui-styles/package.json +++ b/packages/mui-styles/package.json @@ -1,6 +1,6 @@ { "name": "@mui/styles", - "version": "5.8.4", + "version": "5.8.6", "private": false, "author": "MUI Team", "description": "MUI Styles - The legacy JSS-based styling solution of Material UI.", @@ -49,9 +49,9 @@ "dependencies": { "@babel/runtime": "^7.17.2", "@emotion/hash": "^0.8.0", - "@mui/private-theming": "^5.8.4", + "@mui/private-theming": "^5.8.6", "@mui/types": "^7.1.4", - "@mui/utils": "^5.8.4", + "@mui/utils": "^5.8.6", "clsx": "^1.1.1", "csstype": "^3.1.0", "hoist-non-react-statics": "^3.3.2", diff --git a/packages/mui-system/package.json b/packages/mui-system/package.json index 742f0747298699..e21392ff9853ac 100644 --- a/packages/mui-system/package.json +++ b/packages/mui-system/package.json @@ -1,6 +1,6 @@ { "name": "@mui/system", - "version": "5.8.5", + "version": "5.8.6", "private": false, "author": "MUI Team", "description": "CSS utilities for rapidly laying out custom designs.", @@ -57,10 +57,10 @@ }, "dependencies": { "@babel/runtime": "^7.17.2", - "@mui/private-theming": "^5.8.4", + "@mui/private-theming": "^5.8.6", "@mui/styled-engine": "^5.8.0", "@mui/types": "^7.1.4", - "@mui/utils": "^5.8.4", + "@mui/utils": "^5.8.6", "clsx": "^1.1.1", "csstype": "^3.1.0", "prop-types": "^15.8.1" diff --git a/packages/mui-utils/package.json b/packages/mui-utils/package.json index f0a39cc288d81b..d365509781886e 100644 --- a/packages/mui-utils/package.json +++ b/packages/mui-utils/package.json @@ -1,6 +1,6 @@ { "name": "@mui/utils", - "version": "5.8.4", + "version": "5.8.6", "private": false, "author": "MUI Team", "description": "Utility functions for React components.",