@vaadin/radio-group
Advanced tools
Comparing version 22.0.2 to 22.0.3
{ | ||
"name": "@vaadin/radio-group", | ||
"version": "22.0.2", | ||
"version": "22.0.3", | ||
"publishConfig": { | ||
@@ -38,7 +38,7 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "^22.0.2", | ||
"@vaadin/field-base": "^22.0.2", | ||
"@vaadin/vaadin-lumo-styles": "^22.0.2", | ||
"@vaadin/vaadin-material-styles": "^22.0.2", | ||
"@vaadin/vaadin-themable-mixin": "^22.0.2" | ||
"@vaadin/component-base": "^22.0.3", | ||
"@vaadin/field-base": "^22.0.3", | ||
"@vaadin/vaadin-lumo-styles": "^22.0.3", | ||
"@vaadin/vaadin-material-styles": "^22.0.3", | ||
"@vaadin/vaadin-themable-mixin": "^22.0.3" | ||
}, | ||
@@ -50,3 +50,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "df21370c4a655a38eac11f79686021ab3b0887ad" | ||
"gitHead": "935ad1ea65a79b0f9ecb10d767689479b36c4e07" | ||
} |
/** | ||
* @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/ | ||
@@ -176,7 +176,7 @@ */ | ||
/** @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); | ||
@@ -186,5 +186,6 @@ this._setFocusElement(input); | ||
this.ariaTarget = input; | ||
}) | ||
); | ||
this.addController(new LabelledInputController(this.inputElement, this._labelNode)); | ||
}); | ||
this.addController(this._inputController); | ||
this.addController(new LabelledInputController(this.inputElement, this._labelController)); | ||
} | ||
} | ||
@@ -191,0 +192,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/ | ||
@@ -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/ | ||
@@ -5,0 +5,0 @@ */ |
51834
1079