@vaadin/radio-group 23.0.9 → 23.0.10
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-radio-button.d.ts +3 -3
- package/src/vaadin-radio-button.js +6 -6
- package/src/vaadin-radio-group.d.ts +3 -3
- package/src/vaadin-radio-group.js +5 -5
- package/theme/lumo/vaadin-radio-button-styles.js +1 -1
- package/theme/material/vaadin-radio-button-styles.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/radio-group",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/component-base": "^23.0.
|
|
40
|
-
"@vaadin/field-base": "^23.0.
|
|
41
|
-
"@vaadin/vaadin-lumo-styles": "^23.0.
|
|
42
|
-
"@vaadin/vaadin-material-styles": "^23.0.
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "^23.0.
|
|
39
|
+
"@vaadin/component-base": "^23.0.10",
|
|
40
|
+
"@vaadin/field-base": "^23.0.10",
|
|
41
|
+
"@vaadin/vaadin-lumo-styles": "^23.0.10",
|
|
42
|
+
"@vaadin/vaadin-material-styles": "^23.0.10",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "^23.0.10"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@esm-bundle/chai": "^4.3.4",
|
|
47
47
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
48
48
|
"sinon": "^9.2.1"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e8402a55ce0e823ae6da5c97486998cfd931b1d3"
|
|
51
51
|
}
|
|
@@ -58,7 +58,7 @@ export interface RadioButtonEventMap extends HTMLElementEventMap, RadioButtonCus
|
|
|
58
58
|
* @fires {CustomEvent} checked-changed - Fired when the `checked` property changes.
|
|
59
59
|
*/
|
|
60
60
|
declare class RadioButton extends LabelMixin(
|
|
61
|
-
CheckedMixin(DelegateFocusMixin(ActiveMixin(ElementMixin(ThemableMixin(ControllerMixin(HTMLElement))))))
|
|
61
|
+
CheckedMixin(DelegateFocusMixin(ActiveMixin(ElementMixin(ThemableMixin(ControllerMixin(HTMLElement)))))),
|
|
62
62
|
) {
|
|
63
63
|
/**
|
|
64
64
|
* The name of the radio button.
|
|
@@ -68,13 +68,13 @@ declare class RadioButton extends LabelMixin(
|
|
|
68
68
|
addEventListener<K extends keyof RadioButtonEventMap>(
|
|
69
69
|
type: K,
|
|
70
70
|
listener: (this: RadioButton, ev: RadioButtonEventMap[K]) => void,
|
|
71
|
-
options?: boolean | AddEventListenerOptions
|
|
71
|
+
options?: boolean | AddEventListenerOptions,
|
|
72
72
|
): void;
|
|
73
73
|
|
|
74
74
|
removeEventListener<K extends keyof RadioButtonEventMap>(
|
|
75
75
|
type: K,
|
|
76
76
|
listener: (this: RadioButton, ev: RadioButtonEventMap[K]) => void,
|
|
77
|
-
options?: boolean | EventListenerOptions
|
|
77
|
+
options?: boolean | EventListenerOptions,
|
|
78
78
|
): void;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -59,7 +59,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
|
|
|
59
59
|
* @mixes LabelMixin
|
|
60
60
|
*/
|
|
61
61
|
class RadioButton extends LabelMixin(
|
|
62
|
-
CheckedMixin(DelegateFocusMixin(ActiveMixin(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement))))))
|
|
62
|
+
CheckedMixin(DelegateFocusMixin(ActiveMixin(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement)))))),
|
|
63
63
|
) {
|
|
64
64
|
static get is() {
|
|
65
65
|
return 'vaadin-radio-button';
|
|
@@ -128,8 +128,8 @@ class RadioButton extends LabelMixin(
|
|
|
128
128
|
*/
|
|
129
129
|
name: {
|
|
130
130
|
type: String,
|
|
131
|
-
value: ''
|
|
132
|
-
}
|
|
131
|
+
value: '',
|
|
132
|
+
},
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
|
|
@@ -165,8 +165,8 @@ class RadioButton extends LabelMixin(
|
|
|
165
165
|
new SlotTargetController(
|
|
166
166
|
this.$.noop,
|
|
167
167
|
() => this._labelController.node,
|
|
168
|
-
() => this.__warnDeprecated()
|
|
169
|
-
)
|
|
168
|
+
() => this.__warnDeprecated(),
|
|
169
|
+
),
|
|
170
170
|
);
|
|
171
171
|
}
|
|
172
172
|
}
|
|
@@ -175,7 +175,7 @@ class RadioButton extends LabelMixin(
|
|
|
175
175
|
__warnDeprecated() {
|
|
176
176
|
console.warn(
|
|
177
177
|
`WARNING: Since Vaadin 22, placing the label as a direct child of a <vaadin-radio-button> is deprecated.
|
|
178
|
-
Please use <label slot="label"> wrapper or the label property instead
|
|
178
|
+
Please use <label slot="label"> wrapper or the label property instead.`,
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
@@ -70,7 +70,7 @@ export interface RadioGroupEventMap extends HTMLElementEventMap, RadioGroupCusto
|
|
|
70
70
|
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
|
|
71
71
|
*/
|
|
72
72
|
declare class RadioGroup extends FieldMixin(
|
|
73
|
-
FocusMixin(DisabledMixin(KeyboardMixin(ElementMixin(ThemableMixin(HTMLElement)))))
|
|
73
|
+
FocusMixin(DisabledMixin(KeyboardMixin(ElementMixin(ThemableMixin(HTMLElement))))),
|
|
74
74
|
) {
|
|
75
75
|
/**
|
|
76
76
|
* The value of the radio group.
|
|
@@ -88,13 +88,13 @@ declare class RadioGroup extends FieldMixin(
|
|
|
88
88
|
addEventListener<K extends keyof RadioGroupEventMap>(
|
|
89
89
|
type: K,
|
|
90
90
|
listener: (this: RadioGroup, ev: RadioGroupEventMap[K]) => void,
|
|
91
|
-
options?: boolean | AddEventListenerOptions
|
|
91
|
+
options?: boolean | AddEventListenerOptions,
|
|
92
92
|
): void;
|
|
93
93
|
|
|
94
94
|
removeEventListener<K extends keyof RadioGroupEventMap>(
|
|
95
95
|
type: K,
|
|
96
96
|
listener: (this: RadioGroup, ev: RadioGroupEventMap[K]) => void,
|
|
97
|
-
options?: boolean | EventListenerOptions
|
|
97
|
+
options?: boolean | EventListenerOptions,
|
|
98
98
|
): void;
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -63,7 +63,7 @@ import { RadioButton } from './vaadin-radio-button.js';
|
|
|
63
63
|
* @mixes KeyboardMixin
|
|
64
64
|
*/
|
|
65
65
|
class RadioGroup extends FieldMixin(
|
|
66
|
-
FocusMixin(DisabledMixin(KeyboardMixin(ElementMixin(ThemableMixin(PolymerElement)))))
|
|
66
|
+
FocusMixin(DisabledMixin(KeyboardMixin(ElementMixin(ThemableMixin(PolymerElement))))),
|
|
67
67
|
) {
|
|
68
68
|
static get is() {
|
|
69
69
|
return 'vaadin-radio-group';
|
|
@@ -127,7 +127,7 @@ class RadioGroup extends FieldMixin(
|
|
|
127
127
|
value: {
|
|
128
128
|
type: String,
|
|
129
129
|
notify: true,
|
|
130
|
-
observer: '__valueChanged'
|
|
130
|
+
observer: '__valueChanged',
|
|
131
131
|
},
|
|
132
132
|
|
|
133
133
|
/**
|
|
@@ -142,7 +142,7 @@ class RadioGroup extends FieldMixin(
|
|
|
142
142
|
type: Boolean,
|
|
143
143
|
value: false,
|
|
144
144
|
reflectToAttribute: true,
|
|
145
|
-
observer: '__readonlyChanged'
|
|
145
|
+
observer: '__readonlyChanged',
|
|
146
146
|
},
|
|
147
147
|
|
|
148
148
|
/**
|
|
@@ -150,8 +150,8 @@ class RadioGroup extends FieldMixin(
|
|
|
150
150
|
* @private
|
|
151
151
|
*/
|
|
152
152
|
_fieldName: {
|
|
153
|
-
type: String
|
|
154
|
-
}
|
|
153
|
+
type: String,
|
|
154
|
+
},
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
157
|
|