carbon-react 105.1.2 → 105.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__internal__/tooltip-provider/index.d.ts +19 -24
- package/esm/__internal__/tooltip-provider/index.js +0 -10
- package/esm/components/app-wrapper/app-wrapper.component.d.ts +4 -0
- package/esm/components/badge/badge.style.d.ts +4 -2
- package/esm/components/button/button-types.style.d.ts +1 -2
- package/esm/components/button/button-types.style.js +3 -1
- package/esm/components/button/button.component.d.ts +67 -36
- package/esm/components/button/button.component.js +3314 -165
- package/esm/components/button/button.config.d.ts +4 -3
- package/esm/components/button/button.style.d.ts +6 -8
- package/esm/components/button/button.style.js +51 -95
- package/esm/components/button/index.d.ts +2 -2
- package/esm/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +1 -2
- package/esm/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +1 -2
- package/esm/components/heading/heading.component.d.ts +5 -0
- package/esm/components/icon/index.d.ts +1 -0
- package/esm/components/multi-action-button/multi-action-button.component.d.ts +3 -1
- package/esm/components/multi-action-button/multi-action-button.component.js +7 -5
- package/esm/components/multi-action-button/multi-action-button.d.ts +4 -2
- package/esm/components/multi-step-wizard/multi-step-wizard.d.ts +22 -0
- package/esm/components/multi-step-wizard/step/step.d.ts +6 -0
- package/esm/components/multi-step-wizard/step/step.style.d.ts +4 -2
- package/esm/components/radio-button/radio-button-svg.component.js +29 -16
- package/esm/components/scrollable-list/scrollable-list.component.d.ts +8 -0
- package/esm/components/split-button/split-button-toggle.style.d.ts +2 -6
- package/esm/components/split-button/split-button.component.d.ts +3 -1
- package/esm/components/split-button/split-button.component.js +7 -4
- package/esm/components/split-button/split-button.d.ts +5 -2
- package/esm/components/tooltip/index.d.ts +2 -1
- package/esm/components/tooltip/tooltip-pointer.style.d.ts +10 -1
- package/esm/components/tooltip/tooltip-pointer.style.js +5 -12
- package/esm/components/tooltip/tooltip.component.d.ts +33 -2
- package/esm/components/tooltip/tooltip.component.js +255 -110
- package/esm/components/tooltip/tooltip.config.d.ts +2 -1
- package/esm/components/tooltip/tooltip.style.d.ts +7 -2
- package/esm/components/tooltip/tooltip.style.js +7 -21
- package/esm/components/typography/typography.component.d.ts +1 -1
- package/esm/locales/en-gb.d.ts +3 -5
- package/esm/locales/en-gb.js +5 -4
- package/esm/locales/index.d.ts +1 -1
- package/esm/locales/index.js +2 -0
- package/esm/locales/locale.d.ts +99 -105
- package/esm/locales/locale.js +1 -0
- package/esm/locales/pl-pl.d.ts +3 -5
- package/esm/locales/pl-pl.js +5 -4
- package/lib/__internal__/tooltip-provider/index.d.ts +19 -24
- package/lib/__internal__/tooltip-provider/index.js +1 -12
- package/lib/components/app-wrapper/app-wrapper.component.d.ts +4 -0
- package/lib/components/badge/badge.style.d.ts +4 -2
- package/lib/components/button/button-types.style.d.ts +1 -2
- package/lib/components/button/button-types.style.js +0 -1
- package/lib/components/button/button.component.d.ts +67 -36
- package/lib/components/button/button.component.js +3381 -172
- package/lib/components/button/button.config.d.ts +4 -3
- package/lib/components/button/button.style.d.ts +6 -8
- package/lib/components/button/button.style.js +52 -101
- package/lib/components/button/index.d.ts +2 -2
- package/lib/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +1 -2
- package/lib/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +1 -2
- package/lib/components/heading/heading.component.d.ts +5 -0
- package/lib/components/icon/index.d.ts +1 -0
- package/lib/components/multi-action-button/multi-action-button.component.d.ts +3 -1
- package/lib/components/multi-action-button/multi-action-button.component.js +6 -4
- package/lib/components/multi-action-button/multi-action-button.d.ts +4 -2
- package/lib/components/multi-step-wizard/multi-step-wizard.d.ts +22 -0
- package/lib/components/multi-step-wizard/step/step.d.ts +6 -0
- package/lib/components/multi-step-wizard/step/step.style.d.ts +4 -2
- package/lib/components/radio-button/radio-button-svg.component.js +38 -20
- package/lib/components/scrollable-list/scrollable-list.component.d.ts +8 -0
- package/lib/components/split-button/split-button-toggle.style.d.ts +2 -6
- package/lib/components/split-button/split-button.component.d.ts +3 -1
- package/lib/components/split-button/split-button.component.js +6 -3
- package/lib/components/split-button/split-button.d.ts +5 -2
- package/lib/components/tooltip/index.d.ts +2 -1
- package/lib/components/tooltip/tooltip-pointer.style.d.ts +10 -1
- package/lib/components/tooltip/tooltip-pointer.style.js +7 -15
- package/lib/components/tooltip/tooltip.component.d.ts +33 -2
- package/lib/components/tooltip/tooltip.component.js +221 -130
- package/lib/components/tooltip/tooltip.config.d.ts +2 -1
- package/lib/components/tooltip/tooltip.style.d.ts +7 -2
- package/lib/components/tooltip/tooltip.style.js +7 -22
- package/lib/components/typography/typography.component.d.ts +1 -1
- package/lib/locales/en-gb.d.ts +3 -5
- package/lib/locales/en-gb.js +2 -1
- package/lib/locales/index.d.ts +1 -1
- package/lib/locales/index.js +23 -0
- package/lib/locales/locale.d.ts +99 -105
- package/lib/locales/locale.js +5 -0
- package/lib/locales/package.json +6 -0
- package/lib/locales/pl-pl.d.ts +3 -5
- package/lib/locales/pl-pl.js +2 -1
- package/package.json +7 -4
- package/esm/components/button/button.d.ts +0 -85
- package/esm/components/tooltip/tooltip.d.ts +0 -40
- package/lib/components/button/button.d.ts +0 -85
- package/lib/components/tooltip/tooltip.d.ts +0 -40
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
function _extends() {
|
|
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
|
+
}
|
|
2
17
|
|
|
3
|
-
import React, {
|
|
18
|
+
import React, { useCallback, useState } from "react";
|
|
4
19
|
import PropTypes from "prop-types";
|
|
5
|
-
import
|
|
20
|
+
import invariant from "invariant";
|
|
6
21
|
import Icon from "../icon";
|
|
7
22
|
import StyledButton, { StyledButtonSubtext } from "./button.style";
|
|
8
23
|
import tagComponent from "../../__internal__/utils/helpers/tags/tags";
|
|
@@ -20,51 +35,110 @@ function renderChildren({
|
|
|
20
35
|
buttonType,
|
|
21
36
|
iconTooltipMessage,
|
|
22
37
|
iconTooltipPosition,
|
|
23
|
-
tooltipTarget
|
|
24
|
-
/* eslint-enable */
|
|
25
|
-
|
|
38
|
+
tooltipTarget,
|
|
26
39
|
}) {
|
|
27
40
|
const iconColorMap = {
|
|
28
41
|
primary: "--colorsActionMajorYang100",
|
|
29
42
|
secondary: "--colorsActionMajor500",
|
|
30
43
|
tertiary: "--colorsActionMajor500",
|
|
31
|
-
darkBackground: "--colorsActionMajor500"
|
|
44
|
+
darkBackground: "--colorsActionMajor500",
|
|
45
|
+
dashed: "--colorsActionMajor500",
|
|
32
46
|
};
|
|
47
|
+
|
|
33
48
|
const iconProps = {
|
|
34
49
|
"aria-hidden": true,
|
|
35
|
-
type: iconType,
|
|
36
50
|
disabled,
|
|
37
|
-
bgSize: "extra-small",
|
|
38
51
|
color: iconColorMap[buttonType],
|
|
39
|
-
bg: "transparent"
|
|
52
|
+
bg: "transparent",
|
|
53
|
+
bgSize: "extra-small",
|
|
40
54
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
+
);
|
|
53
126
|
}
|
|
54
127
|
|
|
55
128
|
let deprecatedWarnTriggered = false;
|
|
56
129
|
|
|
57
130
|
const Button = ({
|
|
58
|
-
size,
|
|
59
|
-
subtext,
|
|
131
|
+
size = "medium",
|
|
132
|
+
subtext = "",
|
|
60
133
|
as,
|
|
61
134
|
children,
|
|
62
135
|
forwardRef,
|
|
63
136
|
"aria-label": ariaLabel,
|
|
64
|
-
disabled,
|
|
65
|
-
|
|
137
|
+
disabled = false,
|
|
138
|
+
destructive = false,
|
|
139
|
+
buttonType: buttonTypeProp = "secondary",
|
|
66
140
|
iconType,
|
|
67
|
-
iconPosition,
|
|
141
|
+
iconPosition = "before",
|
|
68
142
|
href,
|
|
69
143
|
m = 0,
|
|
70
144
|
px,
|
|
@@ -73,28 +147,40 @@ const Button = ({
|
|
|
73
147
|
rel,
|
|
74
148
|
iconTooltipMessage,
|
|
75
149
|
iconTooltipPosition,
|
|
150
|
+
fullWidth = false,
|
|
76
151
|
...rest
|
|
77
152
|
}) => {
|
|
78
153
|
if (!deprecatedWarnTriggered && as) {
|
|
79
154
|
deprecatedWarnTriggered = true;
|
|
80
|
-
Logger.deprecate(
|
|
81
|
-
|
|
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
|
+
);
|
|
82
159
|
}
|
|
83
160
|
|
|
84
|
-
|
|
85
|
-
|
|
161
|
+
invariant(
|
|
162
|
+
!!(children || iconType),
|
|
163
|
+
"Either prop `iconType` must be defined or this node must have children."
|
|
164
|
+
);
|
|
86
165
|
|
|
87
|
-
if (subtext
|
|
88
|
-
|
|
166
|
+
if (subtext) {
|
|
167
|
+
invariant(
|
|
168
|
+
size === "large",
|
|
169
|
+
"subtext prop has no effect unless the button is large."
|
|
170
|
+
);
|
|
89
171
|
}
|
|
90
172
|
|
|
173
|
+
const [internalRef, setInternalRef] = useState();
|
|
174
|
+
const buttonType = as || buttonTypeProp;
|
|
91
175
|
let paddingX;
|
|
92
176
|
|
|
93
|
-
const handleLinkKeyDown = event => {
|
|
177
|
+
const handleLinkKeyDown = (event) => {
|
|
94
178
|
// If space key click link
|
|
95
179
|
if (event.key === " ") {
|
|
96
180
|
event.preventDefault();
|
|
97
|
-
internalRef
|
|
181
|
+
internalRef === null || internalRef === void 0
|
|
182
|
+
? void 0
|
|
183
|
+
: internalRef.click();
|
|
98
184
|
}
|
|
99
185
|
};
|
|
100
186
|
|
|
@@ -111,154 +197,3217 @@ const Button = ({
|
|
|
111
197
|
paddingX = 3;
|
|
112
198
|
}
|
|
113
199
|
|
|
114
|
-
const setRefs = useCallback(
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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
|
+
);
|
|
154
255
|
};
|
|
155
256
|
|
|
156
257
|
Button.propTypes = {
|
|
157
|
-
/**
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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
|
+
*/
|
|
161
263
|
"aria-label": PropTypes.string,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
+
*/
|
|
179
291
|
destructive: PropTypes.bool,
|
|
180
|
-
|
|
181
|
-
/** Defines an Icon position related to the children: "before" | "after" */
|
|
182
|
-
iconPosition: PropTypes.oneOf(["before", "after"]),
|
|
183
|
-
|
|
184
292
|
/**
|
|
185
|
-
*
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
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
|
+
*/
|
|
201
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,
|
|
1825
|
+
};
|
|
202
1826
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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
|
+
);
|
|
211
1838
|
|
|
212
|
-
|
|
1839
|
+
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
|
+
"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
|
+
*/
|
|
213
1891
|
fullWidth: PropTypes.bool,
|
|
214
|
-
|
|
215
|
-
|
|
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
|
+
*/
|
|
216
2737
|
noWrap: PropTypes.bool,
|
|
217
|
-
|
|
218
|
-
|
|
2738
|
+
/**
|
|
2739
|
+
* Specify a callback triggered on blur
|
|
2740
|
+
*/
|
|
219
2741
|
onBlur: PropTypes.func,
|
|
220
|
-
|
|
221
|
-
|
|
2742
|
+
/**
|
|
2743
|
+
* Specify a callback triggered on change
|
|
2744
|
+
*/
|
|
222
2745
|
onChange: PropTypes.func,
|
|
223
|
-
|
|
224
|
-
|
|
2746
|
+
/**
|
|
2747
|
+
* onClick handler
|
|
2748
|
+
*/
|
|
225
2749
|
onClick: PropTypes.func,
|
|
226
|
-
|
|
227
|
-
|
|
2750
|
+
/**
|
|
2751
|
+
* Specify a callback triggered on focus
|
|
2752
|
+
*/
|
|
228
2753
|
onFocus: PropTypes.func,
|
|
229
|
-
|
|
230
|
-
|
|
2754
|
+
/**
|
|
2755
|
+
* Specify a callback triggered on keyDown
|
|
2756
|
+
*/
|
|
231
2757
|
onKeyDown: PropTypes.func,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
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
|
+
*/
|
|
243
3403
|
target: PropTypes.string,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
Button.defaultProps = {
|
|
249
|
-
buttonType: "secondary",
|
|
250
|
-
size: "medium",
|
|
251
|
-
fullWidth: false,
|
|
252
|
-
disabled: false,
|
|
253
|
-
destructive: false,
|
|
254
|
-
iconPosition: "before",
|
|
255
|
-
subtext: ""
|
|
3404
|
+
/**
|
|
3405
|
+
* HTML button type property
|
|
3406
|
+
*/
|
|
3407
|
+
type: PropTypes.string,
|
|
256
3408
|
};
|
|
257
|
-
|
|
258
|
-
forwardRef: ref
|
|
259
|
-
}, props)));
|
|
3409
|
+
|
|
260
3410
|
ButtonWithForwardRef.displayName = "Button";
|
|
261
|
-
ButtonWithForwardRef.defaultProps = Button.defaultProps;
|
|
262
3411
|
Button.displayName = "Button";
|
|
263
3412
|
export { ButtonWithForwardRef };
|
|
264
|
-
export default Button;
|
|
3413
|
+
export default Button;
|