@material/button
Advanced tools
Comparing version 0.3.4 to 0.3.5
{ | ||
"name": "@material/button", | ||
"description": "The Material Components for the web button component", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"license": "Apache 2.0", | ||
@@ -16,8 +16,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@material/animation": "^0.2.0", | ||
"@material/elevation": "^0.1.5", | ||
"@material/ripple": "^0.6.0", | ||
"@material/theme": "^0.1.4", | ||
"@material/typography": "^0.2.1" | ||
"@material/animation": "^0.2.1", | ||
"@material/elevation": "^0.1.6", | ||
"@material/ripple": "^0.6.1", | ||
"@material/theme": "^0.1.5", | ||
"@material/typography": "^0.2.2" | ||
} | ||
} |
@@ -1,8 +0,35 @@ | ||
# MDC Button | ||
<!--docs: | ||
title: "Buttons" | ||
layout: detail | ||
section: components | ||
excerpt: "Material Design-styled buttons." | ||
iconId: button | ||
path: /catalog/buttons/ | ||
--> | ||
# Buttons | ||
<!--<div class="article__asset"> | ||
<a class="article__asset-link" | ||
href="https://material-components-web.appspot.com/button.html"> | ||
<img src="{{ site.rootpath }}/images/mdc_web_screenshots/buttons.png" width="363" alt="Buttons screenshot"> | ||
</a> | ||
</div>--> | ||
The MDC Button component is a spec-aligned button component adhering to the | ||
[Material Design button requirements](https://material.google.com/components/buttons.html). | ||
It works without JavaScript with basic functionality for all states. | ||
If you initiate the JavaScript object for a button, then it will be enhanced with ripple effects. (Not yet implemented) | ||
[Material Design button requirements](https://material.io/guidelines/components/buttons.html). | ||
It works without JavaScript with basic functionality for all states. | ||
If you initiate the JavaScript object for a button, then it will be enhanced with ripple effects. (Not yet implemented) | ||
## Design & API Documentation | ||
<ul class="icon-list"> | ||
<li class="icon-list-item icon-list-item--spec"> | ||
<a href="https://material.io/guidelines/components/buttons.html">Material Design guidelines: Buttons</a> | ||
</li> | ||
<li class="icon-list-item icon-list-item--link"> | ||
<a href="https://material-components-web.appspot.com/button.html">Demo</a> | ||
</li> | ||
</ul> | ||
## Installation | ||
@@ -50,3 +77,3 @@ | ||
To add the ink ripple effect to a button, attach a [ripple](../packages/mdc-ripple) instance to the | ||
To add the ink ripple effect to a button, attach a [ripple](../mdc-ripple) instance to the | ||
button element. | ||
@@ -58,3 +85,3 @@ | ||
You can also do this declaratively when using the [material-components-web](../packages/material-components-web) package. | ||
You can also do this declaratively when using the [material-components-web](../material-components-web) package. | ||
@@ -61,0 +88,0 @@ ```html |
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
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
76815
968
115
Updated@material/animation@^0.2.1
Updated@material/elevation@^0.1.6
Updated@material/ripple@^0.6.1
Updated@material/theme@^0.1.5
Updated@material/typography@^0.2.2