yarn material-ui 1.0.0-beta.5

latest releases: 0.20.2, 0.20.1, 1.0.0-beta.47...
7 years ago
Aug 15, 2017

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

Breaking changes

This is an effort in the prolongation of #2957 where value/onChange is the idiomatic interface to control a component.

-<Tabs index={0}>
+<Tabs value={0}>
// ...

The primary motivation for this change is simplicity, it's also making our interface closer to
react-jss.

-import { withStyles, createStyleSheet } from 'material-ui/styles';
+import { withStyles } from 'material-ui/styles';

-const styleSheet = createStyleSheet('Button', {
+const styles = {
  root: {
    background: 'red',
  },
-});
+};

// ...

-export default withStyles(styleSheet)(AppContent);
+export default withStyles(styles, { name: 'Button' })(Button);
Component Fixes / Enhancements
Docs
Core

Don't miss a new material-ui release

NewReleases is sending notifications on new releases.