@vaadin/select
Advanced tools
Comparing version 23.0.0-beta1 to 23.0.0-beta2
{ | ||
"name": "@vaadin/select", | ||
"version": "23.0.0-beta1", | ||
"version": "23.0.0-beta2", | ||
"publishConfig": { | ||
@@ -38,17 +38,17 @@ "access": "public" | ||
"@polymer/polymer": "^3.2.0", | ||
"@vaadin/button": "23.0.0-beta1", | ||
"@vaadin/component-base": "23.0.0-beta1", | ||
"@vaadin/field-base": "23.0.0-beta1", | ||
"@vaadin/input-container": "23.0.0-beta1", | ||
"@vaadin/item": "23.0.0-beta1", | ||
"@vaadin/list-box": "23.0.0-beta1", | ||
"@vaadin/vaadin-list-mixin": "23.0.0-beta1", | ||
"@vaadin/vaadin-lumo-styles": "23.0.0-beta1", | ||
"@vaadin/vaadin-material-styles": "23.0.0-beta1", | ||
"@vaadin/vaadin-overlay": "23.0.0-beta1", | ||
"@vaadin/vaadin-themable-mixin": "23.0.0-beta1" | ||
"@vaadin/button": "23.0.0-beta2", | ||
"@vaadin/component-base": "23.0.0-beta2", | ||
"@vaadin/field-base": "23.0.0-beta2", | ||
"@vaadin/input-container": "23.0.0-beta2", | ||
"@vaadin/item": "23.0.0-beta2", | ||
"@vaadin/list-box": "23.0.0-beta2", | ||
"@vaadin/vaadin-list-mixin": "23.0.0-beta2", | ||
"@vaadin/vaadin-lumo-styles": "23.0.0-beta2", | ||
"@vaadin/vaadin-material-styles": "23.0.0-beta2", | ||
"@vaadin/vaadin-overlay": "23.0.0-beta2", | ||
"@vaadin/vaadin-themable-mixin": "23.0.0-beta2" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/polymer-legacy-adapter": "23.0.0-beta1", | ||
"@vaadin/polymer-legacy-adapter": "23.0.0-beta2", | ||
"@vaadin/testing-helpers": "^0.3.2", | ||
@@ -58,3 +58,3 @@ "lit": "^2.0.0", | ||
}, | ||
"gitHead": "467244b76021176c109df675799b07029b293e58" | ||
"gitHead": "a276f7a0fd00e5459b87267468e0dd0d4fb6f7f3" | ||
} |
@@ -165,3 +165,3 @@ /** | ||
<slot name="value"></slot> | ||
<div part="toggle-button" slot="suffix"></div> | ||
<div part="toggle-button" slot="suffix" aria-hidden="true"></div> | ||
</vaadin-input-container> | ||
@@ -436,6 +436,10 @@ | ||
this._menuElement = menuElement; | ||
// Ensure items are initialized | ||
this.__initMenuItems(menuElement); | ||
menuElement.addEventListener('items-changed', () => { | ||
this._items = menuElement.items; | ||
this._items.forEach((item) => item.setAttribute('role', 'option')); | ||
this.__initMenuItems(menuElement); | ||
}); | ||
menuElement.addEventListener('selected-changed', () => this.__updateValueButton()); | ||
@@ -462,2 +466,10 @@ // Use capture phase to make it possible for `<vaadin-grid-pro-edit-select>` | ||
/** @private */ | ||
__initMenuItems(menuElement) { | ||
if (menuElement.items) { | ||
this._items = menuElement.items; | ||
this._items.forEach((item) => item.setAttribute('role', 'option')); | ||
} | ||
} | ||
/** @private */ | ||
_valueChanged(value, oldValue) { | ||
@@ -464,0 +476,0 @@ this.toggleAttribute('has-value', Boolean(value)); |
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
56335
1212
+ Added@vaadin/button@23.0.0-beta2(transitive)
+ Added@vaadin/component-base@23.0.0-beta2(transitive)
+ Added@vaadin/field-base@23.0.0-beta2(transitive)
+ Added@vaadin/icon@23.0.0-beta2(transitive)
+ Added@vaadin/input-container@23.0.0-beta2(transitive)
+ Added@vaadin/item@23.0.0-beta2(transitive)
+ Added@vaadin/list-box@23.0.0-beta2(transitive)
+ Added@vaadin/vaadin-list-mixin@23.0.0-beta2(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.0.0-beta2(transitive)
+ Added@vaadin/vaadin-material-styles@23.0.0-beta2(transitive)
+ Added@vaadin/vaadin-overlay@23.0.0-beta2(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.0.0-beta2(transitive)
- Removed@vaadin/button@23.0.0-beta1(transitive)
- Removed@vaadin/component-base@23.0.0-beta1(transitive)
- Removed@vaadin/field-base@23.0.0-beta1(transitive)
- Removed@vaadin/icon@23.0.0-beta1(transitive)
- Removed@vaadin/input-container@23.0.0-beta1(transitive)
- Removed@vaadin/item@23.0.0-beta1(transitive)
- Removed@vaadin/list-box@23.0.0-beta1(transitive)
- Removed@vaadin/vaadin-list-mixin@23.0.0-beta1(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.0.0-beta1(transitive)
- Removed@vaadin/vaadin-material-styles@23.0.0-beta1(transitive)
- Removed@vaadin/vaadin-overlay@23.0.0-beta1(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.0.0-beta1(transitive)
Updated@vaadin/button@23.0.0-beta2
Updated@vaadin/item@23.0.0-beta2