@atlaskit/radio 6.2.0 → 6.4.0
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/CHANGELOG.md +649 -632
- package/__perf__/default.tsx +8 -8
- package/__perf__/radio.tsx +66 -82
- package/dist/cjs/radio.js +23 -19
- package/dist/es2019/radio.js +25 -20
- package/dist/esm/radio.js +25 -20
- package/dist/types/radio-group.d.ts +3 -3
- package/dist/types/types.d.ts +2 -2
- package/dist/types-ts4.5/radio-group.d.ts +3 -3
- package/dist/types-ts4.5/types.d.ts +2 -2
- package/package.json +91 -99
- package/report.api.md +351 -362
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/radio"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -30,11 +31,11 @@ import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
|
30
31
|
|
|
31
32
|
// @public (undocumented)
|
|
32
33
|
type OptionPropType = {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
isDisabled?: boolean;
|
|
35
|
+
label?: ReactNode;
|
|
36
|
+
name?: string;
|
|
37
|
+
value?: RadioValue;
|
|
38
|
+
testId?: string;
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
// @public (undocumented)
|
|
@@ -42,347 +43,338 @@ type OptionsPropType = Array<OptionPropType>;
|
|
|
42
43
|
|
|
43
44
|
// @public
|
|
44
45
|
export const Radio: MemoExoticComponent<
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
) => void)
|
|
378
|
-
| undefined;
|
|
379
|
-
value?: string | undefined;
|
|
380
|
-
testId?: string | undefined;
|
|
381
|
-
analyticsContext?: Record<string, any> | undefined;
|
|
382
|
-
}
|
|
383
|
-
> &
|
|
384
|
-
RefAttributes<HTMLInputElement>
|
|
385
|
-
>
|
|
46
|
+
ForwardRefExoticComponent<
|
|
47
|
+
Pick<
|
|
48
|
+
Omit<
|
|
49
|
+
Omit<
|
|
50
|
+
InputHTMLAttributes<HTMLInputElement>,
|
|
51
|
+
'aria-label' | 'checked' | 'disabled' | 'required' | 'value'
|
|
52
|
+
>,
|
|
53
|
+
keyof {
|
|
54
|
+
ariaLabel?: string | undefined;
|
|
55
|
+
isDisabled?: boolean | undefined;
|
|
56
|
+
isRequired?: boolean | undefined;
|
|
57
|
+
isInvalid?: boolean | undefined;
|
|
58
|
+
isChecked?: boolean | undefined;
|
|
59
|
+
label?: ReactNode;
|
|
60
|
+
onChange?:
|
|
61
|
+
| ((e: ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void)
|
|
62
|
+
| undefined;
|
|
63
|
+
value?: string | undefined;
|
|
64
|
+
testId?: string | undefined;
|
|
65
|
+
analyticsContext?: Record<string, any> | undefined;
|
|
66
|
+
}
|
|
67
|
+
> & {
|
|
68
|
+
ariaLabel?: string | undefined;
|
|
69
|
+
isDisabled?: boolean | undefined;
|
|
70
|
+
isRequired?: boolean | undefined;
|
|
71
|
+
isInvalid?: boolean | undefined;
|
|
72
|
+
isChecked?: boolean | undefined;
|
|
73
|
+
label?: ReactNode;
|
|
74
|
+
onChange?:
|
|
75
|
+
| ((e: ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void)
|
|
76
|
+
| undefined;
|
|
77
|
+
value?: string | undefined;
|
|
78
|
+
testId?: string | undefined;
|
|
79
|
+
analyticsContext?: Record<string, any> | undefined;
|
|
80
|
+
} & WithAnalyticsEventsProps,
|
|
81
|
+
| 'about'
|
|
82
|
+
| 'accept'
|
|
83
|
+
| 'accessKey'
|
|
84
|
+
| 'alt'
|
|
85
|
+
| 'aria-activedescendant'
|
|
86
|
+
| 'aria-atomic'
|
|
87
|
+
| 'aria-autocomplete'
|
|
88
|
+
| 'aria-busy'
|
|
89
|
+
| 'aria-checked'
|
|
90
|
+
| 'aria-colcount'
|
|
91
|
+
| 'aria-colindex'
|
|
92
|
+
| 'aria-colspan'
|
|
93
|
+
| 'aria-controls'
|
|
94
|
+
| 'aria-current'
|
|
95
|
+
| 'aria-describedby'
|
|
96
|
+
| 'aria-details'
|
|
97
|
+
| 'aria-disabled'
|
|
98
|
+
| 'aria-dropeffect'
|
|
99
|
+
| 'aria-errormessage'
|
|
100
|
+
| 'aria-expanded'
|
|
101
|
+
| 'aria-flowto'
|
|
102
|
+
| 'aria-grabbed'
|
|
103
|
+
| 'aria-haspopup'
|
|
104
|
+
| 'aria-hidden'
|
|
105
|
+
| 'aria-invalid'
|
|
106
|
+
| 'aria-keyshortcuts'
|
|
107
|
+
| 'aria-labelledby'
|
|
108
|
+
| 'aria-level'
|
|
109
|
+
| 'aria-live'
|
|
110
|
+
| 'aria-modal'
|
|
111
|
+
| 'aria-multiline'
|
|
112
|
+
| 'aria-multiselectable'
|
|
113
|
+
| 'aria-orientation'
|
|
114
|
+
| 'aria-owns'
|
|
115
|
+
| 'aria-placeholder'
|
|
116
|
+
| 'aria-posinset'
|
|
117
|
+
| 'aria-pressed'
|
|
118
|
+
| 'aria-readonly'
|
|
119
|
+
| 'aria-relevant'
|
|
120
|
+
| 'aria-required'
|
|
121
|
+
| 'aria-roledescription'
|
|
122
|
+
| 'aria-rowcount'
|
|
123
|
+
| 'aria-rowindex'
|
|
124
|
+
| 'aria-rowspan'
|
|
125
|
+
| 'aria-selected'
|
|
126
|
+
| 'aria-setsize'
|
|
127
|
+
| 'aria-sort'
|
|
128
|
+
| 'aria-valuemax'
|
|
129
|
+
| 'aria-valuemin'
|
|
130
|
+
| 'aria-valuenow'
|
|
131
|
+
| 'aria-valuetext'
|
|
132
|
+
| 'autoCapitalize'
|
|
133
|
+
| 'autoComplete'
|
|
134
|
+
| 'autoCorrect'
|
|
135
|
+
| 'autoFocus'
|
|
136
|
+
| 'autoSave'
|
|
137
|
+
| 'capture'
|
|
138
|
+
| 'children'
|
|
139
|
+
| 'className'
|
|
140
|
+
| 'color'
|
|
141
|
+
| 'contentEditable'
|
|
142
|
+
| 'contextMenu'
|
|
143
|
+
| 'createAnalyticsEvent'
|
|
144
|
+
| 'crossOrigin'
|
|
145
|
+
| 'dangerouslySetInnerHTML'
|
|
146
|
+
| 'datatype'
|
|
147
|
+
| 'defaultChecked'
|
|
148
|
+
| 'defaultValue'
|
|
149
|
+
| 'dir'
|
|
150
|
+
| 'draggable'
|
|
151
|
+
| 'form'
|
|
152
|
+
| 'formAction'
|
|
153
|
+
| 'formEncType'
|
|
154
|
+
| 'formMethod'
|
|
155
|
+
| 'formNoValidate'
|
|
156
|
+
| 'formTarget'
|
|
157
|
+
| 'height'
|
|
158
|
+
| 'hidden'
|
|
159
|
+
| 'id'
|
|
160
|
+
| 'inlist'
|
|
161
|
+
| 'inputMode'
|
|
162
|
+
| 'is'
|
|
163
|
+
| 'itemID'
|
|
164
|
+
| 'itemProp'
|
|
165
|
+
| 'itemRef'
|
|
166
|
+
| 'itemScope'
|
|
167
|
+
| 'itemType'
|
|
168
|
+
| 'lang'
|
|
169
|
+
| 'list'
|
|
170
|
+
| 'max'
|
|
171
|
+
| 'maxLength'
|
|
172
|
+
| 'min'
|
|
173
|
+
| 'minLength'
|
|
174
|
+
| 'multiple'
|
|
175
|
+
| 'name'
|
|
176
|
+
| 'onAbort'
|
|
177
|
+
| 'onAbortCapture'
|
|
178
|
+
| 'onAnimationEnd'
|
|
179
|
+
| 'onAnimationEndCapture'
|
|
180
|
+
| 'onAnimationIteration'
|
|
181
|
+
| 'onAnimationIterationCapture'
|
|
182
|
+
| 'onAnimationStart'
|
|
183
|
+
| 'onAnimationStartCapture'
|
|
184
|
+
| 'onAuxClick'
|
|
185
|
+
| 'onAuxClickCapture'
|
|
186
|
+
| 'onBeforeInput'
|
|
187
|
+
| 'onBeforeInputCapture'
|
|
188
|
+
| 'onBlur'
|
|
189
|
+
| 'onBlurCapture'
|
|
190
|
+
| 'onCanPlay'
|
|
191
|
+
| 'onCanPlayCapture'
|
|
192
|
+
| 'onCanPlayThrough'
|
|
193
|
+
| 'onCanPlayThroughCapture'
|
|
194
|
+
| 'onChangeCapture'
|
|
195
|
+
| 'onClick'
|
|
196
|
+
| 'onClickCapture'
|
|
197
|
+
| 'onCompositionEnd'
|
|
198
|
+
| 'onCompositionEndCapture'
|
|
199
|
+
| 'onCompositionStart'
|
|
200
|
+
| 'onCompositionStartCapture'
|
|
201
|
+
| 'onCompositionUpdate'
|
|
202
|
+
| 'onCompositionUpdateCapture'
|
|
203
|
+
| 'onContextMenu'
|
|
204
|
+
| 'onContextMenuCapture'
|
|
205
|
+
| 'onCopy'
|
|
206
|
+
| 'onCopyCapture'
|
|
207
|
+
| 'onCut'
|
|
208
|
+
| 'onCutCapture'
|
|
209
|
+
| 'onDoubleClick'
|
|
210
|
+
| 'onDoubleClickCapture'
|
|
211
|
+
| 'onDrag'
|
|
212
|
+
| 'onDragCapture'
|
|
213
|
+
| 'onDragEnd'
|
|
214
|
+
| 'onDragEndCapture'
|
|
215
|
+
| 'onDragEnter'
|
|
216
|
+
| 'onDragEnterCapture'
|
|
217
|
+
| 'onDragExit'
|
|
218
|
+
| 'onDragExitCapture'
|
|
219
|
+
| 'onDragLeave'
|
|
220
|
+
| 'onDragLeaveCapture'
|
|
221
|
+
| 'onDragOver'
|
|
222
|
+
| 'onDragOverCapture'
|
|
223
|
+
| 'onDragStart'
|
|
224
|
+
| 'onDragStartCapture'
|
|
225
|
+
| 'onDrop'
|
|
226
|
+
| 'onDropCapture'
|
|
227
|
+
| 'onDurationChange'
|
|
228
|
+
| 'onDurationChangeCapture'
|
|
229
|
+
| 'onEmptied'
|
|
230
|
+
| 'onEmptiedCapture'
|
|
231
|
+
| 'onEncrypted'
|
|
232
|
+
| 'onEncryptedCapture'
|
|
233
|
+
| 'onEnded'
|
|
234
|
+
| 'onEndedCapture'
|
|
235
|
+
| 'onError'
|
|
236
|
+
| 'onErrorCapture'
|
|
237
|
+
| 'onFocus'
|
|
238
|
+
| 'onFocusCapture'
|
|
239
|
+
| 'onGotPointerCapture'
|
|
240
|
+
| 'onGotPointerCaptureCapture'
|
|
241
|
+
| 'onInput'
|
|
242
|
+
| 'onInputCapture'
|
|
243
|
+
| 'onInvalid'
|
|
244
|
+
| 'onInvalidCapture'
|
|
245
|
+
| 'onKeyDown'
|
|
246
|
+
| 'onKeyDownCapture'
|
|
247
|
+
| 'onKeyPress'
|
|
248
|
+
| 'onKeyPressCapture'
|
|
249
|
+
| 'onKeyUp'
|
|
250
|
+
| 'onKeyUpCapture'
|
|
251
|
+
| 'onLoad'
|
|
252
|
+
| 'onLoadCapture'
|
|
253
|
+
| 'onLoadStart'
|
|
254
|
+
| 'onLoadStartCapture'
|
|
255
|
+
| 'onLoadedData'
|
|
256
|
+
| 'onLoadedDataCapture'
|
|
257
|
+
| 'onLoadedMetadata'
|
|
258
|
+
| 'onLoadedMetadataCapture'
|
|
259
|
+
| 'onLostPointerCapture'
|
|
260
|
+
| 'onLostPointerCaptureCapture'
|
|
261
|
+
| 'onMouseDown'
|
|
262
|
+
| 'onMouseDownCapture'
|
|
263
|
+
| 'onMouseEnter'
|
|
264
|
+
| 'onMouseLeave'
|
|
265
|
+
| 'onMouseMove'
|
|
266
|
+
| 'onMouseMoveCapture'
|
|
267
|
+
| 'onMouseOut'
|
|
268
|
+
| 'onMouseOutCapture'
|
|
269
|
+
| 'onMouseOver'
|
|
270
|
+
| 'onMouseOverCapture'
|
|
271
|
+
| 'onMouseUp'
|
|
272
|
+
| 'onMouseUpCapture'
|
|
273
|
+
| 'onPaste'
|
|
274
|
+
| 'onPasteCapture'
|
|
275
|
+
| 'onPause'
|
|
276
|
+
| 'onPauseCapture'
|
|
277
|
+
| 'onPlay'
|
|
278
|
+
| 'onPlayCapture'
|
|
279
|
+
| 'onPlaying'
|
|
280
|
+
| 'onPlayingCapture'
|
|
281
|
+
| 'onPointerCancel'
|
|
282
|
+
| 'onPointerCancelCapture'
|
|
283
|
+
| 'onPointerDown'
|
|
284
|
+
| 'onPointerDownCapture'
|
|
285
|
+
| 'onPointerEnter'
|
|
286
|
+
| 'onPointerEnterCapture'
|
|
287
|
+
| 'onPointerLeave'
|
|
288
|
+
| 'onPointerLeaveCapture'
|
|
289
|
+
| 'onPointerMove'
|
|
290
|
+
| 'onPointerMoveCapture'
|
|
291
|
+
| 'onPointerOut'
|
|
292
|
+
| 'onPointerOutCapture'
|
|
293
|
+
| 'onPointerOver'
|
|
294
|
+
| 'onPointerOverCapture'
|
|
295
|
+
| 'onPointerUp'
|
|
296
|
+
| 'onPointerUpCapture'
|
|
297
|
+
| 'onProgress'
|
|
298
|
+
| 'onProgressCapture'
|
|
299
|
+
| 'onRateChange'
|
|
300
|
+
| 'onRateChangeCapture'
|
|
301
|
+
| 'onReset'
|
|
302
|
+
| 'onResetCapture'
|
|
303
|
+
| 'onScroll'
|
|
304
|
+
| 'onScrollCapture'
|
|
305
|
+
| 'onSeeked'
|
|
306
|
+
| 'onSeekedCapture'
|
|
307
|
+
| 'onSeeking'
|
|
308
|
+
| 'onSeekingCapture'
|
|
309
|
+
| 'onSelect'
|
|
310
|
+
| 'onSelectCapture'
|
|
311
|
+
| 'onStalled'
|
|
312
|
+
| 'onStalledCapture'
|
|
313
|
+
| 'onSubmit'
|
|
314
|
+
| 'onSubmitCapture'
|
|
315
|
+
| 'onSuspend'
|
|
316
|
+
| 'onSuspendCapture'
|
|
317
|
+
| 'onTimeUpdate'
|
|
318
|
+
| 'onTimeUpdateCapture'
|
|
319
|
+
| 'onTouchCancel'
|
|
320
|
+
| 'onTouchCancelCapture'
|
|
321
|
+
| 'onTouchEnd'
|
|
322
|
+
| 'onTouchEndCapture'
|
|
323
|
+
| 'onTouchMove'
|
|
324
|
+
| 'onTouchMoveCapture'
|
|
325
|
+
| 'onTouchStart'
|
|
326
|
+
| 'onTouchStartCapture'
|
|
327
|
+
| 'onTransitionEnd'
|
|
328
|
+
| 'onTransitionEndCapture'
|
|
329
|
+
| 'onVolumeChange'
|
|
330
|
+
| 'onVolumeChangeCapture'
|
|
331
|
+
| 'onWaiting'
|
|
332
|
+
| 'onWaitingCapture'
|
|
333
|
+
| 'onWheel'
|
|
334
|
+
| 'onWheelCapture'
|
|
335
|
+
| 'pattern'
|
|
336
|
+
| 'placeholder'
|
|
337
|
+
| 'prefix'
|
|
338
|
+
| 'property'
|
|
339
|
+
| 'radioGroup'
|
|
340
|
+
| 'readOnly'
|
|
341
|
+
| 'resource'
|
|
342
|
+
| 'results'
|
|
343
|
+
| 'role'
|
|
344
|
+
| 'security'
|
|
345
|
+
| 'size'
|
|
346
|
+
| 'slot'
|
|
347
|
+
| 'spellCheck'
|
|
348
|
+
| 'src'
|
|
349
|
+
| 'step'
|
|
350
|
+
| 'style'
|
|
351
|
+
| 'suppressContentEditableWarning'
|
|
352
|
+
| 'suppressHydrationWarning'
|
|
353
|
+
| 'tabIndex'
|
|
354
|
+
| 'title'
|
|
355
|
+
| 'translate'
|
|
356
|
+
| 'type'
|
|
357
|
+
| 'typeof'
|
|
358
|
+
| 'unselectable'
|
|
359
|
+
| 'vocab'
|
|
360
|
+
| 'width'
|
|
361
|
+
| keyof {
|
|
362
|
+
ariaLabel?: string | undefined;
|
|
363
|
+
isDisabled?: boolean | undefined;
|
|
364
|
+
isRequired?: boolean | undefined;
|
|
365
|
+
isInvalid?: boolean | undefined;
|
|
366
|
+
isChecked?: boolean | undefined;
|
|
367
|
+
label?: ReactNode;
|
|
368
|
+
onChange?:
|
|
369
|
+
| ((e: ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void)
|
|
370
|
+
| undefined;
|
|
371
|
+
value?: string | undefined;
|
|
372
|
+
testId?: string | undefined;
|
|
373
|
+
analyticsContext?: Record<string, any> | undefined;
|
|
374
|
+
}
|
|
375
|
+
> &
|
|
376
|
+
RefAttributes<HTMLInputElement>
|
|
377
|
+
>
|
|
386
378
|
>;
|
|
387
379
|
|
|
388
380
|
// @public (undocumented)
|
|
@@ -390,20 +382,17 @@ export function RadioGroup(props: RadioGroupProps): JSX.Element;
|
|
|
390
382
|
|
|
391
383
|
// @public (undocumented)
|
|
392
384
|
interface RadioGroupProps {
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
onInvalid?: (event: SyntheticEvent<any>) => void;
|
|
405
|
-
options: OptionsPropType;
|
|
406
|
-
value?: RadioValue | null;
|
|
385
|
+
'aria-labelledby'?: string;
|
|
386
|
+
analyticsContext?: Record<string, any>;
|
|
387
|
+
defaultValue?: RadioValue | null;
|
|
388
|
+
isDisabled?: boolean;
|
|
389
|
+
isInvalid?: boolean;
|
|
390
|
+
isRequired?: boolean;
|
|
391
|
+
name?: string;
|
|
392
|
+
onChange?: (e: React_2.ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void;
|
|
393
|
+
onInvalid?: (event: SyntheticEvent<any>) => void;
|
|
394
|
+
options: OptionsPropType;
|
|
395
|
+
value?: RadioValue | null;
|
|
407
396
|
}
|
|
408
397
|
|
|
409
398
|
// @public (undocumented)
|
|
@@ -420,7 +409,7 @@ type RadioValue = string;
|
|
|
420
409
|
|
|
421
410
|
```json
|
|
422
411
|
{
|
|
423
|
-
|
|
412
|
+
"react": "^16.8.0"
|
|
424
413
|
}
|
|
425
414
|
```
|
|
426
415
|
|