@vaadin/checkbox 25.4.0-alpha3 → 25.4.0-alpha4

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.
@@ -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
- "inheritedFrom": {
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-alpha3",
3
+ "version": "25.4.0-alpha4",
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-alpha3",
39
- "@vaadin/component-base": "25.4.0-alpha3",
40
- "@vaadin/field-base": "25.4.0-alpha3",
41
- "@vaadin/vaadin-themable-mixin": "25.4.0-alpha3",
38
+ "@vaadin/a11y-base": "25.4.0-alpha4",
39
+ "@vaadin/component-base": "25.4.0-alpha4",
40
+ "@vaadin/field-base": "25.4.0-alpha4",
41
+ "@vaadin/vaadin-themable-mixin": "25.4.0-alpha4",
42
42
  "lit": "^3.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@vaadin/aura": "25.4.0-alpha3",
46
- "@vaadin/chai-plugins": "25.4.0-alpha3",
47
- "@vaadin/test-runner-commands": "25.4.0-alpha3",
45
+ "@vaadin/aura": "25.4.0-alpha4",
46
+ "@vaadin/chai-plugins": "25.4.0-alpha4",
47
+ "@vaadin/test-runner-commands": "25.4.0-alpha4",
48
48
  "@vaadin/testing-helpers": "^2.0.0",
49
- "@vaadin/vaadin-lumo-styles": "25.4.0-alpha3",
49
+ "@vaadin/vaadin-lumo-styles": "25.4.0-alpha4",
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": "db7e679c1a8af00840cc05ddcbefff68dfed1e45"
57
+ "gitHead": "7809e4c099538333a6dbd11d8da18a0c6ec30dad"
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.contains(target) && !target.closest('a'));
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.click();
217
+ this._labelNode?.click();
218
218
  }
219
219
  };
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",
4
- "version": "25.4.0-alpha3",
4
+ "version": "25.4.0-alpha4",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/checkbox",
4
- "version": "25.4.0-alpha3",
4
+ "version": "25.4.0-alpha4",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {