@rmwc/button
Advanced tools
Comparing version 14.2.6 to 14.2.7
{ | ||
"name": "@rmwc/button", | ||
"version": "14.2.6", | ||
"version": "14.2.7", | ||
"main": "./index.js", | ||
@@ -41,8 +41,8 @@ "types": "./index.d.ts", | ||
"@material/button": "^14.0.0", | ||
"@rmwc/base": "workspace:*", | ||
"@rmwc/icon": "workspace:*", | ||
"@rmwc/provider": "workspace:*", | ||
"@rmwc/ripple": "workspace:*", | ||
"@rmwc/types": "workspace:*" | ||
"@rmwc/base": "14.2.7", | ||
"@rmwc/icon": "14.2.7", | ||
"@rmwc/provider": "14.2.7", | ||
"@rmwc/ripple": "14.2.7", | ||
"@rmwc/types": "14.2.7" | ||
} | ||
} |
@@ -47,7 +47,3 @@ # Buttons | ||
<> | ||
<Button | ||
label="With Theme" | ||
raised | ||
theme={['secondaryBg', 'onSecondary']} | ||
/> | ||
<Button label="With Theme" raised theme={['secondaryBg', 'onSecondary']} /> | ||
{/** | ||
@@ -78,2 +74,3 @@ This example uses "accent" to control the color of the Ripple. | ||
## Button | ||
The Button component. | ||
@@ -83,17 +80,15 @@ | ||
| Name | Type | Description | | ||
|------|------|-------------| | ||
| `children` | `ReactNode` | Content specified as children. | | ||
| `danger` | `boolean` | Used to indicate a dangerous action. | | ||
| `dense` | `boolean` | Make the Button dense. | | ||
| `disabled` | `boolean` | Make the button disabled | | ||
| `icon` | `IconPropT` | An Icon for the Button | | ||
| `label` | `any` | Content specified as a label prop. | | ||
| `outlined` | `boolean` | Make the button outlined. | | ||
| `raised` | `boolean` | Make the Button raised. | | ||
| `ripple` | `RipplePropT` | Adds a ripple effect to the component | | ||
| `touch` | `boolean` | Makes the button more touch friendly. This will automatically be set true if used inside of TouchTargetWrapper. | | ||
| `trailingIcon` | `IconPropT` | A trailing icon for the Button | | ||
| `unelevated` | `boolean` | Make the button unelevated. | | ||
| Name | Type | Description | | ||
| -------------- | ------------- | --------------------------------------------------------------------------------------------------------------- | | ||
| `children` | `ReactNode` | Content specified as children. | | ||
| `danger` | `boolean` | Used to indicate a dangerous action. | | ||
| `dense` | `boolean` | Make the Button dense. | | ||
| `disabled` | `boolean` | Make the button disabled | | ||
| `icon` | `IconPropT` | An Icon for the Button | | ||
| `label` | `any` | Content specified as a label prop. | | ||
| `outlined` | `boolean` | Make the button outlined. | | ||
| `raised` | `boolean` | Make the Button raised. | | ||
| `ripple` | `RipplePropT` | Adds a ripple effect to the component | | ||
| `touch` | `boolean` | Makes the button more touch friendly. This will automatically be set true if used inside of TouchTargetWrapper. | | ||
| `trailingIcon` | `IconPropT` | A trailing icon for the Button | | ||
| `unelevated` | `boolean` | Make the button unelevated. | |
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
9140
11
177
0
92
1
+ Added@rmwc/base@14.2.7(transitive)
+ Added@rmwc/icon@14.2.7(transitive)
+ Added@rmwc/provider@14.2.7(transitive)
+ Added@rmwc/ripple@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)
Updated@rmwc/base@14.2.7
Updated@rmwc/icon@14.2.7
Updated@rmwc/provider@14.2.7
Updated@rmwc/ripple@14.2.7
Updated@rmwc/types@14.2.7