react-magma-dom 3.5.1 → 3.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.
Files changed (30) hide show
  1. package/dist/components/Accordion/AccordionButton.d.ts +5 -0
  2. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +2 -2
  3. package/dist/components/CharacterCounter/CharacterCounter.stories.d.ts +4 -4
  4. package/dist/components/Datagrid/Datagrid.stories.d.ts +8 -8
  5. package/dist/components/Dropdown/Dropdown.stories.d.ts +3 -1
  6. package/dist/components/Dropdown/DropdownExpandableMenuButton.d.ts +8 -0
  7. package/dist/components/Dropdown/DropdownExpandableMenuGroup.d.ts +7 -0
  8. package/dist/components/Dropdown/DropdownExpandableMenuItem.d.ts +18 -0
  9. package/dist/components/Dropdown/DropdownExpandableMenuListItem.d.ts +8 -0
  10. package/dist/components/Dropdown/DropdownExpandableMenuPanel.d.ts +5 -0
  11. package/dist/components/Dropdown/index.d.ts +6 -0
  12. package/dist/components/Input/Input.stories.d.ts +348 -21
  13. package/dist/components/InputBase/index.d.ts +5 -0
  14. package/dist/components/PasswordInput/PasswordInput.stories.d.ts +1 -0
  15. package/dist/components/PasswordInput/index.d.ts +6 -0
  16. package/dist/components/Table/Table.stories.d.ts +13 -12
  17. package/dist/components/Table/TablePagination.d.ts +2 -1
  18. package/dist/components/Tag/Tag.stories.d.ts +4 -4
  19. package/dist/components/Textarea/Textarea.stories.d.ts +4 -4
  20. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +8 -8
  21. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +4 -4
  22. package/dist/esm/index.js +9681 -12469
  23. package/dist/esm/index.js.map +1 -1
  24. package/dist/index.d.ts +5 -0
  25. package/dist/properties.json +331 -93
  26. package/dist/react-magma-dom.cjs.development.js +7122 -8339
  27. package/dist/react-magma-dom.cjs.development.js.map +1 -1
  28. package/dist/react-magma-dom.cjs.production.min.js +1 -1
  29. package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
  30. package/package.json +1 -1
@@ -13,22 +13,23 @@ export declare const IconPositions: {
13
13
  placeholder: string;
14
14
  helperMessage: any;
15
15
  isInverse?: boolean;
16
- testId?: string;
16
+ maxLength?: number;
17
+ hasCharacterCounter?: boolean;
17
18
  iconPosition?: InputIconPosition;
19
+ inputSize?: InputSize;
20
+ testId?: string;
18
21
  containerStyle?: React.CSSProperties;
19
22
  actionable?: boolean;
20
23
  errorMessage?: React.ReactNode;
21
- hasCharacterCounter?: boolean;
22
24
  inputLength?: number;
23
- inputSize?: InputSize;
24
25
  isLabelVisuallyHidden?: boolean;
25
26
  labelPosition?: LabelPosition;
26
27
  labelStyle?: React.CSSProperties;
27
28
  labelText?: React.ReactNode;
28
29
  labelWidth?: number;
29
30
  maxCount?: number;
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;
@@ -57,10 +58,10 @@ export declare const IconPositions: {
57
58
  formMethod?: string;
58
59
  formNoValidate?: boolean;
59
60
  formTarget?: string;
60
- height?: React.ReactText;
61
+ height?: string | number;
61
62
  list?: string;
62
- max?: React.ReactText;
63
- min?: React.ReactText;
63
+ max?: string | number;
64
+ min?: string | number;
64
65
  minLength?: number;
65
66
  multiple?: boolean;
66
67
  name?: string;
@@ -69,7 +70,7 @@ export declare const IconPositions: {
69
70
  required?: boolean;
70
71
  size?: number;
71
72
  src?: string;
72
- step?: React.ReactText;
73
+ step?: string | number;
73
74
  value?: string | number | readonly string[];
74
75
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
75
76
  defaultChecked?: boolean;
@@ -124,7 +125,7 @@ export declare const IconPositions: {
124
125
  'aria-colindex'?: number;
125
126
  'aria-colspan'?: number;
126
127
  'aria-controls'?: string;
127
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
128
+ 'aria-current'?: boolean | "step" | "time" | "true" | "false" | "page" | "location" | "date";
128
129
  'aria-describedby'?: string;
129
130
  'aria-details'?: string;
130
131
  'aria-disabled'?: boolean | "true" | "false";
@@ -158,12 +159,11 @@ export declare const IconPositions: {
158
159
  'aria-rowspan'?: number;
159
160
  'aria-selected'?: boolean | "true" | "false";
160
161
  'aria-setsize'?: number;
161
- 'aria-sort'?: "none" | "other" | "ascending" | "descending";
162
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
162
163
  'aria-valuemax'?: number;
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,24 +340,352 @@ 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;
344
+ maxLength?: number;
345
+ hasCharacterCounter?: boolean;
346
+ iconPosition?: InputIconPosition;
347
+ inputSize?: InputSize;
345
348
  testId?: string;
346
349
  containerStyle?: React.CSSProperties;
347
350
  actionable?: boolean;
348
351
  errorMessage?: React.ReactNode;
349
- hasCharacterCounter?: boolean;
350
352
  helperMessage?: React.ReactNode;
351
353
  inputLength?: number;
352
- inputSize?: InputSize;
353
354
  isLabelVisuallyHidden?: boolean;
354
355
  labelPosition?: LabelPosition;
355
356
  labelStyle?: React.CSSProperties;
356
357
  labelText?: React.ReactNode;
357
358
  labelWidth?: number;
358
359
  maxCount?: 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?: string | number;
391
+ list?: string;
392
+ max?: string | number;
393
+ min?: string | number;
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?: string | number;
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 | "step" | "time" | "true" | "false" | "page" | "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" | "ascending" | "descending" | "other";
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;
359
671
  maxLength?: number;
672
+ hasCharacterCounter?: boolean;
673
+ iconPosition?: InputIconPosition;
674
+ inputSize?: InputSize;
675
+ testId?: string;
676
+ containerStyle?: React.CSSProperties;
677
+ actionable?: boolean;
678
+ errorMessage?: React.ReactNode;
679
+ helperMessage?: React.ReactNode;
680
+ inputLength?: number;
681
+ isLabelVisuallyHidden?: boolean;
682
+ labelPosition?: LabelPosition;
683
+ labelStyle?: React.CSSProperties;
684
+ labelText?: React.ReactNode;
685
+ labelWidth?: number;
686
+ maxCount?: 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;
@@ -386,10 +714,10 @@ export declare const WithChildren: {
386
714
  formMethod?: string;
387
715
  formNoValidate?: boolean;
388
716
  formTarget?: string;
389
- height?: React.ReactText;
717
+ height?: string | number;
390
718
  list?: string;
391
- max?: React.ReactText;
392
- min?: React.ReactText;
719
+ max?: string | number;
720
+ min?: string | number;
393
721
  minLength?: number;
394
722
  multiple?: boolean;
395
723
  name?: string;
@@ -399,7 +727,7 @@ export declare const WithChildren: {
399
727
  required?: boolean;
400
728
  size?: number;
401
729
  src?: string;
402
- step?: React.ReactText;
730
+ step?: string | number;
403
731
  value?: string | number | readonly string[];
404
732
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
405
733
  defaultChecked?: boolean;
@@ -454,7 +782,7 @@ export declare const WithChildren: {
454
782
  'aria-colindex'?: number;
455
783
  'aria-colspan'?: number;
456
784
  'aria-controls'?: string;
457
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
785
+ 'aria-current'?: boolean | "step" | "time" | "true" | "false" | "page" | "location" | "date";
458
786
  'aria-describedby'?: string;
459
787
  'aria-details'?: string;
460
788
  'aria-disabled'?: boolean | "true" | "false";
@@ -488,12 +816,11 @@ export declare const WithChildren: {
488
816
  'aria-rowspan'?: number;
489
817
  'aria-selected'?: boolean | "true" | "false";
490
818
  'aria-setsize'?: number;
491
- 'aria-sort'?: "none" | "other" | "ascending" | "descending";
819
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
492
820
  'aria-valuemax'?: number;
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
@@ -80,7 +80,7 @@ export declare const ControlledPagination: {
80
80
  'aria-colindex'?: number;
81
81
  'aria-colspan'?: number;
82
82
  'aria-controls'?: string;
83
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
83
+ 'aria-current'?: boolean | "step" | "time" | "true" | "false" | "page" | "location" | "date";
84
84
  'aria-describedby'?: string;
85
85
  'aria-details'?: string;
86
86
  'aria-disabled'?: boolean | "true" | "false";
@@ -114,7 +114,7 @@ export declare const ControlledPagination: {
114
114
  'aria-rowspan'?: number;
115
115
  'aria-selected'?: boolean | "true" | "false";
116
116
  'aria-setsize'?: number;
117
- 'aria-sort'?: "none" | "other" | "ascending" | "descending";
117
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
118
118
  'aria-valuemax'?: number;
119
119
  'aria-valuemin'?: number;
120
120
  'aria-valuenow'?: number;
@@ -364,7 +364,7 @@ export declare const PaginationInverse: {
364
364
  'aria-colindex'?: number;
365
365
  'aria-colspan'?: number;
366
366
  'aria-controls'?: string;
367
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
367
+ 'aria-current'?: boolean | "step" | "time" | "true" | "false" | "page" | "location" | "date";
368
368
  'aria-describedby'?: string;
369
369
  'aria-details'?: string;
370
370
  'aria-disabled'?: boolean | "true" | "false";
@@ -398,7 +398,7 @@ export declare const PaginationInverse: {
398
398
  'aria-rowspan'?: number;
399
399
  'aria-selected'?: boolean | "true" | "false";
400
400
  'aria-setsize'?: number;
401
- 'aria-sort'?: "none" | "other" | "ascending" | "descending";
401
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
402
402
  'aria-valuemax'?: number;
403
403
  'aria-valuemin'?: number;
404
404
  'aria-valuenow'?: number;
@@ -639,7 +639,7 @@ export declare const RowColors: {
639
639
  'aria-colindex'?: number;
640
640
  'aria-colspan'?: number;
641
641
  'aria-controls'?: string;
642
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
642
+ 'aria-current'?: boolean | "step" | "time" | "true" | "false" | "page" | "location" | "date";
643
643
  'aria-describedby'?: string;
644
644
  'aria-details'?: string;
645
645
  'aria-disabled'?: boolean | "true" | "false";
@@ -673,7 +673,7 @@ export declare const RowColors: {
673
673
  'aria-rowspan'?: number;
674
674
  'aria-selected'?: boolean | "true" | "false";
675
675
  'aria-setsize'?: number;
676
- 'aria-sort'?: "none" | "other" | "ascending" | "descending";
676
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
677
677
  'aria-valuemax'?: number;
678
678
  'aria-valuemin'?: number;
679
679
  'aria-valuenow'?: number;
@@ -913,7 +913,7 @@ export declare const RowColorsInverse: {
913
913
  'aria-colindex'?: number;
914
914
  'aria-colspan'?: number;
915
915
  'aria-controls'?: string;
916
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
916
+ 'aria-current'?: boolean | "step" | "time" | "true" | "false" | "page" | "location" | "date";
917
917
  'aria-describedby'?: string;
918
918
  'aria-details'?: string;
919
919
  'aria-disabled'?: boolean | "true" | "false";
@@ -947,7 +947,7 @@ export declare const RowColorsInverse: {
947
947
  'aria-rowspan'?: number;
948
948
  'aria-selected'?: boolean | "true" | "false";
949
949
  'aria-setsize'?: number;
950
- 'aria-sort'?: "none" | "other" | "ascending" | "descending";
950
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
951
951
  'aria-valuemax'?: number;
952
952
  'aria-valuemin'?: number;
953
953
  'aria-valuenow'?: number;
@@ -1187,7 +1187,7 @@ export declare const Sortable: {
1187
1187
  'aria-colindex'?: number;
1188
1188
  'aria-colspan'?: number;
1189
1189
  'aria-controls'?: string;
1190
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
1190
+ 'aria-current'?: boolean | "step" | "time" | "true" | "false" | "page" | "location" | "date";
1191
1191
  'aria-describedby'?: string;
1192
1192
  'aria-details'?: string;
1193
1193
  'aria-disabled'?: boolean | "true" | "false";
@@ -1221,7 +1221,7 @@ export declare const Sortable: {
1221
1221
  'aria-rowspan'?: number;
1222
1222
  'aria-selected'?: boolean | "true" | "false";
1223
1223
  'aria-setsize'?: number;
1224
- 'aria-sort'?: "none" | "other" | "ascending" | "descending";
1224
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
1225
1225
  'aria-valuemax'?: number;
1226
1226
  'aria-valuemin'?: number;
1227
1227
  'aria-valuenow'?: number;
@@ -1461,7 +1461,7 @@ export declare const WithDropdown: {
1461
1461
  'aria-colindex'?: number;
1462
1462
  'aria-colspan'?: number;
1463
1463
  'aria-controls'?: string;
1464
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
1464
+ 'aria-current'?: boolean | "step" | "time" | "true" | "false" | "page" | "location" | "date";
1465
1465
  'aria-describedby'?: string;
1466
1466
  'aria-details'?: string;
1467
1467
  'aria-disabled'?: boolean | "true" | "false";
@@ -1495,7 +1495,7 @@ export declare const WithDropdown: {
1495
1495
  'aria-rowspan'?: number;
1496
1496
  'aria-selected'?: boolean | "true" | "false";
1497
1497
  'aria-setsize'?: number;
1498
- 'aria-sort'?: "none" | "other" | "ascending" | "descending";
1498
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
1499
1499
  'aria-valuemax'?: number;
1500
1500
  'aria-valuemin'?: number;
1501
1501
  'aria-valuenow'?: number;
@@ -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
  /**