carbon-react 126.10.1 → 127.0.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/esm/__internal__/checkable-input/checkable-input.component.js +362 -360
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
- package/esm/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
- package/esm/__internal__/input/input-presentation.component.js +19 -17
- package/esm/__internal__/input/input.component.js +355 -353
- package/esm/components/accordion/accordion.component.js +338 -336
- package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
- package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
- package/esm/components/anchor-navigation/anchor-navigation.component.js +6 -4
- package/esm/components/box/box.component.js +3785 -3783
- package/esm/components/breadcrumbs/breadcrumbs.component.js +316 -314
- package/esm/components/breadcrumbs/crumb/crumb.component.js +64 -62
- package/esm/components/button/button.component.js +688 -684
- package/esm/components/checkbox/checkbox.component.js +524 -522
- package/esm/components/date/date.component.js +722 -720
- package/esm/components/decimal/decimal.component.js +536 -534
- package/esm/components/dialog/dialog.component.js +56 -54
- package/esm/components/draggable/draggable-container.component.js +160 -158
- package/esm/components/draggable/draggable-item.component.js +162 -160
- package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
- package/esm/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
- package/esm/components/file-input/file-input.component.js +191 -189
- package/esm/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
- package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
- package/esm/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
- package/esm/components/grouped-character/grouped-character.component.js +538 -536
- package/esm/components/help/help.component.js +172 -170
- package/esm/components/hr/hr.component.js +159 -157
- package/esm/components/icon/icon.component.js +181 -179
- package/esm/components/icon-button/icon-button.component.js +321 -319
- package/esm/components/link/link.component.js +72 -70
- package/esm/components/menu/__internal__/submenu/submenu.component.js +120 -118
- package/esm/components/menu/menu-divider/menu-divider.component.js +8 -6
- package/esm/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
- package/esm/components/message/message.component.js +168 -166
- package/esm/components/navigation-bar/navigation-bar.component.js +1279 -1277
- package/esm/components/note/__internal__/status-icon/status-icon.component.js +6 -4
- package/esm/components/number/number.component.js +536 -534
- package/esm/components/pod/pod.component.js +178 -176
- package/esm/components/radio-button/radio-button.component.js +523 -521
- package/esm/components/search/search.component.js +183 -181
- package/esm/components/select/filterable-select/filterable-select.component.js +554 -552
- package/esm/components/select/list-action-button/list-action-button.component.js +6 -4
- package/esm/components/select/multi-select/multi-select.component.js +551 -549
- package/esm/components/select/option/option.component.js +402 -400
- package/esm/components/select/option-group-header/option-group-header.component.js +11 -9
- package/esm/components/select/option-row/option-row.component.js +16 -14
- package/esm/components/select/select-list/select-list.component.js +34 -32
- package/esm/components/select/select-textbox/select-textbox.component.js +543 -541
- package/esm/components/select/simple-select/simple-select.component.js +550 -548
- package/esm/components/sidebar/sidebar.component.js +297 -295
- package/esm/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
- package/esm/components/simple-color-picker/simple-color-picker.component.js +173 -171
- package/esm/components/step-flow/step-flow.component.js +170 -168
- package/esm/components/switch/switch.component.js +524 -522
- package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
- package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
- package/esm/components/text-editor/text-editor.component.js +171 -169
- package/esm/components/textarea/textarea.component.js +532 -530
- package/esm/components/textbox/textbox.component.js +536 -534
- package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
- package/esm/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
- package/esm/components/tile-select/tile-select.component.js +180 -178
- package/esm/components/time/time.component.js +202 -200
- package/esm/components/toast/toast.component.js +18 -16
- package/esm/components/tooltip/tooltip.component.js +23 -21
- package/esm/components/vertical-divider/vertical-divider.component.js +316 -314
- package/lib/__internal__/checkable-input/checkable-input.component.js +362 -360
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
- package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
- package/lib/__internal__/input/input-presentation.component.js +19 -17
- package/lib/__internal__/input/input.component.js +355 -353
- package/lib/components/accordion/accordion.component.js +338 -336
- package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
- package/lib/components/anchor-navigation/anchor-navigation.component.js +6 -4
- package/lib/components/box/box.component.js +3785 -3783
- package/lib/components/breadcrumbs/breadcrumbs.component.js +316 -314
- package/lib/components/breadcrumbs/crumb/crumb.component.js +64 -62
- package/lib/components/button/button.component.js +688 -684
- package/lib/components/checkbox/checkbox.component.js +524 -522
- package/lib/components/date/date.component.js +722 -720
- package/lib/components/decimal/decimal.component.js +536 -534
- package/lib/components/dialog/dialog.component.js +56 -54
- package/lib/components/draggable/draggable-container.component.js +160 -158
- package/lib/components/draggable/draggable-item.component.js +162 -160
- package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
- package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
- package/lib/components/file-input/file-input.component.js +191 -189
- package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
- package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
- package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
- package/lib/components/grouped-character/grouped-character.component.js +538 -536
- package/lib/components/help/help.component.js +172 -170
- package/lib/components/hr/hr.component.js +159 -157
- package/lib/components/icon/icon.component.js +181 -179
- package/lib/components/icon-button/icon-button.component.js +321 -319
- package/lib/components/link/link.component.js +72 -70
- package/lib/components/menu/__internal__/submenu/submenu.component.js +120 -118
- package/lib/components/menu/menu-divider/menu-divider.component.js +8 -6
- package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
- package/lib/components/message/message.component.js +168 -166
- package/lib/components/navigation-bar/navigation-bar.component.js +1279 -1277
- package/lib/components/note/__internal__/status-icon/status-icon.component.js +6 -4
- package/lib/components/number/number.component.js +536 -534
- package/lib/components/pod/pod.component.js +178 -176
- package/lib/components/radio-button/radio-button.component.js +523 -521
- package/lib/components/search/search.component.js +183 -181
- package/lib/components/select/filterable-select/filterable-select.component.js +554 -552
- package/lib/components/select/list-action-button/list-action-button.component.js +6 -4
- package/lib/components/select/multi-select/multi-select.component.js +551 -549
- package/lib/components/select/option/option.component.js +402 -400
- package/lib/components/select/option-group-header/option-group-header.component.js +11 -9
- package/lib/components/select/option-row/option-row.component.js +16 -14
- package/lib/components/select/select-list/select-list.component.js +34 -32
- package/lib/components/select/select-textbox/select-textbox.component.js +543 -541
- package/lib/components/select/simple-select/simple-select.component.js +550 -548
- package/lib/components/sidebar/sidebar.component.js +297 -295
- package/lib/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
- package/lib/components/simple-color-picker/simple-color-picker.component.js +173 -171
- package/lib/components/step-flow/step-flow.component.js +170 -168
- package/lib/components/switch/switch.component.js +524 -522
- package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
- package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
- package/lib/components/text-editor/text-editor.component.js +171 -169
- package/lib/components/textarea/textarea.component.js +532 -530
- package/lib/components/textbox/textbox.component.js +536 -534
- package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
- package/lib/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
- package/lib/components/tile-select/tile-select.component.js +180 -178
- package/lib/components/time/time.component.js +202 -200
- package/lib/components/toast/toast.component.js +18 -16
- package/lib/components/tooltip/tooltip.component.js +23 -21
- package/lib/components/vertical-divider/vertical-divider.component.js +316 -314
- package/package.json +1 -1
|
@@ -107,365 +107,367 @@ const CheckableInput = /*#__PURE__*/React.forwardRef(({
|
|
|
107
107
|
my: 0
|
|
108
108
|
}), /*#__PURE__*/React.createElement(StyledCheckableInput, null, /*#__PURE__*/React.createElement(HiddenCheckableInput, inputProps), children))));
|
|
109
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
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
"
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
110
|
+
if (process.env.NODE_ENV !== "production") {
|
|
111
|
+
CheckableInput.propTypes = {
|
|
112
|
+
"about": PropTypes.string,
|
|
113
|
+
"accept": PropTypes.string,
|
|
114
|
+
"accessKey": PropTypes.string,
|
|
115
|
+
"alt": PropTypes.string,
|
|
116
|
+
"aria-activedescendant": PropTypes.string,
|
|
117
|
+
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
118
|
+
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
119
|
+
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
120
|
+
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
121
|
+
"aria-colcount": PropTypes.number,
|
|
122
|
+
"aria-colindex": PropTypes.number,
|
|
123
|
+
"aria-colspan": PropTypes.number,
|
|
124
|
+
"aria-controls": PropTypes.string,
|
|
125
|
+
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
126
|
+
"aria-describedby": PropTypes.string,
|
|
127
|
+
"aria-details": PropTypes.string,
|
|
128
|
+
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
129
|
+
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
130
|
+
"aria-errormessage": PropTypes.string,
|
|
131
|
+
"aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
132
|
+
"aria-flowto": PropTypes.string,
|
|
133
|
+
"aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
134
|
+
"aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
|
|
135
|
+
"aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
136
|
+
"aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
|
|
137
|
+
"aria-keyshortcuts": PropTypes.string,
|
|
138
|
+
"aria-label": PropTypes.string,
|
|
139
|
+
"aria-labelledby": PropTypes.string,
|
|
140
|
+
"aria-level": PropTypes.number,
|
|
141
|
+
"aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
|
|
142
|
+
"aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
143
|
+
"aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
144
|
+
"aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
145
|
+
"aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
|
|
146
|
+
"aria-owns": PropTypes.string,
|
|
147
|
+
"aria-placeholder": PropTypes.string,
|
|
148
|
+
"aria-posinset": PropTypes.number,
|
|
149
|
+
"aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
150
|
+
"aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
151
|
+
"aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
|
|
152
|
+
"aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
153
|
+
"aria-roledescription": PropTypes.string,
|
|
154
|
+
"aria-rowcount": PropTypes.number,
|
|
155
|
+
"aria-rowindex": PropTypes.number,
|
|
156
|
+
"aria-rowspan": PropTypes.number,
|
|
157
|
+
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
158
|
+
"aria-setsize": PropTypes.number,
|
|
159
|
+
"aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
|
|
160
|
+
"aria-valuemax": PropTypes.number,
|
|
161
|
+
"aria-valuemin": PropTypes.number,
|
|
162
|
+
"aria-valuenow": PropTypes.number,
|
|
163
|
+
"aria-valuetext": PropTypes.string,
|
|
164
|
+
"ariaDescribedBy": PropTypes.string,
|
|
165
|
+
"ariaLabelledBy": PropTypes.string,
|
|
166
|
+
"autoCapitalize": PropTypes.string,
|
|
167
|
+
"autoComplete": PropTypes.string,
|
|
168
|
+
"autoCorrect": PropTypes.string,
|
|
169
|
+
"autoFocus": PropTypes.bool,
|
|
170
|
+
"autoSave": PropTypes.string,
|
|
171
|
+
"capture": PropTypes.oneOfType([PropTypes.oneOf(["environment", "user"]), PropTypes.bool]),
|
|
172
|
+
"checked": PropTypes.bool,
|
|
173
|
+
"children": PropTypes.node,
|
|
174
|
+
"className": PropTypes.string,
|
|
175
|
+
"color": PropTypes.string,
|
|
176
|
+
"content": PropTypes.string,
|
|
177
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
178
|
+
"contextMenu": PropTypes.string,
|
|
179
|
+
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
180
|
+
"__html": PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired
|
|
181
|
+
}),
|
|
182
|
+
"datatype": PropTypes.string,
|
|
183
|
+
"defaultChecked": PropTypes.bool,
|
|
184
|
+
"defaultValue": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
|
|
185
|
+
"dir": PropTypes.string,
|
|
186
|
+
"disabled": PropTypes.bool,
|
|
187
|
+
"draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
188
|
+
"enterKeyHint": PropTypes.oneOf(["done", "enter", "go", "next", "previous", "search", "send"]),
|
|
189
|
+
"error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
190
|
+
"fieldHelp": PropTypes.node,
|
|
191
|
+
"fieldHelpInline": PropTypes.bool,
|
|
192
|
+
"form": PropTypes.string,
|
|
193
|
+
"formAction": PropTypes.string,
|
|
194
|
+
"formEncType": PropTypes.string,
|
|
195
|
+
"formMethod": PropTypes.string,
|
|
196
|
+
"formNoValidate": PropTypes.bool,
|
|
197
|
+
"formTarget": PropTypes.string,
|
|
198
|
+
"height": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
199
|
+
"hidden": PropTypes.bool,
|
|
200
|
+
"id": PropTypes.string,
|
|
201
|
+
"info": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
202
|
+
"inlist": PropTypes.any,
|
|
203
|
+
"inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
|
|
204
|
+
"inputWidth": PropTypes.number,
|
|
205
|
+
"is": PropTypes.string,
|
|
206
|
+
"itemID": PropTypes.string,
|
|
207
|
+
"itemProp": PropTypes.string,
|
|
208
|
+
"itemRef": PropTypes.string,
|
|
209
|
+
"itemScope": PropTypes.bool,
|
|
210
|
+
"itemType": PropTypes.string,
|
|
211
|
+
"label": PropTypes.node,
|
|
212
|
+
"labelHelp": PropTypes.node,
|
|
213
|
+
"labelInline": PropTypes.bool,
|
|
214
|
+
"labelSpacing": PropTypes.oneOf([1, 2]),
|
|
215
|
+
"labelWidth": PropTypes.number,
|
|
216
|
+
"lang": PropTypes.string,
|
|
217
|
+
"list": PropTypes.string,
|
|
218
|
+
"loading": PropTypes.bool,
|
|
219
|
+
"max": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
220
|
+
"maxLength": PropTypes.number,
|
|
221
|
+
"min": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
222
|
+
"minLength": PropTypes.number,
|
|
223
|
+
"multiple": PropTypes.bool,
|
|
224
|
+
"name": PropTypes.string,
|
|
225
|
+
"nonce": PropTypes.string,
|
|
226
|
+
"onAbort": PropTypes.func,
|
|
227
|
+
"onAbortCapture": PropTypes.func,
|
|
228
|
+
"onAnimationEnd": PropTypes.func,
|
|
229
|
+
"onAnimationEndCapture": PropTypes.func,
|
|
230
|
+
"onAnimationIteration": PropTypes.func,
|
|
231
|
+
"onAnimationIterationCapture": PropTypes.func,
|
|
232
|
+
"onAnimationStart": PropTypes.func,
|
|
233
|
+
"onAnimationStartCapture": PropTypes.func,
|
|
234
|
+
"onAuxClick": PropTypes.func,
|
|
235
|
+
"onAuxClickCapture": PropTypes.func,
|
|
236
|
+
"onBeforeInput": PropTypes.func,
|
|
237
|
+
"onBeforeInputCapture": PropTypes.func,
|
|
238
|
+
"onBlur": PropTypes.func,
|
|
239
|
+
"onBlurCapture": PropTypes.func,
|
|
240
|
+
"onCanPlay": PropTypes.func,
|
|
241
|
+
"onCanPlayCapture": PropTypes.func,
|
|
242
|
+
"onCanPlayThrough": PropTypes.func,
|
|
243
|
+
"onCanPlayThroughCapture": PropTypes.func,
|
|
244
|
+
"onChange": PropTypes.func,
|
|
245
|
+
"onChangeCapture": PropTypes.func,
|
|
246
|
+
"onClick": PropTypes.func,
|
|
247
|
+
"onClickCapture": PropTypes.func,
|
|
248
|
+
"onCompositionEnd": PropTypes.func,
|
|
249
|
+
"onCompositionEndCapture": PropTypes.func,
|
|
250
|
+
"onCompositionStart": PropTypes.func,
|
|
251
|
+
"onCompositionStartCapture": PropTypes.func,
|
|
252
|
+
"onCompositionUpdate": PropTypes.func,
|
|
253
|
+
"onCompositionUpdateCapture": PropTypes.func,
|
|
254
|
+
"onContextMenu": PropTypes.func,
|
|
255
|
+
"onContextMenuCapture": PropTypes.func,
|
|
256
|
+
"onCopy": PropTypes.func,
|
|
257
|
+
"onCopyCapture": PropTypes.func,
|
|
258
|
+
"onCut": PropTypes.func,
|
|
259
|
+
"onCutCapture": PropTypes.func,
|
|
260
|
+
"onDoubleClick": PropTypes.func,
|
|
261
|
+
"onDoubleClickCapture": PropTypes.func,
|
|
262
|
+
"onDrag": PropTypes.func,
|
|
263
|
+
"onDragCapture": PropTypes.func,
|
|
264
|
+
"onDragEnd": PropTypes.func,
|
|
265
|
+
"onDragEndCapture": PropTypes.func,
|
|
266
|
+
"onDragEnter": PropTypes.func,
|
|
267
|
+
"onDragEnterCapture": PropTypes.func,
|
|
268
|
+
"onDragExit": PropTypes.func,
|
|
269
|
+
"onDragExitCapture": PropTypes.func,
|
|
270
|
+
"onDragLeave": PropTypes.func,
|
|
271
|
+
"onDragLeaveCapture": PropTypes.func,
|
|
272
|
+
"onDragOver": PropTypes.func,
|
|
273
|
+
"onDragOverCapture": PropTypes.func,
|
|
274
|
+
"onDragStart": PropTypes.func,
|
|
275
|
+
"onDragStartCapture": PropTypes.func,
|
|
276
|
+
"onDrop": PropTypes.func,
|
|
277
|
+
"onDropCapture": PropTypes.func,
|
|
278
|
+
"onDurationChange": PropTypes.func,
|
|
279
|
+
"onDurationChangeCapture": PropTypes.func,
|
|
280
|
+
"onEmptied": PropTypes.func,
|
|
281
|
+
"onEmptiedCapture": PropTypes.func,
|
|
282
|
+
"onEncrypted": PropTypes.func,
|
|
283
|
+
"onEncryptedCapture": PropTypes.func,
|
|
284
|
+
"onEnded": PropTypes.func,
|
|
285
|
+
"onEndedCapture": PropTypes.func,
|
|
286
|
+
"onError": PropTypes.func,
|
|
287
|
+
"onErrorCapture": PropTypes.func,
|
|
288
|
+
"onFocus": PropTypes.func,
|
|
289
|
+
"onFocusCapture": PropTypes.func,
|
|
290
|
+
"onGotPointerCapture": PropTypes.func,
|
|
291
|
+
"onGotPointerCaptureCapture": PropTypes.func,
|
|
292
|
+
"onInput": PropTypes.func,
|
|
293
|
+
"onInputCapture": PropTypes.func,
|
|
294
|
+
"onInvalid": PropTypes.func,
|
|
295
|
+
"onInvalidCapture": PropTypes.func,
|
|
296
|
+
"onKeyDown": PropTypes.func,
|
|
297
|
+
"onKeyDownCapture": PropTypes.func,
|
|
298
|
+
"onKeyPress": PropTypes.func,
|
|
299
|
+
"onKeyPressCapture": PropTypes.func,
|
|
300
|
+
"onKeyUp": PropTypes.func,
|
|
301
|
+
"onKeyUpCapture": PropTypes.func,
|
|
302
|
+
"onLoad": PropTypes.func,
|
|
303
|
+
"onLoadCapture": PropTypes.func,
|
|
304
|
+
"onLoadedData": PropTypes.func,
|
|
305
|
+
"onLoadedDataCapture": PropTypes.func,
|
|
306
|
+
"onLoadedMetadata": PropTypes.func,
|
|
307
|
+
"onLoadedMetadataCapture": PropTypes.func,
|
|
308
|
+
"onLoadStart": PropTypes.func,
|
|
309
|
+
"onLoadStartCapture": PropTypes.func,
|
|
310
|
+
"onLostPointerCapture": PropTypes.func,
|
|
311
|
+
"onLostPointerCaptureCapture": PropTypes.func,
|
|
312
|
+
"onMouseDown": PropTypes.func,
|
|
313
|
+
"onMouseDownCapture": PropTypes.func,
|
|
314
|
+
"onMouseEnter": PropTypes.func,
|
|
315
|
+
"onMouseLeave": PropTypes.func,
|
|
316
|
+
"onMouseMove": PropTypes.func,
|
|
317
|
+
"onMouseMoveCapture": PropTypes.func,
|
|
318
|
+
"onMouseOut": PropTypes.func,
|
|
319
|
+
"onMouseOutCapture": PropTypes.func,
|
|
320
|
+
"onMouseOver": PropTypes.func,
|
|
321
|
+
"onMouseOverCapture": PropTypes.func,
|
|
322
|
+
"onMouseUp": PropTypes.func,
|
|
323
|
+
"onMouseUpCapture": PropTypes.func,
|
|
324
|
+
"onPaste": PropTypes.func,
|
|
325
|
+
"onPasteCapture": PropTypes.func,
|
|
326
|
+
"onPause": PropTypes.func,
|
|
327
|
+
"onPauseCapture": PropTypes.func,
|
|
328
|
+
"onPlay": PropTypes.func,
|
|
329
|
+
"onPlayCapture": PropTypes.func,
|
|
330
|
+
"onPlaying": PropTypes.func,
|
|
331
|
+
"onPlayingCapture": PropTypes.func,
|
|
332
|
+
"onPointerCancel": PropTypes.func,
|
|
333
|
+
"onPointerCancelCapture": PropTypes.func,
|
|
334
|
+
"onPointerDown": PropTypes.func,
|
|
335
|
+
"onPointerDownCapture": PropTypes.func,
|
|
336
|
+
"onPointerEnter": PropTypes.func,
|
|
337
|
+
"onPointerEnterCapture": PropTypes.func,
|
|
338
|
+
"onPointerLeave": PropTypes.func,
|
|
339
|
+
"onPointerLeaveCapture": PropTypes.func,
|
|
340
|
+
"onPointerMove": PropTypes.func,
|
|
341
|
+
"onPointerMoveCapture": PropTypes.func,
|
|
342
|
+
"onPointerOut": PropTypes.func,
|
|
343
|
+
"onPointerOutCapture": PropTypes.func,
|
|
344
|
+
"onPointerOver": PropTypes.func,
|
|
345
|
+
"onPointerOverCapture": PropTypes.func,
|
|
346
|
+
"onPointerUp": PropTypes.func,
|
|
347
|
+
"onPointerUpCapture": PropTypes.func,
|
|
348
|
+
"onProgress": PropTypes.func,
|
|
349
|
+
"onProgressCapture": PropTypes.func,
|
|
350
|
+
"onRateChange": PropTypes.func,
|
|
351
|
+
"onRateChangeCapture": PropTypes.func,
|
|
352
|
+
"onReset": PropTypes.func,
|
|
353
|
+
"onResetCapture": PropTypes.func,
|
|
354
|
+
"onScroll": PropTypes.func,
|
|
355
|
+
"onScrollCapture": PropTypes.func,
|
|
356
|
+
"onSeeked": PropTypes.func,
|
|
357
|
+
"onSeekedCapture": PropTypes.func,
|
|
358
|
+
"onSeeking": PropTypes.func,
|
|
359
|
+
"onSeekingCapture": PropTypes.func,
|
|
360
|
+
"onSelect": PropTypes.func,
|
|
361
|
+
"onSelectCapture": PropTypes.func,
|
|
362
|
+
"onStalled": PropTypes.func,
|
|
363
|
+
"onStalledCapture": PropTypes.func,
|
|
364
|
+
"onSubmit": PropTypes.func,
|
|
365
|
+
"onSubmitCapture": PropTypes.func,
|
|
366
|
+
"onSuspend": PropTypes.func,
|
|
367
|
+
"onSuspendCapture": PropTypes.func,
|
|
368
|
+
"onTimeUpdate": PropTypes.func,
|
|
369
|
+
"onTimeUpdateCapture": PropTypes.func,
|
|
370
|
+
"onTouchCancel": PropTypes.func,
|
|
371
|
+
"onTouchCancelCapture": PropTypes.func,
|
|
372
|
+
"onTouchEnd": PropTypes.func,
|
|
373
|
+
"onTouchEndCapture": PropTypes.func,
|
|
374
|
+
"onTouchMove": PropTypes.func,
|
|
375
|
+
"onTouchMoveCapture": PropTypes.func,
|
|
376
|
+
"onTouchStart": PropTypes.func,
|
|
377
|
+
"onTouchStartCapture": PropTypes.func,
|
|
378
|
+
"onTransitionEnd": PropTypes.func,
|
|
379
|
+
"onTransitionEndCapture": PropTypes.func,
|
|
380
|
+
"onVolumeChange": PropTypes.func,
|
|
381
|
+
"onVolumeChangeCapture": PropTypes.func,
|
|
382
|
+
"onWaiting": PropTypes.func,
|
|
383
|
+
"onWaitingCapture": PropTypes.func,
|
|
384
|
+
"onWheel": PropTypes.func,
|
|
385
|
+
"onWheelCapture": PropTypes.func,
|
|
386
|
+
"pattern": PropTypes.string,
|
|
387
|
+
"placeholder": PropTypes.string,
|
|
388
|
+
"prefix": PropTypes.string,
|
|
389
|
+
"property": PropTypes.string,
|
|
390
|
+
"radioGroup": PropTypes.string,
|
|
391
|
+
"readOnly": PropTypes.bool,
|
|
392
|
+
"rel": PropTypes.string,
|
|
393
|
+
"required": PropTypes.bool,
|
|
394
|
+
"resource": PropTypes.string,
|
|
395
|
+
"results": PropTypes.number,
|
|
396
|
+
"rev": PropTypes.string,
|
|
397
|
+
"reverse": PropTypes.bool,
|
|
398
|
+
"role": PropTypes.oneOfType([PropTypes.oneOf(["alert", "alertdialog", "application", "article", "banner", "button", "cell", "checkbox", "columnheader", "combobox", "complementary", "contentinfo", "definition", "dialog", "directory", "document", "feed", "figure", "form", "grid", "gridcell", "group", "heading", "img", "link", "list", "listbox", "listitem", "log", "main", "marquee", "math", "menu", "menubar", "menuitem", "menuitemcheckbox", "menuitemradio", "navigation", "none", "note", "option", "presentation", "progressbar", "radio", "radiogroup", "region", "row", "rowgroup", "rowheader", "scrollbar", "search", "searchbox", "separator", "slider", "spinbutton", "status", "switch", "tab", "table", "tablist", "tabpanel", "term", "textbox", "timer", "toolbar", "tooltip", "tree", "treegrid", "treeitem"]), PropTypes.shape({
|
|
399
|
+
"__@iterator": PropTypes.func.isRequired,
|
|
400
|
+
"anchor": PropTypes.func.isRequired,
|
|
401
|
+
"at": PropTypes.func.isRequired,
|
|
402
|
+
"big": PropTypes.func.isRequired,
|
|
403
|
+
"blink": PropTypes.func.isRequired,
|
|
404
|
+
"bold": PropTypes.func.isRequired,
|
|
405
|
+
"charAt": PropTypes.func.isRequired,
|
|
406
|
+
"charCodeAt": PropTypes.func.isRequired,
|
|
407
|
+
"codePointAt": PropTypes.func.isRequired,
|
|
408
|
+
"concat": PropTypes.func.isRequired,
|
|
409
|
+
"endsWith": PropTypes.func.isRequired,
|
|
410
|
+
"fixed": PropTypes.func.isRequired,
|
|
411
|
+
"fontcolor": PropTypes.func.isRequired,
|
|
412
|
+
"fontsize": PropTypes.func.isRequired,
|
|
413
|
+
"includes": PropTypes.func.isRequired,
|
|
414
|
+
"indexOf": PropTypes.func.isRequired,
|
|
415
|
+
"italics": PropTypes.func.isRequired,
|
|
416
|
+
"lastIndexOf": PropTypes.func.isRequired,
|
|
417
|
+
"length": PropTypes.number.isRequired,
|
|
418
|
+
"link": PropTypes.func.isRequired,
|
|
419
|
+
"localeCompare": PropTypes.func.isRequired,
|
|
420
|
+
"match": PropTypes.func.isRequired,
|
|
421
|
+
"matchAll": PropTypes.func.isRequired,
|
|
422
|
+
"normalize": PropTypes.func.isRequired,
|
|
423
|
+
"padEnd": PropTypes.func.isRequired,
|
|
424
|
+
"padStart": PropTypes.func.isRequired,
|
|
425
|
+
"repeat": PropTypes.func.isRequired,
|
|
426
|
+
"replace": PropTypes.func.isRequired,
|
|
427
|
+
"search": PropTypes.func.isRequired,
|
|
428
|
+
"slice": PropTypes.func.isRequired,
|
|
429
|
+
"small": PropTypes.func.isRequired,
|
|
430
|
+
"split": PropTypes.func.isRequired,
|
|
431
|
+
"startsWith": PropTypes.func.isRequired,
|
|
432
|
+
"strike": PropTypes.func.isRequired,
|
|
433
|
+
"sub": PropTypes.func.isRequired,
|
|
434
|
+
"substr": PropTypes.func.isRequired,
|
|
435
|
+
"substring": PropTypes.func.isRequired,
|
|
436
|
+
"sup": PropTypes.func.isRequired,
|
|
437
|
+
"toLocaleLowerCase": PropTypes.func.isRequired,
|
|
438
|
+
"toLocaleUpperCase": PropTypes.func.isRequired,
|
|
439
|
+
"toLowerCase": PropTypes.func.isRequired,
|
|
440
|
+
"toString": PropTypes.func.isRequired,
|
|
441
|
+
"toUpperCase": PropTypes.func.isRequired,
|
|
442
|
+
"trim": PropTypes.func.isRequired,
|
|
443
|
+
"trimEnd": PropTypes.func.isRequired,
|
|
444
|
+
"trimLeft": PropTypes.func.isRequired,
|
|
445
|
+
"trimRight": PropTypes.func.isRequired,
|
|
446
|
+
"trimStart": PropTypes.func.isRequired,
|
|
447
|
+
"valueOf": PropTypes.func.isRequired
|
|
448
|
+
})]),
|
|
449
|
+
"security": PropTypes.string,
|
|
450
|
+
"size": PropTypes.oneOf(["large", "small"]),
|
|
451
|
+
"slot": PropTypes.string,
|
|
452
|
+
"spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
453
|
+
"src": PropTypes.string,
|
|
454
|
+
"step": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
455
|
+
"style": PropTypes.object,
|
|
456
|
+
"suppressContentEditableWarning": PropTypes.bool,
|
|
457
|
+
"suppressHydrationWarning": PropTypes.bool,
|
|
458
|
+
"tabIndex": PropTypes.number,
|
|
459
|
+
"title": PropTypes.string,
|
|
460
|
+
"translate": PropTypes.oneOf(["no", "yes"]),
|
|
461
|
+
"type": PropTypes.string.isRequired,
|
|
462
|
+
"typeof": PropTypes.string,
|
|
463
|
+
"unselectable": PropTypes.oneOf(["off", "on"]),
|
|
464
|
+
"validationIconId": PropTypes.string,
|
|
465
|
+
"validationOnLabel": PropTypes.bool,
|
|
466
|
+
"value": PropTypes.string,
|
|
467
|
+
"vocab": PropTypes.string,
|
|
468
|
+
"warning": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
469
|
+
"width": PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
470
|
+
};
|
|
471
|
+
}
|
|
470
472
|
CheckableInput.displayName = "CheckableInput";
|
|
471
473
|
export default CheckableInput;
|