yarn material-ui 1.0.0-beta.19

latest releases: 0.20.2, 0.20.1, 1.0.0-beta.47...
6 years ago
Oct 30, 2017

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

Here are some highlights ✨:

  • We managed to do it! We have upgraded all the dependencies to react@16 🚀. (#8889)
    We will keep react@15 support for some time in order to help the migration from v0.x to v1.x.
  • We have fixed an important bug of withStyles() with react-hot-loader.
    Thanks a lot @rrousselGit for the support. (#8897)
  • We have introduced 3 soft breaking changes. (#8830, #8858, #8916)
  • And many more bug fixes and documentation improvements.

Breaking change

         <Grow
-          transitionDuration={{
+          timeout={{
             enter: enterDuration,
             exit: leaveDuration,
           }}
         />
-    <Dialog transition={<Slide direction="left" />} />;
+    const Transition = props => <Slide direction="left" {...props} />
+    <Dialog transition={Transition} />;

-    <Snackbar transition={<Slide direction="left" />} />;
+    const Transition = props => <Slide direction="left" {...props} />
+    <Snackbar transition={Transition} />;

One important thing to notice is that the component creation needs to be outside of the render method. Otherwise a new instance will be created and the animation will lose his state.

  • [RTL] Make Right-to-left optional (#8916) @oliviertassinari
    jss-rtl needs to be installed and added to jss by the users. We do no longer do it by default.

Component Fixes / Enhancements

Docs

Core

Don't miss a new material-ui release

NewReleases is sending notifications on new releases.