@vaadin/multi-select-combo-box 24.6.0-alpha7 → 24.6.0-alpha9

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.6.0-alpha7",
3
+ "version": "24.6.0-alpha9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,20 +38,20 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/a11y-base": "24.6.0-alpha7",
42
- "@vaadin/combo-box": "24.6.0-alpha7",
43
- "@vaadin/component-base": "24.6.0-alpha7",
44
- "@vaadin/field-base": "24.6.0-alpha7",
45
- "@vaadin/input-container": "24.6.0-alpha7",
46
- "@vaadin/item": "24.6.0-alpha7",
47
- "@vaadin/lit-renderer": "24.6.0-alpha7",
48
- "@vaadin/overlay": "24.6.0-alpha7",
49
- "@vaadin/vaadin-lumo-styles": "24.6.0-alpha7",
50
- "@vaadin/vaadin-material-styles": "24.6.0-alpha7",
51
- "@vaadin/vaadin-themable-mixin": "24.6.0-alpha7"
41
+ "@vaadin/a11y-base": "24.6.0-alpha9",
42
+ "@vaadin/combo-box": "24.6.0-alpha9",
43
+ "@vaadin/component-base": "24.6.0-alpha9",
44
+ "@vaadin/field-base": "24.6.0-alpha9",
45
+ "@vaadin/input-container": "24.6.0-alpha9",
46
+ "@vaadin/item": "24.6.0-alpha9",
47
+ "@vaadin/lit-renderer": "24.6.0-alpha9",
48
+ "@vaadin/overlay": "24.6.0-alpha9",
49
+ "@vaadin/vaadin-lumo-styles": "24.6.0-alpha9",
50
+ "@vaadin/vaadin-material-styles": "24.6.0-alpha9",
51
+ "@vaadin/vaadin-themable-mixin": "24.6.0-alpha9"
52
52
  },
53
53
  "devDependencies": {
54
- "@vaadin/chai-plugins": "24.6.0-alpha7",
54
+ "@vaadin/chai-plugins": "24.6.0-alpha9",
55
55
  "@vaadin/testing-helpers": "^1.0.0",
56
56
  "lit": "^3.0.0",
57
57
  "sinon": "^18.0.0"
@@ -60,5 +60,5 @@
60
60
  "web-types.json",
61
61
  "web-types.lit.json"
62
62
  ],
63
- "gitHead": "675d6fe0a08b8cc63ac00140c63f28fc3f52e4ea"
63
+ "gitHead": "e303d77ba20c3089c9998be9a318733d9ec5b53c"
64
64
  }
@@ -689,7 +689,7 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
689
689
  // losing focus, which happens on browser tab switch.
690
690
  if (!focused && document.hasFocus()) {
691
691
  this._focusedChipIndex = -1;
692
- this.validate();
692
+ this._requestValidation();
693
693
  }
694
694
  }
695
695
 
@@ -928,7 +928,7 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
928
928
  __updateSelection(selectedItems) {
929
929
  this.selectedItems = selectedItems;
930
930
 
931
- this.validate();
931
+ this._requestValidation();
932
932
 
933
933
  this.dispatchEvent(new CustomEvent('change', { bubbles: true }));
934
934
  }
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.6.0-alpha7",
4
+ "version": "24.6.0-alpha9",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -54,6 +54,17 @@
54
54
  ]
55
55
  }
56
56
  },
57
+ {
58
+ "name": "manual-validation",
59
+ "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
60
+ "value": {
61
+ "type": [
62
+ "boolean",
63
+ "null",
64
+ "undefined"
65
+ ]
66
+ }
67
+ },
57
68
  {
58
69
  "name": "required",
59
70
  "description": "Specifies that the user must fill in a value.",
@@ -420,6 +431,17 @@
420
431
  ]
421
432
  }
422
433
  },
434
+ {
435
+ "name": "manualValidation",
436
+ "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
437
+ "value": {
438
+ "type": [
439
+ "boolean",
440
+ "null",
441
+ "undefined"
442
+ ]
443
+ }
444
+ },
423
445
  {
424
446
  "name": "required",
425
447
  "description": "Specifies that the user must fill in a value.",
@@ -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.6.0-alpha7",
4
+ "version": "24.6.0-alpha9",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -40,6 +40,13 @@
40
40
  "kind": "expression"
41
41
  }
42
42
  },
43
+ {
44
+ "name": "?manualValidation",
45
+ "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
46
+ "value": {
47
+ "kind": "expression"
48
+ }
49
+ },
43
50
  {
44
51
  "name": "?required",
45
52
  "description": "Specifies that the user must fill in a value.",