@vaadin/radio-group 23.2.0-alpha2 → 23.2.0-alpha5

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": "23.2.0-alpha2",
3
+ "version": "23.2.0-alpha5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,7 +23,9 @@
23
23
  "src",
24
24
  "theme",
25
25
  "vaadin-*.d.ts",
26
- "vaadin-*.js"
26
+ "vaadin-*.js",
27
+ "web-types.json",
28
+ "web-types.lit.json"
27
29
  ],
28
30
  "keywords": [
29
31
  "Vaadin",
@@ -36,16 +38,20 @@
36
38
  ],
37
39
  "dependencies": {
38
40
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "23.2.0-alpha2",
40
- "@vaadin/field-base": "23.2.0-alpha2",
41
- "@vaadin/vaadin-lumo-styles": "23.2.0-alpha2",
42
- "@vaadin/vaadin-material-styles": "23.2.0-alpha2",
43
- "@vaadin/vaadin-themable-mixin": "23.2.0-alpha2"
41
+ "@vaadin/component-base": "23.2.0-alpha5",
42
+ "@vaadin/field-base": "23.2.0-alpha5",
43
+ "@vaadin/vaadin-lumo-styles": "23.2.0-alpha5",
44
+ "@vaadin/vaadin-material-styles": "23.2.0-alpha5",
45
+ "@vaadin/vaadin-themable-mixin": "23.2.0-alpha5"
44
46
  },
45
47
  "devDependencies": {
46
48
  "@esm-bundle/chai": "^4.3.4",
47
49
  "@vaadin/testing-helpers": "^0.3.2",
48
50
  "sinon": "^13.0.2"
49
51
  },
50
- "gitHead": "c9b8113d0fa9a602f8b9cb915c1826355af2e8df"
52
+ "web-types": [
53
+ "web-types.json",
54
+ "web-types.lit.json"
55
+ ],
56
+ "gitHead": "c6247fd741d61096d75a71feda4a1faf88b6f0ce"
51
57
  }
@@ -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?: AddEventListenerOptions | boolean,
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?: EventListenerOptions | boolean,
78
78
  ): void;
79
79
  }
80
80
 
@@ -20,10 +20,17 @@ export type RadioGroupInvalidChangedEvent = CustomEvent<{ value: boolean }>;
20
20
  */
21
21
  export type RadioGroupValueChangedEvent = CustomEvent<{ value: string }>;
22
22
 
23
+ /**
24
+ * Fired whenever the field is validated.
25
+ */
26
+ export type RadioGroupValidatedEvent = CustomEvent<{ valid: boolean }>;
27
+
23
28
  export interface RadioGroupCustomEventMap {
24
29
  'invalid-changed': RadioGroupInvalidChangedEvent;
25
30
 
26
31
  'value-changed': RadioGroupValueChangedEvent;
32
+
33
+ validated: RadioGroupValidatedEvent;
27
34
  }
28
35
 
29
36
  export interface RadioGroupEventMap extends HTMLElementEventMap, RadioGroupCustomEventMap {}
@@ -68,6 +75,7 @@ export interface RadioGroupEventMap extends HTMLElementEventMap, RadioGroupCusto
68
75
  *
69
76
  * @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
70
77
  * @fires {CustomEvent} value-changed - Fired when the `value` property changes.
78
+ * @fires {CustomEvent} validated - Fired whenever the field is validated.
71
79
  */
72
80
  declare class RadioGroup extends FieldMixin(
73
81
  FocusMixin(DisabledMixin(KeyboardMixin(ElementMixin(ThemableMixin(HTMLElement))))),
@@ -88,13 +96,13 @@ declare class RadioGroup extends FieldMixin(
88
96
  addEventListener<K extends keyof RadioGroupEventMap>(
89
97
  type: K,
90
98
  listener: (this: RadioGroup, ev: RadioGroupEventMap[K]) => void,
91
- options?: boolean | AddEventListenerOptions,
99
+ options?: AddEventListenerOptions | boolean,
92
100
  ): void;
93
101
 
94
102
  removeEventListener<K extends keyof RadioGroupEventMap>(
95
103
  type: K,
96
104
  listener: (this: RadioGroup, ev: RadioGroupEventMap[K]) => void,
97
- options?: boolean | EventListenerOptions,
105
+ options?: EventListenerOptions | boolean,
98
106
  ): void;
99
107
  }
100
108
 
@@ -54,6 +54,7 @@ import { RadioButton } from './vaadin-radio-button.js';
54
54
  *
55
55
  * @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
56
56
  * @fires {CustomEvent} value-changed - Fired when the `value` property changes.
57
+ * @fires {CustomEvent} validated - Fired whenever the field is validated.
57
58
  *
58
59
  * @extends HTMLElement
59
60
  * @mixes ThemableMixin
@@ -128,6 +129,7 @@ class RadioGroup extends FieldMixin(
128
129
  value: {
129
130
  type: String,
130
131
  notify: true,
132
+ value: '',
131
133
  observer: '__valueChanged',
132
134
  },
133
135
 
@@ -247,6 +249,23 @@ class RadioGroup extends FieldMixin(
247
249
  }
248
250
  }
249
251
 
252
+ /**
253
+ * Override an observer from `FieldMixin`.
254
+ *
255
+ * @param {boolean} invalid
256
+ * @protected
257
+ * @override
258
+ */
259
+ _invalidChanged(invalid) {
260
+ super._invalidChanged(invalid);
261
+
262
+ if (invalid) {
263
+ this.setAttribute('aria-invalid', 'true');
264
+ } else {
265
+ this.removeAttribute('aria-invalid');
266
+ }
267
+ }
268
+
250
269
  /**
251
270
  * @param {number} index
252
271
  * @private
@@ -339,25 +358,28 @@ class RadioGroup extends FieldMixin(
339
358
  * @private
340
359
  */
341
360
  __valueChanged(newValue, oldValue) {
342
- if (!oldValue && !newValue) {
361
+ if (oldValue === undefined && newValue === '') {
343
362
  return;
344
363
  }
345
364
 
346
- if (oldValue && !newValue) {
365
+ if (newValue) {
366
+ const newSelectedRadioButton = this.__radioButtons.find((radioButton) => {
367
+ return radioButton.value === newValue;
368
+ });
369
+
370
+ if (newSelectedRadioButton) {
371
+ this.__selectRadioButton(newSelectedRadioButton);
372
+ this.toggleAttribute('has-value', true);
373
+ } else {
374
+ console.warn(`The radio button with the value "${newValue}" was not found.`);
375
+ }
376
+ } else {
347
377
  this.__selectRadioButton(null);
348
378
  this.removeAttribute('has-value');
349
- return;
350
379
  }
351
380
 
352
- const newSelectedRadioButton = this.__radioButtons.find((radioButton) => {
353
- return radioButton.value === newValue;
354
- });
355
-
356
- if (newSelectedRadioButton) {
357
- this.__selectRadioButton(newSelectedRadioButton);
358
- this.toggleAttribute('has-value', true);
359
- } else {
360
- console.warn(`The radio button with the value "${newValue}" was not found.`);
381
+ if (oldValue !== undefined) {
382
+ this.validate();
361
383
  }
362
384
  }
363
385
 
@@ -451,8 +473,6 @@ class RadioGroup extends FieldMixin(
451
473
  button.checked = button === radioButton;
452
474
  });
453
475
 
454
- this.validate();
455
-
456
476
  if (this.readonly) {
457
477
  this.__updateRadioButtonsDisabledProperty();
458
478
  }
package/web-types.json ADDED
@@ -0,0 +1,335 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/web-types",
3
+ "name": "@vaadin/radio-group",
4
+ "version": "23.2.0-alpha5",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "vaadin-radio-button",
11
+ "description": "`<vaadin-radio-button>` is a web component representing a choice in a radio group.\nOnly one radio button in the group can be selected at the same time.\n\n```html\n<vaadin-radio-group label=\"Travel class\">\n <vaadin-radio-button value=\"economy\" label=\"Economy\"></vaadin-radio-button>\n <vaadin-radio-button value=\"business\" label=\"Business\"></vaadin-radio-button>\n <vaadin-radio-button value=\"firstClass\" label=\"First Class\"></vaadin-radio-button>\n</vaadin-radio-group>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n------------|----------------\n`radio` | The wrapper element that contains slotted `<input type=\"radio\">`.\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-------------|-------------|------------\n`active` | Set when the radio button is pressed down, either with a pointer or the keyboard. | `:host`\n`disabled` | Set when the radio button is disabled. | `:host`\n`focus-ring` | Set when the radio button is focused using the keyboard. | `:host`\n`focused` | Set when the radio button is focused. | `:host`\n`checked` | Set when the radio button is checked. | `:host`\n`has-label` | Set when the radio button has a label. | `:host`\n\nSee [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation.",
12
+ "attributes": [
13
+ {
14
+ "name": "disabled",
15
+ "description": "If true, the user cannot interact with this element.",
16
+ "value": {
17
+ "type": [
18
+ "boolean",
19
+ "null",
20
+ "undefined"
21
+ ]
22
+ }
23
+ },
24
+ {
25
+ "name": "value",
26
+ "description": "The value of the field.",
27
+ "value": {
28
+ "type": [
29
+ "string",
30
+ "null",
31
+ "undefined"
32
+ ]
33
+ }
34
+ },
35
+ {
36
+ "name": "checked",
37
+ "description": "True if the element is checked.",
38
+ "value": {
39
+ "type": [
40
+ "boolean"
41
+ ]
42
+ }
43
+ },
44
+ {
45
+ "name": "label",
46
+ "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
47
+ "value": {
48
+ "type": [
49
+ "string",
50
+ "null",
51
+ "undefined"
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "name": "name",
57
+ "description": "The name of the radio button.",
58
+ "value": {
59
+ "type": [
60
+ "string"
61
+ ]
62
+ }
63
+ },
64
+ {
65
+ "name": "theme",
66
+ "description": "The theme variants to apply to the component.",
67
+ "value": {
68
+ "type": [
69
+ "string",
70
+ "null",
71
+ "undefined"
72
+ ]
73
+ }
74
+ }
75
+ ],
76
+ "js": {
77
+ "properties": [
78
+ {
79
+ "name": "disabled",
80
+ "description": "If true, the user cannot interact with this element.",
81
+ "value": {
82
+ "type": [
83
+ "boolean",
84
+ "null",
85
+ "undefined"
86
+ ]
87
+ }
88
+ },
89
+ {
90
+ "name": "value",
91
+ "description": "The value of the field.",
92
+ "value": {
93
+ "type": [
94
+ "string",
95
+ "null",
96
+ "undefined"
97
+ ]
98
+ }
99
+ },
100
+ {
101
+ "name": "checked",
102
+ "description": "True if the element is checked.",
103
+ "value": {
104
+ "type": [
105
+ "boolean"
106
+ ]
107
+ }
108
+ },
109
+ {
110
+ "name": "label",
111
+ "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
112
+ "value": {
113
+ "type": [
114
+ "string",
115
+ "null",
116
+ "undefined"
117
+ ]
118
+ }
119
+ },
120
+ {
121
+ "name": "name",
122
+ "description": "The name of the radio button.",
123
+ "value": {
124
+ "type": [
125
+ "string"
126
+ ]
127
+ }
128
+ }
129
+ ],
130
+ "events": []
131
+ }
132
+ },
133
+ {
134
+ "name": "vaadin-radio-group",
135
+ "description": "`<vaadin-radio-group>` is a web component that allows the user to choose one item from a group of choices.\n\n```html\n<vaadin-radio-group label=\"Travel class\">\n <vaadin-radio-button value=\"economy\" label=\"Economy\"></vaadin-radio-button>\n <vaadin-radio-button value=\"business\" label=\"Business\"></vaadin-radio-button>\n <vaadin-radio-button value=\"firstClass\" label=\"First Class\"></vaadin-radio-button>\n</vaadin-radio-group>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`group-field` | The radio button elements wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n--------------------|-------------------------------------------|------------\n`disabled` | Set when the element is disabled | :host\n`readonly` | Set when the element is readonly | :host\n`invalid` | Set when the element is invalid | :host\n`focused` | Set when the element is focused | :host\n`has-label` | Set when the element has a label | :host\n`has-value` | Set when the element has a value | :host\n`has-helper` | Set when the element has helper text | :host\n`has-error-message` | Set when the element has an error message | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation.",
136
+ "attributes": [
137
+ {
138
+ "name": "disabled",
139
+ "description": "If true, the user cannot interact with this element.",
140
+ "value": {
141
+ "type": [
142
+ "boolean",
143
+ "null",
144
+ "undefined"
145
+ ]
146
+ }
147
+ },
148
+ {
149
+ "name": "label",
150
+ "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
151
+ "value": {
152
+ "type": [
153
+ "string",
154
+ "null",
155
+ "undefined"
156
+ ]
157
+ }
158
+ },
159
+ {
160
+ "name": "invalid",
161
+ "description": "Set to true when the field is invalid.",
162
+ "value": {
163
+ "type": [
164
+ "boolean",
165
+ "null",
166
+ "undefined"
167
+ ]
168
+ }
169
+ },
170
+ {
171
+ "name": "required",
172
+ "description": "Specifies that the user must fill in a value.",
173
+ "value": {
174
+ "type": [
175
+ "boolean",
176
+ "null",
177
+ "undefined"
178
+ ]
179
+ }
180
+ },
181
+ {
182
+ "name": "error-message",
183
+ "description": "Error to show when the field is invalid.",
184
+ "value": {
185
+ "type": [
186
+ "string",
187
+ "null",
188
+ "undefined"
189
+ ]
190
+ }
191
+ },
192
+ {
193
+ "name": "helper-text",
194
+ "description": "String used for the helper text.",
195
+ "value": {
196
+ "type": [
197
+ "string",
198
+ "null",
199
+ "undefined"
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "name": "value",
205
+ "description": "The value of the radio group.",
206
+ "value": {
207
+ "type": [
208
+ "string"
209
+ ]
210
+ }
211
+ },
212
+ {
213
+ "name": "readonly",
214
+ "description": "When present, the user cannot modify the value of the radio group.\nThe property works similarly to the `disabled` property.\nWhile the `disabled` property disables all radio buttons inside the group,\nthe `readonly` property disables only unchecked ones.",
215
+ "value": {
216
+ "type": [
217
+ "boolean"
218
+ ]
219
+ }
220
+ },
221
+ {
222
+ "name": "theme",
223
+ "description": "The theme variants to apply to the component.",
224
+ "value": {
225
+ "type": [
226
+ "string",
227
+ "null",
228
+ "undefined"
229
+ ]
230
+ }
231
+ }
232
+ ],
233
+ "js": {
234
+ "properties": [
235
+ {
236
+ "name": "disabled",
237
+ "description": "If true, the user cannot interact with this element.",
238
+ "value": {
239
+ "type": [
240
+ "boolean",
241
+ "null",
242
+ "undefined"
243
+ ]
244
+ }
245
+ },
246
+ {
247
+ "name": "label",
248
+ "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
249
+ "value": {
250
+ "type": [
251
+ "string",
252
+ "null",
253
+ "undefined"
254
+ ]
255
+ }
256
+ },
257
+ {
258
+ "name": "invalid",
259
+ "description": "Set to true when the field is invalid.",
260
+ "value": {
261
+ "type": [
262
+ "boolean",
263
+ "null",
264
+ "undefined"
265
+ ]
266
+ }
267
+ },
268
+ {
269
+ "name": "required",
270
+ "description": "Specifies that the user must fill in a value.",
271
+ "value": {
272
+ "type": [
273
+ "boolean",
274
+ "null",
275
+ "undefined"
276
+ ]
277
+ }
278
+ },
279
+ {
280
+ "name": "errorMessage",
281
+ "description": "Error to show when the field is invalid.",
282
+ "value": {
283
+ "type": [
284
+ "string",
285
+ "null",
286
+ "undefined"
287
+ ]
288
+ }
289
+ },
290
+ {
291
+ "name": "helperText",
292
+ "description": "String used for the helper text.",
293
+ "value": {
294
+ "type": [
295
+ "string",
296
+ "null",
297
+ "undefined"
298
+ ]
299
+ }
300
+ },
301
+ {
302
+ "name": "value",
303
+ "description": "The value of the radio group.",
304
+ "value": {
305
+ "type": [
306
+ "string"
307
+ ]
308
+ }
309
+ },
310
+ {
311
+ "name": "readonly",
312
+ "description": "When present, the user cannot modify the value of the radio group.\nThe property works similarly to the `disabled` property.\nWhile the `disabled` property disables all radio buttons inside the group,\nthe `readonly` property disables only unchecked ones.",
313
+ "value": {
314
+ "type": [
315
+ "boolean"
316
+ ]
317
+ }
318
+ }
319
+ ],
320
+ "events": [
321
+ {
322
+ "name": "validated",
323
+ "description": "Fired whenever the field is validated."
324
+ },
325
+ {
326
+ "name": "value-changed",
327
+ "description": "Fired when the `value` property changes."
328
+ }
329
+ ]
330
+ }
331
+ }
332
+ ]
333
+ }
334
+ }
335
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/web-types",
3
+ "name": "@vaadin/radio-group",
4
+ "version": "23.2.0-alpha5",
5
+ "description-markup": "markdown",
6
+ "framework": "lit",
7
+ "framework-config": {
8
+ "enable-when": {
9
+ "node-packages": [
10
+ "lit"
11
+ ]
12
+ }
13
+ },
14
+ "contributions": {
15
+ "html": {
16
+ "elements": [
17
+ {
18
+ "name": "vaadin-radio-button",
19
+ "description": "`<vaadin-radio-button>` is a web component representing a choice in a radio group.\nOnly one radio button in the group can be selected at the same time.\n\n```html\n<vaadin-radio-group label=\"Travel class\">\n <vaadin-radio-button value=\"economy\" label=\"Economy\"></vaadin-radio-button>\n <vaadin-radio-button value=\"business\" label=\"Business\"></vaadin-radio-button>\n <vaadin-radio-button value=\"firstClass\" label=\"First Class\"></vaadin-radio-button>\n</vaadin-radio-group>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n------------|----------------\n`radio` | The wrapper element that contains slotted `<input type=\"radio\">`.\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-------------|-------------|------------\n`active` | Set when the radio button is pressed down, either with a pointer or the keyboard. | `:host`\n`disabled` | Set when the radio button is disabled. | `:host`\n`focus-ring` | Set when the radio button is focused using the keyboard. | `:host`\n`focused` | Set when the radio button is focused. | `:host`\n`checked` | Set when the radio button is checked. | `:host`\n`has-label` | Set when the radio button has a label. | `:host`\n\nSee [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation.",
20
+ "extension": true,
21
+ "attributes": [
22
+ {
23
+ "name": "?disabled",
24
+ "description": "If true, the user cannot interact with this element.",
25
+ "value": {
26
+ "kind": "expression"
27
+ }
28
+ },
29
+ {
30
+ "name": "?checked",
31
+ "description": "True if the element is checked.",
32
+ "value": {
33
+ "kind": "expression"
34
+ }
35
+ },
36
+ {
37
+ "name": ".value",
38
+ "description": "The value of the field.",
39
+ "value": {
40
+ "kind": "expression"
41
+ }
42
+ },
43
+ {
44
+ "name": ".label",
45
+ "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
46
+ "value": {
47
+ "kind": "expression"
48
+ }
49
+ },
50
+ {
51
+ "name": ".name",
52
+ "description": "The name of the radio button.",
53
+ "value": {
54
+ "kind": "expression"
55
+ }
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "name": "vaadin-radio-group",
61
+ "description": "`<vaadin-radio-group>` is a web component that allows the user to choose one item from a group of choices.\n\n```html\n<vaadin-radio-group label=\"Travel class\">\n <vaadin-radio-button value=\"economy\" label=\"Economy\"></vaadin-radio-button>\n <vaadin-radio-button value=\"business\" label=\"Business\"></vaadin-radio-button>\n <vaadin-radio-button value=\"firstClass\" label=\"First Class\"></vaadin-radio-button>\n</vaadin-radio-group>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`group-field` | The radio button elements wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n--------------------|-------------------------------------------|------------\n`disabled` | Set when the element is disabled | :host\n`readonly` | Set when the element is readonly | :host\n`invalid` | Set when the element is invalid | :host\n`focused` | Set when the element is focused | :host\n`has-label` | Set when the element has a label | :host\n`has-value` | Set when the element has a value | :host\n`has-helper` | Set when the element has helper text | :host\n`has-error-message` | Set when the element has an error message | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation.",
62
+ "extension": true,
63
+ "attributes": [
64
+ {
65
+ "name": "?disabled",
66
+ "description": "If true, the user cannot interact with this element.",
67
+ "value": {
68
+ "kind": "expression"
69
+ }
70
+ },
71
+ {
72
+ "name": "?invalid",
73
+ "description": "Set to true when the field is invalid.",
74
+ "value": {
75
+ "kind": "expression"
76
+ }
77
+ },
78
+ {
79
+ "name": "?required",
80
+ "description": "Specifies that the user must fill in a value.",
81
+ "value": {
82
+ "kind": "expression"
83
+ }
84
+ },
85
+ {
86
+ "name": "?readonly",
87
+ "description": "When present, the user cannot modify the value of the radio group.\nThe property works similarly to the `disabled` property.\nWhile the `disabled` property disables all radio buttons inside the group,\nthe `readonly` property disables only unchecked ones.",
88
+ "value": {
89
+ "kind": "expression"
90
+ }
91
+ },
92
+ {
93
+ "name": ".label",
94
+ "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
95
+ "value": {
96
+ "kind": "expression"
97
+ }
98
+ },
99
+ {
100
+ "name": ".errorMessage",
101
+ "description": "Error to show when the field is invalid.",
102
+ "value": {
103
+ "kind": "expression"
104
+ }
105
+ },
106
+ {
107
+ "name": ".helperText",
108
+ "description": "String used for the helper text.",
109
+ "value": {
110
+ "kind": "expression"
111
+ }
112
+ },
113
+ {
114
+ "name": ".value",
115
+ "description": "The value of the radio group.",
116
+ "value": {
117
+ "kind": "expression"
118
+ }
119
+ },
120
+ {
121
+ "name": "@validated",
122
+ "description": "Fired whenever the field is validated.",
123
+ "value": {
124
+ "kind": "expression"
125
+ }
126
+ },
127
+ {
128
+ "name": "@value-changed",
129
+ "description": "Fired when the `value` property changes.",
130
+ "value": {
131
+ "kind": "expression"
132
+ }
133
+ }
134
+ ]
135
+ }
136
+ ]
137
+ }
138
+ }
139
+ }