carbon-react 147.4.2 → 147.5.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.
Files changed (23) hide show
  1. package/esm/components/dialog-full-screen/content.style.js +0 -1
  2. package/esm/components/dialog-full-screen/dialog-full-screen.component.js +1 -1
  3. package/esm/components/dialog-full-screen/dialog-full-screen.style.js +0 -1
  4. package/esm/components/multi-action-button/index.d.ts +1 -1
  5. package/esm/components/multi-action-button/multi-action-button.component.d.ts +5 -1
  6. package/esm/components/multi-action-button/multi-action-button.component.js +649 -4
  7. package/esm/components/pages/page/page.component.d.ts +1 -1
  8. package/esm/components/pages/page/page.component.js +2 -2
  9. package/esm/components/split-button/index.d.ts +1 -1
  10. package/esm/components/split-button/split-button.component.d.ts +7 -1
  11. package/esm/components/split-button/split-button.component.js +556 -7
  12. package/lib/components/dialog-full-screen/content.style.js +0 -1
  13. package/lib/components/dialog-full-screen/dialog-full-screen.component.js +1 -1
  14. package/lib/components/dialog-full-screen/dialog-full-screen.style.js +0 -1
  15. package/lib/components/multi-action-button/index.d.ts +1 -1
  16. package/lib/components/multi-action-button/multi-action-button.component.d.ts +5 -1
  17. package/lib/components/multi-action-button/multi-action-button.component.js +647 -4
  18. package/lib/components/pages/page/page.component.d.ts +1 -1
  19. package/lib/components/pages/page/page.component.js +2 -2
  20. package/lib/components/split-button/index.d.ts +1 -1
  21. package/lib/components/split-button/split-button.component.d.ts +7 -1
  22. package/lib/components/split-button/split-button.component.js +554 -7
  23. package/package.json +1 -1
@@ -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, { useRef } from "react";
2
+ import React, { useRef, forwardRef, useImperativeHandle } from "react";
3
3
  import PropTypes from "prop-types";
4
4
  import { flip, offset } from "@floating-ui/dom";
5
5
  import useClickAwayListener from "../../hooks/__internal__/useClickAwayListener";
@@ -9,7 +9,7 @@ import Button from "../button";
9
9
  import Popover from "../../__internal__/popover";
10
10
  import { filterStyledSystemMarginProps, filterOutStyledSystemSpacingProps } from "../../style/utils";
11
11
  import useChildButtons from "../../hooks/__internal__/useChildButtons";
12
- export const MultiActionButton = ({
12
+ const MultiActionButton = /*#__PURE__*/forwardRef(({
13
13
  align = "left",
14
14
  position = "left",
15
15
  disabled,
@@ -23,8 +23,13 @@ export const MultiActionButton = ({
23
23
  "data-element": dataElement,
24
24
  "data-role": dataRole,
25
25
  ...rest
26
- }) => {
26
+ }, ref) => {
27
27
  const buttonRef = useRef(null);
28
+ useImperativeHandle(ref, () => ({
29
+ focusMainButton() {
30
+ buttonRef.current?.focus();
31
+ }
32
+ }), []);
28
33
  const {
29
34
  showAdditionalButtons,
30
35
  showButtons,
@@ -84,5 +89,645 @@ export const MultiActionButton = ({
84
89
  iconPosition: "after",
85
90
  iconType: "dropdown"
86
91
  }), text), showAdditionalButtons && renderAdditionalButtons());
87
- };
92
+ });
93
+ if (process.env.NODE_ENV !== "production") {
94
+ MultiActionButton.propTypes = {
95
+ "about": PropTypes.string,
96
+ "accessKey": PropTypes.string,
97
+ "align": PropTypes.oneOf(["left", "right"]),
98
+ "aria-activedescendant": PropTypes.string,
99
+ "aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
100
+ "aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
101
+ "aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
102
+ "aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
103
+ "aria-colcount": PropTypes.number,
104
+ "aria-colindex": PropTypes.number,
105
+ "aria-colspan": PropTypes.number,
106
+ "aria-controls": PropTypes.string,
107
+ "aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
108
+ "aria-describedby": PropTypes.string,
109
+ "aria-details": PropTypes.string,
110
+ "aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
111
+ "aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
112
+ "aria-errormessage": PropTypes.string,
113
+ "aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
114
+ "aria-flowto": PropTypes.string,
115
+ "aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
116
+ "aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
117
+ "aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
118
+ "aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
119
+ "aria-keyshortcuts": PropTypes.string,
120
+ "aria-label": PropTypes.string,
121
+ "aria-labelledby": PropTypes.string,
122
+ "aria-level": PropTypes.number,
123
+ "aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
124
+ "aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
125
+ "aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
126
+ "aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
127
+ "aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
128
+ "aria-owns": PropTypes.string,
129
+ "aria-placeholder": PropTypes.string,
130
+ "aria-posinset": PropTypes.number,
131
+ "aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
132
+ "aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
133
+ "aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
134
+ "aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
135
+ "aria-roledescription": PropTypes.string,
136
+ "aria-rowcount": PropTypes.number,
137
+ "aria-rowindex": PropTypes.number,
138
+ "aria-rowspan": PropTypes.number,
139
+ "aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
140
+ "aria-setsize": PropTypes.number,
141
+ "aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
142
+ "aria-valuemax": PropTypes.number,
143
+ "aria-valuemin": PropTypes.number,
144
+ "aria-valuenow": PropTypes.number,
145
+ "aria-valuetext": PropTypes.string,
146
+ "autoCapitalize": PropTypes.oneOfType([PropTypes.oneOf(["characters", "none", "off", "on", "sentences", "words"]), PropTypes.shape({
147
+ "__@iterator": PropTypes.func.isRequired,
148
+ "anchor": PropTypes.func.isRequired,
149
+ "at": PropTypes.func.isRequired,
150
+ "big": PropTypes.func.isRequired,
151
+ "blink": PropTypes.func.isRequired,
152
+ "bold": PropTypes.func.isRequired,
153
+ "charAt": PropTypes.func.isRequired,
154
+ "charCodeAt": PropTypes.func.isRequired,
155
+ "codePointAt": PropTypes.func.isRequired,
156
+ "concat": PropTypes.func.isRequired,
157
+ "endsWith": PropTypes.func.isRequired,
158
+ "fixed": PropTypes.func.isRequired,
159
+ "fontcolor": PropTypes.func.isRequired,
160
+ "fontsize": PropTypes.func.isRequired,
161
+ "includes": PropTypes.func.isRequired,
162
+ "indexOf": PropTypes.func.isRequired,
163
+ "italics": PropTypes.func.isRequired,
164
+ "lastIndexOf": PropTypes.func.isRequired,
165
+ "length": PropTypes.number.isRequired,
166
+ "link": PropTypes.func.isRequired,
167
+ "localeCompare": PropTypes.func.isRequired,
168
+ "match": PropTypes.func.isRequired,
169
+ "matchAll": PropTypes.func.isRequired,
170
+ "normalize": PropTypes.func.isRequired,
171
+ "padEnd": PropTypes.func.isRequired,
172
+ "padStart": PropTypes.func.isRequired,
173
+ "repeat": PropTypes.func.isRequired,
174
+ "replace": PropTypes.func.isRequired,
175
+ "search": PropTypes.func.isRequired,
176
+ "slice": PropTypes.func.isRequired,
177
+ "small": PropTypes.func.isRequired,
178
+ "split": PropTypes.func.isRequired,
179
+ "startsWith": PropTypes.func.isRequired,
180
+ "strike": PropTypes.func.isRequired,
181
+ "sub": PropTypes.func.isRequired,
182
+ "substr": PropTypes.func.isRequired,
183
+ "substring": PropTypes.func.isRequired,
184
+ "sup": PropTypes.func.isRequired,
185
+ "toLocaleLowerCase": PropTypes.func.isRequired,
186
+ "toLocaleUpperCase": PropTypes.func.isRequired,
187
+ "toLowerCase": PropTypes.func.isRequired,
188
+ "toString": PropTypes.func.isRequired,
189
+ "toUpperCase": PropTypes.func.isRequired,
190
+ "trim": PropTypes.func.isRequired,
191
+ "trimEnd": PropTypes.func.isRequired,
192
+ "trimLeft": PropTypes.func.isRequired,
193
+ "trimRight": PropTypes.func.isRequired,
194
+ "trimStart": PropTypes.func.isRequired,
195
+ "valueOf": PropTypes.func.isRequired
196
+ })]),
197
+ "autoCorrect": PropTypes.string,
198
+ "autoFocus": PropTypes.bool,
199
+ "autoSave": PropTypes.string,
200
+ "buttonType": PropTypes.oneOf(["primary", "secondary", "tertiary"]),
201
+ "children": PropTypes.node,
202
+ "className": PropTypes.string,
203
+ "color": PropTypes.string,
204
+ "content": PropTypes.string,
205
+ "contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
206
+ "contextMenu": PropTypes.string,
207
+ "dangerouslySetInnerHTML": PropTypes.shape({
208
+ "__html": PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired
209
+ }),
210
+ "data-element": PropTypes.string,
211
+ "data-role": PropTypes.string,
212
+ "datatype": PropTypes.string,
213
+ "defaultChecked": PropTypes.bool,
214
+ "defaultValue": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
215
+ "dir": PropTypes.string,
216
+ "disabled": PropTypes.bool,
217
+ "draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
218
+ "enterKeyHint": PropTypes.oneOf(["done", "enter", "go", "next", "previous", "search", "send"]),
219
+ "form": PropTypes.string,
220
+ "formAction": PropTypes.string,
221
+ "formEncType": PropTypes.string,
222
+ "formMethod": PropTypes.string,
223
+ "formNoValidate": PropTypes.bool,
224
+ "formTarget": PropTypes.string,
225
+ "hidden": PropTypes.bool,
226
+ "id": PropTypes.string,
227
+ "inlist": PropTypes.any,
228
+ "inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
229
+ "is": PropTypes.string,
230
+ "itemID": PropTypes.string,
231
+ "itemProp": PropTypes.string,
232
+ "itemRef": PropTypes.string,
233
+ "itemScope": PropTypes.bool,
234
+ "itemType": PropTypes.string,
235
+ "lang": PropTypes.string,
236
+ "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
237
+ "__@toStringTag": PropTypes.string.isRequired,
238
+ "description": PropTypes.string,
239
+ "toString": PropTypes.func.isRequired,
240
+ "valueOf": PropTypes.func.isRequired
241
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
242
+ "__@toStringTag": PropTypes.string.isRequired,
243
+ "description": PropTypes.string,
244
+ "toString": PropTypes.func.isRequired,
245
+ "valueOf": PropTypes.func.isRequired
246
+ }), PropTypes.string]),
247
+ "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
248
+ "__@toStringTag": PropTypes.string.isRequired,
249
+ "description": PropTypes.string,
250
+ "toString": PropTypes.func.isRequired,
251
+ "valueOf": PropTypes.func.isRequired
252
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
253
+ "__@toStringTag": PropTypes.string.isRequired,
254
+ "description": PropTypes.string,
255
+ "toString": PropTypes.func.isRequired,
256
+ "valueOf": PropTypes.func.isRequired
257
+ }), PropTypes.string]),
258
+ "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
259
+ "__@toStringTag": PropTypes.string.isRequired,
260
+ "description": PropTypes.string,
261
+ "toString": PropTypes.func.isRequired,
262
+ "valueOf": PropTypes.func.isRequired
263
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
264
+ "__@toStringTag": PropTypes.string.isRequired,
265
+ "description": PropTypes.string,
266
+ "toString": PropTypes.func.isRequired,
267
+ "valueOf": PropTypes.func.isRequired
268
+ }), PropTypes.string]),
269
+ "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
270
+ "__@toStringTag": PropTypes.string.isRequired,
271
+ "description": PropTypes.string,
272
+ "toString": PropTypes.func.isRequired,
273
+ "valueOf": PropTypes.func.isRequired
274
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
275
+ "__@toStringTag": PropTypes.string.isRequired,
276
+ "description": PropTypes.string,
277
+ "toString": PropTypes.func.isRequired,
278
+ "valueOf": PropTypes.func.isRequired
279
+ }), PropTypes.string]),
280
+ "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
281
+ "__@toStringTag": PropTypes.string.isRequired,
282
+ "description": PropTypes.string,
283
+ "toString": PropTypes.func.isRequired,
284
+ "valueOf": PropTypes.func.isRequired
285
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
286
+ "__@toStringTag": PropTypes.string.isRequired,
287
+ "description": PropTypes.string,
288
+ "toString": PropTypes.func.isRequired,
289
+ "valueOf": PropTypes.func.isRequired
290
+ }), PropTypes.string]),
291
+ "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
292
+ "__@toStringTag": PropTypes.string.isRequired,
293
+ "description": PropTypes.string,
294
+ "toString": PropTypes.func.isRequired,
295
+ "valueOf": PropTypes.func.isRequired
296
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
297
+ "__@toStringTag": PropTypes.string.isRequired,
298
+ "description": PropTypes.string,
299
+ "toString": PropTypes.func.isRequired,
300
+ "valueOf": PropTypes.func.isRequired
301
+ }), PropTypes.string]),
302
+ "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
303
+ "__@toStringTag": PropTypes.string.isRequired,
304
+ "description": PropTypes.string,
305
+ "toString": PropTypes.func.isRequired,
306
+ "valueOf": PropTypes.func.isRequired
307
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
308
+ "__@toStringTag": PropTypes.string.isRequired,
309
+ "description": PropTypes.string,
310
+ "toString": PropTypes.func.isRequired,
311
+ "valueOf": PropTypes.func.isRequired
312
+ }), PropTypes.string]),
313
+ "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
314
+ "__@toStringTag": PropTypes.string.isRequired,
315
+ "description": PropTypes.string,
316
+ "toString": PropTypes.func.isRequired,
317
+ "valueOf": PropTypes.func.isRequired
318
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
319
+ "__@toStringTag": PropTypes.string.isRequired,
320
+ "description": PropTypes.string,
321
+ "toString": PropTypes.func.isRequired,
322
+ "valueOf": PropTypes.func.isRequired
323
+ }), PropTypes.string]),
324
+ "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
325
+ "__@toStringTag": PropTypes.string.isRequired,
326
+ "description": PropTypes.string,
327
+ "toString": PropTypes.func.isRequired,
328
+ "valueOf": PropTypes.func.isRequired
329
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
330
+ "__@toStringTag": PropTypes.string.isRequired,
331
+ "description": PropTypes.string,
332
+ "toString": PropTypes.func.isRequired,
333
+ "valueOf": PropTypes.func.isRequired
334
+ }), PropTypes.string]),
335
+ "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
336
+ "__@toStringTag": PropTypes.string.isRequired,
337
+ "description": PropTypes.string,
338
+ "toString": PropTypes.func.isRequired,
339
+ "valueOf": PropTypes.func.isRequired
340
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
341
+ "__@toStringTag": PropTypes.string.isRequired,
342
+ "description": PropTypes.string,
343
+ "toString": PropTypes.func.isRequired,
344
+ "valueOf": PropTypes.func.isRequired
345
+ }), PropTypes.string]),
346
+ "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
347
+ "__@toStringTag": PropTypes.string.isRequired,
348
+ "description": PropTypes.string,
349
+ "toString": PropTypes.func.isRequired,
350
+ "valueOf": PropTypes.func.isRequired
351
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
352
+ "__@toStringTag": PropTypes.string.isRequired,
353
+ "description": PropTypes.string,
354
+ "toString": PropTypes.func.isRequired,
355
+ "valueOf": PropTypes.func.isRequired
356
+ }), PropTypes.string]),
357
+ "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
358
+ "__@toStringTag": PropTypes.string.isRequired,
359
+ "description": PropTypes.string,
360
+ "toString": PropTypes.func.isRequired,
361
+ "valueOf": PropTypes.func.isRequired
362
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
363
+ "__@toStringTag": PropTypes.string.isRequired,
364
+ "description": PropTypes.string,
365
+ "toString": PropTypes.func.isRequired,
366
+ "valueOf": PropTypes.func.isRequired
367
+ }), PropTypes.string]),
368
+ "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
369
+ "__@toStringTag": PropTypes.string.isRequired,
370
+ "description": PropTypes.string,
371
+ "toString": PropTypes.func.isRequired,
372
+ "valueOf": PropTypes.func.isRequired
373
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
374
+ "__@toStringTag": PropTypes.string.isRequired,
375
+ "description": PropTypes.string,
376
+ "toString": PropTypes.func.isRequired,
377
+ "valueOf": PropTypes.func.isRequired
378
+ }), PropTypes.string]),
379
+ "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
380
+ "__@toStringTag": PropTypes.string.isRequired,
381
+ "description": PropTypes.string,
382
+ "toString": PropTypes.func.isRequired,
383
+ "valueOf": PropTypes.func.isRequired
384
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
385
+ "__@toStringTag": PropTypes.string.isRequired,
386
+ "description": PropTypes.string,
387
+ "toString": PropTypes.func.isRequired,
388
+ "valueOf": PropTypes.func.isRequired
389
+ }), PropTypes.string]),
390
+ "name": PropTypes.string,
391
+ "nonce": PropTypes.string,
392
+ "onAbort": PropTypes.func,
393
+ "onAbortCapture": PropTypes.func,
394
+ "onAnimationEnd": PropTypes.func,
395
+ "onAnimationEndCapture": PropTypes.func,
396
+ "onAnimationIteration": PropTypes.func,
397
+ "onAnimationIterationCapture": PropTypes.func,
398
+ "onAnimationStart": PropTypes.func,
399
+ "onAnimationStartCapture": PropTypes.func,
400
+ "onAuxClick": PropTypes.func,
401
+ "onAuxClickCapture": PropTypes.func,
402
+ "onBeforeInput": PropTypes.func,
403
+ "onBeforeInputCapture": PropTypes.func,
404
+ "onBlur": PropTypes.func,
405
+ "onBlurCapture": PropTypes.func,
406
+ "onCanPlay": PropTypes.func,
407
+ "onCanPlayCapture": PropTypes.func,
408
+ "onCanPlayThrough": PropTypes.func,
409
+ "onCanPlayThroughCapture": PropTypes.func,
410
+ "onChange": PropTypes.func,
411
+ "onChangeCapture": PropTypes.func,
412
+ "onClick": PropTypes.func,
413
+ "onClickCapture": PropTypes.func,
414
+ "onCompositionEnd": PropTypes.func,
415
+ "onCompositionEndCapture": PropTypes.func,
416
+ "onCompositionStart": PropTypes.func,
417
+ "onCompositionStartCapture": PropTypes.func,
418
+ "onCompositionUpdate": PropTypes.func,
419
+ "onCompositionUpdateCapture": PropTypes.func,
420
+ "onContextMenu": PropTypes.func,
421
+ "onContextMenuCapture": PropTypes.func,
422
+ "onCopy": PropTypes.func,
423
+ "onCopyCapture": PropTypes.func,
424
+ "onCut": PropTypes.func,
425
+ "onCutCapture": PropTypes.func,
426
+ "onDoubleClick": PropTypes.func,
427
+ "onDoubleClickCapture": PropTypes.func,
428
+ "onDrag": PropTypes.func,
429
+ "onDragCapture": PropTypes.func,
430
+ "onDragEnd": PropTypes.func,
431
+ "onDragEndCapture": PropTypes.func,
432
+ "onDragEnter": PropTypes.func,
433
+ "onDragEnterCapture": PropTypes.func,
434
+ "onDragExit": PropTypes.func,
435
+ "onDragExitCapture": PropTypes.func,
436
+ "onDragLeave": PropTypes.func,
437
+ "onDragLeaveCapture": PropTypes.func,
438
+ "onDragOver": PropTypes.func,
439
+ "onDragOverCapture": PropTypes.func,
440
+ "onDragStart": PropTypes.func,
441
+ "onDragStartCapture": PropTypes.func,
442
+ "onDrop": PropTypes.func,
443
+ "onDropCapture": PropTypes.func,
444
+ "onDurationChange": PropTypes.func,
445
+ "onDurationChangeCapture": PropTypes.func,
446
+ "onEmptied": PropTypes.func,
447
+ "onEmptiedCapture": PropTypes.func,
448
+ "onEncrypted": PropTypes.func,
449
+ "onEncryptedCapture": PropTypes.func,
450
+ "onEnded": PropTypes.func,
451
+ "onEndedCapture": PropTypes.func,
452
+ "onError": PropTypes.func,
453
+ "onErrorCapture": PropTypes.func,
454
+ "onFocus": PropTypes.func,
455
+ "onFocusCapture": PropTypes.func,
456
+ "onGotPointerCapture": PropTypes.func,
457
+ "onGotPointerCaptureCapture": PropTypes.func,
458
+ "onInput": PropTypes.func,
459
+ "onInputCapture": PropTypes.func,
460
+ "onInvalid": PropTypes.func,
461
+ "onInvalidCapture": PropTypes.func,
462
+ "onKeyDown": PropTypes.func,
463
+ "onKeyDownCapture": PropTypes.func,
464
+ "onKeyPress": PropTypes.func,
465
+ "onKeyPressCapture": PropTypes.func,
466
+ "onKeyUp": PropTypes.func,
467
+ "onKeyUpCapture": PropTypes.func,
468
+ "onLoad": PropTypes.func,
469
+ "onLoadCapture": PropTypes.func,
470
+ "onLoadedData": PropTypes.func,
471
+ "onLoadedDataCapture": PropTypes.func,
472
+ "onLoadedMetadata": PropTypes.func,
473
+ "onLoadedMetadataCapture": PropTypes.func,
474
+ "onLoadStart": PropTypes.func,
475
+ "onLoadStartCapture": PropTypes.func,
476
+ "onLostPointerCapture": PropTypes.func,
477
+ "onLostPointerCaptureCapture": PropTypes.func,
478
+ "onMouseDown": PropTypes.func,
479
+ "onMouseDownCapture": PropTypes.func,
480
+ "onMouseEnter": PropTypes.func,
481
+ "onMouseLeave": PropTypes.func,
482
+ "onMouseMove": PropTypes.func,
483
+ "onMouseMoveCapture": PropTypes.func,
484
+ "onMouseOut": PropTypes.func,
485
+ "onMouseOutCapture": PropTypes.func,
486
+ "onMouseOver": PropTypes.func,
487
+ "onMouseOverCapture": PropTypes.func,
488
+ "onMouseUp": PropTypes.func,
489
+ "onMouseUpCapture": PropTypes.func,
490
+ "onPaste": PropTypes.func,
491
+ "onPasteCapture": PropTypes.func,
492
+ "onPause": PropTypes.func,
493
+ "onPauseCapture": PropTypes.func,
494
+ "onPlay": PropTypes.func,
495
+ "onPlayCapture": PropTypes.func,
496
+ "onPlaying": PropTypes.func,
497
+ "onPlayingCapture": PropTypes.func,
498
+ "onPointerCancel": PropTypes.func,
499
+ "onPointerCancelCapture": PropTypes.func,
500
+ "onPointerDown": PropTypes.func,
501
+ "onPointerDownCapture": PropTypes.func,
502
+ "onPointerEnter": PropTypes.func,
503
+ "onPointerEnterCapture": PropTypes.func,
504
+ "onPointerLeave": PropTypes.func,
505
+ "onPointerLeaveCapture": PropTypes.func,
506
+ "onPointerMove": PropTypes.func,
507
+ "onPointerMoveCapture": PropTypes.func,
508
+ "onPointerOut": PropTypes.func,
509
+ "onPointerOutCapture": PropTypes.func,
510
+ "onPointerOver": PropTypes.func,
511
+ "onPointerOverCapture": PropTypes.func,
512
+ "onPointerUp": PropTypes.func,
513
+ "onPointerUpCapture": PropTypes.func,
514
+ "onProgress": PropTypes.func,
515
+ "onProgressCapture": PropTypes.func,
516
+ "onRateChange": PropTypes.func,
517
+ "onRateChangeCapture": PropTypes.func,
518
+ "onReset": PropTypes.func,
519
+ "onResetCapture": PropTypes.func,
520
+ "onScroll": PropTypes.func,
521
+ "onScrollCapture": PropTypes.func,
522
+ "onSeeked": PropTypes.func,
523
+ "onSeekedCapture": PropTypes.func,
524
+ "onSeeking": PropTypes.func,
525
+ "onSeekingCapture": PropTypes.func,
526
+ "onSelect": PropTypes.func,
527
+ "onSelectCapture": PropTypes.func,
528
+ "onStalled": PropTypes.func,
529
+ "onStalledCapture": PropTypes.func,
530
+ "onSubmit": PropTypes.func,
531
+ "onSubmitCapture": PropTypes.func,
532
+ "onSuspend": PropTypes.func,
533
+ "onSuspendCapture": PropTypes.func,
534
+ "onTimeUpdate": PropTypes.func,
535
+ "onTimeUpdateCapture": PropTypes.func,
536
+ "onTouchCancel": PropTypes.func,
537
+ "onTouchCancelCapture": PropTypes.func,
538
+ "onTouchEnd": PropTypes.func,
539
+ "onTouchEndCapture": PropTypes.func,
540
+ "onTouchMove": PropTypes.func,
541
+ "onTouchMoveCapture": PropTypes.func,
542
+ "onTouchStart": PropTypes.func,
543
+ "onTouchStartCapture": PropTypes.func,
544
+ "onTransitionEnd": PropTypes.func,
545
+ "onTransitionEndCapture": PropTypes.func,
546
+ "onVolumeChange": PropTypes.func,
547
+ "onVolumeChangeCapture": PropTypes.func,
548
+ "onWaiting": PropTypes.func,
549
+ "onWaitingCapture": PropTypes.func,
550
+ "onWheel": PropTypes.func,
551
+ "onWheelCapture": PropTypes.func,
552
+ "placeholder": PropTypes.string,
553
+ "position": PropTypes.oneOf(["left", "right"]),
554
+ "prefix": PropTypes.string,
555
+ "property": PropTypes.string,
556
+ "radioGroup": PropTypes.string,
557
+ "rel": PropTypes.string,
558
+ "resource": PropTypes.string,
559
+ "results": PropTypes.number,
560
+ "rev": PropTypes.string,
561
+ "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({
562
+ "__@iterator": PropTypes.func.isRequired,
563
+ "anchor": PropTypes.func.isRequired,
564
+ "at": PropTypes.func.isRequired,
565
+ "big": PropTypes.func.isRequired,
566
+ "blink": PropTypes.func.isRequired,
567
+ "bold": PropTypes.func.isRequired,
568
+ "charAt": PropTypes.func.isRequired,
569
+ "charCodeAt": PropTypes.func.isRequired,
570
+ "codePointAt": PropTypes.func.isRequired,
571
+ "concat": PropTypes.func.isRequired,
572
+ "endsWith": PropTypes.func.isRequired,
573
+ "fixed": PropTypes.func.isRequired,
574
+ "fontcolor": PropTypes.func.isRequired,
575
+ "fontsize": PropTypes.func.isRequired,
576
+ "includes": PropTypes.func.isRequired,
577
+ "indexOf": PropTypes.func.isRequired,
578
+ "italics": PropTypes.func.isRequired,
579
+ "lastIndexOf": PropTypes.func.isRequired,
580
+ "length": PropTypes.number.isRequired,
581
+ "link": PropTypes.func.isRequired,
582
+ "localeCompare": PropTypes.func.isRequired,
583
+ "match": PropTypes.func.isRequired,
584
+ "matchAll": PropTypes.func.isRequired,
585
+ "normalize": PropTypes.func.isRequired,
586
+ "padEnd": PropTypes.func.isRequired,
587
+ "padStart": PropTypes.func.isRequired,
588
+ "repeat": PropTypes.func.isRequired,
589
+ "replace": PropTypes.func.isRequired,
590
+ "search": PropTypes.func.isRequired,
591
+ "slice": PropTypes.func.isRequired,
592
+ "small": PropTypes.func.isRequired,
593
+ "split": PropTypes.func.isRequired,
594
+ "startsWith": PropTypes.func.isRequired,
595
+ "strike": PropTypes.func.isRequired,
596
+ "sub": PropTypes.func.isRequired,
597
+ "substr": PropTypes.func.isRequired,
598
+ "substring": PropTypes.func.isRequired,
599
+ "sup": PropTypes.func.isRequired,
600
+ "toLocaleLowerCase": PropTypes.func.isRequired,
601
+ "toLocaleUpperCase": PropTypes.func.isRequired,
602
+ "toLowerCase": PropTypes.func.isRequired,
603
+ "toString": PropTypes.func.isRequired,
604
+ "toUpperCase": PropTypes.func.isRequired,
605
+ "trim": PropTypes.func.isRequired,
606
+ "trimEnd": PropTypes.func.isRequired,
607
+ "trimLeft": PropTypes.func.isRequired,
608
+ "trimRight": PropTypes.func.isRequired,
609
+ "trimStart": PropTypes.func.isRequired,
610
+ "valueOf": PropTypes.func.isRequired
611
+ })]),
612
+ "security": PropTypes.string,
613
+ "size": PropTypes.oneOf(["large", "medium", "small"]),
614
+ "slot": PropTypes.string,
615
+ "spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
616
+ "style": PropTypes.object,
617
+ "subtext": PropTypes.string,
618
+ "suppressContentEditableWarning": PropTypes.bool,
619
+ "suppressHydrationWarning": PropTypes.bool,
620
+ "tabIndex": PropTypes.number,
621
+ "text": PropTypes.string.isRequired,
622
+ "title": PropTypes.string,
623
+ "translate": PropTypes.oneOf(["no", "yes"]),
624
+ "type": PropTypes.oneOf(["button", "reset", "submit"]),
625
+ "typeof": PropTypes.string,
626
+ "unselectable": PropTypes.oneOf(["off", "on"]),
627
+ "value": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
628
+ "vocab": PropTypes.string,
629
+ "width": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
630
+ "__@iterator": PropTypes.func.isRequired,
631
+ "anchor": PropTypes.func.isRequired,
632
+ "at": PropTypes.func.isRequired,
633
+ "big": PropTypes.func.isRequired,
634
+ "blink": PropTypes.func.isRequired,
635
+ "bold": PropTypes.func.isRequired,
636
+ "charAt": PropTypes.func.isRequired,
637
+ "charCodeAt": PropTypes.func.isRequired,
638
+ "codePointAt": PropTypes.func.isRequired,
639
+ "concat": PropTypes.func.isRequired,
640
+ "endsWith": PropTypes.func.isRequired,
641
+ "fixed": PropTypes.func.isRequired,
642
+ "fontcolor": PropTypes.func.isRequired,
643
+ "fontsize": PropTypes.func.isRequired,
644
+ "includes": PropTypes.func.isRequired,
645
+ "indexOf": PropTypes.func.isRequired,
646
+ "italics": PropTypes.func.isRequired,
647
+ "lastIndexOf": PropTypes.func.isRequired,
648
+ "length": PropTypes.number.isRequired,
649
+ "link": PropTypes.func.isRequired,
650
+ "localeCompare": PropTypes.func.isRequired,
651
+ "match": PropTypes.func.isRequired,
652
+ "matchAll": PropTypes.func.isRequired,
653
+ "normalize": PropTypes.func.isRequired,
654
+ "padEnd": PropTypes.func.isRequired,
655
+ "padStart": PropTypes.func.isRequired,
656
+ "repeat": PropTypes.func.isRequired,
657
+ "replace": PropTypes.func.isRequired,
658
+ "search": PropTypes.func.isRequired,
659
+ "slice": PropTypes.func.isRequired,
660
+ "small": PropTypes.func.isRequired,
661
+ "split": PropTypes.func.isRequired,
662
+ "startsWith": PropTypes.func.isRequired,
663
+ "strike": PropTypes.func.isRequired,
664
+ "sub": PropTypes.func.isRequired,
665
+ "substr": PropTypes.func.isRequired,
666
+ "substring": PropTypes.func.isRequired,
667
+ "sup": PropTypes.func.isRequired,
668
+ "toLocaleLowerCase": PropTypes.func.isRequired,
669
+ "toLocaleUpperCase": PropTypes.func.isRequired,
670
+ "toLowerCase": PropTypes.func.isRequired,
671
+ "toString": PropTypes.func.isRequired,
672
+ "toUpperCase": PropTypes.func.isRequired,
673
+ "trim": PropTypes.func.isRequired,
674
+ "trimEnd": PropTypes.func.isRequired,
675
+ "trimLeft": PropTypes.func.isRequired,
676
+ "trimRight": PropTypes.func.isRequired,
677
+ "trimStart": PropTypes.func.isRequired,
678
+ "valueOf": PropTypes.func.isRequired
679
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
680
+ "__@iterator": PropTypes.func.isRequired,
681
+ "anchor": PropTypes.func.isRequired,
682
+ "at": PropTypes.func.isRequired,
683
+ "big": PropTypes.func.isRequired,
684
+ "blink": PropTypes.func.isRequired,
685
+ "bold": PropTypes.func.isRequired,
686
+ "charAt": PropTypes.func.isRequired,
687
+ "charCodeAt": PropTypes.func.isRequired,
688
+ "codePointAt": PropTypes.func.isRequired,
689
+ "concat": PropTypes.func.isRequired,
690
+ "endsWith": PropTypes.func.isRequired,
691
+ "fixed": PropTypes.func.isRequired,
692
+ "fontcolor": PropTypes.func.isRequired,
693
+ "fontsize": PropTypes.func.isRequired,
694
+ "includes": PropTypes.func.isRequired,
695
+ "indexOf": PropTypes.func.isRequired,
696
+ "italics": PropTypes.func.isRequired,
697
+ "lastIndexOf": PropTypes.func.isRequired,
698
+ "length": PropTypes.number.isRequired,
699
+ "link": PropTypes.func.isRequired,
700
+ "localeCompare": PropTypes.func.isRequired,
701
+ "match": PropTypes.func.isRequired,
702
+ "matchAll": PropTypes.func.isRequired,
703
+ "normalize": PropTypes.func.isRequired,
704
+ "padEnd": PropTypes.func.isRequired,
705
+ "padStart": PropTypes.func.isRequired,
706
+ "repeat": PropTypes.func.isRequired,
707
+ "replace": PropTypes.func.isRequired,
708
+ "search": PropTypes.func.isRequired,
709
+ "slice": PropTypes.func.isRequired,
710
+ "small": PropTypes.func.isRequired,
711
+ "split": PropTypes.func.isRequired,
712
+ "startsWith": PropTypes.func.isRequired,
713
+ "strike": PropTypes.func.isRequired,
714
+ "sub": PropTypes.func.isRequired,
715
+ "substr": PropTypes.func.isRequired,
716
+ "substring": PropTypes.func.isRequired,
717
+ "sup": PropTypes.func.isRequired,
718
+ "toLocaleLowerCase": PropTypes.func.isRequired,
719
+ "toLocaleUpperCase": PropTypes.func.isRequired,
720
+ "toLowerCase": PropTypes.func.isRequired,
721
+ "toString": PropTypes.func.isRequired,
722
+ "toUpperCase": PropTypes.func.isRequired,
723
+ "trim": PropTypes.func.isRequired,
724
+ "trimEnd": PropTypes.func.isRequired,
725
+ "trimLeft": PropTypes.func.isRequired,
726
+ "trimRight": PropTypes.func.isRequired,
727
+ "trimStart": PropTypes.func.isRequired,
728
+ "valueOf": PropTypes.func.isRequired
729
+ }), PropTypes.string])
730
+ };
731
+ }
732
+ export { MultiActionButton };
88
733
  export default MultiActionButton;