carbon-react 126.10.0 → 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.
Files changed (137) hide show
  1. package/esm/__internal__/checkable-input/checkable-input.component.js +362 -360
  2. package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
  3. package/esm/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
  4. package/esm/__internal__/input/input-presentation.component.js +19 -17
  5. package/esm/__internal__/input/input.component.js +355 -353
  6. package/esm/components/accordion/accordion.component.js +338 -336
  7. package/esm/components/action-popover/action-popover-item/action-popover-item.component.js +3 -1
  8. package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
  9. package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
  10. package/esm/components/anchor-navigation/anchor-navigation.component.js +6 -4
  11. package/esm/components/box/box.component.js +3785 -3783
  12. package/esm/components/breadcrumbs/breadcrumbs.component.js +316 -314
  13. package/esm/components/breadcrumbs/crumb/crumb.component.js +64 -62
  14. package/esm/components/button/button.component.js +688 -684
  15. package/esm/components/checkbox/checkbox.component.js +524 -522
  16. package/esm/components/date/date.component.js +722 -720
  17. package/esm/components/decimal/decimal.component.js +536 -534
  18. package/esm/components/dialog/dialog.component.js +56 -54
  19. package/esm/components/draggable/draggable-container.component.js +160 -158
  20. package/esm/components/draggable/draggable-item.component.js +162 -160
  21. package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
  22. package/esm/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
  23. package/esm/components/file-input/file-input.component.js +191 -189
  24. package/esm/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
  25. package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
  26. package/esm/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
  27. package/esm/components/grouped-character/grouped-character.component.js +538 -536
  28. package/esm/components/help/help.component.js +172 -170
  29. package/esm/components/hr/hr.component.js +159 -157
  30. package/esm/components/icon/icon.component.js +181 -179
  31. package/esm/components/icon-button/icon-button.component.js +321 -319
  32. package/esm/components/link/link.component.js +72 -70
  33. package/esm/components/menu/__internal__/submenu/submenu.component.js +120 -118
  34. package/esm/components/menu/menu-divider/menu-divider.component.js +8 -6
  35. package/esm/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
  36. package/esm/components/message/message.component.js +168 -166
  37. package/esm/components/navigation-bar/navigation-bar.component.js +1279 -1277
  38. package/esm/components/note/__internal__/status-icon/status-icon.component.js +6 -4
  39. package/esm/components/number/number.component.js +536 -534
  40. package/esm/components/pod/pod.component.js +178 -176
  41. package/esm/components/radio-button/radio-button.component.js +523 -521
  42. package/esm/components/search/search.component.js +183 -181
  43. package/esm/components/select/filterable-select/filterable-select.component.js +554 -552
  44. package/esm/components/select/list-action-button/list-action-button.component.js +6 -4
  45. package/esm/components/select/multi-select/multi-select.component.js +551 -549
  46. package/esm/components/select/option/option.component.js +402 -400
  47. package/esm/components/select/option-group-header/option-group-header.component.js +11 -9
  48. package/esm/components/select/option-row/option-row.component.js +16 -14
  49. package/esm/components/select/select-list/select-list.component.js +34 -32
  50. package/esm/components/select/select-textbox/select-textbox.component.js +543 -541
  51. package/esm/components/select/simple-select/simple-select.component.js +550 -548
  52. package/esm/components/sidebar/sidebar.component.js +297 -295
  53. package/esm/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
  54. package/esm/components/simple-color-picker/simple-color-picker.component.js +173 -171
  55. package/esm/components/step-flow/step-flow.component.js +170 -168
  56. package/esm/components/switch/switch.component.js +524 -522
  57. package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
  58. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
  59. package/esm/components/text-editor/text-editor.component.js +171 -169
  60. package/esm/components/textarea/textarea.component.js +532 -530
  61. package/esm/components/textbox/textbox.component.js +536 -534
  62. package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
  63. package/esm/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
  64. package/esm/components/tile-select/tile-select.component.js +180 -178
  65. package/esm/components/time/time.component.js +202 -200
  66. package/esm/components/toast/toast.component.js +18 -16
  67. package/esm/components/tooltip/tooltip.component.js +23 -21
  68. package/esm/components/vertical-divider/vertical-divider.component.js +316 -314
  69. package/lib/__internal__/checkable-input/checkable-input.component.js +362 -360
  70. package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
  71. package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
  72. package/lib/__internal__/input/input-presentation.component.js +19 -17
  73. package/lib/__internal__/input/input.component.js +355 -353
  74. package/lib/components/accordion/accordion.component.js +338 -336
  75. package/lib/components/action-popover/action-popover-item/action-popover-item.component.js +3 -1
  76. package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
  77. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
  78. package/lib/components/anchor-navigation/anchor-navigation.component.js +6 -4
  79. package/lib/components/box/box.component.js +3785 -3783
  80. package/lib/components/breadcrumbs/breadcrumbs.component.js +316 -314
  81. package/lib/components/breadcrumbs/crumb/crumb.component.js +64 -62
  82. package/lib/components/button/button.component.js +688 -684
  83. package/lib/components/checkbox/checkbox.component.js +524 -522
  84. package/lib/components/date/date.component.js +722 -720
  85. package/lib/components/decimal/decimal.component.js +536 -534
  86. package/lib/components/dialog/dialog.component.js +56 -54
  87. package/lib/components/draggable/draggable-container.component.js +160 -158
  88. package/lib/components/draggable/draggable-item.component.js +162 -160
  89. package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
  90. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
  91. package/lib/components/file-input/file-input.component.js +191 -189
  92. package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
  93. package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
  94. package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
  95. package/lib/components/grouped-character/grouped-character.component.js +538 -536
  96. package/lib/components/help/help.component.js +172 -170
  97. package/lib/components/hr/hr.component.js +159 -157
  98. package/lib/components/icon/icon.component.js +181 -179
  99. package/lib/components/icon-button/icon-button.component.js +321 -319
  100. package/lib/components/link/link.component.js +72 -70
  101. package/lib/components/menu/__internal__/submenu/submenu.component.js +120 -118
  102. package/lib/components/menu/menu-divider/menu-divider.component.js +8 -6
  103. package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
  104. package/lib/components/message/message.component.js +168 -166
  105. package/lib/components/navigation-bar/navigation-bar.component.js +1279 -1277
  106. package/lib/components/note/__internal__/status-icon/status-icon.component.js +6 -4
  107. package/lib/components/number/number.component.js +536 -534
  108. package/lib/components/pod/pod.component.js +178 -176
  109. package/lib/components/radio-button/radio-button.component.js +523 -521
  110. package/lib/components/search/search.component.js +183 -181
  111. package/lib/components/select/filterable-select/filterable-select.component.js +554 -552
  112. package/lib/components/select/list-action-button/list-action-button.component.js +6 -4
  113. package/lib/components/select/multi-select/multi-select.component.js +551 -549
  114. package/lib/components/select/option/option.component.js +402 -400
  115. package/lib/components/select/option-group-header/option-group-header.component.js +11 -9
  116. package/lib/components/select/option-row/option-row.component.js +16 -14
  117. package/lib/components/select/select-list/select-list.component.js +34 -32
  118. package/lib/components/select/select-textbox/select-textbox.component.js +543 -541
  119. package/lib/components/select/simple-select/simple-select.component.js +550 -548
  120. package/lib/components/sidebar/sidebar.component.js +297 -295
  121. package/lib/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
  122. package/lib/components/simple-color-picker/simple-color-picker.component.js +173 -171
  123. package/lib/components/step-flow/step-flow.component.js +170 -168
  124. package/lib/components/switch/switch.component.js +524 -522
  125. package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
  126. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
  127. package/lib/components/text-editor/text-editor.component.js +171 -169
  128. package/lib/components/textarea/textarea.component.js +532 -530
  129. package/lib/components/textbox/textbox.component.js +536 -534
  130. package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
  131. package/lib/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
  132. package/lib/components/tile-select/tile-select.component.js +180 -178
  133. package/lib/components/time/time.component.js +202 -200
  134. package/lib/components/toast/toast.component.js +18 -16
  135. package/lib/components/tooltip/tooltip.component.js +23 -21
  136. package/lib/components/vertical-divider/vertical-divider.component.js +316 -314
  137. package/package.json +1 -1
@@ -78,300 +78,302 @@ const HiddenCheckableInput = /*#__PURE__*/React.forwardRef(({
78
78
  ref: ref
79
79
  }));
80
80
  });
81
- HiddenCheckableInput.propTypes = {
82
- "about": PropTypes.string,
83
- "accept": PropTypes.string,
84
- "accessKey": PropTypes.string,
85
- "alt": PropTypes.string,
86
- "aria-activedescendant": PropTypes.string,
87
- "aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
88
- "aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
89
- "aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
90
- "aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
91
- "aria-colcount": PropTypes.number,
92
- "aria-colindex": PropTypes.number,
93
- "aria-colspan": PropTypes.number,
94
- "aria-controls": PropTypes.string,
95
- "aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
96
- "aria-describedby": PropTypes.string,
97
- "aria-details": PropTypes.string,
98
- "aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
99
- "aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
100
- "aria-errormessage": PropTypes.string,
101
- "aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
102
- "aria-flowto": PropTypes.string,
103
- "aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
104
- "aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
105
- "aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
106
- "aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
107
- "aria-keyshortcuts": PropTypes.string,
108
- "aria-label": PropTypes.string,
109
- "aria-labelledby": PropTypes.string,
110
- "aria-level": PropTypes.number,
111
- "aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
112
- "aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
113
- "aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
114
- "aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
115
- "aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
116
- "aria-owns": PropTypes.string,
117
- "aria-placeholder": PropTypes.string,
118
- "aria-posinset": PropTypes.number,
119
- "aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
120
- "aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
121
- "aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
122
- "aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
123
- "aria-roledescription": PropTypes.string,
124
- "aria-rowcount": PropTypes.number,
125
- "aria-rowindex": PropTypes.number,
126
- "aria-rowspan": PropTypes.number,
127
- "aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
128
- "aria-setsize": PropTypes.number,
129
- "aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
130
- "aria-valuemax": PropTypes.number,
131
- "aria-valuemin": PropTypes.number,
132
- "aria-valuenow": PropTypes.number,
133
- "aria-valuetext": PropTypes.string,
134
- "ariaDescribedBy": PropTypes.string,
135
- "ariaLabelledBy": PropTypes.string,
136
- "autoCapitalize": PropTypes.string,
137
- "autoComplete": PropTypes.string,
138
- "autoCorrect": PropTypes.string,
139
- "autoFocus": PropTypes.bool,
140
- "autoSave": PropTypes.string,
141
- "capture": PropTypes.oneOfType([PropTypes.oneOf(["environment", "user"]), PropTypes.bool]),
142
- "checked": PropTypes.bool,
143
- "children": PropTypes.node,
144
- "className": PropTypes.string,
145
- "color": PropTypes.string,
146
- "content": PropTypes.string,
147
- "contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
148
- "contextMenu": PropTypes.string,
149
- "dangerouslySetInnerHTML": PropTypes.shape({
150
- "__html": PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired
151
- }),
152
- "datatype": PropTypes.string,
153
- "defaultChecked": PropTypes.bool,
154
- "defaultValue": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
155
- "dir": PropTypes.string,
156
- "disabled": PropTypes.bool,
157
- "draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
158
- "enterKeyHint": PropTypes.oneOf(["done", "enter", "go", "next", "previous", "search", "send"]),
159
- "form": PropTypes.string,
160
- "formAction": PropTypes.string,
161
- "formEncType": PropTypes.string,
162
- "formMethod": PropTypes.string,
163
- "formNoValidate": PropTypes.bool,
164
- "formTarget": PropTypes.string,
165
- "height": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
166
- "hidden": PropTypes.bool,
167
- "id": PropTypes.string,
168
- "inlist": PropTypes.any,
169
- "inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
170
- "is": PropTypes.string,
171
- "itemID": PropTypes.string,
172
- "itemProp": PropTypes.string,
173
- "itemRef": PropTypes.string,
174
- "itemScope": PropTypes.bool,
175
- "itemType": PropTypes.string,
176
- "lang": PropTypes.string,
177
- "list": PropTypes.string,
178
- "max": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
179
- "maxLength": PropTypes.number,
180
- "min": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
181
- "minLength": PropTypes.number,
182
- "multiple": PropTypes.bool,
183
- "name": PropTypes.string,
184
- "nonce": PropTypes.string,
185
- "onAbort": PropTypes.func,
186
- "onAbortCapture": PropTypes.func,
187
- "onAnimationEnd": PropTypes.func,
188
- "onAnimationEndCapture": PropTypes.func,
189
- "onAnimationIteration": PropTypes.func,
190
- "onAnimationIterationCapture": PropTypes.func,
191
- "onAnimationStart": PropTypes.func,
192
- "onAnimationStartCapture": PropTypes.func,
193
- "onAuxClick": PropTypes.func,
194
- "onAuxClickCapture": PropTypes.func,
195
- "onBeforeInput": PropTypes.func,
196
- "onBeforeInputCapture": PropTypes.func,
197
- "onBlur": PropTypes.func,
198
- "onBlurCapture": PropTypes.func,
199
- "onCanPlay": PropTypes.func,
200
- "onCanPlayCapture": PropTypes.func,
201
- "onCanPlayThrough": PropTypes.func,
202
- "onCanPlayThroughCapture": PropTypes.func,
203
- "onChange": PropTypes.func,
204
- "onChangeCapture": PropTypes.func,
205
- "onClick": PropTypes.func,
206
- "onClickCapture": PropTypes.func,
207
- "onCompositionEnd": PropTypes.func,
208
- "onCompositionEndCapture": PropTypes.func,
209
- "onCompositionStart": PropTypes.func,
210
- "onCompositionStartCapture": PropTypes.func,
211
- "onCompositionUpdate": PropTypes.func,
212
- "onCompositionUpdateCapture": PropTypes.func,
213
- "onContextMenu": PropTypes.func,
214
- "onContextMenuCapture": PropTypes.func,
215
- "onCopy": PropTypes.func,
216
- "onCopyCapture": PropTypes.func,
217
- "onCut": PropTypes.func,
218
- "onCutCapture": PropTypes.func,
219
- "onDoubleClick": PropTypes.func,
220
- "onDoubleClickCapture": PropTypes.func,
221
- "onDrag": PropTypes.func,
222
- "onDragCapture": PropTypes.func,
223
- "onDragEnd": PropTypes.func,
224
- "onDragEndCapture": PropTypes.func,
225
- "onDragEnter": PropTypes.func,
226
- "onDragEnterCapture": PropTypes.func,
227
- "onDragExit": PropTypes.func,
228
- "onDragExitCapture": PropTypes.func,
229
- "onDragLeave": PropTypes.func,
230
- "onDragLeaveCapture": PropTypes.func,
231
- "onDragOver": PropTypes.func,
232
- "onDragOverCapture": PropTypes.func,
233
- "onDragStart": PropTypes.func,
234
- "onDragStartCapture": PropTypes.func,
235
- "onDrop": PropTypes.func,
236
- "onDropCapture": PropTypes.func,
237
- "onDurationChange": PropTypes.func,
238
- "onDurationChangeCapture": PropTypes.func,
239
- "onEmptied": PropTypes.func,
240
- "onEmptiedCapture": PropTypes.func,
241
- "onEncrypted": PropTypes.func,
242
- "onEncryptedCapture": PropTypes.func,
243
- "onEnded": PropTypes.func,
244
- "onEndedCapture": PropTypes.func,
245
- "onError": PropTypes.func,
246
- "onErrorCapture": PropTypes.func,
247
- "onFocus": PropTypes.func,
248
- "onFocusCapture": PropTypes.func,
249
- "onGotPointerCapture": PropTypes.func,
250
- "onGotPointerCaptureCapture": PropTypes.func,
251
- "onInput": PropTypes.func,
252
- "onInputCapture": PropTypes.func,
253
- "onInvalid": PropTypes.func,
254
- "onInvalidCapture": PropTypes.func,
255
- "onKeyDown": PropTypes.func,
256
- "onKeyDownCapture": PropTypes.func,
257
- "onKeyPress": PropTypes.func,
258
- "onKeyPressCapture": PropTypes.func,
259
- "onKeyUp": PropTypes.func,
260
- "onKeyUpCapture": PropTypes.func,
261
- "onLoad": PropTypes.func,
262
- "onLoadCapture": PropTypes.func,
263
- "onLoadedData": PropTypes.func,
264
- "onLoadedDataCapture": PropTypes.func,
265
- "onLoadedMetadata": PropTypes.func,
266
- "onLoadedMetadataCapture": PropTypes.func,
267
- "onLoadStart": PropTypes.func,
268
- "onLoadStartCapture": PropTypes.func,
269
- "onLostPointerCapture": PropTypes.func,
270
- "onLostPointerCaptureCapture": PropTypes.func,
271
- "onMouseDown": PropTypes.func,
272
- "onMouseDownCapture": PropTypes.func,
273
- "onMouseEnter": PropTypes.func,
274
- "onMouseLeave": PropTypes.func,
275
- "onMouseMove": PropTypes.func,
276
- "onMouseMoveCapture": PropTypes.func,
277
- "onMouseOut": PropTypes.func,
278
- "onMouseOutCapture": PropTypes.func,
279
- "onMouseOver": PropTypes.func,
280
- "onMouseOverCapture": PropTypes.func,
281
- "onMouseUp": PropTypes.func,
282
- "onMouseUpCapture": PropTypes.func,
283
- "onPaste": PropTypes.func,
284
- "onPasteCapture": PropTypes.func,
285
- "onPause": PropTypes.func,
286
- "onPauseCapture": PropTypes.func,
287
- "onPlay": PropTypes.func,
288
- "onPlayCapture": PropTypes.func,
289
- "onPlaying": PropTypes.func,
290
- "onPlayingCapture": PropTypes.func,
291
- "onPointerCancel": PropTypes.func,
292
- "onPointerCancelCapture": PropTypes.func,
293
- "onPointerDown": PropTypes.func,
294
- "onPointerDownCapture": PropTypes.func,
295
- "onPointerEnter": PropTypes.func,
296
- "onPointerEnterCapture": PropTypes.func,
297
- "onPointerLeave": PropTypes.func,
298
- "onPointerLeaveCapture": PropTypes.func,
299
- "onPointerMove": PropTypes.func,
300
- "onPointerMoveCapture": PropTypes.func,
301
- "onPointerOut": PropTypes.func,
302
- "onPointerOutCapture": PropTypes.func,
303
- "onPointerOver": PropTypes.func,
304
- "onPointerOverCapture": PropTypes.func,
305
- "onPointerUp": PropTypes.func,
306
- "onPointerUpCapture": PropTypes.func,
307
- "onProgress": PropTypes.func,
308
- "onProgressCapture": PropTypes.func,
309
- "onRateChange": PropTypes.func,
310
- "onRateChangeCapture": PropTypes.func,
311
- "onReset": PropTypes.func,
312
- "onResetCapture": PropTypes.func,
313
- "onScroll": PropTypes.func,
314
- "onScrollCapture": PropTypes.func,
315
- "onSeeked": PropTypes.func,
316
- "onSeekedCapture": PropTypes.func,
317
- "onSeeking": PropTypes.func,
318
- "onSeekingCapture": PropTypes.func,
319
- "onSelect": PropTypes.func,
320
- "onSelectCapture": PropTypes.func,
321
- "onStalled": PropTypes.func,
322
- "onStalledCapture": PropTypes.func,
323
- "onSubmit": PropTypes.func,
324
- "onSubmitCapture": PropTypes.func,
325
- "onSuspend": PropTypes.func,
326
- "onSuspendCapture": PropTypes.func,
327
- "onTimeUpdate": PropTypes.func,
328
- "onTimeUpdateCapture": PropTypes.func,
329
- "onTouchCancel": PropTypes.func,
330
- "onTouchCancelCapture": PropTypes.func,
331
- "onTouchEnd": PropTypes.func,
332
- "onTouchEndCapture": PropTypes.func,
333
- "onTouchMove": PropTypes.func,
334
- "onTouchMoveCapture": PropTypes.func,
335
- "onTouchStart": PropTypes.func,
336
- "onTouchStartCapture": PropTypes.func,
337
- "onTransitionEnd": PropTypes.func,
338
- "onTransitionEndCapture": PropTypes.func,
339
- "onVolumeChange": PropTypes.func,
340
- "onVolumeChangeCapture": PropTypes.func,
341
- "onWaiting": PropTypes.func,
342
- "onWaitingCapture": PropTypes.func,
343
- "onWheel": PropTypes.func,
344
- "onWheelCapture": PropTypes.func,
345
- "pattern": PropTypes.string,
346
- "placeholder": PropTypes.string,
347
- "prefix": PropTypes.string,
348
- "property": PropTypes.string,
349
- "radioGroup": PropTypes.string,
350
- "readOnly": PropTypes.bool,
351
- "rel": PropTypes.string,
352
- "required": PropTypes.bool,
353
- "resource": PropTypes.string,
354
- "results": PropTypes.number,
355
- "rev": PropTypes.string,
356
- "role": PropTypes.string,
357
- "security": PropTypes.string,
358
- "slot": PropTypes.string,
359
- "spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
360
- "src": PropTypes.string,
361
- "step": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
362
- "style": PropTypes.object,
363
- "suppressContentEditableWarning": PropTypes.bool,
364
- "suppressHydrationWarning": PropTypes.bool,
365
- "tabIndex": PropTypes.number,
366
- "title": PropTypes.string,
367
- "translate": PropTypes.oneOf(["no", "yes"]),
368
- "type": PropTypes.string.isRequired,
369
- "typeof": PropTypes.string,
370
- "unselectable": PropTypes.oneOf(["off", "on"]),
371
- "validationIconId": PropTypes.string,
372
- "value": PropTypes.string,
373
- "vocab": PropTypes.string,
374
- "width": PropTypes.oneOfType([PropTypes.number, PropTypes.string])
375
- };
81
+ if (process.env.NODE_ENV !== "production") {
82
+ HiddenCheckableInput.propTypes = {
83
+ "about": PropTypes.string,
84
+ "accept": PropTypes.string,
85
+ "accessKey": PropTypes.string,
86
+ "alt": PropTypes.string,
87
+ "aria-activedescendant": PropTypes.string,
88
+ "aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
89
+ "aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
90
+ "aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
91
+ "aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
92
+ "aria-colcount": PropTypes.number,
93
+ "aria-colindex": PropTypes.number,
94
+ "aria-colspan": PropTypes.number,
95
+ "aria-controls": PropTypes.string,
96
+ "aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
97
+ "aria-describedby": PropTypes.string,
98
+ "aria-details": PropTypes.string,
99
+ "aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
100
+ "aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
101
+ "aria-errormessage": PropTypes.string,
102
+ "aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
103
+ "aria-flowto": PropTypes.string,
104
+ "aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
105
+ "aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
106
+ "aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
107
+ "aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
108
+ "aria-keyshortcuts": PropTypes.string,
109
+ "aria-label": PropTypes.string,
110
+ "aria-labelledby": PropTypes.string,
111
+ "aria-level": PropTypes.number,
112
+ "aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
113
+ "aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
114
+ "aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
115
+ "aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
116
+ "aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
117
+ "aria-owns": PropTypes.string,
118
+ "aria-placeholder": PropTypes.string,
119
+ "aria-posinset": PropTypes.number,
120
+ "aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
121
+ "aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
122
+ "aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
123
+ "aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
124
+ "aria-roledescription": PropTypes.string,
125
+ "aria-rowcount": PropTypes.number,
126
+ "aria-rowindex": PropTypes.number,
127
+ "aria-rowspan": PropTypes.number,
128
+ "aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
129
+ "aria-setsize": PropTypes.number,
130
+ "aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
131
+ "aria-valuemax": PropTypes.number,
132
+ "aria-valuemin": PropTypes.number,
133
+ "aria-valuenow": PropTypes.number,
134
+ "aria-valuetext": PropTypes.string,
135
+ "ariaDescribedBy": PropTypes.string,
136
+ "ariaLabelledBy": PropTypes.string,
137
+ "autoCapitalize": PropTypes.string,
138
+ "autoComplete": PropTypes.string,
139
+ "autoCorrect": PropTypes.string,
140
+ "autoFocus": PropTypes.bool,
141
+ "autoSave": PropTypes.string,
142
+ "capture": PropTypes.oneOfType([PropTypes.oneOf(["environment", "user"]), PropTypes.bool]),
143
+ "checked": PropTypes.bool,
144
+ "children": PropTypes.node,
145
+ "className": PropTypes.string,
146
+ "color": PropTypes.string,
147
+ "content": PropTypes.string,
148
+ "contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
149
+ "contextMenu": PropTypes.string,
150
+ "dangerouslySetInnerHTML": PropTypes.shape({
151
+ "__html": PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired
152
+ }),
153
+ "datatype": PropTypes.string,
154
+ "defaultChecked": PropTypes.bool,
155
+ "defaultValue": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
156
+ "dir": PropTypes.string,
157
+ "disabled": PropTypes.bool,
158
+ "draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
159
+ "enterKeyHint": PropTypes.oneOf(["done", "enter", "go", "next", "previous", "search", "send"]),
160
+ "form": PropTypes.string,
161
+ "formAction": PropTypes.string,
162
+ "formEncType": PropTypes.string,
163
+ "formMethod": PropTypes.string,
164
+ "formNoValidate": PropTypes.bool,
165
+ "formTarget": PropTypes.string,
166
+ "height": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
167
+ "hidden": PropTypes.bool,
168
+ "id": PropTypes.string,
169
+ "inlist": PropTypes.any,
170
+ "inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
171
+ "is": PropTypes.string,
172
+ "itemID": PropTypes.string,
173
+ "itemProp": PropTypes.string,
174
+ "itemRef": PropTypes.string,
175
+ "itemScope": PropTypes.bool,
176
+ "itemType": PropTypes.string,
177
+ "lang": PropTypes.string,
178
+ "list": PropTypes.string,
179
+ "max": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
180
+ "maxLength": PropTypes.number,
181
+ "min": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
182
+ "minLength": PropTypes.number,
183
+ "multiple": PropTypes.bool,
184
+ "name": PropTypes.string,
185
+ "nonce": PropTypes.string,
186
+ "onAbort": PropTypes.func,
187
+ "onAbortCapture": PropTypes.func,
188
+ "onAnimationEnd": PropTypes.func,
189
+ "onAnimationEndCapture": PropTypes.func,
190
+ "onAnimationIteration": PropTypes.func,
191
+ "onAnimationIterationCapture": PropTypes.func,
192
+ "onAnimationStart": PropTypes.func,
193
+ "onAnimationStartCapture": PropTypes.func,
194
+ "onAuxClick": PropTypes.func,
195
+ "onAuxClickCapture": PropTypes.func,
196
+ "onBeforeInput": PropTypes.func,
197
+ "onBeforeInputCapture": PropTypes.func,
198
+ "onBlur": PropTypes.func,
199
+ "onBlurCapture": PropTypes.func,
200
+ "onCanPlay": PropTypes.func,
201
+ "onCanPlayCapture": PropTypes.func,
202
+ "onCanPlayThrough": PropTypes.func,
203
+ "onCanPlayThroughCapture": PropTypes.func,
204
+ "onChange": PropTypes.func,
205
+ "onChangeCapture": PropTypes.func,
206
+ "onClick": PropTypes.func,
207
+ "onClickCapture": PropTypes.func,
208
+ "onCompositionEnd": PropTypes.func,
209
+ "onCompositionEndCapture": PropTypes.func,
210
+ "onCompositionStart": PropTypes.func,
211
+ "onCompositionStartCapture": PropTypes.func,
212
+ "onCompositionUpdate": PropTypes.func,
213
+ "onCompositionUpdateCapture": PropTypes.func,
214
+ "onContextMenu": PropTypes.func,
215
+ "onContextMenuCapture": PropTypes.func,
216
+ "onCopy": PropTypes.func,
217
+ "onCopyCapture": PropTypes.func,
218
+ "onCut": PropTypes.func,
219
+ "onCutCapture": PropTypes.func,
220
+ "onDoubleClick": PropTypes.func,
221
+ "onDoubleClickCapture": PropTypes.func,
222
+ "onDrag": PropTypes.func,
223
+ "onDragCapture": PropTypes.func,
224
+ "onDragEnd": PropTypes.func,
225
+ "onDragEndCapture": PropTypes.func,
226
+ "onDragEnter": PropTypes.func,
227
+ "onDragEnterCapture": PropTypes.func,
228
+ "onDragExit": PropTypes.func,
229
+ "onDragExitCapture": PropTypes.func,
230
+ "onDragLeave": PropTypes.func,
231
+ "onDragLeaveCapture": PropTypes.func,
232
+ "onDragOver": PropTypes.func,
233
+ "onDragOverCapture": PropTypes.func,
234
+ "onDragStart": PropTypes.func,
235
+ "onDragStartCapture": PropTypes.func,
236
+ "onDrop": PropTypes.func,
237
+ "onDropCapture": PropTypes.func,
238
+ "onDurationChange": PropTypes.func,
239
+ "onDurationChangeCapture": PropTypes.func,
240
+ "onEmptied": PropTypes.func,
241
+ "onEmptiedCapture": PropTypes.func,
242
+ "onEncrypted": PropTypes.func,
243
+ "onEncryptedCapture": PropTypes.func,
244
+ "onEnded": PropTypes.func,
245
+ "onEndedCapture": PropTypes.func,
246
+ "onError": PropTypes.func,
247
+ "onErrorCapture": PropTypes.func,
248
+ "onFocus": PropTypes.func,
249
+ "onFocusCapture": PropTypes.func,
250
+ "onGotPointerCapture": PropTypes.func,
251
+ "onGotPointerCaptureCapture": PropTypes.func,
252
+ "onInput": PropTypes.func,
253
+ "onInputCapture": PropTypes.func,
254
+ "onInvalid": PropTypes.func,
255
+ "onInvalidCapture": PropTypes.func,
256
+ "onKeyDown": PropTypes.func,
257
+ "onKeyDownCapture": PropTypes.func,
258
+ "onKeyPress": PropTypes.func,
259
+ "onKeyPressCapture": PropTypes.func,
260
+ "onKeyUp": PropTypes.func,
261
+ "onKeyUpCapture": PropTypes.func,
262
+ "onLoad": PropTypes.func,
263
+ "onLoadCapture": PropTypes.func,
264
+ "onLoadedData": PropTypes.func,
265
+ "onLoadedDataCapture": PropTypes.func,
266
+ "onLoadedMetadata": PropTypes.func,
267
+ "onLoadedMetadataCapture": PropTypes.func,
268
+ "onLoadStart": PropTypes.func,
269
+ "onLoadStartCapture": PropTypes.func,
270
+ "onLostPointerCapture": PropTypes.func,
271
+ "onLostPointerCaptureCapture": PropTypes.func,
272
+ "onMouseDown": PropTypes.func,
273
+ "onMouseDownCapture": PropTypes.func,
274
+ "onMouseEnter": PropTypes.func,
275
+ "onMouseLeave": PropTypes.func,
276
+ "onMouseMove": PropTypes.func,
277
+ "onMouseMoveCapture": PropTypes.func,
278
+ "onMouseOut": PropTypes.func,
279
+ "onMouseOutCapture": PropTypes.func,
280
+ "onMouseOver": PropTypes.func,
281
+ "onMouseOverCapture": PropTypes.func,
282
+ "onMouseUp": PropTypes.func,
283
+ "onMouseUpCapture": PropTypes.func,
284
+ "onPaste": PropTypes.func,
285
+ "onPasteCapture": PropTypes.func,
286
+ "onPause": PropTypes.func,
287
+ "onPauseCapture": PropTypes.func,
288
+ "onPlay": PropTypes.func,
289
+ "onPlayCapture": PropTypes.func,
290
+ "onPlaying": PropTypes.func,
291
+ "onPlayingCapture": PropTypes.func,
292
+ "onPointerCancel": PropTypes.func,
293
+ "onPointerCancelCapture": PropTypes.func,
294
+ "onPointerDown": PropTypes.func,
295
+ "onPointerDownCapture": PropTypes.func,
296
+ "onPointerEnter": PropTypes.func,
297
+ "onPointerEnterCapture": PropTypes.func,
298
+ "onPointerLeave": PropTypes.func,
299
+ "onPointerLeaveCapture": PropTypes.func,
300
+ "onPointerMove": PropTypes.func,
301
+ "onPointerMoveCapture": PropTypes.func,
302
+ "onPointerOut": PropTypes.func,
303
+ "onPointerOutCapture": PropTypes.func,
304
+ "onPointerOver": PropTypes.func,
305
+ "onPointerOverCapture": PropTypes.func,
306
+ "onPointerUp": PropTypes.func,
307
+ "onPointerUpCapture": PropTypes.func,
308
+ "onProgress": PropTypes.func,
309
+ "onProgressCapture": PropTypes.func,
310
+ "onRateChange": PropTypes.func,
311
+ "onRateChangeCapture": PropTypes.func,
312
+ "onReset": PropTypes.func,
313
+ "onResetCapture": PropTypes.func,
314
+ "onScroll": PropTypes.func,
315
+ "onScrollCapture": PropTypes.func,
316
+ "onSeeked": PropTypes.func,
317
+ "onSeekedCapture": PropTypes.func,
318
+ "onSeeking": PropTypes.func,
319
+ "onSeekingCapture": PropTypes.func,
320
+ "onSelect": PropTypes.func,
321
+ "onSelectCapture": PropTypes.func,
322
+ "onStalled": PropTypes.func,
323
+ "onStalledCapture": PropTypes.func,
324
+ "onSubmit": PropTypes.func,
325
+ "onSubmitCapture": PropTypes.func,
326
+ "onSuspend": PropTypes.func,
327
+ "onSuspendCapture": PropTypes.func,
328
+ "onTimeUpdate": PropTypes.func,
329
+ "onTimeUpdateCapture": PropTypes.func,
330
+ "onTouchCancel": PropTypes.func,
331
+ "onTouchCancelCapture": PropTypes.func,
332
+ "onTouchEnd": PropTypes.func,
333
+ "onTouchEndCapture": PropTypes.func,
334
+ "onTouchMove": PropTypes.func,
335
+ "onTouchMoveCapture": PropTypes.func,
336
+ "onTouchStart": PropTypes.func,
337
+ "onTouchStartCapture": PropTypes.func,
338
+ "onTransitionEnd": PropTypes.func,
339
+ "onTransitionEndCapture": PropTypes.func,
340
+ "onVolumeChange": PropTypes.func,
341
+ "onVolumeChangeCapture": PropTypes.func,
342
+ "onWaiting": PropTypes.func,
343
+ "onWaitingCapture": PropTypes.func,
344
+ "onWheel": PropTypes.func,
345
+ "onWheelCapture": PropTypes.func,
346
+ "pattern": PropTypes.string,
347
+ "placeholder": PropTypes.string,
348
+ "prefix": PropTypes.string,
349
+ "property": PropTypes.string,
350
+ "radioGroup": PropTypes.string,
351
+ "readOnly": PropTypes.bool,
352
+ "rel": PropTypes.string,
353
+ "required": PropTypes.bool,
354
+ "resource": PropTypes.string,
355
+ "results": PropTypes.number,
356
+ "rev": PropTypes.string,
357
+ "role": PropTypes.string,
358
+ "security": PropTypes.string,
359
+ "slot": PropTypes.string,
360
+ "spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
361
+ "src": PropTypes.string,
362
+ "step": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
363
+ "style": PropTypes.object,
364
+ "suppressContentEditableWarning": PropTypes.bool,
365
+ "suppressHydrationWarning": PropTypes.bool,
366
+ "tabIndex": PropTypes.number,
367
+ "title": PropTypes.string,
368
+ "translate": PropTypes.oneOf(["no", "yes"]),
369
+ "type": PropTypes.string.isRequired,
370
+ "typeof": PropTypes.string,
371
+ "unselectable": PropTypes.oneOf(["off", "on"]),
372
+ "validationIconId": PropTypes.string,
373
+ "value": PropTypes.string,
374
+ "vocab": PropTypes.string,
375
+ "width": PropTypes.oneOfType([PropTypes.number, PropTypes.string])
376
+ };
377
+ }
376
378
  HiddenCheckableInput.displayName = "HiddenCheckableInput";
377
379
  export default /*#__PURE__*/React.memo(HiddenCheckableInput);