@vaadin/multi-select-combo-box 24.5.0-alpha6 → 24.5.0-alpha8
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.5.0-
|
|
3
|
+
"version": "24.5.0-alpha8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,27 +38,27 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@polymer/polymer": "^3.0.0",
|
|
41
|
-
"@vaadin/a11y-base": "24.5.0-
|
|
42
|
-
"@vaadin/combo-box": "24.5.0-
|
|
43
|
-
"@vaadin/component-base": "24.5.0-
|
|
44
|
-
"@vaadin/field-base": "24.5.0-
|
|
45
|
-
"@vaadin/input-container": "24.5.0-
|
|
46
|
-
"@vaadin/item": "24.5.0-
|
|
47
|
-
"@vaadin/lit-renderer": "24.5.0-
|
|
48
|
-
"@vaadin/overlay": "24.5.0-
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "24.5.0-
|
|
50
|
-
"@vaadin/vaadin-material-styles": "24.5.0-
|
|
51
|
-
"@vaadin/vaadin-themable-mixin": "24.5.0-
|
|
41
|
+
"@vaadin/a11y-base": "24.5.0-alpha8",
|
|
42
|
+
"@vaadin/combo-box": "24.5.0-alpha8",
|
|
43
|
+
"@vaadin/component-base": "24.5.0-alpha8",
|
|
44
|
+
"@vaadin/field-base": "24.5.0-alpha8",
|
|
45
|
+
"@vaadin/input-container": "24.5.0-alpha8",
|
|
46
|
+
"@vaadin/item": "24.5.0-alpha8",
|
|
47
|
+
"@vaadin/lit-renderer": "24.5.0-alpha8",
|
|
48
|
+
"@vaadin/overlay": "24.5.0-alpha8",
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha8",
|
|
50
|
+
"@vaadin/vaadin-material-styles": "24.5.0-alpha8",
|
|
51
|
+
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha8"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"@vaadin/testing-helpers": "^0.
|
|
54
|
+
"@vaadin/chai-plugins": "24.5.0-alpha8",
|
|
55
|
+
"@vaadin/testing-helpers": "^1.0.0",
|
|
56
56
|
"lit": "^3.0.0",
|
|
57
|
-
"sinon": "^
|
|
57
|
+
"sinon": "^18.0.0"
|
|
58
58
|
},
|
|
59
59
|
"web-types": [
|
|
60
60
|
"web-types.json",
|
|
61
61
|
"web-types.lit.json"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "1e227aaa55df3f5dae3d477b9afb5fce4f5ece33"
|
|
64
64
|
}
|
|
@@ -399,6 +399,10 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
|
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
if (this.opened) {
|
|
402
|
+
// Store filter value for checking if user input is matching
|
|
403
|
+
// an item which is already selected, to not un-select it.
|
|
404
|
+
this.lastFilter = this.filter;
|
|
405
|
+
|
|
402
406
|
this.dispatchEvent(
|
|
403
407
|
new CustomEvent('combo-box-item-selected', {
|
|
404
408
|
detail: {
|
|
@@ -72,8 +72,8 @@ const multiSelectComboBox = css`
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* Override input-container styles */
|
|
75
|
-
::slotted([slot='chip']),
|
|
76
|
-
::slotted([slot='overflow']) {
|
|
75
|
+
[part='input-field'] ::slotted([slot='chip']),
|
|
76
|
+
[part='input-field'] ::slotted([slot='overflow']) {
|
|
77
77
|
min-height: auto;
|
|
78
78
|
padding: 0.3125em calc(0.5em + var(--lumo-border-radius-s) / 4);
|
|
79
79
|
color: var(--lumo-body-text-color);
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED