@vaadin/multi-select-combo-box 25.3.0-alpha4 → 25.3.0-alpha6

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": "25.3.0-alpha4",
3
+ "version": "25.3.0-alpha6",
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.3.0-alpha4",
41
- "@vaadin/combo-box": "25.3.0-alpha4",
42
- "@vaadin/component-base": "25.3.0-alpha4",
43
- "@vaadin/field-base": "25.3.0-alpha4",
44
- "@vaadin/input-container": "25.3.0-alpha4",
45
- "@vaadin/item": "25.3.0-alpha4",
46
- "@vaadin/lit-renderer": "25.3.0-alpha4",
47
- "@vaadin/overlay": "25.3.0-alpha4",
48
- "@vaadin/vaadin-themable-mixin": "25.3.0-alpha4",
40
+ "@vaadin/a11y-base": "25.3.0-alpha6",
41
+ "@vaadin/combo-box": "25.3.0-alpha6",
42
+ "@vaadin/component-base": "25.3.0-alpha6",
43
+ "@vaadin/field-base": "25.3.0-alpha6",
44
+ "@vaadin/input-container": "25.3.0-alpha6",
45
+ "@vaadin/item": "25.3.0-alpha6",
46
+ "@vaadin/lit-renderer": "25.3.0-alpha6",
47
+ "@vaadin/overlay": "25.3.0-alpha6",
48
+ "@vaadin/vaadin-themable-mixin": "25.3.0-alpha6",
49
49
  "lit": "^3.0.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@vaadin/aura": "25.3.0-alpha4",
53
- "@vaadin/chai-plugins": "25.3.0-alpha4",
54
- "@vaadin/test-runner-commands": "25.3.0-alpha4",
52
+ "@vaadin/aura": "25.3.0-alpha6",
53
+ "@vaadin/chai-plugins": "25.3.0-alpha6",
54
+ "@vaadin/test-runner-commands": "25.3.0-alpha6",
55
55
  "@vaadin/testing-helpers": "^2.0.0",
56
- "@vaadin/vaadin-lumo-styles": "25.3.0-alpha4",
56
+ "@vaadin/vaadin-lumo-styles": "25.3.0-alpha6",
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": "ff0efcd52d3b8a081e8101d36cf7bef65ed71cb1"
64
+ "gitHead": "92c124fb9cff367bc07e734d8e65707facd0bd43"
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.3.0-alpha4",
4
+ "version": "25.3.0-alpha6",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -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.3.0-alpha4",
4
+ "version": "25.3.0-alpha6",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {