@vaadin/checkbox 23.1.2 → 23.2.0-dev.48e5e3967
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 +7 -7
- package/src/vaadin-checkbox.js +14 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/checkbox",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.2.0-dev.48e5e3967",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/component-base": "
|
|
38
|
-
"@vaadin/field-base": "
|
|
39
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
40
|
-
"@vaadin/vaadin-material-styles": "
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
37
|
+
"@vaadin/component-base": "23.2.0-dev.48e5e3967",
|
|
38
|
+
"@vaadin/field-base": "23.2.0-dev.48e5e3967",
|
|
39
|
+
"@vaadin/vaadin-lumo-styles": "23.2.0-dev.48e5e3967",
|
|
40
|
+
"@vaadin/vaadin-material-styles": "23.2.0-dev.48e5e3967",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "23.2.0-dev.48e5e3967"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@esm-bundle/chai": "^4.3.4",
|
|
45
45
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
46
46
|
"sinon": "^13.0.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "961bc4ae5b707c3c02f12b99819b3c12c9b478aa"
|
|
49
49
|
}
|
package/src/vaadin-checkbox.js
CHANGED
|
@@ -168,26 +168,25 @@ class Checkbox extends LabelMixin(
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
/** @protected */
|
|
171
|
-
|
|
172
|
-
super.
|
|
171
|
+
ready() {
|
|
172
|
+
super.ready();
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
|
|
174
|
+
this.addController(
|
|
175
|
+
new InputController(this, (input) => {
|
|
176
176
|
this._setInputElement(input);
|
|
177
177
|
this._setFocusElement(input);
|
|
178
178
|
this.stateTarget = input;
|
|
179
179
|
this.ariaTarget = input;
|
|
180
|
-
})
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
180
|
+
}),
|
|
181
|
+
);
|
|
182
|
+
this.addController(new LabelledInputController(this.inputElement, this._labelController));
|
|
183
|
+
this.addController(
|
|
184
|
+
new SlotTargetController(
|
|
185
|
+
this.$.noop,
|
|
186
|
+
() => this._labelController.node,
|
|
187
|
+
() => this.__warnDeprecated(),
|
|
188
|
+
),
|
|
189
|
+
);
|
|
191
190
|
}
|
|
192
191
|
|
|
193
192
|
/** @private */
|