@vaadin/multi-select-combo-box 24.0.0-alpha2 → 24.0.0-alpha4
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 +10 -10
- package/src/vaadin-multi-select-combo-box.js +5 -8
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/multi-select-combo-box",
|
|
3
|
-
"version": "24.0.0-
|
|
3
|
+
"version": "24.0.0-alpha4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/combo-box": "24.0.0-
|
|
41
|
-
"@vaadin/component-base": "24.0.0-
|
|
42
|
-
"@vaadin/field-base": "24.0.0-
|
|
43
|
-
"@vaadin/input-container": "24.0.0-
|
|
44
|
-
"@vaadin/lit-renderer": "24.0.0-
|
|
45
|
-
"@vaadin/vaadin-lumo-styles": "24.0.0-
|
|
46
|
-
"@vaadin/vaadin-material-styles": "24.0.0-
|
|
47
|
-
"@vaadin/vaadin-themable-mixin": "24.0.0-
|
|
40
|
+
"@vaadin/combo-box": "24.0.0-alpha4",
|
|
41
|
+
"@vaadin/component-base": "24.0.0-alpha4",
|
|
42
|
+
"@vaadin/field-base": "24.0.0-alpha4",
|
|
43
|
+
"@vaadin/input-container": "24.0.0-alpha4",
|
|
44
|
+
"@vaadin/lit-renderer": "24.0.0-alpha4",
|
|
45
|
+
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha4",
|
|
46
|
+
"@vaadin/vaadin-material-styles": "24.0.0-alpha4",
|
|
47
|
+
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha4"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "66be46e82c4d0a673859fbc9bdb1581dd89f360c"
|
|
60
60
|
}
|
|
@@ -509,15 +509,12 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
|
|
|
509
509
|
|
|
510
510
|
this._inputField = this.shadowRoot.querySelector('[part="input-field"]');
|
|
511
511
|
|
|
512
|
-
this._overflowController = new SlotController(
|
|
513
|
-
|
|
514
|
-
'overflow',
|
|
515
|
-
() => document.createElement('vaadin-multi-select-combo-box-chip'),
|
|
516
|
-
(_, chip) => {
|
|
512
|
+
this._overflowController = new SlotController(this, 'overflow', 'vaadin-multi-select-combo-box-chip', {
|
|
513
|
+
initializer: (chip) => {
|
|
517
514
|
chip.addEventListener('mousedown', (e) => this._preventBlur(e));
|
|
518
515
|
this._overflow = chip;
|
|
519
516
|
},
|
|
520
|
-
);
|
|
517
|
+
});
|
|
521
518
|
this.addController(this._overflowController);
|
|
522
519
|
|
|
523
520
|
this.__updateChips();
|
|
@@ -982,7 +979,7 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
|
|
|
982
979
|
}
|
|
983
980
|
let newIdx;
|
|
984
981
|
|
|
985
|
-
if (this.
|
|
982
|
+
if (!this.__isRTL) {
|
|
986
983
|
if (idx === -1) {
|
|
987
984
|
// Focus last chip
|
|
988
985
|
newIdx = chips.length - 1;
|
|
@@ -1015,7 +1012,7 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
|
|
|
1015
1012
|
}
|
|
1016
1013
|
let newIdx;
|
|
1017
1014
|
|
|
1018
|
-
if (this.
|
|
1015
|
+
if (this.__isRTL) {
|
|
1019
1016
|
if (idx === -1) {
|
|
1020
1017
|
// Focus last chip
|
|
1021
1018
|
newIdx = chips.length - 1;
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED