@vaadin/multi-select-combo-box 24.7.0-alpha1 → 24.7.0-alpha2
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.7.0-
|
|
3
|
+
"version": "24.7.0-alpha2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
41
41
|
"@polymer/polymer": "^3.0.0",
|
|
42
|
-
"@vaadin/a11y-base": "24.7.0-
|
|
43
|
-
"@vaadin/combo-box": "24.7.0-
|
|
44
|
-
"@vaadin/component-base": "24.7.0-
|
|
45
|
-
"@vaadin/field-base": "24.7.0-
|
|
46
|
-
"@vaadin/input-container": "24.7.0-
|
|
47
|
-
"@vaadin/item": "24.7.0-
|
|
48
|
-
"@vaadin/lit-renderer": "24.7.0-
|
|
49
|
-
"@vaadin/overlay": "24.7.0-
|
|
50
|
-
"@vaadin/vaadin-lumo-styles": "24.7.0-
|
|
51
|
-
"@vaadin/vaadin-material-styles": "24.7.0-
|
|
52
|
-
"@vaadin/vaadin-themable-mixin": "24.7.0-
|
|
42
|
+
"@vaadin/a11y-base": "24.7.0-alpha2",
|
|
43
|
+
"@vaadin/combo-box": "24.7.0-alpha2",
|
|
44
|
+
"@vaadin/component-base": "24.7.0-alpha2",
|
|
45
|
+
"@vaadin/field-base": "24.7.0-alpha2",
|
|
46
|
+
"@vaadin/input-container": "24.7.0-alpha2",
|
|
47
|
+
"@vaadin/item": "24.7.0-alpha2",
|
|
48
|
+
"@vaadin/lit-renderer": "24.7.0-alpha2",
|
|
49
|
+
"@vaadin/overlay": "24.7.0-alpha2",
|
|
50
|
+
"@vaadin/vaadin-lumo-styles": "24.7.0-alpha2",
|
|
51
|
+
"@vaadin/vaadin-material-styles": "24.7.0-alpha2",
|
|
52
|
+
"@vaadin/vaadin-themable-mixin": "24.7.0-alpha2",
|
|
53
53
|
"lit": "^3.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@vaadin/chai-plugins": "24.7.0-
|
|
56
|
+
"@vaadin/chai-plugins": "24.7.0-alpha2",
|
|
57
57
|
"@vaadin/testing-helpers": "^1.0.0",
|
|
58
58
|
"sinon": "^18.0.0"
|
|
59
59
|
},
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"web-types.json",
|
|
62
62
|
"web-types.lit.json"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "e2523f9b4abc5a9586fb758166f823dc40c399dd"
|
|
65
65
|
}
|
|
@@ -147,11 +147,7 @@ export const MultiSelectComboBoxInternalMixin = (superClass) =>
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
/** @protected */
|
|
150
|
-
|
|
151
|
-
if (!this.$ && this.updateComplete) {
|
|
152
|
-
await this.updateComplete;
|
|
153
|
-
}
|
|
154
|
-
|
|
150
|
+
_updateOverlayWidth() {
|
|
155
151
|
this.$.overlay._updateOverlayWidth();
|
|
156
152
|
}
|
|
157
153
|
|
|
@@ -809,15 +809,11 @@ export const MultiSelectComboBoxMixin = (superClass) =>
|
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
/** @private */
|
|
812
|
-
|
|
812
|
+
__updateChips() {
|
|
813
813
|
if (!this._inputField || !this.inputElement) {
|
|
814
814
|
return;
|
|
815
815
|
}
|
|
816
816
|
|
|
817
|
-
if (!this._inputField.$) {
|
|
818
|
-
await this._inputField.updateComplete;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
817
|
// Clear all chips except the overflow
|
|
822
818
|
this._chips.forEach((chip) => {
|
|
823
819
|
chip.remove();
|
|
@@ -844,10 +840,6 @@ export const MultiSelectComboBoxMixin = (superClass) =>
|
|
|
844
840
|
for (let i = items.length - 1, refNode = null; i >= 0; i--) {
|
|
845
841
|
const chip = this.__createChip(items[i]);
|
|
846
842
|
this.insertBefore(chip, refNode);
|
|
847
|
-
// Render Lit based chip
|
|
848
|
-
if (chip.performUpdate) {
|
|
849
|
-
chip.performUpdate();
|
|
850
|
-
}
|
|
851
843
|
refNode = chip;
|
|
852
844
|
chips.unshift(chip);
|
|
853
845
|
}
|
|
@@ -883,10 +875,6 @@ export const MultiSelectComboBoxMixin = (superClass) =>
|
|
|
883
875
|
for (let i = items.length - 1, refNode = null; i >= 0; i--) {
|
|
884
876
|
const chip = this.__createChip(items[i]);
|
|
885
877
|
this.insertBefore(chip, refNode);
|
|
886
|
-
// Render Lit based chip
|
|
887
|
-
if (chip.performUpdate) {
|
|
888
|
-
chip.performUpdate();
|
|
889
|
-
}
|
|
890
878
|
|
|
891
879
|
// When auto expanding vertically, no need to measure remaining width
|
|
892
880
|
if (!this.autoExpandVertically && this.$.chips.clientWidth > remainingWidth) {
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED