@vaadin/checkbox
Advanced tools
Comparing version 23.0.0-alpha2 to 23.0.0-alpha3
{ | ||
"name": "@vaadin/checkbox", | ||
"version": "23.0.0-alpha2", | ||
"version": "23.0.0-alpha3", | ||
"publishConfig": { | ||
@@ -36,7 +36,7 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "23.0.0-alpha2", | ||
"@vaadin/field-base": "23.0.0-alpha2", | ||
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha2", | ||
"@vaadin/vaadin-material-styles": "23.0.0-alpha2", | ||
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha2" | ||
"@vaadin/component-base": "23.0.0-alpha3", | ||
"@vaadin/field-base": "23.0.0-alpha3", | ||
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha3", | ||
"@vaadin/vaadin-material-styles": "23.0.0-alpha3", | ||
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha3" | ||
}, | ||
@@ -48,3 +48,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "070f586dead02ca41b66717820c647f48bf1665f" | ||
"gitHead": "490037919a9e054cc002c1b3be0c94a1603e1a44" | ||
} |
/** | ||
* @license | ||
* Copyright (c) 2021 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2021 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -169,13 +169,15 @@ */ | ||
/** @protected */ | ||
ready() { | ||
super.ready(); | ||
connectedCallback() { | ||
super.connectedCallback(); | ||
this.addController( | ||
new InputController(this, (input) => { | ||
if (!this._inputController) { | ||
this._inputController = new InputController(this, (input) => { | ||
this._setInputElement(input); | ||
this._setFocusElement(input); | ||
this.stateTarget = input; | ||
}) | ||
); | ||
this.addController(new LabelledInputController(this.inputElement, this._labelNode)); | ||
this.ariaTarget = input; | ||
}); | ||
this.addController(this._inputController); | ||
this.addController(new LabelledInputController(this.inputElement, this._labelController)); | ||
} | ||
} | ||
@@ -182,0 +184,0 @@ |
33512
578
+ Added@vaadin/component-base@23.0.0-alpha3(transitive)
+ Added@vaadin/field-base@23.0.0-alpha3(transitive)
+ Added@vaadin/icon@23.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-material-styles@23.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.0.0-alpha3(transitive)
- Removed@vaadin/component-base@23.0.0-alpha2(transitive)
- Removed@vaadin/field-base@23.0.0-alpha2(transitive)
- Removed@vaadin/icon@23.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-material-styles@23.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.0.0-alpha2(transitive)