v5.10.17
版本发布时间: 2022-12-06 19:00:41
mui/material-ui最新发布版本:v6.1.0(2024-09-11 21:10:51)
Dec 6, 2022
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
- ✨ @mnajdova added a Material You Button playground (#35222)
- 🔧 @hbjORbj renamed
components
/componentProps
toslots
/slotProps
prop in Joy UI to create consistency across products (#34997) - Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements
@mui/material@5.10.17
- [Slider] Fix
markActive
theme class not getting applied (#35067) @ZeeshanTamboli - [SwipeableDrawer] Fix missing close animation when initial open is true (#35010) @sai6855
- [material-ui] Add channel colors if possible (#35178) @siriwatknp
- [Fab] Increase disabled styles precedence (#35304) @Uzwername
- [Rating] Apply
labelEmptyValueActive
style overrides from theme (#35315) @sai6855
@mui/system@5.10.17
- [system] Add support for nested CssVarsProvider (#35277) @siriwatknp
@mui/joy@5.0.0-alpha.57
BREAKING CHANGE
-
[Joy] Add
slots
/slotProps
props to the typing of all components and applyuseSlot
to all components (#34997) @hbjORbj- Change all occurrences of
components
andcomponentsProps
props in Joy UI components toslots
andslotProps
, respectively.
-<Autocomplete components={{listbox: CustomListbox}} componentsProps={{listbox: { className: 'custom-listbox' }}} /> +<Autocomplete slots={{listbox: CustomListbox}} slotProps={{listbox: { className: 'custom-listbox' }}} />
You can use this codemod to help with the migration.
- Change all occurrences of
Changes
- [Joy] Miscellaneous fixes (#35345) @siriwatknp
- [Joy][textarea] Expose decorator classes (#35247) @zignis
Docs
- [docs] Improve spacing with ul (#35302) @oliviertassinari
- [docs] Correct grammatically incorrect sentences in CONTRIBUTING.md (#34949) @Pandey-utkarsh
- [docs] Move the demo higher in the API TOC (#35202) @oliviertassinari
- [docs] Fix incorrect link in minimizing-bundle-size (#35297) @Juneezee
- [docs] Revise and expand Joy UI "Breadcrumbs" page (#35292) @samuelsycamore
- [docs] Fix wrong import in the unstyled tabs page (#35310) @guotie
- [docs] Disable translations (#34820) @mnajdova
- [docs] Fix typo (#35312) @flaviendelangle
- [docs] Add Material You Button playground (#35222) @mnajdova
- [docs] Fix experimental API page duplication (#35213) @oliviertassinari
- [docs] Improve the autogenerated "Unstyled" and "API" text (#35185) @samuelsycamore
- [docs] Fix ad margin on API pages (#35201) @oliviertassinari
- [docs] Revise and expand the Joy UI "Badge" page (#35199) @samuelsycamore
- [docs] Update MUI Base docs with latest style conventions (#35034) @samuelsycamore
- [l10n] Improve Chinese (Taiwan) zh-TW locale (#35328) @happyincent
- [website] Update MUI stats: GitHub stars, Twitter followers, etc. (#35318) @nomandhoni-cs
Core
- [core] Use componentStyles.name over componentName (#35303) @oliviertassinari
- [core] Fix warning leak in production (#35313) @oliviertassinari
- [core] Move the internal packages from docs/packages (#35305) @michaldudak
- [core] Clean up the API docs generation scripts (#35244) @michaldudak
- [test] Scope the tests to just Material UI components (#35219) @siriwatknp
- [website] Remove BlackFriday notification @oliviertassinari
All contributors of this release in alphabetical order: @flaviendelangle, @guotie, @happyincent, @hbjORbj, @Juneezee, @michaldudak, @mnajdova, @nomandhoni-cs, @oliviertassinari, @Pandey-utkarsh, @sai6855, @samuelsycamore, @siriwatknp, @Uzwername, @zignis