@vaadin/checkbox 25.4.0-dev.c9532cd333 → 25.4.0-rc1
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/custom-elements.json +2 -5
- package/package.json +10 -10
- package/src/vaadin-checkbox-mixin.js +2 -2
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -99,16 +99,12 @@
|
|
|
99
99
|
{
|
|
100
100
|
"kind": "method",
|
|
101
101
|
"name": "checkValidity",
|
|
102
|
-
"description": "Returns true if the field value satisfies all constraints (if any).",
|
|
103
102
|
"return": {
|
|
104
103
|
"type": {
|
|
105
104
|
"text": "boolean"
|
|
106
105
|
}
|
|
107
106
|
},
|
|
108
|
-
"
|
|
109
|
-
"name": "ValidateMixin",
|
|
110
|
-
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
111
|
-
}
|
|
107
|
+
"description": "Returns true if the field value satisfies all constraints (if any)."
|
|
112
108
|
},
|
|
113
109
|
{
|
|
114
110
|
"kind": "method",
|
|
@@ -579,6 +575,7 @@
|
|
|
579
575
|
"text": "boolean"
|
|
580
576
|
}
|
|
581
577
|
},
|
|
578
|
+
"description": "Returns true if the field value satisfies all constraints (if any).",
|
|
582
579
|
"inheritedFrom": {
|
|
583
580
|
"name": "CheckboxMixin",
|
|
584
581
|
"module": "src/vaadin-checkbox-mixin.js"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/checkbox",
|
|
3
|
-
"version": "25.4.0-
|
|
3
|
+
"version": "25.4.0-rc1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "25.4.0-
|
|
39
|
-
"@vaadin/component-base": "25.4.0-
|
|
40
|
-
"@vaadin/field-base": "25.4.0-
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "25.4.0-
|
|
38
|
+
"@vaadin/a11y-base": "25.4.0-rc1",
|
|
39
|
+
"@vaadin/component-base": "25.4.0-rc1",
|
|
40
|
+
"@vaadin/field-base": "25.4.0-rc1",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "25.4.0-rc1",
|
|
42
42
|
"lit": "^3.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@vaadin/aura": "25.4.0-
|
|
46
|
-
"@vaadin/chai-plugins": "25.4.0-
|
|
47
|
-
"@vaadin/test-runner-commands": "25.4.0-
|
|
45
|
+
"@vaadin/aura": "25.4.0-rc1",
|
|
46
|
+
"@vaadin/chai-plugins": "25.4.0-rc1",
|
|
47
|
+
"@vaadin/test-runner-commands": "25.4.0-rc1",
|
|
48
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "25.4.0-
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "25.4.0-rc1",
|
|
50
50
|
"sinon": "^22.0.0"
|
|
51
51
|
},
|
|
52
52
|
"customElements": "custom-elements.json",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"web-types.json",
|
|
55
55
|
"web-types.lit.json"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "abe6d2338024cb71110c7df9bd5d97c0d110a135"
|
|
58
58
|
}
|
|
@@ -131,7 +131,7 @@ export const CheckboxMixin = (superclass) =>
|
|
|
131
131
|
const togglesChecked =
|
|
132
132
|
target === this.inputElement ||
|
|
133
133
|
target.part.contains('required-indicator') ||
|
|
134
|
-
(this._labelNode
|
|
134
|
+
(this._labelNode?.contains(target) && !target.closest('a'));
|
|
135
135
|
|
|
136
136
|
if (this.readonly || !togglesChecked) {
|
|
137
137
|
return false;
|
|
@@ -214,6 +214,6 @@ export const CheckboxMixin = (superclass) =>
|
|
|
214
214
|
|
|
215
215
|
/** @private */
|
|
216
216
|
_onRequiredIndicatorClick() {
|
|
217
|
-
this._labelNode
|
|
217
|
+
this._labelNode?.click();
|
|
218
218
|
}
|
|
219
219
|
};
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED