Feb 27, 2021
Big thanks to the 26 contributors who made this release possible. Here are some highlights ✨:
- 👩🎤 Convert 11 components to emotion (#24696, #24631, #24857, #25048, #24693, #24663, #25007, #24688, #24665, #24878, #24571) @praveenkuma @natac13 @xs9627 @povilass @m4theushw @natac13 @natac13 @DanailH @duganbrett @duganbrett @praveenkumar-kalidass @vinyldarkscratch.
75% of the components have been migrated so far, thanks to the help of the community. - 🦴 Convert 4 components to the unstyled pattern (#24985, #24857, #24890, #24957) @povilass.
This change doesn't introduce any breaking changes. Hence, most of the conversion effort will be done post v5-stable. - 📚 Fix the generation of the API pages for the date pickers (#25101, #25100, #25086, #25089, #25085, #25084) @eps1lon.
This is a follow-up effort after we have mergedmaterial-ui-pickers
. The components are written in TypeScript which required us to upgrade our infra. - 👌 Improve the Slider thumb and track animation (#24968) @remyoudemans.
The thumb is now moving with a light transition between different values unless it's dragged.
- 💅 Convert 5 components with custom colors support (#25099, #25088) @mngu.
This change makes it easier to leverage custom palettes - And many more 🐛 bug fixes and 📚 improvements.
@material-ui/core@5.0.0-alpha.26
Breaking changes
-
[Tabs] Change the default indicatorColor and textColor prop values to "primary" (#25063) @Dripcoding
This is done to match the most common use cases with Material Design. You can restore the previous behavior with:
-<Tabs /> +<Tabs indicatorColor="primary" textColor="inherit" />
Changes
- [AppBar][CircularProgress][LinearProgress] Support custom colors (#25099) @mngu
- [Autocomplete] Prevent closing on no-option text click (#25103) @silver-snoopy
- [Autocomplete] Fix ListboxComponent slot regression (#25102) @oliviertassinari
- [Autocomplete] Fix the return type of AutocompleteGetTagProps (#24950) @joemaffei
- [Autocomplete] Migrate to emotion (#24696) @natac13
- [Button] Fix ripple stuck after displaying the context menu (#25004) @DanailH
- [Button] Fix forward classes to ButtonBase (#25072) @praveenkumar-kalidass
- [Chip] Normalize Material Design States (#24915) @oliviertassinari
- [Chip] Fix focus-visible regression (#24906) @oliviertassinari
- [CircularProgress] Make source easier to read (#24893) @oliviertassinari
- [Menu] Migrate MenuItem to emotion (#24631) @xs9627
- [Paper] Fix type support of overridable component (#25059) @mngu
- [Skeleton] Fix global theme customization (#24983) @glocore
- [Slider] Improve thumb and track animation (#24968) @remyoudemans
- [Slider] Fix override of event.target when preparing change events (#24782) @praveenkumar-kalidass
- [Snackbar] Migrate SnackbarContent to emotion (#25048) @m4theushw
- [SwipeableDrawer] Fix detection of native scroll container (#24903) @oliviertassinari
- [Switch] Migrate to emotion (#24693) @natac13
- [Switch] Update to follow current MD guidelines (#24954) @hxqlin
- [Table] Migrate TableCell to emotion (#24663) @natac13
- [TextField] Support custom color and size (#25088) @mngu
- [TextField] Fix input adornment color (#25090) @manziEric
- [TextField] Fix FilledInput AA contrast issue (#25046) @Dripcoding
- [TextField] Migrate FormControlLabel to emotion (#25007) @DanailH
- [TextField] Fix label wrap, display an ellipsis instead (#25012) @NekoApocalypse
- [TextField] Migrate OutlinedInput to emotion (#24688) @duganbrett
- [TextField] Fix focused={true} disabled={true} infinite render (#24961) @oliviertassinari
- [TextField] Migrate FormLabel and InputLabel to emotion (#24665) @duganbrett
- [theme] Update theme.palette.text.secondary to match the spec (#25060) @Dripcoding
- [ToggleButton] Migrate ToggleButtonGroup to emotion (#24878) @praveenkumar-kalidass
- [Tooltip] Migrate to emotion (#24571) @vinyldarkscratch
@material-ui/unstyled@5.0.0-alpha.26
- [Portal] Migrate to unstyled (#24890) @povilass
- [TrapFocus] Migrate to unstyled (#24957) @povilass
- [Backdrop] Migrate to unstyled (#24985) @povilass
- [Modal] Migrate to emotion + unstyled (#24857) @povilass
@material-ui/lab@5.0.0-alpha.26
- [Pickers] Fix scroll-jump when opening with a selected value (#25010) @eps1lon
- [Pickers] Rework keyboard navigation implementation (#24315) @eps1lon
- [Pickers] Fix picker components not opening on click in React 17 (#24981) @eps1lon
- [Pickers] Fix outdated link to PickersDay (#24883) @oliviertassinari
@material-ui/icons@5.0.0-alpha.26
-
[icons] Synchronize icons (#25055) @eps1lon
The icons were synchronized with https://material.io/resources/icons/. This change increases the number of supported icons from 1,349 to 1,781 per theme (we support 5 themes). The breaking changes:
// AmpStories -> Download -AmpStories +Download -AmpStoriesOutlined +DownloadOutlined -AmpStoriesRounded +DownloadRounded -AmpStoriesSharp +DownloadSharp -AmpStoriesTwoTone +DownloadTwoTone // Outbond -> Outbound -Outbond +Outbound -OutbondOutlined +OutboundOutlined -OutbondRounded +OutboundRounded -OutbondSharp +OutboundSharp -OutbondTwoTone +OutboundTwoTone
We are getting closer to the maximum number of icons our infrastructure can support. In the future, we might remove the least popular icons in favor of the most frequently used ones.
@material-ui/system@5.0.0-alpha.26
- [system] Fix gap, rowGap, columnGap, borderRadius reponsive support (#24994) @oliviertassinari
@material-ui/utils@5.0.0-alpha.26
- [utils] Fix isMuiElement types (#24936) @oliviertassinari
Docs
- [docs] Add DateRangePickerDay, PickersDay, PickersCalendarSkeleton, MontherPicker API (#25101) @eps1lon
- [docs] Add DayPicker API (#25100) @eps1lon
- [docs] Improve description of builderbook (#25086) @klyburke
- [docs] Add API of ClockPicker (#25089) @eps1lon
- [docs] Add API of *DateRangePicker components (#25085) @eps1lon
- [docs] Add API of *DateTimePicker components (#25084) @eps1lon
- [docs] Add graphql-starter to Example Projects (#25068) @koistya
- [docs] Migrate Alert demos to emotion (#25074) @m4theushw
- [docs] Add codesandbox example for styled-components (#25050) @jony89
- [docs] Wrong link @oliviertassinari
- [docs] Improve error message when GitHub API fail (#24976) @oliviertassinari
- [docs] Separate simple and nested modal demos (#24938) @ydubinskyi
- [docs] Remove under construction icons from DataGrid feature pages (#24946) @DanailH
- [docs] Fix prefers-color-scheme switch (#24902) @oliviertassinari
- [docs] Add yarn install step, safer @oliviertassinari
- [examples] Fix code sandbox link GitHub branch (#24996) @kevbarns
Core
- [core] Prevent out-of-memory in test_types_next (#25079) @eps1lon
- [core] Pin playwright image to known working version (#25080) @eps1lon
- [core] Remove need to reinject backdrop (#25071) @oliviertassinari
- [core] Batch small changes (#25015) @oliviertassinari
- [core] More cleanup on Pickers code (#25020) @dborstelmann
- [core] Allow running full pipeline with various React versions (#25005) @eps1lon
- [core] Fix missing codecov report (#25006) @eps1lon
- [core] Fix release:tag pushing to first push remote (#24960) @eps1lon
- [core] Fix cache miss when using playwright docker images (#24942) @eps1lon
- [core] Prevent out-of-memory when type-checking in CI (#24933) @eps1lon
- [core] Disable page size tracking (#24932) @eps1lon
- [core] Extract linting into separate CI job (#24930) @eps1lon
- [core] Only clone props if needed (#24892) @oliviertassinari
- [core] listChangedFiles returns an empty list with no changed files (#24879) @eps1lon
- [core] Remove dead code in docs:dev (#24880) @oliviertassinari
- [core] Fix a few stylelint error (#24885) @oliviertassinari
- [core] Fix name of Safari target (#24881) @oliviertassinari
- [core] Prefer return over throw in chainPropTypes (#24882) @oliviertassinari
- [core] Support /r/issue-template back (#24870) @oliviertassinari
- [core] Simplify xxxClasses types (#24736) @oliviertassinari
- [test] Improve BrowserStack configuration (#25049) @oliviertassinari
- [test] Track bundle size of unstyled components (#25047) @oliviertassinari
- [test] Make `render` required with describeConformanceV5 (#25003) @oliviertassinari
- [test] Move a11y tree exclusion to appropriate document (#24998) @eps1lon
- [test] Test with ClickAwayListener mount on onClickCapture (#25001) @eps1lon
- [test] Improve various timer related issues (#24963) @eps1lon
- [test] Avoid Rate Limit Exceeded (#24931) @oliviertassinari
- [test] Remove internal icons smoke test (#24969) @eps1lon
- [test] Reduce compile time of test:karma in watchmode drastically (#24967) @eps1lon
- [test] Dedupe missing act warnings for HoC (#24949) @eps1lon
- [test] Consolidate on a single API (#24884) @oliviertassinari
- [test] Update react next patch (#24934) @eps1lon
- [test] Link CircleCI URL in BS (#24935) @oliviertassinari
- [test] Run more tests at the same time (#24886) @oliviertassinari
- [test] Dedupe missing act warnings by component name (#24871) @eps1lon
- [test] Enable type-unaware versions of disabled typed-aware lint rules (#24873) @eps1lon
- [test] Initial workspace definition (#24869) @eps1lon
- [test] Add current behavior of focus during mount in Popper (#24863) @eps1lon
- [test] Increase BrowserStack timeout to 6min (#24861) @oliviertassinari
All contributors of this release in alphabetical order: @DanailH, @dborstelmann, @Dripcoding, @duganbrett, @eps1lon, @glocore, @hxqlin, @joemaffei, @jony89, @kevbarns, @klyburke, @koistya, @m4theushw, @manziEric, @mngu, @natac13, @NekoApocalypse, @oliviertassinari, @povilass, @praveenkumar-kalidass, @remyoudemans, @silver-snoopy, @vinyldarkscratch, @xs9627, @ydubinskyi