carbon-react 126.10.1 → 127.0.1

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 (143) 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/__internal__/input/input.style.d.ts +1 -1
  7. package/esm/__internal__/input/input.style.js +1 -7
  8. package/esm/__spec_helper__/index.js +5 -1
  9. package/esm/components/accordion/accordion.component.js +338 -336
  10. package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
  11. package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
  12. package/esm/components/anchor-navigation/anchor-navigation.component.js +6 -4
  13. package/esm/components/box/box.component.js +3785 -3783
  14. package/esm/components/breadcrumbs/breadcrumbs.component.js +316 -314
  15. package/esm/components/breadcrumbs/crumb/crumb.component.js +64 -62
  16. package/esm/components/button/button.component.js +688 -684
  17. package/esm/components/checkbox/checkbox.component.js +524 -522
  18. package/esm/components/date/date.component.js +722 -720
  19. package/esm/components/decimal/decimal.component.js +536 -534
  20. package/esm/components/dialog/dialog.component.js +56 -54
  21. package/esm/components/draggable/draggable-container.component.js +160 -158
  22. package/esm/components/draggable/draggable-item.component.js +162 -160
  23. package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
  24. package/esm/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
  25. package/esm/components/file-input/file-input.component.js +191 -189
  26. package/esm/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
  27. package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
  28. package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
  29. package/esm/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
  30. package/esm/components/grouped-character/grouped-character.component.js +538 -536
  31. package/esm/components/help/help.component.js +172 -170
  32. package/esm/components/hr/hr.component.js +159 -157
  33. package/esm/components/icon/icon.component.js +181 -179
  34. package/esm/components/icon-button/icon-button.component.js +321 -319
  35. package/esm/components/link/link.component.js +72 -70
  36. package/esm/components/menu/__internal__/submenu/submenu.component.js +120 -118
  37. package/esm/components/menu/menu-divider/menu-divider.component.js +8 -6
  38. package/esm/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
  39. package/esm/components/message/message.component.js +168 -166
  40. package/esm/components/navigation-bar/navigation-bar.component.js +1279 -1277
  41. package/esm/components/note/__internal__/status-icon/status-icon.component.js +6 -4
  42. package/esm/components/number/number.component.js +536 -534
  43. package/esm/components/pod/pod.component.js +178 -176
  44. package/esm/components/radio-button/radio-button.component.js +523 -521
  45. package/esm/components/search/search.component.js +183 -181
  46. package/esm/components/select/filterable-select/filterable-select.component.js +554 -552
  47. package/esm/components/select/list-action-button/list-action-button.component.js +6 -4
  48. package/esm/components/select/multi-select/multi-select.component.js +551 -549
  49. package/esm/components/select/option/option.component.js +402 -400
  50. package/esm/components/select/option-group-header/option-group-header.component.js +11 -9
  51. package/esm/components/select/option-row/option-row.component.js +16 -14
  52. package/esm/components/select/select-list/select-list.component.js +34 -32
  53. package/esm/components/select/select-textbox/select-textbox.component.js +543 -541
  54. package/esm/components/select/simple-select/simple-select.component.js +550 -548
  55. package/esm/components/sidebar/sidebar.component.js +297 -295
  56. package/esm/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
  57. package/esm/components/simple-color-picker/simple-color-picker.component.js +173 -171
  58. package/esm/components/step-flow/step-flow.component.js +170 -168
  59. package/esm/components/switch/switch.component.js +524 -522
  60. package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
  61. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
  62. package/esm/components/text-editor/text-editor.component.js +171 -169
  63. package/esm/components/textarea/textarea.component.js +532 -530
  64. package/esm/components/textbox/textbox.component.js +536 -534
  65. package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
  66. package/esm/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
  67. package/esm/components/tile-select/tile-select.component.js +180 -178
  68. package/esm/components/time/time.component.js +202 -200
  69. package/esm/components/toast/toast.component.js +18 -16
  70. package/esm/components/tooltip/tooltip.component.js +23 -21
  71. package/esm/components/vertical-divider/vertical-divider.component.js +316 -314
  72. package/lib/__internal__/checkable-input/checkable-input.component.js +362 -360
  73. package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
  74. package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
  75. package/lib/__internal__/input/input-presentation.component.js +19 -17
  76. package/lib/__internal__/input/input.component.js +355 -353
  77. package/lib/__internal__/input/input.style.d.ts +1 -1
  78. package/lib/__internal__/input/input.style.js +1 -7
  79. package/lib/__spec_helper__/index.js +5 -1
  80. package/lib/components/accordion/accordion.component.js +338 -336
  81. package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
  82. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
  83. package/lib/components/anchor-navigation/anchor-navigation.component.js +6 -4
  84. package/lib/components/box/box.component.js +3785 -3783
  85. package/lib/components/breadcrumbs/breadcrumbs.component.js +316 -314
  86. package/lib/components/breadcrumbs/crumb/crumb.component.js +64 -62
  87. package/lib/components/button/button.component.js +688 -684
  88. package/lib/components/checkbox/checkbox.component.js +524 -522
  89. package/lib/components/date/date.component.js +722 -720
  90. package/lib/components/decimal/decimal.component.js +536 -534
  91. package/lib/components/dialog/dialog.component.js +56 -54
  92. package/lib/components/draggable/draggable-container.component.js +160 -158
  93. package/lib/components/draggable/draggable-item.component.js +162 -160
  94. package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
  95. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
  96. package/lib/components/file-input/file-input.component.js +191 -189
  97. package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
  98. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
  99. package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
  100. package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
  101. package/lib/components/grouped-character/grouped-character.component.js +538 -536
  102. package/lib/components/help/help.component.js +172 -170
  103. package/lib/components/hr/hr.component.js +159 -157
  104. package/lib/components/icon/icon.component.js +181 -179
  105. package/lib/components/icon-button/icon-button.component.js +321 -319
  106. package/lib/components/link/link.component.js +72 -70
  107. package/lib/components/menu/__internal__/submenu/submenu.component.js +120 -118
  108. package/lib/components/menu/menu-divider/menu-divider.component.js +8 -6
  109. package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
  110. package/lib/components/message/message.component.js +168 -166
  111. package/lib/components/navigation-bar/navigation-bar.component.js +1279 -1277
  112. package/lib/components/note/__internal__/status-icon/status-icon.component.js +6 -4
  113. package/lib/components/number/number.component.js +536 -534
  114. package/lib/components/pod/pod.component.js +178 -176
  115. package/lib/components/radio-button/radio-button.component.js +523 -521
  116. package/lib/components/search/search.component.js +183 -181
  117. package/lib/components/select/filterable-select/filterable-select.component.js +554 -552
  118. package/lib/components/select/list-action-button/list-action-button.component.js +6 -4
  119. package/lib/components/select/multi-select/multi-select.component.js +551 -549
  120. package/lib/components/select/option/option.component.js +402 -400
  121. package/lib/components/select/option-group-header/option-group-header.component.js +11 -9
  122. package/lib/components/select/option-row/option-row.component.js +16 -14
  123. package/lib/components/select/select-list/select-list.component.js +34 -32
  124. package/lib/components/select/select-textbox/select-textbox.component.js +543 -541
  125. package/lib/components/select/simple-select/simple-select.component.js +550 -548
  126. package/lib/components/sidebar/sidebar.component.js +297 -295
  127. package/lib/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
  128. package/lib/components/simple-color-picker/simple-color-picker.component.js +173 -171
  129. package/lib/components/step-flow/step-flow.component.js +170 -168
  130. package/lib/components/switch/switch.component.js +524 -522
  131. package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
  132. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
  133. package/lib/components/text-editor/text-editor.component.js +171 -169
  134. package/lib/components/textarea/textarea.component.js +532 -530
  135. package/lib/components/textbox/textbox.component.js +536 -534
  136. package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
  137. package/lib/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
  138. package/lib/components/tile-select/tile-select.component.js +180 -178
  139. package/lib/components/time/time.component.js +202 -200
  140. package/lib/components/toast/toast.component.js +18 -16
  141. package/lib/components/tooltip/tooltip.component.js +23 -21
  142. package/lib/components/vertical-divider/vertical-divider.component.js +316 -314
  143. package/package.json +1 -1
@@ -159,195 +159,197 @@ const FileInput = /*#__PURE__*/React.forwardRef(({
159
159
  key: props.filename
160
160
  }), /*#__PURE__*/React.createElement(FileUploadStatus, props)))));
161
161
  });
162
- FileInput.propTypes = {
163
- "accept": PropTypes.string,
164
- "buttonText": PropTypes.string,
165
- "data-component": PropTypes.string,
166
- "data-element": PropTypes.string,
167
- "data-role": PropTypes.string,
168
- "dragAndDropText": PropTypes.string,
169
- "error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
170
- "id": PropTypes.string,
171
- "inputHint": PropTypes.node,
172
- "isVertical": PropTypes.bool,
173
- "label": PropTypes.string,
174
- "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
175
- "__@toStringTag": PropTypes.string.isRequired,
176
- "description": PropTypes.string,
177
- "toString": PropTypes.func.isRequired,
178
- "valueOf": PropTypes.func.isRequired
179
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
180
- "__@toStringTag": PropTypes.string.isRequired,
181
- "description": PropTypes.string,
182
- "toString": PropTypes.func.isRequired,
183
- "valueOf": PropTypes.func.isRequired
184
- }), PropTypes.string]),
185
- "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
186
- "__@toStringTag": PropTypes.string.isRequired,
187
- "description": PropTypes.string,
188
- "toString": PropTypes.func.isRequired,
189
- "valueOf": PropTypes.func.isRequired
190
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
191
- "__@toStringTag": PropTypes.string.isRequired,
192
- "description": PropTypes.string,
193
- "toString": PropTypes.func.isRequired,
194
- "valueOf": PropTypes.func.isRequired
195
- }), PropTypes.string]),
196
- "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
197
- "__@toStringTag": PropTypes.string.isRequired,
198
- "description": PropTypes.string,
199
- "toString": PropTypes.func.isRequired,
200
- "valueOf": PropTypes.func.isRequired
201
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
202
- "__@toStringTag": PropTypes.string.isRequired,
203
- "description": PropTypes.string,
204
- "toString": PropTypes.func.isRequired,
205
- "valueOf": PropTypes.func.isRequired
206
- }), PropTypes.string]),
207
- "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
208
- "__@toStringTag": PropTypes.string.isRequired,
209
- "description": PropTypes.string,
210
- "toString": PropTypes.func.isRequired,
211
- "valueOf": PropTypes.func.isRequired
212
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
213
- "__@toStringTag": PropTypes.string.isRequired,
214
- "description": PropTypes.string,
215
- "toString": PropTypes.func.isRequired,
216
- "valueOf": PropTypes.func.isRequired
217
- }), PropTypes.string]),
218
- "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
219
- "__@toStringTag": PropTypes.string.isRequired,
220
- "description": PropTypes.string,
221
- "toString": PropTypes.func.isRequired,
222
- "valueOf": PropTypes.func.isRequired
223
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
224
- "__@toStringTag": PropTypes.string.isRequired,
225
- "description": PropTypes.string,
226
- "toString": PropTypes.func.isRequired,
227
- "valueOf": PropTypes.func.isRequired
228
- }), PropTypes.string]),
229
- "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
230
- "__@toStringTag": PropTypes.string.isRequired,
231
- "description": PropTypes.string,
232
- "toString": PropTypes.func.isRequired,
233
- "valueOf": PropTypes.func.isRequired
234
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
235
- "__@toStringTag": PropTypes.string.isRequired,
236
- "description": PropTypes.string,
237
- "toString": PropTypes.func.isRequired,
238
- "valueOf": PropTypes.func.isRequired
239
- }), PropTypes.string]),
240
- "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
241
- "__@toStringTag": PropTypes.string.isRequired,
242
- "description": PropTypes.string,
243
- "toString": PropTypes.func.isRequired,
244
- "valueOf": PropTypes.func.isRequired
245
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
246
- "__@toStringTag": PropTypes.string.isRequired,
247
- "description": PropTypes.string,
248
- "toString": PropTypes.func.isRequired,
249
- "valueOf": PropTypes.func.isRequired
250
- }), PropTypes.string]),
251
- "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
252
- "__@toStringTag": PropTypes.string.isRequired,
253
- "description": PropTypes.string,
254
- "toString": PropTypes.func.isRequired,
255
- "valueOf": PropTypes.func.isRequired
256
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
257
- "__@toStringTag": PropTypes.string.isRequired,
258
- "description": PropTypes.string,
259
- "toString": PropTypes.func.isRequired,
260
- "valueOf": PropTypes.func.isRequired
261
- }), PropTypes.string]),
262
- "maxHeight": PropTypes.string,
263
- "maxWidth": PropTypes.string,
264
- "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
265
- "__@toStringTag": PropTypes.string.isRequired,
266
- "description": PropTypes.string,
267
- "toString": PropTypes.func.isRequired,
268
- "valueOf": PropTypes.func.isRequired
269
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
270
- "__@toStringTag": PropTypes.string.isRequired,
271
- "description": PropTypes.string,
272
- "toString": PropTypes.func.isRequired,
273
- "valueOf": PropTypes.func.isRequired
274
- }), PropTypes.string]),
275
- "minHeight": PropTypes.string,
276
- "minWidth": PropTypes.string,
277
- "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
278
- "__@toStringTag": PropTypes.string.isRequired,
279
- "description": PropTypes.string,
280
- "toString": PropTypes.func.isRequired,
281
- "valueOf": PropTypes.func.isRequired
282
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
283
- "__@toStringTag": PropTypes.string.isRequired,
284
- "description": PropTypes.string,
285
- "toString": PropTypes.func.isRequired,
286
- "valueOf": PropTypes.func.isRequired
287
- }), PropTypes.string]),
288
- "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
289
- "__@toStringTag": PropTypes.string.isRequired,
290
- "description": PropTypes.string,
291
- "toString": PropTypes.func.isRequired,
292
- "valueOf": PropTypes.func.isRequired
293
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
294
- "__@toStringTag": PropTypes.string.isRequired,
295
- "description": PropTypes.string,
296
- "toString": PropTypes.func.isRequired,
297
- "valueOf": PropTypes.func.isRequired
298
- }), PropTypes.string]),
299
- "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
300
- "__@toStringTag": PropTypes.string.isRequired,
301
- "description": PropTypes.string,
302
- "toString": PropTypes.func.isRequired,
303
- "valueOf": PropTypes.func.isRequired
304
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
305
- "__@toStringTag": PropTypes.string.isRequired,
306
- "description": PropTypes.string,
307
- "toString": PropTypes.func.isRequired,
308
- "valueOf": PropTypes.func.isRequired
309
- }), PropTypes.string]),
310
- "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
311
- "__@toStringTag": PropTypes.string.isRequired,
312
- "description": PropTypes.string,
313
- "toString": PropTypes.func.isRequired,
314
- "valueOf": PropTypes.func.isRequired
315
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
316
- "__@toStringTag": PropTypes.string.isRequired,
317
- "description": PropTypes.string,
318
- "toString": PropTypes.func.isRequired,
319
- "valueOf": PropTypes.func.isRequired
320
- }), PropTypes.string]),
321
- "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
322
- "__@toStringTag": PropTypes.string.isRequired,
323
- "description": PropTypes.string,
324
- "toString": PropTypes.func.isRequired,
325
- "valueOf": PropTypes.func.isRequired
326
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
327
- "__@toStringTag": PropTypes.string.isRequired,
328
- "description": PropTypes.string,
329
- "toString": PropTypes.func.isRequired,
330
- "valueOf": PropTypes.func.isRequired
331
- }), PropTypes.string]),
332
- "name": PropTypes.string,
333
- "onChange": PropTypes.func.isRequired,
334
- "required": PropTypes.bool,
335
- "uploadStatus": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object, PropTypes.shape({
336
- "filename": PropTypes.string.isRequired,
337
- "iconType": PropTypes.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bill_unpaid", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "heart_pulse", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "intranet", "italic", "job_seeked", "key", "laptop", "leaf", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minimise", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "pin", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare"]),
338
- "message": PropTypes.string,
339
- "onAction": PropTypes.func.isRequired,
340
- "progress": PropTypes.number,
341
- "status": PropTypes.oneOf(["uploading"]).isRequired
342
- })])), PropTypes.object, PropTypes.shape({
343
- "filename": PropTypes.string.isRequired,
344
- "iconType": PropTypes.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bill_unpaid", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "heart_pulse", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "intranet", "italic", "job_seeked", "key", "laptop", "leaf", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minimise", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "pin", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare"]),
345
- "message": PropTypes.string,
346
- "onAction": PropTypes.func.isRequired,
347
- "progress": PropTypes.number,
348
- "status": PropTypes.oneOf(["uploading"]).isRequired
349
- })])
350
- };
162
+ if (process.env.NODE_ENV !== "production") {
163
+ FileInput.propTypes = {
164
+ "accept": PropTypes.string,
165
+ "buttonText": PropTypes.string,
166
+ "data-component": PropTypes.string,
167
+ "data-element": PropTypes.string,
168
+ "data-role": PropTypes.string,
169
+ "dragAndDropText": PropTypes.string,
170
+ "error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
171
+ "id": PropTypes.string,
172
+ "inputHint": PropTypes.node,
173
+ "isVertical": PropTypes.bool,
174
+ "label": PropTypes.string,
175
+ "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
176
+ "__@toStringTag": PropTypes.string.isRequired,
177
+ "description": PropTypes.string,
178
+ "toString": PropTypes.func.isRequired,
179
+ "valueOf": PropTypes.func.isRequired
180
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
181
+ "__@toStringTag": PropTypes.string.isRequired,
182
+ "description": PropTypes.string,
183
+ "toString": PropTypes.func.isRequired,
184
+ "valueOf": PropTypes.func.isRequired
185
+ }), PropTypes.string]),
186
+ "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
187
+ "__@toStringTag": PropTypes.string.isRequired,
188
+ "description": PropTypes.string,
189
+ "toString": PropTypes.func.isRequired,
190
+ "valueOf": PropTypes.func.isRequired
191
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
192
+ "__@toStringTag": PropTypes.string.isRequired,
193
+ "description": PropTypes.string,
194
+ "toString": PropTypes.func.isRequired,
195
+ "valueOf": PropTypes.func.isRequired
196
+ }), PropTypes.string]),
197
+ "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
198
+ "__@toStringTag": PropTypes.string.isRequired,
199
+ "description": PropTypes.string,
200
+ "toString": PropTypes.func.isRequired,
201
+ "valueOf": PropTypes.func.isRequired
202
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
203
+ "__@toStringTag": PropTypes.string.isRequired,
204
+ "description": PropTypes.string,
205
+ "toString": PropTypes.func.isRequired,
206
+ "valueOf": PropTypes.func.isRequired
207
+ }), PropTypes.string]),
208
+ "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
209
+ "__@toStringTag": PropTypes.string.isRequired,
210
+ "description": PropTypes.string,
211
+ "toString": PropTypes.func.isRequired,
212
+ "valueOf": PropTypes.func.isRequired
213
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
214
+ "__@toStringTag": PropTypes.string.isRequired,
215
+ "description": PropTypes.string,
216
+ "toString": PropTypes.func.isRequired,
217
+ "valueOf": PropTypes.func.isRequired
218
+ }), PropTypes.string]),
219
+ "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
220
+ "__@toStringTag": PropTypes.string.isRequired,
221
+ "description": PropTypes.string,
222
+ "toString": PropTypes.func.isRequired,
223
+ "valueOf": PropTypes.func.isRequired
224
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
225
+ "__@toStringTag": PropTypes.string.isRequired,
226
+ "description": PropTypes.string,
227
+ "toString": PropTypes.func.isRequired,
228
+ "valueOf": PropTypes.func.isRequired
229
+ }), PropTypes.string]),
230
+ "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
231
+ "__@toStringTag": PropTypes.string.isRequired,
232
+ "description": PropTypes.string,
233
+ "toString": PropTypes.func.isRequired,
234
+ "valueOf": PropTypes.func.isRequired
235
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
236
+ "__@toStringTag": PropTypes.string.isRequired,
237
+ "description": PropTypes.string,
238
+ "toString": PropTypes.func.isRequired,
239
+ "valueOf": PropTypes.func.isRequired
240
+ }), PropTypes.string]),
241
+ "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
242
+ "__@toStringTag": PropTypes.string.isRequired,
243
+ "description": PropTypes.string,
244
+ "toString": PropTypes.func.isRequired,
245
+ "valueOf": PropTypes.func.isRequired
246
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
247
+ "__@toStringTag": PropTypes.string.isRequired,
248
+ "description": PropTypes.string,
249
+ "toString": PropTypes.func.isRequired,
250
+ "valueOf": PropTypes.func.isRequired
251
+ }), PropTypes.string]),
252
+ "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
253
+ "__@toStringTag": PropTypes.string.isRequired,
254
+ "description": PropTypes.string,
255
+ "toString": PropTypes.func.isRequired,
256
+ "valueOf": PropTypes.func.isRequired
257
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
258
+ "__@toStringTag": PropTypes.string.isRequired,
259
+ "description": PropTypes.string,
260
+ "toString": PropTypes.func.isRequired,
261
+ "valueOf": PropTypes.func.isRequired
262
+ }), PropTypes.string]),
263
+ "maxHeight": PropTypes.string,
264
+ "maxWidth": PropTypes.string,
265
+ "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
266
+ "__@toStringTag": PropTypes.string.isRequired,
267
+ "description": PropTypes.string,
268
+ "toString": PropTypes.func.isRequired,
269
+ "valueOf": PropTypes.func.isRequired
270
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
271
+ "__@toStringTag": PropTypes.string.isRequired,
272
+ "description": PropTypes.string,
273
+ "toString": PropTypes.func.isRequired,
274
+ "valueOf": PropTypes.func.isRequired
275
+ }), PropTypes.string]),
276
+ "minHeight": PropTypes.string,
277
+ "minWidth": PropTypes.string,
278
+ "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
279
+ "__@toStringTag": PropTypes.string.isRequired,
280
+ "description": PropTypes.string,
281
+ "toString": PropTypes.func.isRequired,
282
+ "valueOf": PropTypes.func.isRequired
283
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
284
+ "__@toStringTag": PropTypes.string.isRequired,
285
+ "description": PropTypes.string,
286
+ "toString": PropTypes.func.isRequired,
287
+ "valueOf": PropTypes.func.isRequired
288
+ }), PropTypes.string]),
289
+ "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
290
+ "__@toStringTag": PropTypes.string.isRequired,
291
+ "description": PropTypes.string,
292
+ "toString": PropTypes.func.isRequired,
293
+ "valueOf": PropTypes.func.isRequired
294
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
295
+ "__@toStringTag": PropTypes.string.isRequired,
296
+ "description": PropTypes.string,
297
+ "toString": PropTypes.func.isRequired,
298
+ "valueOf": PropTypes.func.isRequired
299
+ }), PropTypes.string]),
300
+ "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
301
+ "__@toStringTag": PropTypes.string.isRequired,
302
+ "description": PropTypes.string,
303
+ "toString": PropTypes.func.isRequired,
304
+ "valueOf": PropTypes.func.isRequired
305
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
306
+ "__@toStringTag": PropTypes.string.isRequired,
307
+ "description": PropTypes.string,
308
+ "toString": PropTypes.func.isRequired,
309
+ "valueOf": PropTypes.func.isRequired
310
+ }), PropTypes.string]),
311
+ "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
312
+ "__@toStringTag": PropTypes.string.isRequired,
313
+ "description": PropTypes.string,
314
+ "toString": PropTypes.func.isRequired,
315
+ "valueOf": PropTypes.func.isRequired
316
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
317
+ "__@toStringTag": PropTypes.string.isRequired,
318
+ "description": PropTypes.string,
319
+ "toString": PropTypes.func.isRequired,
320
+ "valueOf": PropTypes.func.isRequired
321
+ }), PropTypes.string]),
322
+ "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
323
+ "__@toStringTag": PropTypes.string.isRequired,
324
+ "description": PropTypes.string,
325
+ "toString": PropTypes.func.isRequired,
326
+ "valueOf": PropTypes.func.isRequired
327
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
328
+ "__@toStringTag": PropTypes.string.isRequired,
329
+ "description": PropTypes.string,
330
+ "toString": PropTypes.func.isRequired,
331
+ "valueOf": PropTypes.func.isRequired
332
+ }), PropTypes.string]),
333
+ "name": PropTypes.string,
334
+ "onChange": PropTypes.func.isRequired,
335
+ "required": PropTypes.bool,
336
+ "uploadStatus": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object, PropTypes.shape({
337
+ "filename": PropTypes.string.isRequired,
338
+ "iconType": PropTypes.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bill_unpaid", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "heart_pulse", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "intranet", "italic", "job_seeked", "key", "laptop", "leaf", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minimise", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "pin", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare"]),
339
+ "message": PropTypes.string,
340
+ "onAction": PropTypes.func.isRequired,
341
+ "progress": PropTypes.number,
342
+ "status": PropTypes.oneOf(["uploading"]).isRequired
343
+ })])), PropTypes.object, PropTypes.shape({
344
+ "filename": PropTypes.string.isRequired,
345
+ "iconType": PropTypes.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bill_unpaid", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "heart_pulse", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "intranet", "italic", "job_seeked", "key", "laptop", "leaf", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minimise", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "pin", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare"]),
346
+ "message": PropTypes.string,
347
+ "onAction": PropTypes.func.isRequired,
348
+ "progress": PropTypes.number,
349
+ "status": PropTypes.oneOf(["uploading"]).isRequired
350
+ })])
351
+ };
352
+ }
351
353
  export { FileInput };
352
354
  FileInput.displayName = "FileInput";
353
355
  export default FileInput;
@@ -9,9 +9,11 @@ const FlatTableBody = /*#__PURE__*/React.forwardRef(({
9
9
  ref: ref
10
10
  }, rest), children);
11
11
  });
12
- FlatTableBody.propTypes = {
13
- "children": PropTypes.node
14
- };
12
+ if (process.env.NODE_ENV !== "production") {
13
+ FlatTableBody.propTypes = {
14
+ "children": PropTypes.node
15
+ };
16
+ }
15
17
  export { FlatTableBody };
16
18
  FlatTableBody.displayName = "FlatTableBody";
17
19
  export default FlatTableBody;
@@ -23,7 +23,7 @@ const DropTarget = ({
23
23
  }
24
24
  });
25
25
  return /*#__PURE__*/React.createElement(StyledFlatTableBodyDraggable, _extends({
26
- "data-testid": "flat-table-body-draggable",
26
+ "data-role": "flat-table-body-draggable",
27
27
  ref: drop,
28
28
  isDragging: isDragging
29
29
  }, rest), children);
@@ -60,16 +60,18 @@ const FlatTableRowDraggable = ({
60
60
  }
61
61
  });
62
62
  };
63
- FlatTableRowDraggable.propTypes = {
64
- "children": PropTypes.node,
65
- "draggable": PropTypes.bool,
66
- "findItem": PropTypes.func,
67
- "id": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
68
- "moveItem": PropTypes.func,
69
- "rowRef": PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
70
- "current": PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object]).isRequired
71
- })])
72
- };
63
+ if (process.env.NODE_ENV !== "production") {
64
+ FlatTableRowDraggable.propTypes = {
65
+ "children": PropTypes.node,
66
+ "draggable": PropTypes.bool,
67
+ "findItem": PropTypes.func,
68
+ "id": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
69
+ "moveItem": PropTypes.func,
70
+ "rowRef": PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
71
+ "current": PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object]).isRequired
72
+ })])
73
+ };
74
+ }
73
75
  export { FlatTableRowDraggable };
74
76
  FlatTableRowDraggable.displayName = "FlatTableRowDraggable";
75
77
  export default FlatTableRowDraggable;
@@ -202,23 +202,25 @@ const FlatTableRow = /*#__PURE__*/React.forwardRef(({
202
202
  }, rowComponent());
203
203
  return /*#__PURE__*/React.createElement(React.Fragment, null, draggable ? draggableComponent() : rowComponent(), isExpanded && subRows && /*#__PURE__*/React.createElement(SubRowProvider, null, subRows));
204
204
  });
205
- FlatTableRow.propTypes = {
206
- "bgColor": PropTypes.string,
207
- "children": PropTypes.node,
208
- "draggable": PropTypes.bool,
209
- "expandable": PropTypes.bool,
210
- "expandableArea": PropTypes.oneOf(["firstColumn", "wholeRow"]),
211
- "expanded": PropTypes.bool,
212
- "findItem": PropTypes.func,
213
- "highlighted": PropTypes.bool,
214
- "horizontalBorderColor": PropTypes.string,
215
- "horizontalBorderSize": PropTypes.oneOf(["large", "medium", "small"]),
216
- "id": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
217
- "moveItem": PropTypes.func,
218
- "onClick": PropTypes.func,
219
- "selected": PropTypes.bool,
220
- "subRows": PropTypes.node
221
- };
205
+ if (process.env.NODE_ENV !== "production") {
206
+ FlatTableRow.propTypes = {
207
+ "bgColor": PropTypes.string,
208
+ "children": PropTypes.node,
209
+ "draggable": PropTypes.bool,
210
+ "expandable": PropTypes.bool,
211
+ "expandableArea": PropTypes.oneOf(["firstColumn", "wholeRow"]),
212
+ "expanded": PropTypes.bool,
213
+ "findItem": PropTypes.func,
214
+ "highlighted": PropTypes.bool,
215
+ "horizontalBorderColor": PropTypes.string,
216
+ "horizontalBorderSize": PropTypes.oneOf(["large", "medium", "small"]),
217
+ "id": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
218
+ "moveItem": PropTypes.func,
219
+ "onClick": PropTypes.func,
220
+ "selected": PropTypes.bool,
221
+ "subRows": PropTypes.node
222
+ };
223
+ }
222
224
  export { FlatTableRow };
223
225
  FlatTableRow.displayName = "FlatTableRow";
224
226
  export default FlatTableRow;