carbon-react 147.4.3 → 147.6.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/components/fieldset/fieldset.component.js +9 -9
- package/esm/components/fieldset/fieldset.style.d.ts +5 -2
- package/esm/components/fieldset/fieldset.style.js +14 -11
- package/esm/components/multi-action-button/index.d.ts +1 -1
- package/esm/components/multi-action-button/multi-action-button.component.d.ts +5 -1
- package/esm/components/multi-action-button/multi-action-button.component.js +649 -4
- package/esm/components/split-button/index.d.ts +1 -1
- package/esm/components/split-button/split-button.component.d.ts +7 -1
- package/esm/components/split-button/split-button.component.js +556 -7
- package/lib/components/fieldset/fieldset.component.js +8 -8
- package/lib/components/fieldset/fieldset.style.d.ts +5 -2
- package/lib/components/fieldset/fieldset.style.js +14 -11
- package/lib/components/multi-action-button/index.d.ts +1 -1
- package/lib/components/multi-action-button/multi-action-button.component.d.ts +5 -1
- package/lib/components/multi-action-button/multi-action-button.component.js +647 -4
- package/lib/components/split-button/index.d.ts +1 -1
- package/lib/components/split-button/split-button.component.d.ts +7 -1
- package/lib/components/split-button/split-button.component.js +554 -7
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from "./split-button.component";
|
|
2
|
-
export type { SplitButtonProps } from "./split-button.component";
|
|
2
|
+
export type { SplitButtonHandle, SplitButtonProps, } from "./split-button.component";
|
|
@@ -29,5 +29,11 @@ export interface SplitButtonProps extends React.ButtonHTMLAttributes<HTMLButtonE
|
|
|
29
29
|
/** Sets rendering position of menu */
|
|
30
30
|
position?: "left" | "right";
|
|
31
31
|
}
|
|
32
|
-
export declare
|
|
32
|
+
export declare type SplitButtonHandle = {
|
|
33
|
+
/** Programmatically focus the main button */
|
|
34
|
+
focusMainButton: () => void;
|
|
35
|
+
/** Programmatically focus the toggle button. */
|
|
36
|
+
focusToggleButton: () => void;
|
|
37
|
+
} | null;
|
|
38
|
+
export declare const SplitButton: React.ForwardRefExoticComponent<SplitButtonProps & React.RefAttributes<SplitButtonHandle>>;
|
|
33
39
|
export default SplitButton;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
-
import React, { useContext, useRef } from "react";
|
|
2
|
+
import React, { useContext, useRef, forwardRef, useImperativeHandle } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { ThemeContext } from "styled-components";
|
|
5
5
|
import { flip, offset } from "@floating-ui/dom";
|
|
@@ -17,7 +17,7 @@ import useChildButtons from "../../hooks/__internal__/useChildButtons";
|
|
|
17
17
|
import SplitButtonContext from "./__internal__/split-button.context";
|
|
18
18
|
import useLocale from "../../hooks/__internal__/useLocale";
|
|
19
19
|
const CONTENT_WIDTH_RATIO = 0.75;
|
|
20
|
-
|
|
20
|
+
const SplitButton = /*#__PURE__*/forwardRef(({
|
|
21
21
|
align = "left",
|
|
22
22
|
position = "right",
|
|
23
23
|
buttonType = "secondary",
|
|
@@ -33,12 +33,20 @@ export const SplitButton = ({
|
|
|
33
33
|
"data-role": dataRole,
|
|
34
34
|
"aria-label": ariaLabel,
|
|
35
35
|
...rest
|
|
36
|
-
}) => {
|
|
36
|
+
}, ref) => {
|
|
37
37
|
const locale = useLocale();
|
|
38
38
|
const theme = useContext(ThemeContext) || baseTheme;
|
|
39
39
|
const buttonLabelId = useRef(guid());
|
|
40
40
|
const mainButtonRef = useRef(null);
|
|
41
|
-
const
|
|
41
|
+
const toggleButtonRef = useRef(null);
|
|
42
|
+
useImperativeHandle(ref, () => ({
|
|
43
|
+
focusMainButton() {
|
|
44
|
+
mainButtonRef.current?.focus();
|
|
45
|
+
},
|
|
46
|
+
focusToggleButton() {
|
|
47
|
+
toggleButtonRef.current?.focus();
|
|
48
|
+
}
|
|
49
|
+
}), []);
|
|
42
50
|
const {
|
|
43
51
|
showAdditionalButtons,
|
|
44
52
|
showButtons,
|
|
@@ -47,7 +55,7 @@ export const SplitButton = ({
|
|
|
47
55
|
handleToggleButtonKeyDown,
|
|
48
56
|
wrapperProps,
|
|
49
57
|
contextValue
|
|
50
|
-
} = useChildButtons(
|
|
58
|
+
} = useChildButtons(toggleButtonRef, CONTENT_WIDTH_RATIO);
|
|
51
59
|
const handleMainClick = ev => {
|
|
52
60
|
// ensure button is focused when clicked (Safari)
|
|
53
61
|
mainButtonRef.current?.focus();
|
|
@@ -106,7 +114,7 @@ export const SplitButton = ({
|
|
|
106
114
|
"data-element": "toggle-button",
|
|
107
115
|
key: "toggle-button",
|
|
108
116
|
type: "button",
|
|
109
|
-
ref:
|
|
117
|
+
ref: toggleButtonRef
|
|
110
118
|
}, toggleButtonProps), /*#__PURE__*/React.createElement(Icon, {
|
|
111
119
|
type: "dropdown",
|
|
112
120
|
color: getIconColor(),
|
|
@@ -136,5 +144,546 @@ export const SplitButton = ({
|
|
|
136
144
|
onClick: handleClick,
|
|
137
145
|
ref: buttonNode
|
|
138
146
|
}, componentTags(), marginProps), renderMainButton(), renderAdditionalButtons());
|
|
139
|
-
};
|
|
147
|
+
});
|
|
148
|
+
if (process.env.NODE_ENV !== "production") {
|
|
149
|
+
SplitButton.propTypes = {
|
|
150
|
+
"about": PropTypes.string,
|
|
151
|
+
"accessKey": PropTypes.string,
|
|
152
|
+
"align": PropTypes.oneOf(["left", "right"]),
|
|
153
|
+
"aria-activedescendant": PropTypes.string,
|
|
154
|
+
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
155
|
+
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
156
|
+
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
157
|
+
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
158
|
+
"aria-colcount": PropTypes.number,
|
|
159
|
+
"aria-colindex": PropTypes.number,
|
|
160
|
+
"aria-colspan": PropTypes.number,
|
|
161
|
+
"aria-controls": PropTypes.string,
|
|
162
|
+
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
163
|
+
"aria-describedby": PropTypes.string,
|
|
164
|
+
"aria-details": PropTypes.string,
|
|
165
|
+
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
166
|
+
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
167
|
+
"aria-errormessage": PropTypes.string,
|
|
168
|
+
"aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
169
|
+
"aria-flowto": PropTypes.string,
|
|
170
|
+
"aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
171
|
+
"aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
|
|
172
|
+
"aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
173
|
+
"aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
|
|
174
|
+
"aria-keyshortcuts": PropTypes.string,
|
|
175
|
+
"aria-label": PropTypes.string,
|
|
176
|
+
"aria-labelledby": PropTypes.string,
|
|
177
|
+
"aria-level": PropTypes.number,
|
|
178
|
+
"aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
|
|
179
|
+
"aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
180
|
+
"aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
181
|
+
"aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
182
|
+
"aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
|
|
183
|
+
"aria-owns": PropTypes.string,
|
|
184
|
+
"aria-placeholder": PropTypes.string,
|
|
185
|
+
"aria-posinset": PropTypes.number,
|
|
186
|
+
"aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
187
|
+
"aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
188
|
+
"aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
|
|
189
|
+
"aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
190
|
+
"aria-roledescription": PropTypes.string,
|
|
191
|
+
"aria-rowcount": PropTypes.number,
|
|
192
|
+
"aria-rowindex": PropTypes.number,
|
|
193
|
+
"aria-rowspan": PropTypes.number,
|
|
194
|
+
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
195
|
+
"aria-setsize": PropTypes.number,
|
|
196
|
+
"aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
|
|
197
|
+
"aria-valuemax": PropTypes.number,
|
|
198
|
+
"aria-valuemin": PropTypes.number,
|
|
199
|
+
"aria-valuenow": PropTypes.number,
|
|
200
|
+
"aria-valuetext": PropTypes.string,
|
|
201
|
+
"autoCapitalize": PropTypes.oneOfType([PropTypes.oneOf(["characters", "none", "off", "on", "sentences", "words"]), PropTypes.shape({
|
|
202
|
+
"__@iterator": PropTypes.func.isRequired,
|
|
203
|
+
"anchor": PropTypes.func.isRequired,
|
|
204
|
+
"at": PropTypes.func.isRequired,
|
|
205
|
+
"big": PropTypes.func.isRequired,
|
|
206
|
+
"blink": PropTypes.func.isRequired,
|
|
207
|
+
"bold": PropTypes.func.isRequired,
|
|
208
|
+
"charAt": PropTypes.func.isRequired,
|
|
209
|
+
"charCodeAt": PropTypes.func.isRequired,
|
|
210
|
+
"codePointAt": PropTypes.func.isRequired,
|
|
211
|
+
"concat": PropTypes.func.isRequired,
|
|
212
|
+
"endsWith": PropTypes.func.isRequired,
|
|
213
|
+
"fixed": PropTypes.func.isRequired,
|
|
214
|
+
"fontcolor": PropTypes.func.isRequired,
|
|
215
|
+
"fontsize": PropTypes.func.isRequired,
|
|
216
|
+
"includes": PropTypes.func.isRequired,
|
|
217
|
+
"indexOf": PropTypes.func.isRequired,
|
|
218
|
+
"italics": PropTypes.func.isRequired,
|
|
219
|
+
"lastIndexOf": PropTypes.func.isRequired,
|
|
220
|
+
"length": PropTypes.number.isRequired,
|
|
221
|
+
"link": PropTypes.func.isRequired,
|
|
222
|
+
"localeCompare": PropTypes.func.isRequired,
|
|
223
|
+
"match": PropTypes.func.isRequired,
|
|
224
|
+
"matchAll": PropTypes.func.isRequired,
|
|
225
|
+
"normalize": PropTypes.func.isRequired,
|
|
226
|
+
"padEnd": PropTypes.func.isRequired,
|
|
227
|
+
"padStart": PropTypes.func.isRequired,
|
|
228
|
+
"repeat": PropTypes.func.isRequired,
|
|
229
|
+
"replace": PropTypes.func.isRequired,
|
|
230
|
+
"search": PropTypes.func.isRequired,
|
|
231
|
+
"slice": PropTypes.func.isRequired,
|
|
232
|
+
"small": PropTypes.func.isRequired,
|
|
233
|
+
"split": PropTypes.func.isRequired,
|
|
234
|
+
"startsWith": PropTypes.func.isRequired,
|
|
235
|
+
"strike": PropTypes.func.isRequired,
|
|
236
|
+
"sub": PropTypes.func.isRequired,
|
|
237
|
+
"substr": PropTypes.func.isRequired,
|
|
238
|
+
"substring": PropTypes.func.isRequired,
|
|
239
|
+
"sup": PropTypes.func.isRequired,
|
|
240
|
+
"toLocaleLowerCase": PropTypes.func.isRequired,
|
|
241
|
+
"toLocaleUpperCase": PropTypes.func.isRequired,
|
|
242
|
+
"toLowerCase": PropTypes.func.isRequired,
|
|
243
|
+
"toString": PropTypes.func.isRequired,
|
|
244
|
+
"toUpperCase": PropTypes.func.isRequired,
|
|
245
|
+
"trim": PropTypes.func.isRequired,
|
|
246
|
+
"trimEnd": PropTypes.func.isRequired,
|
|
247
|
+
"trimLeft": PropTypes.func.isRequired,
|
|
248
|
+
"trimRight": PropTypes.func.isRequired,
|
|
249
|
+
"trimStart": PropTypes.func.isRequired,
|
|
250
|
+
"valueOf": PropTypes.func.isRequired
|
|
251
|
+
})]),
|
|
252
|
+
"autoCorrect": PropTypes.string,
|
|
253
|
+
"autoFocus": PropTypes.bool,
|
|
254
|
+
"autoSave": PropTypes.string,
|
|
255
|
+
"buttonType": PropTypes.oneOf(["primary", "secondary"]),
|
|
256
|
+
"children": PropTypes.node,
|
|
257
|
+
"className": PropTypes.string,
|
|
258
|
+
"color": PropTypes.string,
|
|
259
|
+
"content": PropTypes.string,
|
|
260
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
261
|
+
"contextMenu": PropTypes.string,
|
|
262
|
+
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
263
|
+
"__html": PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired
|
|
264
|
+
}),
|
|
265
|
+
"data-element": PropTypes.string,
|
|
266
|
+
"data-role": PropTypes.string,
|
|
267
|
+
"datatype": PropTypes.string,
|
|
268
|
+
"defaultChecked": PropTypes.bool,
|
|
269
|
+
"defaultValue": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
|
|
270
|
+
"dir": PropTypes.string,
|
|
271
|
+
"disabled": PropTypes.bool,
|
|
272
|
+
"draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
273
|
+
"enterKeyHint": PropTypes.oneOf(["done", "enter", "go", "next", "previous", "search", "send"]),
|
|
274
|
+
"form": PropTypes.string,
|
|
275
|
+
"formAction": PropTypes.string,
|
|
276
|
+
"formEncType": PropTypes.string,
|
|
277
|
+
"formMethod": PropTypes.string,
|
|
278
|
+
"formNoValidate": PropTypes.bool,
|
|
279
|
+
"formTarget": PropTypes.string,
|
|
280
|
+
"hidden": PropTypes.bool,
|
|
281
|
+
"iconPosition": PropTypes.oneOf(["after", "before"]),
|
|
282
|
+
"iconType": PropTypes.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bill_unpaid", "bin", "biometric", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "export", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "heart_pulse", "help", "hide", "home", "image", "import", "in_progress", "in_transit", "individual", "info", "intranet", "italic", "job_seeked", "key", "laptop", "leaf", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minimise", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "pin", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shield_with_tick_outline", "shield_with_tick", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "stop_circle", "stop", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare", "worldwide_location"]),
|
|
283
|
+
"id": PropTypes.string,
|
|
284
|
+
"inlist": PropTypes.any,
|
|
285
|
+
"inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
|
|
286
|
+
"is": PropTypes.string,
|
|
287
|
+
"itemID": PropTypes.string,
|
|
288
|
+
"itemProp": PropTypes.string,
|
|
289
|
+
"itemRef": PropTypes.string,
|
|
290
|
+
"itemScope": PropTypes.bool,
|
|
291
|
+
"itemType": PropTypes.string,
|
|
292
|
+
"lang": PropTypes.string,
|
|
293
|
+
"m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
294
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
295
|
+
"description": PropTypes.string,
|
|
296
|
+
"toString": PropTypes.func.isRequired,
|
|
297
|
+
"valueOf": PropTypes.func.isRequired
|
|
298
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
299
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
300
|
+
"description": PropTypes.string,
|
|
301
|
+
"toString": PropTypes.func.isRequired,
|
|
302
|
+
"valueOf": PropTypes.func.isRequired
|
|
303
|
+
}), PropTypes.string]),
|
|
304
|
+
"margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
305
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
306
|
+
"description": PropTypes.string,
|
|
307
|
+
"toString": PropTypes.func.isRequired,
|
|
308
|
+
"valueOf": PropTypes.func.isRequired
|
|
309
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
310
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
311
|
+
"description": PropTypes.string,
|
|
312
|
+
"toString": PropTypes.func.isRequired,
|
|
313
|
+
"valueOf": PropTypes.func.isRequired
|
|
314
|
+
}), PropTypes.string]),
|
|
315
|
+
"marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
316
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
317
|
+
"description": PropTypes.string,
|
|
318
|
+
"toString": PropTypes.func.isRequired,
|
|
319
|
+
"valueOf": PropTypes.func.isRequired
|
|
320
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
321
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
322
|
+
"description": PropTypes.string,
|
|
323
|
+
"toString": PropTypes.func.isRequired,
|
|
324
|
+
"valueOf": PropTypes.func.isRequired
|
|
325
|
+
}), PropTypes.string]),
|
|
326
|
+
"marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
327
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
328
|
+
"description": PropTypes.string,
|
|
329
|
+
"toString": PropTypes.func.isRequired,
|
|
330
|
+
"valueOf": PropTypes.func.isRequired
|
|
331
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
332
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
333
|
+
"description": PropTypes.string,
|
|
334
|
+
"toString": PropTypes.func.isRequired,
|
|
335
|
+
"valueOf": PropTypes.func.isRequired
|
|
336
|
+
}), PropTypes.string]),
|
|
337
|
+
"marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
338
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
339
|
+
"description": PropTypes.string,
|
|
340
|
+
"toString": PropTypes.func.isRequired,
|
|
341
|
+
"valueOf": PropTypes.func.isRequired
|
|
342
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
343
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
344
|
+
"description": PropTypes.string,
|
|
345
|
+
"toString": PropTypes.func.isRequired,
|
|
346
|
+
"valueOf": PropTypes.func.isRequired
|
|
347
|
+
}), PropTypes.string]),
|
|
348
|
+
"marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
349
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
350
|
+
"description": PropTypes.string,
|
|
351
|
+
"toString": PropTypes.func.isRequired,
|
|
352
|
+
"valueOf": PropTypes.func.isRequired
|
|
353
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
354
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
355
|
+
"description": PropTypes.string,
|
|
356
|
+
"toString": PropTypes.func.isRequired,
|
|
357
|
+
"valueOf": PropTypes.func.isRequired
|
|
358
|
+
}), PropTypes.string]),
|
|
359
|
+
"marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
360
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
361
|
+
"description": PropTypes.string,
|
|
362
|
+
"toString": PropTypes.func.isRequired,
|
|
363
|
+
"valueOf": PropTypes.func.isRequired
|
|
364
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
365
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
366
|
+
"description": PropTypes.string,
|
|
367
|
+
"toString": PropTypes.func.isRequired,
|
|
368
|
+
"valueOf": PropTypes.func.isRequired
|
|
369
|
+
}), PropTypes.string]),
|
|
370
|
+
"marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
371
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
372
|
+
"description": PropTypes.string,
|
|
373
|
+
"toString": PropTypes.func.isRequired,
|
|
374
|
+
"valueOf": PropTypes.func.isRequired
|
|
375
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
376
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
377
|
+
"description": PropTypes.string,
|
|
378
|
+
"toString": PropTypes.func.isRequired,
|
|
379
|
+
"valueOf": PropTypes.func.isRequired
|
|
380
|
+
}), PropTypes.string]),
|
|
381
|
+
"mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
382
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
383
|
+
"description": PropTypes.string,
|
|
384
|
+
"toString": PropTypes.func.isRequired,
|
|
385
|
+
"valueOf": PropTypes.func.isRequired
|
|
386
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
387
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
388
|
+
"description": PropTypes.string,
|
|
389
|
+
"toString": PropTypes.func.isRequired,
|
|
390
|
+
"valueOf": PropTypes.func.isRequired
|
|
391
|
+
}), PropTypes.string]),
|
|
392
|
+
"ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
393
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
394
|
+
"description": PropTypes.string,
|
|
395
|
+
"toString": PropTypes.func.isRequired,
|
|
396
|
+
"valueOf": PropTypes.func.isRequired
|
|
397
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
398
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
399
|
+
"description": PropTypes.string,
|
|
400
|
+
"toString": PropTypes.func.isRequired,
|
|
401
|
+
"valueOf": PropTypes.func.isRequired
|
|
402
|
+
}), PropTypes.string]),
|
|
403
|
+
"mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
404
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
405
|
+
"description": PropTypes.string,
|
|
406
|
+
"toString": PropTypes.func.isRequired,
|
|
407
|
+
"valueOf": PropTypes.func.isRequired
|
|
408
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
409
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
410
|
+
"description": PropTypes.string,
|
|
411
|
+
"toString": PropTypes.func.isRequired,
|
|
412
|
+
"valueOf": PropTypes.func.isRequired
|
|
413
|
+
}), PropTypes.string]),
|
|
414
|
+
"mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
415
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
416
|
+
"description": PropTypes.string,
|
|
417
|
+
"toString": PropTypes.func.isRequired,
|
|
418
|
+
"valueOf": PropTypes.func.isRequired
|
|
419
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
420
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
421
|
+
"description": PropTypes.string,
|
|
422
|
+
"toString": PropTypes.func.isRequired,
|
|
423
|
+
"valueOf": PropTypes.func.isRequired
|
|
424
|
+
}), PropTypes.string]),
|
|
425
|
+
"mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
426
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
427
|
+
"description": PropTypes.string,
|
|
428
|
+
"toString": PropTypes.func.isRequired,
|
|
429
|
+
"valueOf": PropTypes.func.isRequired
|
|
430
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
431
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
432
|
+
"description": PropTypes.string,
|
|
433
|
+
"toString": PropTypes.func.isRequired,
|
|
434
|
+
"valueOf": PropTypes.func.isRequired
|
|
435
|
+
}), PropTypes.string]),
|
|
436
|
+
"my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
437
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
438
|
+
"description": PropTypes.string,
|
|
439
|
+
"toString": PropTypes.func.isRequired,
|
|
440
|
+
"valueOf": PropTypes.func.isRequired
|
|
441
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
442
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
443
|
+
"description": PropTypes.string,
|
|
444
|
+
"toString": PropTypes.func.isRequired,
|
|
445
|
+
"valueOf": PropTypes.func.isRequired
|
|
446
|
+
}), PropTypes.string]),
|
|
447
|
+
"name": PropTypes.string,
|
|
448
|
+
"nonce": PropTypes.string,
|
|
449
|
+
"onAbort": PropTypes.func,
|
|
450
|
+
"onAbortCapture": PropTypes.func,
|
|
451
|
+
"onAnimationEnd": PropTypes.func,
|
|
452
|
+
"onAnimationEndCapture": PropTypes.func,
|
|
453
|
+
"onAnimationIteration": PropTypes.func,
|
|
454
|
+
"onAnimationIterationCapture": PropTypes.func,
|
|
455
|
+
"onAnimationStart": PropTypes.func,
|
|
456
|
+
"onAnimationStartCapture": PropTypes.func,
|
|
457
|
+
"onAuxClick": PropTypes.func,
|
|
458
|
+
"onAuxClickCapture": PropTypes.func,
|
|
459
|
+
"onBeforeInput": PropTypes.func,
|
|
460
|
+
"onBeforeInputCapture": PropTypes.func,
|
|
461
|
+
"onBlur": PropTypes.func,
|
|
462
|
+
"onBlurCapture": PropTypes.func,
|
|
463
|
+
"onCanPlay": PropTypes.func,
|
|
464
|
+
"onCanPlayCapture": PropTypes.func,
|
|
465
|
+
"onCanPlayThrough": PropTypes.func,
|
|
466
|
+
"onCanPlayThroughCapture": PropTypes.func,
|
|
467
|
+
"onChange": PropTypes.func,
|
|
468
|
+
"onChangeCapture": PropTypes.func,
|
|
469
|
+
"onClick": PropTypes.func,
|
|
470
|
+
"onClickCapture": PropTypes.func,
|
|
471
|
+
"onCompositionEnd": PropTypes.func,
|
|
472
|
+
"onCompositionEndCapture": PropTypes.func,
|
|
473
|
+
"onCompositionStart": PropTypes.func,
|
|
474
|
+
"onCompositionStartCapture": PropTypes.func,
|
|
475
|
+
"onCompositionUpdate": PropTypes.func,
|
|
476
|
+
"onCompositionUpdateCapture": PropTypes.func,
|
|
477
|
+
"onContextMenu": PropTypes.func,
|
|
478
|
+
"onContextMenuCapture": PropTypes.func,
|
|
479
|
+
"onCopy": PropTypes.func,
|
|
480
|
+
"onCopyCapture": PropTypes.func,
|
|
481
|
+
"onCut": PropTypes.func,
|
|
482
|
+
"onCutCapture": PropTypes.func,
|
|
483
|
+
"onDoubleClick": PropTypes.func,
|
|
484
|
+
"onDoubleClickCapture": PropTypes.func,
|
|
485
|
+
"onDrag": PropTypes.func,
|
|
486
|
+
"onDragCapture": PropTypes.func,
|
|
487
|
+
"onDragEnd": PropTypes.func,
|
|
488
|
+
"onDragEndCapture": PropTypes.func,
|
|
489
|
+
"onDragEnter": PropTypes.func,
|
|
490
|
+
"onDragEnterCapture": PropTypes.func,
|
|
491
|
+
"onDragExit": PropTypes.func,
|
|
492
|
+
"onDragExitCapture": PropTypes.func,
|
|
493
|
+
"onDragLeave": PropTypes.func,
|
|
494
|
+
"onDragLeaveCapture": PropTypes.func,
|
|
495
|
+
"onDragOver": PropTypes.func,
|
|
496
|
+
"onDragOverCapture": PropTypes.func,
|
|
497
|
+
"onDragStart": PropTypes.func,
|
|
498
|
+
"onDragStartCapture": PropTypes.func,
|
|
499
|
+
"onDrop": PropTypes.func,
|
|
500
|
+
"onDropCapture": PropTypes.func,
|
|
501
|
+
"onDurationChange": PropTypes.func,
|
|
502
|
+
"onDurationChangeCapture": PropTypes.func,
|
|
503
|
+
"onEmptied": PropTypes.func,
|
|
504
|
+
"onEmptiedCapture": PropTypes.func,
|
|
505
|
+
"onEncrypted": PropTypes.func,
|
|
506
|
+
"onEncryptedCapture": PropTypes.func,
|
|
507
|
+
"onEnded": PropTypes.func,
|
|
508
|
+
"onEndedCapture": PropTypes.func,
|
|
509
|
+
"onError": PropTypes.func,
|
|
510
|
+
"onErrorCapture": PropTypes.func,
|
|
511
|
+
"onFocus": PropTypes.func,
|
|
512
|
+
"onFocusCapture": PropTypes.func,
|
|
513
|
+
"onGotPointerCapture": PropTypes.func,
|
|
514
|
+
"onGotPointerCaptureCapture": PropTypes.func,
|
|
515
|
+
"onInput": PropTypes.func,
|
|
516
|
+
"onInputCapture": PropTypes.func,
|
|
517
|
+
"onInvalid": PropTypes.func,
|
|
518
|
+
"onInvalidCapture": PropTypes.func,
|
|
519
|
+
"onKeyDown": PropTypes.func,
|
|
520
|
+
"onKeyDownCapture": PropTypes.func,
|
|
521
|
+
"onKeyPress": PropTypes.func,
|
|
522
|
+
"onKeyPressCapture": PropTypes.func,
|
|
523
|
+
"onKeyUp": PropTypes.func,
|
|
524
|
+
"onKeyUpCapture": PropTypes.func,
|
|
525
|
+
"onLoad": PropTypes.func,
|
|
526
|
+
"onLoadCapture": PropTypes.func,
|
|
527
|
+
"onLoadedData": PropTypes.func,
|
|
528
|
+
"onLoadedDataCapture": PropTypes.func,
|
|
529
|
+
"onLoadedMetadata": PropTypes.func,
|
|
530
|
+
"onLoadedMetadataCapture": PropTypes.func,
|
|
531
|
+
"onLoadStart": PropTypes.func,
|
|
532
|
+
"onLoadStartCapture": PropTypes.func,
|
|
533
|
+
"onLostPointerCapture": PropTypes.func,
|
|
534
|
+
"onLostPointerCaptureCapture": PropTypes.func,
|
|
535
|
+
"onMouseDown": PropTypes.func,
|
|
536
|
+
"onMouseDownCapture": PropTypes.func,
|
|
537
|
+
"onMouseEnter": PropTypes.func,
|
|
538
|
+
"onMouseLeave": PropTypes.func,
|
|
539
|
+
"onMouseMove": PropTypes.func,
|
|
540
|
+
"onMouseMoveCapture": PropTypes.func,
|
|
541
|
+
"onMouseOut": PropTypes.func,
|
|
542
|
+
"onMouseOutCapture": PropTypes.func,
|
|
543
|
+
"onMouseOver": PropTypes.func,
|
|
544
|
+
"onMouseOverCapture": PropTypes.func,
|
|
545
|
+
"onMouseUp": PropTypes.func,
|
|
546
|
+
"onMouseUpCapture": PropTypes.func,
|
|
547
|
+
"onPaste": PropTypes.func,
|
|
548
|
+
"onPasteCapture": PropTypes.func,
|
|
549
|
+
"onPause": PropTypes.func,
|
|
550
|
+
"onPauseCapture": PropTypes.func,
|
|
551
|
+
"onPlay": PropTypes.func,
|
|
552
|
+
"onPlayCapture": PropTypes.func,
|
|
553
|
+
"onPlaying": PropTypes.func,
|
|
554
|
+
"onPlayingCapture": PropTypes.func,
|
|
555
|
+
"onPointerCancel": PropTypes.func,
|
|
556
|
+
"onPointerCancelCapture": PropTypes.func,
|
|
557
|
+
"onPointerDown": PropTypes.func,
|
|
558
|
+
"onPointerDownCapture": PropTypes.func,
|
|
559
|
+
"onPointerEnter": PropTypes.func,
|
|
560
|
+
"onPointerEnterCapture": PropTypes.func,
|
|
561
|
+
"onPointerLeave": PropTypes.func,
|
|
562
|
+
"onPointerLeaveCapture": PropTypes.func,
|
|
563
|
+
"onPointerMove": PropTypes.func,
|
|
564
|
+
"onPointerMoveCapture": PropTypes.func,
|
|
565
|
+
"onPointerOut": PropTypes.func,
|
|
566
|
+
"onPointerOutCapture": PropTypes.func,
|
|
567
|
+
"onPointerOver": PropTypes.func,
|
|
568
|
+
"onPointerOverCapture": PropTypes.func,
|
|
569
|
+
"onPointerUp": PropTypes.func,
|
|
570
|
+
"onPointerUpCapture": PropTypes.func,
|
|
571
|
+
"onProgress": PropTypes.func,
|
|
572
|
+
"onProgressCapture": PropTypes.func,
|
|
573
|
+
"onRateChange": PropTypes.func,
|
|
574
|
+
"onRateChangeCapture": PropTypes.func,
|
|
575
|
+
"onReset": PropTypes.func,
|
|
576
|
+
"onResetCapture": PropTypes.func,
|
|
577
|
+
"onScroll": PropTypes.func,
|
|
578
|
+
"onScrollCapture": PropTypes.func,
|
|
579
|
+
"onSeeked": PropTypes.func,
|
|
580
|
+
"onSeekedCapture": PropTypes.func,
|
|
581
|
+
"onSeeking": PropTypes.func,
|
|
582
|
+
"onSeekingCapture": PropTypes.func,
|
|
583
|
+
"onSelect": PropTypes.func,
|
|
584
|
+
"onSelectCapture": PropTypes.func,
|
|
585
|
+
"onStalled": PropTypes.func,
|
|
586
|
+
"onStalledCapture": PropTypes.func,
|
|
587
|
+
"onSubmit": PropTypes.func,
|
|
588
|
+
"onSubmitCapture": PropTypes.func,
|
|
589
|
+
"onSuspend": PropTypes.func,
|
|
590
|
+
"onSuspendCapture": PropTypes.func,
|
|
591
|
+
"onTimeUpdate": PropTypes.func,
|
|
592
|
+
"onTimeUpdateCapture": PropTypes.func,
|
|
593
|
+
"onTouchCancel": PropTypes.func,
|
|
594
|
+
"onTouchCancelCapture": PropTypes.func,
|
|
595
|
+
"onTouchEnd": PropTypes.func,
|
|
596
|
+
"onTouchEndCapture": PropTypes.func,
|
|
597
|
+
"onTouchMove": PropTypes.func,
|
|
598
|
+
"onTouchMoveCapture": PropTypes.func,
|
|
599
|
+
"onTouchStart": PropTypes.func,
|
|
600
|
+
"onTouchStartCapture": PropTypes.func,
|
|
601
|
+
"onTransitionEnd": PropTypes.func,
|
|
602
|
+
"onTransitionEndCapture": PropTypes.func,
|
|
603
|
+
"onVolumeChange": PropTypes.func,
|
|
604
|
+
"onVolumeChangeCapture": PropTypes.func,
|
|
605
|
+
"onWaiting": PropTypes.func,
|
|
606
|
+
"onWaitingCapture": PropTypes.func,
|
|
607
|
+
"onWheel": PropTypes.func,
|
|
608
|
+
"onWheelCapture": PropTypes.func,
|
|
609
|
+
"placeholder": PropTypes.string,
|
|
610
|
+
"position": PropTypes.oneOf(["left", "right"]),
|
|
611
|
+
"prefix": PropTypes.string,
|
|
612
|
+
"property": PropTypes.string,
|
|
613
|
+
"radioGroup": PropTypes.string,
|
|
614
|
+
"rel": PropTypes.string,
|
|
615
|
+
"resource": PropTypes.string,
|
|
616
|
+
"results": PropTypes.number,
|
|
617
|
+
"rev": PropTypes.string,
|
|
618
|
+
"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({
|
|
619
|
+
"__@iterator": PropTypes.func.isRequired,
|
|
620
|
+
"anchor": PropTypes.func.isRequired,
|
|
621
|
+
"at": PropTypes.func.isRequired,
|
|
622
|
+
"big": PropTypes.func.isRequired,
|
|
623
|
+
"blink": PropTypes.func.isRequired,
|
|
624
|
+
"bold": PropTypes.func.isRequired,
|
|
625
|
+
"charAt": PropTypes.func.isRequired,
|
|
626
|
+
"charCodeAt": PropTypes.func.isRequired,
|
|
627
|
+
"codePointAt": PropTypes.func.isRequired,
|
|
628
|
+
"concat": PropTypes.func.isRequired,
|
|
629
|
+
"endsWith": PropTypes.func.isRequired,
|
|
630
|
+
"fixed": PropTypes.func.isRequired,
|
|
631
|
+
"fontcolor": PropTypes.func.isRequired,
|
|
632
|
+
"fontsize": PropTypes.func.isRequired,
|
|
633
|
+
"includes": PropTypes.func.isRequired,
|
|
634
|
+
"indexOf": PropTypes.func.isRequired,
|
|
635
|
+
"italics": PropTypes.func.isRequired,
|
|
636
|
+
"lastIndexOf": PropTypes.func.isRequired,
|
|
637
|
+
"length": PropTypes.number.isRequired,
|
|
638
|
+
"link": PropTypes.func.isRequired,
|
|
639
|
+
"localeCompare": PropTypes.func.isRequired,
|
|
640
|
+
"match": PropTypes.func.isRequired,
|
|
641
|
+
"matchAll": PropTypes.func.isRequired,
|
|
642
|
+
"normalize": PropTypes.func.isRequired,
|
|
643
|
+
"padEnd": PropTypes.func.isRequired,
|
|
644
|
+
"padStart": PropTypes.func.isRequired,
|
|
645
|
+
"repeat": PropTypes.func.isRequired,
|
|
646
|
+
"replace": PropTypes.func.isRequired,
|
|
647
|
+
"search": PropTypes.func.isRequired,
|
|
648
|
+
"slice": PropTypes.func.isRequired,
|
|
649
|
+
"small": PropTypes.func.isRequired,
|
|
650
|
+
"split": PropTypes.func.isRequired,
|
|
651
|
+
"startsWith": PropTypes.func.isRequired,
|
|
652
|
+
"strike": PropTypes.func.isRequired,
|
|
653
|
+
"sub": PropTypes.func.isRequired,
|
|
654
|
+
"substr": PropTypes.func.isRequired,
|
|
655
|
+
"substring": PropTypes.func.isRequired,
|
|
656
|
+
"sup": PropTypes.func.isRequired,
|
|
657
|
+
"toLocaleLowerCase": PropTypes.func.isRequired,
|
|
658
|
+
"toLocaleUpperCase": PropTypes.func.isRequired,
|
|
659
|
+
"toLowerCase": PropTypes.func.isRequired,
|
|
660
|
+
"toString": PropTypes.func.isRequired,
|
|
661
|
+
"toUpperCase": PropTypes.func.isRequired,
|
|
662
|
+
"trim": PropTypes.func.isRequired,
|
|
663
|
+
"trimEnd": PropTypes.func.isRequired,
|
|
664
|
+
"trimLeft": PropTypes.func.isRequired,
|
|
665
|
+
"trimRight": PropTypes.func.isRequired,
|
|
666
|
+
"trimStart": PropTypes.func.isRequired,
|
|
667
|
+
"valueOf": PropTypes.func.isRequired
|
|
668
|
+
})]),
|
|
669
|
+
"security": PropTypes.string,
|
|
670
|
+
"size": PropTypes.oneOf(["large", "medium", "small"]),
|
|
671
|
+
"slot": PropTypes.string,
|
|
672
|
+
"spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
673
|
+
"style": PropTypes.object,
|
|
674
|
+
"subtext": PropTypes.string,
|
|
675
|
+
"suppressContentEditableWarning": PropTypes.bool,
|
|
676
|
+
"suppressHydrationWarning": PropTypes.bool,
|
|
677
|
+
"tabIndex": PropTypes.number,
|
|
678
|
+
"text": PropTypes.string.isRequired,
|
|
679
|
+
"title": PropTypes.string,
|
|
680
|
+
"translate": PropTypes.oneOf(["no", "yes"]),
|
|
681
|
+
"type": PropTypes.oneOf(["button", "reset", "submit"]),
|
|
682
|
+
"typeof": PropTypes.string,
|
|
683
|
+
"unselectable": PropTypes.oneOf(["off", "on"]),
|
|
684
|
+
"value": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
|
|
685
|
+
"vocab": PropTypes.string
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
export { SplitButton };
|
|
140
689
|
export default SplitButton;
|