@vaadin/radio-group 22.0.2 → 22.0.3
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/radio-group",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@polymer/polymer": "^3.0.0",
|
|
38
|
-
"@vaadin/component-base": "^22.0.
|
|
39
|
-
"@vaadin/field-base": "^22.0.
|
|
40
|
-
"@vaadin/vaadin-lumo-styles": "^22.0.
|
|
41
|
-
"@vaadin/vaadin-material-styles": "^22.0.
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "^22.0.
|
|
38
|
+
"@vaadin/component-base": "^22.0.3",
|
|
39
|
+
"@vaadin/field-base": "^22.0.3",
|
|
40
|
+
"@vaadin/vaadin-lumo-styles": "^22.0.3",
|
|
41
|
+
"@vaadin/vaadin-material-styles": "^22.0.3",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "^22.0.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@esm-bundle/chai": "^4.3.4",
|
|
46
46
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
47
47
|
"sinon": "^9.2.1"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "935ad1ea65a79b0f9ecb10d767689479b36c4e07"
|
|
50
50
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2017 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ActiveMixin } from '@vaadin/component-base/src/active-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2017 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
@@ -173,18 +173,19 @@ class RadioButton extends SlotLabelMixin(
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
/** @protected */
|
|
176
|
-
|
|
177
|
-
super.
|
|
176
|
+
connectedCallback() {
|
|
177
|
+
super.connectedCallback();
|
|
178
178
|
|
|
179
|
-
this.
|
|
180
|
-
new InputController(this, (input) => {
|
|
179
|
+
if (!this._inputController) {
|
|
180
|
+
this._inputController = new InputController(this, (input) => {
|
|
181
181
|
this._setInputElement(input);
|
|
182
182
|
this._setFocusElement(input);
|
|
183
183
|
this.stateTarget = input;
|
|
184
184
|
this.ariaTarget = input;
|
|
185
|
-
})
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
});
|
|
186
|
+
this.addController(this._inputController);
|
|
187
|
+
this.addController(new LabelledInputController(this.inputElement, this._labelController));
|
|
188
|
+
}
|
|
188
189
|
}
|
|
189
190
|
}
|
|
190
191
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2017 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2017 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';
|