@vaadin/multi-select-combo-box 23.1.2 → 23.1.3

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.1.2",
3
+ "version": "23.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,18 +33,18 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@polymer/polymer": "^3.0.0",
36
- "@vaadin/combo-box": "^23.1.2",
37
- "@vaadin/component-base": "^23.1.2",
38
- "@vaadin/field-base": "^23.1.2",
39
- "@vaadin/input-container": "^23.1.2",
40
- "@vaadin/vaadin-lumo-styles": "^23.1.2",
41
- "@vaadin/vaadin-material-styles": "^23.1.2",
42
- "@vaadin/vaadin-themable-mixin": "^23.1.2"
36
+ "@vaadin/combo-box": "^23.1.3",
37
+ "@vaadin/component-base": "^23.1.3",
38
+ "@vaadin/field-base": "^23.1.3",
39
+ "@vaadin/input-container": "^23.1.3",
40
+ "@vaadin/vaadin-lumo-styles": "^23.1.3",
41
+ "@vaadin/vaadin-material-styles": "^23.1.3",
42
+ "@vaadin/vaadin-themable-mixin": "^23.1.3"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
46
46
  "@vaadin/testing-helpers": "^0.3.2",
47
47
  "sinon": "^13.0.2"
48
48
  },
49
- "gitHead": "6fb205c6e9a761feadfb779dd5d7af96d3102e56"
49
+ "gitHead": "3066c296ad0ef652bc49417005523398199f1bf2"
50
50
  }
@@ -305,13 +305,13 @@ declare class MultiSelectComboBox<TItem = ComboBoxDefaultItem> extends HTMLEleme
305
305
  addEventListener<K extends keyof MultiSelectComboBoxEventMap<TItem>>(
306
306
  type: K,
307
307
  listener: (this: MultiSelectComboBox<TItem>, ev: MultiSelectComboBoxEventMap<TItem>[K]) => void,
308
- options?: boolean | AddEventListenerOptions,
308
+ options?: AddEventListenerOptions | boolean,
309
309
  ): void;
310
310
 
311
311
  removeEventListener<K extends keyof MultiSelectComboBoxEventMap<TItem>>(
312
312
  type: K,
313
313
  listener: (this: MultiSelectComboBox<TItem>, ev: MultiSelectComboBoxEventMap<TItem>[K]) => void,
314
- options?: boolean | EventListenerOptions,
314
+ options?: EventListenerOptions | boolean,
315
315
  ): void;
316
316
  }
317
317
 
@@ -749,7 +749,8 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
749
749
  const itemsCopy = [...this.selectedItems];
750
750
  itemsCopy.splice(itemsCopy.indexOf(item), 1);
751
751
  this.__updateSelection(itemsCopy);
752
- this.__announceItem(item, false, itemsCopy.length);
752
+ const itemLabel = this._getItemLabel(item);
753
+ this.__announceItem(itemLabel, false, itemsCopy.length);
753
754
  }
754
755
 
755
756
  /** @private */