@vaadin/multi-select-combo-box 23.3.20 → 23.3.22

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": "23.3.20",
3
+ "version": "23.3.22",
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": "~23.3.20",
41
- "@vaadin/component-base": "~23.3.20",
42
- "@vaadin/field-base": "~23.3.20",
43
- "@vaadin/input-container": "~23.3.20",
44
- "@vaadin/lit-renderer": "~23.3.20",
45
- "@vaadin/vaadin-lumo-styles": "~23.3.20",
46
- "@vaadin/vaadin-material-styles": "~23.3.20",
47
- "@vaadin/vaadin-themable-mixin": "~23.3.20"
40
+ "@vaadin/combo-box": "~23.3.22",
41
+ "@vaadin/component-base": "~23.3.22",
42
+ "@vaadin/field-base": "~23.3.22",
43
+ "@vaadin/input-container": "~23.3.22",
44
+ "@vaadin/lit-renderer": "~23.3.22",
45
+ "@vaadin/vaadin-lumo-styles": "~23.3.22",
46
+ "@vaadin/vaadin-material-styles": "~23.3.22",
47
+ "@vaadin/vaadin-themable-mixin": "~23.3.22"
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": "6010ff63c0309ece424067a17b72e83dfa6db347"
59
+ "gitHead": "88ff9ce571e2cb894223e9a8f275c1bd8fd51e3e"
60
60
  }
@@ -203,6 +203,25 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
203
203
  super._closeOrCommit();
204
204
  }
205
205
 
206
+ /**
207
+ * Override Escape handler to not clear
208
+ * selected items when readonly.
209
+ * @param {!Event} event
210
+ * @protected
211
+ * @override
212
+ */
213
+ _onEscape(event) {
214
+ if (this.readonly) {
215
+ event.stopPropagation();
216
+ if (this.opened) {
217
+ this.close();
218
+ }
219
+ return;
220
+ }
221
+
222
+ super._onEscape(event);
223
+ }
224
+
206
225
  /**
207
226
  * @protected
208
227
  * @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": "23.3.20",
4
+ "version": "23.3.22",
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": "23.3.20",
4
+ "version": "23.3.22",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {