react-magma-dom 3.5.1 → 3.6.0-next.3

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.
@@ -5,6 +5,11 @@ import { UseAccordionButtonProps } from './useAccordionButton';
5
5
  * @children required
6
6
  */
7
7
  export interface AccordionButtonProps extends UseAccordionButtonProps, React.HTMLAttributes<HTMLButtonElement> {
8
+ /**
9
+ * For use in components repurposing Accordion with custom keyboard navigation with it's elements.
10
+ * @internal
11
+ */
12
+ customOnKeyDown?: () => void;
8
13
  /**
9
14
  * @internal
10
15
  */
@@ -11,6 +11,8 @@ export declare const CustomIconButton: import("@storybook/csf").AnnotatedStoryFn
11
11
  export declare const SmallButton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, DropdownProps>;
12
12
  export declare const SplitButton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, DropdownProps>;
13
13
  export declare const LinkMenu: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, DropdownProps>;
14
- export declare const Form: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, DropdownProps>;
15
14
  export declare const Inverse: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, DropdownProps>;
16
15
  export declare const NoItems: (args: any) => JSX.Element;
16
+ export declare const ExpandableItems: (args: any) => JSX.Element;
17
+ export declare const ExpandableItemsWithIcons: (args: any) => JSX.Element;
18
+ export declare const ExpandableItemsWithIconsAndConsoleWarning: (args: any) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { AccordionButtonProps } from '../Accordion';
3
+ import { IconProps } from 'react-magma-icons';
4
+ export interface DropdownExpandableMenuButtonProps extends AccordionButtonProps {
5
+ icon?: React.ReactElement<IconProps>;
6
+ testId?: string;
7
+ }
8
+ export declare const DropdownExpandableMenuButton: React.ForwardRefExoticComponent<DropdownExpandableMenuButtonProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ export interface DropdownExpandableMenuGroupContextInterface {
3
+ expandableMenuButtonHasIcon?: boolean;
4
+ isExpandablePanel?: boolean;
5
+ }
6
+ export declare const DropdownExpandableMenuGroupContext: React.Context<DropdownExpandableMenuGroupContextInterface>;
7
+ export declare const DropdownExpandableMenuGroup: React.ForwardRefExoticComponent<(import("../Accordion").AccordionMultipleProps & React.RefAttributes<HTMLDivElement>) | (import("../Accordion").AccordionSingleProps & React.RefAttributes<HTMLDivElement>) | (import("../Accordion").AccordionMultipleControlledProps & React.RefAttributes<HTMLDivElement>) | (import("../Accordion").AccordionSingleControlledProps & React.RefAttributes<HTMLDivElement>)>;
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ import { AccordionItemProps } from '../Accordion';
3
+ export interface DropdownExpandableMenuItemProps extends AccordionItemProps {
4
+ /**
5
+ * If true, item will be disabled; it will appear dimmed and onClick event (or any other events) will not fire
6
+ * @default false
7
+ */
8
+ disabled?: boolean;
9
+ /**
10
+ * @internal
11
+ */
12
+ testId?: string;
13
+ }
14
+ export interface DropdownExpandableMenuItemContextInterface {
15
+ disabled?: boolean;
16
+ }
17
+ export declare const DropdownExpandableMenuItemContext: React.Context<DropdownExpandableMenuItemContextInterface>;
18
+ export declare const DropdownExpandableMenuItem: React.ForwardRefExoticComponent<DropdownExpandableMenuItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { Omit } from '../../utils';
3
+ import { DropdownMenuItemProps } from './DropdownMenuItem';
4
+ export interface DropdownExpandableMenuListItemProps extends Omit<DropdownMenuItemProps, 'icon'> {
5
+ disabled?: boolean;
6
+ testId?: string;
7
+ }
8
+ export declare const DropdownExpandableMenuListItem: React.ForwardRefExoticComponent<DropdownExpandableMenuListItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { AccordionPanelProps } from '../Accordion';
3
+ export interface DropdownExpandableMenuPanelProps extends AccordionPanelProps {
4
+ }
5
+ export declare const DropdownExpandableMenuPanel: React.ForwardRefExoticComponent<DropdownExpandableMenuPanelProps & React.RefAttributes<HTMLDivElement>>;
@@ -5,4 +5,10 @@ export * from './DropdownDivider';
5
5
  export * from './DropdownHeader';
6
6
  export * from './DropdownMenuGroup';
7
7
  export * from './DropdownMenuItem';
8
+ export * from './DropdownMenuNavItem';
8
9
  export * from './DropdownSplitButton';
10
+ export * from './DropdownExpandableMenuButton';
11
+ export * from './DropdownExpandableMenuGroup';
12
+ export * from './DropdownExpandableMenuPanel';
13
+ export * from './DropdownExpandableMenuItem';
14
+ export * from './DropdownExpandableMenuListItem';
@@ -29,6 +29,7 @@ export declare const IconPositions: {
29
29
  maxCount?: number;
30
30
  maxLength?: number;
31
31
  messageStyle?: React.CSSProperties;
32
+ children?: any;
32
33
  hasError?: boolean;
33
34
  icon?: React.ReactElement<import("react-magma-icons").IconProps, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
34
35
  iconAriaLabel?: string;
@@ -163,7 +164,6 @@ export declare const IconPositions: {
163
164
  'aria-valuemin'?: number;
164
165
  'aria-valuenow'?: number;
165
166
  'aria-valuetext'?: string;
166
- children?: React.ReactNode;
167
167
  dangerouslySetInnerHTML?: {
168
168
  __html: string;
169
169
  };
@@ -340,9 +340,336 @@ export declare const Inverse: import("@storybook/csf").AnnotatedStoryFn<import("
340
340
  export declare const WithChildren: {
341
341
  (args: any): JSX.Element;
342
342
  args: {
343
- iconPosition: InputIconPosition;
344
343
  isInverse?: boolean;
345
344
  testId?: string;
345
+ iconPosition?: InputIconPosition;
346
+ containerStyle?: React.CSSProperties;
347
+ actionable?: boolean;
348
+ errorMessage?: React.ReactNode;
349
+ hasCharacterCounter?: boolean;
350
+ helperMessage?: React.ReactNode;
351
+ inputLength?: number;
352
+ inputSize?: InputSize;
353
+ isLabelVisuallyHidden?: boolean;
354
+ labelPosition?: LabelPosition;
355
+ labelStyle?: React.CSSProperties;
356
+ labelText?: React.ReactNode;
357
+ labelWidth?: number;
358
+ maxCount?: number;
359
+ maxLength?: number;
360
+ messageStyle?: React.CSSProperties;
361
+ children?: any;
362
+ hasError?: boolean;
363
+ icon?: React.ReactElement<import("react-magma-icons").IconProps, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
364
+ iconAriaLabel?: string;
365
+ iconRef?: React.Ref<HTMLButtonElement>;
366
+ inputStyle?: React.CSSProperties;
367
+ isClearable?: boolean;
368
+ onClear?: () => void;
369
+ isPredictive?: boolean;
370
+ onIconClick?: () => void;
371
+ onIconKeyDown?: (event: any) => void;
372
+ theme?: any;
373
+ type?: InputType;
374
+ isPasswordInput?: boolean;
375
+ width?: string;
376
+ accept?: string;
377
+ alt?: string;
378
+ autoComplete?: string;
379
+ autoFocus?: boolean;
380
+ capture?: string | boolean;
381
+ checked?: boolean;
382
+ crossOrigin?: string;
383
+ disabled?: boolean;
384
+ form?: string;
385
+ formAction?: string;
386
+ formEncType?: string;
387
+ formMethod?: string;
388
+ formNoValidate?: boolean;
389
+ formTarget?: string;
390
+ height?: React.ReactText;
391
+ list?: string;
392
+ max?: React.ReactText;
393
+ min?: React.ReactText;
394
+ minLength?: number;
395
+ multiple?: boolean;
396
+ name?: string;
397
+ pattern?: string;
398
+ placeholder?: string;
399
+ readOnly?: boolean;
400
+ required?: boolean;
401
+ size?: number;
402
+ src?: string;
403
+ step?: React.ReactText;
404
+ value?: string | number | readonly string[];
405
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
406
+ defaultChecked?: boolean;
407
+ defaultValue?: string | number | readonly string[];
408
+ suppressContentEditableWarning?: boolean;
409
+ suppressHydrationWarning?: boolean;
410
+ accessKey?: string;
411
+ className?: string;
412
+ contentEditable?: boolean | "inherit" | "true" | "false";
413
+ contextMenu?: string;
414
+ dir?: string;
415
+ draggable?: boolean | "true" | "false";
416
+ hidden?: boolean;
417
+ id?: string;
418
+ lang?: string;
419
+ slot?: string;
420
+ spellCheck?: boolean | "true" | "false";
421
+ style?: React.CSSProperties;
422
+ tabIndex?: number;
423
+ title?: string;
424
+ translate?: "yes" | "no";
425
+ radioGroup?: string;
426
+ role?: React.AriaRole;
427
+ about?: string;
428
+ datatype?: string;
429
+ inlist?: any;
430
+ prefix?: string;
431
+ property?: string;
432
+ resource?: string;
433
+ typeof?: string;
434
+ vocab?: string;
435
+ autoCapitalize?: string;
436
+ autoCorrect?: string;
437
+ autoSave?: string;
438
+ color?: string;
439
+ itemProp?: string;
440
+ itemScope?: boolean;
441
+ itemType?: string;
442
+ itemID?: string;
443
+ itemRef?: string;
444
+ results?: number;
445
+ security?: string;
446
+ unselectable?: "on" | "off";
447
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
448
+ is?: string;
449
+ 'aria-activedescendant'?: string;
450
+ 'aria-atomic'?: boolean | "true" | "false";
451
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both";
452
+ 'aria-busy'?: boolean | "true" | "false";
453
+ 'aria-checked'?: boolean | "true" | "false" | "mixed";
454
+ 'aria-colcount'?: number;
455
+ 'aria-colindex'?: number;
456
+ 'aria-colspan'?: number;
457
+ 'aria-controls'?: string;
458
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
459
+ 'aria-describedby'?: string;
460
+ 'aria-details'?: string;
461
+ 'aria-disabled'?: boolean | "true" | "false";
462
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup";
463
+ 'aria-errormessage'?: string;
464
+ 'aria-expanded'?: boolean | "true" | "false";
465
+ 'aria-flowto'?: string;
466
+ 'aria-grabbed'?: boolean | "true" | "false";
467
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree";
468
+ 'aria-hidden'?: boolean | "true" | "false";
469
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
470
+ 'aria-keyshortcuts'?: string;
471
+ 'aria-label'?: string;
472
+ 'aria-labelledby'?: string;
473
+ 'aria-level'?: number;
474
+ 'aria-live'?: "off" | "assertive" | "polite";
475
+ 'aria-modal'?: boolean | "true" | "false";
476
+ 'aria-multiline'?: boolean | "true" | "false";
477
+ 'aria-multiselectable'?: boolean | "true" | "false";
478
+ 'aria-orientation'?: "horizontal" | "vertical";
479
+ 'aria-owns'?: string;
480
+ 'aria-placeholder'?: string;
481
+ 'aria-posinset'?: number;
482
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed";
483
+ 'aria-readonly'?: boolean | "true" | "false";
484
+ 'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
485
+ 'aria-required'?: boolean | "true" | "false";
486
+ 'aria-roledescription'?: string;
487
+ 'aria-rowcount'?: number;
488
+ 'aria-rowindex'?: number;
489
+ 'aria-rowspan'?: number;
490
+ 'aria-selected'?: boolean | "true" | "false";
491
+ 'aria-setsize'?: number;
492
+ 'aria-sort'?: "none" | "other" | "ascending" | "descending";
493
+ 'aria-valuemax'?: number;
494
+ 'aria-valuemin'?: number;
495
+ 'aria-valuenow'?: number;
496
+ 'aria-valuetext'?: string;
497
+ dangerouslySetInnerHTML?: {
498
+ __html: string;
499
+ };
500
+ onCopy?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
501
+ onCopyCapture?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
502
+ onCut?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
503
+ onCutCapture?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
504
+ onPaste?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
505
+ onPasteCapture?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
506
+ onCompositionEnd?: (event: React.CompositionEvent<HTMLInputElement>) => void;
507
+ onCompositionEndCapture?: (event: React.CompositionEvent<HTMLInputElement>) => void;
508
+ onCompositionStart?: (event: React.CompositionEvent<HTMLInputElement>) => void;
509
+ onCompositionStartCapture?: (event: React.CompositionEvent<HTMLInputElement>) => void;
510
+ onCompositionUpdate?: (event: React.CompositionEvent<HTMLInputElement>) => void;
511
+ onCompositionUpdateCapture?: (event: React.CompositionEvent<HTMLInputElement>) => void;
512
+ onFocus?: (event: React.FocusEvent<HTMLInputElement, Element>) => void;
513
+ onFocusCapture?: (event: React.FocusEvent<HTMLInputElement, Element>) => void;
514
+ onBlur?: (event: React.FocusEvent<HTMLInputElement, Element>) => void;
515
+ onBlurCapture?: (event: React.FocusEvent<HTMLInputElement, Element>) => void;
516
+ onChangeCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
517
+ onBeforeInput?: (event: React.FormEvent<HTMLInputElement>) => void;
518
+ onBeforeInputCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
519
+ onInput?: (event: React.FormEvent<HTMLInputElement>) => void;
520
+ onInputCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
521
+ onReset?: (event: React.FormEvent<HTMLInputElement>) => void;
522
+ onResetCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
523
+ onSubmit?: (event: React.FormEvent<HTMLInputElement>) => void;
524
+ onSubmitCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
525
+ onInvalid?: (event: React.FormEvent<HTMLInputElement>) => void;
526
+ onInvalidCapture?: (event: React.FormEvent<HTMLInputElement>) => void;
527
+ onLoad?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
528
+ onLoadCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
529
+ onError?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
530
+ onErrorCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
531
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
532
+ onKeyDownCapture?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
533
+ onKeyPress?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
534
+ onKeyPressCapture?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
535
+ onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
536
+ onKeyUpCapture?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
537
+ onAbort?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
538
+ onAbortCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
539
+ onCanPlay?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
540
+ onCanPlayCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
541
+ onCanPlayThrough?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
542
+ onCanPlayThroughCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
543
+ onDurationChange?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
544
+ onDurationChangeCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
545
+ onEmptied?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
546
+ onEmptiedCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
547
+ onEncrypted?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
548
+ onEncryptedCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
549
+ onEnded?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
550
+ onEndedCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
551
+ onLoadedData?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
552
+ onLoadedDataCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
553
+ onLoadedMetadata?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
554
+ onLoadedMetadataCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
555
+ onLoadStart?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
556
+ onLoadStartCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
557
+ onPause?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
558
+ onPauseCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
559
+ onPlay?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
560
+ onPlayCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
561
+ onPlaying?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
562
+ onPlayingCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
563
+ onProgress?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
564
+ onProgressCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
565
+ onRateChange?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
566
+ onRateChangeCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
567
+ onSeeked?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
568
+ onSeekedCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
569
+ onSeeking?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
570
+ onSeekingCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
571
+ onStalled?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
572
+ onStalledCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
573
+ onSuspend?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
574
+ onSuspendCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
575
+ onTimeUpdate?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
576
+ onTimeUpdateCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
577
+ onVolumeChange?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
578
+ onVolumeChangeCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
579
+ onWaiting?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
580
+ onWaitingCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
581
+ onAuxClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
582
+ onAuxClickCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
583
+ onClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
584
+ onClickCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
585
+ onContextMenu?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
586
+ onContextMenuCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
587
+ onDoubleClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
588
+ onDoubleClickCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
589
+ onDrag?: (event: React.DragEvent<HTMLInputElement>) => void;
590
+ onDragCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
591
+ onDragEnd?: (event: React.DragEvent<HTMLInputElement>) => void;
592
+ onDragEndCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
593
+ onDragEnter?: (event: React.DragEvent<HTMLInputElement>) => void;
594
+ onDragEnterCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
595
+ onDragExit?: (event: React.DragEvent<HTMLInputElement>) => void;
596
+ onDragExitCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
597
+ onDragLeave?: (event: React.DragEvent<HTMLInputElement>) => void;
598
+ onDragLeaveCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
599
+ onDragOver?: (event: React.DragEvent<HTMLInputElement>) => void;
600
+ onDragOverCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
601
+ onDragStart?: (event: React.DragEvent<HTMLInputElement>) => void;
602
+ onDragStartCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
603
+ onDrop?: (event: React.DragEvent<HTMLInputElement>) => void;
604
+ onDropCapture?: (event: React.DragEvent<HTMLInputElement>) => void;
605
+ onMouseDown?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
606
+ onMouseDownCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
607
+ onMouseEnter?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
608
+ onMouseLeave?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
609
+ onMouseMove?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
610
+ onMouseMoveCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
611
+ onMouseOut?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
612
+ onMouseOutCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
613
+ onMouseOver?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
614
+ onMouseOverCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
615
+ onMouseUp?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
616
+ onMouseUpCapture?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
617
+ onSelect?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
618
+ onSelectCapture?: (event: React.SyntheticEvent<HTMLInputElement, Event>) => void;
619
+ onTouchCancel?: (event: React.TouchEvent<HTMLInputElement>) => void;
620
+ onTouchCancelCapture?: (event: React.TouchEvent<HTMLInputElement>) => void;
621
+ onTouchEnd?: (event: React.TouchEvent<HTMLInputElement>) => void;
622
+ onTouchEndCapture?: (event: React.TouchEvent<HTMLInputElement>) => void;
623
+ onTouchMove?: (event: React.TouchEvent<HTMLInputElement>) => void;
624
+ onTouchMoveCapture?: (event: React.TouchEvent<HTMLInputElement>) => void;
625
+ onTouchStart?: (event: React.TouchEvent<HTMLInputElement>) => void;
626
+ onTouchStartCapture?: (event: React.TouchEvent<HTMLInputElement>) => void;
627
+ onPointerDown?: (event: React.PointerEvent<HTMLInputElement>) => void;
628
+ onPointerDownCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
629
+ onPointerMove?: (event: React.PointerEvent<HTMLInputElement>) => void;
630
+ onPointerMoveCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
631
+ onPointerUp?: (event: React.PointerEvent<HTMLInputElement>) => void;
632
+ onPointerUpCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
633
+ onPointerCancel?: (event: React.PointerEvent<HTMLInputElement>) => void;
634
+ onPointerCancelCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
635
+ onPointerEnter?: (event: React.PointerEvent<HTMLInputElement>) => void;
636
+ onPointerEnterCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
637
+ onPointerLeave?: (event: React.PointerEvent<HTMLInputElement>) => void;
638
+ onPointerLeaveCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
639
+ onPointerOver?: (event: React.PointerEvent<HTMLInputElement>) => void;
640
+ onPointerOverCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
641
+ onPointerOut?: (event: React.PointerEvent<HTMLInputElement>) => void;
642
+ onPointerOutCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
643
+ onGotPointerCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
644
+ onGotPointerCaptureCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
645
+ onLostPointerCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
646
+ onLostPointerCaptureCapture?: (event: React.PointerEvent<HTMLInputElement>) => void;
647
+ onScroll?: (event: React.UIEvent<HTMLInputElement, UIEvent>) => void;
648
+ onScrollCapture?: (event: React.UIEvent<HTMLInputElement, UIEvent>) => void;
649
+ onWheel?: (event: React.WheelEvent<HTMLInputElement>) => void;
650
+ onWheelCapture?: (event: React.WheelEvent<HTMLInputElement>) => void;
651
+ onAnimationStart?: (event: React.AnimationEvent<HTMLInputElement>) => void;
652
+ onAnimationStartCapture?: (event: React.AnimationEvent<HTMLInputElement>) => void;
653
+ onAnimationEnd?: (event: React.AnimationEvent<HTMLInputElement>) => void;
654
+ onAnimationEndCapture?: (event: React.AnimationEvent<HTMLInputElement>) => void;
655
+ onAnimationIteration?: (event: React.AnimationEvent<HTMLInputElement>) => void;
656
+ onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLInputElement>) => void;
657
+ onTransitionEnd?: (event: React.TransitionEvent<HTMLInputElement>) => void;
658
+ onTransitionEndCapture?: (event: React.TransitionEvent<HTMLInputElement>) => void;
659
+ css?: import("@emotion/core").InterpolationWithTheme<any>;
660
+ };
661
+ parameters: {
662
+ controls: {
663
+ exclude: string[];
664
+ };
665
+ };
666
+ };
667
+ export declare const WithTwoIcons: {
668
+ (args: any): JSX.Element;
669
+ args: {
670
+ isInverse?: boolean;
671
+ testId?: string;
672
+ iconPosition?: InputIconPosition;
346
673
  containerStyle?: React.CSSProperties;
347
674
  actionable?: boolean;
348
675
  errorMessage?: React.ReactNode;
@@ -358,6 +685,7 @@ export declare const WithChildren: {
358
685
  maxCount?: number;
359
686
  maxLength?: number;
360
687
  messageStyle?: React.CSSProperties;
688
+ children?: any;
361
689
  hasError?: boolean;
362
690
  icon?: React.ReactElement<import("react-magma-icons").IconProps, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
363
691
  iconAriaLabel?: string;
@@ -493,7 +821,6 @@ export declare const WithChildren: {
493
821
  'aria-valuemin'?: number;
494
822
  'aria-valuenow'?: number;
495
823
  'aria-valuetext'?: string;
496
- children?: React.ReactNode;
497
824
  dangerouslySetInnerHTML?: {
498
825
  __html: string;
499
826
  };
@@ -19,6 +19,10 @@ export declare enum InputIconPosition {
19
19
  right = "right"
20
20
  }
21
21
  export interface InputBaseProps extends React.InputHTMLAttributes<HTMLInputElement> {
22
+ /**
23
+ * @internal
24
+ */
25
+ children?: any;
22
26
  /**
23
27
  * Style properties for the component container element
24
28
  */
@@ -127,6 +131,7 @@ export interface InputWrapperStylesProps {
127
131
  theme?: ThemeInterface;
128
132
  hasError?: boolean;
129
133
  disabled?: boolean;
134
+ inputSize?: InputSize;
130
135
  }
131
136
  export declare const inputWrapperStyles: (props: InputWrapperStylesProps) => import("@emotion/utils").SerializedStyles;
132
137
  export interface InputBaseStylesProps {
@@ -4,3 +4,4 @@ export default _default;
4
4
  export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, PasswordInputProps>;
5
5
  export declare const Error: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, PasswordInputProps>;
6
6
  export declare const Inverse: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, PasswordInputProps>;
7
+ export declare const CustomText: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, PasswordInputProps>;
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { InputSize } from '../InputBase';
2
3
  import { FormFieldContainerBaseProps } from '../FormFieldContainer';
3
4
  export interface PasswordInputProps extends Omit<FormFieldContainerBaseProps, 'fieldId'>, React.InputHTMLAttributes<HTMLInputElement> {
4
5
  hiddenPasswordAnnounceText?: string;
@@ -12,6 +13,11 @@ export interface PasswordInputProps extends Omit<FormFieldContainerBaseProps, 'f
12
13
  * @default "Hide"
13
14
  */
14
15
  hidePasswordButtonText?: string;
16
+ /**
17
+ * Relative size of the component
18
+ * @default InputSize.medium
19
+ */
20
+ inputSize?: InputSize;
15
21
  isInverse?: boolean;
16
22
  /**
17
23
  * If true, label text will be hidden visually, but will still be read by assistive technology
@@ -1673,3 +1673,4 @@ export declare const AdjustableRowNumber: {
1673
1673
  numberRows: number;
1674
1674
  };
1675
1675
  };
1676
+ export declare const NoRowsPerPageControl: (args: any) => JSX.Element;
@@ -18,7 +18,8 @@ export interface BaseTablePaginationProps extends React.HTMLAttributes<HTMLDivEl
18
18
  */
19
19
  onPageChange?: (event: React.SyntheticEvent, newPage: number) => void;
20
20
  /**
21
- * Event that fires when the number of rows per page changes
21
+ * Event that fires when the number of rows per page changes.
22
+ * If no function is passed, the rows per page select will be hidden
22
23
  */
23
24
  onRowsPerPageChange?: (newRowsPerPage: number) => void;
24
25
  /**