@vaadin/multi-select-combo-box 24.0.0-alpha10 → 24.0.0-alpha12

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.0.0-alpha10",
3
+ "version": "24.0.0-alpha12",
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": "24.0.0-alpha10",
41
- "@vaadin/component-base": "24.0.0-alpha10",
42
- "@vaadin/field-base": "24.0.0-alpha10",
43
- "@vaadin/input-container": "24.0.0-alpha10",
44
- "@vaadin/lit-renderer": "24.0.0-alpha10",
45
- "@vaadin/vaadin-lumo-styles": "24.0.0-alpha10",
46
- "@vaadin/vaadin-material-styles": "24.0.0-alpha10",
47
- "@vaadin/vaadin-themable-mixin": "24.0.0-alpha10"
40
+ "@vaadin/combo-box": "24.0.0-alpha12",
41
+ "@vaadin/component-base": "24.0.0-alpha12",
42
+ "@vaadin/field-base": "24.0.0-alpha12",
43
+ "@vaadin/input-container": "24.0.0-alpha12",
44
+ "@vaadin/lit-renderer": "24.0.0-alpha12",
45
+ "@vaadin/vaadin-lumo-styles": "24.0.0-alpha12",
46
+ "@vaadin/vaadin-material-styles": "24.0.0-alpha12",
47
+ "@vaadin/vaadin-themable-mixin": "24.0.0-alpha12"
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": "2e04534d8b47bcd216f89b5f849bafef1a73b174"
59
+ "gitHead": "7e29eee4d522fb7b03ac8e7e385e9057d71c79ce"
60
60
  }
@@ -254,6 +254,13 @@ declare class MultiSelectComboBox<TItem = ComboBoxDefaultItem> extends HTMLEleme
254
254
  */
255
255
  loading: boolean;
256
256
 
257
+ /**
258
+ * A space-delimited list of CSS class names to set on the overlay element.
259
+ *
260
+ * @attr {string} overlay-class
261
+ */
262
+ overlayClass: string;
263
+
257
264
  /**
258
265
  * True if the dropdown is open, false otherwise.
259
266
  */
@@ -154,6 +154,7 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
154
154
  readonly="[[readonly]]"
155
155
  auto-open-disabled="[[autoOpenDisabled]]"
156
156
  allow-custom-value="[[allowCustomValue]]"
157
+ overlay-class="[[overlayClass]]"
157
158
  data-provider="[[dataProvider]]"
158
159
  filter="{{filter}}"
159
160
  last-filter="{{_lastFilter}}"
@@ -305,6 +306,15 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
305
306
  reflectToAttribute: true,
306
307
  },
307
308
 
309
+ /**
310
+ * A space-delimited list of CSS class names to set on the overlay element.
311
+ *
312
+ * @attr {string} overlay-class
313
+ */
314
+ overlayClass: {
315
+ type: String,
316
+ },
317
+
308
318
  /**
309
319
  * When present, it specifies that the field is read-only.
310
320
  */
@@ -849,7 +859,7 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
849
859
 
850
860
  /** @private */
851
861
  __updateChips() {
852
- if (!this._inputField) {
862
+ if (!this._inputField || !this.inputElement) {
853
863
  return;
854
864
  }
855
865
 
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.0.0-alpha10",
4
+ "version": "24.0.0-alpha12",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -230,6 +230,17 @@
230
230
  ]
231
231
  }
232
232
  },
233
+ {
234
+ "name": "overlay-class",
235
+ "description": "A space-delimited list of CSS class names to set on the overlay element.",
236
+ "value": {
237
+ "type": [
238
+ "string",
239
+ "null",
240
+ "undefined"
241
+ ]
242
+ }
243
+ },
233
244
  {
234
245
  "name": "opened",
235
246
  "description": "True if the dropdown is open, false otherwise.",
@@ -528,6 +539,17 @@
528
539
  ]
529
540
  }
530
541
  },
542
+ {
543
+ "name": "overlayClass",
544
+ "description": "A space-delimited list of CSS class names to set on the overlay element.",
545
+ "value": {
546
+ "type": [
547
+ "string",
548
+ "null",
549
+ "undefined"
550
+ ]
551
+ }
552
+ },
531
553
  {
532
554
  "name": "selectedItems",
533
555
  "description": "The list of selected items.\nNote: modifying the selected items creates a new array each time.",
@@ -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.0.0-alpha10",
4
+ "version": "24.0.0-alpha12",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -180,6 +180,13 @@
180
180
  "kind": "expression"
181
181
  }
182
182
  },
183
+ {
184
+ "name": ".overlayClass",
185
+ "description": "A space-delimited list of CSS class names to set on the overlay element.",
186
+ "value": {
187
+ "kind": "expression"
188
+ }
189
+ },
183
190
  {
184
191
  "name": ".selectedItems",
185
192
  "description": "The list of selected items.\nNote: modifying the selected items creates a new array each time.",