mui/material-ui
### [`v5.8.6`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#586)
[Compare Source](https://togithub.com/mui/material-ui/compare/v5.8.5...v5.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](https://togithub.com/mui/material-ui/issues/32624)) [@haneenmahd](https://togithub.com/haneenmahd)
- \[Alert] Use `getContrastText` for filled variant font color ([#29813](https://togithub.com/mui/material-ui/issues/29813)) [@SamoraMabuya](https://togithub.com/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](https://togithub.com/mui/material-ui/issues/33241)) [@siriwatknp](https://togithub.com/siriwatknp)
- \[Tabs] Fix crash when used with React 18 & Suspense ([#33277](https://togithub.com/mui/material-ui/issues/33277)) [@mnajdova](https://togithub.com/mnajdova)
- \[TypeScript] Add CSS vars type augmentation for Material UI ([#33211](https://togithub.com/mui/material-ui/issues/33211)) [@siriwatknp](https://togithub.com/siriwatknp)
##### `@mui/system@5.8.6`
- \[system] Add enableColorScheme option to getInitColorSchemeScript ([#33261](https://togithub.com/mui/material-ui/issues/33261)) [@siriwatknp](https://togithub.com/siriwatknp)
##### `@mui/utils@5.8.6`
- \[utils] Allow state prefix to be configurable ([#32972](https://togithub.com/mui/material-ui/issues/32972)) [@siriwatknp](https://togithub.com/siriwatknp)
##### `@mui/base@5.0.0-alpha.87`
- \[base] Improve the return type of useSlotProps ([#33279](https://togithub.com/mui/material-ui/issues/33279)) [@michaldudak](https://togithub.com/michaldudak)
- \[base] Improve some types ([#33270](https://togithub.com/mui/material-ui/issues/33270)) [@mnajdova](https://togithub.com/mnajdova)
- \[MenuUnstyled] Fix keyboard accessibility of menu items ([#33145](https://togithub.com/mui/material-ui/issues/33145)) [@michaldudak](https://togithub.com/michaldudak)
- \[ModalManager] Lock body scroll when container is inside shadow DOM ([#33168](https://togithub.com/mui/material-ui/issues/33168)) [@jacobweberbowery](https://togithub.com/jacobweberbowery)
- \[SliderUnstyled] Use useSlotProps ([#33132](https://togithub.com/mui/material-ui/issues/33132)) [@michaldudak](https://togithub.com/michaldudak)
- \[TextareaAutosize] Fix crash when used with React 18 & Suspense ([#33238](https://togithub.com/mui/material-ui/issues/33238)) [@howlettt](https://togithub.com/howlettt)
- \[TextareaAutosize] Fix warnings for too many renders in React 18 ([#33253](https://togithub.com/mui/material-ui/issues/33253)) [@mnajdova](https://togithub.com/mnajdova)
##### `@mui/joy@5.0.0-alpha.34`
- \[Joy] Add `Sheet` doc ([#32820](https://togithub.com/mui/material-ui/issues/32820)) [@hbjORbj](https://togithub.com/hbjORbj)
##### Docs
- \[blog] Polish Why you should migrate to Material UI v5 today ([#33244](https://togithub.com/mui/material-ui/issues/33244)) [@oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Add note in docs about `componentsProps.root` taking precedence ([#33097](https://togithub.com/mui/material-ui/issues/33097)) [@ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
- \[docs] Remove a note about Base components being reexported from Material UI ([#33265](https://togithub.com/mui/material-ui/issues/33265)) [@michaldudak](https://togithub.com/michaldudak)
- \[docs] Update code snippet in docs for custom color palette ([#32946](https://togithub.com/mui/material-ui/issues/32946)) [@ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
- \[docs] Fix the docs for production class generation ([#31933](https://togithub.com/mui/material-ui/issues/31933)) [@Fafruch](https://togithub.com/Fafruch)
- \[docs] Fix internal link in Box page ([#33149](https://togithub.com/mui/material-ui/issues/33149)) [@davidgarciab](https://togithub.com/davidgarciab)
- \[docs] Badge component link in Base docs should be under Data Display section ([#33249](https://togithub.com/mui/material-ui/issues/33249)) [@ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
- \[examples] Fix comment typo ([#33256](https://togithub.com/mui/material-ui/issues/33256)) [@WinmezzZ](https://togithub.com/WinmezzZ)
##### Core
- \[core] Remove dead code ([#33243](https://togithub.com/mui/material-ui/issues/33243)) [@oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Fix the scroll-top for all the website ([#33215](https://togithub.com/mui/material-ui/issues/33215)) [@oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] List new core role [@oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Fix navigation menu close behavior ([#33203](https://togithub.com/mui/material-ui/issues/33203)) [@oliviertassinari](https://togithub.com/oliviertassinari)
All contributors of this release in alphabetical order: [@davidgarciab](https://togithub.com/davidgarciab), [@Fafruch](https://togithub.com/Fafruch), [@haneenmahd](https://togithub.com/haneenmahd), [@hbjORbj](https://togithub.com/hbjORbj), [@howlettt](https://togithub.com/howlettt), [@jacobweberbowery](https://togithub.com/jacobweberbowery), [@michaldudak](https://togithub.com/michaldudak), [@mnajdova](https://togithub.com/mnajdova), [@oliviertassinari](https://togithub.com/oliviertassinari), [@SamoraMabuya](https://togithub.com/SamoraMabuya), [@siriwatknp](https://togithub.com/siriwatknp), [@WinmezzZ](https://togithub.com/WinmezzZ), [@ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
5.8.5
->5.8.6
5.8.4
->5.8.6
Release Notes
mui/material-ui
### [`v5.8.6`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#586) [Compare Source](https://togithub.com/mui/material-ui/compare/v5.8.5...v5.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](https://togithub.com/mui/material-ui/issues/32624)) [@haneenmahd](https://togithub.com/haneenmahd) - \[Alert] Use `getContrastText` for filled variant font color ([#29813](https://togithub.com/mui/material-ui/issues/29813)) [@SamoraMabuya](https://togithub.com/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](https://togithub.com/mui/material-ui/issues/33241)) [@siriwatknp](https://togithub.com/siriwatknp) - \[Tabs] Fix crash when used with React 18 & Suspense ([#33277](https://togithub.com/mui/material-ui/issues/33277)) [@mnajdova](https://togithub.com/mnajdova) - \[TypeScript] Add CSS vars type augmentation for Material UI ([#33211](https://togithub.com/mui/material-ui/issues/33211)) [@siriwatknp](https://togithub.com/siriwatknp) ##### `@mui/system@5.8.6` - \[system] Add enableColorScheme option to getInitColorSchemeScript ([#33261](https://togithub.com/mui/material-ui/issues/33261)) [@siriwatknp](https://togithub.com/siriwatknp) ##### `@mui/utils@5.8.6` - \[utils] Allow state prefix to be configurable ([#32972](https://togithub.com/mui/material-ui/issues/32972)) [@siriwatknp](https://togithub.com/siriwatknp) ##### `@mui/base@5.0.0-alpha.87` - \[base] Improve the return type of useSlotProps ([#33279](https://togithub.com/mui/material-ui/issues/33279)) [@michaldudak](https://togithub.com/michaldudak) - \[base] Improve some types ([#33270](https://togithub.com/mui/material-ui/issues/33270)) [@mnajdova](https://togithub.com/mnajdova) - \[MenuUnstyled] Fix keyboard accessibility of menu items ([#33145](https://togithub.com/mui/material-ui/issues/33145)) [@michaldudak](https://togithub.com/michaldudak) - \[ModalManager] Lock body scroll when container is inside shadow DOM ([#33168](https://togithub.com/mui/material-ui/issues/33168)) [@jacobweberbowery](https://togithub.com/jacobweberbowery) - \[SliderUnstyled] Use useSlotProps ([#33132](https://togithub.com/mui/material-ui/issues/33132)) [@michaldudak](https://togithub.com/michaldudak) - \[TextareaAutosize] Fix crash when used with React 18 & Suspense ([#33238](https://togithub.com/mui/material-ui/issues/33238)) [@howlettt](https://togithub.com/howlettt) - \[TextareaAutosize] Fix warnings for too many renders in React 18 ([#33253](https://togithub.com/mui/material-ui/issues/33253)) [@mnajdova](https://togithub.com/mnajdova) ##### `@mui/joy@5.0.0-alpha.34` - \[Joy] Add `Sheet` doc ([#32820](https://togithub.com/mui/material-ui/issues/32820)) [@hbjORbj](https://togithub.com/hbjORbj) ##### Docs - \[blog] Polish Why you should migrate to Material UI v5 today ([#33244](https://togithub.com/mui/material-ui/issues/33244)) [@oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Add note in docs about `componentsProps.root` taking precedence ([#33097](https://togithub.com/mui/material-ui/issues/33097)) [@ZeeshanTamboli](https://togithub.com/ZeeshanTamboli) - \[docs] Remove a note about Base components being reexported from Material UI ([#33265](https://togithub.com/mui/material-ui/issues/33265)) [@michaldudak](https://togithub.com/michaldudak) - \[docs] Update code snippet in docs for custom color palette ([#32946](https://togithub.com/mui/material-ui/issues/32946)) [@ZeeshanTamboli](https://togithub.com/ZeeshanTamboli) - \[docs] Fix the docs for production class generation ([#31933](https://togithub.com/mui/material-ui/issues/31933)) [@Fafruch](https://togithub.com/Fafruch) - \[docs] Fix internal link in Box page ([#33149](https://togithub.com/mui/material-ui/issues/33149)) [@davidgarciab](https://togithub.com/davidgarciab) - \[docs] Badge component link in Base docs should be under Data Display section ([#33249](https://togithub.com/mui/material-ui/issues/33249)) [@ZeeshanTamboli](https://togithub.com/ZeeshanTamboli) - \[examples] Fix comment typo ([#33256](https://togithub.com/mui/material-ui/issues/33256)) [@WinmezzZ](https://togithub.com/WinmezzZ) ##### Core - \[core] Remove dead code ([#33243](https://togithub.com/mui/material-ui/issues/33243)) [@oliviertassinari](https://togithub.com/oliviertassinari) - \[website] Fix the scroll-top for all the website ([#33215](https://togithub.com/mui/material-ui/issues/33215)) [@oliviertassinari](https://togithub.com/oliviertassinari) - \[website] List new core role [@oliviertassinari](https://togithub.com/oliviertassinari) - \[website] Fix navigation menu close behavior ([#33203](https://togithub.com/mui/material-ui/issues/33203)) [@oliviertassinari](https://togithub.com/oliviertassinari) All contributors of this release in alphabetical order: [@davidgarciab](https://togithub.com/davidgarciab), [@Fafruch](https://togithub.com/Fafruch), [@haneenmahd](https://togithub.com/haneenmahd), [@hbjORbj](https://togithub.com/hbjORbj), [@howlettt](https://togithub.com/howlettt), [@jacobweberbowery](https://togithub.com/jacobweberbowery), [@michaldudak](https://togithub.com/michaldudak), [@mnajdova](https://togithub.com/mnajdova), [@oliviertassinari](https://togithub.com/oliviertassinari), [@SamoraMabuya](https://togithub.com/SamoraMabuya), [@siriwatknp](https://togithub.com/siriwatknp), [@WinmezzZ](https://togithub.com/WinmezzZ), [@ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.