@rmwc/icon
Advanced tools
Comparing version 14.2.6 to 14.2.7
{ | ||
"name": "@rmwc/icon", | ||
"version": "14.2.6", | ||
"version": "14.2.7", | ||
"description": "RMWC Icon component", | ||
@@ -42,6 +42,6 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@rmwc/base": "workspace:*", | ||
"@rmwc/provider": "workspace:*", | ||
"@rmwc/types": "workspace:*" | ||
"@rmwc/base": "14.2.7", | ||
"@rmwc/provider": "14.2.7", | ||
"@rmwc/types": "14.2.7" | ||
} | ||
} |
@@ -139,6 +139,3 @@ # Icons | ||
icon: ( | ||
<svg | ||
style={{ width: '24px', height: '24px' }} | ||
viewBox="0 0 24 24" | ||
> | ||
<svg style={{ width: '24px', height: '24px' }} viewBox="0 0 24 24"> | ||
<path | ||
@@ -205,4 +202,3 @@ fill="#4285F4" | ||
```jsx | ||
` | ||
` | ||
// 1) Your app has an icon component you use | ||
@@ -249,7 +245,7 @@ import { MyIconComponent } from '@rmwc/icon'; | ||
<TextFieldIcon icon="search" /> | ||
` | ||
`; | ||
``` | ||
## Icon | ||
An Icon component. Most of these options can be set once globally, read the documentation on Provider for more info. | ||
@@ -259,6 +255,4 @@ | ||
| Name | Type | Description | | ||
|------|------|-------------| | ||
| Name | Type | Description | | ||
| ------ | ----------- | ------------------------------------------------------------------------------------------------------ | | ||
| `icon` | `IconPropT` | The icon to use. This can be a string for a font icon, a url, or whatever the selected strategy needs. | | ||
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
12
229
0
14775
255
1
+ Added@material/dom@14.0.0(transitive)
+ Added@material/feature-targeting@14.0.0(transitive)
+ Added@rmwc/base@14.2.7(transitive)
+ Added@rmwc/provider@14.2.7(transitive)
+ Added@rmwc/types@14.2.7(transitive)
+ Addedclassnames@2.5.1(transitive)
+ Addedhyperform@0.11.0(transitive)
+ Addedmutation-observer@1.0.3(transitive)
+ Addedtslib@2.8.1(transitive)
Updated@rmwc/base@14.2.7
Updated@rmwc/provider@14.2.7
Updated@rmwc/types@14.2.7