Skip to content

v1.0.0-beta.34

Pre-release
Pre-release
Compare
Choose a tag to compare
@oliviertassinari oliviertassinari released this 17 Feb 12:45
· 17670 commits to next since this release
Feb 17, 2018

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

Here are some highlights ✨:

Breaking change

For consistency between the Input and the Checkbox, Switch, Radio the following small breaking changes have been done:

The usage of the inputProps property is no longer needed to apply an id to the input. The id is applied to the input instead of the root.

-<Checkbox inputProps={{ id: 'id' }} />
+<Checkbox id="id" />

The inputType property was renamed type.

-<Checkbox inputType="text" />
+<Checkbox type="text" />
  • [Checkbox, Radio, Switch] Change default color, add color prop (#10138) @mbrookes

The Material Design specification says that selection controls elements should use the application's secondary color.

-<Checkbox />
-<Switch />
-<Radio />
+<Checkbox color="primary" />
+<Switch color="primary" />
+<Radio color="primary" />

Component Fixes / Enhancements

Docs

Core