Skip to content

v5.0.0-alpha.36

Pre-release
Pre-release
Compare
Choose a tag to compare
@eps1lon eps1lon released this 08 Jun 06:48
· 7624 commits to next since this release
cf2f6fa

Jun 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 the experimental 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.
    grid spacing demo

    Note that this feature was already available for CSS grid users with the rowGap and columnGap 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. Use enableColorOnDark 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

@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 like webpack or snowpack or meta frameworks like next or gatsby.

@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

Core

All contributors of this release in alphabetical order: @coder-freestyle, @eps1lon, @garfunkelvila, @itsnorbertkalacska, @likitarai1, @m4theushw, @michaldudak, @mnajdova, @onpaws, @sakura90, @sarahannnicholson, @siriwatknp, @vedadeepta, @vicasas