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