v5.0.0-alpha.36
Pre-releaseJun 8, 2021
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<ListItem button />
and help with customization and TypeScript support (#26446) @siriwatknp. -
👩🎤
experimentalStyled
is now available without theexperimental
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 in the Grid component (#26559) @likitarai1.
Note that this feature was already available for CSS grid users with the
rowGap
andcolumnGap
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. UseenableColorOnDark
to restore the behavior of v4.<AppBar enableColorOnDark />
-
[core] Rename `experimentalStyled` to `styled` (#26558) @mnajdova
Remove the experimental prefix, this module is going stable:
-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 likewebpack
orsnowpack
or meta frameworks likenext
orgatsby
.
@material-ui/lab@5.0.0-alpha.36
Breaking changes
-
[pickers] Remove `openPickerIcon` prop in favor of `components.OpenPickerIcon` (#26223) @vedadeepta
<DateTimePicker components={{ LeftArrowIcon: AlarmIcon, RightArrowIcon: SnoozeIcon, + OpenPickerIcon: ClockIcon, }} - openPickerIcon={<ClockIcon />}
@material-ui/system@5.0.0-alpha.36
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