@vaadin/checkbox-group 24.6.0-alpha6 → 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 +10 -10
- package/src/vaadin-checkbox-group-mixin.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/checkbox-group",
|
|
3
|
-
"version": "24.6.0-
|
|
3
|
+
"version": "24.6.0-alpha8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/a11y-base": "24.6.0-
|
|
41
|
-
"@vaadin/checkbox": "24.6.0-
|
|
42
|
-
"@vaadin/component-base": "24.6.0-
|
|
43
|
-
"@vaadin/field-base": "24.6.0-
|
|
44
|
-
"@vaadin/vaadin-lumo-styles": "24.6.0-
|
|
45
|
-
"@vaadin/vaadin-material-styles": "24.6.0-
|
|
46
|
-
"@vaadin/vaadin-themable-mixin": "24.6.0-
|
|
40
|
+
"@vaadin/a11y-base": "24.6.0-alpha8",
|
|
41
|
+
"@vaadin/checkbox": "24.6.0-alpha8",
|
|
42
|
+
"@vaadin/component-base": "24.6.0-alpha8",
|
|
43
|
+
"@vaadin/field-base": "24.6.0-alpha8",
|
|
44
|
+
"@vaadin/vaadin-lumo-styles": "24.6.0-alpha8",
|
|
45
|
+
"@vaadin/vaadin-material-styles": "24.6.0-alpha8",
|
|
46
|
+
"@vaadin/vaadin-themable-mixin": "24.6.0-alpha8",
|
|
47
47
|
"lit": "^3.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@vaadin/chai-plugins": "24.6.0-
|
|
50
|
+
"@vaadin/chai-plugins": "24.6.0-alpha8",
|
|
51
51
|
"@vaadin/testing-helpers": "^1.0.0",
|
|
52
52
|
"sinon": "^18.0.0"
|
|
53
53
|
},
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"web-types.json",
|
|
56
56
|
"web-types.lit.json"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "a11e1510c4caa08775b202714f5fc1198c22132a"
|
|
59
59
|
}
|
|
@@ -264,7 +264,7 @@ export const CheckboxGroupMixin = (superclass) =>
|
|
|
264
264
|
});
|
|
265
265
|
|
|
266
266
|
if (oldValue !== undefined) {
|
|
267
|
-
this.
|
|
267
|
+
this._requestValidation();
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
|
|
@@ -304,7 +304,7 @@ export const CheckboxGroupMixin = (superclass) =>
|
|
|
304
304
|
// Do not validate when focusout is caused by document
|
|
305
305
|
// losing focus, which happens on browser tab switch.
|
|
306
306
|
if (!focused && document.hasFocus()) {
|
|
307
|
-
this.
|
|
307
|
+
this._requestValidation();
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
};
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/checkbox-group",
|
|
4
|
-
"version": "24.6.0-
|
|
4
|
+
"version": "24.6.0-alpha8",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -43,6 +43,17 @@
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"name": "manual-validation",
|
|
48
|
+
"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.",
|
|
49
|
+
"value": {
|
|
50
|
+
"type": [
|
|
51
|
+
"boolean",
|
|
52
|
+
"null",
|
|
53
|
+
"undefined"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
46
57
|
{
|
|
47
58
|
"name": "required",
|
|
48
59
|
"description": "Specifies that the user must fill in a value.",
|
|
@@ -156,6 +167,17 @@
|
|
|
156
167
|
]
|
|
157
168
|
}
|
|
158
169
|
},
|
|
170
|
+
{
|
|
171
|
+
"name": "manualValidation",
|
|
172
|
+
"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.",
|
|
173
|
+
"value": {
|
|
174
|
+
"type": [
|
|
175
|
+
"boolean",
|
|
176
|
+
"null",
|
|
177
|
+
"undefined"
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
},
|
|
159
181
|
{
|
|
160
182
|
"name": "required",
|
|
161
183
|
"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/checkbox-group",
|
|
4
|
-
"version": "24.6.0-
|
|
4
|
+
"version": "24.6.0-alpha8",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -33,6 +33,13 @@
|
|
|
33
33
|
"kind": "expression"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
+
{
|
|
37
|
+
"name": "?manualValidation",
|
|
38
|
+
"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.",
|
|
39
|
+
"value": {
|
|
40
|
+
"kind": "expression"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
36
43
|
{
|
|
37
44
|
"name": "?required",
|
|
38
45
|
"description": "Specifies that the user must fill in a value.",
|