Socket
Socket
Sign inDemoInstall

@material/shape

Package Overview
Dependencies
Maintainers
13
Versions
1655
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/shape - npm Package Compare versions

Comparing version 0.40.1 to 0.41.0

2

package.json
{
"name": "@material/shape",
"description": "Shape utilities for Material Components for the web",
"version": "0.40.1",
"version": "0.41.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "keywords": [

@@ -46,5 +46,5 @@ <!--docs:

--- | ---
`$mdc-shape-small-surface-radius` | Rounded shape radius size for small surface components. Default value `4px`.
`$mdc-shape-medium-surface-radius` | Rounded shape radius size for medium surface components. Default value `8px`.
`$mdc-shape-large-surface-radius` | Rounded shape radius size for large surface components. Default value `0`.
`$mdc-shape-small-component-radius` | Rounded shape radius size for small components. Default value `4px`.
`$mdc-shape-medium-component-radius` | Rounded shape radius size for medium components. Default value `4px`.
`$mdc-shape-large-component-radius` | Rounded shape radius size for large components. Default value `0`.

@@ -68,2 +68,3 @@ Please refer [Material Design guidelines: Shape](https://material.io/go/design-shape) to learn about how components are categorized.

`mdc-shape-mask-radius($radius, $masked-corners)` | Accepts radius number or list of 2-4 radius values and returns 4 value list with masked corners as mentioned in `$masked-corners`.
`mdc-shape-prop-value($radius)` | Returns `$radius` value of shape category - `large`, `medium` or `small`. Otherwise, it returns the `$radius` itself if valid. `$radius` can be a single value or list of up to 4.

@@ -70,0 +71,0 @@ ### Additional Information

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