material-ui v4.0.0-alpha.1 Release Notes
-
๐ฅ Breaking Changes
๐ [Typography] Remove deprecated Typography variants (#14562) @joshwooding
- Remove the deprecated typography variants. You can upgrade by performing the following replacements:
- display4 => h1
- display3 => h2
- display2 => h3
- display1 => h4
- headline => h5
- title => h6
- subheading => subtitle1
- body2 => body1
- body1 (default) => body2 (default)
- Remove the opinionated
display: block
default typograpghy style. You can use the newdisplay?: 'initial' | 'inline' | 'block';
property. - Rename the
headlineMapping
property to better align with its purpose.
-<MuiTypography headlineMapping={headlineMapping}> +<MuiTypography variantMapping={variantMapping}>
- ๐ [InputLabel] Remove FormLabelClasses in favor of asterisk class (#14504) @umairfarooq44
๐ You should be able to override all the styles of the FormLabel component using the css API of the InputLabel component. We do no longer need the
FormLabelClasses
property.<InputLabel - FormLabelClasses={{ asterisk: 'bar' }} + classes={{ asterisk: 'bar' }} > Foo </InputLabel>
- โ [TablePagination] Only raise a warning when the page is out of range (#14534) @leMaik
โ The
TablePagination
component does no longer try to fix invalid (page
,count
,rowsPerPage
) property combinations. It raises a warning instead.