@spectrum-web-components/dropdown
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.2.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/dropdown@0.2.0...@spectrum-web-components/dropdown@0.2.1) (2019-11-01) | ||
### Bug Fixes | ||
- **dropdown:** connect "label" attribute to "aria-label" ([49b89a9](https://github.com/adobe/spectrum-web-components/commit/49b89a9)) | ||
# [0.2.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/dropdown@0.1.4...@spectrum-web-components/dropdown@0.2.0) (2019-10-16) | ||
@@ -8,0 +14,0 @@ |
@@ -18,2 +18,3 @@ import { PropertyValues, CSSResultArray, TemplateResult } from 'lit-element'; | ||
invalid: boolean; | ||
label?: string; | ||
open: boolean; | ||
@@ -20,0 +21,0 @@ optionsMenu: Menu | null; |
@@ -179,2 +179,3 @@ /* | ||
aria-haspopup="true" | ||
aria-label=${ifDefined(this.label || undefined)} | ||
id="button" | ||
@@ -237,2 +238,5 @@ @blur=${this.onButtonBlur} | ||
__decorate([ | ||
property() | ||
], Dropdown.prototype, "label", void 0); | ||
__decorate([ | ||
property({ type: Boolean, reflect: true }) | ||
@@ -239,0 +243,0 @@ ], Dropdown.prototype, "open", void 0); |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "", | ||
@@ -40,12 +40,12 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@spectrum-web-components/button": "^0.2.1", | ||
"@spectrum-web-components/icon": "^0.2.0", | ||
"@spectrum-web-components/icons": "^0.1.4", | ||
"@spectrum-web-components/button": "^0.2.2", | ||
"@spectrum-web-components/icon": "^0.3.0", | ||
"@spectrum-web-components/icons": "^0.1.5", | ||
"@spectrum-web-components/menu": "^0.1.4", | ||
"@spectrum-web-components/menu-item": "^0.2.0", | ||
"@spectrum-web-components/menu-item": "^0.2.1", | ||
"@spectrum-web-components/popover": "^0.1.4", | ||
"@spectrum-web-components/shared": "^0.1.4", | ||
"@spectrum-web-components/shared": "^0.2.0", | ||
"tslib": "^1.10.0" | ||
}, | ||
"gitHead": "75a470cca6e8e415c5e9868bc0b37314d61d1be5" | ||
"gitHead": "2157014e1c3f8cf184663261e4095eef59011b37" | ||
} |
@@ -65,2 +65,5 @@ /* | ||
@property() | ||
public label?: string; | ||
@property({ type: Boolean, reflect: true }) | ||
@@ -232,2 +235,3 @@ public open = false; | ||
aria-haspopup="true" | ||
aria-label=${ifDefined(this.label || undefined)} | ||
id="button" | ||
@@ -234,0 +238,0 @@ @blur=${this.onButtonBlur} |
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
99803
1114
- Removed@spectrum-web-components/icon@0.2.0(transitive)
- Removed@spectrum-web-components/shared@0.1.4(transitive)