@material/icon-button
Advanced tools
Comparing version 0.40.0 to 0.40.1
{ | ||
"name": "@material/icon-button", | ||
"description": "The Material Components for the web icon button component", | ||
"version": "0.40.0", | ||
"version": "0.40.1", | ||
"license": "MIT", | ||
@@ -18,5 +18,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@material/base": "^0.39.0", | ||
"@material/ripple": "^0.40.0", | ||
"@material/theme": "^0.40.0" | ||
"@material/base": "^0.40.1", | ||
"@material/ripple": "^0.40.1", | ||
"@material/theme": "^0.40.1" | ||
}, | ||
@@ -23,0 +23,0 @@ "publishConfig": { |
@@ -75,3 +75,3 @@ <!--docs: | ||
both icons as child elements and place the `mdc-icon-button__icon--on` class on the icon that represents the on element. | ||
If the button should be initialized in the "on" state, then add the `mdc-icon-button--on` class to the parent `button`. | ||
If the button should be initialized in the "on" state, then add the `mdc-icon-button--on` class to the parent `button`. | ||
Then instantiate an `MDCIconButtonToggle` on the root element. | ||
@@ -130,5 +130,12 @@ | ||
The icon button can be used with a standard icon library such as Material Icons, or with an `svg`. | ||
We recommend you use [Material Icons](https://material.io/tools/icons) from Google Fonts. | ||
We recommend using [Material Icons](https://material.io/tools/icons/) from Google Fonts: | ||
```html | ||
<head> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | ||
</head> | ||
``` | ||
However, you can also use SVG, [Font Awesome](https://fontawesome.com/), or any other icon library you wish. | ||
### Disabled | ||
@@ -135,0 +142,0 @@ |
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
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
148095
2511
198
- Removed@material/base@0.39.0(transitive)
Updated@material/base@^0.40.1
Updated@material/ripple@^0.40.1
Updated@material/theme@^0.40.1