bpk-component-button
Advanced tools
Comparing version 1.0.15 to 1.0.16-alpha.b0be287c
{ | ||
"name": "bpk-component-button", | ||
"version": "1.0.15", | ||
"version": "1.0.16-alpha.b0be287c", | ||
"description": "Backpack button component.", | ||
@@ -16,4 +16,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"bpk-mixins": "^4.1.0" | ||
"bpk-mixins": "^5.0.0-alpha.b0be287c" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # bpk-component-button | ||
### Installation | ||
## Installation | ||
@@ -12,3 +12,3 @@ ```sh | ||
### Usage | ||
## Usage | ||
@@ -20,6 +20,24 @@ ```js | ||
export default MyComponent = () => ( | ||
<section> | ||
<BpkButton>My Button</BpkButton> | ||
</section> | ||
<div> | ||
<BpkButton>Primary</BpkButton> | ||
<BpkButton large>Large primary</BpkButton> | ||
<BpkButton selected>Selected</BpkButton> | ||
<BpkButton secondary>Secondary</BpkButton> | ||
<BpkButton link>Link</BpkButton> | ||
</div> | ||
) | ||
``` | ||
### Props | ||
| Property | PropType | Required | Default Value | | ||
| --------- | -------- | -------- | ------------- | | ||
| children | - | true | - | | ||
| href | string | false | null | | ||
| disabled | bool | false | false | | ||
| submit | bool | false | false | | ||
| secondary | bool | false | false | | ||
| selected | bool | false | false | | ||
| large | bool | false | false | | ||
| link | bool | false | false | | ||
| onClick | func | false | null | |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
9887
41
2
+ Addedbpk-mixins@5.6.1(transitive)
+ Addedbpk-svgs@2.2.1(transitive)
+ Addedbpk-tokens@12.5.0(transitive)
- Removedbpk-mixins@4.1.0(transitive)
- Removedbpk-svgs@1.0.4(transitive)
- Removedbpk-tokens@11.1.0(transitive)