Socket
Socket
Sign inDemoInstall

@material/elevation

Package Overview
Dependencies
Maintainers
11
Versions
1676
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/elevation - npm Package Compare versions

Comparing version 0.25.0 to 0.28.0

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc