@vaadin/multi-select-combo-box 23.4.0-alpha1 → 23.4.0-alpha2

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.4.0-alpha1",
3
+ "version": "23.4.0-alpha2",
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.4.0-alpha1",
41
- "@vaadin/component-base": "23.4.0-alpha1",
42
- "@vaadin/field-base": "23.4.0-alpha1",
43
- "@vaadin/input-container": "23.4.0-alpha1",
44
- "@vaadin/lit-renderer": "23.4.0-alpha1",
45
- "@vaadin/vaadin-lumo-styles": "23.4.0-alpha1",
46
- "@vaadin/vaadin-material-styles": "23.4.0-alpha1",
47
- "@vaadin/vaadin-themable-mixin": "23.4.0-alpha1"
40
+ "@vaadin/combo-box": "23.4.0-alpha2",
41
+ "@vaadin/component-base": "23.4.0-alpha2",
42
+ "@vaadin/field-base": "23.4.0-alpha2",
43
+ "@vaadin/input-container": "23.4.0-alpha2",
44
+ "@vaadin/lit-renderer": "23.4.0-alpha2",
45
+ "@vaadin/vaadin-lumo-styles": "23.4.0-alpha2",
46
+ "@vaadin/vaadin-material-styles": "23.4.0-alpha2",
47
+ "@vaadin/vaadin-themable-mixin": "23.4.0-alpha2"
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": "a7cdbab591c62ee8dbc0e91fee877fbbf4b92bad"
59
+ "gitHead": "3fa9a5d13db6baf0307f863669ab2f3f5114c6a0"
60
60
  }
@@ -171,7 +171,7 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
171
171
  if (items && items.length && this.topGroup && this.topGroup.length) {
172
172
  // Filter out items included to the top group.
173
173
  const filteredItems = items.filter(
174
- (item) => !this.topGroup.some((selectedItem) => this._getItemValue(item) === this._getItemValue(selectedItem)),
174
+ (item) => this._comboBox._findIndex(item, this.topGroup, this.itemIdPath) === -1,
175
175
  );
176
176
 
177
177
  this._dropdownItems = this.topGroup.concat(filteredItems);
@@ -199,6 +199,8 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
199
199
  _initScroller() {
200
200
  const comboBox = this.getRootNode().host;
201
201
 
202
+ this._comboBox = comboBox;
203
+
202
204
  super._initScroller(comboBox);
203
205
  }
204
206
 
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.4.0-alpha1",
4
+ "version": "23.4.0-alpha2",
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.4.0-alpha1",
4
+ "version": "23.4.0-alpha2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {