@vaadin/checkbox 25.3.2 → 25.3.4
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-mixin.js +2 -2
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/checkbox",
|
|
3
|
-
"version": "25.3.
|
|
3
|
+
"version": "25.3.4",
|
|
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.3.
|
|
39
|
-
"@vaadin/component-base": "~25.3.
|
|
40
|
-
"@vaadin/field-base": "~25.3.
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "~25.3.
|
|
38
|
+
"@vaadin/a11y-base": "~25.3.4",
|
|
39
|
+
"@vaadin/component-base": "~25.3.4",
|
|
40
|
+
"@vaadin/field-base": "~25.3.4",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "~25.3.4",
|
|
42
42
|
"lit": "^3.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@vaadin/aura": "~25.3.
|
|
46
|
-
"@vaadin/chai-plugins": "~25.3.
|
|
47
|
-
"@vaadin/test-runner-commands": "~25.3.
|
|
45
|
+
"@vaadin/aura": "~25.3.4",
|
|
46
|
+
"@vaadin/chai-plugins": "~25.3.4",
|
|
47
|
+
"@vaadin/test-runner-commands": "~25.3.4",
|
|
48
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "~25.3.
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "~25.3.4",
|
|
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": "10d0b4f1accc697ccc701265159d8f9314bf9851"
|
|
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