yarn material-ui 1.0.0-beta.30

latest releases: 0.20.2, 0.20.1, 1.0.0-beta.47...
6 years ago
Jan 21, 2018

Big thanks to the 12 contributors who made this release possible.

Here are some highlights ✨:

  • A revamp of the palette usage. We want it to be as simple as possible (#9876, #9918, #9970).
    We are pretty happy with the outcome. +80% of the story has been completed.
  • A better w3c compliance, we will keep working on it in for the next release @sambhav-gore.
  • An improved breakpoints documentation section (#9949).
  • A new notification system for the documentation (#9974) @mbrookes.
  • And many more bug fixes and documentation improvements.

Breaking change

  • [palette] Keep simplifying the solution (#9876) @oliviertassinari
    • Remove the contrast color from our API. This color variation hasn't proven itself to be useful enough.
    -<Button color="contrast" />
    +<Button />
    Instead, you can use the color="inherit" property or use the theme.palette.XXX.contrastText value.
    • Rename accent to secondary. We have removed the accent indirection to be closer to the object people are providing to customize the palette.
    -<Button color="accent" />
    +<Button color="secondary" />
    <Tabs
    - indicatorColor="accent"
    - textColor="accent"
    + indicatorColor="secondary"
    + textColor="secondary"
    >
    • Rename old secondary to textSecondary. secondary and textSecondary are two valid color value.
    -<Typography color="secondary" />
    +<Typography color="textSecondary" />
  • [palette] Standardize the secondary color (#9918) @oliviertassinari

The secondary color now behaves the same way than the other colors (primary, error). We always use the main tone by default instead of the light tone.
It's unclear if this change is making the implementation follow the specification more closely. The direct win is simplicity and predictability.

  • [palette] Normalize the usage of the palette (#9970) @oliviertassinari
    • Remove theme.palette.input object.
    • Remove theme.palette.text.icon color.
    • Remove theme.palette.background.contentFrame, it was only used in the documentation.
    • Move theme.palette.text.divider to theme.palette.divider, it's not a text color.
    • Remove theme.palette.text.lightDivider, there is no reference to is in the specification, better keep things simple.

Component Fixes / Enhancements

Docs

Core

N/A

Don't miss a new material-ui release

NewReleases is sending notifications on new releases.