5.1.0
Nov 8, 2021
A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
- 🎉 Support custom elements under
ButtonGroup
(#28645) @ZeeshanTamboli - 🛠 Add support for arrays in the
sx
prop (#29297) @siriwatknp - And many more 🐛 bug fixes and 📚 improvements.
@mui/material@5.1.0
- [Autocomplete] Fix
hiddenLabel
prop ofTextField variant={filled}
inside Autocomplete (#29234) @jatinsandilya - [Box] Support generateClassName and defaultClassName (#29347) @siriwatknp
- [ButtonGroup] Fix variant outlined always has primary color borders on hover (#29487) @ZeeshanTamboli
- [ButtonGroup] Support different elements under ButtonGroup (#28645) @ZeeshanTamboli
- [CssBaseline] Add
enableColorScheme
prop so enable usingcolor-scheme
property to deal with dark mode (#29454) @alexfauquette - [FormControlLabel] Narrow the label type (#29324) @michaldudak
- [Grid] Fix usage when columns > 12 (#29196) @tanay123456789
- [InputBase] Do not repeat the same classname (#29353) @hbjORbj
- [InputBase] Remove WebkitAppearance from search type (#29383) @nicbarajas
- [ListItem] Add missing exports (#29571) @robcaldecott
- [Pagination] Allow customization of icons (#29336) @mbeltramin
- [TextField] Fix bootstrap, normalize.css, sanitize.css conflicts (#28674) @ChrisClaude
- [TextField] Fix invisible wrap within notched inputs (#29088) @DASPRiD
- [Tooltip]
open
prop incomponentsProps.popper
can be optional (#29370) @ZeeshanTamboli - [Tooltip] Fix
className
not getting applied from PopperProps (#29023) @ZeeshanTamboli - [useRadioGroup] Convert to TypeScript (#29326) @eps1lon
@mui/system@5.1.0
- [system] Introduce
mode
to CssVarsProvider (#29418) @siriwatknp - [system] Improve breakpoints resolver function (#29300) @hbjORbj
- [system] Add array support for
sx
prop (#29297) @siriwatknp
@mui/codemod@5.1.0
@mui/lab@5.0.0-alpha.54
- [DatePicker] Fix disabled/readOnly for view components (#28815) @adamfitzgibbon
- [Masonry] Fix crash on unmount when using React 18 (#29358) @eps1lon
- [Masonry] Improve height computation and detect changes in
children
(#29351) @hbjORbj
@mui/joy@5.0.0-alpha.0
- [Joy] Update default theme (#29478) @siriwatknp
- [Joy] Export CssVarsProvider with default theme (#29150) @siriwatknp
- [Joy] Remove
private
to leverage CodeSandbox (#29280) @siriwatknp
Docs
- [docs] Add differences between styled and sx (#28685) @eric-burel
- [docs] Track usage of dark mode in Google Analytics (#29419) @oliviertassinari
- [docs] Remove create-mui-theme as it is no longer working (#29472) @IPJT
- [docs] Fix warnings in AppSearch (#29459) @eps1lon
- [docs] Add framework example for ClassNameGenerator (#29453) @siriwatknp
- [docs] Fix layout shift when scrolling (#29436) @oliviertassinari
- [docs] Fix layout-shift on id='main-content' (#29425) @oliviertassinari
- [docs] Remove usage of
process.browser
(#29438) @oliviertassinari - [docs] Add instruction on how to use the child selector API with emotion (#29350) @mnajdova
- [docs] Fix small typos (#29424) @oliviertassinari
- [docs] Fix TOC highlighting logic (#29435) @oliviertassinari
- [docs] Fix about page flags (#29314) @mbrookes
- [docs] Fix Box JS docs (#29282) @Pablion
- [docs] Update storybook section in migration to v5 docs (#28800) @siriwatknp
- [docs] Document how to enable color on dark mode (#29340) @Wimukti
- [docs] Display search functionality in all viewports (#28819) @eps1lon
- [docs] Query heading for ToC on demand (#29204) @eps1lon
- [docs] Add next.js styled-component guide and update links to example (#29118) @Jareechang
- [docs] Fix overriding
MuiTextField
's default props in the migration guide (#29174) @tm1000 - [docs] Fix "clickable" and "deletable" typos (#28702) @jacklaurencegaray
- [docs] Update migration-v4 docs for wrong import path (#29042) @busches
- [docs] Add GitHub icon change to "Migration from v4 to v5" guide (#29182) @dan-mba
- [website] Benny Joo joining MUI (#29499) @mnajdova
- [website] Update the
Print export
feature info on the pricing page (#29484) @DanailH - [website] Improve the dev rel role description (#29477) @oliviertassinari
- [website] Add customers section on Design Kits and Templates marketing pages (#29168) @danilo-leal
- [website] Improvements to the /core product page @danilo-leal
- [website] Fix typo on the About Page (#29286) @gssakash
Core
- [core] Handle RecordType and FieldType in generatePropDescription.ts (#29467) @flaviendelangle
- [core] Convert a named color to lowercase (#29465) @ainatenhi
- [core] Allow to reuse functions from
docs:api
(#28828) @m4theushw - [core] Commit new nextjs 12 tsconfig (#29458) @eps1lon
- [core] Settle on MUI X for the official name (#29420) @oliviertassinari
- [core] Add mui as a npm keyword (#29427) @oliviertassinari
- [core] Fix issue template redirection (#29432) @oliviertassinari
- [core] Remove unecessary destructuration (#29354) @oliviertassinari
- [core] Use cross-env to set env variables in material-icons scripts (#29327) @michaldudak
- [core] Don't bump peer dependency ranges on dependency updates (#29303) @eps1lon
- [test] Fix browser tests (#29505) @eps1lon
- [test] Fix missing act warnings in latest React 18 alpha (#29357) @eps1lon
- [test] Replace
createClientRender
with newcreateRenderer
API (#29471) @eps1lon - [test] Fix possible "missing act" warning (#29463) @eps1lon
- [test] Remove render#baseElement (#29462) @eps1lon
- [test] Expose
AbortController
on global (#29360) @eps1lon - [test] Add internal test for uniqe
name
inRating
(#29329) @eps1lon - [test] Fix browser tests (#29305) @eps1lon
All contributors of this release in alphabetical order: @adamfitzgibbon, @ainatenhi, @alexfauquette, @busches, @ChrisClaude, @dan-mba, @DanailH, @danilo-leal, @DASPRiD, @ElonVolo, @eps1lon, @eric-burel, @flaviendelangle, @gssakash, @hbjORbj, @IPJT, @jacklaurencegaray, @Jareechang, @jatinsandilya, @m4theushw, @mbeltramin, @mbrookes, @michaldudak, @mnajdova, @nicbarajas, @oliviertassinari, @Pablion, @robcaldecott, @siriwatknp, @tanay123456789, @tm1000, @Wimukti, @ZeeshanTamboli