@material/elevation
Advanced tools
Comparing version 0.25.0 to 0.28.0
{ | ||
"name": "@material/elevation", | ||
"description": "Material Components for the web mixins + CSS Classes for Material Design elevation", | ||
"version": "0.25.0", | ||
"version": "0.28.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -59,10 +59,14 @@ <!--docs: | ||
`mdc-elevation($z-value, $color, $opacity-boost)` | Sets the elevation to the z-space for that given elevation, and optionally sets the color and/or boosts the opacity of the shadow | ||
`mdc-elevation-transition($duration, $easing)` | Applies the correct css rules to transition an element between elevations | ||
Function | Description | ||
--- | --- | ||
`mdc-elevation-transition-value($duration, $easing)` | Returns a value for the `transition` property to transition an element between elevations | ||
Variable | Description | ||
--- | --- | ||
`mdc-elevation-property` | Default property for elevation transitions | ||
`mdc-elevation-transition-duration` | Default duration value for elevation transitions | ||
`mdc-elevation-transition-timing-function` | Default easing value for elevation transitions | ||
If you need more configurability over your transitions, use the `mdc-elevation-transition-rule` function in conjunction with the exported sass variables. | ||
If you need more configurability over your transitions, use the `mdc-elevation-transition-value` function in conjunction with the exported sass variables. | ||
@@ -73,3 +77,3 @@ ```scss | ||
transition: | ||
mdc-elevation-transition-rule(), | ||
mdc-elevation-transition-value(), | ||
/* Configure opacity to use same duration and easing values as elevation */ | ||
@@ -76,0 +80,0 @@ opacity $mdc-elevation-transition-duration $mdc-elevation-transition-timing-function; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83
26095
120