carbon-react 106.2.2 → 106.3.2

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 (73) hide show
  1. package/esm/__internal__/input/input-presentation.component.js +13 -0
  2. package/esm/__internal__/input/input.component.js +294 -0
  3. package/esm/__internal__/input-behaviour/input-behaviour.component.js +4 -0
  4. package/esm/__internal__/input-behaviour/input-group-behaviour.component.js +5 -0
  5. package/esm/__internal__/validation-message/validation-message.component.js +5 -0
  6. package/esm/__internal__/validations/validation-icon.component.js +41 -1
  7. package/esm/components/alert/alert.component.js +38 -252
  8. package/esm/components/alert/index.d.ts +1 -0
  9. package/esm/components/badge/badge.component.js +20 -60
  10. package/esm/components/button/button.component.js +760 -3310
  11. package/esm/components/carbon-provider/carbon-provider.component.js +48 -106
  12. package/esm/components/date/__internal__/utils.js +1 -1
  13. package/esm/components/date/date.component.js +3 -1
  14. package/esm/components/heading/heading.style.d.ts +2 -2
  15. package/esm/components/hr/hr.component.js +171 -1305
  16. package/esm/components/hr/index.d.ts +1 -0
  17. package/esm/components/inline-inputs/inline-inputs.component.js +35 -90
  18. package/esm/components/link/index.d.ts +1 -0
  19. package/esm/components/link/link.component.js +123 -1228
  20. package/esm/components/navigation-bar/index.d.ts +1 -0
  21. package/esm/components/navigation-bar/navigation-bar.component.js +1018 -10761
  22. package/esm/components/pager/pager.style.d.ts +1 -1
  23. package/esm/components/pod/pod.style.d.ts +1 -1
  24. package/esm/components/progress-tracker/progress-tracker.component.d.ts +4 -1
  25. package/esm/components/progress-tracker/progress-tracker.component.js +25 -2
  26. package/esm/components/progress-tracker/progress-tracker.config.d.ts +0 -1
  27. package/esm/components/progress-tracker/progress-tracker.config.js +1 -1
  28. package/esm/components/progress-tracker/progress-tracker.d.ts +5 -3
  29. package/esm/components/progress-tracker/progress-tracker.style.js +9 -7
  30. package/esm/components/radio-button/radio-button-svg.component.js +16 -29
  31. package/esm/components/text-editor/__internal__/editor-link/editor-link.style.d.ts +1 -1
  32. package/esm/components/tooltip/tooltip.component.js +85 -254
  33. package/esm/components/vertical-divider/index.d.ts +1 -0
  34. package/esm/components/vertical-divider/vertical-divider.component.d.ts +2 -2
  35. package/esm/components/vertical-divider/vertical-divider.component.js +328 -1406
  36. package/esm/components/vertical-divider/vertical-divider.style.d.ts +3 -3
  37. package/lib/__internal__/input/input-presentation.component.js +16 -0
  38. package/lib/__internal__/input/input.component.js +295 -0
  39. package/lib/__internal__/input-behaviour/input-behaviour.component.js +6 -1
  40. package/lib/__internal__/input-behaviour/input-group-behaviour.component.js +7 -1
  41. package/lib/__internal__/validation-message/validation-message.component.js +6 -0
  42. package/lib/__internal__/validations/validation-icon.component.js +39 -0
  43. package/lib/components/alert/alert.component.js +42 -143
  44. package/lib/components/alert/index.d.ts +1 -0
  45. package/lib/components/badge/badge.component.js +24 -50
  46. package/lib/components/button/button.component.js +768 -3378
  47. package/lib/components/carbon-provider/carbon-provider.component.js +54 -110
  48. package/lib/components/date/__internal__/utils.js +1 -1
  49. package/lib/components/date/date.component.js +3 -1
  50. package/lib/components/heading/heading.style.d.ts +2 -2
  51. package/lib/components/hr/hr.component.js +175 -676
  52. package/lib/components/hr/index.d.ts +1 -0
  53. package/lib/components/inline-inputs/inline-inputs.component.js +43 -137
  54. package/lib/components/link/index.d.ts +1 -0
  55. package/lib/components/link/link.component.js +142 -746
  56. package/lib/components/navigation-bar/index.d.ts +1 -0
  57. package/lib/components/navigation-bar/navigation-bar.component.js +1022 -5426
  58. package/lib/components/pager/pager.style.d.ts +1 -1
  59. package/lib/components/pod/pod.style.d.ts +1 -1
  60. package/lib/components/progress-tracker/progress-tracker.component.d.ts +4 -1
  61. package/lib/components/progress-tracker/progress-tracker.component.js +30 -2
  62. package/lib/components/progress-tracker/progress-tracker.config.d.ts +0 -1
  63. package/lib/components/progress-tracker/progress-tracker.config.js +3 -3
  64. package/lib/components/progress-tracker/progress-tracker.d.ts +5 -3
  65. package/lib/components/progress-tracker/progress-tracker.style.js +8 -6
  66. package/lib/components/radio-button/radio-button-svg.component.js +20 -38
  67. package/lib/components/text-editor/__internal__/editor-link/editor-link.style.d.ts +1 -1
  68. package/lib/components/tooltip/tooltip.component.js +98 -215
  69. package/lib/components/vertical-divider/index.d.ts +1 -0
  70. package/lib/components/vertical-divider/vertical-divider.component.d.ts +2 -2
  71. package/lib/components/vertical-divider/vertical-divider.component.js +334 -1457
  72. package/lib/components/vertical-divider/vertical-divider.style.d.ts +3 -3
  73. package/package.json +4 -3
@@ -1,19 +1,4 @@
1
- function _extends() {
2
- _extends =
3
- Object.assign ||
4
- function (target) {
5
- for (var i = 1; i < arguments.length; i++) {
6
- var source = arguments[i];
7
- for (var key in source) {
8
- if (Object.prototype.hasOwnProperty.call(source, key)) {
9
- target[key] = source[key];
10
- }
11
- }
12
- }
13
- return target;
14
- };
15
- return _extends.apply(this, arguments);
16
- }
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
2
 
18
3
  import React, { useCallback, useState } from "react";
19
4
  import PropTypes from "prop-types";
@@ -35,96 +20,60 @@ function renderChildren({
35
20
  buttonType,
36
21
  iconTooltipMessage,
37
22
  iconTooltipPosition,
38
- tooltipTarget,
23
+ tooltipTarget
39
24
  }) {
40
25
  const iconColorMap = {
41
26
  primary: "--colorsActionMajorYang100",
42
27
  secondary: "--colorsActionMajor500",
43
28
  tertiary: "--colorsActionMajor500",
44
29
  darkBackground: "--colorsActionMajor500",
45
- dashed: "--colorsActionMajor500",
30
+ dashed: "--colorsActionMajor500"
46
31
  };
47
-
48
32
  const iconProps = {
49
33
  "aria-hidden": true,
50
34
  disabled,
51
35
  color: iconColorMap[buttonType],
52
36
  bg: "transparent",
53
- bgSize: "extra-small",
37
+ bgSize: "extra-small"
54
38
  };
55
-
56
- return /*#__PURE__*/ React.createElement(
57
- React.Fragment,
58
- null,
59
- iconType &&
60
- iconPosition === "before" &&
61
- children &&
62
- /*#__PURE__*/ React.createElement(
63
- Icon,
64
- _extends(
65
- {
66
- type: iconType,
67
- },
68
- iconProps
69
- )
70
- ),
71
- /*#__PURE__*/ React.createElement(
72
- "span",
73
- null,
74
- /*#__PURE__*/ React.createElement(
75
- "span",
76
- {
77
- "data-element": "main-text",
78
- },
79
- children
80
- ),
81
- size === "large" &&
82
- /*#__PURE__*/ React.createElement(
83
- StyledButtonSubtext,
84
- {
85
- "data-element": "subtext",
86
- },
87
- subtext
88
- )
89
- ),
90
- iconType &&
91
- !children &&
92
- /*#__PURE__*/ React.createElement(
93
- TooltipProvider,
94
- {
95
- disabled: disabled,
96
- focusable: false,
97
- target: tooltipTarget,
98
- },
99
- /*#__PURE__*/ React.createElement(
100
- Icon,
101
- _extends(
102
- {
103
- type: iconType,
104
- },
105
- iconProps,
106
- {
107
- tooltipMessage: iconTooltipMessage,
108
- tooltipPosition: iconTooltipPosition,
109
- }
110
- )
111
- )
112
- ),
113
- iconType &&
114
- iconPosition === "after" &&
115
- children &&
116
- /*#__PURE__*/ React.createElement(
117
- Icon,
118
- _extends(
119
- {
120
- type: iconType,
121
- },
122
- iconProps
123
- )
124
- )
125
- );
39
+ return /*#__PURE__*/React.createElement(React.Fragment, null, iconType && iconPosition === "before" && children && /*#__PURE__*/React.createElement(Icon, _extends({
40
+ type: iconType
41
+ }, iconProps)), /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("span", {
42
+ "data-element": "main-text"
43
+ }, children), size === "large" && /*#__PURE__*/React.createElement(StyledButtonSubtext, {
44
+ "data-element": "subtext"
45
+ }, subtext)), iconType && !children && /*#__PURE__*/React.createElement(TooltipProvider, {
46
+ disabled: disabled,
47
+ focusable: false,
48
+ target: tooltipTarget
49
+ }, /*#__PURE__*/React.createElement(Icon, _extends({
50
+ type: iconType
51
+ }, iconProps, {
52
+ tooltipMessage: iconTooltipMessage,
53
+ tooltipPosition: iconTooltipPosition
54
+ }))), iconType && iconPosition === "after" && children && /*#__PURE__*/React.createElement(Icon, _extends({
55
+ type: iconType
56
+ }, iconProps)));
126
57
  }
127
58
 
59
+ renderChildren.propTypes = {
60
+ "buttonType": PropTypes.oneOf(["darkBackground", "dashed", "primary", "secondary", "tertiary"]).isRequired,
61
+ "children": PropTypes.node,
62
+ "disabled": PropTypes.bool,
63
+ "iconPosition": PropTypes.oneOf(["after", "before"]),
64
+ "iconTooltipMessage": PropTypes.string,
65
+ "iconTooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
66
+ "iconType": PropTypes.oneOf(["add", "alert", "analysis", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_up", "attach", "bank", "basket_with_squares", "basket", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_today", "calendar", "call", "camera", "card_view", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "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", "coins", "collaborate", "computer_clock", "connect", "copy", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "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", "gift", "graph", "grid", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "italic", "key", "ledger_arrow_left", "ledger_arrow_right", "ledger", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "messages", "minus_large", "minus", "mobile", "money_bag", "pause_circle", "pause", "pdf", "people_switch", "people", "person_info", "person_tick", "person", "phone", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "question", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "services", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "sync", "tag", "three_boxes", "tick_circle", "tick", "unlocked", "upload", "uploaded", "video", "view", "warning"]),
67
+ "size": PropTypes.oneOf(["large", "medium", "small"]),
68
+ "subtext": PropTypes.string,
69
+ "tooltipTarget": function (props, propName) {
70
+ if (props[propName] == null) {
71
+ return null;
72
+ } else if (typeof props[propName] !== 'object' || props[propName].nodeType !== 1) {
73
+ return new Error("Expected prop '" + propName + "' to be of type Element");
74
+ }
75
+ }
76
+ };
128
77
  let deprecatedWarnTriggered = false;
129
78
 
130
79
  const Button = ({
@@ -152,35 +101,25 @@ const Button = ({
152
101
  }) => {
153
102
  if (!deprecatedWarnTriggered && as) {
154
103
  deprecatedWarnTriggered = true;
155
- Logger.deprecate(
156
- // eslint-disable-next-line max-len
157
- "The `as` prop is deprecated and will soon be removed from the `Button` component interface. You should use the `buttonType` prop to achieve the same styling. The following codemod is available to help with updating your code https://github.com/Sage/carbon-codemod/tree/master/transforms/rename-prop"
158
- );
104
+ Logger.deprecate( // eslint-disable-next-line max-len
105
+ "The `as` prop is deprecated and will soon be removed from the `Button` component interface. You should use the `buttonType` prop to achieve the same styling. The following codemod is available to help with updating your code https://github.com/Sage/carbon-codemod/tree/master/transforms/rename-prop");
159
106
  }
160
107
 
161
- invariant(
162
- !!(children || iconType),
163
- "Either prop `iconType` must be defined or this node must have children."
164
- );
108
+ invariant(!!(children || iconType), "Either prop `iconType` must be defined or this node must have children.");
165
109
 
166
110
  if (subtext) {
167
- invariant(
168
- size === "large",
169
- "subtext prop has no effect unless the button is large."
170
- );
111
+ invariant(size === "large", "subtext prop has no effect unless the button is large.");
171
112
  }
172
113
 
173
114
  const [internalRef, setInternalRef] = useState();
174
115
  const buttonType = as || buttonTypeProp;
175
116
  let paddingX;
176
117
 
177
- const handleLinkKeyDown = (event) => {
118
+ const handleLinkKeyDown = event => {
178
119
  // If space key click link
179
120
  if (event.key === " ") {
180
121
  event.preventDefault();
181
- internalRef === null || internalRef === void 0
182
- ? void 0
183
- : internalRef.click();
122
+ internalRef === null || internalRef === void 0 ? void 0 : internalRef.click();
184
123
  }
185
124
  };
186
125
 
@@ -197,3217 +136,728 @@ const Button = ({
197
136
  paddingX = 3;
198
137
  }
199
138
 
200
- const setRefs = useCallback(
201
- (reference) => {
202
- setInternalRef(reference);
203
- if (!forwardRef) return;
204
- if (typeof forwardRef === "object") forwardRef.current = reference;
205
- if (typeof forwardRef === "function") forwardRef(reference);
206
- },
207
- [forwardRef]
208
- );
209
- return /*#__PURE__*/ React.createElement(
210
- StyledButton,
211
- _extends(
212
- {
213
- "aria-label": !children && iconType ? ariaLabel || iconType : undefined,
214
- as: !disabled && href ? "a" : "button",
215
- onKeyDown: href ? handleLinkKeyDown : undefined,
216
- draggable: false,
217
- buttonType: buttonType,
218
- disabled: disabled,
219
- destructive: destructive,
220
- role: "button",
221
- type: href ? undefined : "button",
222
- iconType: iconType,
223
- size: size,
224
- px: px ?? paddingX,
225
- m: m,
226
- noWrap: noWrap,
227
- iconOnly: !!(!children && iconType),
228
- iconPosition: iconPosition,
229
- target: target,
230
- rel: rel,
231
- fullWidth: fullWidth,
232
- },
233
- tagComponent("button", rest),
234
- rest,
235
- href && {
236
- href,
237
- },
238
- {
239
- ref: setRefs,
240
- }
241
- ),
242
- renderChildren({
243
- iconType,
244
- iconPosition,
245
- size,
246
- subtext,
247
- children,
248
- disabled,
249
- buttonType,
250
- iconTooltipMessage,
251
- iconTooltipPosition,
252
- tooltipTarget: internalRef,
253
- })
254
- );
139
+ const setRefs = useCallback(reference => {
140
+ setInternalRef(reference);
141
+ if (!forwardRef) return;
142
+ if (typeof forwardRef === "object") forwardRef.current = reference;
143
+ if (typeof forwardRef === "function") forwardRef(reference);
144
+ }, [forwardRef]);
145
+ return /*#__PURE__*/React.createElement(StyledButton, _extends({
146
+ "aria-label": !children && iconType ? ariaLabel || iconType : undefined,
147
+ as: !disabled && href ? "a" : "button",
148
+ onKeyDown: href ? handleLinkKeyDown : undefined,
149
+ draggable: false,
150
+ buttonType: buttonType,
151
+ disabled: disabled,
152
+ destructive: destructive,
153
+ role: "button",
154
+ type: href ? undefined : "button",
155
+ iconType: iconType,
156
+ size: size,
157
+ px: px ?? paddingX,
158
+ m: m,
159
+ noWrap: noWrap,
160
+ iconOnly: !!(!children && iconType),
161
+ iconPosition: iconPosition,
162
+ target: target,
163
+ rel: rel,
164
+ fullWidth: fullWidth
165
+ }, tagComponent("button", rest), rest, href && {
166
+ href
167
+ }, {
168
+ ref: setRefs
169
+ }), renderChildren({
170
+ iconType,
171
+ iconPosition,
172
+ size,
173
+ subtext,
174
+ children,
175
+ disabled,
176
+ buttonType,
177
+ iconTooltipMessage,
178
+ iconTooltipPosition,
179
+ tooltipTarget: internalRef
180
+ }));
255
181
  };
256
182
 
257
183
  Button.propTypes = {
258
- /**
259
- * Prop to specify the aria-label text.
260
- * Only to be used in Button when only an icon is rendered.
261
- * This is required to comply with WCAG 4.1.2 - Buttons must have discernible text
262
- */
263
184
  "aria-label": PropTypes.string,
264
- /**
265
- * [Legacy] Button types for legacy theme: "primary" | "secondary"
266
- */
267
- as: PropTypes.oneOf([
268
- "darkBackground",
269
- "dashed",
270
- "primary",
271
- "secondary",
272
- "tertiary",
273
- ]),
274
- /**
275
- * Color variants for new business themes: "primary" | "secondary" | "tertiary" | "darkBackground"
276
- */
277
- buttonType: PropTypes.oneOf([
278
- "darkBackground",
279
- "dashed",
280
- "primary",
281
- "secondary",
282
- "tertiary",
283
- ]),
284
- /**
285
- * The text the button displays
286
- */
287
- children: PropTypes.node,
288
- /**
289
- * Apply destructive style to the button
290
- */
291
- destructive: PropTypes.bool,
292
- /**
293
- * Apply disabled state to the button
294
- */
295
- disabled: PropTypes.bool,
296
- /**
297
- * Ref to be forwarded
298
- */
299
- forwardRef: PropTypes.oneOfType([
300
- PropTypes.func,
301
- PropTypes.shape({
302
- current: PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object])
303
- .isRequired,
304
- }),
305
- ]),
306
- /**
307
- * Apply fullWidth style to the button
308
- */
309
- fullWidth: PropTypes.bool,
310
- /**
311
- * Used to transform button into anchor
312
- */
313
- href: PropTypes.string,
314
- /**
315
- * Defines an Icon position related to the children: "before" | "after"
316
- */
317
- iconPosition: PropTypes.oneOf(["after", "before"]),
318
- /**
319
- * Provides a tooltip message when the icon is hovered.
320
- */
321
- iconTooltipMessage: PropTypes.string,
322
- /**
323
- * Provides positioning when the tooltip is displayed.
324
- */
325
- iconTooltipPosition: PropTypes.oneOf(["bottom", "left", "right", "top"]),
326
- /**
327
- * Defines an Icon type within the button
328
- */
329
- iconType: PropTypes.oneOf([
330
- "add",
331
- "alert",
332
- "analysis",
333
- "arrow_down",
334
- "arrow_left_boxed",
335
- "arrow_left_right_small",
336
- "arrow_left_small",
337
- "arrow_left",
338
- "arrow_right_small",
339
- "arrow_right",
340
- "arrow_up",
341
- "attach",
342
- "bank",
343
- "basket_with_squares",
344
- "basket",
345
- "bin",
346
- "block_arrow_right",
347
- "blocked_square",
348
- "blocked",
349
- "bold",
350
- "boxed_shapes",
351
- "bulk_destroy",
352
- "bullet_list_dotted",
353
- "bullet_list_numbers",
354
- "bullet_list",
355
- "business",
356
- "calendar_today",
357
- "calendar",
358
- "call",
359
- "camera",
360
- "card_view",
361
- "caret_down",
362
- "caret_large_down",
363
- "caret_large_left",
364
- "caret_large_right",
365
- "caret_large_up",
366
- "caret_left",
367
- "caret_right",
368
- "caret_up",
369
- "cart",
370
- "chart_bar",
371
- "chart_line",
372
- "chart_pie",
373
- "chat_notes",
374
- "chat",
375
- "chevron_down_thick",
376
- "chevron_down",
377
- "chevron_left_thick",
378
- "chevron_left",
379
- "chevron_right_thick",
380
- "chevron_right",
381
- "chevron_up_thick",
382
- "chevron_up",
383
- "circle_with_dots",
384
- "circles_connection",
385
- "clock",
386
- "close",
387
- "coins",
388
- "collaborate",
389
- "computer_clock",
390
- "connect",
391
- "copy",
392
- "credit_card_slash",
393
- "credit_card",
394
- "cross_circle",
395
- "cross",
396
- "csv",
397
- "delete",
398
- "delivery",
399
- "disconnect",
400
- "disputed",
401
- "document_right_align",
402
- "document_tick",
403
- "document_vertical_lines",
404
- "download",
405
- "draft",
406
- "drag_vertical",
407
- "drag",
408
- "dropdown",
409
- "duplicate",
410
- "edit",
411
- "edited",
412
- "ellipsis_horizontal",
413
- "ellipsis_vertical",
414
- "email_switch",
415
- "email",
416
- "error_square",
417
- "error",
418
- "euro",
419
- "expand",
420
- "factory",
421
- "favourite_lined",
422
- "favourite",
423
- "fax",
424
- "feedback",
425
- "file_excel",
426
- "file_generic",
427
- "file_image",
428
- "file_pdf",
429
- "file_word",
430
- "files_leaning",
431
- "filter_new",
432
- "filter",
433
- "fit_height",
434
- "fit_width",
435
- "flag",
436
- "folder",
437
- "gift",
438
- "graph",
439
- "grid",
440
- "help",
441
- "hide",
442
- "home",
443
- "image",
444
- "in_progress",
445
- "in_transit",
446
- "individual",
447
- "info",
448
- "italic",
449
- "key",
450
- "ledger_arrow_left",
451
- "ledger_arrow_right",
452
- "ledger",
453
- "link",
454
- "list_view",
455
- "location",
456
- "locked",
457
- "logout",
458
- "lookup",
459
- "marker",
460
- "message",
461
- "messages",
462
- "minus_large",
463
- "minus",
464
- "mobile",
465
- "money_bag",
466
- "pause_circle",
467
- "pause",
468
- "pdf",
469
- "people_switch",
470
- "people",
471
- "person_info",
472
- "person_tick",
473
- "person",
474
- "phone",
475
- "play_circle",
476
- "play",
477
- "plus_large",
478
- "plus",
479
- "pound",
480
- "print",
481
- "progress",
482
- "progressed",
483
- "question",
484
- "refresh_clock",
485
- "refresh",
486
- "remove",
487
- "sage_coin",
488
- "save",
489
- "scan",
490
- "search",
491
- "services",
492
- "settings",
493
- "share",
494
- "shop",
495
- "sort_down",
496
- "sort_up",
497
- "spanner",
498
- "split_container",
499
- "split",
500
- "square_dot",
501
- "squares_nine",
502
- "stacked_boxes",
503
- "stacked_squares",
504
- "submitted",
505
- "sync",
506
- "tag",
507
- "three_boxes",
508
- "tick_circle",
509
- "tick",
510
- "unlocked",
511
- "upload",
512
- "uploaded",
513
- "video",
514
- "view",
515
- "warning",
516
- ]),
517
- /**
518
- * Margin on top, left, bottom and right
519
- */
520
- m: PropTypes.oneOfType([
521
- PropTypes.arrayOf(
522
- PropTypes.oneOfType([
523
- PropTypes.oneOf([null]),
524
- PropTypes.number,
525
- PropTypes.shape({
526
- "__@toStringTag": PropTypes.string.isRequired,
527
- /**
528
- * Expose the [[Description]] internal slot of a symbol directly.
529
- */
530
- description: PropTypes.string,
531
- /**
532
- * Returns a string representation of an object.
533
- */
534
- toString: PropTypes.func.isRequired,
535
- /**
536
- * Returns the primitive value of the specified object.
537
- */
538
- valueOf: PropTypes.func.isRequired,
539
- }),
540
- PropTypes.string,
541
- ])
542
- ),
543
- PropTypes.number,
544
- PropTypes.object,
545
- PropTypes.shape({
546
- "__@toStringTag": PropTypes.string.isRequired,
547
- /**
548
- * Expose the [[Description]] internal slot of a symbol directly.
549
- */
550
- description: PropTypes.string,
551
- /**
552
- * Returns a string representation of an object.
553
- */
554
- toString: PropTypes.func.isRequired,
555
- /**
556
- * Returns the primitive value of the specified object.
557
- */
558
- valueOf: PropTypes.func.isRequired,
559
- }),
560
- PropTypes.string,
561
- ]),
562
- /**
563
- * Margin on top, left, bottom and right
564
- */
565
- margin: PropTypes.oneOfType([
566
- PropTypes.arrayOf(
567
- PropTypes.oneOfType([
568
- PropTypes.oneOf([null]),
569
- PropTypes.number,
570
- PropTypes.shape({
571
- "__@toStringTag": PropTypes.string.isRequired,
572
- /**
573
- * Expose the [[Description]] internal slot of a symbol directly.
574
- */
575
- description: PropTypes.string,
576
- /**
577
- * Returns a string representation of an object.
578
- */
579
- toString: PropTypes.func.isRequired,
580
- /**
581
- * Returns the primitive value of the specified object.
582
- */
583
- valueOf: PropTypes.func.isRequired,
584
- }),
585
- PropTypes.string,
586
- ])
587
- ),
588
- PropTypes.number,
589
- PropTypes.object,
590
- PropTypes.shape({
591
- "__@toStringTag": PropTypes.string.isRequired,
592
- /**
593
- * Expose the [[Description]] internal slot of a symbol directly.
594
- */
595
- description: PropTypes.string,
596
- /**
597
- * Returns a string representation of an object.
598
- */
599
- toString: PropTypes.func.isRequired,
600
- /**
601
- * Returns the primitive value of the specified object.
602
- */
603
- valueOf: PropTypes.func.isRequired,
604
- }),
605
- PropTypes.string,
606
- ]),
607
- /**
608
- * Margin on bottom
609
- */
610
- marginBottom: PropTypes.oneOfType([
611
- PropTypes.arrayOf(
612
- PropTypes.oneOfType([
613
- PropTypes.oneOf([null]),
614
- PropTypes.number,
615
- PropTypes.shape({
616
- "__@toStringTag": PropTypes.string.isRequired,
617
- /**
618
- * Expose the [[Description]] internal slot of a symbol directly.
619
- */
620
- description: PropTypes.string,
621
- /**
622
- * Returns a string representation of an object.
623
- */
624
- toString: PropTypes.func.isRequired,
625
- /**
626
- * Returns the primitive value of the specified object.
627
- */
628
- valueOf: PropTypes.func.isRequired,
629
- }),
630
- PropTypes.string,
631
- ])
632
- ),
633
- PropTypes.number,
634
- PropTypes.object,
635
- PropTypes.shape({
636
- "__@toStringTag": PropTypes.string.isRequired,
637
- /**
638
- * Expose the [[Description]] internal slot of a symbol directly.
639
- */
640
- description: PropTypes.string,
641
- /**
642
- * Returns a string representation of an object.
643
- */
644
- toString: PropTypes.func.isRequired,
645
- /**
646
- * Returns the primitive value of the specified object.
647
- */
648
- valueOf: PropTypes.func.isRequired,
649
- }),
650
- PropTypes.string,
651
- ]),
652
- /**
653
- * Margin on left
654
- */
655
- marginLeft: PropTypes.oneOfType([
656
- PropTypes.arrayOf(
657
- PropTypes.oneOfType([
658
- PropTypes.oneOf([null]),
659
- PropTypes.number,
660
- PropTypes.shape({
661
- "__@toStringTag": PropTypes.string.isRequired,
662
- /**
663
- * Expose the [[Description]] internal slot of a symbol directly.
664
- */
665
- description: PropTypes.string,
666
- /**
667
- * Returns a string representation of an object.
668
- */
669
- toString: PropTypes.func.isRequired,
670
- /**
671
- * Returns the primitive value of the specified object.
672
- */
673
- valueOf: PropTypes.func.isRequired,
674
- }),
675
- PropTypes.string,
676
- ])
677
- ),
678
- PropTypes.number,
679
- PropTypes.object,
680
- PropTypes.shape({
681
- "__@toStringTag": PropTypes.string.isRequired,
682
- /**
683
- * Expose the [[Description]] internal slot of a symbol directly.
684
- */
685
- description: PropTypes.string,
686
- /**
687
- * Returns a string representation of an object.
688
- */
689
- toString: PropTypes.func.isRequired,
690
- /**
691
- * Returns the primitive value of the specified object.
692
- */
693
- valueOf: PropTypes.func.isRequired,
694
- }),
695
- PropTypes.string,
696
- ]),
697
- /**
698
- * Margin on right
699
- */
700
- marginRight: PropTypes.oneOfType([
701
- PropTypes.arrayOf(
702
- PropTypes.oneOfType([
703
- PropTypes.oneOf([null]),
704
- PropTypes.number,
705
- PropTypes.shape({
706
- "__@toStringTag": PropTypes.string.isRequired,
707
- /**
708
- * Expose the [[Description]] internal slot of a symbol directly.
709
- */
710
- description: PropTypes.string,
711
- /**
712
- * Returns a string representation of an object.
713
- */
714
- toString: PropTypes.func.isRequired,
715
- /**
716
- * Returns the primitive value of the specified object.
717
- */
718
- valueOf: PropTypes.func.isRequired,
719
- }),
720
- PropTypes.string,
721
- ])
722
- ),
723
- PropTypes.number,
724
- PropTypes.object,
725
- PropTypes.shape({
726
- "__@toStringTag": PropTypes.string.isRequired,
727
- /**
728
- * Expose the [[Description]] internal slot of a symbol directly.
729
- */
730
- description: PropTypes.string,
731
- /**
732
- * Returns a string representation of an object.
733
- */
734
- toString: PropTypes.func.isRequired,
735
- /**
736
- * Returns the primitive value of the specified object.
737
- */
738
- valueOf: PropTypes.func.isRequired,
739
- }),
740
- PropTypes.string,
741
- ]),
742
- /**
743
- * Margin on top
744
- */
745
- marginTop: PropTypes.oneOfType([
746
- PropTypes.arrayOf(
747
- PropTypes.oneOfType([
748
- PropTypes.oneOf([null]),
749
- PropTypes.number,
750
- PropTypes.shape({
751
- "__@toStringTag": PropTypes.string.isRequired,
752
- /**
753
- * Expose the [[Description]] internal slot of a symbol directly.
754
- */
755
- description: PropTypes.string,
756
- /**
757
- * Returns a string representation of an object.
758
- */
759
- toString: PropTypes.func.isRequired,
760
- /**
761
- * Returns the primitive value of the specified object.
762
- */
763
- valueOf: PropTypes.func.isRequired,
764
- }),
765
- PropTypes.string,
766
- ])
767
- ),
768
- PropTypes.number,
769
- PropTypes.object,
770
- PropTypes.shape({
771
- "__@toStringTag": PropTypes.string.isRequired,
772
- /**
773
- * Expose the [[Description]] internal slot of a symbol directly.
774
- */
775
- description: PropTypes.string,
776
- /**
777
- * Returns a string representation of an object.
778
- */
779
- toString: PropTypes.func.isRequired,
780
- /**
781
- * Returns the primitive value of the specified object.
782
- */
783
- valueOf: PropTypes.func.isRequired,
784
- }),
785
- PropTypes.string,
786
- ]),
787
- /**
788
- * Margin on left and right
789
- */
790
- marginX: PropTypes.oneOfType([
791
- PropTypes.arrayOf(
792
- PropTypes.oneOfType([
793
- PropTypes.oneOf([null]),
794
- PropTypes.number,
795
- PropTypes.shape({
796
- "__@toStringTag": PropTypes.string.isRequired,
797
- /**
798
- * Expose the [[Description]] internal slot of a symbol directly.
799
- */
800
- description: PropTypes.string,
801
- /**
802
- * Returns a string representation of an object.
803
- */
804
- toString: PropTypes.func.isRequired,
805
- /**
806
- * Returns the primitive value of the specified object.
807
- */
808
- valueOf: PropTypes.func.isRequired,
809
- }),
810
- PropTypes.string,
811
- ])
812
- ),
813
- PropTypes.number,
814
- PropTypes.object,
815
- PropTypes.shape({
816
- "__@toStringTag": PropTypes.string.isRequired,
817
- /**
818
- * Expose the [[Description]] internal slot of a symbol directly.
819
- */
820
- description: PropTypes.string,
821
- /**
822
- * Returns a string representation of an object.
823
- */
824
- toString: PropTypes.func.isRequired,
825
- /**
826
- * Returns the primitive value of the specified object.
827
- */
828
- valueOf: PropTypes.func.isRequired,
829
- }),
830
- PropTypes.string,
831
- ]),
832
- /**
833
- * Margin on top and bottom
834
- */
835
- marginY: PropTypes.oneOfType([
836
- PropTypes.arrayOf(
837
- PropTypes.oneOfType([
838
- PropTypes.oneOf([null]),
839
- PropTypes.number,
840
- PropTypes.shape({
841
- "__@toStringTag": PropTypes.string.isRequired,
842
- /**
843
- * Expose the [[Description]] internal slot of a symbol directly.
844
- */
845
- description: PropTypes.string,
846
- /**
847
- * Returns a string representation of an object.
848
- */
849
- toString: PropTypes.func.isRequired,
850
- /**
851
- * Returns the primitive value of the specified object.
852
- */
853
- valueOf: PropTypes.func.isRequired,
854
- }),
855
- PropTypes.string,
856
- ])
857
- ),
858
- PropTypes.number,
859
- PropTypes.object,
860
- PropTypes.shape({
861
- "__@toStringTag": PropTypes.string.isRequired,
862
- /**
863
- * Expose the [[Description]] internal slot of a symbol directly.
864
- */
865
- description: PropTypes.string,
866
- /**
867
- * Returns a string representation of an object.
868
- */
869
- toString: PropTypes.func.isRequired,
870
- /**
871
- * Returns the primitive value of the specified object.
872
- */
873
- valueOf: PropTypes.func.isRequired,
874
- }),
875
- PropTypes.string,
876
- ]),
877
- /**
878
- * Margin on bottom
879
- */
880
- mb: PropTypes.oneOfType([
881
- PropTypes.arrayOf(
882
- PropTypes.oneOfType([
883
- PropTypes.oneOf([null]),
884
- PropTypes.number,
885
- PropTypes.shape({
886
- "__@toStringTag": PropTypes.string.isRequired,
887
- /**
888
- * Expose the [[Description]] internal slot of a symbol directly.
889
- */
890
- description: PropTypes.string,
891
- /**
892
- * Returns a string representation of an object.
893
- */
894
- toString: PropTypes.func.isRequired,
895
- /**
896
- * Returns the primitive value of the specified object.
897
- */
898
- valueOf: PropTypes.func.isRequired,
899
- }),
900
- PropTypes.string,
901
- ])
902
- ),
903
- PropTypes.number,
904
- PropTypes.object,
905
- PropTypes.shape({
906
- "__@toStringTag": PropTypes.string.isRequired,
907
- /**
908
- * Expose the [[Description]] internal slot of a symbol directly.
909
- */
910
- description: PropTypes.string,
911
- /**
912
- * Returns a string representation of an object.
913
- */
914
- toString: PropTypes.func.isRequired,
915
- /**
916
- * Returns the primitive value of the specified object.
917
- */
918
- valueOf: PropTypes.func.isRequired,
919
- }),
920
- PropTypes.string,
921
- ]),
922
- /**
923
- * Margin on left
924
- */
925
- ml: PropTypes.oneOfType([
926
- PropTypes.arrayOf(
927
- PropTypes.oneOfType([
928
- PropTypes.oneOf([null]),
929
- PropTypes.number,
930
- PropTypes.shape({
931
- "__@toStringTag": PropTypes.string.isRequired,
932
- /**
933
- * Expose the [[Description]] internal slot of a symbol directly.
934
- */
935
- description: PropTypes.string,
936
- /**
937
- * Returns a string representation of an object.
938
- */
939
- toString: PropTypes.func.isRequired,
940
- /**
941
- * Returns the primitive value of the specified object.
942
- */
943
- valueOf: PropTypes.func.isRequired,
944
- }),
945
- PropTypes.string,
946
- ])
947
- ),
948
- PropTypes.number,
949
- PropTypes.object,
950
- PropTypes.shape({
951
- "__@toStringTag": PropTypes.string.isRequired,
952
- /**
953
- * Expose the [[Description]] internal slot of a symbol directly.
954
- */
955
- description: PropTypes.string,
956
- /**
957
- * Returns a string representation of an object.
958
- */
959
- toString: PropTypes.func.isRequired,
960
- /**
961
- * Returns the primitive value of the specified object.
962
- */
963
- valueOf: PropTypes.func.isRequired,
964
- }),
965
- PropTypes.string,
966
- ]),
967
- /**
968
- * Margin on right
969
- */
970
- mr: PropTypes.oneOfType([
971
- PropTypes.arrayOf(
972
- PropTypes.oneOfType([
973
- PropTypes.oneOf([null]),
974
- PropTypes.number,
975
- PropTypes.shape({
976
- "__@toStringTag": PropTypes.string.isRequired,
977
- /**
978
- * Expose the [[Description]] internal slot of a symbol directly.
979
- */
980
- description: PropTypes.string,
981
- /**
982
- * Returns a string representation of an object.
983
- */
984
- toString: PropTypes.func.isRequired,
985
- /**
986
- * Returns the primitive value of the specified object.
987
- */
988
- valueOf: PropTypes.func.isRequired,
989
- }),
990
- PropTypes.string,
991
- ])
992
- ),
993
- PropTypes.number,
994
- PropTypes.object,
995
- PropTypes.shape({
996
- "__@toStringTag": PropTypes.string.isRequired,
997
- /**
998
- * Expose the [[Description]] internal slot of a symbol directly.
999
- */
1000
- description: PropTypes.string,
1001
- /**
1002
- * Returns a string representation of an object.
1003
- */
1004
- toString: PropTypes.func.isRequired,
1005
- /**
1006
- * Returns the primitive value of the specified object.
1007
- */
1008
- valueOf: PropTypes.func.isRequired,
1009
- }),
1010
- PropTypes.string,
1011
- ]),
1012
- /**
1013
- * Margin on top
1014
- */
1015
- mt: PropTypes.oneOfType([
1016
- PropTypes.arrayOf(
1017
- PropTypes.oneOfType([
1018
- PropTypes.oneOf([null]),
1019
- PropTypes.number,
1020
- PropTypes.shape({
1021
- "__@toStringTag": PropTypes.string.isRequired,
1022
- /**
1023
- * Expose the [[Description]] internal slot of a symbol directly.
1024
- */
1025
- description: PropTypes.string,
1026
- /**
1027
- * Returns a string representation of an object.
1028
- */
1029
- toString: PropTypes.func.isRequired,
1030
- /**
1031
- * Returns the primitive value of the specified object.
1032
- */
1033
- valueOf: PropTypes.func.isRequired,
1034
- }),
1035
- PropTypes.string,
1036
- ])
1037
- ),
1038
- PropTypes.number,
1039
- PropTypes.object,
1040
- PropTypes.shape({
1041
- "__@toStringTag": PropTypes.string.isRequired,
1042
- /**
1043
- * Expose the [[Description]] internal slot of a symbol directly.
1044
- */
1045
- description: PropTypes.string,
1046
- /**
1047
- * Returns a string representation of an object.
1048
- */
1049
- toString: PropTypes.func.isRequired,
1050
- /**
1051
- * Returns the primitive value of the specified object.
1052
- */
1053
- valueOf: PropTypes.func.isRequired,
1054
- }),
1055
- PropTypes.string,
1056
- ]),
1057
- /**
1058
- * Margin on left and right
1059
- */
1060
- mx: PropTypes.oneOfType([
1061
- PropTypes.arrayOf(
1062
- PropTypes.oneOfType([
1063
- PropTypes.oneOf([null]),
1064
- PropTypes.number,
1065
- PropTypes.shape({
1066
- "__@toStringTag": PropTypes.string.isRequired,
1067
- /**
1068
- * Expose the [[Description]] internal slot of a symbol directly.
1069
- */
1070
- description: PropTypes.string,
1071
- /**
1072
- * Returns a string representation of an object.
1073
- */
1074
- toString: PropTypes.func.isRequired,
1075
- /**
1076
- * Returns the primitive value of the specified object.
1077
- */
1078
- valueOf: PropTypes.func.isRequired,
1079
- }),
1080
- PropTypes.string,
1081
- ])
1082
- ),
1083
- PropTypes.number,
1084
- PropTypes.object,
1085
- PropTypes.shape({
1086
- "__@toStringTag": PropTypes.string.isRequired,
1087
- /**
1088
- * Expose the [[Description]] internal slot of a symbol directly.
1089
- */
1090
- description: PropTypes.string,
1091
- /**
1092
- * Returns a string representation of an object.
1093
- */
1094
- toString: PropTypes.func.isRequired,
1095
- /**
1096
- * Returns the primitive value of the specified object.
1097
- */
1098
- valueOf: PropTypes.func.isRequired,
1099
- }),
1100
- PropTypes.string,
1101
- ]),
1102
- /**
1103
- * Margin on top and bottom
1104
- */
1105
- my: PropTypes.oneOfType([
1106
- PropTypes.arrayOf(
1107
- PropTypes.oneOfType([
1108
- PropTypes.oneOf([null]),
1109
- PropTypes.number,
1110
- PropTypes.shape({
1111
- "__@toStringTag": PropTypes.string.isRequired,
1112
- /**
1113
- * Expose the [[Description]] internal slot of a symbol directly.
1114
- */
1115
- description: PropTypes.string,
1116
- /**
1117
- * Returns a string representation of an object.
1118
- */
1119
- toString: PropTypes.func.isRequired,
1120
- /**
1121
- * Returns the primitive value of the specified object.
1122
- */
1123
- valueOf: PropTypes.func.isRequired,
1124
- }),
1125
- PropTypes.string,
1126
- ])
1127
- ),
1128
- PropTypes.number,
1129
- PropTypes.object,
1130
- PropTypes.shape({
1131
- "__@toStringTag": PropTypes.string.isRequired,
1132
- /**
1133
- * Expose the [[Description]] internal slot of a symbol directly.
1134
- */
1135
- description: PropTypes.string,
1136
- /**
1137
- * Returns a string representation of an object.
1138
- */
1139
- toString: PropTypes.func.isRequired,
1140
- /**
1141
- * Returns the primitive value of the specified object.
1142
- */
1143
- valueOf: PropTypes.func.isRequired,
1144
- }),
1145
- PropTypes.string,
1146
- ]),
1147
- /**
1148
- * Name attribute
1149
- */
1150
- name: PropTypes.string,
1151
- /**
1152
- * If provided, the text inside a button will not wrap
1153
- */
1154
- noWrap: PropTypes.bool,
1155
- /**
1156
- * Specify a callback triggered on blur
1157
- */
1158
- onBlur: PropTypes.func,
1159
- /**
1160
- * Specify a callback triggered on change
1161
- */
1162
- onChange: PropTypes.func,
1163
- /**
1164
- * onClick handler
1165
- */
1166
- onClick: PropTypes.func,
1167
- /**
1168
- * Specify a callback triggered on focus
1169
- */
1170
- onFocus: PropTypes.func,
1171
- /**
1172
- * Specify a callback triggered on keyDown
1173
- */
1174
- onKeyDown: PropTypes.func,
1175
- /**
1176
- * Padding on top, left, bottom and right
1177
- */
1178
- p: PropTypes.oneOfType([
1179
- PropTypes.arrayOf(
1180
- PropTypes.oneOfType([
1181
- PropTypes.oneOf([null]),
1182
- PropTypes.number,
1183
- PropTypes.shape({
1184
- "__@toStringTag": PropTypes.string.isRequired,
1185
- /**
1186
- * Expose the [[Description]] internal slot of a symbol directly.
1187
- */
1188
- description: PropTypes.string,
1189
- /**
1190
- * Returns a string representation of an object.
1191
- */
1192
- toString: PropTypes.func.isRequired,
1193
- /**
1194
- * Returns the primitive value of the specified object.
1195
- */
1196
- valueOf: PropTypes.func.isRequired,
1197
- }),
1198
- PropTypes.string,
1199
- ])
1200
- ),
1201
- PropTypes.number,
1202
- PropTypes.object,
1203
- PropTypes.shape({
1204
- "__@toStringTag": PropTypes.string.isRequired,
1205
- /**
1206
- * Expose the [[Description]] internal slot of a symbol directly.
1207
- */
1208
- description: PropTypes.string,
1209
- /**
1210
- * Returns a string representation of an object.
1211
- */
1212
- toString: PropTypes.func.isRequired,
1213
- /**
1214
- * Returns the primitive value of the specified object.
1215
- */
1216
- valueOf: PropTypes.func.isRequired,
1217
- }),
1218
- PropTypes.string,
1219
- ]),
1220
- /**
1221
- * Padding on top, left, bottom and right
1222
- */
1223
- padding: PropTypes.oneOfType([
1224
- PropTypes.arrayOf(
1225
- PropTypes.oneOfType([
1226
- PropTypes.oneOf([null]),
1227
- PropTypes.number,
1228
- PropTypes.shape({
1229
- "__@toStringTag": PropTypes.string.isRequired,
1230
- /**
1231
- * Expose the [[Description]] internal slot of a symbol directly.
1232
- */
1233
- description: PropTypes.string,
1234
- /**
1235
- * Returns a string representation of an object.
1236
- */
1237
- toString: PropTypes.func.isRequired,
1238
- /**
1239
- * Returns the primitive value of the specified object.
1240
- */
1241
- valueOf: PropTypes.func.isRequired,
1242
- }),
1243
- PropTypes.string,
1244
- ])
1245
- ),
1246
- PropTypes.number,
1247
- PropTypes.object,
1248
- PropTypes.shape({
1249
- "__@toStringTag": PropTypes.string.isRequired,
1250
- /**
1251
- * Expose the [[Description]] internal slot of a symbol directly.
1252
- */
1253
- description: PropTypes.string,
1254
- /**
1255
- * Returns a string representation of an object.
1256
- */
1257
- toString: PropTypes.func.isRequired,
1258
- /**
1259
- * Returns the primitive value of the specified object.
1260
- */
1261
- valueOf: PropTypes.func.isRequired,
1262
- }),
1263
- PropTypes.string,
1264
- ]),
1265
- /**
1266
- * Padding on bottom
1267
- */
1268
- paddingBottom: PropTypes.oneOfType([
1269
- PropTypes.arrayOf(
1270
- PropTypes.oneOfType([
1271
- PropTypes.oneOf([null]),
1272
- PropTypes.number,
1273
- PropTypes.shape({
1274
- "__@toStringTag": PropTypes.string.isRequired,
1275
- /**
1276
- * Expose the [[Description]] internal slot of a symbol directly.
1277
- */
1278
- description: PropTypes.string,
1279
- /**
1280
- * Returns a string representation of an object.
1281
- */
1282
- toString: PropTypes.func.isRequired,
1283
- /**
1284
- * Returns the primitive value of the specified object.
1285
- */
1286
- valueOf: PropTypes.func.isRequired,
1287
- }),
1288
- PropTypes.string,
1289
- ])
1290
- ),
1291
- PropTypes.number,
1292
- PropTypes.object,
1293
- PropTypes.shape({
1294
- "__@toStringTag": PropTypes.string.isRequired,
1295
- /**
1296
- * Expose the [[Description]] internal slot of a symbol directly.
1297
- */
1298
- description: PropTypes.string,
1299
- /**
1300
- * Returns a string representation of an object.
1301
- */
1302
- toString: PropTypes.func.isRequired,
1303
- /**
1304
- * Returns the primitive value of the specified object.
1305
- */
1306
- valueOf: PropTypes.func.isRequired,
1307
- }),
1308
- PropTypes.string,
1309
- ]),
1310
- /**
1311
- * Padding on left
1312
- */
1313
- paddingLeft: PropTypes.oneOfType([
1314
- PropTypes.arrayOf(
1315
- PropTypes.oneOfType([
1316
- PropTypes.oneOf([null]),
1317
- PropTypes.number,
1318
- PropTypes.shape({
1319
- "__@toStringTag": PropTypes.string.isRequired,
1320
- /**
1321
- * Expose the [[Description]] internal slot of a symbol directly.
1322
- */
1323
- description: PropTypes.string,
1324
- /**
1325
- * Returns a string representation of an object.
1326
- */
1327
- toString: PropTypes.func.isRequired,
1328
- /**
1329
- * Returns the primitive value of the specified object.
1330
- */
1331
- valueOf: PropTypes.func.isRequired,
1332
- }),
1333
- PropTypes.string,
1334
- ])
1335
- ),
1336
- PropTypes.number,
1337
- PropTypes.object,
1338
- PropTypes.shape({
1339
- "__@toStringTag": PropTypes.string.isRequired,
1340
- /**
1341
- * Expose the [[Description]] internal slot of a symbol directly.
1342
- */
1343
- description: PropTypes.string,
1344
- /**
1345
- * Returns a string representation of an object.
1346
- */
1347
- toString: PropTypes.func.isRequired,
1348
- /**
1349
- * Returns the primitive value of the specified object.
1350
- */
1351
- valueOf: PropTypes.func.isRequired,
1352
- }),
1353
- PropTypes.string,
1354
- ]),
1355
- /**
1356
- * Padding on right
1357
- */
1358
- paddingRight: PropTypes.oneOfType([
1359
- PropTypes.arrayOf(
1360
- PropTypes.oneOfType([
1361
- PropTypes.oneOf([null]),
1362
- PropTypes.number,
1363
- PropTypes.shape({
1364
- "__@toStringTag": PropTypes.string.isRequired,
1365
- /**
1366
- * Expose the [[Description]] internal slot of a symbol directly.
1367
- */
1368
- description: PropTypes.string,
1369
- /**
1370
- * Returns a string representation of an object.
1371
- */
1372
- toString: PropTypes.func.isRequired,
1373
- /**
1374
- * Returns the primitive value of the specified object.
1375
- */
1376
- valueOf: PropTypes.func.isRequired,
1377
- }),
1378
- PropTypes.string,
1379
- ])
1380
- ),
1381
- PropTypes.number,
1382
- PropTypes.object,
1383
- PropTypes.shape({
1384
- "__@toStringTag": PropTypes.string.isRequired,
1385
- /**
1386
- * Expose the [[Description]] internal slot of a symbol directly.
1387
- */
1388
- description: PropTypes.string,
1389
- /**
1390
- * Returns a string representation of an object.
1391
- */
1392
- toString: PropTypes.func.isRequired,
1393
- /**
1394
- * Returns the primitive value of the specified object.
1395
- */
1396
- valueOf: PropTypes.func.isRequired,
1397
- }),
1398
- PropTypes.string,
1399
- ]),
1400
- /**
1401
- * Padding on top
1402
- */
1403
- paddingTop: PropTypes.oneOfType([
1404
- PropTypes.arrayOf(
1405
- PropTypes.oneOfType([
1406
- PropTypes.oneOf([null]),
1407
- PropTypes.number,
1408
- PropTypes.shape({
1409
- "__@toStringTag": PropTypes.string.isRequired,
1410
- /**
1411
- * Expose the [[Description]] internal slot of a symbol directly.
1412
- */
1413
- description: PropTypes.string,
1414
- /**
1415
- * Returns a string representation of an object.
1416
- */
1417
- toString: PropTypes.func.isRequired,
1418
- /**
1419
- * Returns the primitive value of the specified object.
1420
- */
1421
- valueOf: PropTypes.func.isRequired,
1422
- }),
1423
- PropTypes.string,
1424
- ])
1425
- ),
1426
- PropTypes.number,
1427
- PropTypes.object,
1428
- PropTypes.shape({
1429
- "__@toStringTag": PropTypes.string.isRequired,
1430
- /**
1431
- * Expose the [[Description]] internal slot of a symbol directly.
1432
- */
1433
- description: PropTypes.string,
1434
- /**
1435
- * Returns a string representation of an object.
1436
- */
1437
- toString: PropTypes.func.isRequired,
1438
- /**
1439
- * Returns the primitive value of the specified object.
1440
- */
1441
- valueOf: PropTypes.func.isRequired,
1442
- }),
1443
- PropTypes.string,
1444
- ]),
1445
- /**
1446
- * Padding on left and right
1447
- */
1448
- paddingX: PropTypes.oneOfType([
1449
- PropTypes.arrayOf(
1450
- PropTypes.oneOfType([
1451
- PropTypes.oneOf([null]),
1452
- PropTypes.number,
1453
- PropTypes.shape({
1454
- "__@toStringTag": PropTypes.string.isRequired,
1455
- /**
1456
- * Expose the [[Description]] internal slot of a symbol directly.
1457
- */
1458
- description: PropTypes.string,
1459
- /**
1460
- * Returns a string representation of an object.
1461
- */
1462
- toString: PropTypes.func.isRequired,
1463
- /**
1464
- * Returns the primitive value of the specified object.
1465
- */
1466
- valueOf: PropTypes.func.isRequired,
1467
- }),
1468
- PropTypes.string,
1469
- ])
1470
- ),
1471
- PropTypes.number,
1472
- PropTypes.object,
1473
- PropTypes.shape({
1474
- "__@toStringTag": PropTypes.string.isRequired,
1475
- /**
1476
- * Expose the [[Description]] internal slot of a symbol directly.
1477
- */
1478
- description: PropTypes.string,
1479
- /**
1480
- * Returns a string representation of an object.
1481
- */
1482
- toString: PropTypes.func.isRequired,
1483
- /**
1484
- * Returns the primitive value of the specified object.
1485
- */
1486
- valueOf: PropTypes.func.isRequired,
1487
- }),
1488
- PropTypes.string,
1489
- ]),
1490
- /**
1491
- * Padding on top and bottom
1492
- */
1493
- paddingY: PropTypes.oneOfType([
1494
- PropTypes.arrayOf(
1495
- PropTypes.oneOfType([
1496
- PropTypes.oneOf([null]),
1497
- PropTypes.number,
1498
- PropTypes.shape({
1499
- "__@toStringTag": PropTypes.string.isRequired,
1500
- /**
1501
- * Expose the [[Description]] internal slot of a symbol directly.
1502
- */
1503
- description: PropTypes.string,
1504
- /**
1505
- * Returns a string representation of an object.
1506
- */
1507
- toString: PropTypes.func.isRequired,
1508
- /**
1509
- * Returns the primitive value of the specified object.
1510
- */
1511
- valueOf: PropTypes.func.isRequired,
1512
- }),
1513
- PropTypes.string,
1514
- ])
1515
- ),
1516
- PropTypes.number,
1517
- PropTypes.object,
1518
- PropTypes.shape({
1519
- "__@toStringTag": PropTypes.string.isRequired,
1520
- /**
1521
- * Expose the [[Description]] internal slot of a symbol directly.
1522
- */
1523
- description: PropTypes.string,
1524
- /**
1525
- * Returns a string representation of an object.
1526
- */
1527
- toString: PropTypes.func.isRequired,
1528
- /**
1529
- * Returns the primitive value of the specified object.
1530
- */
1531
- valueOf: PropTypes.func.isRequired,
1532
- }),
1533
- PropTypes.string,
1534
- ]),
1535
- /**
1536
- * Padding on bottom
1537
- */
1538
- pb: PropTypes.oneOfType([
1539
- PropTypes.arrayOf(
1540
- PropTypes.oneOfType([
1541
- PropTypes.oneOf([null]),
1542
- PropTypes.number,
1543
- PropTypes.shape({
1544
- "__@toStringTag": PropTypes.string.isRequired,
1545
- /**
1546
- * Expose the [[Description]] internal slot of a symbol directly.
1547
- */
1548
- description: PropTypes.string,
1549
- /**
1550
- * Returns a string representation of an object.
1551
- */
1552
- toString: PropTypes.func.isRequired,
1553
- /**
1554
- * Returns the primitive value of the specified object.
1555
- */
1556
- valueOf: PropTypes.func.isRequired,
1557
- }),
1558
- PropTypes.string,
1559
- ])
1560
- ),
1561
- PropTypes.number,
1562
- PropTypes.object,
1563
- PropTypes.shape({
1564
- "__@toStringTag": PropTypes.string.isRequired,
1565
- /**
1566
- * Expose the [[Description]] internal slot of a symbol directly.
1567
- */
1568
- description: PropTypes.string,
1569
- /**
1570
- * Returns a string representation of an object.
1571
- */
1572
- toString: PropTypes.func.isRequired,
1573
- /**
1574
- * Returns the primitive value of the specified object.
1575
- */
1576
- valueOf: PropTypes.func.isRequired,
1577
- }),
1578
- PropTypes.string,
1579
- ]),
1580
- /**
1581
- * Padding on left
1582
- */
1583
- pl: PropTypes.oneOfType([
1584
- PropTypes.arrayOf(
1585
- PropTypes.oneOfType([
1586
- PropTypes.oneOf([null]),
1587
- PropTypes.number,
1588
- PropTypes.shape({
1589
- "__@toStringTag": PropTypes.string.isRequired,
1590
- /**
1591
- * Expose the [[Description]] internal slot of a symbol directly.
1592
- */
1593
- description: PropTypes.string,
1594
- /**
1595
- * Returns a string representation of an object.
1596
- */
1597
- toString: PropTypes.func.isRequired,
1598
- /**
1599
- * Returns the primitive value of the specified object.
1600
- */
1601
- valueOf: PropTypes.func.isRequired,
1602
- }),
1603
- PropTypes.string,
1604
- ])
1605
- ),
1606
- PropTypes.number,
1607
- PropTypes.object,
1608
- PropTypes.shape({
1609
- "__@toStringTag": PropTypes.string.isRequired,
1610
- /**
1611
- * Expose the [[Description]] internal slot of a symbol directly.
1612
- */
1613
- description: PropTypes.string,
1614
- /**
1615
- * Returns a string representation of an object.
1616
- */
1617
- toString: PropTypes.func.isRequired,
1618
- /**
1619
- * Returns the primitive value of the specified object.
1620
- */
1621
- valueOf: PropTypes.func.isRequired,
1622
- }),
1623
- PropTypes.string,
1624
- ]),
1625
- /**
1626
- * Padding on right
1627
- */
1628
- pr: PropTypes.oneOfType([
1629
- PropTypes.arrayOf(
1630
- PropTypes.oneOfType([
1631
- PropTypes.oneOf([null]),
1632
- PropTypes.number,
1633
- PropTypes.shape({
1634
- "__@toStringTag": PropTypes.string.isRequired,
1635
- /**
1636
- * Expose the [[Description]] internal slot of a symbol directly.
1637
- */
1638
- description: PropTypes.string,
1639
- /**
1640
- * Returns a string representation of an object.
1641
- */
1642
- toString: PropTypes.func.isRequired,
1643
- /**
1644
- * Returns the primitive value of the specified object.
1645
- */
1646
- valueOf: PropTypes.func.isRequired,
1647
- }),
1648
- PropTypes.string,
1649
- ])
1650
- ),
1651
- PropTypes.number,
1652
- PropTypes.object,
1653
- PropTypes.shape({
1654
- "__@toStringTag": PropTypes.string.isRequired,
1655
- /**
1656
- * Expose the [[Description]] internal slot of a symbol directly.
1657
- */
1658
- description: PropTypes.string,
1659
- /**
1660
- * Returns a string representation of an object.
1661
- */
1662
- toString: PropTypes.func.isRequired,
1663
- /**
1664
- * Returns the primitive value of the specified object.
1665
- */
1666
- valueOf: PropTypes.func.isRequired,
1667
- }),
1668
- PropTypes.string,
1669
- ]),
1670
- /**
1671
- * Padding on top
1672
- */
1673
- pt: PropTypes.oneOfType([
1674
- PropTypes.arrayOf(
1675
- PropTypes.oneOfType([
1676
- PropTypes.oneOf([null]),
1677
- PropTypes.number,
1678
- PropTypes.shape({
1679
- "__@toStringTag": PropTypes.string.isRequired,
1680
- /**
1681
- * Expose the [[Description]] internal slot of a symbol directly.
1682
- */
1683
- description: PropTypes.string,
1684
- /**
1685
- * Returns a string representation of an object.
1686
- */
1687
- toString: PropTypes.func.isRequired,
1688
- /**
1689
- * Returns the primitive value of the specified object.
1690
- */
1691
- valueOf: PropTypes.func.isRequired,
1692
- }),
1693
- PropTypes.string,
1694
- ])
1695
- ),
1696
- PropTypes.number,
1697
- PropTypes.object,
1698
- PropTypes.shape({
1699
- "__@toStringTag": PropTypes.string.isRequired,
1700
- /**
1701
- * Expose the [[Description]] internal slot of a symbol directly.
1702
- */
1703
- description: PropTypes.string,
1704
- /**
1705
- * Returns a string representation of an object.
1706
- */
1707
- toString: PropTypes.func.isRequired,
1708
- /**
1709
- * Returns the primitive value of the specified object.
1710
- */
1711
- valueOf: PropTypes.func.isRequired,
1712
- }),
1713
- PropTypes.string,
1714
- ]),
1715
- /**
1716
- * Padding on left and right
1717
- */
1718
- px: PropTypes.oneOfType([
1719
- PropTypes.arrayOf(
1720
- PropTypes.oneOfType([
1721
- PropTypes.oneOf([null]),
1722
- PropTypes.number,
1723
- PropTypes.shape({
1724
- "__@toStringTag": PropTypes.string.isRequired,
1725
- /**
1726
- * Expose the [[Description]] internal slot of a symbol directly.
1727
- */
1728
- description: PropTypes.string,
1729
- /**
1730
- * Returns a string representation of an object.
1731
- */
1732
- toString: PropTypes.func.isRequired,
1733
- /**
1734
- * Returns the primitive value of the specified object.
1735
- */
1736
- valueOf: PropTypes.func.isRequired,
1737
- }),
1738
- PropTypes.string,
1739
- ])
1740
- ),
1741
- PropTypes.number,
1742
- PropTypes.object,
1743
- PropTypes.shape({
1744
- "__@toStringTag": PropTypes.string.isRequired,
1745
- /**
1746
- * Expose the [[Description]] internal slot of a symbol directly.
1747
- */
1748
- description: PropTypes.string,
1749
- /**
1750
- * Returns a string representation of an object.
1751
- */
1752
- toString: PropTypes.func.isRequired,
1753
- /**
1754
- * Returns the primitive value of the specified object.
1755
- */
1756
- valueOf: PropTypes.func.isRequired,
1757
- }),
1758
- PropTypes.string,
1759
- ]),
1760
- /**
1761
- * Padding on top and bottom
1762
- */
1763
- py: PropTypes.oneOfType([
1764
- PropTypes.arrayOf(
1765
- PropTypes.oneOfType([
1766
- PropTypes.oneOf([null]),
1767
- PropTypes.number,
1768
- PropTypes.shape({
1769
- "__@toStringTag": PropTypes.string.isRequired,
1770
- /**
1771
- * Expose the [[Description]] internal slot of a symbol directly.
1772
- */
1773
- description: PropTypes.string,
1774
- /**
1775
- * Returns a string representation of an object.
1776
- */
1777
- toString: PropTypes.func.isRequired,
1778
- /**
1779
- * Returns the primitive value of the specified object.
1780
- */
1781
- valueOf: PropTypes.func.isRequired,
1782
- }),
1783
- PropTypes.string,
1784
- ])
1785
- ),
1786
- PropTypes.number,
1787
- PropTypes.object,
1788
- PropTypes.shape({
1789
- "__@toStringTag": PropTypes.string.isRequired,
1790
- /**
1791
- * Expose the [[Description]] internal slot of a symbol directly.
1792
- */
1793
- description: PropTypes.string,
1794
- /**
1795
- * Returns a string representation of an object.
1796
- */
1797
- toString: PropTypes.func.isRequired,
1798
- /**
1799
- * Returns the primitive value of the specified object.
1800
- */
1801
- valueOf: PropTypes.func.isRequired,
1802
- }),
1803
- PropTypes.string,
1804
- ]),
1805
- /**
1806
- * HTML rel attribute
1807
- */
1808
- rel: PropTypes.string,
1809
- /**
1810
- * Assigns a size to the button: "small" | "medium" | "large"
1811
- */
1812
- size: PropTypes.oneOf(["large", "medium", "small"]),
1813
- /**
1814
- * Second text child, renders under main text, only when size is "large"
1815
- */
1816
- subtext: PropTypes.string,
1817
- /**
1818
- * HTML target attribute
1819
- */
1820
- target: PropTypes.string,
1821
- /**
1822
- * HTML button type property
1823
- */
1824
- type: PropTypes.string,
185
+ "as": PropTypes.oneOf(["darkBackground", "dashed", "primary", "secondary", "tertiary"]),
186
+ "buttonType": PropTypes.oneOf(["darkBackground", "dashed", "primary", "secondary", "tertiary"]),
187
+ "children": PropTypes.node,
188
+ "destructive": PropTypes.bool,
189
+ "disabled": PropTypes.bool,
190
+ "forwardRef": PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
191
+ "current": PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object]).isRequired
192
+ })]),
193
+ "fullWidth": PropTypes.bool,
194
+ "href": PropTypes.string,
195
+ "iconPosition": PropTypes.oneOf(["after", "before"]),
196
+ "iconTooltipMessage": PropTypes.string,
197
+ "iconTooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
198
+ "iconType": PropTypes.oneOf(["add", "alert", "analysis", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_up", "attach", "bank", "basket_with_squares", "basket", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_today", "calendar", "call", "camera", "card_view", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "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", "coins", "collaborate", "computer_clock", "connect", "copy", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "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", "gift", "graph", "grid", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "italic", "key", "ledger_arrow_left", "ledger_arrow_right", "ledger", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "messages", "minus_large", "minus", "mobile", "money_bag", "pause_circle", "pause", "pdf", "people_switch", "people", "person_info", "person_tick", "person", "phone", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "question", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "services", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "sync", "tag", "three_boxes", "tick_circle", "tick", "unlocked", "upload", "uploaded", "video", "view", "warning"]),
199
+ "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
200
+ "__@toStringTag": PropTypes.string.isRequired,
201
+ "description": PropTypes.string,
202
+ "toString": PropTypes.func.isRequired,
203
+ "valueOf": PropTypes.func.isRequired
204
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
205
+ "__@toStringTag": PropTypes.string.isRequired,
206
+ "description": PropTypes.string,
207
+ "toString": PropTypes.func.isRequired,
208
+ "valueOf": PropTypes.func.isRequired
209
+ }), PropTypes.string]),
210
+ "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
211
+ "__@toStringTag": PropTypes.string.isRequired,
212
+ "description": PropTypes.string,
213
+ "toString": PropTypes.func.isRequired,
214
+ "valueOf": PropTypes.func.isRequired
215
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
216
+ "__@toStringTag": PropTypes.string.isRequired,
217
+ "description": PropTypes.string,
218
+ "toString": PropTypes.func.isRequired,
219
+ "valueOf": PropTypes.func.isRequired
220
+ }), PropTypes.string]),
221
+ "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
222
+ "__@toStringTag": PropTypes.string.isRequired,
223
+ "description": PropTypes.string,
224
+ "toString": PropTypes.func.isRequired,
225
+ "valueOf": PropTypes.func.isRequired
226
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
227
+ "__@toStringTag": PropTypes.string.isRequired,
228
+ "description": PropTypes.string,
229
+ "toString": PropTypes.func.isRequired,
230
+ "valueOf": PropTypes.func.isRequired
231
+ }), PropTypes.string]),
232
+ "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
233
+ "__@toStringTag": PropTypes.string.isRequired,
234
+ "description": PropTypes.string,
235
+ "toString": PropTypes.func.isRequired,
236
+ "valueOf": PropTypes.func.isRequired
237
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
238
+ "__@toStringTag": PropTypes.string.isRequired,
239
+ "description": PropTypes.string,
240
+ "toString": PropTypes.func.isRequired,
241
+ "valueOf": PropTypes.func.isRequired
242
+ }), PropTypes.string]),
243
+ "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
244
+ "__@toStringTag": PropTypes.string.isRequired,
245
+ "description": PropTypes.string,
246
+ "toString": PropTypes.func.isRequired,
247
+ "valueOf": PropTypes.func.isRequired
248
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
249
+ "__@toStringTag": PropTypes.string.isRequired,
250
+ "description": PropTypes.string,
251
+ "toString": PropTypes.func.isRequired,
252
+ "valueOf": PropTypes.func.isRequired
253
+ }), PropTypes.string]),
254
+ "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
255
+ "__@toStringTag": PropTypes.string.isRequired,
256
+ "description": PropTypes.string,
257
+ "toString": PropTypes.func.isRequired,
258
+ "valueOf": PropTypes.func.isRequired
259
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
260
+ "__@toStringTag": PropTypes.string.isRequired,
261
+ "description": PropTypes.string,
262
+ "toString": PropTypes.func.isRequired,
263
+ "valueOf": PropTypes.func.isRequired
264
+ }), PropTypes.string]),
265
+ "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
266
+ "__@toStringTag": PropTypes.string.isRequired,
267
+ "description": PropTypes.string,
268
+ "toString": PropTypes.func.isRequired,
269
+ "valueOf": PropTypes.func.isRequired
270
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
271
+ "__@toStringTag": PropTypes.string.isRequired,
272
+ "description": PropTypes.string,
273
+ "toString": PropTypes.func.isRequired,
274
+ "valueOf": PropTypes.func.isRequired
275
+ }), PropTypes.string]),
276
+ "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
277
+ "__@toStringTag": PropTypes.string.isRequired,
278
+ "description": PropTypes.string,
279
+ "toString": PropTypes.func.isRequired,
280
+ "valueOf": PropTypes.func.isRequired
281
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
282
+ "__@toStringTag": PropTypes.string.isRequired,
283
+ "description": PropTypes.string,
284
+ "toString": PropTypes.func.isRequired,
285
+ "valueOf": PropTypes.func.isRequired
286
+ }), PropTypes.string]),
287
+ "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
288
+ "__@toStringTag": PropTypes.string.isRequired,
289
+ "description": PropTypes.string,
290
+ "toString": PropTypes.func.isRequired,
291
+ "valueOf": PropTypes.func.isRequired
292
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
293
+ "__@toStringTag": PropTypes.string.isRequired,
294
+ "description": PropTypes.string,
295
+ "toString": PropTypes.func.isRequired,
296
+ "valueOf": PropTypes.func.isRequired
297
+ }), PropTypes.string]),
298
+ "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
299
+ "__@toStringTag": PropTypes.string.isRequired,
300
+ "description": PropTypes.string,
301
+ "toString": PropTypes.func.isRequired,
302
+ "valueOf": PropTypes.func.isRequired
303
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
304
+ "__@toStringTag": PropTypes.string.isRequired,
305
+ "description": PropTypes.string,
306
+ "toString": PropTypes.func.isRequired,
307
+ "valueOf": PropTypes.func.isRequired
308
+ }), PropTypes.string]),
309
+ "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
310
+ "__@toStringTag": PropTypes.string.isRequired,
311
+ "description": PropTypes.string,
312
+ "toString": PropTypes.func.isRequired,
313
+ "valueOf": PropTypes.func.isRequired
314
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
315
+ "__@toStringTag": PropTypes.string.isRequired,
316
+ "description": PropTypes.string,
317
+ "toString": PropTypes.func.isRequired,
318
+ "valueOf": PropTypes.func.isRequired
319
+ }), PropTypes.string]),
320
+ "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
321
+ "__@toStringTag": PropTypes.string.isRequired,
322
+ "description": PropTypes.string,
323
+ "toString": PropTypes.func.isRequired,
324
+ "valueOf": PropTypes.func.isRequired
325
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
326
+ "__@toStringTag": PropTypes.string.isRequired,
327
+ "description": PropTypes.string,
328
+ "toString": PropTypes.func.isRequired,
329
+ "valueOf": PropTypes.func.isRequired
330
+ }), PropTypes.string]),
331
+ "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
332
+ "__@toStringTag": PropTypes.string.isRequired,
333
+ "description": PropTypes.string,
334
+ "toString": PropTypes.func.isRequired,
335
+ "valueOf": PropTypes.func.isRequired
336
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
337
+ "__@toStringTag": PropTypes.string.isRequired,
338
+ "description": PropTypes.string,
339
+ "toString": PropTypes.func.isRequired,
340
+ "valueOf": PropTypes.func.isRequired
341
+ }), PropTypes.string]),
342
+ "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
343
+ "__@toStringTag": PropTypes.string.isRequired,
344
+ "description": PropTypes.string,
345
+ "toString": PropTypes.func.isRequired,
346
+ "valueOf": PropTypes.func.isRequired
347
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
348
+ "__@toStringTag": PropTypes.string.isRequired,
349
+ "description": PropTypes.string,
350
+ "toString": PropTypes.func.isRequired,
351
+ "valueOf": PropTypes.func.isRequired
352
+ }), PropTypes.string]),
353
+ "name": PropTypes.string,
354
+ "noWrap": PropTypes.bool,
355
+ "onBlur": PropTypes.func,
356
+ "onChange": PropTypes.func,
357
+ "onClick": PropTypes.func,
358
+ "onFocus": PropTypes.func,
359
+ "onKeyDown": PropTypes.func,
360
+ "p": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
361
+ "__@toStringTag": PropTypes.string.isRequired,
362
+ "description": PropTypes.string,
363
+ "toString": PropTypes.func.isRequired,
364
+ "valueOf": PropTypes.func.isRequired
365
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
366
+ "__@toStringTag": PropTypes.string.isRequired,
367
+ "description": PropTypes.string,
368
+ "toString": PropTypes.func.isRequired,
369
+ "valueOf": PropTypes.func.isRequired
370
+ }), PropTypes.string]),
371
+ "padding": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
372
+ "__@toStringTag": PropTypes.string.isRequired,
373
+ "description": PropTypes.string,
374
+ "toString": PropTypes.func.isRequired,
375
+ "valueOf": PropTypes.func.isRequired
376
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
377
+ "__@toStringTag": PropTypes.string.isRequired,
378
+ "description": PropTypes.string,
379
+ "toString": PropTypes.func.isRequired,
380
+ "valueOf": PropTypes.func.isRequired
381
+ }), PropTypes.string]),
382
+ "paddingBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
383
+ "__@toStringTag": PropTypes.string.isRequired,
384
+ "description": PropTypes.string,
385
+ "toString": PropTypes.func.isRequired,
386
+ "valueOf": PropTypes.func.isRequired
387
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
388
+ "__@toStringTag": PropTypes.string.isRequired,
389
+ "description": PropTypes.string,
390
+ "toString": PropTypes.func.isRequired,
391
+ "valueOf": PropTypes.func.isRequired
392
+ }), PropTypes.string]),
393
+ "paddingLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
394
+ "__@toStringTag": PropTypes.string.isRequired,
395
+ "description": PropTypes.string,
396
+ "toString": PropTypes.func.isRequired,
397
+ "valueOf": PropTypes.func.isRequired
398
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
399
+ "__@toStringTag": PropTypes.string.isRequired,
400
+ "description": PropTypes.string,
401
+ "toString": PropTypes.func.isRequired,
402
+ "valueOf": PropTypes.func.isRequired
403
+ }), PropTypes.string]),
404
+ "paddingRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
405
+ "__@toStringTag": PropTypes.string.isRequired,
406
+ "description": PropTypes.string,
407
+ "toString": PropTypes.func.isRequired,
408
+ "valueOf": PropTypes.func.isRequired
409
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
410
+ "__@toStringTag": PropTypes.string.isRequired,
411
+ "description": PropTypes.string,
412
+ "toString": PropTypes.func.isRequired,
413
+ "valueOf": PropTypes.func.isRequired
414
+ }), PropTypes.string]),
415
+ "paddingTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
416
+ "__@toStringTag": PropTypes.string.isRequired,
417
+ "description": PropTypes.string,
418
+ "toString": PropTypes.func.isRequired,
419
+ "valueOf": PropTypes.func.isRequired
420
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
421
+ "__@toStringTag": PropTypes.string.isRequired,
422
+ "description": PropTypes.string,
423
+ "toString": PropTypes.func.isRequired,
424
+ "valueOf": PropTypes.func.isRequired
425
+ }), PropTypes.string]),
426
+ "paddingX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
427
+ "__@toStringTag": PropTypes.string.isRequired,
428
+ "description": PropTypes.string,
429
+ "toString": PropTypes.func.isRequired,
430
+ "valueOf": PropTypes.func.isRequired
431
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
432
+ "__@toStringTag": PropTypes.string.isRequired,
433
+ "description": PropTypes.string,
434
+ "toString": PropTypes.func.isRequired,
435
+ "valueOf": PropTypes.func.isRequired
436
+ }), PropTypes.string]),
437
+ "paddingY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
438
+ "__@toStringTag": PropTypes.string.isRequired,
439
+ "description": PropTypes.string,
440
+ "toString": PropTypes.func.isRequired,
441
+ "valueOf": PropTypes.func.isRequired
442
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
443
+ "__@toStringTag": PropTypes.string.isRequired,
444
+ "description": PropTypes.string,
445
+ "toString": PropTypes.func.isRequired,
446
+ "valueOf": PropTypes.func.isRequired
447
+ }), PropTypes.string]),
448
+ "pb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
449
+ "__@toStringTag": PropTypes.string.isRequired,
450
+ "description": PropTypes.string,
451
+ "toString": PropTypes.func.isRequired,
452
+ "valueOf": PropTypes.func.isRequired
453
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
454
+ "__@toStringTag": PropTypes.string.isRequired,
455
+ "description": PropTypes.string,
456
+ "toString": PropTypes.func.isRequired,
457
+ "valueOf": PropTypes.func.isRequired
458
+ }), PropTypes.string]),
459
+ "pl": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
460
+ "__@toStringTag": PropTypes.string.isRequired,
461
+ "description": PropTypes.string,
462
+ "toString": PropTypes.func.isRequired,
463
+ "valueOf": PropTypes.func.isRequired
464
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
465
+ "__@toStringTag": PropTypes.string.isRequired,
466
+ "description": PropTypes.string,
467
+ "toString": PropTypes.func.isRequired,
468
+ "valueOf": PropTypes.func.isRequired
469
+ }), PropTypes.string]),
470
+ "pr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
471
+ "__@toStringTag": PropTypes.string.isRequired,
472
+ "description": PropTypes.string,
473
+ "toString": PropTypes.func.isRequired,
474
+ "valueOf": PropTypes.func.isRequired
475
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
476
+ "__@toStringTag": PropTypes.string.isRequired,
477
+ "description": PropTypes.string,
478
+ "toString": PropTypes.func.isRequired,
479
+ "valueOf": PropTypes.func.isRequired
480
+ }), PropTypes.string]),
481
+ "pt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
482
+ "__@toStringTag": PropTypes.string.isRequired,
483
+ "description": PropTypes.string,
484
+ "toString": PropTypes.func.isRequired,
485
+ "valueOf": PropTypes.func.isRequired
486
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
487
+ "__@toStringTag": PropTypes.string.isRequired,
488
+ "description": PropTypes.string,
489
+ "toString": PropTypes.func.isRequired,
490
+ "valueOf": PropTypes.func.isRequired
491
+ }), PropTypes.string]),
492
+ "px": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
493
+ "__@toStringTag": PropTypes.string.isRequired,
494
+ "description": PropTypes.string,
495
+ "toString": PropTypes.func.isRequired,
496
+ "valueOf": PropTypes.func.isRequired
497
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
498
+ "__@toStringTag": PropTypes.string.isRequired,
499
+ "description": PropTypes.string,
500
+ "toString": PropTypes.func.isRequired,
501
+ "valueOf": PropTypes.func.isRequired
502
+ }), PropTypes.string]),
503
+ "py": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
504
+ "__@toStringTag": PropTypes.string.isRequired,
505
+ "description": PropTypes.string,
506
+ "toString": PropTypes.func.isRequired,
507
+ "valueOf": PropTypes.func.isRequired
508
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
509
+ "__@toStringTag": PropTypes.string.isRequired,
510
+ "description": PropTypes.string,
511
+ "toString": PropTypes.func.isRequired,
512
+ "valueOf": PropTypes.func.isRequired
513
+ }), PropTypes.string]),
514
+ "rel": PropTypes.string,
515
+ "size": PropTypes.oneOf(["large", "medium", "small"]),
516
+ "subtext": PropTypes.string,
517
+ "target": PropTypes.string,
518
+ "type": PropTypes.string
1825
519
  };
1826
-
1827
- const ButtonWithForwardRef = /*#__PURE__*/ React.forwardRef((props, ref) =>
1828
- /*#__PURE__*/ React.createElement(
1829
- Button,
1830
- _extends(
1831
- {
1832
- forwardRef: ref,
1833
- },
1834
- props
1835
- )
1836
- )
1837
- );
1838
-
520
+ const ButtonWithForwardRef = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement(Button, _extends({
521
+ forwardRef: ref
522
+ }, props)));
1839
523
  ButtonWithForwardRef.propTypes = {
1840
- /**
1841
- * Prop to specify the aria-label text.
1842
- * Only to be used in Button when only an icon is rendered.
1843
- * This is required to comply with WCAG 4.1.2 - Buttons must have discernible text
1844
- */
1845
524
  "aria-label": PropTypes.string,
1846
- /**
1847
- * [Legacy] Button types for legacy theme: "primary" | "secondary"
1848
- */
1849
- as: PropTypes.oneOf([
1850
- "darkBackground",
1851
- "dashed",
1852
- "primary",
1853
- "secondary",
1854
- "tertiary",
1855
- ]),
1856
- /**
1857
- * Color variants for new business themes: "primary" | "secondary" | "tertiary" | "darkBackground"
1858
- */
1859
- buttonType: PropTypes.oneOf([
1860
- "darkBackground",
1861
- "dashed",
1862
- "primary",
1863
- "secondary",
1864
- "tertiary",
1865
- ]),
1866
- /**
1867
- * The text the button displays
1868
- */
1869
- children: PropTypes.node,
1870
- /**
1871
- * Apply destructive style to the button
1872
- */
1873
- destructive: PropTypes.bool,
1874
- /**
1875
- * Apply disabled state to the button
1876
- */
1877
- disabled: PropTypes.bool,
1878
- /**
1879
- * Ref to be forwarded
1880
- */
1881
- forwardRef: PropTypes.oneOfType([
1882
- PropTypes.func,
1883
- PropTypes.shape({
1884
- current: PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object])
1885
- .isRequired,
1886
- }),
1887
- ]),
1888
- /**
1889
- * Apply fullWidth style to the button
1890
- */
1891
- fullWidth: PropTypes.bool,
1892
- /**
1893
- * Used to transform button into anchor
1894
- */
1895
- href: PropTypes.string,
1896
- /**
1897
- * Defines an Icon position related to the children: "before" | "after"
1898
- */
1899
- iconPosition: PropTypes.oneOf(["after", "before"]),
1900
- /**
1901
- * Provides a tooltip message when the icon is hovered.
1902
- */
1903
- iconTooltipMessage: PropTypes.string,
1904
- /**
1905
- * Provides positioning when the tooltip is displayed.
1906
- */
1907
- iconTooltipPosition: PropTypes.oneOf(["bottom", "left", "right", "top"]),
1908
- /**
1909
- * Defines an Icon type within the button
1910
- */
1911
- iconType: PropTypes.oneOf([
1912
- "add",
1913
- "alert",
1914
- "analysis",
1915
- "arrow_down",
1916
- "arrow_left_boxed",
1917
- "arrow_left_right_small",
1918
- "arrow_left_small",
1919
- "arrow_left",
1920
- "arrow_right_small",
1921
- "arrow_right",
1922
- "arrow_up",
1923
- "attach",
1924
- "bank",
1925
- "basket_with_squares",
1926
- "basket",
1927
- "bin",
1928
- "block_arrow_right",
1929
- "blocked_square",
1930
- "blocked",
1931
- "bold",
1932
- "boxed_shapes",
1933
- "bulk_destroy",
1934
- "bullet_list_dotted",
1935
- "bullet_list_numbers",
1936
- "bullet_list",
1937
- "business",
1938
- "calendar_today",
1939
- "calendar",
1940
- "call",
1941
- "camera",
1942
- "card_view",
1943
- "caret_down",
1944
- "caret_large_down",
1945
- "caret_large_left",
1946
- "caret_large_right",
1947
- "caret_large_up",
1948
- "caret_left",
1949
- "caret_right",
1950
- "caret_up",
1951
- "cart",
1952
- "chart_bar",
1953
- "chart_line",
1954
- "chart_pie",
1955
- "chat_notes",
1956
- "chat",
1957
- "chevron_down_thick",
1958
- "chevron_down",
1959
- "chevron_left_thick",
1960
- "chevron_left",
1961
- "chevron_right_thick",
1962
- "chevron_right",
1963
- "chevron_up_thick",
1964
- "chevron_up",
1965
- "circle_with_dots",
1966
- "circles_connection",
1967
- "clock",
1968
- "close",
1969
- "coins",
1970
- "collaborate",
1971
- "computer_clock",
1972
- "connect",
1973
- "copy",
1974
- "credit_card_slash",
1975
- "credit_card",
1976
- "cross_circle",
1977
- "cross",
1978
- "csv",
1979
- "delete",
1980
- "delivery",
1981
- "disconnect",
1982
- "disputed",
1983
- "document_right_align",
1984
- "document_tick",
1985
- "document_vertical_lines",
1986
- "download",
1987
- "draft",
1988
- "drag_vertical",
1989
- "drag",
1990
- "dropdown",
1991
- "duplicate",
1992
- "edit",
1993
- "edited",
1994
- "ellipsis_horizontal",
1995
- "ellipsis_vertical",
1996
- "email_switch",
1997
- "email",
1998
- "error_square",
1999
- "error",
2000
- "euro",
2001
- "expand",
2002
- "factory",
2003
- "favourite_lined",
2004
- "favourite",
2005
- "fax",
2006
- "feedback",
2007
- "file_excel",
2008
- "file_generic",
2009
- "file_image",
2010
- "file_pdf",
2011
- "file_word",
2012
- "files_leaning",
2013
- "filter_new",
2014
- "filter",
2015
- "fit_height",
2016
- "fit_width",
2017
- "flag",
2018
- "folder",
2019
- "gift",
2020
- "graph",
2021
- "grid",
2022
- "help",
2023
- "hide",
2024
- "home",
2025
- "image",
2026
- "in_progress",
2027
- "in_transit",
2028
- "individual",
2029
- "info",
2030
- "italic",
2031
- "key",
2032
- "ledger_arrow_left",
2033
- "ledger_arrow_right",
2034
- "ledger",
2035
- "link",
2036
- "list_view",
2037
- "location",
2038
- "locked",
2039
- "logout",
2040
- "lookup",
2041
- "marker",
2042
- "message",
2043
- "messages",
2044
- "minus_large",
2045
- "minus",
2046
- "mobile",
2047
- "money_bag",
2048
- "pause_circle",
2049
- "pause",
2050
- "pdf",
2051
- "people_switch",
2052
- "people",
2053
- "person_info",
2054
- "person_tick",
2055
- "person",
2056
- "phone",
2057
- "play_circle",
2058
- "play",
2059
- "plus_large",
2060
- "plus",
2061
- "pound",
2062
- "print",
2063
- "progress",
2064
- "progressed",
2065
- "question",
2066
- "refresh_clock",
2067
- "refresh",
2068
- "remove",
2069
- "sage_coin",
2070
- "save",
2071
- "scan",
2072
- "search",
2073
- "services",
2074
- "settings",
2075
- "share",
2076
- "shop",
2077
- "sort_down",
2078
- "sort_up",
2079
- "spanner",
2080
- "split_container",
2081
- "split",
2082
- "square_dot",
2083
- "squares_nine",
2084
- "stacked_boxes",
2085
- "stacked_squares",
2086
- "submitted",
2087
- "sync",
2088
- "tag",
2089
- "three_boxes",
2090
- "tick_circle",
2091
- "tick",
2092
- "unlocked",
2093
- "upload",
2094
- "uploaded",
2095
- "video",
2096
- "view",
2097
- "warning",
2098
- ]),
2099
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
2100
- /**
2101
- * Margin on top, left, bottom and right
2102
- */
2103
- m: PropTypes.oneOfType([
2104
- PropTypes.arrayOf(
2105
- PropTypes.oneOfType([
2106
- PropTypes.oneOf([null]),
2107
- PropTypes.number,
2108
- PropTypes.shape({
2109
- "__@toStringTag": PropTypes.string.isRequired,
2110
- /**
2111
- * Expose the [[Description]] internal slot of a symbol directly.
2112
- */
2113
- description: PropTypes.string,
2114
- /**
2115
- * Returns a string representation of an object.
2116
- */
2117
- toString: PropTypes.func.isRequired,
2118
- /**
2119
- * Returns the primitive value of the specified object.
2120
- */
2121
- valueOf: PropTypes.func.isRequired,
2122
- }),
2123
- PropTypes.string,
2124
- ])
2125
- ),
2126
- PropTypes.number,
2127
- PropTypes.object,
2128
- PropTypes.shape({
2129
- "__@toStringTag": PropTypes.string.isRequired,
2130
- /**
2131
- * Expose the [[Description]] internal slot of a symbol directly.
2132
- */
2133
- description: PropTypes.string,
2134
- /**
2135
- * Returns a string representation of an object.
2136
- */
2137
- toString: PropTypes.func.isRequired,
2138
- /**
2139
- * Returns the primitive value of the specified object.
2140
- */
2141
- valueOf: PropTypes.func.isRequired,
2142
- }),
2143
- PropTypes.string,
2144
- ]),
2145
- /**
2146
- * Margin on top, left, bottom and right
2147
- */
2148
- margin: PropTypes.oneOfType([
2149
- PropTypes.arrayOf(
2150
- PropTypes.oneOfType([
2151
- PropTypes.oneOf([null]),
2152
- PropTypes.number,
2153
- PropTypes.shape({
2154
- "__@toStringTag": PropTypes.string.isRequired,
2155
- /**
2156
- * Expose the [[Description]] internal slot of a symbol directly.
2157
- */
2158
- description: PropTypes.string,
2159
- /**
2160
- * Returns a string representation of an object.
2161
- */
2162
- toString: PropTypes.func.isRequired,
2163
- /**
2164
- * Returns the primitive value of the specified object.
2165
- */
2166
- valueOf: PropTypes.func.isRequired,
2167
- }),
2168
- PropTypes.string,
2169
- ])
2170
- ),
2171
- PropTypes.number,
2172
- PropTypes.object,
2173
- PropTypes.shape({
2174
- "__@toStringTag": PropTypes.string.isRequired,
2175
- /**
2176
- * Expose the [[Description]] internal slot of a symbol directly.
2177
- */
2178
- description: PropTypes.string,
2179
- /**
2180
- * Returns a string representation of an object.
2181
- */
2182
- toString: PropTypes.func.isRequired,
2183
- /**
2184
- * Returns the primitive value of the specified object.
2185
- */
2186
- valueOf: PropTypes.func.isRequired,
2187
- }),
2188
- PropTypes.string,
2189
- ]),
2190
- /**
2191
- * Margin on bottom
2192
- */
2193
- marginBottom: PropTypes.oneOfType([
2194
- PropTypes.arrayOf(
2195
- PropTypes.oneOfType([
2196
- PropTypes.oneOf([null]),
2197
- PropTypes.number,
2198
- PropTypes.shape({
2199
- "__@toStringTag": PropTypes.string.isRequired,
2200
- /**
2201
- * Expose the [[Description]] internal slot of a symbol directly.
2202
- */
2203
- description: PropTypes.string,
2204
- /**
2205
- * Returns a string representation of an object.
2206
- */
2207
- toString: PropTypes.func.isRequired,
2208
- /**
2209
- * Returns the primitive value of the specified object.
2210
- */
2211
- valueOf: PropTypes.func.isRequired,
2212
- }),
2213
- PropTypes.string,
2214
- ])
2215
- ),
2216
- PropTypes.number,
2217
- PropTypes.object,
2218
- PropTypes.shape({
2219
- "__@toStringTag": PropTypes.string.isRequired,
2220
- /**
2221
- * Expose the [[Description]] internal slot of a symbol directly.
2222
- */
2223
- description: PropTypes.string,
2224
- /**
2225
- * Returns a string representation of an object.
2226
- */
2227
- toString: PropTypes.func.isRequired,
2228
- /**
2229
- * Returns the primitive value of the specified object.
2230
- */
2231
- valueOf: PropTypes.func.isRequired,
2232
- }),
2233
- PropTypes.string,
2234
- ]),
2235
- /**
2236
- * Margin on left
2237
- */
2238
- marginLeft: PropTypes.oneOfType([
2239
- PropTypes.arrayOf(
2240
- PropTypes.oneOfType([
2241
- PropTypes.oneOf([null]),
2242
- PropTypes.number,
2243
- PropTypes.shape({
2244
- "__@toStringTag": PropTypes.string.isRequired,
2245
- /**
2246
- * Expose the [[Description]] internal slot of a symbol directly.
2247
- */
2248
- description: PropTypes.string,
2249
- /**
2250
- * Returns a string representation of an object.
2251
- */
2252
- toString: PropTypes.func.isRequired,
2253
- /**
2254
- * Returns the primitive value of the specified object.
2255
- */
2256
- valueOf: PropTypes.func.isRequired,
2257
- }),
2258
- PropTypes.string,
2259
- ])
2260
- ),
2261
- PropTypes.number,
2262
- PropTypes.object,
2263
- PropTypes.shape({
2264
- "__@toStringTag": PropTypes.string.isRequired,
2265
- /**
2266
- * Expose the [[Description]] internal slot of a symbol directly.
2267
- */
2268
- description: PropTypes.string,
2269
- /**
2270
- * Returns a string representation of an object.
2271
- */
2272
- toString: PropTypes.func.isRequired,
2273
- /**
2274
- * Returns the primitive value of the specified object.
2275
- */
2276
- valueOf: PropTypes.func.isRequired,
2277
- }),
2278
- PropTypes.string,
2279
- ]),
2280
- /**
2281
- * Margin on right
2282
- */
2283
- marginRight: PropTypes.oneOfType([
2284
- PropTypes.arrayOf(
2285
- PropTypes.oneOfType([
2286
- PropTypes.oneOf([null]),
2287
- PropTypes.number,
2288
- PropTypes.shape({
2289
- "__@toStringTag": PropTypes.string.isRequired,
2290
- /**
2291
- * Expose the [[Description]] internal slot of a symbol directly.
2292
- */
2293
- description: PropTypes.string,
2294
- /**
2295
- * Returns a string representation of an object.
2296
- */
2297
- toString: PropTypes.func.isRequired,
2298
- /**
2299
- * Returns the primitive value of the specified object.
2300
- */
2301
- valueOf: PropTypes.func.isRequired,
2302
- }),
2303
- PropTypes.string,
2304
- ])
2305
- ),
2306
- PropTypes.number,
2307
- PropTypes.object,
2308
- PropTypes.shape({
2309
- "__@toStringTag": PropTypes.string.isRequired,
2310
- /**
2311
- * Expose the [[Description]] internal slot of a symbol directly.
2312
- */
2313
- description: PropTypes.string,
2314
- /**
2315
- * Returns a string representation of an object.
2316
- */
2317
- toString: PropTypes.func.isRequired,
2318
- /**
2319
- * Returns the primitive value of the specified object.
2320
- */
2321
- valueOf: PropTypes.func.isRequired,
2322
- }),
2323
- PropTypes.string,
2324
- ]),
2325
- /**
2326
- * Margin on top
2327
- */
2328
- marginTop: PropTypes.oneOfType([
2329
- PropTypes.arrayOf(
2330
- PropTypes.oneOfType([
2331
- PropTypes.oneOf([null]),
2332
- PropTypes.number,
2333
- PropTypes.shape({
2334
- "__@toStringTag": PropTypes.string.isRequired,
2335
- /**
2336
- * Expose the [[Description]] internal slot of a symbol directly.
2337
- */
2338
- description: PropTypes.string,
2339
- /**
2340
- * Returns a string representation of an object.
2341
- */
2342
- toString: PropTypes.func.isRequired,
2343
- /**
2344
- * Returns the primitive value of the specified object.
2345
- */
2346
- valueOf: PropTypes.func.isRequired,
2347
- }),
2348
- PropTypes.string,
2349
- ])
2350
- ),
2351
- PropTypes.number,
2352
- PropTypes.object,
2353
- PropTypes.shape({
2354
- "__@toStringTag": PropTypes.string.isRequired,
2355
- /**
2356
- * Expose the [[Description]] internal slot of a symbol directly.
2357
- */
2358
- description: PropTypes.string,
2359
- /**
2360
- * Returns a string representation of an object.
2361
- */
2362
- toString: PropTypes.func.isRequired,
2363
- /**
2364
- * Returns the primitive value of the specified object.
2365
- */
2366
- valueOf: PropTypes.func.isRequired,
2367
- }),
2368
- PropTypes.string,
2369
- ]),
2370
- /**
2371
- * Margin on left and right
2372
- */
2373
- marginX: PropTypes.oneOfType([
2374
- PropTypes.arrayOf(
2375
- PropTypes.oneOfType([
2376
- PropTypes.oneOf([null]),
2377
- PropTypes.number,
2378
- PropTypes.shape({
2379
- "__@toStringTag": PropTypes.string.isRequired,
2380
- /**
2381
- * Expose the [[Description]] internal slot of a symbol directly.
2382
- */
2383
- description: PropTypes.string,
2384
- /**
2385
- * Returns a string representation of an object.
2386
- */
2387
- toString: PropTypes.func.isRequired,
2388
- /**
2389
- * Returns the primitive value of the specified object.
2390
- */
2391
- valueOf: PropTypes.func.isRequired,
2392
- }),
2393
- PropTypes.string,
2394
- ])
2395
- ),
2396
- PropTypes.number,
2397
- PropTypes.object,
2398
- PropTypes.shape({
2399
- "__@toStringTag": PropTypes.string.isRequired,
2400
- /**
2401
- * Expose the [[Description]] internal slot of a symbol directly.
2402
- */
2403
- description: PropTypes.string,
2404
- /**
2405
- * Returns a string representation of an object.
2406
- */
2407
- toString: PropTypes.func.isRequired,
2408
- /**
2409
- * Returns the primitive value of the specified object.
2410
- */
2411
- valueOf: PropTypes.func.isRequired,
2412
- }),
2413
- PropTypes.string,
2414
- ]),
2415
- /**
2416
- * Margin on top and bottom
2417
- */
2418
- marginY: PropTypes.oneOfType([
2419
- PropTypes.arrayOf(
2420
- PropTypes.oneOfType([
2421
- PropTypes.oneOf([null]),
2422
- PropTypes.number,
2423
- PropTypes.shape({
2424
- "__@toStringTag": PropTypes.string.isRequired,
2425
- /**
2426
- * Expose the [[Description]] internal slot of a symbol directly.
2427
- */
2428
- description: PropTypes.string,
2429
- /**
2430
- * Returns a string representation of an object.
2431
- */
2432
- toString: PropTypes.func.isRequired,
2433
- /**
2434
- * Returns the primitive value of the specified object.
2435
- */
2436
- valueOf: PropTypes.func.isRequired,
2437
- }),
2438
- PropTypes.string,
2439
- ])
2440
- ),
2441
- PropTypes.number,
2442
- PropTypes.object,
2443
- PropTypes.shape({
2444
- "__@toStringTag": PropTypes.string.isRequired,
2445
- /**
2446
- * Expose the [[Description]] internal slot of a symbol directly.
2447
- */
2448
- description: PropTypes.string,
2449
- /**
2450
- * Returns a string representation of an object.
2451
- */
2452
- toString: PropTypes.func.isRequired,
2453
- /**
2454
- * Returns the primitive value of the specified object.
2455
- */
2456
- valueOf: PropTypes.func.isRequired,
2457
- }),
2458
- PropTypes.string,
2459
- ]),
2460
- /**
2461
- * Margin on bottom
2462
- */
2463
- mb: PropTypes.oneOfType([
2464
- PropTypes.arrayOf(
2465
- PropTypes.oneOfType([
2466
- PropTypes.oneOf([null]),
2467
- PropTypes.number,
2468
- PropTypes.shape({
2469
- "__@toStringTag": PropTypes.string.isRequired,
2470
- /**
2471
- * Expose the [[Description]] internal slot of a symbol directly.
2472
- */
2473
- description: PropTypes.string,
2474
- /**
2475
- * Returns a string representation of an object.
2476
- */
2477
- toString: PropTypes.func.isRequired,
2478
- /**
2479
- * Returns the primitive value of the specified object.
2480
- */
2481
- valueOf: PropTypes.func.isRequired,
2482
- }),
2483
- PropTypes.string,
2484
- ])
2485
- ),
2486
- PropTypes.number,
2487
- PropTypes.object,
2488
- PropTypes.shape({
2489
- "__@toStringTag": PropTypes.string.isRequired,
2490
- /**
2491
- * Expose the [[Description]] internal slot of a symbol directly.
2492
- */
2493
- description: PropTypes.string,
2494
- /**
2495
- * Returns a string representation of an object.
2496
- */
2497
- toString: PropTypes.func.isRequired,
2498
- /**
2499
- * Returns the primitive value of the specified object.
2500
- */
2501
- valueOf: PropTypes.func.isRequired,
2502
- }),
2503
- PropTypes.string,
2504
- ]),
2505
- /**
2506
- * Margin on left
2507
- */
2508
- ml: PropTypes.oneOfType([
2509
- PropTypes.arrayOf(
2510
- PropTypes.oneOfType([
2511
- PropTypes.oneOf([null]),
2512
- PropTypes.number,
2513
- PropTypes.shape({
2514
- "__@toStringTag": PropTypes.string.isRequired,
2515
- /**
2516
- * Expose the [[Description]] internal slot of a symbol directly.
2517
- */
2518
- description: PropTypes.string,
2519
- /**
2520
- * Returns a string representation of an object.
2521
- */
2522
- toString: PropTypes.func.isRequired,
2523
- /**
2524
- * Returns the primitive value of the specified object.
2525
- */
2526
- valueOf: PropTypes.func.isRequired,
2527
- }),
2528
- PropTypes.string,
2529
- ])
2530
- ),
2531
- PropTypes.number,
2532
- PropTypes.object,
2533
- PropTypes.shape({
2534
- "__@toStringTag": PropTypes.string.isRequired,
2535
- /**
2536
- * Expose the [[Description]] internal slot of a symbol directly.
2537
- */
2538
- description: PropTypes.string,
2539
- /**
2540
- * Returns a string representation of an object.
2541
- */
2542
- toString: PropTypes.func.isRequired,
2543
- /**
2544
- * Returns the primitive value of the specified object.
2545
- */
2546
- valueOf: PropTypes.func.isRequired,
2547
- }),
2548
- PropTypes.string,
2549
- ]),
2550
- /**
2551
- * Margin on right
2552
- */
2553
- mr: PropTypes.oneOfType([
2554
- PropTypes.arrayOf(
2555
- PropTypes.oneOfType([
2556
- PropTypes.oneOf([null]),
2557
- PropTypes.number,
2558
- PropTypes.shape({
2559
- "__@toStringTag": PropTypes.string.isRequired,
2560
- /**
2561
- * Expose the [[Description]] internal slot of a symbol directly.
2562
- */
2563
- description: PropTypes.string,
2564
- /**
2565
- * Returns a string representation of an object.
2566
- */
2567
- toString: PropTypes.func.isRequired,
2568
- /**
2569
- * Returns the primitive value of the specified object.
2570
- */
2571
- valueOf: PropTypes.func.isRequired,
2572
- }),
2573
- PropTypes.string,
2574
- ])
2575
- ),
2576
- PropTypes.number,
2577
- PropTypes.object,
2578
- PropTypes.shape({
2579
- "__@toStringTag": PropTypes.string.isRequired,
2580
- /**
2581
- * Expose the [[Description]] internal slot of a symbol directly.
2582
- */
2583
- description: PropTypes.string,
2584
- /**
2585
- * Returns a string representation of an object.
2586
- */
2587
- toString: PropTypes.func.isRequired,
2588
- /**
2589
- * Returns the primitive value of the specified object.
2590
- */
2591
- valueOf: PropTypes.func.isRequired,
2592
- }),
2593
- PropTypes.string,
2594
- ]),
2595
- /**
2596
- * Margin on top
2597
- */
2598
- mt: PropTypes.oneOfType([
2599
- PropTypes.arrayOf(
2600
- PropTypes.oneOfType([
2601
- PropTypes.oneOf([null]),
2602
- PropTypes.number,
2603
- PropTypes.shape({
2604
- "__@toStringTag": PropTypes.string.isRequired,
2605
- /**
2606
- * Expose the [[Description]] internal slot of a symbol directly.
2607
- */
2608
- description: PropTypes.string,
2609
- /**
2610
- * Returns a string representation of an object.
2611
- */
2612
- toString: PropTypes.func.isRequired,
2613
- /**
2614
- * Returns the primitive value of the specified object.
2615
- */
2616
- valueOf: PropTypes.func.isRequired,
2617
- }),
2618
- PropTypes.string,
2619
- ])
2620
- ),
2621
- PropTypes.number,
2622
- PropTypes.object,
2623
- PropTypes.shape({
2624
- "__@toStringTag": PropTypes.string.isRequired,
2625
- /**
2626
- * Expose the [[Description]] internal slot of a symbol directly.
2627
- */
2628
- description: PropTypes.string,
2629
- /**
2630
- * Returns a string representation of an object.
2631
- */
2632
- toString: PropTypes.func.isRequired,
2633
- /**
2634
- * Returns the primitive value of the specified object.
2635
- */
2636
- valueOf: PropTypes.func.isRequired,
2637
- }),
2638
- PropTypes.string,
2639
- ]),
2640
- /**
2641
- * Margin on left and right
2642
- */
2643
- mx: PropTypes.oneOfType([
2644
- PropTypes.arrayOf(
2645
- PropTypes.oneOfType([
2646
- PropTypes.oneOf([null]),
2647
- PropTypes.number,
2648
- PropTypes.shape({
2649
- "__@toStringTag": PropTypes.string.isRequired,
2650
- /**
2651
- * Expose the [[Description]] internal slot of a symbol directly.
2652
- */
2653
- description: PropTypes.string,
2654
- /**
2655
- * Returns a string representation of an object.
2656
- */
2657
- toString: PropTypes.func.isRequired,
2658
- /**
2659
- * Returns the primitive value of the specified object.
2660
- */
2661
- valueOf: PropTypes.func.isRequired,
2662
- }),
2663
- PropTypes.string,
2664
- ])
2665
- ),
2666
- PropTypes.number,
2667
- PropTypes.object,
2668
- PropTypes.shape({
2669
- "__@toStringTag": PropTypes.string.isRequired,
2670
- /**
2671
- * Expose the [[Description]] internal slot of a symbol directly.
2672
- */
2673
- description: PropTypes.string,
2674
- /**
2675
- * Returns a string representation of an object.
2676
- */
2677
- toString: PropTypes.func.isRequired,
2678
- /**
2679
- * Returns the primitive value of the specified object.
2680
- */
2681
- valueOf: PropTypes.func.isRequired,
2682
- }),
2683
- PropTypes.string,
2684
- ]),
2685
- /**
2686
- * Margin on top and bottom
2687
- */
2688
- my: PropTypes.oneOfType([
2689
- PropTypes.arrayOf(
2690
- PropTypes.oneOfType([
2691
- PropTypes.oneOf([null]),
2692
- PropTypes.number,
2693
- PropTypes.shape({
2694
- "__@toStringTag": PropTypes.string.isRequired,
2695
- /**
2696
- * Expose the [[Description]] internal slot of a symbol directly.
2697
- */
2698
- description: PropTypes.string,
2699
- /**
2700
- * Returns a string representation of an object.
2701
- */
2702
- toString: PropTypes.func.isRequired,
2703
- /**
2704
- * Returns the primitive value of the specified object.
2705
- */
2706
- valueOf: PropTypes.func.isRequired,
2707
- }),
2708
- PropTypes.string,
2709
- ])
2710
- ),
2711
- PropTypes.number,
2712
- PropTypes.object,
2713
- PropTypes.shape({
2714
- "__@toStringTag": PropTypes.string.isRequired,
2715
- /**
2716
- * Expose the [[Description]] internal slot of a symbol directly.
2717
- */
2718
- description: PropTypes.string,
2719
- /**
2720
- * Returns a string representation of an object.
2721
- */
2722
- toString: PropTypes.func.isRequired,
2723
- /**
2724
- * Returns the primitive value of the specified object.
2725
- */
2726
- valueOf: PropTypes.func.isRequired,
2727
- }),
2728
- PropTypes.string,
2729
- ]),
2730
- /**
2731
- * Name attribute
2732
- */
2733
- name: PropTypes.string,
2734
- /**
2735
- * If provided, the text inside a button will not wrap
2736
- */
2737
- noWrap: PropTypes.bool,
2738
- /**
2739
- * Specify a callback triggered on blur
2740
- */
2741
- onBlur: PropTypes.func,
2742
- /**
2743
- * Specify a callback triggered on change
2744
- */
2745
- onChange: PropTypes.func,
2746
- /**
2747
- * onClick handler
2748
- */
2749
- onClick: PropTypes.func,
2750
- /**
2751
- * Specify a callback triggered on focus
2752
- */
2753
- onFocus: PropTypes.func,
2754
- /**
2755
- * Specify a callback triggered on keyDown
2756
- */
2757
- onKeyDown: PropTypes.func,
2758
- /**
2759
- * Padding on top, left, bottom and right
2760
- */
2761
- p: PropTypes.oneOfType([
2762
- PropTypes.arrayOf(
2763
- PropTypes.oneOfType([
2764
- PropTypes.oneOf([null]),
2765
- PropTypes.number,
2766
- PropTypes.shape({
2767
- "__@toStringTag": PropTypes.string.isRequired,
2768
- /**
2769
- * Expose the [[Description]] internal slot of a symbol directly.
2770
- */
2771
- description: PropTypes.string,
2772
- /**
2773
- * Returns a string representation of an object.
2774
- */
2775
- toString: PropTypes.func.isRequired,
2776
- /**
2777
- * Returns the primitive value of the specified object.
2778
- */
2779
- valueOf: PropTypes.func.isRequired,
2780
- }),
2781
- PropTypes.string,
2782
- ])
2783
- ),
2784
- PropTypes.number,
2785
- PropTypes.object,
2786
- PropTypes.shape({
2787
- "__@toStringTag": PropTypes.string.isRequired,
2788
- /**
2789
- * Expose the [[Description]] internal slot of a symbol directly.
2790
- */
2791
- description: PropTypes.string,
2792
- /**
2793
- * Returns a string representation of an object.
2794
- */
2795
- toString: PropTypes.func.isRequired,
2796
- /**
2797
- * Returns the primitive value of the specified object.
2798
- */
2799
- valueOf: PropTypes.func.isRequired,
2800
- }),
2801
- PropTypes.string,
2802
- ]),
2803
- /**
2804
- * Padding on top, left, bottom and right
2805
- */
2806
- padding: PropTypes.oneOfType([
2807
- PropTypes.arrayOf(
2808
- PropTypes.oneOfType([
2809
- PropTypes.oneOf([null]),
2810
- PropTypes.number,
2811
- PropTypes.shape({
2812
- "__@toStringTag": PropTypes.string.isRequired,
2813
- /**
2814
- * Expose the [[Description]] internal slot of a symbol directly.
2815
- */
2816
- description: PropTypes.string,
2817
- /**
2818
- * Returns a string representation of an object.
2819
- */
2820
- toString: PropTypes.func.isRequired,
2821
- /**
2822
- * Returns the primitive value of the specified object.
2823
- */
2824
- valueOf: PropTypes.func.isRequired,
2825
- }),
2826
- PropTypes.string,
2827
- ])
2828
- ),
2829
- PropTypes.number,
2830
- PropTypes.object,
2831
- PropTypes.shape({
2832
- "__@toStringTag": PropTypes.string.isRequired,
2833
- /**
2834
- * Expose the [[Description]] internal slot of a symbol directly.
2835
- */
2836
- description: PropTypes.string,
2837
- /**
2838
- * Returns a string representation of an object.
2839
- */
2840
- toString: PropTypes.func.isRequired,
2841
- /**
2842
- * Returns the primitive value of the specified object.
2843
- */
2844
- valueOf: PropTypes.func.isRequired,
2845
- }),
2846
- PropTypes.string,
2847
- ]),
2848
- /**
2849
- * Padding on bottom
2850
- */
2851
- paddingBottom: PropTypes.oneOfType([
2852
- PropTypes.arrayOf(
2853
- PropTypes.oneOfType([
2854
- PropTypes.oneOf([null]),
2855
- PropTypes.number,
2856
- PropTypes.shape({
2857
- "__@toStringTag": PropTypes.string.isRequired,
2858
- /**
2859
- * Expose the [[Description]] internal slot of a symbol directly.
2860
- */
2861
- description: PropTypes.string,
2862
- /**
2863
- * Returns a string representation of an object.
2864
- */
2865
- toString: PropTypes.func.isRequired,
2866
- /**
2867
- * Returns the primitive value of the specified object.
2868
- */
2869
- valueOf: PropTypes.func.isRequired,
2870
- }),
2871
- PropTypes.string,
2872
- ])
2873
- ),
2874
- PropTypes.number,
2875
- PropTypes.object,
2876
- PropTypes.shape({
2877
- "__@toStringTag": PropTypes.string.isRequired,
2878
- /**
2879
- * Expose the [[Description]] internal slot of a symbol directly.
2880
- */
2881
- description: PropTypes.string,
2882
- /**
2883
- * Returns a string representation of an object.
2884
- */
2885
- toString: PropTypes.func.isRequired,
2886
- /**
2887
- * Returns the primitive value of the specified object.
2888
- */
2889
- valueOf: PropTypes.func.isRequired,
2890
- }),
2891
- PropTypes.string,
2892
- ]),
2893
- /**
2894
- * Padding on left
2895
- */
2896
- paddingLeft: PropTypes.oneOfType([
2897
- PropTypes.arrayOf(
2898
- PropTypes.oneOfType([
2899
- PropTypes.oneOf([null]),
2900
- PropTypes.number,
2901
- PropTypes.shape({
2902
- "__@toStringTag": PropTypes.string.isRequired,
2903
- /**
2904
- * Expose the [[Description]] internal slot of a symbol directly.
2905
- */
2906
- description: PropTypes.string,
2907
- /**
2908
- * Returns a string representation of an object.
2909
- */
2910
- toString: PropTypes.func.isRequired,
2911
- /**
2912
- * Returns the primitive value of the specified object.
2913
- */
2914
- valueOf: PropTypes.func.isRequired,
2915
- }),
2916
- PropTypes.string,
2917
- ])
2918
- ),
2919
- PropTypes.number,
2920
- PropTypes.object,
2921
- PropTypes.shape({
2922
- "__@toStringTag": PropTypes.string.isRequired,
2923
- /**
2924
- * Expose the [[Description]] internal slot of a symbol directly.
2925
- */
2926
- description: PropTypes.string,
2927
- /**
2928
- * Returns a string representation of an object.
2929
- */
2930
- toString: PropTypes.func.isRequired,
2931
- /**
2932
- * Returns the primitive value of the specified object.
2933
- */
2934
- valueOf: PropTypes.func.isRequired,
2935
- }),
2936
- PropTypes.string,
2937
- ]),
2938
- /**
2939
- * Padding on right
2940
- */
2941
- paddingRight: PropTypes.oneOfType([
2942
- PropTypes.arrayOf(
2943
- PropTypes.oneOfType([
2944
- PropTypes.oneOf([null]),
2945
- PropTypes.number,
2946
- PropTypes.shape({
2947
- "__@toStringTag": PropTypes.string.isRequired,
2948
- /**
2949
- * Expose the [[Description]] internal slot of a symbol directly.
2950
- */
2951
- description: PropTypes.string,
2952
- /**
2953
- * Returns a string representation of an object.
2954
- */
2955
- toString: PropTypes.func.isRequired,
2956
- /**
2957
- * Returns the primitive value of the specified object.
2958
- */
2959
- valueOf: PropTypes.func.isRequired,
2960
- }),
2961
- PropTypes.string,
2962
- ])
2963
- ),
2964
- PropTypes.number,
2965
- PropTypes.object,
2966
- PropTypes.shape({
2967
- "__@toStringTag": PropTypes.string.isRequired,
2968
- /**
2969
- * Expose the [[Description]] internal slot of a symbol directly.
2970
- */
2971
- description: PropTypes.string,
2972
- /**
2973
- * Returns a string representation of an object.
2974
- */
2975
- toString: PropTypes.func.isRequired,
2976
- /**
2977
- * Returns the primitive value of the specified object.
2978
- */
2979
- valueOf: PropTypes.func.isRequired,
2980
- }),
2981
- PropTypes.string,
2982
- ]),
2983
- /**
2984
- * Padding on top
2985
- */
2986
- paddingTop: PropTypes.oneOfType([
2987
- PropTypes.arrayOf(
2988
- PropTypes.oneOfType([
2989
- PropTypes.oneOf([null]),
2990
- PropTypes.number,
2991
- PropTypes.shape({
2992
- "__@toStringTag": PropTypes.string.isRequired,
2993
- /**
2994
- * Expose the [[Description]] internal slot of a symbol directly.
2995
- */
2996
- description: PropTypes.string,
2997
- /**
2998
- * Returns a string representation of an object.
2999
- */
3000
- toString: PropTypes.func.isRequired,
3001
- /**
3002
- * Returns the primitive value of the specified object.
3003
- */
3004
- valueOf: PropTypes.func.isRequired,
3005
- }),
3006
- PropTypes.string,
3007
- ])
3008
- ),
3009
- PropTypes.number,
3010
- PropTypes.object,
3011
- PropTypes.shape({
3012
- "__@toStringTag": PropTypes.string.isRequired,
3013
- /**
3014
- * Expose the [[Description]] internal slot of a symbol directly.
3015
- */
3016
- description: PropTypes.string,
3017
- /**
3018
- * Returns a string representation of an object.
3019
- */
3020
- toString: PropTypes.func.isRequired,
3021
- /**
3022
- * Returns the primitive value of the specified object.
3023
- */
3024
- valueOf: PropTypes.func.isRequired,
3025
- }),
3026
- PropTypes.string,
3027
- ]),
3028
- /**
3029
- * Padding on left and right
3030
- */
3031
- paddingX: PropTypes.oneOfType([
3032
- PropTypes.arrayOf(
3033
- PropTypes.oneOfType([
3034
- PropTypes.oneOf([null]),
3035
- PropTypes.number,
3036
- PropTypes.shape({
3037
- "__@toStringTag": PropTypes.string.isRequired,
3038
- /**
3039
- * Expose the [[Description]] internal slot of a symbol directly.
3040
- */
3041
- description: PropTypes.string,
3042
- /**
3043
- * Returns a string representation of an object.
3044
- */
3045
- toString: PropTypes.func.isRequired,
3046
- /**
3047
- * Returns the primitive value of the specified object.
3048
- */
3049
- valueOf: PropTypes.func.isRequired,
3050
- }),
3051
- PropTypes.string,
3052
- ])
3053
- ),
3054
- PropTypes.number,
3055
- PropTypes.object,
3056
- PropTypes.shape({
3057
- "__@toStringTag": PropTypes.string.isRequired,
3058
- /**
3059
- * Expose the [[Description]] internal slot of a symbol directly.
3060
- */
3061
- description: PropTypes.string,
3062
- /**
3063
- * Returns a string representation of an object.
3064
- */
3065
- toString: PropTypes.func.isRequired,
3066
- /**
3067
- * Returns the primitive value of the specified object.
3068
- */
3069
- valueOf: PropTypes.func.isRequired,
3070
- }),
3071
- PropTypes.string,
3072
- ]),
3073
- /**
3074
- * Padding on top and bottom
3075
- */
3076
- paddingY: PropTypes.oneOfType([
3077
- PropTypes.arrayOf(
3078
- PropTypes.oneOfType([
3079
- PropTypes.oneOf([null]),
3080
- PropTypes.number,
3081
- PropTypes.shape({
3082
- "__@toStringTag": PropTypes.string.isRequired,
3083
- /**
3084
- * Expose the [[Description]] internal slot of a symbol directly.
3085
- */
3086
- description: PropTypes.string,
3087
- /**
3088
- * Returns a string representation of an object.
3089
- */
3090
- toString: PropTypes.func.isRequired,
3091
- /**
3092
- * Returns the primitive value of the specified object.
3093
- */
3094
- valueOf: PropTypes.func.isRequired,
3095
- }),
3096
- PropTypes.string,
3097
- ])
3098
- ),
3099
- PropTypes.number,
3100
- PropTypes.object,
3101
- PropTypes.shape({
3102
- "__@toStringTag": PropTypes.string.isRequired,
3103
- /**
3104
- * Expose the [[Description]] internal slot of a symbol directly.
3105
- */
3106
- description: PropTypes.string,
3107
- /**
3108
- * Returns a string representation of an object.
3109
- */
3110
- toString: PropTypes.func.isRequired,
3111
- /**
3112
- * Returns the primitive value of the specified object.
3113
- */
3114
- valueOf: PropTypes.func.isRequired,
3115
- }),
3116
- PropTypes.string,
3117
- ]),
3118
- /**
3119
- * Padding on bottom
3120
- */
3121
- pb: PropTypes.oneOfType([
3122
- PropTypes.arrayOf(
3123
- PropTypes.oneOfType([
3124
- PropTypes.oneOf([null]),
3125
- PropTypes.number,
3126
- PropTypes.shape({
3127
- "__@toStringTag": PropTypes.string.isRequired,
3128
- /**
3129
- * Expose the [[Description]] internal slot of a symbol directly.
3130
- */
3131
- description: PropTypes.string,
3132
- /**
3133
- * Returns a string representation of an object.
3134
- */
3135
- toString: PropTypes.func.isRequired,
3136
- /**
3137
- * Returns the primitive value of the specified object.
3138
- */
3139
- valueOf: PropTypes.func.isRequired,
3140
- }),
3141
- PropTypes.string,
3142
- ])
3143
- ),
3144
- PropTypes.number,
3145
- PropTypes.object,
3146
- PropTypes.shape({
3147
- "__@toStringTag": PropTypes.string.isRequired,
3148
- /**
3149
- * Expose the [[Description]] internal slot of a symbol directly.
3150
- */
3151
- description: PropTypes.string,
3152
- /**
3153
- * Returns a string representation of an object.
3154
- */
3155
- toString: PropTypes.func.isRequired,
3156
- /**
3157
- * Returns the primitive value of the specified object.
3158
- */
3159
- valueOf: PropTypes.func.isRequired,
3160
- }),
3161
- PropTypes.string,
3162
- ]),
3163
- /**
3164
- * Padding on left
3165
- */
3166
- pl: PropTypes.oneOfType([
3167
- PropTypes.arrayOf(
3168
- PropTypes.oneOfType([
3169
- PropTypes.oneOf([null]),
3170
- PropTypes.number,
3171
- PropTypes.shape({
3172
- "__@toStringTag": PropTypes.string.isRequired,
3173
- /**
3174
- * Expose the [[Description]] internal slot of a symbol directly.
3175
- */
3176
- description: PropTypes.string,
3177
- /**
3178
- * Returns a string representation of an object.
3179
- */
3180
- toString: PropTypes.func.isRequired,
3181
- /**
3182
- * Returns the primitive value of the specified object.
3183
- */
3184
- valueOf: PropTypes.func.isRequired,
3185
- }),
3186
- PropTypes.string,
3187
- ])
3188
- ),
3189
- PropTypes.number,
3190
- PropTypes.object,
3191
- PropTypes.shape({
3192
- "__@toStringTag": PropTypes.string.isRequired,
3193
- /**
3194
- * Expose the [[Description]] internal slot of a symbol directly.
3195
- */
3196
- description: PropTypes.string,
3197
- /**
3198
- * Returns a string representation of an object.
3199
- */
3200
- toString: PropTypes.func.isRequired,
3201
- /**
3202
- * Returns the primitive value of the specified object.
3203
- */
3204
- valueOf: PropTypes.func.isRequired,
3205
- }),
3206
- PropTypes.string,
3207
- ]),
3208
- /**
3209
- * Padding on right
3210
- */
3211
- pr: PropTypes.oneOfType([
3212
- PropTypes.arrayOf(
3213
- PropTypes.oneOfType([
3214
- PropTypes.oneOf([null]),
3215
- PropTypes.number,
3216
- PropTypes.shape({
3217
- "__@toStringTag": PropTypes.string.isRequired,
3218
- /**
3219
- * Expose the [[Description]] internal slot of a symbol directly.
3220
- */
3221
- description: PropTypes.string,
3222
- /**
3223
- * Returns a string representation of an object.
3224
- */
3225
- toString: PropTypes.func.isRequired,
3226
- /**
3227
- * Returns the primitive value of the specified object.
3228
- */
3229
- valueOf: PropTypes.func.isRequired,
3230
- }),
3231
- PropTypes.string,
3232
- ])
3233
- ),
3234
- PropTypes.number,
3235
- PropTypes.object,
3236
- PropTypes.shape({
3237
- "__@toStringTag": PropTypes.string.isRequired,
3238
- /**
3239
- * Expose the [[Description]] internal slot of a symbol directly.
3240
- */
3241
- description: PropTypes.string,
3242
- /**
3243
- * Returns a string representation of an object.
3244
- */
3245
- toString: PropTypes.func.isRequired,
3246
- /**
3247
- * Returns the primitive value of the specified object.
3248
- */
3249
- valueOf: PropTypes.func.isRequired,
3250
- }),
3251
- PropTypes.string,
3252
- ]),
3253
- /**
3254
- * Padding on top
3255
- */
3256
- pt: PropTypes.oneOfType([
3257
- PropTypes.arrayOf(
3258
- PropTypes.oneOfType([
3259
- PropTypes.oneOf([null]),
3260
- PropTypes.number,
3261
- PropTypes.shape({
3262
- "__@toStringTag": PropTypes.string.isRequired,
3263
- /**
3264
- * Expose the [[Description]] internal slot of a symbol directly.
3265
- */
3266
- description: PropTypes.string,
3267
- /**
3268
- * Returns a string representation of an object.
3269
- */
3270
- toString: PropTypes.func.isRequired,
3271
- /**
3272
- * Returns the primitive value of the specified object.
3273
- */
3274
- valueOf: PropTypes.func.isRequired,
3275
- }),
3276
- PropTypes.string,
3277
- ])
3278
- ),
3279
- PropTypes.number,
3280
- PropTypes.object,
3281
- PropTypes.shape({
3282
- "__@toStringTag": PropTypes.string.isRequired,
3283
- /**
3284
- * Expose the [[Description]] internal slot of a symbol directly.
3285
- */
3286
- description: PropTypes.string,
3287
- /**
3288
- * Returns a string representation of an object.
3289
- */
3290
- toString: PropTypes.func.isRequired,
3291
- /**
3292
- * Returns the primitive value of the specified object.
3293
- */
3294
- valueOf: PropTypes.func.isRequired,
3295
- }),
3296
- PropTypes.string,
3297
- ]),
3298
- /**
3299
- * Padding on left and right
3300
- */
3301
- px: PropTypes.oneOfType([
3302
- PropTypes.arrayOf(
3303
- PropTypes.oneOfType([
3304
- PropTypes.oneOf([null]),
3305
- PropTypes.number,
3306
- PropTypes.shape({
3307
- "__@toStringTag": PropTypes.string.isRequired,
3308
- /**
3309
- * Expose the [[Description]] internal slot of a symbol directly.
3310
- */
3311
- description: PropTypes.string,
3312
- /**
3313
- * Returns a string representation of an object.
3314
- */
3315
- toString: PropTypes.func.isRequired,
3316
- /**
3317
- * Returns the primitive value of the specified object.
3318
- */
3319
- valueOf: PropTypes.func.isRequired,
3320
- }),
3321
- PropTypes.string,
3322
- ])
3323
- ),
3324
- PropTypes.number,
3325
- PropTypes.object,
3326
- PropTypes.shape({
3327
- "__@toStringTag": PropTypes.string.isRequired,
3328
- /**
3329
- * Expose the [[Description]] internal slot of a symbol directly.
3330
- */
3331
- description: PropTypes.string,
3332
- /**
3333
- * Returns a string representation of an object.
3334
- */
3335
- toString: PropTypes.func.isRequired,
3336
- /**
3337
- * Returns the primitive value of the specified object.
3338
- */
3339
- valueOf: PropTypes.func.isRequired,
3340
- }),
3341
- PropTypes.string,
3342
- ]),
3343
- /**
3344
- * Padding on top and bottom
3345
- */
3346
- py: PropTypes.oneOfType([
3347
- PropTypes.arrayOf(
3348
- PropTypes.oneOfType([
3349
- PropTypes.oneOf([null]),
3350
- PropTypes.number,
3351
- PropTypes.shape({
3352
- "__@toStringTag": PropTypes.string.isRequired,
3353
- /**
3354
- * Expose the [[Description]] internal slot of a symbol directly.
3355
- */
3356
- description: PropTypes.string,
3357
- /**
3358
- * Returns a string representation of an object.
3359
- */
3360
- toString: PropTypes.func.isRequired,
3361
- /**
3362
- * Returns the primitive value of the specified object.
3363
- */
3364
- valueOf: PropTypes.func.isRequired,
3365
- }),
3366
- PropTypes.string,
3367
- ])
3368
- ),
3369
- PropTypes.number,
3370
- PropTypes.object,
3371
- PropTypes.shape({
3372
- "__@toStringTag": PropTypes.string.isRequired,
3373
- /**
3374
- * Expose the [[Description]] internal slot of a symbol directly.
3375
- */
3376
- description: PropTypes.string,
3377
- /**
3378
- * Returns a string representation of an object.
3379
- */
3380
- toString: PropTypes.func.isRequired,
3381
- /**
3382
- * Returns the primitive value of the specified object.
3383
- */
3384
- valueOf: PropTypes.func.isRequired,
3385
- }),
3386
- PropTypes.string,
3387
- ]),
3388
- /**
3389
- * HTML rel attribute
3390
- */
3391
- rel: PropTypes.string,
3392
- /**
3393
- * Assigns a size to the button: "small" | "medium" | "large"
3394
- */
3395
- size: PropTypes.oneOf(["large", "medium", "small"]),
3396
- /**
3397
- * Second text child, renders under main text, only when size is "large"
3398
- */
3399
- subtext: PropTypes.string,
3400
- /**
3401
- * HTML target attribute
3402
- */
3403
- target: PropTypes.string,
3404
- /**
3405
- * HTML button type property
3406
- */
3407
- type: PropTypes.string,
525
+ "as": PropTypes.oneOf(["darkBackground", "dashed", "primary", "secondary", "tertiary"]),
526
+ "buttonType": PropTypes.oneOf(["darkBackground", "dashed", "primary", "secondary", "tertiary"]),
527
+ "children": PropTypes.node,
528
+ "destructive": PropTypes.bool,
529
+ "disabled": PropTypes.bool,
530
+ "forwardRef": PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
531
+ "current": PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object]).isRequired
532
+ })]),
533
+ "fullWidth": PropTypes.bool,
534
+ "href": PropTypes.string,
535
+ "iconPosition": PropTypes.oneOf(["after", "before"]),
536
+ "iconTooltipMessage": PropTypes.string,
537
+ "iconTooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
538
+ "iconType": PropTypes.oneOf(["add", "alert", "analysis", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_up", "attach", "bank", "basket_with_squares", "basket", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_today", "calendar", "call", "camera", "card_view", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "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", "coins", "collaborate", "computer_clock", "connect", "copy", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "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", "gift", "graph", "grid", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "italic", "key", "ledger_arrow_left", "ledger_arrow_right", "ledger", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "messages", "minus_large", "minus", "mobile", "money_bag", "pause_circle", "pause", "pdf", "people_switch", "people", "person_info", "person_tick", "person", "phone", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "question", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "services", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "sync", "tag", "three_boxes", "tick_circle", "tick", "unlocked", "upload", "uploaded", "video", "view", "warning"]),
539
+ "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
540
+ "__@toStringTag": PropTypes.string.isRequired,
541
+ "description": PropTypes.string,
542
+ "toString": PropTypes.func.isRequired,
543
+ "valueOf": PropTypes.func.isRequired
544
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
545
+ "__@toStringTag": PropTypes.string.isRequired,
546
+ "description": PropTypes.string,
547
+ "toString": PropTypes.func.isRequired,
548
+ "valueOf": PropTypes.func.isRequired
549
+ }), PropTypes.string]),
550
+ "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
551
+ "__@toStringTag": PropTypes.string.isRequired,
552
+ "description": PropTypes.string,
553
+ "toString": PropTypes.func.isRequired,
554
+ "valueOf": PropTypes.func.isRequired
555
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
556
+ "__@toStringTag": PropTypes.string.isRequired,
557
+ "description": PropTypes.string,
558
+ "toString": PropTypes.func.isRequired,
559
+ "valueOf": PropTypes.func.isRequired
560
+ }), PropTypes.string]),
561
+ "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
562
+ "__@toStringTag": PropTypes.string.isRequired,
563
+ "description": PropTypes.string,
564
+ "toString": PropTypes.func.isRequired,
565
+ "valueOf": PropTypes.func.isRequired
566
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
567
+ "__@toStringTag": PropTypes.string.isRequired,
568
+ "description": PropTypes.string,
569
+ "toString": PropTypes.func.isRequired,
570
+ "valueOf": PropTypes.func.isRequired
571
+ }), PropTypes.string]),
572
+ "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
573
+ "__@toStringTag": PropTypes.string.isRequired,
574
+ "description": PropTypes.string,
575
+ "toString": PropTypes.func.isRequired,
576
+ "valueOf": PropTypes.func.isRequired
577
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
578
+ "__@toStringTag": PropTypes.string.isRequired,
579
+ "description": PropTypes.string,
580
+ "toString": PropTypes.func.isRequired,
581
+ "valueOf": PropTypes.func.isRequired
582
+ }), PropTypes.string]),
583
+ "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
584
+ "__@toStringTag": PropTypes.string.isRequired,
585
+ "description": PropTypes.string,
586
+ "toString": PropTypes.func.isRequired,
587
+ "valueOf": PropTypes.func.isRequired
588
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
589
+ "__@toStringTag": PropTypes.string.isRequired,
590
+ "description": PropTypes.string,
591
+ "toString": PropTypes.func.isRequired,
592
+ "valueOf": PropTypes.func.isRequired
593
+ }), PropTypes.string]),
594
+ "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
595
+ "__@toStringTag": PropTypes.string.isRequired,
596
+ "description": PropTypes.string,
597
+ "toString": PropTypes.func.isRequired,
598
+ "valueOf": PropTypes.func.isRequired
599
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
600
+ "__@toStringTag": PropTypes.string.isRequired,
601
+ "description": PropTypes.string,
602
+ "toString": PropTypes.func.isRequired,
603
+ "valueOf": PropTypes.func.isRequired
604
+ }), PropTypes.string]),
605
+ "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
606
+ "__@toStringTag": PropTypes.string.isRequired,
607
+ "description": PropTypes.string,
608
+ "toString": PropTypes.func.isRequired,
609
+ "valueOf": PropTypes.func.isRequired
610
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
611
+ "__@toStringTag": PropTypes.string.isRequired,
612
+ "description": PropTypes.string,
613
+ "toString": PropTypes.func.isRequired,
614
+ "valueOf": PropTypes.func.isRequired
615
+ }), PropTypes.string]),
616
+ "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
617
+ "__@toStringTag": PropTypes.string.isRequired,
618
+ "description": PropTypes.string,
619
+ "toString": PropTypes.func.isRequired,
620
+ "valueOf": PropTypes.func.isRequired
621
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
622
+ "__@toStringTag": PropTypes.string.isRequired,
623
+ "description": PropTypes.string,
624
+ "toString": PropTypes.func.isRequired,
625
+ "valueOf": PropTypes.func.isRequired
626
+ }), PropTypes.string]),
627
+ "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
628
+ "__@toStringTag": PropTypes.string.isRequired,
629
+ "description": PropTypes.string,
630
+ "toString": PropTypes.func.isRequired,
631
+ "valueOf": PropTypes.func.isRequired
632
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
633
+ "__@toStringTag": PropTypes.string.isRequired,
634
+ "description": PropTypes.string,
635
+ "toString": PropTypes.func.isRequired,
636
+ "valueOf": PropTypes.func.isRequired
637
+ }), PropTypes.string]),
638
+ "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
639
+ "__@toStringTag": PropTypes.string.isRequired,
640
+ "description": PropTypes.string,
641
+ "toString": PropTypes.func.isRequired,
642
+ "valueOf": PropTypes.func.isRequired
643
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
644
+ "__@toStringTag": PropTypes.string.isRequired,
645
+ "description": PropTypes.string,
646
+ "toString": PropTypes.func.isRequired,
647
+ "valueOf": PropTypes.func.isRequired
648
+ }), PropTypes.string]),
649
+ "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
650
+ "__@toStringTag": PropTypes.string.isRequired,
651
+ "description": PropTypes.string,
652
+ "toString": PropTypes.func.isRequired,
653
+ "valueOf": PropTypes.func.isRequired
654
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
655
+ "__@toStringTag": PropTypes.string.isRequired,
656
+ "description": PropTypes.string,
657
+ "toString": PropTypes.func.isRequired,
658
+ "valueOf": PropTypes.func.isRequired
659
+ }), PropTypes.string]),
660
+ "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
661
+ "__@toStringTag": PropTypes.string.isRequired,
662
+ "description": PropTypes.string,
663
+ "toString": PropTypes.func.isRequired,
664
+ "valueOf": PropTypes.func.isRequired
665
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
666
+ "__@toStringTag": PropTypes.string.isRequired,
667
+ "description": PropTypes.string,
668
+ "toString": PropTypes.func.isRequired,
669
+ "valueOf": PropTypes.func.isRequired
670
+ }), PropTypes.string]),
671
+ "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
672
+ "__@toStringTag": PropTypes.string.isRequired,
673
+ "description": PropTypes.string,
674
+ "toString": PropTypes.func.isRequired,
675
+ "valueOf": PropTypes.func.isRequired
676
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
677
+ "__@toStringTag": PropTypes.string.isRequired,
678
+ "description": PropTypes.string,
679
+ "toString": PropTypes.func.isRequired,
680
+ "valueOf": PropTypes.func.isRequired
681
+ }), PropTypes.string]),
682
+ "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
683
+ "__@toStringTag": PropTypes.string.isRequired,
684
+ "description": PropTypes.string,
685
+ "toString": PropTypes.func.isRequired,
686
+ "valueOf": PropTypes.func.isRequired
687
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
688
+ "__@toStringTag": PropTypes.string.isRequired,
689
+ "description": PropTypes.string,
690
+ "toString": PropTypes.func.isRequired,
691
+ "valueOf": PropTypes.func.isRequired
692
+ }), PropTypes.string]),
693
+ "name": PropTypes.string,
694
+ "noWrap": PropTypes.bool,
695
+ "onBlur": PropTypes.func,
696
+ "onChange": PropTypes.func,
697
+ "onClick": PropTypes.func,
698
+ "onFocus": PropTypes.func,
699
+ "onKeyDown": PropTypes.func,
700
+ "p": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
701
+ "__@toStringTag": PropTypes.string.isRequired,
702
+ "description": PropTypes.string,
703
+ "toString": PropTypes.func.isRequired,
704
+ "valueOf": PropTypes.func.isRequired
705
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
706
+ "__@toStringTag": PropTypes.string.isRequired,
707
+ "description": PropTypes.string,
708
+ "toString": PropTypes.func.isRequired,
709
+ "valueOf": PropTypes.func.isRequired
710
+ }), PropTypes.string]),
711
+ "padding": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
712
+ "__@toStringTag": PropTypes.string.isRequired,
713
+ "description": PropTypes.string,
714
+ "toString": PropTypes.func.isRequired,
715
+ "valueOf": PropTypes.func.isRequired
716
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
717
+ "__@toStringTag": PropTypes.string.isRequired,
718
+ "description": PropTypes.string,
719
+ "toString": PropTypes.func.isRequired,
720
+ "valueOf": PropTypes.func.isRequired
721
+ }), PropTypes.string]),
722
+ "paddingBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
723
+ "__@toStringTag": PropTypes.string.isRequired,
724
+ "description": PropTypes.string,
725
+ "toString": PropTypes.func.isRequired,
726
+ "valueOf": PropTypes.func.isRequired
727
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
728
+ "__@toStringTag": PropTypes.string.isRequired,
729
+ "description": PropTypes.string,
730
+ "toString": PropTypes.func.isRequired,
731
+ "valueOf": PropTypes.func.isRequired
732
+ }), PropTypes.string]),
733
+ "paddingLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
734
+ "__@toStringTag": PropTypes.string.isRequired,
735
+ "description": PropTypes.string,
736
+ "toString": PropTypes.func.isRequired,
737
+ "valueOf": PropTypes.func.isRequired
738
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
739
+ "__@toStringTag": PropTypes.string.isRequired,
740
+ "description": PropTypes.string,
741
+ "toString": PropTypes.func.isRequired,
742
+ "valueOf": PropTypes.func.isRequired
743
+ }), PropTypes.string]),
744
+ "paddingRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
745
+ "__@toStringTag": PropTypes.string.isRequired,
746
+ "description": PropTypes.string,
747
+ "toString": PropTypes.func.isRequired,
748
+ "valueOf": PropTypes.func.isRequired
749
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
750
+ "__@toStringTag": PropTypes.string.isRequired,
751
+ "description": PropTypes.string,
752
+ "toString": PropTypes.func.isRequired,
753
+ "valueOf": PropTypes.func.isRequired
754
+ }), PropTypes.string]),
755
+ "paddingTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
756
+ "__@toStringTag": PropTypes.string.isRequired,
757
+ "description": PropTypes.string,
758
+ "toString": PropTypes.func.isRequired,
759
+ "valueOf": PropTypes.func.isRequired
760
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
761
+ "__@toStringTag": PropTypes.string.isRequired,
762
+ "description": PropTypes.string,
763
+ "toString": PropTypes.func.isRequired,
764
+ "valueOf": PropTypes.func.isRequired
765
+ }), PropTypes.string]),
766
+ "paddingX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
767
+ "__@toStringTag": PropTypes.string.isRequired,
768
+ "description": PropTypes.string,
769
+ "toString": PropTypes.func.isRequired,
770
+ "valueOf": PropTypes.func.isRequired
771
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
772
+ "__@toStringTag": PropTypes.string.isRequired,
773
+ "description": PropTypes.string,
774
+ "toString": PropTypes.func.isRequired,
775
+ "valueOf": PropTypes.func.isRequired
776
+ }), PropTypes.string]),
777
+ "paddingY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
778
+ "__@toStringTag": PropTypes.string.isRequired,
779
+ "description": PropTypes.string,
780
+ "toString": PropTypes.func.isRequired,
781
+ "valueOf": PropTypes.func.isRequired
782
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
783
+ "__@toStringTag": PropTypes.string.isRequired,
784
+ "description": PropTypes.string,
785
+ "toString": PropTypes.func.isRequired,
786
+ "valueOf": PropTypes.func.isRequired
787
+ }), PropTypes.string]),
788
+ "pb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
789
+ "__@toStringTag": PropTypes.string.isRequired,
790
+ "description": PropTypes.string,
791
+ "toString": PropTypes.func.isRequired,
792
+ "valueOf": PropTypes.func.isRequired
793
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
794
+ "__@toStringTag": PropTypes.string.isRequired,
795
+ "description": PropTypes.string,
796
+ "toString": PropTypes.func.isRequired,
797
+ "valueOf": PropTypes.func.isRequired
798
+ }), PropTypes.string]),
799
+ "pl": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
800
+ "__@toStringTag": PropTypes.string.isRequired,
801
+ "description": PropTypes.string,
802
+ "toString": PropTypes.func.isRequired,
803
+ "valueOf": PropTypes.func.isRequired
804
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
805
+ "__@toStringTag": PropTypes.string.isRequired,
806
+ "description": PropTypes.string,
807
+ "toString": PropTypes.func.isRequired,
808
+ "valueOf": PropTypes.func.isRequired
809
+ }), PropTypes.string]),
810
+ "pr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
811
+ "__@toStringTag": PropTypes.string.isRequired,
812
+ "description": PropTypes.string,
813
+ "toString": PropTypes.func.isRequired,
814
+ "valueOf": PropTypes.func.isRequired
815
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
816
+ "__@toStringTag": PropTypes.string.isRequired,
817
+ "description": PropTypes.string,
818
+ "toString": PropTypes.func.isRequired,
819
+ "valueOf": PropTypes.func.isRequired
820
+ }), PropTypes.string]),
821
+ "pt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
822
+ "__@toStringTag": PropTypes.string.isRequired,
823
+ "description": PropTypes.string,
824
+ "toString": PropTypes.func.isRequired,
825
+ "valueOf": PropTypes.func.isRequired
826
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
827
+ "__@toStringTag": PropTypes.string.isRequired,
828
+ "description": PropTypes.string,
829
+ "toString": PropTypes.func.isRequired,
830
+ "valueOf": PropTypes.func.isRequired
831
+ }), PropTypes.string]),
832
+ "px": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
833
+ "__@toStringTag": PropTypes.string.isRequired,
834
+ "description": PropTypes.string,
835
+ "toString": PropTypes.func.isRequired,
836
+ "valueOf": PropTypes.func.isRequired
837
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
838
+ "__@toStringTag": PropTypes.string.isRequired,
839
+ "description": PropTypes.string,
840
+ "toString": PropTypes.func.isRequired,
841
+ "valueOf": PropTypes.func.isRequired
842
+ }), PropTypes.string]),
843
+ "py": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
844
+ "__@toStringTag": PropTypes.string.isRequired,
845
+ "description": PropTypes.string,
846
+ "toString": PropTypes.func.isRequired,
847
+ "valueOf": PropTypes.func.isRequired
848
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
849
+ "__@toStringTag": PropTypes.string.isRequired,
850
+ "description": PropTypes.string,
851
+ "toString": PropTypes.func.isRequired,
852
+ "valueOf": PropTypes.func.isRequired
853
+ }), PropTypes.string]),
854
+ "rel": PropTypes.string,
855
+ "size": PropTypes.oneOf(["large", "medium", "small"]),
856
+ "subtext": PropTypes.string,
857
+ "target": PropTypes.string,
858
+ "type": PropTypes.string
3408
859
  };
3409
-
3410
860
  ButtonWithForwardRef.displayName = "Button";
3411
861
  Button.displayName = "Button";
3412
862
  export { ButtonWithForwardRef };
3413
- export default Button;
863
+ export default Button;