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 new display?: '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.