@vaadin/multi-select-combo-box 24.2.2 → 24.2.4
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": "24.2.
|
|
3
|
+
"version": "24.2.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/a11y-base": "~24.2.
|
|
41
|
-
"@vaadin/combo-box": "~24.2.
|
|
42
|
-
"@vaadin/component-base": "~24.2.
|
|
43
|
-
"@vaadin/field-base": "~24.2.
|
|
44
|
-
"@vaadin/input-container": "~24.2.
|
|
45
|
-
"@vaadin/item": "~24.2.
|
|
46
|
-
"@vaadin/lit-renderer": "~24.2.
|
|
47
|
-
"@vaadin/overlay": "~24.2.
|
|
48
|
-
"@vaadin/vaadin-lumo-styles": "~24.2.
|
|
49
|
-
"@vaadin/vaadin-material-styles": "~24.2.
|
|
50
|
-
"@vaadin/vaadin-themable-mixin": "~24.2.
|
|
40
|
+
"@vaadin/a11y-base": "~24.2.4",
|
|
41
|
+
"@vaadin/combo-box": "~24.2.4",
|
|
42
|
+
"@vaadin/component-base": "~24.2.4",
|
|
43
|
+
"@vaadin/field-base": "~24.2.4",
|
|
44
|
+
"@vaadin/input-container": "~24.2.4",
|
|
45
|
+
"@vaadin/item": "~24.2.4",
|
|
46
|
+
"@vaadin/lit-renderer": "~24.2.4",
|
|
47
|
+
"@vaadin/overlay": "~24.2.4",
|
|
48
|
+
"@vaadin/vaadin-lumo-styles": "~24.2.4",
|
|
49
|
+
"@vaadin/vaadin-material-styles": "~24.2.4",
|
|
50
|
+
"@vaadin/vaadin-themable-mixin": "~24.2.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"web-types.json",
|
|
60
60
|
"web-types.lit.json"
|
|
61
61
|
],
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "885416de13069b7409ac90c1b323a58ac87da6ce"
|
|
63
63
|
}
|
|
@@ -140,6 +140,22 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
|
|
|
140
140
|
this._toggleElement = this.querySelector('.toggle-button');
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
/**
|
|
144
|
+
* Override combo-box method to group selected
|
|
145
|
+
* items at the top of the overlay.
|
|
146
|
+
*
|
|
147
|
+
* @protected
|
|
148
|
+
* @override
|
|
149
|
+
*/
|
|
150
|
+
_setDropdownItems(items) {
|
|
151
|
+
if (this.readonly) {
|
|
152
|
+
this._dropdownItems = this.selectedItems;
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
this._dropdownItems = items;
|
|
157
|
+
}
|
|
158
|
+
|
|
143
159
|
/**
|
|
144
160
|
* Override combo-box method to set correct owner for using by item renderers.
|
|
145
161
|
* This needs to be done before the scroller gets added to the DOM to ensure
|
package/web-types.json
CHANGED