@vaadin/multi-select-combo-box 25.1.7 → 25.1.8

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.1.7",
3
+ "version": "25.1.8",
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.1.7",
41
- "@vaadin/combo-box": "~25.1.7",
42
- "@vaadin/component-base": "~25.1.7",
43
- "@vaadin/field-base": "~25.1.7",
44
- "@vaadin/input-container": "~25.1.7",
45
- "@vaadin/item": "~25.1.7",
46
- "@vaadin/lit-renderer": "~25.1.7",
47
- "@vaadin/overlay": "~25.1.7",
48
- "@vaadin/vaadin-themable-mixin": "~25.1.7",
40
+ "@vaadin/a11y-base": "~25.1.8",
41
+ "@vaadin/combo-box": "~25.1.8",
42
+ "@vaadin/component-base": "~25.1.8",
43
+ "@vaadin/field-base": "~25.1.8",
44
+ "@vaadin/input-container": "~25.1.8",
45
+ "@vaadin/item": "~25.1.8",
46
+ "@vaadin/lit-renderer": "~25.1.8",
47
+ "@vaadin/overlay": "~25.1.8",
48
+ "@vaadin/vaadin-themable-mixin": "~25.1.8",
49
49
  "lit": "^3.0.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@vaadin/aura": "~25.1.7",
53
- "@vaadin/chai-plugins": "~25.1.7",
54
- "@vaadin/test-runner-commands": "~25.1.7",
52
+ "@vaadin/aura": "~25.1.8",
53
+ "@vaadin/chai-plugins": "~25.1.8",
54
+ "@vaadin/test-runner-commands": "~25.1.8",
55
55
  "@vaadin/testing-helpers": "^2.0.0",
56
- "@vaadin/vaadin-lumo-styles": "~25.1.7",
56
+ "@vaadin/vaadin-lumo-styles": "~25.1.8",
57
57
  "sinon": "^21.0.2"
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": "9872e9dc95ced20136b2f5373760d8e47bf9d44b"
64
+ "gitHead": "284962838c38ec84495ea097b97d6d03cad2069b"
65
65
  }
@@ -471,8 +471,10 @@ export const MultiSelectComboBoxMixin = (superClass) =>
471
471
  getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || '65vh';
472
472
  }
473
473
 
474
+ const isClosing = this.hasAttribute('closing');
475
+
474
476
  this._scroller.setProperties({
475
- items: opened ? items : [],
477
+ items: opened || isClosing ? items : [],
476
478
  opened,
477
479
  focusedIndex,
478
480
  theme,
@@ -1270,6 +1272,10 @@ export const MultiSelectComboBoxMixin = (superClass) =>
1270
1272
  _overlaySelectedItemChanged(event) {
1271
1273
  event.stopPropagation();
1272
1274
 
1275
+ if (this.hasAttribute('closing')) {
1276
+ return;
1277
+ }
1278
+
1273
1279
  // Do not un-select on click when readonly
1274
1280
  if (this.readonly) {
1275
1281
  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.1.7",
4
+ "version": "25.1.8",
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.1.7",
4
+ "version": "25.1.8",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {