Mar 24, 2021
Big thanks to the 34 contributors who made this release possible. Here are some highlights ✨:
-
👩🎤 Convert 9 components to emotion (#25267, #25216, #25264, #25197, #25372, #25281, #25210, #25279, #2528) @natac13 @tomasznguyen @kayuapi.
85% of the components have been migrated so far, thanks to the help of the community. We keep track of the progress in #24405. -
Add a new Stack component (#25149) @souporserious
The component allows to workaround the lack of support for the CSS flexboxgap
property across browsers.See the documentation for more details.
-
📚 Migrate 18 component demo pages to the
sx
,Stack
, andstyled
API @vicasas.
57% of the documentation pages have been migrated. This was also an importunity to breakdown the existing large demos into smaller and more focused ones. We keep track of the progress in #16947. -
And many more 🐛 bug fixes and 📚 improvements.
@material-ui/core@5.0.0-alpha.28
Breaking changes
- [core] Drop support for React 16 (#25464) @eps1lon
- [core] Drop support for node 10 (#25306) @eps1lon
Changes
- [Autocomplete] Warn when the input didn't resolve in time (#25311) @LaneRamp
- [Autocomplete] Fix styleOverrides support (#25276) @manziEric
- [ButtonBase] Allow to customize the link component via theme (#25331) @vedadeepta
- [ButtonBase] Fix default type attribute (submit -> button) (#25323) @RTEYL
- [ButtonGroup] Support custom colors (#25413) @oliviertassinari
- [CircularProgress] Fix animation when disableShrink={true} (#25247) @duongdev
- [Dialog] Fix typo (#25287) @aheimlich
- [Dialog] Migrate DialogContentText to emotion (#25267) @tomasznguyen
- [Dialog] Migrate Dialog to emotion (#25216) @natac13
- [Drawer] Fix RTL support (#25453) @silver-snoopy
- [Menu] Migrate to emotion (#25264) @tomasz-crozzroads
- [Paper] Fix component prop type error (#25426) @heleg
- [Popover] Migrate to emotion (#25197) @tomasznguyen
- [Radio] Fix html structure (#25398) @oliviertassinari
- [Select] Fix focus background when variant="outlined" (#25393) @christiaan
- [Slider] Add `tabIndex` prop (#25388) @johnloven
- [Snackbar] Fix prop type error for 'key' prop (#25431) @jansedlon
- [SpeedDial] Reset tooltip state when the speed dial is closed (#25259) @m4theushw
- [Stack] Add new component (#25149) @souporserious
- [Stepper] Migrate StepLabel to emotion (#25372) @praveenkumar-kalidass
- [Stepper] Migrate StepIcon to emotion (#25281) @praveenkumar-kalidass
- [Stepper] Migrate StepContent to emotion (#25210) @praveenkumar-kalidass
- [SwipeableDrawer] Fix hideBackDrop support (#25275) @manziEric
- [Table] Fix duplicated keys in TablePagination rows per page (#25309) @martinfrancois
- [Table] Consistency with DataTable (#25414) @oliviertassinari
- [TextField] Size small for multiline (#25423) @julihereu
- [TextField] Migrate InputAdornment to emotion (#25279) @kayuapi
- [TextField] Migrate to emotion (#25286) @tomasznguyen
- [ToggleButton] Add color prop (#25390) @AlfredoGJ
- [Tooltip] Make `disableFocusListener` prop comment clearer (#25455) @jansedlon
- [Tooltip] Fix placement regression (#25255) @oliviertassinari
- [Transition] Add easing prop to override default timing function (#25245) @jeferson-sb
@material-ui/lab@5.0.0-alpha.28
- [Pickers] Follow "private by default" in makeDateRangePicker (#25424) @eps1lon
- [Pickers] Simplify internals of *Wrapper components (#25369) @eps1lon
- [Pickers] Remove `make*` HOCs (#25172) @eps1lon
- [Pickers] Remove propTypes in production for exotic components (#25261) @eps1lon
- [Pickers] Unify ref behavior (#25425) @eps1lon
- [Pickers] Sort properties (#25473) @eps1lon
@material-ui/utils@5.0.0-alpha.28
- [utils] Fix useForkRef typings rejecting nullish (#25468) @eps1lon
- [utils] Allow functional updates in TypeScript declaration of useControlled (#25378) @mikhailtse
- [utils] Add a new integer propType (#25224) @fayzzzm
Docs
- [docs] Fix typo in migration-v4.md (#25384) @Tollwood
- [docs] Use defaultCodeOpen where appropriate (#25418) @eps1lon
- [docs] Support RTL with styled components (#25457) @silver-snoopy
- [docs] Improve the docs of the Grid component (#25429) @oliviertassinari
- [docs] Migrate Switch demos to emotion (#25366) @vicasas
- [docs] Use Stack in demos (#25419) @vicasas
- [docs] Migrate Checkbox demos to emotion (#25394) @vicasas
- [docs] Migrate Radio demos to emotion (#25396) @vicasas
- [docs] Update icon link to fonts.google.com (#25410) @BGehrels
- [docs] Migrate Avatar demos to emotion (#25375) @vicasas
- [docs] Fix multiline textfields docs to use minRows/maxRows (#25383) @saleebm
- [docs] Consolidate environment variables into next.config (#25386) @eps1lon
- [docs] Use `env` next config over DefinePlugin (#25373) @eps1lon
- [docs] Migrate SpeedDial to emotion (#25367) @vicasas
- [docs] Refine the used prop-type to discriminate number from integer (#25334) @fayzzzm
- [docs] Migrate AppBar demos to emotion (#25335) @m4theushw
- [docs] Migrate Grid demos to emotion (#25332) @vicasas
- [docs] Migrate Toggle Button demos to emotion (#25333) @vicasas
- [docs] Migrate Links demos to emotion (#25303) @vicasas
- [docs] Migrate Breadcrumbs demos to emotion (#25302) @vicasas
- [docs] Migrate Image List demos to emotion (#25301) @vicasas
- [docs] Bring clarity about the IE 11 support policy: it's partial (#25262) @oliviertassinari
- [docs] Add the new demo page for the data grid (#25284) @DanailH
- [docs] Migrate List demos to emotion (#25266) @vicasas
- [docs] Migrate Chip demos to emotion (#25268) @vicasas
- [docs] Add missing props to *DatePicker API (#25254) @eps1lon
- [docs] Improve accessibility of the basic menu demo (#25207) @ee0pdt
- [docs] Migrate Fab demos to emotion (#25251) @vicasas
- [docs] Migrate Rating demos to emotion (#25252) @vicasas
- [docs] Migrate Transfer List demos to emotion (#25253) @vicasas
- [docs] Remove dead generatePropTypeDescription method (#25188) @fayzzzm
- [docs] Migrate Skeleton demos to emotion (#25212) @vicasas
- [docs] Migrate Paper demos to emotion (#25213) @vicasas
- [docs] Migrate Container demos to emotion (#25220) @vicasas
- [docs] Add GlobalStyles API (#25191) @eps1lon
Core
- [benchmark] Set intended environment (#25402) @eps1lon
- [core] Remove .propTypes when the props are empty (#25193) @eps1lon
- [core] Fix allSettled usage (#25461) @eps1lon
- [core] Switch to React 17 (#25416) @eps1lon
- [core] Bump missed node versions (#25385) @eps1lon
- [core] Batch small changes (#25330) @oliviertassinari
- [core] Use Promise.allSettled over .all where appropriate (#25315) @eps1lon
- [test] Use fixture terminology in e2e and visual regression tests (#25466) @eps1lon
- [test] Create end-to-end testing CI job (#25405) @eps1lon
- [test] Transpile more similar to prod bundle (#25406) @eps1lon
- [test] Minor improvements to `describeConformance` (#25297) @eps1lon
- [test] Fix warnings in the demos (#25140) @oliviertassinari
- [test] Convert createClientRender to TypeScript (#25249) @eps1lon
- [test] Increase ttp setup timeout (#25248) @eps1lon
- [test] Improve typescript-to-proptypes test suite (#25209) @eps1lon
All contributors of this release in alphabetical order: @aheimlich, @AlfredoGJ, @BGehrels, @christiaan, @DanailH, @duongdev, @ee0pdt, @eps1lon, @fayzzzm, @heleg, @jansedlon, @jeferson-sb, @johnloven, @julihereu, @kayuapi, @LaneRamp, @m4theushw, @manziEric, @martinfrancois, @mikhailtse, @natac13, @oliviertassinari, @praveenkumar-kalidass, @RTEYL, @saleebm, @silver-snoopy, @souporserious, @Tollwood, @tomasz-crozzroads, @tomasznguyen, @vedadeepta, @vicasas