@material/button
Advanced tools
Comparing version 0.4.1 to 0.5.0
{ | ||
"name": "@material/button", | ||
"description": "The Material Components for the web button component", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"license": "Apache 2.0", | ||
@@ -17,3 +17,3 @@ "keywords": [ | ||
"@material/elevation": "^0.1.11", | ||
"@material/ripple": "^0.8.4", | ||
"@material/ripple": "^0.8.5", | ||
"@material/theme": "^0.2.0", | ||
@@ -20,0 +20,0 @@ "@material/typography": "^0.3.0" |
@@ -66,2 +66,10 @@ <!--docs: | ||
#### Unelevated Button | ||
```html | ||
<button class="mdc-button mdc-button--unelevated"> | ||
Unelevated button | ||
</button> | ||
``` | ||
### Button state | ||
@@ -84,5 +92,9 @@ | ||
MDC Buttons have a default baseline color, but it is also possible to adopt the | ||
application's primary or accent color by adding the `mdc-button--primary` or | ||
application's primary or secondary color by adding the `mdc-button--primary` or | ||
`mdc-button--accent` modifier. | ||
> Note: "Secondary" was previously called "accent" in the Material spec. See | ||
[mdc-theme](https://github.com/material-components/material-components-web/tree/master/packages/mdc-theme) | ||
for details. | ||
```html | ||
@@ -129,6 +141,7 @@ <button class="mdc-button mdc-button--accent"> | ||
| --------------------- | ------------------------------------------------------- | | ||
| `mdc-button--raised` | A contained button that is elevated upon the surface. | | ||
| `mdc-button--unelevated` | A contained button that is flush with the surface. | | ||
| `mdc-button--dense` | Compresses the button text to make it slightly smaller. | | ||
| `mdc-button--raised` | Elevates the button and creates a colored background. | | ||
| `mdc-button--compact` | Reduces the amount of horizontal padding in the button. | | ||
| `mdc-button--primary` | Colors the button with the primary color. | | ||
| `mdc-button--accent` | Colors the button with the secondary color. | |
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
128817
6
1543
145
Updated@material/ripple@^0.8.5