Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spectrum-web-components/dropdown

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/dropdown - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

CHANGELOG.md

@@ -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 @@

1

lib/dropdown.d.ts

@@ -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);

14

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc