@vaadin/multi-select-combo-box 24.6.0-alpha7 → 24.6.0-alpha8
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 +14 -14
- package/src/vaadin-multi-select-combo-box.js +2 -2
- package/web-types.json +23 -1
- package/web-types.lit.json +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/multi-select-combo-box",
|
|
3
|
-
"version": "24.6.0-
|
|
3
|
+
"version": "24.6.0-alpha8",
|
|
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-
|
|
42
|
-
"@vaadin/combo-box": "24.6.0-
|
|
43
|
-
"@vaadin/component-base": "24.6.0-
|
|
44
|
-
"@vaadin/field-base": "24.6.0-
|
|
45
|
-
"@vaadin/input-container": "24.6.0-
|
|
46
|
-
"@vaadin/item": "24.6.0-
|
|
47
|
-
"@vaadin/lit-renderer": "24.6.0-
|
|
48
|
-
"@vaadin/overlay": "24.6.0-
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "24.6.0-
|
|
50
|
-
"@vaadin/vaadin-material-styles": "24.6.0-
|
|
51
|
-
"@vaadin/vaadin-themable-mixin": "24.6.0-
|
|
41
|
+
"@vaadin/a11y-base": "24.6.0-alpha8",
|
|
42
|
+
"@vaadin/combo-box": "24.6.0-alpha8",
|
|
43
|
+
"@vaadin/component-base": "24.6.0-alpha8",
|
|
44
|
+
"@vaadin/field-base": "24.6.0-alpha8",
|
|
45
|
+
"@vaadin/input-container": "24.6.0-alpha8",
|
|
46
|
+
"@vaadin/item": "24.6.0-alpha8",
|
|
47
|
+
"@vaadin/lit-renderer": "24.6.0-alpha8",
|
|
48
|
+
"@vaadin/overlay": "24.6.0-alpha8",
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "24.6.0-alpha8",
|
|
50
|
+
"@vaadin/vaadin-material-styles": "24.6.0-alpha8",
|
|
51
|
+
"@vaadin/vaadin-themable-mixin": "24.6.0-alpha8"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@vaadin/chai-plugins": "24.6.0-
|
|
54
|
+
"@vaadin/chai-plugins": "24.6.0-alpha8",
|
|
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": "
|
|
63
|
+
"gitHead": "a11e1510c4caa08775b202714f5fc1198c22132a"
|
|
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.
|
|
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.
|
|
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-
|
|
4
|
+
"version": "24.6.0-alpha8",
|
|
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.",
|
package/web-types.lit.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-
|
|
4
|
+
"version": "24.6.0-alpha8",
|
|
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.",
|