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
@@ -177,348 +177,350 @@ const Button = /*#__PURE__*/React.forwardRef(({
177
177
  tooltipTarget: internalRef
178
178
  }));
179
179
  });
180
- Button.propTypes = {
181
- "aria-describedby": PropTypes.string,
182
- "aria-label": PropTypes.string,
183
- "aria-labelledby": PropTypes.string,
184
- "buttonType": PropTypes.oneOf(["darkBackground", "dashed", "gradient-grey", "gradient-white", "primary", "secondary", "tertiary"]),
185
- "children": PropTypes.node,
186
- "data-component": PropTypes.string,
187
- "data-element": PropTypes.string,
188
- "data-role": PropTypes.string,
189
- "destructive": PropTypes.bool,
190
- "disabled": PropTypes.bool,
191
- "forwardRef": PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
192
- "current": PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object]).isRequired
193
- })]),
194
- "fullWidth": PropTypes.bool,
195
- "href": PropTypes.string,
196
- "iconPosition": PropTypes.oneOf(["after", "before"]),
197
- "iconTooltipMessage": PropTypes.string,
198
- "iconTooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
199
- "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"]),
200
- "id": PropTypes.string,
201
- "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
202
- "__@toStringTag": PropTypes.string.isRequired,
203
- "description": PropTypes.string,
204
- "toString": PropTypes.func.isRequired,
205
- "valueOf": PropTypes.func.isRequired
206
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
207
- "__@toStringTag": PropTypes.string.isRequired,
208
- "description": PropTypes.string,
209
- "toString": PropTypes.func.isRequired,
210
- "valueOf": PropTypes.func.isRequired
211
- }), PropTypes.string]),
212
- "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
213
- "__@toStringTag": PropTypes.string.isRequired,
214
- "description": PropTypes.string,
215
- "toString": PropTypes.func.isRequired,
216
- "valueOf": PropTypes.func.isRequired
217
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
218
- "__@toStringTag": PropTypes.string.isRequired,
219
- "description": PropTypes.string,
220
- "toString": PropTypes.func.isRequired,
221
- "valueOf": PropTypes.func.isRequired
222
- }), PropTypes.string]),
223
- "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
224
- "__@toStringTag": PropTypes.string.isRequired,
225
- "description": PropTypes.string,
226
- "toString": PropTypes.func.isRequired,
227
- "valueOf": PropTypes.func.isRequired
228
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
229
- "__@toStringTag": PropTypes.string.isRequired,
230
- "description": PropTypes.string,
231
- "toString": PropTypes.func.isRequired,
232
- "valueOf": PropTypes.func.isRequired
233
- }), PropTypes.string]),
234
- "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
235
- "__@toStringTag": PropTypes.string.isRequired,
236
- "description": PropTypes.string,
237
- "toString": PropTypes.func.isRequired,
238
- "valueOf": PropTypes.func.isRequired
239
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
240
- "__@toStringTag": PropTypes.string.isRequired,
241
- "description": PropTypes.string,
242
- "toString": PropTypes.func.isRequired,
243
- "valueOf": PropTypes.func.isRequired
244
- }), PropTypes.string]),
245
- "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
246
- "__@toStringTag": PropTypes.string.isRequired,
247
- "description": PropTypes.string,
248
- "toString": PropTypes.func.isRequired,
249
- "valueOf": PropTypes.func.isRequired
250
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
251
- "__@toStringTag": PropTypes.string.isRequired,
252
- "description": PropTypes.string,
253
- "toString": PropTypes.func.isRequired,
254
- "valueOf": PropTypes.func.isRequired
255
- }), PropTypes.string]),
256
- "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
257
- "__@toStringTag": PropTypes.string.isRequired,
258
- "description": PropTypes.string,
259
- "toString": PropTypes.func.isRequired,
260
- "valueOf": PropTypes.func.isRequired
261
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
262
- "__@toStringTag": PropTypes.string.isRequired,
263
- "description": PropTypes.string,
264
- "toString": PropTypes.func.isRequired,
265
- "valueOf": PropTypes.func.isRequired
266
- }), PropTypes.string]),
267
- "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
268
- "__@toStringTag": PropTypes.string.isRequired,
269
- "description": PropTypes.string,
270
- "toString": PropTypes.func.isRequired,
271
- "valueOf": PropTypes.func.isRequired
272
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
273
- "__@toStringTag": PropTypes.string.isRequired,
274
- "description": PropTypes.string,
275
- "toString": PropTypes.func.isRequired,
276
- "valueOf": PropTypes.func.isRequired
277
- }), PropTypes.string]),
278
- "marginY": 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
- "mb": 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
- "ml": 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
- "mr": 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
- "mt": 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
- "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
334
- "__@toStringTag": PropTypes.string.isRequired,
335
- "description": PropTypes.string,
336
- "toString": PropTypes.func.isRequired,
337
- "valueOf": PropTypes.func.isRequired
338
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
339
- "__@toStringTag": PropTypes.string.isRequired,
340
- "description": PropTypes.string,
341
- "toString": PropTypes.func.isRequired,
342
- "valueOf": PropTypes.func.isRequired
343
- }), PropTypes.string]),
344
- "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
345
- "__@toStringTag": PropTypes.string.isRequired,
346
- "description": PropTypes.string,
347
- "toString": PropTypes.func.isRequired,
348
- "valueOf": PropTypes.func.isRequired
349
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
350
- "__@toStringTag": PropTypes.string.isRequired,
351
- "description": PropTypes.string,
352
- "toString": PropTypes.func.isRequired,
353
- "valueOf": PropTypes.func.isRequired
354
- }), PropTypes.string]),
355
- "name": PropTypes.string,
356
- "noWrap": PropTypes.bool,
357
- "onBlur": PropTypes.func,
358
- "onChange": PropTypes.func,
359
- "onClick": PropTypes.func,
360
- "onFocus": PropTypes.func,
361
- "onKeyDown": PropTypes.func,
362
- "p": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
363
- "__@toStringTag": PropTypes.string.isRequired,
364
- "description": PropTypes.string,
365
- "toString": PropTypes.func.isRequired,
366
- "valueOf": PropTypes.func.isRequired
367
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
368
- "__@toStringTag": PropTypes.string.isRequired,
369
- "description": PropTypes.string,
370
- "toString": PropTypes.func.isRequired,
371
- "valueOf": PropTypes.func.isRequired
372
- }), PropTypes.string]),
373
- "padding": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
374
- "__@toStringTag": PropTypes.string.isRequired,
375
- "description": PropTypes.string,
376
- "toString": PropTypes.func.isRequired,
377
- "valueOf": PropTypes.func.isRequired
378
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
379
- "__@toStringTag": PropTypes.string.isRequired,
380
- "description": PropTypes.string,
381
- "toString": PropTypes.func.isRequired,
382
- "valueOf": PropTypes.func.isRequired
383
- }), PropTypes.string]),
384
- "paddingBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
385
- "__@toStringTag": PropTypes.string.isRequired,
386
- "description": PropTypes.string,
387
- "toString": PropTypes.func.isRequired,
388
- "valueOf": PropTypes.func.isRequired
389
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
390
- "__@toStringTag": PropTypes.string.isRequired,
391
- "description": PropTypes.string,
392
- "toString": PropTypes.func.isRequired,
393
- "valueOf": PropTypes.func.isRequired
394
- }), PropTypes.string]),
395
- "paddingLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
396
- "__@toStringTag": PropTypes.string.isRequired,
397
- "description": PropTypes.string,
398
- "toString": PropTypes.func.isRequired,
399
- "valueOf": PropTypes.func.isRequired
400
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
401
- "__@toStringTag": PropTypes.string.isRequired,
402
- "description": PropTypes.string,
403
- "toString": PropTypes.func.isRequired,
404
- "valueOf": PropTypes.func.isRequired
405
- }), PropTypes.string]),
406
- "paddingRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
407
- "__@toStringTag": PropTypes.string.isRequired,
408
- "description": PropTypes.string,
409
- "toString": PropTypes.func.isRequired,
410
- "valueOf": PropTypes.func.isRequired
411
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
412
- "__@toStringTag": PropTypes.string.isRequired,
413
- "description": PropTypes.string,
414
- "toString": PropTypes.func.isRequired,
415
- "valueOf": PropTypes.func.isRequired
416
- }), PropTypes.string]),
417
- "paddingTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
418
- "__@toStringTag": PropTypes.string.isRequired,
419
- "description": PropTypes.string,
420
- "toString": PropTypes.func.isRequired,
421
- "valueOf": PropTypes.func.isRequired
422
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
423
- "__@toStringTag": PropTypes.string.isRequired,
424
- "description": PropTypes.string,
425
- "toString": PropTypes.func.isRequired,
426
- "valueOf": PropTypes.func.isRequired
427
- }), PropTypes.string]),
428
- "paddingX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
429
- "__@toStringTag": PropTypes.string.isRequired,
430
- "description": PropTypes.string,
431
- "toString": PropTypes.func.isRequired,
432
- "valueOf": PropTypes.func.isRequired
433
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
434
- "__@toStringTag": PropTypes.string.isRequired,
435
- "description": PropTypes.string,
436
- "toString": PropTypes.func.isRequired,
437
- "valueOf": PropTypes.func.isRequired
438
- }), PropTypes.string]),
439
- "paddingY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
440
- "__@toStringTag": PropTypes.string.isRequired,
441
- "description": PropTypes.string,
442
- "toString": PropTypes.func.isRequired,
443
- "valueOf": PropTypes.func.isRequired
444
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
445
- "__@toStringTag": PropTypes.string.isRequired,
446
- "description": PropTypes.string,
447
- "toString": PropTypes.func.isRequired,
448
- "valueOf": PropTypes.func.isRequired
449
- }), PropTypes.string]),
450
- "pb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
451
- "__@toStringTag": PropTypes.string.isRequired,
452
- "description": PropTypes.string,
453
- "toString": PropTypes.func.isRequired,
454
- "valueOf": PropTypes.func.isRequired
455
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
456
- "__@toStringTag": PropTypes.string.isRequired,
457
- "description": PropTypes.string,
458
- "toString": PropTypes.func.isRequired,
459
- "valueOf": PropTypes.func.isRequired
460
- }), PropTypes.string]),
461
- "pl": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
462
- "__@toStringTag": PropTypes.string.isRequired,
463
- "description": PropTypes.string,
464
- "toString": PropTypes.func.isRequired,
465
- "valueOf": PropTypes.func.isRequired
466
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
467
- "__@toStringTag": PropTypes.string.isRequired,
468
- "description": PropTypes.string,
469
- "toString": PropTypes.func.isRequired,
470
- "valueOf": PropTypes.func.isRequired
471
- }), PropTypes.string]),
472
- "pr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
473
- "__@toStringTag": PropTypes.string.isRequired,
474
- "description": PropTypes.string,
475
- "toString": PropTypes.func.isRequired,
476
- "valueOf": PropTypes.func.isRequired
477
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
478
- "__@toStringTag": PropTypes.string.isRequired,
479
- "description": PropTypes.string,
480
- "toString": PropTypes.func.isRequired,
481
- "valueOf": PropTypes.func.isRequired
482
- }), PropTypes.string]),
483
- "pt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
484
- "__@toStringTag": PropTypes.string.isRequired,
485
- "description": PropTypes.string,
486
- "toString": PropTypes.func.isRequired,
487
- "valueOf": PropTypes.func.isRequired
488
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
489
- "__@toStringTag": PropTypes.string.isRequired,
490
- "description": PropTypes.string,
491
- "toString": PropTypes.func.isRequired,
492
- "valueOf": PropTypes.func.isRequired
493
- }), PropTypes.string]),
494
- "px": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
495
- "__@toStringTag": PropTypes.string.isRequired,
496
- "description": PropTypes.string,
497
- "toString": PropTypes.func.isRequired,
498
- "valueOf": PropTypes.func.isRequired
499
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
500
- "__@toStringTag": PropTypes.string.isRequired,
501
- "description": PropTypes.string,
502
- "toString": PropTypes.func.isRequired,
503
- "valueOf": PropTypes.func.isRequired
504
- }), PropTypes.string]),
505
- "py": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
506
- "__@toStringTag": PropTypes.string.isRequired,
507
- "description": PropTypes.string,
508
- "toString": PropTypes.func.isRequired,
509
- "valueOf": PropTypes.func.isRequired
510
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
511
- "__@toStringTag": PropTypes.string.isRequired,
512
- "description": PropTypes.string,
513
- "toString": PropTypes.func.isRequired,
514
- "valueOf": PropTypes.func.isRequired
515
- }), PropTypes.string]),
516
- "rel": PropTypes.string,
517
- "size": PropTypes.oneOf(["large", "medium", "small"]),
518
- "subtext": PropTypes.string,
519
- "target": PropTypes.string,
520
- "type": PropTypes.string
521
- };
180
+ if (process.env.NODE_ENV !== "production") {
181
+ Button.propTypes = {
182
+ "aria-describedby": PropTypes.string,
183
+ "aria-label": PropTypes.string,
184
+ "aria-labelledby": PropTypes.string,
185
+ "buttonType": PropTypes.oneOf(["darkBackground", "dashed", "gradient-grey", "gradient-white", "primary", "secondary", "tertiary"]),
186
+ "children": PropTypes.node,
187
+ "data-component": PropTypes.string,
188
+ "data-element": PropTypes.string,
189
+ "data-role": PropTypes.string,
190
+ "destructive": PropTypes.bool,
191
+ "disabled": PropTypes.bool,
192
+ "forwardRef": PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
193
+ "current": PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object]).isRequired
194
+ })]),
195
+ "fullWidth": PropTypes.bool,
196
+ "href": PropTypes.string,
197
+ "iconPosition": PropTypes.oneOf(["after", "before"]),
198
+ "iconTooltipMessage": PropTypes.string,
199
+ "iconTooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
200
+ "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"]),
201
+ "id": PropTypes.string,
202
+ "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
203
+ "__@toStringTag": PropTypes.string.isRequired,
204
+ "description": PropTypes.string,
205
+ "toString": PropTypes.func.isRequired,
206
+ "valueOf": PropTypes.func.isRequired
207
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
208
+ "__@toStringTag": PropTypes.string.isRequired,
209
+ "description": PropTypes.string,
210
+ "toString": PropTypes.func.isRequired,
211
+ "valueOf": PropTypes.func.isRequired
212
+ }), PropTypes.string]),
213
+ "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
214
+ "__@toStringTag": PropTypes.string.isRequired,
215
+ "description": PropTypes.string,
216
+ "toString": PropTypes.func.isRequired,
217
+ "valueOf": PropTypes.func.isRequired
218
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
219
+ "__@toStringTag": PropTypes.string.isRequired,
220
+ "description": PropTypes.string,
221
+ "toString": PropTypes.func.isRequired,
222
+ "valueOf": PropTypes.func.isRequired
223
+ }), PropTypes.string]),
224
+ "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
225
+ "__@toStringTag": PropTypes.string.isRequired,
226
+ "description": PropTypes.string,
227
+ "toString": PropTypes.func.isRequired,
228
+ "valueOf": PropTypes.func.isRequired
229
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
230
+ "__@toStringTag": PropTypes.string.isRequired,
231
+ "description": PropTypes.string,
232
+ "toString": PropTypes.func.isRequired,
233
+ "valueOf": PropTypes.func.isRequired
234
+ }), PropTypes.string]),
235
+ "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
236
+ "__@toStringTag": PropTypes.string.isRequired,
237
+ "description": PropTypes.string,
238
+ "toString": PropTypes.func.isRequired,
239
+ "valueOf": PropTypes.func.isRequired
240
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
241
+ "__@toStringTag": PropTypes.string.isRequired,
242
+ "description": PropTypes.string,
243
+ "toString": PropTypes.func.isRequired,
244
+ "valueOf": PropTypes.func.isRequired
245
+ }), PropTypes.string]),
246
+ "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
247
+ "__@toStringTag": PropTypes.string.isRequired,
248
+ "description": PropTypes.string,
249
+ "toString": PropTypes.func.isRequired,
250
+ "valueOf": PropTypes.func.isRequired
251
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
252
+ "__@toStringTag": PropTypes.string.isRequired,
253
+ "description": PropTypes.string,
254
+ "toString": PropTypes.func.isRequired,
255
+ "valueOf": PropTypes.func.isRequired
256
+ }), PropTypes.string]),
257
+ "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
258
+ "__@toStringTag": PropTypes.string.isRequired,
259
+ "description": PropTypes.string,
260
+ "toString": PropTypes.func.isRequired,
261
+ "valueOf": PropTypes.func.isRequired
262
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
263
+ "__@toStringTag": PropTypes.string.isRequired,
264
+ "description": PropTypes.string,
265
+ "toString": PropTypes.func.isRequired,
266
+ "valueOf": PropTypes.func.isRequired
267
+ }), PropTypes.string]),
268
+ "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
269
+ "__@toStringTag": PropTypes.string.isRequired,
270
+ "description": PropTypes.string,
271
+ "toString": PropTypes.func.isRequired,
272
+ "valueOf": PropTypes.func.isRequired
273
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
274
+ "__@toStringTag": PropTypes.string.isRequired,
275
+ "description": PropTypes.string,
276
+ "toString": PropTypes.func.isRequired,
277
+ "valueOf": PropTypes.func.isRequired
278
+ }), PropTypes.string]),
279
+ "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
280
+ "__@toStringTag": PropTypes.string.isRequired,
281
+ "description": PropTypes.string,
282
+ "toString": PropTypes.func.isRequired,
283
+ "valueOf": PropTypes.func.isRequired
284
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
285
+ "__@toStringTag": PropTypes.string.isRequired,
286
+ "description": PropTypes.string,
287
+ "toString": PropTypes.func.isRequired,
288
+ "valueOf": PropTypes.func.isRequired
289
+ }), PropTypes.string]),
290
+ "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
291
+ "__@toStringTag": PropTypes.string.isRequired,
292
+ "description": PropTypes.string,
293
+ "toString": PropTypes.func.isRequired,
294
+ "valueOf": PropTypes.func.isRequired
295
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
296
+ "__@toStringTag": PropTypes.string.isRequired,
297
+ "description": PropTypes.string,
298
+ "toString": PropTypes.func.isRequired,
299
+ "valueOf": PropTypes.func.isRequired
300
+ }), PropTypes.string]),
301
+ "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
302
+ "__@toStringTag": PropTypes.string.isRequired,
303
+ "description": PropTypes.string,
304
+ "toString": PropTypes.func.isRequired,
305
+ "valueOf": PropTypes.func.isRequired
306
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
307
+ "__@toStringTag": PropTypes.string.isRequired,
308
+ "description": PropTypes.string,
309
+ "toString": PropTypes.func.isRequired,
310
+ "valueOf": PropTypes.func.isRequired
311
+ }), PropTypes.string]),
312
+ "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
313
+ "__@toStringTag": PropTypes.string.isRequired,
314
+ "description": PropTypes.string,
315
+ "toString": PropTypes.func.isRequired,
316
+ "valueOf": PropTypes.func.isRequired
317
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
318
+ "__@toStringTag": PropTypes.string.isRequired,
319
+ "description": PropTypes.string,
320
+ "toString": PropTypes.func.isRequired,
321
+ "valueOf": PropTypes.func.isRequired
322
+ }), PropTypes.string]),
323
+ "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
324
+ "__@toStringTag": PropTypes.string.isRequired,
325
+ "description": PropTypes.string,
326
+ "toString": PropTypes.func.isRequired,
327
+ "valueOf": PropTypes.func.isRequired
328
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
329
+ "__@toStringTag": PropTypes.string.isRequired,
330
+ "description": PropTypes.string,
331
+ "toString": PropTypes.func.isRequired,
332
+ "valueOf": PropTypes.func.isRequired
333
+ }), PropTypes.string]),
334
+ "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
335
+ "__@toStringTag": PropTypes.string.isRequired,
336
+ "description": PropTypes.string,
337
+ "toString": PropTypes.func.isRequired,
338
+ "valueOf": PropTypes.func.isRequired
339
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
340
+ "__@toStringTag": PropTypes.string.isRequired,
341
+ "description": PropTypes.string,
342
+ "toString": PropTypes.func.isRequired,
343
+ "valueOf": PropTypes.func.isRequired
344
+ }), PropTypes.string]),
345
+ "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
346
+ "__@toStringTag": PropTypes.string.isRequired,
347
+ "description": PropTypes.string,
348
+ "toString": PropTypes.func.isRequired,
349
+ "valueOf": PropTypes.func.isRequired
350
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
351
+ "__@toStringTag": PropTypes.string.isRequired,
352
+ "description": PropTypes.string,
353
+ "toString": PropTypes.func.isRequired,
354
+ "valueOf": PropTypes.func.isRequired
355
+ }), PropTypes.string]),
356
+ "name": PropTypes.string,
357
+ "noWrap": PropTypes.bool,
358
+ "onBlur": PropTypes.func,
359
+ "onChange": PropTypes.func,
360
+ "onClick": PropTypes.func,
361
+ "onFocus": PropTypes.func,
362
+ "onKeyDown": PropTypes.func,
363
+ "p": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
364
+ "__@toStringTag": PropTypes.string.isRequired,
365
+ "description": PropTypes.string,
366
+ "toString": PropTypes.func.isRequired,
367
+ "valueOf": PropTypes.func.isRequired
368
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
369
+ "__@toStringTag": PropTypes.string.isRequired,
370
+ "description": PropTypes.string,
371
+ "toString": PropTypes.func.isRequired,
372
+ "valueOf": PropTypes.func.isRequired
373
+ }), PropTypes.string]),
374
+ "padding": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
375
+ "__@toStringTag": PropTypes.string.isRequired,
376
+ "description": PropTypes.string,
377
+ "toString": PropTypes.func.isRequired,
378
+ "valueOf": PropTypes.func.isRequired
379
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
380
+ "__@toStringTag": PropTypes.string.isRequired,
381
+ "description": PropTypes.string,
382
+ "toString": PropTypes.func.isRequired,
383
+ "valueOf": PropTypes.func.isRequired
384
+ }), PropTypes.string]),
385
+ "paddingBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
386
+ "__@toStringTag": PropTypes.string.isRequired,
387
+ "description": PropTypes.string,
388
+ "toString": PropTypes.func.isRequired,
389
+ "valueOf": PropTypes.func.isRequired
390
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
391
+ "__@toStringTag": PropTypes.string.isRequired,
392
+ "description": PropTypes.string,
393
+ "toString": PropTypes.func.isRequired,
394
+ "valueOf": PropTypes.func.isRequired
395
+ }), PropTypes.string]),
396
+ "paddingLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
397
+ "__@toStringTag": PropTypes.string.isRequired,
398
+ "description": PropTypes.string,
399
+ "toString": PropTypes.func.isRequired,
400
+ "valueOf": PropTypes.func.isRequired
401
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
402
+ "__@toStringTag": PropTypes.string.isRequired,
403
+ "description": PropTypes.string,
404
+ "toString": PropTypes.func.isRequired,
405
+ "valueOf": PropTypes.func.isRequired
406
+ }), PropTypes.string]),
407
+ "paddingRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
408
+ "__@toStringTag": PropTypes.string.isRequired,
409
+ "description": PropTypes.string,
410
+ "toString": PropTypes.func.isRequired,
411
+ "valueOf": PropTypes.func.isRequired
412
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
413
+ "__@toStringTag": PropTypes.string.isRequired,
414
+ "description": PropTypes.string,
415
+ "toString": PropTypes.func.isRequired,
416
+ "valueOf": PropTypes.func.isRequired
417
+ }), PropTypes.string]),
418
+ "paddingTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
419
+ "__@toStringTag": PropTypes.string.isRequired,
420
+ "description": PropTypes.string,
421
+ "toString": PropTypes.func.isRequired,
422
+ "valueOf": PropTypes.func.isRequired
423
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
424
+ "__@toStringTag": PropTypes.string.isRequired,
425
+ "description": PropTypes.string,
426
+ "toString": PropTypes.func.isRequired,
427
+ "valueOf": PropTypes.func.isRequired
428
+ }), PropTypes.string]),
429
+ "paddingX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
430
+ "__@toStringTag": PropTypes.string.isRequired,
431
+ "description": PropTypes.string,
432
+ "toString": PropTypes.func.isRequired,
433
+ "valueOf": PropTypes.func.isRequired
434
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
435
+ "__@toStringTag": PropTypes.string.isRequired,
436
+ "description": PropTypes.string,
437
+ "toString": PropTypes.func.isRequired,
438
+ "valueOf": PropTypes.func.isRequired
439
+ }), PropTypes.string]),
440
+ "paddingY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
441
+ "__@toStringTag": PropTypes.string.isRequired,
442
+ "description": PropTypes.string,
443
+ "toString": PropTypes.func.isRequired,
444
+ "valueOf": PropTypes.func.isRequired
445
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
446
+ "__@toStringTag": PropTypes.string.isRequired,
447
+ "description": PropTypes.string,
448
+ "toString": PropTypes.func.isRequired,
449
+ "valueOf": PropTypes.func.isRequired
450
+ }), PropTypes.string]),
451
+ "pb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
452
+ "__@toStringTag": PropTypes.string.isRequired,
453
+ "description": PropTypes.string,
454
+ "toString": PropTypes.func.isRequired,
455
+ "valueOf": PropTypes.func.isRequired
456
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
457
+ "__@toStringTag": PropTypes.string.isRequired,
458
+ "description": PropTypes.string,
459
+ "toString": PropTypes.func.isRequired,
460
+ "valueOf": PropTypes.func.isRequired
461
+ }), PropTypes.string]),
462
+ "pl": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
463
+ "__@toStringTag": PropTypes.string.isRequired,
464
+ "description": PropTypes.string,
465
+ "toString": PropTypes.func.isRequired,
466
+ "valueOf": PropTypes.func.isRequired
467
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
468
+ "__@toStringTag": PropTypes.string.isRequired,
469
+ "description": PropTypes.string,
470
+ "toString": PropTypes.func.isRequired,
471
+ "valueOf": PropTypes.func.isRequired
472
+ }), PropTypes.string]),
473
+ "pr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
474
+ "__@toStringTag": PropTypes.string.isRequired,
475
+ "description": PropTypes.string,
476
+ "toString": PropTypes.func.isRequired,
477
+ "valueOf": PropTypes.func.isRequired
478
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
479
+ "__@toStringTag": PropTypes.string.isRequired,
480
+ "description": PropTypes.string,
481
+ "toString": PropTypes.func.isRequired,
482
+ "valueOf": PropTypes.func.isRequired
483
+ }), PropTypes.string]),
484
+ "pt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
485
+ "__@toStringTag": PropTypes.string.isRequired,
486
+ "description": PropTypes.string,
487
+ "toString": PropTypes.func.isRequired,
488
+ "valueOf": PropTypes.func.isRequired
489
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
490
+ "__@toStringTag": PropTypes.string.isRequired,
491
+ "description": PropTypes.string,
492
+ "toString": PropTypes.func.isRequired,
493
+ "valueOf": PropTypes.func.isRequired
494
+ }), PropTypes.string]),
495
+ "px": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
496
+ "__@toStringTag": PropTypes.string.isRequired,
497
+ "description": PropTypes.string,
498
+ "toString": PropTypes.func.isRequired,
499
+ "valueOf": PropTypes.func.isRequired
500
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
501
+ "__@toStringTag": PropTypes.string.isRequired,
502
+ "description": PropTypes.string,
503
+ "toString": PropTypes.func.isRequired,
504
+ "valueOf": PropTypes.func.isRequired
505
+ }), PropTypes.string]),
506
+ "py": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
507
+ "__@toStringTag": PropTypes.string.isRequired,
508
+ "description": PropTypes.string,
509
+ "toString": PropTypes.func.isRequired,
510
+ "valueOf": PropTypes.func.isRequired
511
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
512
+ "__@toStringTag": PropTypes.string.isRequired,
513
+ "description": PropTypes.string,
514
+ "toString": PropTypes.func.isRequired,
515
+ "valueOf": PropTypes.func.isRequired
516
+ }), PropTypes.string]),
517
+ "rel": PropTypes.string,
518
+ "size": PropTypes.oneOf(["large", "medium", "small"]),
519
+ "subtext": PropTypes.string,
520
+ "target": PropTypes.string,
521
+ "type": PropTypes.string
522
+ };
523
+ }
522
524
  let deprecatedButtonForwardRefWarnTriggered = false;
523
525
  const ButtonWithForwardRef = /*#__PURE__*/React.forwardRef((props, ref) => {
524
526
  if (!deprecatedButtonForwardRefWarnTriggered) {
@@ -529,348 +531,350 @@ const ButtonWithForwardRef = /*#__PURE__*/React.forwardRef((props, ref) => {
529
531
  ref: ref
530
532
  }, props));
531
533
  });
532
- ButtonWithForwardRef.propTypes = {
533
- "aria-describedby": PropTypes.string,
534
- "aria-label": PropTypes.string,
535
- "aria-labelledby": PropTypes.string,
536
- "buttonType": PropTypes.oneOf(["darkBackground", "dashed", "gradient-grey", "gradient-white", "primary", "secondary", "tertiary"]),
537
- "children": PropTypes.node,
538
- "data-component": PropTypes.string,
539
- "data-element": PropTypes.string,
540
- "data-role": PropTypes.string,
541
- "destructive": PropTypes.bool,
542
- "disabled": PropTypes.bool,
543
- "forwardRef": PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
544
- "current": PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object]).isRequired
545
- })]),
546
- "fullWidth": PropTypes.bool,
547
- "href": PropTypes.string,
548
- "iconPosition": PropTypes.oneOf(["after", "before"]),
549
- "iconTooltipMessage": PropTypes.string,
550
- "iconTooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
551
- "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"]),
552
- "id": PropTypes.string,
553
- "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
554
- "__@toStringTag": PropTypes.string.isRequired,
555
- "description": PropTypes.string,
556
- "toString": PropTypes.func.isRequired,
557
- "valueOf": PropTypes.func.isRequired
558
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
559
- "__@toStringTag": PropTypes.string.isRequired,
560
- "description": PropTypes.string,
561
- "toString": PropTypes.func.isRequired,
562
- "valueOf": PropTypes.func.isRequired
563
- }), PropTypes.string]),
564
- "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
565
- "__@toStringTag": PropTypes.string.isRequired,
566
- "description": PropTypes.string,
567
- "toString": PropTypes.func.isRequired,
568
- "valueOf": PropTypes.func.isRequired
569
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
570
- "__@toStringTag": PropTypes.string.isRequired,
571
- "description": PropTypes.string,
572
- "toString": PropTypes.func.isRequired,
573
- "valueOf": PropTypes.func.isRequired
574
- }), PropTypes.string]),
575
- "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
576
- "__@toStringTag": PropTypes.string.isRequired,
577
- "description": PropTypes.string,
578
- "toString": PropTypes.func.isRequired,
579
- "valueOf": PropTypes.func.isRequired
580
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
581
- "__@toStringTag": PropTypes.string.isRequired,
582
- "description": PropTypes.string,
583
- "toString": PropTypes.func.isRequired,
584
- "valueOf": PropTypes.func.isRequired
585
- }), PropTypes.string]),
586
- "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
587
- "__@toStringTag": PropTypes.string.isRequired,
588
- "description": PropTypes.string,
589
- "toString": PropTypes.func.isRequired,
590
- "valueOf": PropTypes.func.isRequired
591
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
592
- "__@toStringTag": PropTypes.string.isRequired,
593
- "description": PropTypes.string,
594
- "toString": PropTypes.func.isRequired,
595
- "valueOf": PropTypes.func.isRequired
596
- }), PropTypes.string]),
597
- "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
598
- "__@toStringTag": PropTypes.string.isRequired,
599
- "description": PropTypes.string,
600
- "toString": PropTypes.func.isRequired,
601
- "valueOf": PropTypes.func.isRequired
602
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
603
- "__@toStringTag": PropTypes.string.isRequired,
604
- "description": PropTypes.string,
605
- "toString": PropTypes.func.isRequired,
606
- "valueOf": PropTypes.func.isRequired
607
- }), PropTypes.string]),
608
- "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
609
- "__@toStringTag": PropTypes.string.isRequired,
610
- "description": PropTypes.string,
611
- "toString": PropTypes.func.isRequired,
612
- "valueOf": PropTypes.func.isRequired
613
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
614
- "__@toStringTag": PropTypes.string.isRequired,
615
- "description": PropTypes.string,
616
- "toString": PropTypes.func.isRequired,
617
- "valueOf": PropTypes.func.isRequired
618
- }), PropTypes.string]),
619
- "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
620
- "__@toStringTag": PropTypes.string.isRequired,
621
- "description": PropTypes.string,
622
- "toString": PropTypes.func.isRequired,
623
- "valueOf": PropTypes.func.isRequired
624
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
625
- "__@toStringTag": PropTypes.string.isRequired,
626
- "description": PropTypes.string,
627
- "toString": PropTypes.func.isRequired,
628
- "valueOf": PropTypes.func.isRequired
629
- }), PropTypes.string]),
630
- "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
631
- "__@toStringTag": PropTypes.string.isRequired,
632
- "description": PropTypes.string,
633
- "toString": PropTypes.func.isRequired,
634
- "valueOf": PropTypes.func.isRequired
635
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
636
- "__@toStringTag": PropTypes.string.isRequired,
637
- "description": PropTypes.string,
638
- "toString": PropTypes.func.isRequired,
639
- "valueOf": PropTypes.func.isRequired
640
- }), PropTypes.string]),
641
- "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
642
- "__@toStringTag": PropTypes.string.isRequired,
643
- "description": PropTypes.string,
644
- "toString": PropTypes.func.isRequired,
645
- "valueOf": PropTypes.func.isRequired
646
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
647
- "__@toStringTag": PropTypes.string.isRequired,
648
- "description": PropTypes.string,
649
- "toString": PropTypes.func.isRequired,
650
- "valueOf": PropTypes.func.isRequired
651
- }), PropTypes.string]),
652
- "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
653
- "__@toStringTag": PropTypes.string.isRequired,
654
- "description": PropTypes.string,
655
- "toString": PropTypes.func.isRequired,
656
- "valueOf": PropTypes.func.isRequired
657
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
658
- "__@toStringTag": PropTypes.string.isRequired,
659
- "description": PropTypes.string,
660
- "toString": PropTypes.func.isRequired,
661
- "valueOf": PropTypes.func.isRequired
662
- }), PropTypes.string]),
663
- "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
664
- "__@toStringTag": PropTypes.string.isRequired,
665
- "description": PropTypes.string,
666
- "toString": PropTypes.func.isRequired,
667
- "valueOf": PropTypes.func.isRequired
668
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
669
- "__@toStringTag": PropTypes.string.isRequired,
670
- "description": PropTypes.string,
671
- "toString": PropTypes.func.isRequired,
672
- "valueOf": PropTypes.func.isRequired
673
- }), PropTypes.string]),
674
- "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
675
- "__@toStringTag": PropTypes.string.isRequired,
676
- "description": PropTypes.string,
677
- "toString": PropTypes.func.isRequired,
678
- "valueOf": PropTypes.func.isRequired
679
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
680
- "__@toStringTag": PropTypes.string.isRequired,
681
- "description": PropTypes.string,
682
- "toString": PropTypes.func.isRequired,
683
- "valueOf": PropTypes.func.isRequired
684
- }), PropTypes.string]),
685
- "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
686
- "__@toStringTag": PropTypes.string.isRequired,
687
- "description": PropTypes.string,
688
- "toString": PropTypes.func.isRequired,
689
- "valueOf": PropTypes.func.isRequired
690
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
691
- "__@toStringTag": PropTypes.string.isRequired,
692
- "description": PropTypes.string,
693
- "toString": PropTypes.func.isRequired,
694
- "valueOf": PropTypes.func.isRequired
695
- }), PropTypes.string]),
696
- "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
697
- "__@toStringTag": PropTypes.string.isRequired,
698
- "description": PropTypes.string,
699
- "toString": PropTypes.func.isRequired,
700
- "valueOf": PropTypes.func.isRequired
701
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
702
- "__@toStringTag": PropTypes.string.isRequired,
703
- "description": PropTypes.string,
704
- "toString": PropTypes.func.isRequired,
705
- "valueOf": PropTypes.func.isRequired
706
- }), PropTypes.string]),
707
- "name": PropTypes.string,
708
- "noWrap": PropTypes.bool,
709
- "onBlur": PropTypes.func,
710
- "onChange": PropTypes.func,
711
- "onClick": PropTypes.func,
712
- "onFocus": PropTypes.func,
713
- "onKeyDown": PropTypes.func,
714
- "p": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
715
- "__@toStringTag": PropTypes.string.isRequired,
716
- "description": PropTypes.string,
717
- "toString": PropTypes.func.isRequired,
718
- "valueOf": PropTypes.func.isRequired
719
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
720
- "__@toStringTag": PropTypes.string.isRequired,
721
- "description": PropTypes.string,
722
- "toString": PropTypes.func.isRequired,
723
- "valueOf": PropTypes.func.isRequired
724
- }), PropTypes.string]),
725
- "padding": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
726
- "__@toStringTag": PropTypes.string.isRequired,
727
- "description": PropTypes.string,
728
- "toString": PropTypes.func.isRequired,
729
- "valueOf": PropTypes.func.isRequired
730
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
731
- "__@toStringTag": PropTypes.string.isRequired,
732
- "description": PropTypes.string,
733
- "toString": PropTypes.func.isRequired,
734
- "valueOf": PropTypes.func.isRequired
735
- }), PropTypes.string]),
736
- "paddingBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
737
- "__@toStringTag": PropTypes.string.isRequired,
738
- "description": PropTypes.string,
739
- "toString": PropTypes.func.isRequired,
740
- "valueOf": PropTypes.func.isRequired
741
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
742
- "__@toStringTag": PropTypes.string.isRequired,
743
- "description": PropTypes.string,
744
- "toString": PropTypes.func.isRequired,
745
- "valueOf": PropTypes.func.isRequired
746
- }), PropTypes.string]),
747
- "paddingLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
748
- "__@toStringTag": PropTypes.string.isRequired,
749
- "description": PropTypes.string,
750
- "toString": PropTypes.func.isRequired,
751
- "valueOf": PropTypes.func.isRequired
752
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
753
- "__@toStringTag": PropTypes.string.isRequired,
754
- "description": PropTypes.string,
755
- "toString": PropTypes.func.isRequired,
756
- "valueOf": PropTypes.func.isRequired
757
- }), PropTypes.string]),
758
- "paddingRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
759
- "__@toStringTag": PropTypes.string.isRequired,
760
- "description": PropTypes.string,
761
- "toString": PropTypes.func.isRequired,
762
- "valueOf": PropTypes.func.isRequired
763
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
764
- "__@toStringTag": PropTypes.string.isRequired,
765
- "description": PropTypes.string,
766
- "toString": PropTypes.func.isRequired,
767
- "valueOf": PropTypes.func.isRequired
768
- }), PropTypes.string]),
769
- "paddingTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
770
- "__@toStringTag": PropTypes.string.isRequired,
771
- "description": PropTypes.string,
772
- "toString": PropTypes.func.isRequired,
773
- "valueOf": PropTypes.func.isRequired
774
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
775
- "__@toStringTag": PropTypes.string.isRequired,
776
- "description": PropTypes.string,
777
- "toString": PropTypes.func.isRequired,
778
- "valueOf": PropTypes.func.isRequired
779
- }), PropTypes.string]),
780
- "paddingX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
781
- "__@toStringTag": PropTypes.string.isRequired,
782
- "description": PropTypes.string,
783
- "toString": PropTypes.func.isRequired,
784
- "valueOf": PropTypes.func.isRequired
785
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
786
- "__@toStringTag": PropTypes.string.isRequired,
787
- "description": PropTypes.string,
788
- "toString": PropTypes.func.isRequired,
789
- "valueOf": PropTypes.func.isRequired
790
- }), PropTypes.string]),
791
- "paddingY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
792
- "__@toStringTag": PropTypes.string.isRequired,
793
- "description": PropTypes.string,
794
- "toString": PropTypes.func.isRequired,
795
- "valueOf": PropTypes.func.isRequired
796
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
797
- "__@toStringTag": PropTypes.string.isRequired,
798
- "description": PropTypes.string,
799
- "toString": PropTypes.func.isRequired,
800
- "valueOf": PropTypes.func.isRequired
801
- }), PropTypes.string]),
802
- "pb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
803
- "__@toStringTag": PropTypes.string.isRequired,
804
- "description": PropTypes.string,
805
- "toString": PropTypes.func.isRequired,
806
- "valueOf": PropTypes.func.isRequired
807
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
808
- "__@toStringTag": PropTypes.string.isRequired,
809
- "description": PropTypes.string,
810
- "toString": PropTypes.func.isRequired,
811
- "valueOf": PropTypes.func.isRequired
812
- }), PropTypes.string]),
813
- "pl": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
814
- "__@toStringTag": PropTypes.string.isRequired,
815
- "description": PropTypes.string,
816
- "toString": PropTypes.func.isRequired,
817
- "valueOf": PropTypes.func.isRequired
818
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
819
- "__@toStringTag": PropTypes.string.isRequired,
820
- "description": PropTypes.string,
821
- "toString": PropTypes.func.isRequired,
822
- "valueOf": PropTypes.func.isRequired
823
- }), PropTypes.string]),
824
- "pr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
825
- "__@toStringTag": PropTypes.string.isRequired,
826
- "description": PropTypes.string,
827
- "toString": PropTypes.func.isRequired,
828
- "valueOf": PropTypes.func.isRequired
829
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
830
- "__@toStringTag": PropTypes.string.isRequired,
831
- "description": PropTypes.string,
832
- "toString": PropTypes.func.isRequired,
833
- "valueOf": PropTypes.func.isRequired
834
- }), PropTypes.string]),
835
- "pt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
836
- "__@toStringTag": PropTypes.string.isRequired,
837
- "description": PropTypes.string,
838
- "toString": PropTypes.func.isRequired,
839
- "valueOf": PropTypes.func.isRequired
840
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
841
- "__@toStringTag": PropTypes.string.isRequired,
842
- "description": PropTypes.string,
843
- "toString": PropTypes.func.isRequired,
844
- "valueOf": PropTypes.func.isRequired
845
- }), PropTypes.string]),
846
- "px": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
847
- "__@toStringTag": PropTypes.string.isRequired,
848
- "description": PropTypes.string,
849
- "toString": PropTypes.func.isRequired,
850
- "valueOf": PropTypes.func.isRequired
851
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
852
- "__@toStringTag": PropTypes.string.isRequired,
853
- "description": PropTypes.string,
854
- "toString": PropTypes.func.isRequired,
855
- "valueOf": PropTypes.func.isRequired
856
- }), PropTypes.string]),
857
- "py": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
858
- "__@toStringTag": PropTypes.string.isRequired,
859
- "description": PropTypes.string,
860
- "toString": PropTypes.func.isRequired,
861
- "valueOf": PropTypes.func.isRequired
862
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
863
- "__@toStringTag": PropTypes.string.isRequired,
864
- "description": PropTypes.string,
865
- "toString": PropTypes.func.isRequired,
866
- "valueOf": PropTypes.func.isRequired
867
- }), PropTypes.string]),
868
- "rel": PropTypes.string,
869
- "size": PropTypes.oneOf(["large", "medium", "small"]),
870
- "subtext": PropTypes.string,
871
- "target": PropTypes.string,
872
- "type": PropTypes.string
873
- };
534
+ if (process.env.NODE_ENV !== "production") {
535
+ ButtonWithForwardRef.propTypes = {
536
+ "aria-describedby": PropTypes.string,
537
+ "aria-label": PropTypes.string,
538
+ "aria-labelledby": PropTypes.string,
539
+ "buttonType": PropTypes.oneOf(["darkBackground", "dashed", "gradient-grey", "gradient-white", "primary", "secondary", "tertiary"]),
540
+ "children": PropTypes.node,
541
+ "data-component": PropTypes.string,
542
+ "data-element": PropTypes.string,
543
+ "data-role": PropTypes.string,
544
+ "destructive": PropTypes.bool,
545
+ "disabled": PropTypes.bool,
546
+ "forwardRef": PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
547
+ "current": PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object]).isRequired
548
+ })]),
549
+ "fullWidth": PropTypes.bool,
550
+ "href": PropTypes.string,
551
+ "iconPosition": PropTypes.oneOf(["after", "before"]),
552
+ "iconTooltipMessage": PropTypes.string,
553
+ "iconTooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
554
+ "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"]),
555
+ "id": PropTypes.string,
556
+ "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
557
+ "__@toStringTag": PropTypes.string.isRequired,
558
+ "description": PropTypes.string,
559
+ "toString": PropTypes.func.isRequired,
560
+ "valueOf": PropTypes.func.isRequired
561
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
562
+ "__@toStringTag": PropTypes.string.isRequired,
563
+ "description": PropTypes.string,
564
+ "toString": PropTypes.func.isRequired,
565
+ "valueOf": PropTypes.func.isRequired
566
+ }), PropTypes.string]),
567
+ "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
568
+ "__@toStringTag": PropTypes.string.isRequired,
569
+ "description": PropTypes.string,
570
+ "toString": PropTypes.func.isRequired,
571
+ "valueOf": PropTypes.func.isRequired
572
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
573
+ "__@toStringTag": PropTypes.string.isRequired,
574
+ "description": PropTypes.string,
575
+ "toString": PropTypes.func.isRequired,
576
+ "valueOf": PropTypes.func.isRequired
577
+ }), PropTypes.string]),
578
+ "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
579
+ "__@toStringTag": PropTypes.string.isRequired,
580
+ "description": PropTypes.string,
581
+ "toString": PropTypes.func.isRequired,
582
+ "valueOf": PropTypes.func.isRequired
583
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
584
+ "__@toStringTag": PropTypes.string.isRequired,
585
+ "description": PropTypes.string,
586
+ "toString": PropTypes.func.isRequired,
587
+ "valueOf": PropTypes.func.isRequired
588
+ }), PropTypes.string]),
589
+ "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
590
+ "__@toStringTag": PropTypes.string.isRequired,
591
+ "description": PropTypes.string,
592
+ "toString": PropTypes.func.isRequired,
593
+ "valueOf": PropTypes.func.isRequired
594
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
595
+ "__@toStringTag": PropTypes.string.isRequired,
596
+ "description": PropTypes.string,
597
+ "toString": PropTypes.func.isRequired,
598
+ "valueOf": PropTypes.func.isRequired
599
+ }), PropTypes.string]),
600
+ "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
601
+ "__@toStringTag": PropTypes.string.isRequired,
602
+ "description": PropTypes.string,
603
+ "toString": PropTypes.func.isRequired,
604
+ "valueOf": PropTypes.func.isRequired
605
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
606
+ "__@toStringTag": PropTypes.string.isRequired,
607
+ "description": PropTypes.string,
608
+ "toString": PropTypes.func.isRequired,
609
+ "valueOf": PropTypes.func.isRequired
610
+ }), PropTypes.string]),
611
+ "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
612
+ "__@toStringTag": PropTypes.string.isRequired,
613
+ "description": PropTypes.string,
614
+ "toString": PropTypes.func.isRequired,
615
+ "valueOf": PropTypes.func.isRequired
616
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
617
+ "__@toStringTag": PropTypes.string.isRequired,
618
+ "description": PropTypes.string,
619
+ "toString": PropTypes.func.isRequired,
620
+ "valueOf": PropTypes.func.isRequired
621
+ }), PropTypes.string]),
622
+ "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
623
+ "__@toStringTag": PropTypes.string.isRequired,
624
+ "description": PropTypes.string,
625
+ "toString": PropTypes.func.isRequired,
626
+ "valueOf": PropTypes.func.isRequired
627
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
628
+ "__@toStringTag": PropTypes.string.isRequired,
629
+ "description": PropTypes.string,
630
+ "toString": PropTypes.func.isRequired,
631
+ "valueOf": PropTypes.func.isRequired
632
+ }), PropTypes.string]),
633
+ "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
634
+ "__@toStringTag": PropTypes.string.isRequired,
635
+ "description": PropTypes.string,
636
+ "toString": PropTypes.func.isRequired,
637
+ "valueOf": PropTypes.func.isRequired
638
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
639
+ "__@toStringTag": PropTypes.string.isRequired,
640
+ "description": PropTypes.string,
641
+ "toString": PropTypes.func.isRequired,
642
+ "valueOf": PropTypes.func.isRequired
643
+ }), PropTypes.string]),
644
+ "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
645
+ "__@toStringTag": PropTypes.string.isRequired,
646
+ "description": PropTypes.string,
647
+ "toString": PropTypes.func.isRequired,
648
+ "valueOf": PropTypes.func.isRequired
649
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
650
+ "__@toStringTag": PropTypes.string.isRequired,
651
+ "description": PropTypes.string,
652
+ "toString": PropTypes.func.isRequired,
653
+ "valueOf": PropTypes.func.isRequired
654
+ }), PropTypes.string]),
655
+ "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
656
+ "__@toStringTag": PropTypes.string.isRequired,
657
+ "description": PropTypes.string,
658
+ "toString": PropTypes.func.isRequired,
659
+ "valueOf": PropTypes.func.isRequired
660
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
661
+ "__@toStringTag": PropTypes.string.isRequired,
662
+ "description": PropTypes.string,
663
+ "toString": PropTypes.func.isRequired,
664
+ "valueOf": PropTypes.func.isRequired
665
+ }), PropTypes.string]),
666
+ "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
667
+ "__@toStringTag": PropTypes.string.isRequired,
668
+ "description": PropTypes.string,
669
+ "toString": PropTypes.func.isRequired,
670
+ "valueOf": PropTypes.func.isRequired
671
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
672
+ "__@toStringTag": PropTypes.string.isRequired,
673
+ "description": PropTypes.string,
674
+ "toString": PropTypes.func.isRequired,
675
+ "valueOf": PropTypes.func.isRequired
676
+ }), PropTypes.string]),
677
+ "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
678
+ "__@toStringTag": PropTypes.string.isRequired,
679
+ "description": PropTypes.string,
680
+ "toString": PropTypes.func.isRequired,
681
+ "valueOf": PropTypes.func.isRequired
682
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
683
+ "__@toStringTag": PropTypes.string.isRequired,
684
+ "description": PropTypes.string,
685
+ "toString": PropTypes.func.isRequired,
686
+ "valueOf": PropTypes.func.isRequired
687
+ }), PropTypes.string]),
688
+ "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
689
+ "__@toStringTag": PropTypes.string.isRequired,
690
+ "description": PropTypes.string,
691
+ "toString": PropTypes.func.isRequired,
692
+ "valueOf": PropTypes.func.isRequired
693
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
694
+ "__@toStringTag": PropTypes.string.isRequired,
695
+ "description": PropTypes.string,
696
+ "toString": PropTypes.func.isRequired,
697
+ "valueOf": PropTypes.func.isRequired
698
+ }), PropTypes.string]),
699
+ "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
700
+ "__@toStringTag": PropTypes.string.isRequired,
701
+ "description": PropTypes.string,
702
+ "toString": PropTypes.func.isRequired,
703
+ "valueOf": PropTypes.func.isRequired
704
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
705
+ "__@toStringTag": PropTypes.string.isRequired,
706
+ "description": PropTypes.string,
707
+ "toString": PropTypes.func.isRequired,
708
+ "valueOf": PropTypes.func.isRequired
709
+ }), PropTypes.string]),
710
+ "name": PropTypes.string,
711
+ "noWrap": PropTypes.bool,
712
+ "onBlur": PropTypes.func,
713
+ "onChange": PropTypes.func,
714
+ "onClick": PropTypes.func,
715
+ "onFocus": PropTypes.func,
716
+ "onKeyDown": PropTypes.func,
717
+ "p": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
718
+ "__@toStringTag": PropTypes.string.isRequired,
719
+ "description": PropTypes.string,
720
+ "toString": PropTypes.func.isRequired,
721
+ "valueOf": PropTypes.func.isRequired
722
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
723
+ "__@toStringTag": PropTypes.string.isRequired,
724
+ "description": PropTypes.string,
725
+ "toString": PropTypes.func.isRequired,
726
+ "valueOf": PropTypes.func.isRequired
727
+ }), PropTypes.string]),
728
+ "padding": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
729
+ "__@toStringTag": PropTypes.string.isRequired,
730
+ "description": PropTypes.string,
731
+ "toString": PropTypes.func.isRequired,
732
+ "valueOf": PropTypes.func.isRequired
733
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
734
+ "__@toStringTag": PropTypes.string.isRequired,
735
+ "description": PropTypes.string,
736
+ "toString": PropTypes.func.isRequired,
737
+ "valueOf": PropTypes.func.isRequired
738
+ }), PropTypes.string]),
739
+ "paddingBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
740
+ "__@toStringTag": PropTypes.string.isRequired,
741
+ "description": PropTypes.string,
742
+ "toString": PropTypes.func.isRequired,
743
+ "valueOf": PropTypes.func.isRequired
744
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
745
+ "__@toStringTag": PropTypes.string.isRequired,
746
+ "description": PropTypes.string,
747
+ "toString": PropTypes.func.isRequired,
748
+ "valueOf": PropTypes.func.isRequired
749
+ }), PropTypes.string]),
750
+ "paddingLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
751
+ "__@toStringTag": PropTypes.string.isRequired,
752
+ "description": PropTypes.string,
753
+ "toString": PropTypes.func.isRequired,
754
+ "valueOf": PropTypes.func.isRequired
755
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
756
+ "__@toStringTag": PropTypes.string.isRequired,
757
+ "description": PropTypes.string,
758
+ "toString": PropTypes.func.isRequired,
759
+ "valueOf": PropTypes.func.isRequired
760
+ }), PropTypes.string]),
761
+ "paddingRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
762
+ "__@toStringTag": PropTypes.string.isRequired,
763
+ "description": PropTypes.string,
764
+ "toString": PropTypes.func.isRequired,
765
+ "valueOf": PropTypes.func.isRequired
766
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
767
+ "__@toStringTag": PropTypes.string.isRequired,
768
+ "description": PropTypes.string,
769
+ "toString": PropTypes.func.isRequired,
770
+ "valueOf": PropTypes.func.isRequired
771
+ }), PropTypes.string]),
772
+ "paddingTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
773
+ "__@toStringTag": PropTypes.string.isRequired,
774
+ "description": PropTypes.string,
775
+ "toString": PropTypes.func.isRequired,
776
+ "valueOf": PropTypes.func.isRequired
777
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
778
+ "__@toStringTag": PropTypes.string.isRequired,
779
+ "description": PropTypes.string,
780
+ "toString": PropTypes.func.isRequired,
781
+ "valueOf": PropTypes.func.isRequired
782
+ }), PropTypes.string]),
783
+ "paddingX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
784
+ "__@toStringTag": PropTypes.string.isRequired,
785
+ "description": PropTypes.string,
786
+ "toString": PropTypes.func.isRequired,
787
+ "valueOf": PropTypes.func.isRequired
788
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
789
+ "__@toStringTag": PropTypes.string.isRequired,
790
+ "description": PropTypes.string,
791
+ "toString": PropTypes.func.isRequired,
792
+ "valueOf": PropTypes.func.isRequired
793
+ }), PropTypes.string]),
794
+ "paddingY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
795
+ "__@toStringTag": PropTypes.string.isRequired,
796
+ "description": PropTypes.string,
797
+ "toString": PropTypes.func.isRequired,
798
+ "valueOf": PropTypes.func.isRequired
799
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
800
+ "__@toStringTag": PropTypes.string.isRequired,
801
+ "description": PropTypes.string,
802
+ "toString": PropTypes.func.isRequired,
803
+ "valueOf": PropTypes.func.isRequired
804
+ }), PropTypes.string]),
805
+ "pb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
806
+ "__@toStringTag": PropTypes.string.isRequired,
807
+ "description": PropTypes.string,
808
+ "toString": PropTypes.func.isRequired,
809
+ "valueOf": PropTypes.func.isRequired
810
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
811
+ "__@toStringTag": PropTypes.string.isRequired,
812
+ "description": PropTypes.string,
813
+ "toString": PropTypes.func.isRequired,
814
+ "valueOf": PropTypes.func.isRequired
815
+ }), PropTypes.string]),
816
+ "pl": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
817
+ "__@toStringTag": PropTypes.string.isRequired,
818
+ "description": PropTypes.string,
819
+ "toString": PropTypes.func.isRequired,
820
+ "valueOf": PropTypes.func.isRequired
821
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
822
+ "__@toStringTag": PropTypes.string.isRequired,
823
+ "description": PropTypes.string,
824
+ "toString": PropTypes.func.isRequired,
825
+ "valueOf": PropTypes.func.isRequired
826
+ }), PropTypes.string]),
827
+ "pr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
828
+ "__@toStringTag": PropTypes.string.isRequired,
829
+ "description": PropTypes.string,
830
+ "toString": PropTypes.func.isRequired,
831
+ "valueOf": PropTypes.func.isRequired
832
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
833
+ "__@toStringTag": PropTypes.string.isRequired,
834
+ "description": PropTypes.string,
835
+ "toString": PropTypes.func.isRequired,
836
+ "valueOf": PropTypes.func.isRequired
837
+ }), PropTypes.string]),
838
+ "pt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
839
+ "__@toStringTag": PropTypes.string.isRequired,
840
+ "description": PropTypes.string,
841
+ "toString": PropTypes.func.isRequired,
842
+ "valueOf": PropTypes.func.isRequired
843
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
844
+ "__@toStringTag": PropTypes.string.isRequired,
845
+ "description": PropTypes.string,
846
+ "toString": PropTypes.func.isRequired,
847
+ "valueOf": PropTypes.func.isRequired
848
+ }), PropTypes.string]),
849
+ "px": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
850
+ "__@toStringTag": PropTypes.string.isRequired,
851
+ "description": PropTypes.string,
852
+ "toString": PropTypes.func.isRequired,
853
+ "valueOf": PropTypes.func.isRequired
854
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
855
+ "__@toStringTag": PropTypes.string.isRequired,
856
+ "description": PropTypes.string,
857
+ "toString": PropTypes.func.isRequired,
858
+ "valueOf": PropTypes.func.isRequired
859
+ }), PropTypes.string]),
860
+ "py": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
861
+ "__@toStringTag": PropTypes.string.isRequired,
862
+ "description": PropTypes.string,
863
+ "toString": PropTypes.func.isRequired,
864
+ "valueOf": PropTypes.func.isRequired
865
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
866
+ "__@toStringTag": PropTypes.string.isRequired,
867
+ "description": PropTypes.string,
868
+ "toString": PropTypes.func.isRequired,
869
+ "valueOf": PropTypes.func.isRequired
870
+ }), PropTypes.string]),
871
+ "rel": PropTypes.string,
872
+ "size": PropTypes.oneOf(["large", "medium", "small"]),
873
+ "subtext": PropTypes.string,
874
+ "target": PropTypes.string,
875
+ "type": PropTypes.string
876
+ };
877
+ }
874
878
  ButtonWithForwardRef.displayName = "Button";
875
879
  Button.displayName = "Button";
876
880
  export { ButtonWithForwardRef };