@vaadin/multi-select-combo-box 24.1.4 → 24.1.6

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.1.4",
3
+ "version": "24.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,17 +37,17 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/a11y-base": "~24.1.4",
41
- "@vaadin/combo-box": "~24.1.4",
42
- "@vaadin/component-base": "~24.1.4",
43
- "@vaadin/field-base": "~24.1.4",
44
- "@vaadin/input-container": "~24.1.4",
45
- "@vaadin/item": "~24.1.4",
46
- "@vaadin/lit-renderer": "~24.1.4",
47
- "@vaadin/overlay": "~24.1.4",
48
- "@vaadin/vaadin-lumo-styles": "~24.1.4",
49
- "@vaadin/vaadin-material-styles": "~24.1.4",
50
- "@vaadin/vaadin-themable-mixin": "~24.1.4"
40
+ "@vaadin/a11y-base": "~24.1.6",
41
+ "@vaadin/combo-box": "~24.1.6",
42
+ "@vaadin/component-base": "~24.1.6",
43
+ "@vaadin/field-base": "~24.1.6",
44
+ "@vaadin/input-container": "~24.1.6",
45
+ "@vaadin/item": "~24.1.6",
46
+ "@vaadin/lit-renderer": "~24.1.6",
47
+ "@vaadin/overlay": "~24.1.6",
48
+ "@vaadin/vaadin-lumo-styles": "~24.1.6",
49
+ "@vaadin/vaadin-material-styles": "~24.1.6",
50
+ "@vaadin/vaadin-themable-mixin": "~24.1.6"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@esm-bundle/chai": "^4.3.4",
@@ -59,5 +59,5 @@
59
59
  "web-types.json",
60
60
  "web-types.lit.json"
61
61
  ],
62
- "gitHead": "1853b0a2aa3fac786ab9e5094af67fa3b99e5a0d"
62
+ "gitHead": "b43b09ece1efbaf1e6eee32166fcd9e8effa038e"
63
63
  }
@@ -189,6 +189,25 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
189
189
  super._closeOrCommit();
190
190
  }
191
191
 
192
+ /**
193
+ * Override Escape handler to not clear
194
+ * selected items when readonly.
195
+ * @param {!Event} event
196
+ * @protected
197
+ * @override
198
+ */
199
+ _onEscape(event) {
200
+ if (this.readonly) {
201
+ event.stopPropagation();
202
+ if (this.opened) {
203
+ this.close();
204
+ }
205
+ return;
206
+ }
207
+
208
+ super._onEscape(event);
209
+ }
210
+
192
211
  /**
193
212
  * @protected
194
213
  * @override
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": "24.1.4",
4
+ "version": "24.1.6",
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": "24.1.4",
4
+ "version": "24.1.6",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {