@rmwc/button
Advanced tools
Comparing version 14.2.8 to 14.2.9
{ | ||
"name": "@rmwc/button", | ||
"version": "14.2.8", | ||
"version": "14.2.9", | ||
"main": "./index.js", | ||
@@ -41,8 +41,8 @@ "types": "./index.d.ts", | ||
"@material/button": "^14.0.0", | ||
"@rmwc/base": "14.2.8", | ||
"@rmwc/icon": "14.2.8", | ||
"@rmwc/provider": "14.2.8", | ||
"@rmwc/ripple": "14.2.8", | ||
"@rmwc/types": "14.2.8" | ||
"@rmwc/base": "14.2.9", | ||
"@rmwc/icon": "14.2.9", | ||
"@rmwc/provider": "14.2.9", | ||
"@rmwc/ripple": "14.2.9", | ||
"@rmwc/types": "14.2.9" | ||
} | ||
} |
@@ -47,3 +47,7 @@ # Buttons | ||
<> | ||
<Button label="With Theme" raised theme={['secondaryBg', 'onSecondary']} /> | ||
<Button | ||
label="With Theme" | ||
raised | ||
theme={['secondaryBg', 'onSecondary']} | ||
/> | ||
{/** | ||
@@ -74,3 +78,2 @@ This example uses "accent" to control the color of the Ripple. | ||
## Button | ||
The Button component. | ||
@@ -80,15 +83,17 @@ | ||
| 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
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
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
97
8394
9
117
1
1
+ Added@rmwc/base@14.2.9(transitive)
+ Added@rmwc/icon@14.2.9(transitive)
+ Added@rmwc/provider@14.2.9(transitive)
+ Added@rmwc/ripple@14.2.9(transitive)
+ Added@rmwc/types@14.2.9(transitive)
- Removed@rmwc/base@14.2.8(transitive)
- Removed@rmwc/icon@14.2.8(transitive)
- Removed@rmwc/provider@14.2.8(transitive)
- Removed@rmwc/ripple@14.2.8(transitive)
- Removed@rmwc/types@14.2.8(transitive)
Updated@rmwc/base@14.2.9
Updated@rmwc/icon@14.2.9
Updated@rmwc/provider@14.2.9
Updated@rmwc/ripple@14.2.9
Updated@rmwc/types@14.2.9