Skip to content

v4.0.0-alpha.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@oliviertassinari oliviertassinari released this 17 Mar 11:02
Mar 17, 2019

A big thanks to the 17 contributors who made this release possible!

Here are some highlights ✨:

  • Improve the TypeScript definitions of @material-ui/styles @VincentLanglet.
  • Prepare the migration of more TypeScript demos (#14896) @eps1lon.
  • Complete the i18n support for the documentation (#14838) @oliviertassinari.
  • And many more 🐛 bug fixes and 📝 documentation improvements.

@material-ui/[email protected]

Breaking change

  • [ButtonBase] Require host or ref forwarding components (#13664) @eps1lon

  • [SvgIcon] Rename nativeColor -> htmlColor (#14863) @oliviertassinari

    React solved the same problem with the for HTML attribute, they have decided to call the prop htmlFor. This change follows the same reasoning.

    -<AddIcon nativeColor={secondary.contrastText} />
    +<AddIcon htmlColor={secondary.contrastText} />
  • [Divider] Remove the deprecated inset prop (#14826) @joshwooding

    -<Divider inset />
    +<Divider variant="inset" />
  • [Box] Remove the unstable prefix & import the right version (#14845) @pheuter

    -import { unstable_Box as Box } from '@material-ui/core/Box';
    +import Box from '@material-ui/core/Box';

Changes

@material-ui/[email protected]

@material-ui/[email protected]

Docs

Core