@vaadin/multi-select-combo-box 25.1.6 → 25.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/multi-select-combo-box",
|
|
3
|
-
"version": "25.1.
|
|
3
|
+
"version": "25.1.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,23 +37,23 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
|
-
"@vaadin/a11y-base": "~25.1.
|
|
41
|
-
"@vaadin/combo-box": "~25.1.
|
|
42
|
-
"@vaadin/component-base": "~25.1.
|
|
43
|
-
"@vaadin/field-base": "~25.1.
|
|
44
|
-
"@vaadin/input-container": "~25.1.
|
|
45
|
-
"@vaadin/item": "~25.1.
|
|
46
|
-
"@vaadin/lit-renderer": "~25.1.
|
|
47
|
-
"@vaadin/overlay": "~25.1.
|
|
48
|
-
"@vaadin/vaadin-themable-mixin": "~25.1.
|
|
40
|
+
"@vaadin/a11y-base": "~25.1.8",
|
|
41
|
+
"@vaadin/combo-box": "~25.1.8",
|
|
42
|
+
"@vaadin/component-base": "~25.1.8",
|
|
43
|
+
"@vaadin/field-base": "~25.1.8",
|
|
44
|
+
"@vaadin/input-container": "~25.1.8",
|
|
45
|
+
"@vaadin/item": "~25.1.8",
|
|
46
|
+
"@vaadin/lit-renderer": "~25.1.8",
|
|
47
|
+
"@vaadin/overlay": "~25.1.8",
|
|
48
|
+
"@vaadin/vaadin-themable-mixin": "~25.1.8",
|
|
49
49
|
"lit": "^3.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@vaadin/aura": "~25.1.
|
|
53
|
-
"@vaadin/chai-plugins": "~25.1.
|
|
54
|
-
"@vaadin/test-runner-commands": "~25.1.
|
|
52
|
+
"@vaadin/aura": "~25.1.8",
|
|
53
|
+
"@vaadin/chai-plugins": "~25.1.8",
|
|
54
|
+
"@vaadin/test-runner-commands": "~25.1.8",
|
|
55
55
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
56
|
-
"@vaadin/vaadin-lumo-styles": "~25.1.
|
|
56
|
+
"@vaadin/vaadin-lumo-styles": "~25.1.8",
|
|
57
57
|
"sinon": "^21.0.2"
|
|
58
58
|
},
|
|
59
59
|
"customElements": "custom-elements.json",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"web-types.json",
|
|
62
62
|
"web-types.lit.json"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "284962838c38ec84495ea097b97d6d03cad2069b"
|
|
65
65
|
}
|
|
@@ -471,8 +471,10 @@ export const MultiSelectComboBoxMixin = (superClass) =>
|
|
|
471
471
|
getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || '65vh';
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
+
const isClosing = this.hasAttribute('closing');
|
|
475
|
+
|
|
474
476
|
this._scroller.setProperties({
|
|
475
|
-
items: opened ? items : [],
|
|
477
|
+
items: opened || isClosing ? items : [],
|
|
476
478
|
opened,
|
|
477
479
|
focusedIndex,
|
|
478
480
|
theme,
|
|
@@ -1270,6 +1272,10 @@ export const MultiSelectComboBoxMixin = (superClass) =>
|
|
|
1270
1272
|
_overlaySelectedItemChanged(event) {
|
|
1271
1273
|
event.stopPropagation();
|
|
1272
1274
|
|
|
1275
|
+
if (this.hasAttribute('closing')) {
|
|
1276
|
+
return;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1273
1279
|
// Do not un-select on click when readonly
|
|
1274
1280
|
if (this.readonly) {
|
|
1275
1281
|
return;
|
package/web-types.json
CHANGED