### [Versions](https://mui.com/versions/) ## 5.1.1 _Nov 16, 2021_ A big thanks to the 15 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ›  Rename `@mui/core` to `@mui/base`. (#29585) @michaldudak - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements. ### `@mui/material@5.1.1` - ​[Breadcrumbs][divider] Replace decimal spacing values with integers and css calc (#29526) @anikcreative - ​[Select][nativeselect] Add `multiple` class (#29566) @aaronholla - ​[Popper] Split into PopperUnstyled and Popper (#29488) @michaldudak - ​[Select] Make it clear that `Select` is not a root component (#29593) @hbjORbj - ​[l10n] Improved Dutch (nl-NL) locale (#29592) @flipvrijn - ​[Table] Improve pagination range, use "en dash" over "hyphen" (#29579) @narekmal ### `@mui/base@5.0.0-alpha.55` #### BREAKING CHANGE - ​[core] Rename mui/core to mui/base (#29585) @michaldudak ### `@mui/lab@5.0.0-alpha.55` - ​[LoadingButton] Text variant spacing fixed for both start and end (#29194) @joshua-lawrence - ​[Masonry] Check if container or child exists to prevent error (#29452) @hbjORbj ### Docs - ​[docs] Correct bundler configuration for using legacy MUI build (#29146) @petermikitsh - ​[docs] Fix typo on autocomplete.md (#29570) @netizer - ​[docs] Fix dark mode on branding pages (#29611) @alexfauquette - ​[docs] Do not render CSS section in API docs navbar if there are no CSS classes (#29622) @ZeeshanTamboli - ​[docs] Fix link locale handling (#29624) @oliviertassinari - ​[docs] Fix Search navigation (#29623) @oliviertassinari - ​[docs] Fix broken link & update MUI packages explanation (#29583) @siriwatknp - ​[docs] Do not repeat language snippet in url in Algolia search (#29483) @hbjORbj - ​[docs] Update `ThemeProvider` API link (#29573) @siriwatknp - ​[docs] Remove svg logos from the Support page (#29431) @oliviertassinari - ​[docs] Link UXPin integration (#29422) @oliviertassinari - ​[docs] Link to the new public roadmap for the design kits (#29433) @oliviertassinari - ​[docs] correct bundler configuration for using legacy MUI build (#29146) @petermikitsh - ​[website] Fix premium plan release date (#29430) @oliviertassinari - ​[website] Add GitHub icon button to the navbar (#29640) @danilo-leal - ​[blog] Support many authors in markdown pages (#29633) @m4theushw ### Core - ​[core] Add `experiments` index page (#29582) @siriwatknp - ​[core] Move s3 bucket ownership to mui-org (#29609) @eps1lon - ​[core] Improve support request message (#29614) @mnajdova - ​[core] Use support request Github Action (#29594) @mnajdova - ​[core] Remove unused `getJsxPreview` util (#29586) @ZeeshanTamboli - ​[core] Use GitHub issue forms (#28038) @oliviertassinari - ​[core] Add playground (#29423) @oliviertassinari - ​[test] Correctly identify what the `raf` helper is for (#29683) @eps1lon - ​[test] Verify a quilted ImageList is created as test title suggests (#29565) @daniel-sachs - ​[test] Replace `createServerRender` with `createRenderer` (#29503) @eps1lon - ​[test] Always ignore "useLayoutEffect has no effect on the server"-warning (#29502) @eps1lon - ​[test] Restore StrictMode by default (#29589) @eps1lon - ​[test] createPickerRender -> createPickerRenderer (#29575) @eps1lon - ​[test] Allow experimental CLI to run exact test (#29685) @eps1lon All contributors of this release in alphabetical order: @aaronholla, @alexfauquette, @anikcreative, @daniel-sachs, @eps1lon, @flipvrijn, @hbjORbj, @joshua-lawrence, @michaldudak, @mnajdova, @netizer, @oliviertassinari, @petermikitsh, @siriwatknp, @ZeeshanTamboli ## 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 of `TextField 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 using `color-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 in `componentsProps.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` - ​[codemod] Add codemod parser flag (#29059) (#29229) @ElonVolo ### `@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 new `createRenderer` 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` in `Rating` (#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 ## 5.0.6 _Oct 27, 2021_ A big thanks to the 4 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ”ง Fix reported TypeScript issues on the `@mui/system` package because some packages were not released ### `@mui/material@5.0.6` - ​[Autocomplete] Fix `clearOnBlur` prop (#29208) @hbjORbj - ​[Rating] Remove z-index from decimal stars (#29295) @williamhaley ### `@mui/system@5.0.6` - ​[system] Fix various issues reported by using @mui/styled-engine-sc (#29035) @mnajdova - ​[system] Fix executing server-side Emotion component as function interpolation (#29290) @Andarist ### Docs - ​[blog] Q3 2021 Update (#28970) @oliviertassinari All contributors of this release in alphabetical order: @Andarist, @hbjORbj, @oliviertassinari, @williamhaley ## 5.0.5 _Oct 26, 2021_ A big thanks to the 19 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ”ง Implement `Masonry` using Flexbox by @hbjORbj. - ๐Ÿงช Add three components to `@mui/base` by @rebeccahongsf and @hbjORbj. ### `@mui/codemod@5.0.5` - ​[codemod] Support new package name in `link-underline-hover` transformer (#29214) @siriwatknp ### `@mui/base@5.0.0-alpha.52` - ​[ClickAwayListener] Move to the core package (#29186) @hbjORbj - ​[Popper] Move from mui-material to mui-base (#28923) @rebeccahongsf - ​[TextareaAutosize] Move to the core package (#29148) @hbjORbj ### `@mui/lab@5.0.0-alpha.52` - ​[Masonry] Improve demo styles (#29218) @hbjORbj - ​[Masonry] Implement Masonry using Flexbox (#28059) @hbjORbj ### `@mui/icons@5.0.5` - ​[icons] Add TipsAndUpdates icon (#29004) @hbjORbj ### `@mui/material@5.0.5` - ​[CardMedia] Apply specified `img` role instead of custom `image` role (#29172) @eps1lon - ​[CSSBaseline] Remove incorrect @deprecated annotation (#29069) @adamfitzgibbon - ​[Grid] Support custom columns with nested grid (#28743) @Devesh21700Kumar - ​[InputBase] Remove wrong theme overriding with MUI's default theme (#29157) @hbjORbj - ​[LoadingButton] Fix `fullWidth` styling (#28652) @nikitabobers - ​[Popper] make Popper display:none whenever it's closed (#29233) @adamfitzgibbon - ​[Menu] Reduce min-height & padding in menu-item with dense property (#29180) @jatinsandilya - ​[Tab] `iconPosition` prop added in Tab (#28764) @deepanshu2506 - ​[Tooltip] Correct inconsistent prop precedence (#29132) @michaldudak ### `@mui/system@5.0.5` - ​[system] Allow function type for `sx` prop (#29198) @hbjORbj - ​[system] Fix various issues reported by using @mui/styled-engine-sc (#29035) @mnajdova - ​[system] Fix `colorScheme` conflict between application (#29139) @siriwatknp - ​[system] Add `unstable_createCssVarsProvider` api (#28965) @siriwatknp ### Documentation - ​[docs] Fix path to `DataGrid` CSV export options page (#29220) @DanailH - ​[docs] Give anonymous components a name (#29189) @eps1lon - ​[docs] Add deploy context variables (#29195) @siriwatknp - ​[docs] Add MUI packages explanation (#29073) @siriwatknp - ​[docs] Fix typo in CSP policy (#29187) @JuliaNeumann - ​[docs] Dark mode conditional content rendering (#28665) @michal-perlakowski - ​[docs] Fix ClassNameGenerator introduced version #29177 @siriwatknp - ​[docs] Add missing `justifyContent` values and update box styling (#29117) @omarmosid - ​[docs] Make landing page hero section scrollable (#29141) @waxidiotic - ​[docs] Discourage importing different bundles directly (#29133) @eps1lon - ​[docs] Update module augmentation reference url (#29064) @gnowland - ​[pricing] Add tooltip to pricing icon (#28959) @siriwatknp - ​[Team] Add Alexandre in the about page (#29289) - ​[website] Fix status label overflow in AdvancedShowcase (#29143) @LorenzHenk - ​[website] Update legacy logos (#28908) @michaldudak ### Core - ​[core] Order repro methods by preference (#29156) @eps1lon - ​[core] Remove unnecessary usages of `useEventCallback` (#28910) @NMinhNguyen - ​[core] add `unstable_ClassNameGenerator` API (#29051) @siriwatknp - ​[core] Fix issues when using styled-components (#29048) @mnajdova - ​[core] replace hard-coded classname with classes (#29070) @siriwatknp - ​[test] Add documentation for visual regression tests (#29154) @eps1lon - ​[test] Enable "missing act" warnings using new proposal (#29167) @eps1lon All contributors of this release in alphabetical order: @adamfitzgibbon, @DanailH, @deepanshu2506, @Devesh21700Kumar, @eps1lon, @gnowland, @hbjORbj, @jatinsandilya, @JuliaNeumann, @LorenzHenk, @michal-perlakowski, @michaldudak, @mnajdova, @nikitabobers, @NMinhNguyen, @omarmosid, @rebeccahongsf, @siriwatknp, @waxidiotic ## 5.0.4 _Oct 14, 2021_ A big thanks to the 17 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿงช Added `UnstyledInput` and `useInput` hook in the the first component in @mui/base package @michaldudak (#28053) - ๐Ÿ› Fixed many bugs and improved the documentation ๐Ÿ“š. ### `@mui/material@5.0.4` - ​[Chip] disable ripple only if onDelete is present. (#29034) @mottox2 - ​[Pagination] Fix clicking on `...` triggering `onChange` with page value `null` (#28884) @ZeeshanTamboli - ​[Tabs] Alternative way to disable ":first-child is unsafe" error (#28982) @hbjORbj - ​[Tabs] Fix ":first-child is potentially unsafe" error (#28890) @hbjORbj - ​[transitions] Mark `children` as required where nullish `children` would crash at runtime (#29028) @eps1lon ### `@mui/system@5.0.4` - ​[system] Update typing for `style` function (#28744) @hbjORbj ### `@mui/base@5.0.0-alpha.51` - ​[InputUnstyled] Create unstyled input and useInput hook (#28053) @michaldudak ### `@mui/lab@5.0.0-alpha.51` - ​[DesktopDatePicker] add Paper props to pass down to Paper component (#28865) @amen-souissi ### Docs - ​[docs] Add JSDoc to `theme.breakpoints` (#29039) @eps1lon - ​[docs] Rename broken package names in docs pointing to `@mui/material` (#29006) @visualfanatic - ​[docs] Add troubleshooting guide for unexpected styles (#28907) @mnajdova - ​[docs] Fix issues reported by ahref (#28986) @mnajdova - ​[docs] Remove json translations for dropped locales (#28987) @mnajdova - ​[docs] Fix type signature of renderGroup in Autocomplete (#28876) @tanyabouman - ​[docs] Minor typo in v4-v5 migration docs (#28995) @kgregory - ​[docs] Add `mui-image` related project (#28621) @benmneb - ​[docs] Update Getting Started Templates' Source URIs (#28929) @epodol - ​[docs] Improve search experience (#28801) @siriwatknp - ​[docs] Fix demo of the responsive drawer (#28226) @goncalovf - ​[docs] Fix global theme link demo (#28974) @ZeeshanTamboli - ​[docs] Update box example to use 'backgroundColor' rather than 'bgColor' (#28958) @Jareechang - ​[docs] corrected `Box` import for `sx-prop` example (#28873) @phudekar - ​[docs] Fix footnote ID links in CONTRIBUTING.md (#28849) @officialpiyush - ​[docs] Fix color & density playground (#28803) @siriwatknp - ​[docs] Improve visibility of styled engine configuration section in installation guide (#28903) @Jareechang ### Core - ​[core] Prevent yarn cache growing infinitely (#29040) @eps1lon - ​[core] Update browserslist (#29025) @eps1lon - ​[core] Update `peerDependencies` to require `latest` instead of `next` (#29007) @eps1lon - ​[core] Increase memory limit for size:snapshot (#29005) @eps1lon - ​[core] Init `private` Joy package (#28957) @siriwatknp - ​[test] Remove a11y snapshot tests (#28887) @eps1lon All contributors of this release in alphabetical order: @amen-souissi, @benmneb, @epodol, @eps1lon, @goncalovf, @hbjORbj, @Jareechang, @kgregory, @michaldudak, @mnajdova, @mottox2, @officialpiyush, @phudekar, @siriwatknp, @tanyabouman, @visualfanatic, @ZeeshanTamboli ## 5.0.3 _Oct 7, 2021_ A big thanks to the 19 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿงช Created the first component in @mui/material-next - our v6 prototype package. - ๐Ÿ› Fixed many bugs and improved the documentation ๐Ÿ“š. ### `@mui/material@5.0.3` - ​[Stack] Add props & variants types in the theme (#28843) @mnajdova - ​[InputLabel] Fix condition for applying formControl overrides (#28707) @yevheniiminin - ​[Tooltip] Allow overriding internal components and their props (#28692) @michaldudak - ​[transitions] Fix `addEndListener` not being called with the DOM node (#28715) @eps1lon ### `@mui/codemod@5.0.3` - ​[codemod] Fix `optimal-imports` to support v4 and v5-alpha, beta (#28812) @siriwatknp ### `@mui/system@5.0.3` - ​[system] Add padding/margin-block/inline to spacing (#28813) @smmoosavi ### `@mui/styled-engine-sc@5.0.3` - ​Don't allow styled-components APIs on mui styled function (#28807) @hbjORbj ### `@mui/base@5.0.0-alpha.50` - ​[ButtonUnstyled] Don't set redundant role=button (#28488) @michaldudak - ​[SliderUnstyled] Prevent unknown-prop error when using marks prop (#28868) @hbjORbj ### `@mui/lab@5.0.0-alpha.50` - ​[pickers] Change view even if `onViewChange` is set (#28765) @eps1lon ### `@mui/material-next@6.0.0-alpha.4` - ​[Button-next] Create Button in material-next (#28313) @michaldudak ### Docs - ​[docs] Add alike v4 default button color in migration (#28881) @siriwatknp - ​[docs] Use PNG instead of SVG for color preview (#28699) @eps1lon - ​[docs] Use client-side navigation when activating docsearch results (#28750) @eps1lon - ​[docs] Fluid icon size in icons search (#28747) @eps1lon - ​[docs] Fix the wrong import in docs grid page (#28863) @taghi-khavari - ​[docs] Fix typo in Pagination docs (#28864) @ZeeshanTamboli - ​[docs] Fix 404 links (#28710) @mnajdova - ​[docs] Fix typo in Mui CSS classname (#28725) @cacpgomes - ​[docs] Match example to codesandbox demo and update ID link (#28762) @AnilSeervi - ​[docs] Fix typo in system/box documentation (#28822) @iamsergo - ​[docs] Use HTML standards for autocomplete attributes (#28827) @epodol - ​[docs] Improve styled-components integration (#28713) @mnajdova - ​[docs] Correct Select's menu placement description (#28748) @michaldudak - ​[docs] AdapterDayJS -> AdapterDayjs (#28770) @veerreshr - ​[docs] Theme documentation, typo fix (#28805) @saeedseyfi - ​[docs] Add the last diamond sponsor (#28737) @hbjORbj - ​[docs] Fix various links in CONTRIBUTING (#28751) @AnilSeervi - ​[docs] Only add JSS to demos (#28698) @eps1lon - ​[docs] Update v5 status in release schedule (#28700) @owais635 - ​[docs] Fix typo in /guides/styled-engine (#28720) @Sharry0 - ​[docs] Fix typo in chip documentation (#28641) @avranju94 - ​[docs] Fix versions page (#28682) @mnajdova - ​[docs] Remove legacy team page (#28646) @mnajdova - ​[website] add "React" to the hero description (#28830) @danilo-leal - ​[website] Fix constantly reloading when Russian language is set (#28869) @mnajdova - ​[website] Compress one avatar image on about us page (#28823) @hbjORbj - ​[website] Hide 'become a diamond sponsor' box on landing page (#28814) @hbjORbj - ​[website] Update Benny's profile on about us page (#28816) @hbjORbj ### Core - ​[core] Remove `--exact` from `release:version` (#28840) @siriwatknp - ​[core] Neglect framer from release flow (#28680) @siriwatknp - ​[test] Add a test for not allowing styled-components' APIs on mui `styled` function (#28862) @hbjORbj - ​[test] Fix instances where type tests were only passing due to object being part of ReactNode (#28804) @eps1lon - ​[test] Move ByMuiTest to test/utils (#28509) @eps1lon All contributors of this release in alphabetical order: @AnilSeervi, @avranju94, @cacpgomes, @danilo-leal, @epodol, @eps1lon, @hbjORbj, @iamsergo, @michaldudak, @mnajdova, @owais635, @saeedseyfi, @Sharry0, @siriwatknp, @smmoosavi, @taghi-khavari, @veerreshr, @yevheniiminin, @ZeeshanTamboli ## 5.0.2 _Sep 29, 2021_ A big thanks to the 15 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ”ง Improve `jss-to-styled` codemod to use new package names. - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements. ### `@mui/material@5.0.2` - ​[Checkbox] Fix form submission with empty value (#28423) @garronej - ​[Slider] Don't error on minimal changes with readonly value (#28472) @eps1lon - ​[Switch] Fix style overrides on input (#28576) @praveenkumar-kalidass - ​[useMediaQuery] Add types for `matchMedia` option and deprecate exported interfaces (#28413) @eps1lon ### `@mui/codemod@5.0.2` - ​[codemod] Add MenuItem v.1.0.0 transform for primaryText property (#28640) @dmitry-yudakov - ​[codemod] Update the imports in `jss-to-styled` to match the new package names (#28667) @mnajdova ### `@mui/system@5.0.2` - ​[system] Fix types to support theme callbacks on pseudo and nested selectors (#28570) @mnajdova ### Docs - ​[docs] Remove languages: fr, de, ja, es, ru (#28663) @mnajdova - ​[docs] Improve old doc versions discoverability (#28651) @danilo-leal - ​[docs] Make the Toggle Button size demo use default icon size (#28656) @danilo-leal - ​[docs] Uniformize the code's font family (#28582) @oliviertassinari - ​[docs] Removed duplicate line in date-ranger-picker.md file (#28635) @naveen-bharathi - ​[docs] Fix title MUI x2 (#28634) @oliviertassinari - ​[docs] Polish email validation logic (#28255) @kiznick - ​[docs] Improve migration-v4.md phrasing (#28253) @adamthewebguy - ​[docs] Fix color in example (#28527) @alexeagleson - ​[docs] Fix typo in generated class names section (#28549) @fxlemire - ​[docs] Mention Premium pricing cap (#28581) @oliviertassinari - ​[docs] Update examples to use latest mui #28565 @siriwatknp - ​[docs] Push the fixes on Next.js's Link to the examples (#28178) @oliviertassinari - ​[docs] Fix wrong name for zIndex's property example in /system/ (#28541) @chetrit - ​[examples] Nextjs Link missing passHref #28588 (#28661) @Brlaney - ​[website] Iteration on the pricing page (#28406) @danilo-leal - ​[website] Batch fixes (#28564) @siriwatknp ### Core - ​[core] Improve Renovate groups (#28642) @eps1lon - ​[core] Batch small changes (#28553) @oliviertassinari - ​[test] Document where the value for SwitchBase#value comes from (#28638) @eps1lon - ​[test] Make `seconds` `views` test pass in browsers (#28511) @eps1lon All contributors of this release in alphabetical order: @adamthewebguy, @alexeagleson, @Brlaney, @chetrit, @danilo-leal, @dmitry-yudakov, @eps1lon, @fxlemire, @garronej, @kiznick, @mnajdova, @naveen-bharathi, @oliviertassinari, @praveenkumar-kalidass, @siriwatknp ## 5.0.1 _Sep 22, 2021_ A big thanks to the 14 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ”Ž Improve the search on the documentation. - ๐Ÿ“š Improve the v4 to v5 migration guide. - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements. ### `@mui/material@5.0.1` - ​[Radio] Fix support for number value type (#26772) @sakura90 - ​[useMediaQuery] Reduce bundle size (#28412) @eps1lon ### `@mui/codemod@5.0.1` - ​[codemod] Cover edge case for theme-spacing #28400 @siriwatknp ### `@mui/lab@5.0.0-alpha.48` - ​[DateTimePicker] Support `seconds` `view` (#25095) @breitembach - ​[TimePicker] Fire change event when meridiem changes (#26600) @coder-freestyle ### Docs - ​[docs] Fix missing exit animation for transition Poppers (#28506) @eps1lon - ​[docs] Fix migration v5 docs (#28530) @siriwatknp - ​[docs] Avoid re-mounting the whole tree when switching theme direction (#28495) @eps1lon - ​[docs] Fix html compliance (#28429) @oliviertassinari - ​[docs] Use hyphen-case for CSS properties in /system/properties (#28489) @chetrit - ​[docs] Update caret position in comments to match npm scope (#28426) @eps1lon - ​[docs] Fix CONTRIBUTING to point out to master as targeted branch (#28396) @mnajdova - ​[docs] Update examples to remove 'beta' (#28475) @oliviertassinari - ​[docs] Fix 404 links to MUI X API (#28176) @oliviertassinari - ​[docs] Fix broken/incorrect attributes links in Avatar and NativeSelect API pages (#28417) @xenostar - ​[docs] Explain how `` behaves (#28348) @nguyenkhanhnam - ​[docs] Fix typo in /system/the-sx-prop (#28393) @danwoods - ​[docs] Correct the migration doc (#28391) @michaldudak - ​[docs] Fix the notification display logic (#28389) @oliviertassinari - ​[docs] Add notification for v5 @oliviertassinari - ​[docs] Fix typo (#28521) @valse - ​[website] Implement algolia redesign (#28252) @hbjORbj - ​[website] Update data-grid dependencies #28531 @siriwatknp - ​[website] Cleanup unused files after rebranding (#28505) @siriwatknp - ​[website] Update /company pages to use marketing website Header and Footer (#28498) @danilo-leal - ​[website] Optimize images (#28486) @michaldudak - ​[website] Add components index page (#28485) @siriwatknp - ​[website] Fix typo (#28478) @oliviertassinari - ​[website] Fix crash (#28474) @oliviertassinari - ​[website] Close the open engineering roles (#28428) @oliviertassinari - ​[website] Fix 40x links (#28401) @mnajdova - ​[website] Fix SEO issues reported by moz.com (#28402) @mnajdova - ​[website] Fix production issues (#28384) @siriwatknp ### Core - ​[core] Fix release:changelog base branch (#28533) @mnajdova - ​[core] Remove code handling JSS components (#28421) @eps1lon - ​[core] Remove unused dependencies (#28468) @eps1lon - ​[core] Ensure both docs bundles are analyzeable (#28410) @eps1lon - ​[core] Switch to webpack 5 (#28248) @eps1lon - ​[core] Batch small changes (#28177) @oliviertassinari - ​[core] Update publish tag to latest (#28382) @mnajdova - ​[framer] Update @mui/\* dependencies (#28469) @eps1lon - ​[test] Add custom queries to `screen` (#28507) @eps1lon - ​[test] Run listChangedFiles against master (#28504) @eps1lon - ​[test] Increase BrowserStack timeout for Firefox (#28476) @oliviertassinari - ​[test] Use testing-library alpha when running React 18 tests (#28267) @eps1lon All contributors of this release in alphabetical order: @breitembach, @chetrit, @coder-freestyle, @danilo-leal, @danwoods, @eps1lon, @hbjORbj, @michaldudak, @mnajdova, @nguyenkhanhnam, @oliviertassinari, @sakura90, @siriwatknp, @valse, @xenostar ## 5.0.0 _Sep 16, 2021_ After over 400 days of development and over 40 canary releases, we are excited to introduce [MUI Core v5.0.0](https://mui.com/blog/mui-core-v5/)! Some statistics with the released of v5.0.0 compared to the one of v4.0.0: - 5,832 new commits - From 2M downloads/month to 9.5M downloads/month on npm - From 350k users/month to 700k users/month on the documentation A big thanks to the 600+ contributors who made the release possible! The 5.0.0 version includes all changes done in the alpha, beta, and rc releases listed below. These are the changes done from the last release candidate version (5.0.0-rc.1): ### `@mui/material@5.0.0` - ​[Autocomplete] Fix reset value on blur for freeSolo input (#28190) @praveenkumar-kalidass - ​[ButtonBase] Revert to the pre-unstyled implementation (#28225) @michaldudak - ​[Checkbox] Fix color proptype typo (#28265) @sydneyjodon-wk - ​[Tooltip] Ensure user-select CSS property is reverted after touch end (#28372) @tholman ### `@mui/system@5.0.0` - ​[system] Fix missing typings for createSpacing (#28361) @eps1lon ### `@mui/codemod@5.0.0` - ​[codemod] Fix jss-to-styled to support other export class, function etc. (#28321) @jedwards1211 ### `@mui/lab@5.0.0-alpha.46` - ​[DateTimePicker] Change bottom position of AM/PM buttons (#27534) @nikitabobers - ​[pickers] Add visual regression tests for open views (#28224) @eps1lon ### Docs - ​[blog] Introducing MUI Core v5.0 (#27912) @oliviertassinari - ​[docs] Fix quotes in font-face literal (#28260) @Aurelain - ​[docs] Update redirects to X's docs (#28263) @m4theushw - ​[docs] Change Material-UI to MUI in the console (#28270) @mbrookes - ​[docs] Docs redesign adjustments (#28203) @mnajdova - ​[docs] How to compose theme in steps (#28246) @goncalovf - ​[docs] Fix DataGrid demo console warning in Table docs (#28235) @ZeeshanTamboli - ​[docs] Fix typo in v4 to v5 migration guide (#28353) @zadeviggers - ​[docs] Fix typo in transition docs (#28312) @tamboliasir1 - ​[docs] Use https for material-ui & reactcommunity links (#28304) @aghArdeshir - ​[docs] Add IBM Plex font locally (#28325) @siriwatknp - ​[docs] Fix failing client-side navigation for /api routes (#28356) @eps1lon - ​[docs] Update the nav order (#28323) @mbrookes - ​[docs] Compress images with ImageOptim @oliviertassinari - ​[docs] Replace remaining unstyled package reference (#28351) @michaldudak - ​[docs] No import from react-router (#28329) @eps1lon - ​[website] Refine website before go-live (#28081) @siriwatknp - ​[website] Update manifest to new logo (#28355) @siriwatknp - ​[website] Add product-x page (#28106) @siriwatknp - ​[website] Revert store URL to material-ui.com/store (#28365) @michaldudak - ​[website] Rename domain to mui.com (#28332) @mnajdova ### Core - ​[core] Replace Material-UI with MUI (#28243) @mnajdova - ​[core] Prepare for v5 stable release (#28240) @mnajdova - ​[core] Mark lines that needs to be changed with a major release (#28238) @mnajdova - ​[core] Various updates to what we consider the default branch (#28328) @eps1lon - ​[core] Remove experimental bundle size tracking page (#28334) @eps1lon - ​[core] Support release:build with cmd.exe (#28318) @michaldudak - ​[core] Remove unnecessary titleize warning (#28349) @eps1lon - ​[core] Batch small fixes (#28381) @oliviertassinari - ​[test] Recommend yarn t over test:watch (#28254) @eps1lon - ​[test] Lazily import fixtures (#28239) @eps1lon - ​[test] Assert on user-select that has the same value across browsers (#28378) @eps1lon All contributors of this release in alphabetical order: @aghArdeshir, @Aurelain, @eps1lon, @goncalovf, @jedwards1211, @m4theushw, @mbrookes, @michald udak, @mnajdova, @nikitabobers, @praveenkumar-kalidass, @siriwatknp, @sydneyjodon-wk, @tamboliasir1, @tholman, @zadeviggers, @ZeeshanTamboli ## 5.0.0-rc.1 _Sep 8, 2021_ A big thanks to the 13 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ“š Improved the codemod and migration guide for upgrading to v5 - ๐Ÿ› Fixed some bugs and regressions ### `@mui/material@5.0.0-rc.1` - ​[Autocomplete] Fix virtualization regression (#28129) @oliviertassinari - ​[Button] Use deeper imports from unstyled, correct docs (#28074) @michaldudak - ​[ButtonBase] Fix ripple persisting on blur (#28186) @michaldudak - ​[Link] Infer `ref` type from `component` (#28101) @eps1lon - ​[Popper] Fix bundle size regression (#27910) @oliviertassinari - ​[Select] Merge `ref` of `Select` and `input` element (#28054) @DouglasPds - ​[Tabs] Improve error message formatting for invalid `value` (#28172) @eps1lon ### `@mui/system@5.0.0-rc.1` - ​[system] Change type of return value of overridesResolver (#28220) @hbjORbj - ​[system] Fix zero value condition (#28219) @siriwatknp - ​[system] Shorten class names in production (#27932) @oliviertassinari ### `@mui/codemod@5.0.0-rc.1` - ​[codemod] Fix various reported issues on `preset-safe` (#28183) @mnajdova ### `@mui/lab@5.0.0-alpha.46` - ​[ClockPicker] Fix to narrow hover area for am hours in am/pm clock (#28207) @eps1lon - ​[Masonry] Improve the styling on the demos (#27957) @hbjORbj - ​[MasonryItem] Fix crash on unmount when using React 18 (#28202) @eps1lon ### Docs - ​[docs] Fixes makeStyles migration example (#28213) @RomarQ - ​[docs] Fix some outdated migration guide (#28222) @siriwatknp - ​[docs] Update previews (#28223) @eps1lon - ​[docs] Demo how to use a specific slide direction for Snackbar (#28211) @goncalovf - ​[docs] Improve docs for creating dark theme (#28104) @mnajdova - ​[docs] Don't use Material theme in unstyled demos (#28073) @michaldudak - ​[docs] Fix api doc import example (#28199) @siriwatknp - ​[docs] Remove demo for re-creating Material-UI switches (#28042) @eps1lon - ​[docs] Improve legibility of CTA on landing page (#28124) @akashshyamdev - ​[docs] Fix Link outdated default underline prop (#28134) @outofgamut - ​[docs] Fix branding theme leaking on the templates (#28120) @mnajdova - ​[docs] Fix wrong package name in codemod (#28118) @aleccaputo - ​[docs] Cancelled subscription @oliviertassinari - ​[docs] Remove style duplication (#28087) @oliviertassinari - ​[docs] Fix migration guide typo (#28113) @paullaros - ​[docs] Reorder app bar actions (#28089) @mnajdova - ​[docs] Support Material design theme in MarkdownElement (#28109) @eps1lon - ​[docs] Improve diamond sponsors in the navigation (#28090) @mnajdova - ​[docs] Remove unnecessary comma (#28072) @michaldudak - ​[website] Add new careers page (#28184) @hbjORbj - ​[website] Disable Next.js font optimization (#28128) @michaldudak - ​[website] Polish design-kits & templates (#28131) @siriwatknp - ​[website] Update utm referral params #28040 @siriwatknp ### Core - ​[core] Misc bundle size tracking improvements (#28205) @eps1lon - ​[core] Ensure code preview is valid JavaScript (#28215) @eps1lon - ​[core] Create @mui/material-next package (#28200) @michaldudak - ​[core] Rename directories to match the new package names (#28185) @mnajdova - ​[core] Remove unused include (#28187) @eps1lon - ​[core] Fix PR detection mechanism for upstream PRs (#28171) @eps1lon - ​[core] Simplify ResizeObserver logic (#28037) @oliviertassinari - ​[core] Include TS modules in rollup import resolution (#28094) @michaldudak - ​[test] Update test to consider unsuppressed double render logs in React 18 (#28068) @eps1lon - ​[typescript] Make types of componentsProps consistent (#27499) @michaldudak All contributors of this release in alphabetical order: @akashshyamdev, @aleccaputo, @DouglasPds, @eps1lon, @goncalovf, @hbjORbj, @michaldudak, @mnajdova, @oliviertassinari, @outofgamut, @paullaros, @RomarQ, @siriwatknp ## 5.0.0-rc.0 _Sep 1, 2021_ A big thanks to the 18 contributors who made this release possible. Here are some highlights โœจ: - ๐ŸŽ‰ Renamed packages to `@mui/*` as part of rebranding the company, following the strategy of expanding the library scope beyond Material Design. For more details about it, check the [GitHub discussion](https://github.com/mui-org/material-ui/discussions/27803). - ๐Ÿ›  Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/guides/migration-v4/#preset-safe) - ๐Ÿงช Added new `` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj ๐Ÿ‘! ### `@mui/material@5.0.0-rc.0` #### Breaking changes - ​[core] Rename packages (#28049) @mnajdova replace `@material-ui/*` prefix with `@mui/*`: ``` @material-ui/system -> @mui/system @material-ui/styles -> @mui/styles @material-ui/lab -> @mui/lab @material-ui/types -> @mui/types @material-ui/styled-engine -> @mui/styled-engine @material-ui/styled-engine-sc ->@mui/styled-engine-sc @material-ui/private-theming -> @mui/private-theming @material-ui/codemod -> @mui/codemod ``` except these 3 packages that are renamed. ``` @material-ui/core => @mui/material // represents Material Design components. @material-ui/icons => @mui/icons-material // represents Material Design icons. @material-ui/unstyled => @mui/base // fully functional components with minimum styles. ``` > **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`. We encourage you to use the [codemod](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) for smooth migration. #### Changes - ​[Autocomplete] Update warning for `value` prop (#27977) @vedadeepta - ​[ButtonGroup] Update PropTypes to match augmentable interface (#27944) @aaronlademann-wf - ​[CardMedia] Add `image` role if `image` prop is specified but no image `component` is specified (#27676) @eps1lon - ​[InputBase] Fix autofill issue (#28070) @mnajdova - ​[Tabs] Fix indicator position when tab size changes (ResizeObserver) (#27791) @hbjORbj - ​[TextareaAutosize] Sync height when the width of the textarea changes (#27840) @hbjORbj - ​[ToggleButtonGroup] Add "disabled" prop (#27998) @chetas411 - ​[core] Export types for module augmentation (#28078) @m4theushw ### `@mui/base@5.0.0-alpha.45` - ​[Button] Create ButtonUnstyled and useButton (#27600) @michaldudak ### `@mui/lab@5.0.0-rc.0` - ​[Masonry] Add new component (#27439) @hbjORbj ### `@mui/codemod@5.0.0-rc.0` - ​[codemod] Add `mui-replace` codemod transform (#28060) @siriwatknp ### Docs - ​[docs] Fix preview for multiline JSX attributes (#28092) @eps1lon - ​[docs] Add a recommendation for hoisting GlobalStyles to static constant (#28088) @mnajdova - ​[docs] Update toolbar menu to behave closer to default (#28086) @oliviertassinari - ​[docs] Markdown redesign polish (#27956) @mnajdova - ​[docs] Fully translated /api/\* pages (#28044) @eps1lon - ​[docs] Fix matchSorter import path in Autocomplete (#28063) @StefanBRas - ​[docs] Fix Fab demo overflow on mobile (#28033) @rajzik - ​[docs] Add notistack example compatible with v5.x.x (#27881) @iamhosseindhv - ​[docs] Change sign-up template autocomplete to use "new-password" (#28028) @StefanTobler - ​[docs] Improve the support expectations for developers (#27999) @oliviertassinari - ​[docs] Don't use nested ternary (#27986) @eps1lon - ​[docs] Sync redirections from X into Core @oliviertassinari - ​[docs] Fix typo '.MuiOutinedInput' -> '.MuiOutlinedInput' (#27997) @rsxdalv - ​[docs] fix floating action button broken demo (#27976) @rajzik - ​[docs] Update correct variable name (#27960) @bene-we - ​[docs] Fix Performance typo (#27965) @tdmiller1 - ​[docs] Add GridExportCSVOptions page to documentation pages (#27951) @flaviendelangle - ​[website] Add product core page (#27952) @siriwatknp - ​[website] Make AppBar height and border consistent with nav header (#28085) @michaldudak - ​[website] Fix typos in the rebranding (#28069) @oliviertassinari - ​[website] Refine home, pricing and about pages (#27927) @siriwatknp ### Core - ​[eslint-plugin-material-ui] Only require translation of word characters and not API (#28043) @eps1lon - ​[core] Use lintable pattern for debounced callbacks (#27985) @eps1lon - ​[core] Remove file-wide disables of `no-use-before-define` (#27984) @eps1lon - ​[core] Improve `release:changelog` script (#27941) @eps1lon - ​[core] Enforce curly braces for block statements (#27946) @eps1lon - ​[test] Disable BrowserStack for PRs (#28041) @eps1lon All contributors of this release in alphabetical order: @aaronlademann-wf, @bene-we, @chetas411, @eps1lon, @flaviendelangle, @hbjORbj, @iamhosseindhv, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @rajzik, @rsxdalv, @siriwatknp, @StefanBRas, @StefanTobler, @tdmiller1, @vedadeepta ## 5.0.0-beta.5 _Aug 24, 2021_ A big thanks to the 26 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ› Fixed a lot of bugs and regressions to get us closer to the [v5 stable release milestone](https://github.com/mui-org/material-ui/milestone/44) - ๐Ÿ“š Improved the docs and the migration guide for upgrading to v5 ### `@material-ui/core@5.0.0-beta.5` #### Breaking changes - ​ [core] Update `.browserslistrc` file (#27788) @DanailH The targets of the default bundle have changed: - Chrome 90 (up from 84) - Edge 91 (up from 85) - Safari 14 (macOS) (up from 13.1) and 12.4 (iOS) (up from 12.2) - Opera 76 (up from 70) - ​ [Autocomplete] Rename Value type to AutocompleteValue (#27804) @michaldudak The `useAutocomplete` hook used a type called `Value`. It was a very generic name for a type specific to the `Autocomplete` control, so it was removed to `AutocompleteValue`. ```diff -import { Value } from '@material-ui/core/useAutocomplete'; +import { AutocompleteValue } from '@material-ui/core/useAutocomplete'; ``` #### Changes - ​ [AppBar] Fix transparency issue on dark mode (#27281) @will-amaral - ​ Revert "[BottomNavigation] onClick does not fire if tapped while scrolling (#22524)" (#27690) @eps1lon - ​ [Autocomplete] Add verbose warning for defaultValue (#27925) @vedadeepta - ​ [Badge] Add missing classes to exported class object (#27943) @pvdstel - ​ [ButtonGroup] Allow `size` customization via module augmentation (#27834) @aaronlademann-wf - ​ [InputBase] Preserve host state when changing `rows` from undefined to defined (#27683) @eps1lon - ​ [InputLabel] Apply `asterisk` class when `required` (#27738) @alexile - ​ [Select] Fix NativeSelect propagating classes to the DOM element (#27797) @mnajdova - ​ [Stack] Match the customization standard (#27777) @oliviertassinari - ​ [SvgIcon] Apply custom color if defined in the theme (#27923) @eps1lon - ​ [Switch] Add optional `track` slot to SwitchUnstyled (#27916) @michaldudak - ​ [Tooltip] Fix broken arrow position in rtl (#27868) @mnajdova - ​ [transitions] Allow to run Slide into a custom container (#26623) @benny0642 ### `@material-ui/system@5.0.0-beta.5` #### Breaking changes - ​ [system] Rename `styleProps` to `ownerState` (#27830) @mnajdova The change was done in order to better reflect what they are, not what we think they will be used for. ```diff ``` #### Changes - ​ [system] Remove dependency on `overridesResolver` for the `variants` (#27859) @mnajdova - ​ [system] Forward `classes` prop if no slot specified in the options (#27795) @mnajdova - ​ [system] Fix pseudo class overridden in variants (#27847) @hbjORbj ### `@material-ui/icons@5.0.0-beta.5` - ​ [icons] Improve GitHub size (#27740) @oliviertassinari ### `@material-ui/styled-engine@5.0.0-beta.5` - ​ [styled-engine] Remove unecessary aliases (#27779) @oliviertassinari - ​ [styled-engine] Drop withComponent support (#27780) @oliviertassinari ### `@material-ui/unstyled@5.0.0-alpha.44` - ​ [core] Utilize `CSS.supports` in `SliderUnstyled` component (#27724) @DanailH ### `@material-ui/lab@5.0.0-alpha.44` - ​ [DatePicker] Fix click-away logic requiring second click in some cases (#24877) @eps1lon - ​ [lab] Use the public API for module augmentation (#27735) @oliviertassinari - ​ [Timeline] Fix color="inherit" on TimelineDot (#27794) @mnajdova ### Docs - ​ [docs] Redesign on markdown page (#27860) @mnajdova - ​ [docs] Split changelog into current and old (#27942) @eps1lon - ​ [docs] Migration, emphasize theme structure change (#27935) @oliviertassinari - ​ [docs] Fix missing `href` for AppDrawerNavItems (#27936) @eps1lon - ​ [docs] Pass window of iframe to framed demos (#27924) @eps1lon - ​ [docs] Simplify Select Chip demo styling (#27864) @LorenzHenk - ​ [docs] Move from Redux to React Context (#27828) @eps1lon - ​ [docs] Correct the useAutocomplete import path (#27805) @michaldudak - ​ [docs] Fix Tooltip flicker when hovering between code icon and demo (#27841) @eps1lon - ​ [docs] Don't log if a request was aborted in ServerRequestDatePicker demo (#27843) @eps1lon - ​ [docs] Fix false-positive useToolbar warning when using the demo toolbar menu (#27842) @eps1lon - ​ [docs] Add missing import (#27850) @nguyenyou - ​ [docs] Fix circular integration demo (#27856) @LorenzHenk - ​ [docs] A few examples is enough (#27874) @mekouar-mehdi - ​ [docs] Improve README.md (#27852) @surajkumar016 - ​ [docs] Fix rtl issue on the demos (#27865) @mnajdova - ​ [docs] Apply the new branding theme and do the AppBar redesign (#27789) @mnajdova - ​ [docs] Improve grammar in 'Align list items' section (#27730) @atorenherrinton - ​ [docs] Make API documentation tables horizontally scrollable (#27787) @jakeanq - ​ [docs] Fix typo on "Customized dialogs" section (#27827) @nomanoff - ​ [docs] Fix Autocomplete country layout shift (#27814) @oliviertassinari - ​ [docs] Improve accessible labels for Card demos (#27675) @eps1lon - ​ [docs] Run in StrictMode by default (#27693) @eps1lon - ​ [docs] Display TypeScript code of demo if requested (#27691) @eps1lon - ​ [docs] Use country image instead of emoji (#27723) @qiweiii - ​ [docs] Zero runtime themeAugmentation documentation (#27706) @eps1lon - ​ [docs] Fix MobileTextStepper example to match description (#27682) @nolastemgarden - ​ [docs] Document the transfer-list limitations (#27783) @oliviertassinari - ​ [docs] Move TypeScript docs in context (#27782) @oliviertassinari - ​ [docs] Prefer linking API source TypeScript (#27781) @oliviertassinari - ​ [docs] Improve the Modal onClose migration (#27775) @oliviertassinari - ​ [docs] Fix outdated styled-engine docs (#27778) @oliviertassinari - ​ [docs] Improve right to left guide (#27713) @mnajdova - ​ [docs] Consistent line break (#27728) @oliviertassinari - ​ [docs] Don't dispatch ignored "reset code variant" actions (#27712) @eps1lon - ​ [docs] Fix sentence to be more grammatically correct (#27733) @atorenherrinton - ​ [examples] Add code sandbox config with node version (#27798) @qiweiii - ​ Revert "[examples] Fix nextjs with styled-components example (#27583)" (#27921) @mnajdova - ​ Revert "[examples] Update create-react-app examples with styled-components to use package aliases (#27591)" (#27917) @mnajdova - ​ [I10n] Add Khmer (kh-KH) locale support (#27915) @teachhay - ​ [website] Add templates & design-kits page (#27811) @siriwatknp - ​ [website] Improve rebranding homepage performance (#27838) @siriwatknp - ​ [website] Honest a11y value proposition (#27826) @eps1lon - ​ [website] Improve homepage rebranding (#27663) @siriwatknp - ​ [website] A few polish (#27741) @oliviertassinari - ​ [website] Polish homepage (#27930) @oliviertassinari ### Core - ​ [core] Fix various flip: false regressions (#27920) @mnajdova - ​ [core] Fix typo in code comment (#27818) @hamidreza-nateghi - ​ [core] Fix typos in repository (#27785) @JEONGJIHUN - ​ [test] Current behavior when disabling components variants (#27376) @noviicee - ​ [tests Improve test for checking if classes is forwarded to any DOM element (#27815) @mnajdova - ​ [tests] Replace legacy `describeConformance` with `describeConformanceV5` (#27817) @mnajdova All contributors of this release in alphabetical order: @aaronlademann-wf, @alexile, @atorenherrinton, @benny0642, @DanailH, @eps1lon, @hamidreza-nateghi, @hbjORbj, @jakeanq, @JEONGJIHUN, @LorenzHenk, @mekouar-mehdi, @michaldudak, @mnajdova, @nguyenyou, @nolastemgarden, @nomanoff, @noviicee, @oliviertassinari, @pvdstel, @qiweiii, @siriwatknp, @surajkumar016, @teachhay, @vedadeepta, @will-amaral ## 5.0.0-beta.4 _Aug 13, 2021_ A big thanks to the 19 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ› Grid's "auto" behavior has been fixed by @aaronlademann-wf (#27514) - โ™ฟ An important bug with the keyboard navigation in MenuList was fixed (#27526) @ryancogswell ### `@material-ui/core@5.0.0-beta.4` #### Breaking changes - ​[Grid] Fix "auto" behavior to match natural width of its content (#27514) @aaronlademann-wf #### Changes - ​[ButtonBase] Fix tabIndex type (#27684) @kylegach - ​[MenuList] Fix text navigation (#27526) @ryancogswell - ​[l10n] Add Arabic Sudan (ar-SD) locale (#27588) @YassinHussein - ​[Radio] Fix size prop forwarding with custom icons (#27656) @DouglasPds - ​[TextField] Password visibility icons ( "visibility" โ‡” "visibility-off" ) should be reversed (#27507) @tonextone - ​[ToggleButton] Fix handling of color prop (#27635) @oliviertassinari ### `@material-ui/codemods@5.0.0-beta.4` - ​[codemod] Fix filename case sensitive duplicate @oliviertassinari ### `@material-ui/system@5.0.0-beta.4` - ​[StyledEngineProvider] Remove unnecessary emotion cache export (#27680) @garronej - ​[system] Fix missing filterProps in compose type (#27618) @R-Bower ### `@material-ui/labs@5.0.0-alpha.42` - ​[CalendarPicker] Improve contrast between enabled and disabled days (#27603) @nikitabobers - ​[PickersDay] Render `children` if specified (#27462) @abriginets - ​[TreeView] Fix TreeItem label overflow (#27585) @LorenzHenk ### Docs - ​[docs] Update guides for @material-ui/styled-engine-sc installation (#27602) @mnajdova - ​[docs] Document that @material-ui/styles is not strict mode compatible (#27639) @oliviertassinari - ​[docs] Link to "Customization of Theme" from relevant theme interfaces (#27689) @eps1lon - ​[docs] Update CSP page (#27627) @mnajdova - ​[docs] Reorder and rename "enforce value" ToggleButton demo (#27678) @LorenzHenk - ​[docs] Fix missing dependency in the DataGrid demo (#27597) @m4theushw - ​[docs] img should have a src attribute (#27632) @oliviertassinari - ​[docs] Add badges to Transfer List (#27634) @oliviertassinari - ​[docs] Recommend the `direct-import` babel plugin over `transform-import` (#27335) @umidbekk - ​[docs] Remove unused code (#27711) @eps1lon - ​[docs] Improve virtualization demo (#27340) @vedadeepta - ​[examples] Include a follow-up on the example (#27620) @matiasherranz - ​[website] Add about page (#27599) @siriwatknp - ​[website] Add pricing page (#27598) @siriwatknp ### Core - ​[core] Batch small changes (#27636) @oliviertassinari - ​[core] Change range strategy to bump (#27652) @oliviertassinari - ​[core] Fix visual regression example images (#27660) @eps1lon - ​[core] Remove diff when running yarn docs:dev (#27720) @eps1lon - ​[core] Remove mocks of require.context in markdown loader (#27406) @eps1lon - ​[core] Reduce use CSS when Checkbox disableRipple is set (#27568) @oliviertassinari - ​[test] Add coverage for jss-to-styled prefix from filename (#27522) @eps1lon - ​[test] Add current behavior for a11y name vs visible name for PickersDay (#27661) @eps1lon - ​[test] Dodge double logging in dev mode (#27653) @oliviertassinari - ​[test] Enable skipped test fixed by upstream React fix (#27615) @eps1lon - ​[theme] Add missed variants in Components interface (#27453) @nikitabobers All contributors of this release in alphabetical order: @aaronlademann-wf, @abriginets, @DouglasPds, @eps1lon, @garronej, @kylegach, @LorenzHenk, @m4theushw, @matiasherranz, @mnajdova, @nikitabobers, @oliviertassinari, @R-Bower, @ryancogswell, @siriwatknp, @tonextone, @umidbekk, @vedadeepta, @YassinHussein ## 5.0.0-beta.3 _Aug 6, 2021_ A big thanks to the 15 contributors who made this release possible. Here are some highlights โœจ: - ​โœจ `jss-to-styled` codemod has been improved to support `createStyles` and `` usage (#27578) @mnajdova ### `@material-ui/core@5.0.0-beta.3` - ​[Modal] Restore `overflowX` and `overflowY` styles (#27487) @PCOffline - ​[Modal] Remove unnecessary check for children.props.tabIndex (#27374) @noviicee - ​[Select] Fix regression for icon not rotating (#27511) @mnajdova ### `@material-ui/system@5.0.0-beta.3` - ​[system] Added top, left, right and bottom border color CSS properties to system (#27580) @R-Bower ### `@material-ui/codemod@5.0.0-beta.3` - ​[codemod] Add support for `createStyles` usage in `jss-to-styled` (#27578) @mnajdova - ​[codemod] Fix `jss-to-styled` PREFIX generation on Windows (#27491) @mnajdova - ​[codemod] Fix `jss-to-styled` codemod to handle React.Fragment as root (#27495) @mnajdova ### `@material-ui/unstyled@5.0.0-alpha.42` - ​[FormControl] Create FormControlUnstyled (#27240) @michaldudak - ​[Autocomplete] Move useAutocomplete to the Unstyled package (#27485) @michaldudak ### Docs - ​[docs] Fix layout shift when opening hash anchor (#27619) @oliviertassinari - ​[docs] Add TypeScript guide for the `sx` prop (#27417) @mnajdova - ​[docs] Hardcode listed colors in /customization/color/#playground (#27446) @eps1lon - ​[docs] Bring back Select#onChange signature API (#27443) @eps1lon - ​[docs] Remove backticks in the title (#27567) @oliviertassinari - ​[docs] Fix 404 links (#27566) @oliviertassinari - ​[docs] Use the same h2 for the customization demos (#27569) @oliviertassinari - ​[docs] Fix syntax error in v5 migration `styled` api example (#27518) @kimbaudi - ​[docs] Improve SSR configuration with emotion (#27496) @frandiox - ​[docs] Change "pseudo-classes" to "state classes" (#27570) @michaldudak - ​[docs] Add StackBlitz edit demo integration (#27391) @sulco - ​[docs] Remove unnecessary generic argument (#27516) @bezpalko - ​[docs] Add customization demos (#27411) @siriwatknp - ​[docs] Restore initial descriptionRegExp logic (#27436) @oliviertassinari - ​[docs] Polish jss-to-styled docs (#27457) @oliviertassinari - ​[examples] Fix nextjs with styled-components example (#27583) @mnajdova - ​[examples] Update create-react-app examples with styled-components to use package aliases (#27591) @mnajdova - ​[examples] Improve integration examples with Next.js (#27331) @Harshita-Kanal - ​[website] Add spicefactory as gold sponsor @oliviertassinari - ​[website] Homepage rebranding (#27488) @siriwatknp - ​[website] Add Flavien to team and about pages (#27575) @flaviendelangle - ​[website] Add Ryan to Community contributors for Stack Overflow contributions (#27529) @ryancogswell - ​[website] Add references section to home (#27444) @siriwatknp ### Core - ​[core] rebaseWhen=auto does not seem to work (#27565) @oliviertassinari - ​[core] Improve instructions for the @material-ui/styles migration (#27466) @mnajdova - ​[core] Batch small changes (#27435) @oliviertassinari - ​[core] Receive patch and minor dependency updates (#27455) @eps1lon - ​[test] Update coverage to include all @material-ui packages (#27521) @eps1lon - ​[test] Lint codemod tests (#27519) @eps1lon - ​[test] Allow tests to run for 6s before timeout (#27456) @oliviertassinari All contributors of this release in alphabetical order: @bezpalko, @eps1lon, @flaviendelangle, @frandiox, @Harshita-Kanal, @kimbaudi, @michaldudak, @mnajdova, @noviicee, @oliviertassinari, @PCOffline, @R-Bower, @ryancogswell, @siriwatknp, @sulco ## 5.0.0-beta.2 _Jul 26, 2021_ A big thanks to the 20 contributors who made this release possible. Here are some highlights โœจ: - โœจ We introduced new codemod for converting JSS styles to emotion (#27292) @siriwatknp It should help adoption of v5, by making possible the removal of JSS sooner. - ๐Ÿ› The majority of other changes in this release were bug fixes, test utilities and docs. ### `@material-ui/core@5.0.0-beta.2` - ​[Autocomplete] Explain how the loading prop works (#27416) @michaldudak - ​[Autocomplete] Update input value when the input changes (#27313) @turtleseason - ​[Autocomplete] Popper is not closing when the Autocomplete is disabled (#27312) @Goodiec - ​[Checkbox] Skip default hover styles with `disableRipple` (#27314) @faan234 - ​[Dialog] Fix override paper styles (#27423) @newsiberian - ​[Grid] Remove width prop for rowSpacing (#27326) @sashkopavlenko - ​[Input] Merge `componentsProps` correctly (#27371) @mnajdova - ​[Pagination] Fixed usePagination requires @emotion in development mode (#27348) @ruppysuppy - ​[Pagination] Fix :hover effect on previous/next button (#27304) @Aubrey-Li - ​[Popper] Consistent timing of popper instance creation (#27233) @eps1lon - ​[Select] Add `SelectChangeEvent` for accurate types for event in onChange prop (#27370) @eps1lon - ​[Tabs] Use theme transition duration for the Tab animation (#27303) @florianbepunkt - ​[TextField] Allow custom colors in FormLabel (#27337) @oliviertassinari - ​[TextField] Fix name of componentsProps (#27338) @oliviertassinari - ​[transitions] Make sure inline styles used for transition values if declared (#27140) @eps1lon ### `@material-ui/codemod@5.0.0-beta.2` - ​[codemod] Add `optimal-imports` for v5 (#27404) @mnajdova - ​[codemod] Add jss to emotion codemod (#27292) @siriwatknp - ​[codemod] Fix running codemod CLI on Windows (#27395) @michaldudak - ​[codemod] Fix published version (#27384) @eps1lon - ​[codemod] Improve README.md (#27257) @mnajdova ### `@material-ui/unstyled@5.0.0-alpha.41` - ​[NoSsr] Move NoSsr to the Unstyled package (#27356) @michaldudak ### `@material-ui/utils@5.0.0-beta.1` - ​[utils] Convert createChainedFunction to TypeScript (#27386) @eps1lon ### `@material-ui/system@5.0.0-beta.2` - ​[system] Compute display name of `styled` component if `name` isn't set (#27401) @eps1lon - ​[system] Adds missing type for `shouldForwardProp` (#27310) @KLubin1 ### `@material-ui/lab@5.0.0-alpha.41` - ​[pickers] Only accept dates from adapters in min/max props (#27392) @eps1lon - ​[pickers] Fallback to today if all possible dates are disabled (#27294) @eps1lon - ​[pickers] Minify error when LocalizationProvider is missing (#27295) @eps1lon - ​[pickers] Fix Fade animation behavior change (#27283) @oliviertassinari ### Docs - ​[docs] Display Popper arrow correctly (#27339) @Patil2099 - ​[docs] Focus pickers introduction on Material-UI (#27394) @eps1lon - ​[docs] Fix wrong import path in @material-ui/styles section (#27427) @WeldonTan - ​[docs] Update color imports (#27321) @siriwatknp - ​[docs] Sync params of callbacks between types and JSDoc description (#27366) @eps1lon - ​[docs] Add migration note for synthetic native events in onChange (#27368) @eps1lon - ​[docs] Improve unstyled docs (#27382) @oliviertassinari - ​[docs] Update `Transitions` page (#27319) @siriwatknp - ​[docs] Add Unstyled components docs page (#27158) @michaldudak - ​[docs] Fix app bar regression (#27373) @mnajdova - ​[docs] Update migration guide to have a section on nested classes (#27354) @mnajdova - ​[docs] Convert App\* components to emotion (#27150) @eps1lon - ​[docs] Fix duplicate "Theme" header (#27353) @eps1lon - ​[docs] Remove horizontal scrollbar in MiniDrawer (#27055) @AlvesJorge - ​[docs] Add `makeStyles` explanation in troubleshooting (#27322) @siriwatknp - ​[docs] Fix ExpansionPanel migration notes (#27352) @eps1lon - ​[docs] Transpile markdown files (#27349) @eps1lon - ​[docs] Fix typo in the word typography (#27329) @tudi2d - ​[docs] Use actual symbol of kilogram (#27332) @getsnoopy - ​[docs] Make migration doc easier to follow (#26948) @siriwatknp - ​[examples] Cleanup `gatsby` examples (#27375) @mnajdova - ​[examples] Create nextjs example using styled-components (#27088) @hboylan - ​[examples] Update gatsby example to use custom plugin (#27357) @mnajdova ### Core - ​[core] Remove obsolete styles documentation (#27350) @eps1lon - ​[core] Fix GitHub language detection (#27298) @oliviertassinari - ​[test] Include coverage report of browser tests (#27389) @eps1lon - ​[test] Add current behavior for getDisplayName with context components (#27402) @eps1lon - ​[test] Enable skipped picker tests (#27268) @eps1lon - ​[website] Add hero section to homepage (#27364) @siriwatknp All contributors of this release in alphabetical order: @AlvesJorge, @Aubrey-Li, @eps1lon, @faan234, @florianbepunkt, @g etsnoopy, @Goodiec, @hboylan, @KLubin1, @michaldudak, @mnajdova, @newsiberian, @oliviertassinari, @Patil2099, @ruppysupp y, @sashkopavlenko, @siriwatknp, @tudi2d, @turtleseason, @WeldonTan ## 5.0.0-beta.1 _Jul 14, 2021_ A big thanks to the 17 contributors who made this release possible. Here are some highlights โœจ: - โœจ We have introduced a new unstyled component: the Switch (#26688) @michaldudak You can find two new versions of the Switch. A component without any styles: [`SwitchUnstyled`](https://mui.com/components/switches/#unstyled), and a hook: [`useSwitch`](https://mui.com/components/switches/#useswitch-hook). switch You can follow our progress at https://github.com/mui-org/material-ui/issues/27170. - ๐Ÿ’„ We have updated the default `info` `success` `warning` color to be more accessible (#26817) @siriwatknp. You can find the new [default values](https://mui.com/customization/palette/#default-values) in the documentation. colors ### `@material-ui/core@5.0.0-beta.1` #### Breaking changes - [Fab] Remove no longer necessary span wrapper (#27112) @siriwatknp - [ToggleButton] Remove no longer necessary span wrapper (#27111) @siriwatknp #### Changes - [Autocomplete] Add componentsProps (#27183) @michal-perlakowski - [Avatar] Fix support for crossOrigin (#27013) @ShirasawaSama - [ButtonBase] Correct `disableRipple` API description (#27187) @michaldudak - [ButtonGroup] Add color palette types (#27215) @ShirasawaSama - [SwitchBase] Bring back `checked` and mark as deprecated (#27047) @siriwatknp - [TextField] Remove redundant useFormControl implementation (#27197) @michaldudak - [theme] Add missing MuiRating types to components.d.ts (#27086) @rajzik - [theme] Remove `createV4Spacing` from `adaptV4Theme` (#27072) @siriwatknp - [theme] Update default `info` `success` `warning` color (#26817) @siriwatknp - [ToggleButton] Add color palette types (#27046) @ShirasawaSama - [ToggleButton] Fix the api page (#27164) @oliviertassinari ### `@material-ui/unstyled@5.0.0-alpha.40` - [Switch] Create SwitchUnstyled and useSwitch (#26688) @michaldudak ### `@material-ui/codemod@5.0.0-beta.1` - [codemod] Add v5 important migration (#27032) @siriwatknp - [codemod] Fix v5 codemods on Windows (#27254) @michaldudak ### `@material-ui/system@5.0.0-beta.1` - [Box] Add breakpoint value support to maxWidth prop (#26984) @ansh-saini ### `@material-ui/lab@5.0.0-alpha.40` - [CalendarPicker] Fix slide transition regression (#27273) @eps1lon - [CalendarPicker] Use transition components from core instead of a custom implementation (#27043) @eps1lon - [pickers] Fix default value of text keys (#26990) @oliviertassinari - [TimePicker] Change default minutes and seconds to zero (#27037) @michal-perlakowski ### Docs - [blog] Q2 2021 Update (#27089) @oliviertassinari - [docs] Add information that the label prop in FormControlLabel is now @michal-perlakowski - [docs] Don't crash page if an Ad crashes (#27178) @eps1lon - [docs] Fix alt description of movavi backer @oliviertassinari - [docs] Fix import source of hidden component (#27116) @vimutti77 - [docs] Fix layout regression (#27272) @oliviertassinari - [docs] Fix syntax error in /styles/api markdown (#27176) @sahil-blulabs - [docs] Fix the link for the sx props page (#27202) @mnajdova - [docs] Fix theme context example code (#27053) @moshfeu - [docs] Fix typo in CONTRIBUTING.md (#27218) Ayush Dubey - [docs] Fix typos (#27074) @michaldudak - [docs] Improve nav semantics (#27138) @eps1lon - [docs] Migrate Ad\* components to emotion (#27159) @mnajdova - [docs] Migrate rest of the docs to emotion (#27184) @mnajdova - [docs] Move versions from \_app PageContext to page-specific context (#27078) @eps1lon - [docs] Only bundle one version of the demos in production (#27020) @eps1lon - [docs] Reduce layout shift on landing page (#27251) @eps1lon - [docs] Remove Ethical Ads (#27173) @mbrookes - [docs] Remove unused fs polyfill (#27069) @eps1lon - [docs] Remove usage of `url` package (#27151) @eps1lon - [docs] Replace react-text-mask with react-imask in integration example (#27071) @michal-perlakowski - [docs] Sort the size in a more logical order (#27186) @oliviertassinari - [docs] Use actual link to paperbase (#27063) @eps1lon - [docs] Use custom markdown loader for landing page (#27065) @eps1lon - [docs] Use webpack 5 (#27077) @eps1lon - [examples] Fix CDN warning (#27229) @oliviertassinari - [examples] Remove `StyledEngineProvider` as JSS is not used (#27133) @mnajdova - [examples] Remove forgotten StyledEngineProvider (#27163) @oliviertassinari ### Core - [core] Batch small changes (#26970) @oliviertassinari - [core] Configure Renovate (#27003) @renovate[bot] - [core] Migrate remaining mentions of Dependabot to Renovate (#27118) @eps1lon - [core] Run yarn deduplicate on Renovate updates (#27115) @eps1lon - [test] Document broken React 18 behavior of Autocomplete (#27242) @eps1lon - [test] Increase BS timeout to 6min (#27179) @oliviertassinari - [test] Migrate regressions to emotion (#27010) @vicasas - [test] Narrow down React 18 compat issues (#27134) @eps1lon - [test] Remove StyledEngineProvider usage from regressions and e2e test @mnajdova - [test] Run React 18 integration tests with new createRoot API (#26672) @eps1lon - [test] Update tests with latest state of StrictMode compatibility (#27042) @eps1lon - [test] Use DOM events instead of mocked, partial events (#27198) @eps1lon - [website] Open 4 new roles (#27123) @oliviertassinari - [blog] Danilo Leal joins Material-UI (#27231) @oliviertassinari All contributors of this release in alphabetical order: @eps1lon, @mbrookes, @michal-perlakowski, @michaldudak, @mnajdova, @moshfeu, @oliviertassinari, @rajzik, @renovate[bot], @sahil-blulabs, @ShirasawaSama, @siriwatknp, @vimutti77 ## 5.0.0-beta.0 _Jul 01, 2021_ A big thanks to the 13 contributors who made this release possible. Here are some highlights โœจ: - ๐ŸŽ‰ This is the first beta release of v5! A huge thanks to everyone who helped to make this happen! We're targeting the 1st of September for a stable release, and will use the next two months to polish v5, and ease the migration from v4. You can follow [the v5 stable milestone](https://github.com/mui-org/material-ui/milestone/44) for more details. We now encourage any new projects to start on v5. - ๐Ÿš€ We have completed all the planned breaking changes. - โš’๏ธ We added the codemod CLI to simplify migration to v5 (#26941) @eps1lon. You can find it at [`@material-ui/codemod`](https://github.com/mui-org/material-ui/tree/HEAD/packages/mui-codemod). - ๐Ÿ› The majority of other changes in this release were bug fixes, test utilities and docs. ### `@material-ui/core@5.0.0-beta.0` #### Breaking changes - [Tabs] Remove unnecessary wrapper from Tab (#26926) @siriwatknp `span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui-org/material-ui/pull/26666). ```diff ``` - [BottomNavigation] Remove wrapper from BottomNavigationAction (#26923) @siriwatknp `span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui-org/material-ui/pull/26666). ```diff ``` #### Changes - ​[Box] Fix TypeScript error on maxWidth prop (#26859) @ansh-saini - ​[Dialog] Automatically label by its DialogTitle (#26814) @eps1lon - ​[Hidden] Bring back and mark as deprecated (#26908) @siriwatknp - ​[List] Add button runtime deprecation warning (#26743) @siriwatknp - ​[Modal] Type BackdropProps according to styled version (#26836) @eps1lon - ​[Radio] Fix `defaultValue` to match the other value types (#26945) @oliviertassinari - ​[Stepper] Add completed to global pseudo-classes (#26953) @michal-perlakowski - ​[Stepper] Fix support for no connectors (#26874) @varandasi - ​[TextField] Prevent `hiddenLabel` from spreading to DOM (#26864) @siriwatknp - ​[TextField] Fix label disappearing when focusing a button (#26933) @michal-perlakowski ### `@material-ui/codemod@5.0.0-beta.0` - ​[codemod] Add CLI (#26941) @eps1lon ### @material-ui/icons@5.0.0-beta.0 - ​[icons] Regenerate transpiled files (#26985) @eps1lon ### @material-ui/lab@5.0.0-alpha.39 #### Breaking changes - [DatePicker] Remove helper text default value (#26866) @DouglasPds Make the default rendered text field closer to the most common use cases (denser). ```diff ( - + )} > ``` #### Changes - ​[lab] Fix missing dependency on unstyled (#26937) @fishyFrogFace - ​[pickers] Consider TDate in ToolbarComponent types (#27035) @michal-perlakowski ### `@material-ui/system@5.0.0-beta.0` - ​[system] Support array overridesResolver (#26824) @siriwatknp ### Docs - ​[docs] Add notes to Table demo about stableSort (#27025) @CarlosGomez-dev - ​[docs] Add gold sponsor (#26968) @oliviertassinari - ​[docs] Update unstyled demos to not depend on `@material-ui/core` (#26869) @mnajdova - ​[docs] Fix demo paths in windows (#27004) @eps1lon - ​[docs] Export all locales (#27002) @eps1lon - ​[docs] Misc CONTRIBUTING.md changes (#26925) @eps1lon - ​[docs] Fix /components/hidden merge conflict (#26997) @eps1lon - ​[docs] Fix 404 links (#26963) @oliviertassinari - ​[docs] Remove link that points to v4 blog post (#26960) @steveafrost - ​[docs] Use custom webpack loader for markdown (#26774) @eps1lon - ​[docs] Fix 301 links (#26942) @oliviertassinari - ​[docs] Add page for the `sx` prop (#26769) @mnajdova - ​[docs] pre-fill issue when a demo crashes (#27034) @eps1lon - ​[docs] Move styled page under system (#26818) ### Core - ​[core] Inline rollup-plugin-size-snapshot (#26986) @eps1lon - ​[core] Remove unused props clone (#26992) @oliviertassinari - ​[core] Fix tests on Windows (#26931) @michaldudak - ​[core] Fix merge conflict between #26954 and #26874 @oliviertassinari - ​[core] Upgrade issues-helper to v2 (#26955) @michal-perlakowski - ​[core] Fix merge conflict (#26928) @eps1lon - ​[test] Convert HiddenCSS tests to testing-library (#27019) @eps1lon - ​[test] Convert NativeSelectInput tests to testing-library (#26952) @eps1lon - ​[test] Add a default mount implementation to conformance tests (#26949) @eps1lon - ​[test] Update tests to pass react@next (#26967) @eps1lon - ​[test] Add types to describeConformanceV5 (#26954) @eps1lon - ​[test] Use createPickerMount where appropriate (#26951) @eps1lon - ​[test] Convert SwipeableDrawer tests to testing-library (#26916) @eps1lon - ​[test] Convert Menu tests to testing-library (#26915) @eps1lon - ​[test] Convert Popover tests to testing-library (#26913) @eps1lon - ​[test] Convert Modal tests to testing-library (#26912) @eps1lon - ​[test] Make remaining testing-library tests StrictMode compatible (#26924) @eps1lon - ​[test] Only allow wrapping enzyme mount not creating (#27018) @eps1lon - ​[typescript] Disallow spreading TransitionHandlerProps (#26927) @eps1lon All contributors of this release in alphabetical order: @ansh-saini, @BC-M, @CarlosGomez-dev, @DouglasPds, @eps1lon, @fishyFrogFace, @michal-perlakowski, @michaldudak, @mnajdova, @oliviertassinari, @siriwatknp, @steveafrost, @varandasi ## 5.0.0-alpha.38 _Jun 23, 2021_ A big thanks to the 18 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿš€ We have only 2 left in the [breaking changes](https://github.com/mui-org/material-ui/issues/20012). The plan to release 5.0.0-beta.0 is on July 1st and will start to promote its usage over v4. - ๐ŸŽจ We have updated `Slider` to match current [Material Design guidelines](https://material.io/components/sliders). - ๐Ÿ’ก `IconButton` now supports 3 sizes (`small, medium, large`). [See demo](https://mui.com/components/buttons/#sizes-2). - โ™ฟ๏ธ We have improved the default style of the `Link` to be more accessible (#26145) @ahmed-28 ### `@material-ui/core@5.0.0-alpha.38` #### Breaking changes - ​[Menu] Use ButtonBase in MenuItem (#26591) @siriwatknp - Change the default value of `anchorOrigin.vertical` to follow the Material Design guidelines. The menu now displays below the anchor instead of on top of it. You can restore the previous behavior with: ```diff +
  • ``` - The prop `listItemClasses` was removed, you can use `classes` instead. ```diff - + ``` - ​[theme] Improve default breakpoints (#26746) @siriwatknp The default breakpoints were changed to better match the common use cases. They also better match the Material Design guidelines. [Read more about the change](https://github.com/mui-org/material-ui/issues/21902). ```diff { xs: 0, sm: 600, - md: 960, + md: 900, - lg: 1280, + lg: 1200, - xl: 1920, + xl: 1536, } ``` If you prefer the old breakpoint values, use the snippet below. ```js import { createTheme } from '@material-ui/core/styles'; const theme = createTheme({ breakpoints: { values: { xs: 0, sm: 600, md: 960, lg: 1280, xl: 1920, }, }, }); ``` - ​[IconButton] Add size `large` and update styles (#26748) @siriwatknp The default size's padding is reduced to `8px` which makes the default IconButton size of `40px`. To get the old default size (`48px`), use `size="large"`. The change was done to better match Google's products when Material Design stopped documenting the icon button pattern. ```diff - + ``` - ​[Slider] Adjust css to match the specification (#26632) @siriwatknp Rework the CSS to match the latest [Material Design guidelines](https://material.io/components/sliders) and make custom styles more intuitive. [See documentation](https://mui.com/components/slider/). You can reduce the density of the slider, closer to v4 with the [`size="small"` prop](https://mui.com/components/slider/#sizes). - ​[IconButton] Remove label span (#26801) @siriwatknp `span` element that wraps children has been removed. `label` classKey is also removed. More details about [this change](https://github.com/mui-org/material-ui/pull/26666). ```diff ``` - ​[core] Remove `unstable_` prefix on the `useThemeProps` hook (#26777) @mnajdova The following utilities were renamed to not contain the `unstable_` prefix: - `@material-ui/sytstem` ```diff import { - unstable_useThemeProps, + useThemeProps, } from '@material-ui/system'; ``` - `@material-ui/core` ```diff import { - unstable_useThemeProps, + useThemeProps, } from '@material-ui/core/styles'; ``` #### Changes - ​[Alert] Add support for custom colors (#26831) @varandasi - ​[Button] Fix loading text invisible when disabled (#26857) @DanielBretzigheimer - ​[ButtonBase] Consider as a link with a custom component and `to` prop (#26576) @shadab14meb346 - ​[ButtonBase] Derive state on render instead of in layout effects (#26762) @eps1lon - ​ [Drawer] Fix incorrect z-index (#26791) @michal-perlakowski - ​[Drawer] Remove incorrect transition handler props (#26835) @eps1lon - ​[Link] Improve accessibility support (#26145) @ahmed-28 - ​[Modal] Fix calculating scrollbar size when using custom scrollbar (#26816) @michal-perlakowski - ​[Rating] Make input ids less predictable (#26493) @eps1lon - ​[Stepper] Add componentsProps.label to StepLabel (#26807) @michal-perlakowski - ​[Tabs] Show error when Tab has display: none (#26783) @michal-perlakowski - ​[theme] Add base color palette type to components (#26697) @siriwatknp ### `@material-ui/system@5.0.0-alpha.38` #### Breaking Changes - ​[system] Normalize api for `createBox` (#26820) @mnajdova ```diff import { createBox } from '@material-ui/system'; -const styled = createBox(defaultTheme); +const styled = createBox({ defaultTheme }); ``` #### Changes - ​[system] Add ThemeProvider component (#26787) @mnajdova ### Docs - ​[docs] Fix misspelling of the word Typography (#26898) @dmrqx - ​[docs] Instruct users to install @material-ui/icons with the next tag (#26873) @michal-perlakowski - ​[docs] Sync translations (#26828) @l10nbot - ​[docs] Improve grammar of autocomplete/autofill section (#26798) @dijonkitchen - ​[docs] Explain "inherited props" better in the props table (#26778) @eps1lon - ​[docs] Fix documentation for upgrading to v5 (#26812) @tungdt-90 - ​[docs] Improve notification color (#26796) @mnajdova - ​[docs] Fix various a11y issues with /customization/color (#26757) @eps1lon - ​[docs] Move custom theme to frame (#26744) @siriwatknp - ​[docs] Fix small PT typo fix: inciar -> iniciar (#26775) @brunocavalcante - ​[I10n] Add Chinese (Hong Kong) (zh-HK) locale (#26637) @kshuiroy - ​[l10n] Add sinhalese (siLK) locale (#26875) @pavinduLakshan - ​[examples] Rename nextjs typescript theme from tsx to ts (#26862) @Izhaki ### Core - ​[test] Fix Drawer test API @oliviertassinari - ​[test] Adjust expected useAutocomplete error messages for React 18 (#26858) @eps1lon - ​[test] Convert Drawer tests to testing-library (#26837) @eps1lon - ​[test] Convert remaining enzyme tests to testing-library (#26832) @eps1lon - ​[test] Ignore ReactDOM.hydrate deprecation warnings (#26815) @eps1lon - ​[test] Reduce flakiness (#26761) @eps1lon - ​[useId] Reduce likelyhood of collisions (#26758) @eps1lon - ​yarn deduplicate @oliviertassinari - ​Fix running framer's prettier under pwsh (#26819) @michaldudak - ​[core] Update babel-plugin-optimize-clsx (#26861) @oliviertassinari - ​[core] Assume no document.all at runtime (#26821) @eps1lon - ​[core] Remove dependency on `@material-ui/private-theming` (#26793) @mnajdova - ​[core] Remove dependency on `@material-ui/styled-engine` (#26792) @mnajdova All contributors of this release in alphabetical order: @ahmed-28, @brunocavalcante, @DanielBretzigheimer, @dijonkitchen, @dmrqx, @eps1lon, @Izhaki, @kshuiroy, @l10nbot, @michal-perlakowski, @michaldudak, @mnajdova, @oliviertassinari, @pavinduLakshan, @shadab14meb346, @siriwatknp, @tungdt-90, @varandasi ## 5.0.0-alpha.37 _Jun 15, 2021_ A big thanks to the 11 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ’„ Add support for responsive props on the Grid component (#26590) @likitarai1. This fixes a longstanding issue. You can now specify different values for each breakpoint. ```jsx ``` Head to the [documentation](https://mui.com/components/grid/#responsive-values) for more details. - โš’๏ธ We've introduced a new `useTheme` and `useThemeProps` hooks in the `@material-ui/system` package. We believe that this package can be used as a standalone styling solution for building custom design systems (#26649) @mnajdova. - ๐Ÿ’ฅ Made progress with the breaking changes. We have done 105 of the 109 changes [planned](https://github.com/mui-org/material-ui/issues/20012). We are getting closer to our goal of releasing 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui-org/material-ui/milestone/35) for more details. - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements. ### `@material-ui/core@5.0.0-alpha.37` #### Breaking changes - ​[Button] Remove label span (#26666) @siriwatknp The `span` element that wraps children has been removed. `label` classKey is also removed. The nested span was required for fixing a flexbox issue with iOS < 11.0. ```diff ``` #### Changes - ​[Button] Add missing color type (#26593) @sakura90 - ​[Grid] Add responsive direction and spacing props (#26590) @likitarai1 - ​[List] Add ListItemButton export to index (#26667) @chadmuro - ​[theme] Fix missing exported Breakpoints types (#26684) @robphoenix ### `@material-ui/system@5.0.0-alpha.37` #### Breaking changes - ​[system] Remove `theme` & `isRtl` from `useThemeProps` (#26701) @mnajdova The `isRtl` and `theme` props are no longer added by the `useThemeProps` hook. You can use the `useTheme` hook for this. ```diff -import { unstable_useThemeProps as useThemeProps } from '@material-ui/core/styles'; +import { unstable_useThemeProps as useThemeProps, useTheme } from '@material-ui/core/styles'; const Component = (inProps) => { - const { isRtl, theme, ...props } = useThemeProps({ props: inProps, name: 'MuiComponent' }); + const props = useThemeProps({ props: inProps, name: 'MuiComponent' }); + const theme = useTheme(); + const isRtl = theme.direction === 'rtl'; //.. rest of the code } ``` #### Changes - ​[system] Add useThemeProps & useTheme hooks (#26649) @mnajdova - ​[system] Add color manipulators (#26668) @mnajdova - ​[system] Fix support of custom shape in createTheme (#26673) @varandasi ### `@material-ui/unstyled@5.0.0-alpha.37` - ​[Slider] Improve TS definition (#26642) @mnajdova - ​[TrapFocus] Capture nodeToRestore via relatedTarget (#26696) @eps1lon ### `@material-ui/icons@5.0.0-alpha.37` - ​Revert "[icons] Only ship ES modules (#26310)" (#26656) @eps1lon The changes that we have tried in #26310 were breaking the integration with Next.js. ### `@material-ui/lab@5.0.0-alpha.37` - ​[core] Remove unused useKeyDown (#26765) @eps1lon - ​[DateTimePicker] Fix not visible selected tab icon (#26624) @nikitabobers ### Docs - ​[blog] Michaล‚ Dudak joins Material-UI (#26700) @oliviertassinari - ​[docs] Migrate onepirate premium template to emotion part2 (#26707) @vicasas - ​[docs] Fix TextField demo layout (#26710) @vicasas - ​[docs] Improve Paperbase demo (#26711) @oliviertassinari - ​[docs] Migrate onepirate premium template to emotion part1 (#26671) @vicasas - ​[docs] Migrate paperbase premium template to emotion (#26658) @vicasas - ​[List] Fix demo to have correct semantic (#26742) @siriwatknp ### Core - ​[core] Monitore size of key system modules (#26712) @oliviertassinari - ​[core] Batch small changes (#26738) @oliviertassinari - ​[core] Batch small changes (#26628) @oliviertassinari - ​[test] Ignore ReactDOM.render deprecation warning (#26683) @eps1lon - ​[test] Run e2e test with React 18 on a schedule (#26690) @eps1lon - ​[test] Count profiler renders not passive effects (#26678) @eps1lon - ​[test] Bundling fixtures should not override source build with published build (#26657) @eps1lon - ​[test] Make tests oblivious to StrictMode (#26654) @eps1lon All contributors of this release in alphabetical order: @chadmuro, @eps1lon, @likitarai1, @mnajdova, @nikitabobers, @oliviertassinari, @robphoenix, @sakura90, @siriwatknp, @varandasi, @vicasas ## 5.0.0-alpha.36 _Jun 8, 2021_ A big thanks to the 14 contributors who made this release possible. Here are some highlights โœจ: - โš’๏ธ We've introduced a new `ListItemButton` component that should prevent common mistakes when using `` and help with customization and TypeScript support (#26446) @siriwatknp. - ๐Ÿ‘ฉโ€๐ŸŽค `experimentalStyled` is now available without the `experimental` prefix. We're confident that its API shouldn't receive any major changes until the stable release of v5 (#26558) @mnajdova. - ๐Ÿ“ฆ `@material-ui/icons` only ships ES modules and no longer CommonJS modules. This reduces the download size of the package from 1.7 MB to 1.2 MB and install size from 15.6 MB to 6.7 MB (#26310) @eps1lon. - ๐Ÿ’„ Add support for [row and column spacing](https://mui.com/components/grid/#row-amp-column-spacing) in the Grid component (#26559) @likitarai1. grid spacing demo Note that this feature was already available for [CSS grid users](https://mui.com/components/grid/#css-grid-layout) with the `rowGap` and `columnGap` props. ### `@material-ui/core@5.0.0-alpha.36` #### Breaking changes - ​[AppBar] Fix background color on dark mode (#26545) @siriwatknp The `color` prop has no longer any effect in dark mode. The app bar uses the background color required by the elevation to follow the [Material Design guidelines](https://material.io/design/color/dark-theme.html). Use `enableColorOnDark` to restore the behavior of v4. ```jsx ``` - ​[core] Rename `experimentalStyled` to `styled` (#26558) @mnajdova Remove the experimental prefix, this module is going stable: ```diff -import { experimentalStyled as styled } from '@material-ui/core/styles'; +import { styled } from '@material-ui/core/styles'; ``` - ​[SwitchBase] Replace IconButton with ButtonBase (#26460) @siriwatknp - ​[theme] Improve default `primary`, `secondary` and `error` theme palette (#26555) @siriwatknp #### Changes - ​[Box] Fix module 'clsx' not found in system (#26553) @coder-freestyle - ​[Box] Fix runtime error when using styled-components without ThemeProvider (#26548) @mnajdova - ​[Radio][checkbox] Don't forward `color` to DOM elements (#26625) @siriwatknp - ​[Dialog] Flatten DialogTitle DOM structure, remove `disableTypography` (#26323) @eps1lon - ​[Grid] Add rowSpacing and columnSpacing props (#26559) @likitarai1 - ​[List] extract button from ListItem to ListItemButton (#26446) @siriwatknp - ​[Popover] Fix PaperProps.ref breaking positioning (#26560) @vedadeepta - ​[Rating] onChangeActive shouldn't be fired on blur/focus (#26584) @coder-freestyle - ​[Select] Fix custom font size centering arrow (#26570) @sarahannnicholson - ​[styled] Convert implicit styleProps to explicit (#26461) @mnajdova@siriwatknp - ​[Tabs] Fix RTL indicator (#26470) @siriwatknp - ​[Tabs] Fix arrow rotation in vertical & RTL (#26527) @siriwatknp - ​[TextField] Fix support for custom `size` prop value (#26585) @coder-freestyle - ​[Tooltip] Finish exiting once started (#26535) @eps1lon ### `@material-ui/icons@5.0.0-alpha.36` #### Breaking changes - ​[icons] Only ship ES modules (#26310) @eps1lon The `require()` of `@material-ui/icons` is no longer supported. This should not affect you if you're using a bundler like `webpack` or `snowpack` or meta frameworks like `next` or `gatsby`. ### `@material-ui/lab@5.0.0-alpha.36` #### Breaking changes - ​[pickers] Remove `openPickerIcon` prop in favor of `components.OpenPickerIcon` (#26223) @vedadeepta ```diff } ``` ### `@material-ui/system@5.0.0-alpha.36` - ​[system] Add createTheme util (#26490) @mnajdova ### Docs - ​[docs] Migrate templates to emotion (#26604) @vicasas - ​[docs] Remove custom primary & secondary color (#26541) @siriwatknp - ​[docs] Don't escape prop descriptions for markdown table context (#26579) @eps1lon - ​[docs] Prepare for data grid auto-generated docs (#26477) @m4theushw - ​[docs] Fix typo sx !== xs (#26596) @onpaws - ​[docs] Multiple select demos moving when selecting values (#26539) @itsnorbertkalacska - ​[docs] Improve migration guide for `@material-ui/styles` (#26552) @mnajdova - ​[docs] `Rating` `value` is nullable in `onChange` (#26542) @sakura90 - ​[example] Remove the dependency on @material-ui/styles (#26567) @garfunkelvila ### Core - ​[core] Ignore latest prettier run in git-blame @eps1lon - ​[core] Format @eps1lon - ​[test] Add bundle fixtures (#23166) @eps1lon - ​[website] Add Michaล‚ to the About Us page (#26557) @michaldudak All contributors of this release in alphabetical order: @coder-freestyle, @eps1lon, @garfunkelvila, @itsnorbertkalacska, @likitarai1, @m4theushw, @michaldudak, @mnajdova, @onpaws, @sakura90, @sarahannnicholson, @siriwatknp, @vedadeepta, @vicasas ## 5.0.0-alpha.35 _May 31, 2021_ A big thanks to the 14 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ‘ฉโ€๐ŸŽค We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova. - ๐Ÿ“ฆ Save [10 kB gzipped](https://bundlephobia.com/result?p=@material-ui/core@5.0.0-alpha.34) by removing the dependency on `@material-ui/styles` (JSS) from the core and the lab (#26377, #26382, #26376) @mnajdova. - โš’๏ธ Add many new [codemods](https://github.com/mui-org/material-ui/blob/HEAD/packages/mui-codemod/README.md) to automate the migration from v4 to v5 (#24867) @mbrookes. - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements. ### `@material-ui/core@5.0.0-alpha.35` #### Breaking changes - [styles] Remove `makeStyles` from `@material-ui/core` (#26382) @mnajdova The `makeStyles` JSS utility is no longer exported from `@material-ui/core`. You can use `@material-ui/styles` instead. Make sure to add a `ThemeProvider` at the root of your application, as the `defaultTheme` is no longer available. If you are using this utility together with `@material-ui/core`, it's recommended you use the `ThemeProvider` component from `@material-ui/core` instead. ```diff -import { makeStyles } from '@material-ui/core/styles'; +import { makeStyles } from '@material-ui/styles'; +import { createTheme, ThemeProvider } from '@material-ui/core/styles'; +const theme = createTheme(); const useStyles = makeStyles((theme) => ({ background: theme.palette.primary.main, })); function Component() { const classes = useStyles(); return
    } // In the root of your app function App(props) { - return ; + return ; } ``` - [styles] Remove `withStyles` from `@material-ui/core` (#26377) @mnajdova The `withStyles` JSS utility is no longer exported from `@material-ui/core`. You can use `@material-ui/styles` instead. Make sure to add a `ThemeProvider` at the root of your application, as the `defaultTheme` is no longer available. If you are using this utility together with `@material-ui/core`, you should use the `ThemeProvider` component from `@material-ui/core` instead. ```diff -import { withStyles } from '@material-ui/core/styles'; +import { withStyles } from '@material-ui/styles'; +import { createTheme, ThemeProvider } from '@material-ui/core/styles'; +const defaultTheme = createTheme(); const MyComponent = withStyles((props) => { const { classes, className, ...other } = props; return
    })(({ theme }) => ({ root: { background: theme.palette.primary.main }})); function App() { - return ; + return ; } ``` - [styles] Merge options in `experimentalStyled` (#26396) @mnajdova The options inside the `experimentalStyled` module are now merged under one object. In the coming weeks, we will rename ths module: `styled()` to signal that it's no longer experimental. ```diff -experimentalStyled(Button, { shouldForwardProp: (prop) => prop !== 'something' }, { skipSx: true })(...); +experimentalStyled(Button, { shouldForwardProp: (prop) => prop !== 'something', skipSx: true })(...); ``` - [Tabs] Update `min` & `max` width and remove `minWidth` media query (#26458) @siriwatknp Update the implementation to better match Material Design: - Tab `minWidth` changed from `72px` => `90px` (without media-query) according to [material-design spec](https://material.io/components/tabs#specs) - Tab `maxWidth` changed from `264px` => `360px` according to [material-design spec](https://material.io/components/tabs#specs) #### Changes - [ButtonBase] Fix role="button" attribute (#26271) @Gautam-Arora24 - [Dialog] Fix support for custom breakpoints (#26331) @jeferson-sb - [Select] Open popup below button (#26200) @oliviertassinari - [TextField] Add variants support, e.g. custom sizes (#26468) @siriwatknp - [Tooltip] Improve handling of small vs. touch screens (#26097) @oliviertassinari ### `@material-ui/codemod@5.0.0-alpha.35` - [codemod] Add multiple codemods to migrate components from v4 to v5 (#24867) @mbrookes - [codemod] Correct path and add target placeholder (#26414) @mbrookes ### `@material-ui/icons@5.0.0-alpha.35` - [icons] Use array children instead of React fragments (#26309) @eps1lon Reduce a bit the size of the package. ### `@material-ui/system@5.0.0-alpha.35` We are progressively moving all modules that are relevant to styling custom design systems in this package. It's meant to be complementary with `@material-ui/unstyled`. - [system] Add Box to system (#26379) @mnajdova - [system] Add createStyled utility (#26485) @mnajdova ### `@material-ui/styled-engine-sc@5.0.0-alpha.35` - [styled-engine] Fix styled() util to respect `options` (#26339) @pasDamola ### `@material-ui/lab@5.0.0-alpha.35` #### Breaking changes - [pickers] Remove allowKeyboardControl (#26451) @eps1lon - [ClockPicker] Rework keyboard implementation (#26400) @eps1lon Remove the `allowKeyboardControl` prop from ClockPicker (and TimePicker and variants). Keyboard navigation now works by default. #### Changes - [Button] Migrate LoadingButton to emotion (#26370) @siriwatknp - [ClockPicker] Selected option is the active descendant (#26411) @eps1lon - [DatePicker] Migrate CalendarPicker to emotion (#26390) @siriwatknp - [DatePicker] Migrate CalendarPickerSkeleton to emotion (#26335) @siriwatknp - [DateRangePicker] Migrate DateRangePickerDay to emotion (#26368) @siriwatknp - [DateRangePicker] Migrate internal components to emotion (#26326) @siriwatknp - [pickers] Migrate PickersCalendarHeader to emotion (#26354) @siriwatknp - [pickers] Migrate PickersModalDialog to emotion (#26355) @siriwatknp - [pickers] Migrate PickersPopper to emotion (#26391) @siriwatknp - [pickers] Migrate PickersTransition to emotion (#26353) @siriwatknp - [TimePicker] Migrate ClockPicker to emotion (#26389) @siriwatknp - [TreeView] Correctly select items in deeply nested trees (#26413) @Dru89 ### Docs - [docs] Add page for `experimentalStyled()` (#26361) @mnajdova - [docs] Add TypeScript convention (#26259) @siriwatknp - [docs] Add warning about git-blame-ignore-revs (#26487) @eps1lon - [docs] Clarify migration from Hidden (#26348) @m4theushw - [docs] Fix grammar for style library page (#26325) @mbrookes - [docs] Persist copied state indefinitely or until the user moves their cursor (#26336) @eps1lon - [docs] Typo in MultipleSelect (#26466) @wolfykey - [docs] Update system installation for v5 (#26481) @mnajdova - [template] Demo how to retreive form value (#26393) @akshitsuri ### Core - [core] Batch small changes (#26434) @oliviertassinari - [core] Fix peer dependencies declaration with yarn v2 (#26433) @oliviertassinari - [core] Remove `@material-ui/styles` dependencies from declaration files too (#26376) @mnajdova - [core] Revert Leverage CircleCI workspaces for jobs after checkout (#26444) @eps1lon - [test] Don't hoist constant elements (#26448) @eps1lon - [test] Fix prop-type warning (#26432) @oliviertassinari - [test] Flush scheduled effects before user event returns (#26447) @eps1lon - [test] Move ClockPicker tests to ClockPicker.test (#26407) @eps1lon - [test] setProps from createPickerRender should set props on the rendered element (#26405) @eps1lon - [utils] Convert useId to TypeScript (#26491) @eps1lon - [website] Add Material-UI X page (#25794) @DanailH - [website] Add open application section (#26501) @oliviertassinari - [website] Add Siriwat to team page (#26406) @siriwatknp All contributors of this release in alphabetical order: @akshitsuri, @DanailH, @Dru89, @eps1lon, @Gautam-Arora24, @jeferson-sb, @m4theushw, @mbrookes, @mnajdova, @oliviertassinari, @pasDamola, @siriwatknp, @wolfykey ## 5.0.0-alpha.34 _May 18, 2021_ A big thanks to the 16 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ’ฅ Make progress with the breaking changes. We have done 89 of the 109 changes [planned](https://github.com/mui-org/material-ui/issues/20012). We will release 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui-org/material-ui/milestone/35) for more details. - ๐Ÿš€ Make progress with components migration to emotion. We have done 153 of the 168 components (almost there!) - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements. ### `@material-ui/core@5.0.0-alpha.34` #### Breaking change - ​[Select][nativeselect] Polish CSS classes (#26186) @m4theushw **Select, NativeSelect** Merge the `selectMenu` slot into `select`. Slot `selectMenu` was redundant. The `root` slot is no longer applied to the select, but to the root. ```diff - + ``` **TablePagination** Move the custom class on `input` to `select`. The `input` key is being applied on another element. ```diff ``` - ​[core] Move `StyledEngineProvider` to `@material-ui/core/styles` (#26265) @mnajdova Change location of `StyledEngineProvider` import. ```diff -import StyledEngineProvider from '@material-ui/core/StyledEngineProvider'; +import { StyledEngineProvider } from '@material-ui/core/styles'; ``` - ​[Autocomplete] Apply .Mui-focused instead of data-focus on the focused option (#26181) @m4theushw The `data-focus` attribute is not set on the focused option anymore, instead, global class names are used. ```diff -'.MuiAutocomplete-option[data-focus="true"]': { +'.MuiAutocomplete-option.Mui-focused': { ``` - ​[Radio] Make color primary default (#26180) @vicasas - ​[Switch] Make color primary default (#26182) @vicasas - ​[pickers] Drop ResponsiveWrapper usage (#26123) @eps1lon When a responsive picker changes from mobile to desktop, it will now clear its entire state. To keep the original behavior you can implement a controlled picker: ```js function ResponsiveDateTimePicker(props) { const [open, setOpen] = React.useState(false); return ( setOpen(false)} onOpen={() => setOpen(true)} {...props} /> ); } ``` - ​[Autocomplete] Rename getOptionSelected to isOptionEqualToValue (#26173) @m4theushw ```diff option.title === value.title} + isOptionEqualToValue={(option, value) => option.title === value.title} /> ``` > Follow [this link](https://mui.com/guides/migration-v4/#main-content) for full migration from v4 => v5 #### Changes - ​[TextField] Fix hiddenLabel type of FilledInput (#26290) @siriwatknp - ​[TextField] Fix classes forward to InputBase (#26231) @arpitBhalla - ​[Autocomplete] Fix missing 'createOption' in AutocompleteCloseReason type (#26197) @Gautam-Arora24 - ​[Autocomplete] Reduce CSS specificity by 1 (#26238) @Gautam-Arora24 - ​[ButtonBase] Omit aria-disabled if not disabled (#26189) @Gautam-Arora24 - ​[colors] Fix A inconsistencies (#26196) @oliviertassinari - ​[examples] Fix dynamic global styles & global styles leak in the ssr examples (#26177) @mnajdova - ​[Slider] Fix support for non primary colors (#26285) @davidfdriscoll - ​[Slider] Center value label for disabled slider (#26257) @davidfdriscoll - ​[styled-engine] Fix styled-components not supporting empty style (#26098) @ruppysuppy - ​[styles] Fix overrides type issues (#26228) @mnajdova - ​[Container] Fix support for custom breakpoints (#26328) @alanszp ### `@material-ui/lab@5.0.0-alpha.34` - ​[pickers] Migrate TimePickerToolbar to emotion (#26274) @siriwatknp - ​[pickers] Migrate DatePickerToolbar to emotion (#26292) @siriwatknp - ​[DateTimePicker] Migrate DateTimePickerTabs and Toolbar to emotion (#26327) @siriwatknp - ​[DatePicker] Migrate PickersYear to emotion (#25949) @siriwatknp - ​[DateRangePicker] Migrate PickersToolbarText to emotion (#25983) @siriwatknp - ​[pickers] Migrate StaticWrapper to emotion (#26275) @siriwatknp - ​[pickers] Migrate Clock to emotion (#26278) @siriwatknp - ​[pickers] Migrate PickersToolbar to emotion (#26273) @siriwatknp - ​[pickers] Migrate ClockNumber to emotion (#26058) @siriwatknp - ​[pickers] Migrate ClockPointer to emotion (#26057) @siriwatknp - ​[pickers] Migrate PickersMonth to emotion (#26021) @siriwatknp - ​[pickers] Migrate MonthPicker to emotion (#26025) @siriwatknp - ​[pickers] Migrate PickersDay to emotion (#25995) @siriwatknp - ​[pickers] Migrate PickersToolbarButton to emotion (#25989) @siriwatknp ### `@material-ui/icons@5.0.0-alpha.34` - ​[icons] Remove extraneous React.Fragment (#26308) @eps1lon - ​[icons] Synchronize icons (#26302) @eps1lon New DriveFileMove icon and its variants ### Docs - ​[NProgressBar] Fix invalid ARIA and HTML (#26234) @eps1lon - ​[docs] Simplify demos slider (#26324) @oliviertassinari - ​[docs] Use transpiled icons directly (#26268) @eps1lon - ​[docs] Remove dependency on withStyles from @material-ui/core/styles (#26269) @mnajdova - ​[docs] Add Jalali date picker demo (#26243) @smmoosavi - ​[docs] Remove last dependencies on `makeStyles` from `@material-ui/core/styles` (#26246) @mnajdova - ​[docs] Polish the pickers demo (#26094) @oliviertassinari - ​[docs] Fix broken overrides link on API pages (#26244) @mnajdova - ​[docs] Improve documentation for Buttons (#26184) @arpitBhalla - ​[docs] Emphasize on props for screen readers (#26222) @atisheyJain03 - ​[docs] Link third-party routing in Bottom Navigation (#26190) @arpitBhalla - ​[docs] Migrate Select, Progress demos to emotion (#26178) @mnajdova - ​[docs] Add accessibility section to Badges (#26009) @likitarai1 - ​[docs] Migrate Popper, Drawer demos to emotion (#26183) @mnajdova - ​[docs] Use public next/router events API (#26233) @eps1lon - ​[docs] Remove remnants Hidden component (#26191) @vicasas - ​[docs] Ensure TreeView demos don't overflow demo container (#26161) @eps1lon - ​[docs] Fix a typo in the import statement of LocalizationProvider (#26226) @huyenltnguyen - ​[docs] Improve react-admin coverage in the showcase (#26169) @fzaninotto - ​[docs] Fix Workbox that are causing infinite loading of site (#26193) @arpitBhalla ### Core - ​[core] Skip sx prop in internal components (#26235) @mnajdova - ​[core] Remove `withStyles` dependencies from `@material-ui/core/styles` (#26277) @mnajdova - ​[core] Include human readable target in the BrowserStack build (#26322) @eps1lon - ​[core] Fix NotchedOutlineProps type (#26305) @gnowland - ​[core] Add file for git-blame --ignore-revs-file (#26295) @eps1lon - ​[core] Ensure component class keys aren't missing (#25754) @eps1lon - ​[core] Drop support for blocking mode (#26262) @eps1lon - ​[core] Don't download monorepo packages (#26261) @eps1lon - ​[core] Batch small changes (#26199) @oliviertassinari - ​[core] Extract classes descriptions from TypeScript (#25933) @eps1lon - ​[styled-engine] Fix test script (#26258) @ruppysuppy All contributors of this release in alphabetical order: @arpitBhalla, @atisheyJain03, @davidfdriscoll, @eps1lon, @fzaninotto, @Gautam-Arora24, @gnowland, @huyenltnguyen, @likitarai1, @m4theushw, @mnajdova, @oliviertassinari, @ruppysuppy, @siriwatknp, @smmoosavi, @vicas ## 5.0.0-alpha.33 _May 9, 2021_ A big thanks to the 17 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ’ฅ Make progress with the breaking changes. We have done 81 of the 109 changes [planned](https://github.com/mui-org/material-ui/issues/20012). We will release 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui-org/material-ui/milestone/35) for more details. - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements. ### `@material-ui/core@5.0.0-alpha.33` #### Breaking changes - ​[core] Remove deprecated innerRef prop (#26028) @m4theushw **withStyles** Replace the `innerRef` prop with the `ref` prop. Refs are now automatically forwarded to the inner component. ```diff import * as React from 'react'; import { withStyles } from '@material-ui/core/styles'; const MyComponent = withStyles({ root: { backgroundColor: 'red', }, })(({ classes }) =>
    ); function MyOtherComponent(props) { const ref = React.useRef(); - return ; + return ; } ``` **withTheme** Replace the `innerRef` prop with the `ref` prop. Refs are now automatically forwarded to the inner component. ```diff import * as React from 'react'; import { withTheme } from '@material-ui/core/styles'; const MyComponent = withTheme(({ theme }) =>
    {props.theme.direction}
    ); function MyOtherComponent(props) { const ref = React.useRef(); - return ; + return ; } ``` - ​[theme] Rename `createMuiTheme` to `createTheme` (#25992) @m4theushw Developers only need one theme in their application. A prefix would suggest a second theme is needed. It's not the case. `createMuiTheme` will be removed in v6. ```diff -import { createMuiTheme } from '@material-ui/core/styles'; +import { createTheme } from '@material-ui/core/styles'; -const theme = createMuiTheme({ +const theme = createTheme({ ``` - ​[theme] Remove MuiThemeProvider alias (#26171) @m4theushw The `MuiThemeProvider` is no longer exported. Use `ThemeProvider` instead. It was removed from the documentation during v4-beta, 2 years ago. ```diff -import { MuiThemeProvider } from '@material-ui/core/styles'; +import { ThemeProvider } from '@material-ui/core/styles'; ``` - ​[Box] Remove the `clone` prop (#26031) @m4theushw Its behavior can be obtained using the `sx` prop. ```diff - - - + ``` - ​[Box] Remove render prop (#26113) @m4theushw Its behavior can be obtained using the `sx` prop directly on the child if it's a Material-UI component. For non-Material-UI components use the `sx` prop in conjunction with the `component` prop: ```diff - - {(props) => } - + ``` ```diff - - {(props) => } - +Save ``` - ​[Checkbox] Make color="primary" default (#26002) @vicasas This better matches the Material Design guidelines. ```diff - + + - +