@material/shape
Advanced tools
Comparing version 0.35.0 to 0.39.0
{ | ||
"name": "@material/shape", | ||
"description": "Shape utilities for Material Components for the web", | ||
"version": "0.35.0", | ||
"license": "Apache-2.0", | ||
"version": "0.39.0", | ||
"license": "MIT", | ||
"keywords": [ | ||
@@ -7,0 +7,0 @@ "material components", |
@@ -10,6 +10,5 @@ <!--docs: | ||
# Shape | ||
<!--<div class="article__asset"> | ||
<a class="article__asset-link" | ||
href="https://material-components-web.appspot.com/shape.html"> | ||
href="https://material-components.github.io/material-components-web-catalog/#/component/shape"> | ||
<img src="{{ site.rootpath }}/images/mdc_web_screenshots/shape.png" width="159" alt="Shape screenshot"> | ||
@@ -24,7 +23,10 @@ </a> | ||
## Design | ||
## Design & API Documentation | ||
<ul class="icon-list"> | ||
<li class="icon-list-item icon-list-item--spec"> | ||
<a href="https://material.io/go/design-shape">Material Design guidelines: Shape</a> | ||
</li> | ||
<li class="icon-list-item icon-list-item--link"> | ||
<a href="https://material-components-web.appspot.com/shape.html">Demo</a> | ||
<a href="https://material-components.github.io/material-components-web-catalog/#/component/shape">Demo</a> | ||
</li> | ||
@@ -64,2 +66,3 @@ </ul> | ||
```scss | ||
@import "@material/shape/mdc-shape"; // The base shape styles need to be imported once in the page or application | ||
@import "@material/shape/mixins"; | ||
@@ -76,7 +79,6 @@ | ||
Outlined angled corners involve the same markup and styles as above, with the addition of including a mixin for outline: | ||
Outlined angled corners involve the same markup and styles/imports as above, with the addition of including a mixin for | ||
outline: | ||
```scss | ||
@import "@material/shape/mixins"; | ||
.my-shape-container { | ||
@@ -83,0 +85,0 @@ @include mdc-shape-angled-corner(#fff, 10px); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
11552
110
1