@spectrum-web-components/button
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [0.6.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button@0.5.2...@spectrum-web-components/button@0.6.0) (2020-05-12) | ||
### Features | ||
- add dialog, dialog-wrapped, and underlay elements ([3df9050](https://github.com/adobe/spectrum-web-components/commit/3df9050f65bd3a95f9b986aa728cfc1a2eaee432)) | ||
## [0.5.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button@0.5.1...@spectrum-web-components/button@0.5.2) (2020-05-08) | ||
@@ -8,0 +14,0 @@ |
@@ -12,3 +12,3 @@ { | ||
"description": "The visual variant to apply to this button.", | ||
"type": "\"cta\" | \"overBackground\" | \"primary\" | \"secondary\" | \"negative\"", | ||
"type": "ButtonVariants", | ||
"default": "\"cta\"" | ||
@@ -34,3 +34,3 @@ }, | ||
"description": "The visual variant to apply to this button.", | ||
"type": "\"cta\" | \"overBackground\" | \"primary\" | \"secondary\" | \"negative\"", | ||
"type": "ButtonVariants", | ||
"default": "\"cta\"" | ||
@@ -252,3 +252,3 @@ }, | ||
"description": "The visual variant to apply to this button.", | ||
"type": "\"cta\" | \"overBackground\" | \"primary\" | \"secondary\" | \"negative\"", | ||
"type": "ButtonVariants", | ||
"default": "\"cta\"" | ||
@@ -274,3 +274,3 @@ }, | ||
"description": "The visual variant to apply to this button.", | ||
"type": "\"cta\" | \"overBackground\" | \"primary\" | \"secondary\" | \"negative\"", | ||
"type": "ButtonVariants", | ||
"default": "\"cta\"" | ||
@@ -277,0 +277,0 @@ }, |
import { CSSResultArray } from 'lit-element'; | ||
import { ButtonBase } from './button-base.js'; | ||
export declare type ButtonVariants = 'cta' | 'overBackground' | 'primary' | 'secondary' | 'negative'; | ||
/** | ||
@@ -12,3 +13,3 @@ * A Spectrum button control. | ||
*/ | ||
variant: 'cta' | 'overBackground' | 'primary' | 'secondary' | 'negative'; | ||
variant: ButtonVariants; | ||
/** | ||
@@ -15,0 +16,0 @@ * There is a warning in place for this control |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "", | ||
@@ -54,3 +54,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "4068602ee6a355db24878fad4762815eacc0a730" | ||
"gitHead": "6cbe373247261cc44ccfdd63f9d26244f06ea217" | ||
} |
@@ -17,2 +17,9 @@ /* | ||
export type ButtonVariants = | ||
| 'cta' | ||
| 'overBackground' | ||
| 'primary' | ||
| 'secondary' | ||
| 'negative'; | ||
/** | ||
@@ -30,8 +37,3 @@ * A Spectrum button control. | ||
@property({ reflect: true }) | ||
public variant: | ||
| 'cta' | ||
| 'overBackground' | ||
| 'primary' | ||
| 'secondary' | ||
| 'negative' = 'cta'; | ||
public variant: ButtonVariants = 'cta'; | ||
@@ -38,0 +40,0 @@ /** |
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
513186
4588