npm @material-ui/core 5.0.0-alpha.20

latest releases: 4.12.4, 5.0.0-beta.5, 5.0.0-beta.4...
3 years ago
Dec 21, 2020

Big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:

  • 👩‍🎤 Migrate the Typography to emotion (#23841) @DanailH

    This change allows to add typography variants in the theme and to use them directly:

    const theme = createMuiTheme({
      typography: {
        poster: {
          color: 'red',
        },
      },
    });
    <Typography variant="poster">poster</Typography>;

    A full demo

  • 📚 Add a shortcut to open the Algolia search (#23959) @hmaddisb.

  • And many more 🐛 bug fixes and 📚 improvements.

@material-ui/core@v5.0.0-alpha.20/@material-ui/unstyled@v5.0.0-alpha.20

Breaking changes

  • [CssBaseline] Change body font size to body1 (1rem) (#24018) @mbrookes

    The new default matches the variant used by the Typography component. To return to the previous size, you can override it in the theme:

    const theme = createMuiTheme({
      typography: {
        body1: {
          fontSize: '0.875rem',
        },
      },
    });

Changes

@material-ui/styled-engine@v5.0.0-alpha.20/@material-ui/styled-engine-sc@v5.0.0-alpha.20

@material-ui/system@v5.0.0-alpha.20

Docs

Core

Don't miss a new core release

NewReleases is sending notifications on new releases.