carbon-react 109.3.3 → 109.3.4
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__/fieldset/fieldset.component.d.ts +25 -0
- package/esm/__internal__/fieldset/fieldset.component.js +167 -50
- package/esm/__internal__/fieldset/fieldset.style.d.ts +13 -0
- package/esm/__internal__/fieldset/fieldset.style.js +0 -10
- package/esm/__internal__/fieldset/index.d.ts +2 -1
- package/esm/__internal__/popover/index.d.ts +2 -1
- package/esm/__internal__/popover/popover.component.d.ts +18 -0
- package/esm/__internal__/popover/popover.component.js +23 -21
- package/esm/__internal__/popover/popover.style.d.ts +2 -0
- package/esm/components/button/button.component.d.ts +2 -0
- package/esm/components/button/button.component.js +2 -0
- package/esm/components/multi-action-button/multi-action-button.component.js +1 -0
- package/esm/components/pager/pager.component.js +1 -1
- package/esm/components/pager/pager.style.js +1 -1
- package/esm/components/split-button/index.d.ts +2 -2
- package/esm/components/split-button/split-button-children.style.d.ts +8 -0
- package/esm/components/split-button/split-button-children.style.js +3 -4
- package/esm/components/split-button/split-button-toggle.style.d.ts +10 -0
- package/esm/components/split-button/split-button.component.d.ts +29 -0
- package/esm/components/split-button/split-button.component.js +534 -87
- package/esm/components/split-button/split-button.config.d.ts +4 -0
- package/esm/components/split-button/split-button.style.d.ts +2 -0
- package/lib/__internal__/fieldset/fieldset.component.d.ts +25 -0
- package/lib/__internal__/fieldset/fieldset.component.js +167 -53
- package/lib/__internal__/fieldset/fieldset.style.d.ts +13 -0
- package/lib/__internal__/fieldset/fieldset.style.js +1 -12
- package/lib/__internal__/fieldset/index.d.ts +2 -1
- package/lib/__internal__/popover/index.d.ts +2 -1
- package/lib/__internal__/popover/popover.component.d.ts +18 -0
- package/lib/__internal__/popover/popover.component.js +24 -22
- package/lib/__internal__/popover/popover.style.d.ts +2 -0
- package/lib/components/button/button.component.d.ts +2 -0
- package/lib/components/button/button.component.js +2 -0
- package/lib/components/multi-action-button/multi-action-button.component.js +1 -0
- package/lib/components/pager/pager.component.js +1 -1
- package/lib/components/pager/pager.style.js +1 -1
- package/lib/components/split-button/index.d.ts +2 -2
- package/lib/components/split-button/split-button-children.style.d.ts +8 -0
- package/lib/components/split-button/split-button-children.style.js +3 -4
- package/lib/components/split-button/split-button-toggle.style.d.ts +10 -0
- package/lib/components/split-button/split-button.component.d.ts +29 -0
- package/lib/components/split-button/split-button.component.js +535 -89
- package/lib/components/split-button/split-button.config.d.ts +4 -0
- package/lib/components/split-button/split-button.style.d.ts +2 -0
- package/package.json +1 -1
- package/esm/__internal__/fieldset/fieldset.d.ts +0 -37
- package/esm/__internal__/popover/popover.d.ts +0 -46
- package/esm/components/split-button/split-button.d.ts +0 -29
- package/lib/__internal__/fieldset/fieldset.d.ts +0 -37
- package/lib/__internal__/popover/popover.d.ts +0 -46
- package/lib/components/split-button/split-button.d.ts +0 -29
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { useContext, useCallback, useMemo, useRef, useState } from "react";
|
|
4
|
-
import { ThemeContext } from "styled-components";
|
|
5
4
|
import PropTypes from "prop-types";
|
|
6
|
-
import
|
|
5
|
+
import { ThemeContext } from "styled-components";
|
|
7
6
|
import useClickAwayListener from "../../hooks/__internal__/useClickAwayListener";
|
|
8
7
|
import Icon from "../icon";
|
|
9
8
|
import Button from "../button";
|
|
@@ -16,7 +15,6 @@ import Popover from "../../__internal__/popover";
|
|
|
16
15
|
import { filterStyledSystemMarginProps, filterOutStyledSystemSpacingProps } from "../../style/utils";
|
|
17
16
|
import { baseTheme } from "../../style/themes";
|
|
18
17
|
import useMenuKeyboardNavigation from "../../hooks/__internal__/useMenuKeyboardNavigation";
|
|
19
|
-
const marginPropTypes = filterStyledSystemMarginProps(styledSystemPropTypes.space);
|
|
20
18
|
const CONTENT_WIDTH_RATIO = 0.75;
|
|
21
19
|
|
|
22
20
|
const SplitButton = ({
|
|
@@ -38,9 +36,8 @@ const SplitButton = ({
|
|
|
38
36
|
const buttonLabelId = useRef(guid());
|
|
39
37
|
const buttonChildren = useMemo(() => React.Children.toArray(children), [children]);
|
|
40
38
|
const buttonChildrenRefs = useMemo(() => buttonChildren.map(() => /*#__PURE__*/React.createRef()), [buttonChildren]);
|
|
41
|
-
const splitButtonNode = useRef();
|
|
42
|
-
const toggleButton = useRef();
|
|
43
|
-
const buttonContainer = useRef();
|
|
39
|
+
const splitButtonNode = useRef(null);
|
|
40
|
+
const toggleButton = useRef(null);
|
|
44
41
|
const [showAdditionalButtons, setShowAdditionalButtons] = useState(false);
|
|
45
42
|
const [minWidth, setMinWidth] = useState(0);
|
|
46
43
|
const hideButtons = useCallback(() => {
|
|
@@ -49,39 +46,59 @@ const SplitButton = ({
|
|
|
49
46
|
}, []);
|
|
50
47
|
const handleKeyDown = useMenuKeyboardNavigation(toggleButton, buttonChildrenRefs, hideButtons);
|
|
51
48
|
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
disabled,
|
|
60
|
-
iconType,
|
|
61
|
-
onClick,
|
|
62
|
-
size,
|
|
63
|
-
subtext,
|
|
64
|
-
...filterOutStyledSystemSpacingProps(rest)
|
|
65
|
-
};
|
|
49
|
+
function showButtons() {
|
|
50
|
+
setShowAdditionalButtons(true);
|
|
51
|
+
/* istanbul ignore else */
|
|
52
|
+
|
|
53
|
+
if (splitButtonNode.current) {
|
|
54
|
+
setMinWidth(CONTENT_WIDTH_RATIO * splitButtonNode.current.getBoundingClientRect().width);
|
|
55
|
+
}
|
|
66
56
|
}
|
|
67
57
|
|
|
68
|
-
function
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
displayed: showAdditionalButtons,
|
|
72
|
-
onTouchStart: showButtons,
|
|
73
|
-
onKeyDown: handleToggleButtonKeyDown,
|
|
74
|
-
buttonType,
|
|
75
|
-
size
|
|
76
|
-
};
|
|
58
|
+
function handleToggleButtonKeyDown(ev) {
|
|
59
|
+
if (Events.isEnterKey(ev) || Events.isSpaceKey(ev) || Events.isDownKey(ev) || Events.isUpKey(ev)) {
|
|
60
|
+
ev.preventDefault();
|
|
77
61
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
62
|
+
if (!showAdditionalButtons) {
|
|
63
|
+
showButtons();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
setTimeout(() => {
|
|
67
|
+
var _buttonChildrenRefs$, _buttonChildrenRefs$$;
|
|
81
68
|
|
|
82
|
-
|
|
69
|
+
(_buttonChildrenRefs$ = buttonChildrenRefs[0]) === null || _buttonChildrenRefs$ === void 0 ? void 0 : (_buttonChildrenRefs$$ = _buttonChildrenRefs$.current) === null || _buttonChildrenRefs$$ === void 0 ? void 0 : _buttonChildrenRefs$$.focus();
|
|
70
|
+
}, 0);
|
|
71
|
+
} else if (Events.isEscKey(ev)) {
|
|
72
|
+
setShowAdditionalButtons(false);
|
|
73
|
+
ev.preventDefault();
|
|
74
|
+
}
|
|
83
75
|
}
|
|
84
76
|
|
|
77
|
+
const mainButtonProps = {
|
|
78
|
+
onMouseEnter: hideButtons,
|
|
79
|
+
onFocus: hideButtons,
|
|
80
|
+
onTouchStart: hideButtons,
|
|
81
|
+
iconPosition,
|
|
82
|
+
buttonType,
|
|
83
|
+
disabled,
|
|
84
|
+
iconType,
|
|
85
|
+
onClick: onClick,
|
|
86
|
+
size,
|
|
87
|
+
subtext,
|
|
88
|
+
...filterOutStyledSystemSpacingProps(rest)
|
|
89
|
+
};
|
|
90
|
+
const toggleButtonProps = {
|
|
91
|
+
disabled,
|
|
92
|
+
displayed: showAdditionalButtons,
|
|
93
|
+
onTouchStart: showButtons,
|
|
94
|
+
onKeyDown: handleToggleButtonKeyDown,
|
|
95
|
+
buttonType,
|
|
96
|
+
size,
|
|
97
|
+
...(!disabled && {
|
|
98
|
+
onMouseEnter: showButtons
|
|
99
|
+
})
|
|
100
|
+
};
|
|
101
|
+
|
|
85
102
|
function componentTags() {
|
|
86
103
|
return {
|
|
87
104
|
"data-component": "split-button",
|
|
@@ -103,7 +120,7 @@ const SplitButton = ({
|
|
|
103
120
|
"data-element": "main-button",
|
|
104
121
|
key: "main-button",
|
|
105
122
|
id: buttonLabelId.current
|
|
106
|
-
}, mainButtonProps
|
|
123
|
+
}, mainButtonProps), text), /*#__PURE__*/React.createElement(StyledSplitButtonToggle, _extends({
|
|
107
124
|
"aria-haspopup": "true",
|
|
108
125
|
"aria-expanded": showAdditionalButtons,
|
|
109
126
|
"aria-label": "Show more",
|
|
@@ -111,7 +128,7 @@ const SplitButton = ({
|
|
|
111
128
|
key: "toggle-button",
|
|
112
129
|
type: "button",
|
|
113
130
|
ref: toggleButton
|
|
114
|
-
}, toggleButtonProps
|
|
131
|
+
}, toggleButtonProps), /*#__PURE__*/React.createElement(Icon, {
|
|
115
132
|
type: "dropdown",
|
|
116
133
|
bgSize: "extra-small",
|
|
117
134
|
color: getIconColor(),
|
|
@@ -120,30 +137,6 @@ const SplitButton = ({
|
|
|
120
137
|
}))];
|
|
121
138
|
}
|
|
122
139
|
|
|
123
|
-
function showButtons() {
|
|
124
|
-
setShowAdditionalButtons(true);
|
|
125
|
-
setMinWidth(CONTENT_WIDTH_RATIO * splitButtonNode.current.getBoundingClientRect().width);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
function handleToggleButtonKeyDown(ev) {
|
|
129
|
-
if (Events.isEnterKey(ev) || Events.isSpaceKey(ev) || Events.isDownKey(ev) || Events.isUpKey(ev)) {
|
|
130
|
-
ev.preventDefault();
|
|
131
|
-
|
|
132
|
-
if (!showAdditionalButtons) {
|
|
133
|
-
showButtons();
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
setTimeout(() => {
|
|
137
|
-
var _buttonChildrenRefs$, _buttonChildrenRefs$$;
|
|
138
|
-
|
|
139
|
-
(_buttonChildrenRefs$ = buttonChildrenRefs[0]) === null || _buttonChildrenRefs$ === void 0 ? void 0 : (_buttonChildrenRefs$$ = _buttonChildrenRefs$.current) === null || _buttonChildrenRefs$$ === void 0 ? void 0 : _buttonChildrenRefs$$.focus();
|
|
140
|
-
}, 0);
|
|
141
|
-
} else if (Events.isEscKey(ev)) {
|
|
142
|
-
setShowAdditionalButtons(false);
|
|
143
|
-
ev.preventDefault();
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
140
|
function childrenWithProps() {
|
|
148
141
|
const childArray = Array.isArray(children) ? children : [children];
|
|
149
142
|
return childArray.filter(Boolean).map((child, index) => {
|
|
@@ -175,7 +168,6 @@ const SplitButton = ({
|
|
|
175
168
|
"data-element": "additional-buttons",
|
|
176
169
|
align: align,
|
|
177
170
|
minWidth: minWidth,
|
|
178
|
-
ref: buttonContainer,
|
|
179
171
|
onKeyDown: handleKeyDown
|
|
180
172
|
}, childrenWithProps()));
|
|
181
173
|
}
|
|
@@ -188,34 +180,489 @@ const SplitButton = ({
|
|
|
188
180
|
}, componentTags(), filterStyledSystemMarginProps(rest)), renderMainButton(), renderAdditionalButtons());
|
|
189
181
|
};
|
|
190
182
|
|
|
191
|
-
SplitButton.propTypes = {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
183
|
+
SplitButton.propTypes = {
|
|
184
|
+
"about": PropTypes.string,
|
|
185
|
+
"accessKey": PropTypes.string,
|
|
186
|
+
"align": PropTypes.oneOf(["left", "right"]),
|
|
187
|
+
"aria-activedescendant": PropTypes.string,
|
|
188
|
+
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
189
|
+
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
190
|
+
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
191
|
+
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
192
|
+
"aria-colcount": PropTypes.number,
|
|
193
|
+
"aria-colindex": PropTypes.number,
|
|
194
|
+
"aria-colspan": PropTypes.number,
|
|
195
|
+
"aria-controls": PropTypes.string,
|
|
196
|
+
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
197
|
+
"aria-describedby": PropTypes.string,
|
|
198
|
+
"aria-details": PropTypes.string,
|
|
199
|
+
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
200
|
+
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
201
|
+
"aria-errormessage": PropTypes.string,
|
|
202
|
+
"aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
203
|
+
"aria-flowto": PropTypes.string,
|
|
204
|
+
"aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
205
|
+
"aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
|
|
206
|
+
"aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
207
|
+
"aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
|
|
208
|
+
"aria-keyshortcuts": PropTypes.string,
|
|
209
|
+
"aria-label": PropTypes.string,
|
|
210
|
+
"aria-labelledby": PropTypes.string,
|
|
211
|
+
"aria-level": PropTypes.number,
|
|
212
|
+
"aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
|
|
213
|
+
"aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
214
|
+
"aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
215
|
+
"aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
216
|
+
"aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
|
|
217
|
+
"aria-owns": PropTypes.string,
|
|
218
|
+
"aria-placeholder": PropTypes.string,
|
|
219
|
+
"aria-posinset": PropTypes.number,
|
|
220
|
+
"aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
221
|
+
"aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
222
|
+
"aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
|
|
223
|
+
"aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
224
|
+
"aria-roledescription": PropTypes.string,
|
|
225
|
+
"aria-rowcount": PropTypes.number,
|
|
226
|
+
"aria-rowindex": PropTypes.number,
|
|
227
|
+
"aria-rowspan": PropTypes.number,
|
|
228
|
+
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
229
|
+
"aria-setsize": PropTypes.number,
|
|
230
|
+
"aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
|
|
231
|
+
"aria-valuemax": PropTypes.number,
|
|
232
|
+
"aria-valuemin": PropTypes.number,
|
|
233
|
+
"aria-valuenow": PropTypes.number,
|
|
234
|
+
"aria-valuetext": PropTypes.string,
|
|
235
|
+
"autoCapitalize": PropTypes.string,
|
|
236
|
+
"autoCorrect": PropTypes.string,
|
|
237
|
+
"autoFocus": PropTypes.bool,
|
|
238
|
+
"autoSave": PropTypes.string,
|
|
239
|
+
"buttonType": PropTypes.oneOf(["primary", "secondary"]),
|
|
240
|
+
"children": PropTypes.node,
|
|
241
|
+
"className": PropTypes.string,
|
|
242
|
+
"color": PropTypes.string,
|
|
243
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
244
|
+
"contextMenu": PropTypes.string,
|
|
245
|
+
"css": PropTypes.oneOfType([PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
246
|
+
"__emotion_styles": PropTypes.any.isRequired
|
|
247
|
+
}), PropTypes.string, PropTypes.bool]),
|
|
248
|
+
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
249
|
+
"__html": PropTypes.string.isRequired
|
|
250
|
+
}),
|
|
200
251
|
"data-element": PropTypes.string,
|
|
201
|
-
|
|
202
|
-
/** A custom value for the data-role attribute */
|
|
203
252
|
"data-role": PropTypes.string,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
253
|
+
"datatype": PropTypes.string,
|
|
254
|
+
"defaultChecked": PropTypes.bool,
|
|
255
|
+
"defaultValue": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
|
|
256
|
+
"dir": PropTypes.string,
|
|
257
|
+
"disabled": PropTypes.bool,
|
|
258
|
+
"draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
259
|
+
"form": PropTypes.string,
|
|
260
|
+
"formAction": PropTypes.string,
|
|
261
|
+
"formEncType": PropTypes.string,
|
|
262
|
+
"formMethod": PropTypes.string,
|
|
263
|
+
"formNoValidate": PropTypes.bool,
|
|
264
|
+
"formTarget": PropTypes.string,
|
|
265
|
+
"hidden": PropTypes.bool,
|
|
266
|
+
"iconPosition": PropTypes.oneOf(["after", "before"]),
|
|
267
|
+
"iconType": PropTypes.oneOf(["add", "admin", "alert", "analysis", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_up", "arrow", "attach", "bank", "basket_with_squares", "basket", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_today", "calendar", "call", "camera", "card_view", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "coins", "collaborate", "computer_clock", "connect", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "gift", "go", "graph", "grid", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "italic", "key", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "pause_circle", "pause", "pdf", "people_switch", "people", "person_info", "person_tick", "person", "phone", "piggy_bank", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "question_hollow", "question_mark", "question", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "sync", "tag", "talk", "three_boxes", "tick_circle", "tick", "true_tick", "undo", "unlocked", "upload", "uploaded", "video", "view", "warning"]),
|
|
268
|
+
"id": PropTypes.string,
|
|
269
|
+
"inlist": PropTypes.any,
|
|
270
|
+
"inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
|
|
271
|
+
"is": PropTypes.string,
|
|
272
|
+
"itemID": PropTypes.string,
|
|
273
|
+
"itemProp": PropTypes.string,
|
|
274
|
+
"itemRef": PropTypes.string,
|
|
275
|
+
"itemScope": PropTypes.bool,
|
|
276
|
+
"itemType": PropTypes.string,
|
|
277
|
+
"lang": PropTypes.string,
|
|
278
|
+
"m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
279
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
280
|
+
"description": PropTypes.string,
|
|
281
|
+
"toString": PropTypes.func.isRequired,
|
|
282
|
+
"valueOf": PropTypes.func.isRequired
|
|
283
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
284
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
285
|
+
"description": PropTypes.string,
|
|
286
|
+
"toString": PropTypes.func.isRequired,
|
|
287
|
+
"valueOf": PropTypes.func.isRequired
|
|
288
|
+
}), PropTypes.string]),
|
|
289
|
+
"margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
290
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
291
|
+
"description": PropTypes.string,
|
|
292
|
+
"toString": PropTypes.func.isRequired,
|
|
293
|
+
"valueOf": PropTypes.func.isRequired
|
|
294
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
295
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
296
|
+
"description": PropTypes.string,
|
|
297
|
+
"toString": PropTypes.func.isRequired,
|
|
298
|
+
"valueOf": PropTypes.func.isRequired
|
|
299
|
+
}), PropTypes.string]),
|
|
300
|
+
"marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
301
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
302
|
+
"description": PropTypes.string,
|
|
303
|
+
"toString": PropTypes.func.isRequired,
|
|
304
|
+
"valueOf": PropTypes.func.isRequired
|
|
305
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
306
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
307
|
+
"description": PropTypes.string,
|
|
308
|
+
"toString": PropTypes.func.isRequired,
|
|
309
|
+
"valueOf": PropTypes.func.isRequired
|
|
310
|
+
}), PropTypes.string]),
|
|
311
|
+
"marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
312
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
313
|
+
"description": PropTypes.string,
|
|
314
|
+
"toString": PropTypes.func.isRequired,
|
|
315
|
+
"valueOf": PropTypes.func.isRequired
|
|
316
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
317
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
318
|
+
"description": PropTypes.string,
|
|
319
|
+
"toString": PropTypes.func.isRequired,
|
|
320
|
+
"valueOf": PropTypes.func.isRequired
|
|
321
|
+
}), PropTypes.string]),
|
|
322
|
+
"marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
323
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
324
|
+
"description": PropTypes.string,
|
|
325
|
+
"toString": PropTypes.func.isRequired,
|
|
326
|
+
"valueOf": PropTypes.func.isRequired
|
|
327
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
328
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
329
|
+
"description": PropTypes.string,
|
|
330
|
+
"toString": PropTypes.func.isRequired,
|
|
331
|
+
"valueOf": PropTypes.func.isRequired
|
|
332
|
+
}), PropTypes.string]),
|
|
333
|
+
"marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
334
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
335
|
+
"description": PropTypes.string,
|
|
336
|
+
"toString": PropTypes.func.isRequired,
|
|
337
|
+
"valueOf": PropTypes.func.isRequired
|
|
338
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
339
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
340
|
+
"description": PropTypes.string,
|
|
341
|
+
"toString": PropTypes.func.isRequired,
|
|
342
|
+
"valueOf": PropTypes.func.isRequired
|
|
343
|
+
}), PropTypes.string]),
|
|
344
|
+
"marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
345
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
346
|
+
"description": PropTypes.string,
|
|
347
|
+
"toString": PropTypes.func.isRequired,
|
|
348
|
+
"valueOf": PropTypes.func.isRequired
|
|
349
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
350
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
351
|
+
"description": PropTypes.string,
|
|
352
|
+
"toString": PropTypes.func.isRequired,
|
|
353
|
+
"valueOf": PropTypes.func.isRequired
|
|
354
|
+
}), PropTypes.string]),
|
|
355
|
+
"marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
356
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
357
|
+
"description": PropTypes.string,
|
|
358
|
+
"toString": PropTypes.func.isRequired,
|
|
359
|
+
"valueOf": PropTypes.func.isRequired
|
|
360
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
361
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
362
|
+
"description": PropTypes.string,
|
|
363
|
+
"toString": PropTypes.func.isRequired,
|
|
364
|
+
"valueOf": PropTypes.func.isRequired
|
|
365
|
+
}), PropTypes.string]),
|
|
366
|
+
"mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
367
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
368
|
+
"description": PropTypes.string,
|
|
369
|
+
"toString": PropTypes.func.isRequired,
|
|
370
|
+
"valueOf": PropTypes.func.isRequired
|
|
371
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
372
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
373
|
+
"description": PropTypes.string,
|
|
374
|
+
"toString": PropTypes.func.isRequired,
|
|
375
|
+
"valueOf": PropTypes.func.isRequired
|
|
376
|
+
}), PropTypes.string]),
|
|
377
|
+
"ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
378
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
379
|
+
"description": PropTypes.string,
|
|
380
|
+
"toString": PropTypes.func.isRequired,
|
|
381
|
+
"valueOf": PropTypes.func.isRequired
|
|
382
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
383
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
384
|
+
"description": PropTypes.string,
|
|
385
|
+
"toString": PropTypes.func.isRequired,
|
|
386
|
+
"valueOf": PropTypes.func.isRequired
|
|
387
|
+
}), PropTypes.string]),
|
|
388
|
+
"mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
389
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
390
|
+
"description": PropTypes.string,
|
|
391
|
+
"toString": PropTypes.func.isRequired,
|
|
392
|
+
"valueOf": PropTypes.func.isRequired
|
|
393
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
394
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
395
|
+
"description": PropTypes.string,
|
|
396
|
+
"toString": PropTypes.func.isRequired,
|
|
397
|
+
"valueOf": PropTypes.func.isRequired
|
|
398
|
+
}), PropTypes.string]),
|
|
399
|
+
"mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
400
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
401
|
+
"description": PropTypes.string,
|
|
402
|
+
"toString": PropTypes.func.isRequired,
|
|
403
|
+
"valueOf": PropTypes.func.isRequired
|
|
404
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
405
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
406
|
+
"description": PropTypes.string,
|
|
407
|
+
"toString": PropTypes.func.isRequired,
|
|
408
|
+
"valueOf": PropTypes.func.isRequired
|
|
409
|
+
}), PropTypes.string]),
|
|
410
|
+
"mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
411
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
412
|
+
"description": PropTypes.string,
|
|
413
|
+
"toString": PropTypes.func.isRequired,
|
|
414
|
+
"valueOf": PropTypes.func.isRequired
|
|
415
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
416
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
417
|
+
"description": PropTypes.string,
|
|
418
|
+
"toString": PropTypes.func.isRequired,
|
|
419
|
+
"valueOf": PropTypes.func.isRequired
|
|
420
|
+
}), PropTypes.string]),
|
|
421
|
+
"my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
422
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
423
|
+
"description": PropTypes.string,
|
|
424
|
+
"toString": PropTypes.func.isRequired,
|
|
425
|
+
"valueOf": PropTypes.func.isRequired
|
|
426
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
427
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
428
|
+
"description": PropTypes.string,
|
|
429
|
+
"toString": PropTypes.func.isRequired,
|
|
430
|
+
"valueOf": PropTypes.func.isRequired
|
|
431
|
+
}), PropTypes.string]),
|
|
432
|
+
"name": PropTypes.string,
|
|
433
|
+
"onAbort": PropTypes.func,
|
|
434
|
+
"onAbortCapture": PropTypes.func,
|
|
435
|
+
"onAnimationEnd": PropTypes.func,
|
|
436
|
+
"onAnimationEndCapture": PropTypes.func,
|
|
437
|
+
"onAnimationIteration": PropTypes.func,
|
|
438
|
+
"onAnimationIterationCapture": PropTypes.func,
|
|
439
|
+
"onAnimationStart": PropTypes.func,
|
|
440
|
+
"onAnimationStartCapture": PropTypes.func,
|
|
441
|
+
"onAuxClick": PropTypes.func,
|
|
442
|
+
"onAuxClickCapture": PropTypes.func,
|
|
443
|
+
"onBeforeInput": PropTypes.func,
|
|
444
|
+
"onBeforeInputCapture": PropTypes.func,
|
|
445
|
+
"onBlur": PropTypes.func,
|
|
446
|
+
"onBlurCapture": PropTypes.func,
|
|
447
|
+
"onCanPlay": PropTypes.func,
|
|
448
|
+
"onCanPlayCapture": PropTypes.func,
|
|
449
|
+
"onCanPlayThrough": PropTypes.func,
|
|
450
|
+
"onCanPlayThroughCapture": PropTypes.func,
|
|
451
|
+
"onChange": PropTypes.func,
|
|
452
|
+
"onChangeCapture": PropTypes.func,
|
|
453
|
+
"onClick": PropTypes.func,
|
|
454
|
+
"onClickCapture": PropTypes.func,
|
|
455
|
+
"onCompositionEnd": PropTypes.func,
|
|
456
|
+
"onCompositionEndCapture": PropTypes.func,
|
|
457
|
+
"onCompositionStart": PropTypes.func,
|
|
458
|
+
"onCompositionStartCapture": PropTypes.func,
|
|
459
|
+
"onCompositionUpdate": PropTypes.func,
|
|
460
|
+
"onCompositionUpdateCapture": PropTypes.func,
|
|
461
|
+
"onContextMenu": PropTypes.func,
|
|
462
|
+
"onContextMenuCapture": PropTypes.func,
|
|
463
|
+
"onCopy": PropTypes.func,
|
|
464
|
+
"onCopyCapture": PropTypes.func,
|
|
465
|
+
"onCut": PropTypes.func,
|
|
466
|
+
"onCutCapture": PropTypes.func,
|
|
467
|
+
"onDoubleClick": PropTypes.func,
|
|
468
|
+
"onDoubleClickCapture": PropTypes.func,
|
|
469
|
+
"onDrag": PropTypes.func,
|
|
470
|
+
"onDragCapture": PropTypes.func,
|
|
471
|
+
"onDragEnd": PropTypes.func,
|
|
472
|
+
"onDragEndCapture": PropTypes.func,
|
|
473
|
+
"onDragEnter": PropTypes.func,
|
|
474
|
+
"onDragEnterCapture": PropTypes.func,
|
|
475
|
+
"onDragExit": PropTypes.func,
|
|
476
|
+
"onDragExitCapture": PropTypes.func,
|
|
477
|
+
"onDragLeave": PropTypes.func,
|
|
478
|
+
"onDragLeaveCapture": PropTypes.func,
|
|
479
|
+
"onDragOver": PropTypes.func,
|
|
480
|
+
"onDragOverCapture": PropTypes.func,
|
|
481
|
+
"onDragStart": PropTypes.func,
|
|
482
|
+
"onDragStartCapture": PropTypes.func,
|
|
483
|
+
"onDrop": PropTypes.func,
|
|
484
|
+
"onDropCapture": PropTypes.func,
|
|
485
|
+
"onDurationChange": PropTypes.func,
|
|
486
|
+
"onDurationChangeCapture": PropTypes.func,
|
|
487
|
+
"onEmptied": PropTypes.func,
|
|
488
|
+
"onEmptiedCapture": PropTypes.func,
|
|
489
|
+
"onEncrypted": PropTypes.func,
|
|
490
|
+
"onEncryptedCapture": PropTypes.func,
|
|
491
|
+
"onEnded": PropTypes.func,
|
|
492
|
+
"onEndedCapture": PropTypes.func,
|
|
493
|
+
"onError": PropTypes.func,
|
|
494
|
+
"onErrorCapture": PropTypes.func,
|
|
495
|
+
"onFocus": PropTypes.func,
|
|
496
|
+
"onFocusCapture": PropTypes.func,
|
|
497
|
+
"onGotPointerCapture": PropTypes.func,
|
|
498
|
+
"onGotPointerCaptureCapture": PropTypes.func,
|
|
499
|
+
"onInput": PropTypes.func,
|
|
500
|
+
"onInputCapture": PropTypes.func,
|
|
501
|
+
"onInvalid": PropTypes.func,
|
|
502
|
+
"onInvalidCapture": PropTypes.func,
|
|
503
|
+
"onKeyDown": PropTypes.func,
|
|
504
|
+
"onKeyDownCapture": PropTypes.func,
|
|
505
|
+
"onKeyPress": PropTypes.func,
|
|
506
|
+
"onKeyPressCapture": PropTypes.func,
|
|
507
|
+
"onKeyUp": PropTypes.func,
|
|
508
|
+
"onKeyUpCapture": PropTypes.func,
|
|
509
|
+
"onLoad": PropTypes.func,
|
|
510
|
+
"onLoadCapture": PropTypes.func,
|
|
511
|
+
"onLoadedData": PropTypes.func,
|
|
512
|
+
"onLoadedDataCapture": PropTypes.func,
|
|
513
|
+
"onLoadedMetadata": PropTypes.func,
|
|
514
|
+
"onLoadedMetadataCapture": PropTypes.func,
|
|
515
|
+
"onLoadStart": PropTypes.func,
|
|
516
|
+
"onLoadStartCapture": PropTypes.func,
|
|
517
|
+
"onLostPointerCapture": PropTypes.func,
|
|
518
|
+
"onLostPointerCaptureCapture": PropTypes.func,
|
|
519
|
+
"onMouseDown": PropTypes.func,
|
|
520
|
+
"onMouseDownCapture": PropTypes.func,
|
|
521
|
+
"onMouseEnter": PropTypes.func,
|
|
522
|
+
"onMouseLeave": PropTypes.func,
|
|
523
|
+
"onMouseMove": PropTypes.func,
|
|
524
|
+
"onMouseMoveCapture": PropTypes.func,
|
|
525
|
+
"onMouseOut": PropTypes.func,
|
|
526
|
+
"onMouseOutCapture": PropTypes.func,
|
|
527
|
+
"onMouseOver": PropTypes.func,
|
|
528
|
+
"onMouseOverCapture": PropTypes.func,
|
|
529
|
+
"onMouseUp": PropTypes.func,
|
|
530
|
+
"onMouseUpCapture": PropTypes.func,
|
|
531
|
+
"onPaste": PropTypes.func,
|
|
532
|
+
"onPasteCapture": PropTypes.func,
|
|
533
|
+
"onPause": PropTypes.func,
|
|
534
|
+
"onPauseCapture": PropTypes.func,
|
|
535
|
+
"onPlay": PropTypes.func,
|
|
536
|
+
"onPlayCapture": PropTypes.func,
|
|
537
|
+
"onPlaying": PropTypes.func,
|
|
538
|
+
"onPlayingCapture": PropTypes.func,
|
|
539
|
+
"onPointerCancel": PropTypes.func,
|
|
540
|
+
"onPointerCancelCapture": PropTypes.func,
|
|
541
|
+
"onPointerDown": PropTypes.func,
|
|
542
|
+
"onPointerDownCapture": PropTypes.func,
|
|
543
|
+
"onPointerEnter": PropTypes.func,
|
|
544
|
+
"onPointerEnterCapture": PropTypes.func,
|
|
545
|
+
"onPointerLeave": PropTypes.func,
|
|
546
|
+
"onPointerLeaveCapture": PropTypes.func,
|
|
547
|
+
"onPointerMove": PropTypes.func,
|
|
548
|
+
"onPointerMoveCapture": PropTypes.func,
|
|
549
|
+
"onPointerOut": PropTypes.func,
|
|
550
|
+
"onPointerOutCapture": PropTypes.func,
|
|
551
|
+
"onPointerOver": PropTypes.func,
|
|
552
|
+
"onPointerOverCapture": PropTypes.func,
|
|
553
|
+
"onPointerUp": PropTypes.func,
|
|
554
|
+
"onPointerUpCapture": PropTypes.func,
|
|
555
|
+
"onProgress": PropTypes.func,
|
|
556
|
+
"onProgressCapture": PropTypes.func,
|
|
557
|
+
"onRateChange": PropTypes.func,
|
|
558
|
+
"onRateChangeCapture": PropTypes.func,
|
|
559
|
+
"onReset": PropTypes.func,
|
|
560
|
+
"onResetCapture": PropTypes.func,
|
|
561
|
+
"onScroll": PropTypes.func,
|
|
562
|
+
"onScrollCapture": PropTypes.func,
|
|
563
|
+
"onSeeked": PropTypes.func,
|
|
564
|
+
"onSeekedCapture": PropTypes.func,
|
|
565
|
+
"onSeeking": PropTypes.func,
|
|
566
|
+
"onSeekingCapture": PropTypes.func,
|
|
567
|
+
"onSelect": PropTypes.func,
|
|
568
|
+
"onSelectCapture": PropTypes.func,
|
|
569
|
+
"onStalled": PropTypes.func,
|
|
570
|
+
"onStalledCapture": PropTypes.func,
|
|
571
|
+
"onSubmit": PropTypes.func,
|
|
572
|
+
"onSubmitCapture": PropTypes.func,
|
|
573
|
+
"onSuspend": PropTypes.func,
|
|
574
|
+
"onSuspendCapture": PropTypes.func,
|
|
575
|
+
"onTimeUpdate": PropTypes.func,
|
|
576
|
+
"onTimeUpdateCapture": PropTypes.func,
|
|
577
|
+
"onTouchCancel": PropTypes.func,
|
|
578
|
+
"onTouchCancelCapture": PropTypes.func,
|
|
579
|
+
"onTouchEnd": PropTypes.func,
|
|
580
|
+
"onTouchEndCapture": PropTypes.func,
|
|
581
|
+
"onTouchMove": PropTypes.func,
|
|
582
|
+
"onTouchMoveCapture": PropTypes.func,
|
|
583
|
+
"onTouchStart": PropTypes.func,
|
|
584
|
+
"onTouchStartCapture": PropTypes.func,
|
|
585
|
+
"onTransitionEnd": PropTypes.func,
|
|
586
|
+
"onTransitionEndCapture": PropTypes.func,
|
|
587
|
+
"onVolumeChange": PropTypes.func,
|
|
588
|
+
"onVolumeChangeCapture": PropTypes.func,
|
|
589
|
+
"onWaiting": PropTypes.func,
|
|
590
|
+
"onWaitingCapture": PropTypes.func,
|
|
591
|
+
"onWheel": PropTypes.func,
|
|
592
|
+
"onWheelCapture": PropTypes.func,
|
|
593
|
+
"placeholder": PropTypes.string,
|
|
594
|
+
"prefix": PropTypes.string,
|
|
595
|
+
"property": PropTypes.string,
|
|
596
|
+
"radioGroup": PropTypes.string,
|
|
597
|
+
"resource": PropTypes.string,
|
|
598
|
+
"results": PropTypes.number,
|
|
599
|
+
"role": PropTypes.oneOfType([PropTypes.oneOf(["alert", "alertdialog", "application", "article", "banner", "button", "cell", "checkbox", "columnheader", "combobox", "complementary", "contentinfo", "definition", "dialog", "directory", "document", "feed", "figure", "form", "grid", "gridcell", "group", "heading", "img", "link", "list", "listbox", "listitem", "log", "main", "marquee", "math", "menu", "menubar", "menuitem", "menuitemcheckbox", "menuitemradio", "navigation", "none", "note", "option", "presentation", "progressbar", "radio", "radiogroup", "region", "row", "rowgroup", "rowheader", "scrollbar", "search", "searchbox", "separator", "slider", "spinbutton", "status", "switch", "tab", "table", "tablist", "tabpanel", "term", "textbox", "timer", "toolbar", "tooltip", "tree", "treegrid", "treeitem"]), PropTypes.shape({
|
|
600
|
+
"__@iterator": PropTypes.func.isRequired,
|
|
601
|
+
"anchor": PropTypes.func.isRequired,
|
|
602
|
+
"big": PropTypes.func.isRequired,
|
|
603
|
+
"blink": PropTypes.func.isRequired,
|
|
604
|
+
"bold": PropTypes.func.isRequired,
|
|
605
|
+
"charAt": PropTypes.func.isRequired,
|
|
606
|
+
"charCodeAt": PropTypes.func.isRequired,
|
|
607
|
+
"codePointAt": PropTypes.func.isRequired,
|
|
608
|
+
"concat": PropTypes.func.isRequired,
|
|
609
|
+
"endsWith": PropTypes.func.isRequired,
|
|
610
|
+
"fixed": PropTypes.func.isRequired,
|
|
611
|
+
"fontcolor": PropTypes.func.isRequired,
|
|
612
|
+
"fontsize": PropTypes.func.isRequired,
|
|
613
|
+
"includes": PropTypes.func.isRequired,
|
|
614
|
+
"indexOf": PropTypes.func.isRequired,
|
|
615
|
+
"italics": PropTypes.func.isRequired,
|
|
616
|
+
"lastIndexOf": PropTypes.func.isRequired,
|
|
617
|
+
"length": PropTypes.number.isRequired,
|
|
618
|
+
"link": PropTypes.func.isRequired,
|
|
619
|
+
"localeCompare": PropTypes.func.isRequired,
|
|
620
|
+
"match": PropTypes.func.isRequired,
|
|
621
|
+
"matchAll": PropTypes.func.isRequired,
|
|
622
|
+
"normalize": PropTypes.func.isRequired,
|
|
623
|
+
"padEnd": PropTypes.func.isRequired,
|
|
624
|
+
"padStart": PropTypes.func.isRequired,
|
|
625
|
+
"repeat": PropTypes.func.isRequired,
|
|
626
|
+
"replace": PropTypes.func.isRequired,
|
|
627
|
+
"search": PropTypes.func.isRequired,
|
|
628
|
+
"slice": PropTypes.func.isRequired,
|
|
629
|
+
"small": PropTypes.func.isRequired,
|
|
630
|
+
"split": PropTypes.func.isRequired,
|
|
631
|
+
"startsWith": PropTypes.func.isRequired,
|
|
632
|
+
"strike": PropTypes.func.isRequired,
|
|
633
|
+
"sub": PropTypes.func.isRequired,
|
|
634
|
+
"substr": PropTypes.func.isRequired,
|
|
635
|
+
"substring": PropTypes.func.isRequired,
|
|
636
|
+
"sup": PropTypes.func.isRequired,
|
|
637
|
+
"toLocaleLowerCase": PropTypes.func.isRequired,
|
|
638
|
+
"toLocaleUpperCase": PropTypes.func.isRequired,
|
|
639
|
+
"toLowerCase": PropTypes.func.isRequired,
|
|
640
|
+
"toString": PropTypes.func.isRequired,
|
|
641
|
+
"toUpperCase": PropTypes.func.isRequired,
|
|
642
|
+
"trim": PropTypes.func.isRequired,
|
|
643
|
+
"trimEnd": PropTypes.func.isRequired,
|
|
644
|
+
"trimLeft": PropTypes.func.isRequired,
|
|
645
|
+
"trimRight": PropTypes.func.isRequired,
|
|
646
|
+
"trimStart": PropTypes.func.isRequired,
|
|
647
|
+
"valueOf": PropTypes.func.isRequired
|
|
648
|
+
})]),
|
|
649
|
+
"security": PropTypes.string,
|
|
650
|
+
"size": PropTypes.oneOf(["large", "medium", "small"]),
|
|
651
|
+
"slot": PropTypes.string,
|
|
652
|
+
"spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
653
|
+
"style": PropTypes.object,
|
|
654
|
+
"subtext": PropTypes.string,
|
|
655
|
+
"suppressContentEditableWarning": PropTypes.bool,
|
|
656
|
+
"suppressHydrationWarning": PropTypes.bool,
|
|
657
|
+
"tabIndex": PropTypes.number,
|
|
658
|
+
"text": PropTypes.string.isRequired,
|
|
659
|
+
"title": PropTypes.string,
|
|
660
|
+
"translate": PropTypes.oneOf(["no", "yes"]),
|
|
661
|
+
"type": PropTypes.oneOf(["button", "reset", "submit"]),
|
|
662
|
+
"typeof": PropTypes.string,
|
|
663
|
+
"unselectable": PropTypes.oneOf(["off", "on"]),
|
|
664
|
+
"value": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
|
|
665
|
+
"vocab": PropTypes.string
|
|
219
666
|
};
|
|
220
|
-
|
|
667
|
+
export { SplitButton };
|
|
221
668
|
export default SplitButton;
|