@vaadin/multi-select-combo-box 24.4.0-alpha8 → 24.4.0-beta1

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.4.0-alpha8",
3
+ "version": "24.4.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,17 +38,17 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/a11y-base": "24.4.0-alpha8",
42
- "@vaadin/combo-box": "24.4.0-alpha8",
43
- "@vaadin/component-base": "24.4.0-alpha8",
44
- "@vaadin/field-base": "24.4.0-alpha8",
45
- "@vaadin/input-container": "24.4.0-alpha8",
46
- "@vaadin/item": "24.4.0-alpha8",
47
- "@vaadin/lit-renderer": "24.4.0-alpha8",
48
- "@vaadin/overlay": "24.4.0-alpha8",
49
- "@vaadin/vaadin-lumo-styles": "24.4.0-alpha8",
50
- "@vaadin/vaadin-material-styles": "24.4.0-alpha8",
51
- "@vaadin/vaadin-themable-mixin": "24.4.0-alpha8"
41
+ "@vaadin/a11y-base": "24.4.0-beta1",
42
+ "@vaadin/combo-box": "24.4.0-beta1",
43
+ "@vaadin/component-base": "24.4.0-beta1",
44
+ "@vaadin/field-base": "24.4.0-beta1",
45
+ "@vaadin/input-container": "24.4.0-beta1",
46
+ "@vaadin/item": "24.4.0-beta1",
47
+ "@vaadin/lit-renderer": "24.4.0-beta1",
48
+ "@vaadin/overlay": "24.4.0-beta1",
49
+ "@vaadin/vaadin-lumo-styles": "24.4.0-beta1",
50
+ "@vaadin/vaadin-material-styles": "24.4.0-beta1",
51
+ "@vaadin/vaadin-themable-mixin": "24.4.0-beta1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@esm-bundle/chai": "^4.3.4",
@@ -60,5 +60,5 @@
60
60
  "web-types.json",
61
61
  "web-types.lit.json"
62
62
  ],
63
- "gitHead": "a26ec541cd39218eb2af1fe5f627c9ddd9f2df69"
63
+ "gitHead": "504787f741d677467ae93ca7cd31d84489366a9c"
64
64
  }
@@ -413,17 +413,15 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
413
413
  * Override method inherited from the combo-box
414
414
  * to not request data provider when read-only.
415
415
  *
416
- * @param {number}
417
- * @return {boolean}
418
416
  * @protected
419
417
  * @override
420
418
  */
421
- _shouldLoadPage(page) {
419
+ _shouldFetchData() {
422
420
  if (this.readonly) {
423
421
  return false;
424
422
  }
425
423
 
426
- return super._shouldLoadPage(page);
424
+ return super._shouldFetchData();
427
425
  }
428
426
 
429
427
  /**
@@ -1283,6 +1283,12 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
1283
1283
  // and keep the overlay opened when clicking a chip.
1284
1284
  event.preventDefault();
1285
1285
  }
1286
+
1287
+ /**
1288
+ * Fired when the user sets a custom value.
1289
+ * @event custom-value-set
1290
+ * @param {string} detail the custom value
1291
+ */
1286
1292
  }
1287
1293
 
1288
1294
  defineCustomElement(MultiSelectComboBox);
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.4.0-alpha8",
4
+ "version": "24.4.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -795,6 +795,10 @@
795
795
  "name": "input",
796
796
  "description": "Fired when the value is changed by the user: on every typing keystroke,\nand the value is cleared using the clear button."
797
797
  },
798
+ {
799
+ "name": "custom-value-set",
800
+ "description": "Fired when the user sets a custom value."
801
+ },
798
802
  {
799
803
  "name": "selected-items-changed",
800
804
  "description": "Fired when the `selectedItems` property changes."
@@ -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.4.0-alpha8",
4
+ "version": "24.4.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -299,6 +299,13 @@
299
299
  "kind": "expression"
300
300
  }
301
301
  },
302
+ {
303
+ "name": "@custom-value-set",
304
+ "description": "Fired when the user sets a custom value.",
305
+ "value": {
306
+ "kind": "expression"
307
+ }
308
+ },
302
309
  {
303
310
  "name": "@selected-items-changed",
304
311
  "description": "Fired when the `selectedItems` property changes.",