yarn material-ui 1.0.0-beta.32

latest releases: 0.20.2, 0.20.1, 1.0.0-beta.47...
6 years ago
Feb 4, 2018

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

Here are some highlights ✨:

Breaking change

These breaking changes aim at providing a systematic solution to the boolean vs enum naming problem.

We have documented our approach to solving the problem in #10023. Basically, we enforce the following rule:

  • We use a boolean when the degrees of freedom required is 2.
  • We use an enum when the degrees of freedom required is > 2.

This is what motivated the button breaking change. Unfortunately type has its own meaning in the HTML specification. You can use it on the following elements: <button>, <input>, <command>, <embed>, <object>, <script>, <source>, <style>, <menu>.
We are using a more generic name to avoid the confusion: variant.

Umbrella pull-request for: #10084, #10086, #10088.

<Button
- raised
+ variant="raised"

<Button
- fab
+ variant="fab"

<Typography
- type="title"
+ variant="title"

<MobileStepper
- type="dots"
+ variant="dots"

<Drawer
- type="persistent"
+ variant="persistent"

<LinearProgress
- mode="determinate"
+ variant="determinate"

<CircularProgress
- mode="determinate"
+ variant="determinate"
  • [transition] Standardize the components (#10151)
           <Zoom
             in={in}
-            enterDelay={transitionDuration.exit}
+            style={{
+              transitionDelay: in ? transitionDuration.exit : 0,
+            }}

Component Fixes / Enhancements

Docs

Core

Don't miss a new material-ui release

NewReleases is sending notifications on new releases.