@vaadin/multi-select-combo-box 25.2.3 → 25.2.5
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/custom-elements.json
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"type": {
|
|
171
171
|
"text": "boolean"
|
|
172
172
|
},
|
|
173
|
-
"description": "Set to true to display the clear icon which clears the input.\
|
|
173
|
+
"description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
|
|
174
174
|
"attribute": "clear-button-visible",
|
|
175
175
|
"inheritedFrom": {
|
|
176
176
|
"name": "ClearButtonMixin",
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
"type": {
|
|
757
757
|
"text": "boolean"
|
|
758
758
|
},
|
|
759
|
-
"description": "Set to true to display the clear icon which clears the input.\
|
|
759
|
+
"description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
|
|
760
760
|
"fieldName": "clearButtonVisible",
|
|
761
761
|
"inheritedFrom": {
|
|
762
762
|
"name": "ClearButtonMixin",
|
|
@@ -1269,7 +1269,7 @@
|
|
|
1269
1269
|
"type": {
|
|
1270
1270
|
"text": "boolean"
|
|
1271
1271
|
},
|
|
1272
|
-
"description": "Set to true to display the clear icon which clears the input.\
|
|
1272
|
+
"description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
|
|
1273
1273
|
"attribute": "clear-button-visible",
|
|
1274
1274
|
"inheritedFrom": {
|
|
1275
1275
|
"name": "ClearButtonMixin",
|
|
@@ -1948,7 +1948,7 @@
|
|
|
1948
1948
|
"type": {
|
|
1949
1949
|
"text": "boolean"
|
|
1950
1950
|
},
|
|
1951
|
-
"description": "Set to true to display the clear icon which clears the input.\
|
|
1951
|
+
"description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
|
|
1952
1952
|
"fieldName": "clearButtonVisible",
|
|
1953
1953
|
"inheritedFrom": {
|
|
1954
1954
|
"name": "ClearButtonMixin",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/multi-select-combo-box",
|
|
3
|
-
"version": "25.2.
|
|
3
|
+
"version": "25.2.5",
|
|
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.2.
|
|
41
|
-
"@vaadin/combo-box": "~25.2.
|
|
42
|
-
"@vaadin/component-base": "~25.2.
|
|
43
|
-
"@vaadin/field-base": "~25.2.
|
|
44
|
-
"@vaadin/input-container": "~25.2.
|
|
45
|
-
"@vaadin/item": "~25.2.
|
|
46
|
-
"@vaadin/lit-renderer": "~25.2.
|
|
47
|
-
"@vaadin/overlay": "~25.2.
|
|
48
|
-
"@vaadin/vaadin-themable-mixin": "~25.2.
|
|
40
|
+
"@vaadin/a11y-base": "~25.2.5",
|
|
41
|
+
"@vaadin/combo-box": "~25.2.5",
|
|
42
|
+
"@vaadin/component-base": "~25.2.5",
|
|
43
|
+
"@vaadin/field-base": "~25.2.5",
|
|
44
|
+
"@vaadin/input-container": "~25.2.5",
|
|
45
|
+
"@vaadin/item": "~25.2.5",
|
|
46
|
+
"@vaadin/lit-renderer": "~25.2.5",
|
|
47
|
+
"@vaadin/overlay": "~25.2.5",
|
|
48
|
+
"@vaadin/vaadin-themable-mixin": "~25.2.5",
|
|
49
49
|
"lit": "^3.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@vaadin/aura": "~25.2.
|
|
53
|
-
"@vaadin/chai-plugins": "~25.2.
|
|
54
|
-
"@vaadin/test-runner-commands": "~25.2.
|
|
52
|
+
"@vaadin/aura": "~25.2.5",
|
|
53
|
+
"@vaadin/chai-plugins": "~25.2.5",
|
|
54
|
+
"@vaadin/test-runner-commands": "~25.2.5",
|
|
55
55
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
56
|
-
"@vaadin/vaadin-lumo-styles": "~25.2.
|
|
56
|
+
"@vaadin/vaadin-lumo-styles": "~25.2.5",
|
|
57
57
|
"sinon": "^22.0.0"
|
|
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": "bfaf51d71619f34c0b00b326e6426f1cd9f7b2f5"
|
|
65
65
|
}
|
|
@@ -481,8 +481,10 @@ export const MultiSelectComboBoxMixin = (superClass) =>
|
|
|
481
481
|
getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || '65vh';
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
+
const isClosing = this.hasAttribute('closing');
|
|
485
|
+
|
|
484
486
|
this._scroller.setProperties({
|
|
485
|
-
items: opened ? items : [],
|
|
487
|
+
items: opened || isClosing ? items : [],
|
|
486
488
|
opened,
|
|
487
489
|
focusedIndex,
|
|
488
490
|
theme,
|
|
@@ -1314,6 +1316,10 @@ export const MultiSelectComboBoxMixin = (superClass) =>
|
|
|
1314
1316
|
_overlaySelectedItemChanged(event) {
|
|
1315
1317
|
event.stopPropagation();
|
|
1316
1318
|
|
|
1319
|
+
if (this.hasAttribute('closing')) {
|
|
1320
|
+
return;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1317
1323
|
// Do not un-select on click when readonly
|
|
1318
1324
|
if (this.readonly) {
|
|
1319
1325
|
return;
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/multi-select-combo-box",
|
|
4
|
-
"version": "25.2.
|
|
4
|
+
"version": "25.2.5",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
"name": "clear-button-visible",
|
|
96
|
-
"description": "Set to true to display the clear icon which clears the input.\
|
|
96
|
+
"description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
|
|
97
97
|
"value": {
|
|
98
98
|
"type": [
|
|
99
99
|
"boolean"
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
},
|
|
396
396
|
{
|
|
397
397
|
"name": "clearButtonVisible",
|
|
398
|
-
"description": "Set to true to display the clear icon which clears the input.\
|
|
398
|
+
"description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
|
|
399
399
|
"value": {
|
|
400
400
|
"type": [
|
|
401
401
|
"boolean"
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/multi-select-combo-box",
|
|
4
|
-
"version": "25.2.
|
|
4
|
+
"version": "25.2.5",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"name": "?clearButtonVisible",
|
|
87
|
-
"description": "Set to true to display the clear icon which clears the input.\
|
|
87
|
+
"description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
|
|
88
88
|
"value": {
|
|
89
89
|
"kind": "expression"
|
|
90
90
|
}
|