v5.15.5
Jan 17, 2024
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
- Base UI's CSS class prefix is now
base-(#40205) @michaldudak - Bug fixes, and a lot of improvements to code and docs infra
@mui/material@5.15.5
- [Accordion] Deprecate *Props props and classes for v6 (#40418) @DiegoAndai
- [Alert] Update TypeScript types to allow color override types to be added to
iconMappingandseverityprops (#40551) @2metres - [Dialog] Remove deprecated onBackdropClick from Dialog tests (#40505) @sai6855
- [Divider] Deprecate props and classes for v6 (#40563) @sai6855
@mui/material-next@6.0.0-alpha.118
- [ButtonGroup] Apply MD3 style to
ButtonGroup(#40124) @lhilgert9
@mui/base@5.0.0-beta.32
Breaking changes
- Change the CSS class prefix to
base-(#40205) @michaldudak
The class prefix of Base UI components have been changed from Mui- to base-. This only affects codebases that uses class names verbatim, i.e. not exposed by JS objects such as buttonClasses, but as plain strings or in CSS stylesheets (.MuiButton.root)
To adapt your code to the new pattern:
- replace all occurrences of the regex
.Mui([A-Z][A-Za-z]*)-with.base-$1-(soMuiButton-rootbecomesbase-Button-root, etc.), - replace all occurrences of the regex
.Mui-([a-z]*)with.base--$1(soMui-disabledbecomesbase--disabled, etc.).
Changes
- [Select] Fix screen-reader CSS to avoid body scrollbar (#40599) @brijeshb42
- [Switch] Add border-box to demos (#40638) @zanivan
@mui/joy@5.0.0-beta.23
- [ModalDialog] Fix ModalDialog layout prop override (#40512) @maakcode
- [RadioGroup] Allow zero number as a value (#40344) @aacevski
@mui/codemod@5.15.5
- Allow
jsonfiles to be transformed (#40536) @ZeeshanTamboli
@mui/lab@5.0.0-alpha.161
- Update
@mui/materialpeer dependency version (#40528) @ZeeshanTamboli
@mui/material-nextjs@5.15.5
- Fix release script (#40519) @petrovmiroslav
- Support Nonces in the App Router Provider (#40269) @josh-feldman
- Polish @mui/material-nextjs (#40473) @oliviertassinari
@mui/system@5.15.5
- Fix import path for @mui/system in vite apps (#40490) @brijeshb42
- Fix css vars generation and simplify the code (#40530) @siriwatknp
- Identify zero runtime styled path (#40555) @brijeshb42
Docs
- [joy-ui][Card] Fix text alignment in horizontal aligned card demo (#40562) @ZeeshanTamboli
- Improve instructions about peer dependencies (#40621) @danilo-leal
- Solve page description length @oliviertassinari
- Fix MUI Treasury links (#40561) @siriwatknp
- [material-ui] Update to ListItemButton in demos (#40564) @sai6855
- [material-ui] Revise the Snackbar page (#39298) @danilo-leal
- [material-ui] Sharpen Material 3 copy on demo pages (#40546) @samuelsycamore
- [material-ui] Fix typo on Next.js integration guide (#40538) @zanivan
- [material-ui][Snackbar] Remove unused
Stateinterface from Consecutive Snackbars demo (#40410)
@zinoroman - [website] Resolve broken links reported by
docs:link-check(#40547) @samuelsycamore
Core
- [blog] Fix 404 link to MUI Treasury @oliviertassinari
- [code-infra] Add
runcommand to deploy docs (#40513) @siriwatknp - [core] Update the lockfile (#40628) @michaldudak
- [core] Remove dead code and follow standard @oliviertassinari
- [core] Simplify server detection (#40471) @oliviertassinari
- [core] Sync playwright cache between MUI X and Material UI (#40475) @oliviertassinari
- [dependencies] Bump tough-cookie (#40437) @michaldudak
- [docs-infra] Enforce brand name rules (#40525) @oliviertassinari
- [docs-infra] Minimize ad layout shift on mobile (#40582) @oliviertassinari
- [docs-infra] Improve API page deprecation info (#40440) @DiegoAndai
- [docs-infra] Remove old tocs banners (#40537) @oliviertassinari
- [docs-infra] Remove dead code aria-label sponsors (#40526) @oliviertassinari
- [utils] Centralize clamp implementation in utils (#40267) @Kamino0
- [website] Polish the Base UI page demos (#40504) @danilo-leal
All contributors of this release in alphabetical order: @2metres, @aacevski, @brijeshb42, @danilo-leal, @DiegoAndai, @josh-feldman, @Kamino0, @lhilgert9, @maakcode, @michaldudak, @oliviertassinari, @petrovmiroslav, @sai6855, @samuelsycamore, @siriwatknp, @zanivan, @ZeeshanTamboli, @zinoroman