@aws-amplify/ui-react 2.15.1 → 2.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/esm/components/AmplifyProvider/index.js +1 -1
  2. package/dist/esm/components/Authenticator/ConfirmSignIn/ConfirmSignIn.js +1 -1
  3. package/dist/esm/components/Authenticator/ConfirmSignUp/ConfirmSignUp.js +1 -1
  4. package/dist/esm/components/Authenticator/FederatedSignIn/FederatedSignIn.js +1 -1
  5. package/dist/esm/components/Authenticator/FederatedSignIn/FederatedSignInButtons/FederatedSignInButton.js +1 -1
  6. package/dist/esm/components/Authenticator/ForceNewPassword/ForceNewPassword.js +1 -1
  7. package/dist/esm/components/Authenticator/ResetPassword/ConfirmResetPassword.js +1 -1
  8. package/dist/esm/components/Authenticator/ResetPassword/ResetPassword.js +1 -1
  9. package/dist/esm/components/Authenticator/Router/index.js +1 -1
  10. package/dist/esm/components/Authenticator/SetupTOTP/SetupTOTP.js +1 -1
  11. package/dist/esm/components/Authenticator/SignIn/SignIn.js +1 -1
  12. package/dist/esm/components/Authenticator/SignUp/SignUp.js +1 -1
  13. package/dist/esm/components/Authenticator/VerifyUser/ConfirmVerifyUser.js +1 -1
  14. package/dist/esm/components/Authenticator/VerifyUser/VerifyUser.js +1 -1
  15. package/dist/esm/components/Authenticator/hooks/useAuthenticator/index.js +1 -1
  16. package/dist/esm/components/Authenticator/hooks/useFormHandlers/useFormHandlers.js +1 -1
  17. package/dist/esm/components/Authenticator/shared/ConfirmSignInFooter.js +1 -1
  18. package/dist/esm/components/Authenticator/shared/FormField.js +1 -1
  19. package/dist/esm/components/Authenticator/shared/RemoteErrorMessage.js +1 -1
  20. package/dist/esm/components/Authenticator/shared/SignInSignUpTabs.js +1 -1
  21. package/dist/esm/components/Authenticator/shared/TwoButtonSubmitFooter.js +1 -1
  22. package/dist/esm/components/Geo/MapView/index.js +1 -1
  23. package/dist/esm/hooks/useComposeRefsCallback.js +1 -1
  24. package/dist/esm/primitives/Checkbox/Checkbox.js +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/styles.css +32 -32
  27. package/dist/types/components/AmplifyProvider/index.d.ts +2 -1
  28. package/dist/types/components/Authenticator/Router/index.d.ts +8 -6
  29. package/dist/types/components/Authenticator/SignIn/SignIn.d.ts +1 -1
  30. package/dist/types/components/Authenticator/hooks/index.d.ts +1 -1
  31. package/dist/types/components/Authenticator/hooks/useCustomComponents/defaultComponents.d.ts +19 -44
  32. package/dist/types/components/Authenticator/hooks/useCustomComponents/index.d.ts +2 -3
  33. package/dist/types/components/Authenticator/hooks/useFormHandlers/index.d.ts +1 -1
  34. package/dist/types/components/Authenticator/hooks/useFormHandlers/useFormHandlers.d.ts +1 -1
  35. package/dist/types/components/Authenticator/withAuthenticator.d.ts +1 -1
  36. package/dist/types/hooks/useComposeRefsCallback.d.ts +2 -2
  37. package/dist/types/primitives/Alert/Alert.d.ts +1 -1
  38. package/dist/types/primitives/Badge/Badge.d.ts +1 -1
  39. package/dist/types/primitives/Button/Button.d.ts +1 -1
  40. package/dist/types/primitives/ButtonGroup/ButtonGroup.d.ts +1 -1
  41. package/dist/types/primitives/Card/Card.d.ts +1 -1
  42. package/dist/types/primitives/Checkbox/Checkbox.d.ts +1 -1
  43. package/dist/types/primitives/CheckboxField/CheckboxField.d.ts +1 -1
  44. package/dist/types/primitives/Divider/Divider.d.ts +1 -1
  45. package/dist/types/primitives/Expander/Expander.d.ts +1 -1
  46. package/dist/types/primitives/Expander/ExpanderItem.d.ts +1 -1
  47. package/dist/types/primitives/Field/FieldClearButton.d.ts +1 -1
  48. package/dist/types/primitives/FieldGroup/FieldGroup.d.ts +1 -1
  49. package/dist/types/primitives/FieldGroupIcon/FieldGroupIcon.d.ts +1 -1
  50. package/dist/types/primitives/FieldGroupIcon/FieldGroupIconButton.d.ts +1 -1
  51. package/dist/types/primitives/Flex/Flex.d.ts +1 -1
  52. package/dist/types/primitives/Grid/Grid.d.ts +1 -1
  53. package/dist/types/primitives/Heading/Heading.d.ts +1 -1
  54. package/dist/types/primitives/Icon/Icon.d.ts +1 -1
  55. package/dist/types/primitives/Image/Image.d.ts +1 -1
  56. package/dist/types/primitives/Input/Input.d.ts +1 -1
  57. package/dist/types/primitives/Label/Label.d.ts +1 -1
  58. package/dist/types/primitives/Link/Link.d.ts +1 -1
  59. package/dist/types/primitives/Loader/Loader.d.ts +1 -1
  60. package/dist/types/primitives/Menu/Menu.d.ts +1 -1
  61. package/dist/types/primitives/Menu/MenuButton.d.ts +1 -1
  62. package/dist/types/primitives/Pagination/Pagination.d.ts +1 -1
  63. package/dist/types/primitives/PasswordField/PasswordField.d.ts +1 -1
  64. package/dist/types/primitives/PasswordField/ShowPasswordButton.d.ts +1 -1
  65. package/dist/types/primitives/PhoneNumberField/CountryCodeSelect.d.ts +1 -1
  66. package/dist/types/primitives/PhoneNumberField/PhoneNumberField.d.ts +1 -1
  67. package/dist/types/primitives/Placeholder/Placeholder.d.ts +1 -1
  68. package/dist/types/primitives/Radio/Radio.d.ts +1 -1
  69. package/dist/types/primitives/RadioGroupField/RadioGroupField.d.ts +1 -1
  70. package/dist/types/primitives/Rating/Rating.d.ts +1 -1
  71. package/dist/types/primitives/ScrollView/ScrollView.d.ts +1 -1
  72. package/dist/types/primitives/SearchField/SearchField.d.ts +1 -1
  73. package/dist/types/primitives/SearchField/SearchFieldButton.d.ts +1 -1
  74. package/dist/types/primitives/SearchField/useSearchField.d.ts +1 -1
  75. package/dist/types/primitives/Select/Select.d.ts +1 -1
  76. package/dist/types/primitives/SelectField/SelectField.d.ts +1 -1
  77. package/dist/types/primitives/SliderField/SliderField.d.ts +1 -1
  78. package/dist/types/primitives/StepperField/StepperField.d.ts +1 -1
  79. package/dist/types/primitives/SwitchField/SwitchField.d.ts +1 -1
  80. package/dist/types/primitives/Table/Table.d.ts +1 -1
  81. package/dist/types/primitives/Table/TableBody.d.ts +1 -1
  82. package/dist/types/primitives/Table/TableCell.d.ts +1 -1
  83. package/dist/types/primitives/Table/TableFoot.d.ts +1 -1
  84. package/dist/types/primitives/Table/TableHead.d.ts +1 -1
  85. package/dist/types/primitives/Table/TableRow.d.ts +1 -1
  86. package/dist/types/primitives/Tabs/Tabs.d.ts +2 -2
  87. package/dist/types/primitives/Text/Text.d.ts +1 -1
  88. package/dist/types/primitives/TextArea/TextArea.d.ts +1 -1
  89. package/dist/types/primitives/TextAreaField/TextAreaField.d.ts +1 -1
  90. package/dist/types/primitives/ToggleButton/ToggleButton.d.ts +1 -1
  91. package/dist/types/primitives/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  92. package/dist/types/primitives/View/View.d.ts +3 -3
  93. package/dist/types/primitives/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  94. package/package.json +8 -11
  95. package/dist/types/types/PartialDeep.d.ts +0 -59
  96. package/dist/types/types/Primitive.d.ts +0 -5
  97. package/dist/types/types/index.d.ts +0 -1
package/dist/styles.css CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  /**
6
6
  * Do not edit directly
7
- * Generated on Thu, 07 Apr 2022 22:05:00 GMT
7
+ * Generated on Wed, 20 Apr 2022 01:36:14 GMT
8
8
  */
9
9
 
10
10
  :root, [data-amplify-theme] {
@@ -249,7 +249,6 @@
249
249
  --amplify-components-menu-item-min-height: 2.5rem;
250
250
  --amplify-components-menu-min-width: 14rem;
251
251
  --amplify-components-menu-max-width: 30rem;
252
- --amplify-components-menu-gap: 0;
253
252
  --amplify-components-menu-flex-direction: column;
254
253
  --amplify-components-menu-border-style: solid;
255
254
  --amplify-components-loader-linear-animation-duration: 1s;
@@ -271,7 +270,6 @@
271
270
  --amplify-components-fieldmessages-description-font-style: italic;
272
271
  --amplify-components-fieldgroup-outer-align-items: center;
273
272
  --amplify-components-fieldgroup-vertical-align-items: center;
274
- --amplify-components-fieldgroup-gap: 0;
275
273
  --amplify-components-fieldcontrol-disabled-cursor: not-allowed;
276
274
  --amplify-components-fieldcontrol-quiet-border-radius: 0;
277
275
  --amplify-components-fieldcontrol-quiet-border-block-start: none;
@@ -290,7 +288,6 @@
290
288
  --amplify-components-expander-width: 100%;
291
289
  --amplify-components-expander-display: block;
292
290
  --amplify-components-divider-border-style: solid;
293
- --amplify-components-countrycodeselect-height: 100%;
294
291
  --amplify-components-checkboxfield-justify-content: center;
295
292
  --amplify-components-checkboxfield-flex-direction: column;
296
293
  --amplify-components-checkboxfield-align-content: center;
@@ -327,12 +324,10 @@
327
324
  --amplify-components-button-link-active-border-color: transparent;
328
325
  --amplify-components-button-link-focus-border-color: transparent;
329
326
  --amplify-components-button-link-hover-border-color: transparent;
330
- --amplify-components-button-link-background-color: transparent;
331
327
  --amplify-components-button-link-border-color: transparent;
332
- --amplify-components-button-link-border-width: 0;
328
+ --amplify-components-button-link-background-color: transparent;
333
329
  --amplify-components-button-menu-justify-content: start;
334
330
  --amplify-components-button-menu-background-color: transparent;
335
- --amplify-components-button-menu-border-width: 0;
336
331
  --amplify-components-button-primary-active-border-color: transparent;
337
332
  --amplify-components-button-primary-focus-border-color: transparent;
338
333
  --amplify-components-button-primary-hover-border-color: transparent;
@@ -349,9 +344,9 @@
349
344
  --amplify-components-authenticator-max-width: 60rem;
350
345
  --amplify-components-alert-justify-content: space-between;
351
346
  --amplify-components-alert-align-items: center;
352
- --amplify-shadows-large: [object Object];
353
- --amplify-shadows-medium: [object Object];
354
- --amplify-shadows-small: [object Object];
347
+ --amplify-shadows-large: 0px 4px 12px var(--amplify-colors-shadow-primary);
348
+ --amplify-shadows-medium: 0px 2px 6px var(--amplify-colors-shadow-secondary);
349
+ --amplify-shadows-small: 0px 2px 4px var(--amplify-colors-shadow-tertiary);
355
350
  --amplify-colors-border-error: var(--amplify-colors-red-80);
356
351
  --amplify-colors-border-tertiary: var(--amplify-colors-neutral-20);
357
352
  --amplify-colors-border-secondary: var(--amplify-colors-neutral-40);
@@ -492,6 +487,7 @@
492
487
  --amplify-components-menu-large-width: var(--amplify-font-sizes-xxxl);
493
488
  --amplify-components-menu-small-height: var(--amplify-font-sizes-medium);
494
489
  --amplify-components-menu-small-width: var(--amplify-font-sizes-medium);
490
+ --amplify-components-menu-gap: var(--amplify-space-zero);
495
491
  --amplify-components-menu-border-width: var(--amplify-border-widths-small);
496
492
  --amplify-components-menu-border-radius: var(--amplify-radii-medium);
497
493
  --amplify-components-menu-background-color: var(--amplify-colors-white);
@@ -530,6 +526,7 @@
530
526
  --amplify-components-flex-gap: var(--amplify-space-medium);
531
527
  --amplify-components-fieldmessages-description-font-size: var(--amplify-font-sizes-small);
532
528
  --amplify-components-fieldmessages-error-font-size: var(--amplify-font-sizes-small);
529
+ --amplify-components-fieldgroup-gap: var(--amplify-space-zero);
533
530
  --amplify-components-fieldcontrol-disabled-border-color: var(--amplify-colors-transparent);
534
531
  --amplify-components-fieldcontrol-quiet-border-block-end: var(--amplify-border-widths-small) solid var(--amplify-colors-border-primary);
535
532
  --amplify-components-fieldcontrol-large-padding-inline-end: var(--amplify-space-medium);
@@ -567,7 +564,7 @@
567
564
  --amplify-components-expander-trigger-hover-background-color: var(--amplify-colors-overlay-10);
568
565
  --amplify-components-expander-trigger-padding-inline-end: var(--amplify-space-large);
569
566
  --amplify-components-expander-trigger-padding-inline-start: var(--amplify-space-large);
570
- --amplify-components-expander-header-box-shadow: [object Object];
567
+ --amplify-components-expander-header-box-shadow: 0 1px 0 var(--amplify-colors-overlay-20);
571
568
  --amplify-components-expander-item-border-end-end-radius: var(--amplify-radii-medium);
572
569
  --amplify-components-expander-item-border-end-start-radius: var(--amplify-radii-medium);
573
570
  --amplify-components-expander-item-border-start-end-radius: var(--amplify-radii-medium);
@@ -584,6 +581,7 @@
584
581
  --amplify-components-divider-label-font-size: var(--amplify-font-sizes-small);
585
582
  --amplify-components-divider-label-padding-inline: var(--amplify-space-medium);
586
583
  --amplify-components-divider-border-width: var(--amplify-border-widths-medium);
584
+ --amplify-components-countrycodeselect-height: var(--amplify-space-relative-full);
587
585
  --amplify-components-copy-tool-tip-font-size: var(--amplify-font-sizes-xxs);
588
586
  --amplify-components-copy-tool-tip-color: var(--amplify-colors-teal-100);
589
587
  --amplify-components-copy-tool-tip-bottom: var(--amplify-space-large);
@@ -606,6 +604,8 @@
606
604
  --amplify-components-card-padding: var(--amplify-space-medium);
607
605
  --amplify-components-card-border-radius: var(--amplify-radii-xs);
608
606
  --amplify-components-button-loader-wrapper-gap: var(--amplify-space-xs);
607
+ --amplify-components-button-link-border-width: var(--amplify-space-zero);
608
+ --amplify-components-button-menu-border-width: var(--amplify-space-zero);
609
609
  --amplify-components-button-primary-border-width: var(--amplify-border-widths-small);
610
610
  --amplify-components-button-border-style: var(--amplify-components-fieldcontrol-border-style);
611
611
  --amplify-components-button-font-weight: 700;
@@ -673,10 +673,9 @@
673
673
  --amplify-components-switchfield-track-background-color: var(--amplify-colors-background-tertiary);
674
674
  --amplify-components-switchfield-thumb-border-color: var(--amplify-colors-border-tertiary);
675
675
  --amplify-components-switchfield-thumb-background-color: var(--amplify-colors-background-primary);
676
- --amplify-components-switchfield-focused-shadow: [object Object];
677
676
  --amplify-components-sliderfield-thumb-hover-background-color: var(--amplify-colors-background-primary);
678
677
  --amplify-components-sliderfield-thumb-border-color: var(--amplify-colors-border-primary);
679
- --amplify-components-sliderfield-thumb-box-shadow: [object Object];
678
+ --amplify-components-sliderfield-thumb-box-shadow: var(--amplify-shadows-small);
680
679
  --amplify-components-sliderfield-thumb-background-color: var(--amplify-colors-background-primary);
681
680
  --amplify-components-sliderfield-range-background-color: var(--amplify-colors-brand-primary-80);
682
681
  --amplify-components-sliderfield-track-background-color: var(--amplify-colors-background-tertiary);
@@ -691,7 +690,7 @@
691
690
  --amplify-components-placeholder-start-color: var(--amplify-colors-background-secondary);
692
691
  --amplify-components-pagination-button-hover-color: var(--amplify-colors-font-primary);
693
692
  --amplify-components-pagination-button-color: var(--amplify-colors-font-primary);
694
- --amplify-components-menu-box-shadow: [object Object];
693
+ --amplify-components-menu-box-shadow: var(--amplify-shadows-large);
695
694
  --amplify-components-menu-border-color: var(--amplify-colors-border-primary);
696
695
  --amplify-components-loader-text-fill: var(--amplify-colors-font-primary);
697
696
  --amplify-components-loader-linear-stroke-filled: var(--amplify-colors-brand-primary-80);
@@ -699,9 +698,9 @@
699
698
  --amplify-components-heading-color: var(--amplify-colors-font-primary);
700
699
  --amplify-components-fieldmessages-description-color: var(--amplify-colors-font-secondary);
701
700
  --amplify-components-fieldmessages-error-color: var(--amplify-colors-font-error);
702
- --amplify-components-fieldcontrol-error-focus-box-shadow: [object Object];
701
+ --amplify-components-fieldcontrol-error-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-error);
703
702
  --amplify-components-fieldcontrol-error-border-color: var(--amplify-colors-border-error);
704
- --amplify-components-fieldcontrol-quiet-error-focus-box-shadow: [object Object];
703
+ --amplify-components-fieldcontrol-quiet-error-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-error);
705
704
  --amplify-components-fieldcontrol-quiet-error-border-block-end-color: var(--amplify-colors-border-error);
706
705
  --amplify-components-fieldcontrol-large-font-size: var(--amplify-components-field-large-font-size);
707
706
  --amplify-components-fieldcontrol-small-font-size: var(--amplify-components-field-small-font-size);
@@ -710,17 +709,17 @@
710
709
  --amplify-components-fieldcontrol-border-color: var(--amplify-colors-border-primary);
711
710
  --amplify-components-field-label-color: var(--amplify-colors-font-secondary);
712
711
  --amplify-components-expander-content-text-color: var(--amplify-colors-font-secondary);
713
- --amplify-components-expander-item-box-shadow: [object Object];
714
- --amplify-components-expander-box-shadow: [object Object];
712
+ --amplify-components-expander-item-box-shadow: var(--amplify-shadows-small);
713
+ --amplify-components-expander-box-shadow: var(--amplify-shadows-large);
715
714
  --amplify-components-divider-label-background-color: var(--amplify-colors-background-primary);
716
715
  --amplify-components-divider-label-color: var(--amplify-colors-font-tertiary);
717
716
  --amplify-components-divider-border-color: var(--amplify-colors-border-primary);
718
717
  --amplify-components-copy-svg-path-fill: var(--amplify-colors-font-primary);
719
718
  --amplify-components-checkbox-icon-background-color: var(--amplify-colors-brand-primary-80);
720
- --amplify-components-checkbox-button-error-focus-box-shadow: [object Object];
719
+ --amplify-components-checkbox-button-error-focus-box-shadow: 0px 0px 0px 2px var(--amplify-colors-border-error);
721
720
  --amplify-components-checkbox-button-error-border-color: var(--amplify-colors-border-error);
722
721
  --amplify-components-checkbox-button-before-border-color: var(--amplify-colors-border-primary);
723
- --amplify-components-card-elevated-box-shadow: [object Object];
722
+ --amplify-components-card-elevated-box-shadow: var(--amplify-shadows-medium);
724
723
  --amplify-components-card-outlined-border-color: var(--amplify-colors-border-primary);
725
724
  --amplify-components-card-background-color: var(--amplify-colors-background-primary);
726
725
  --amplify-components-button-large-padding-inline-end: var(--amplify-components-fieldcontrol-large-padding-inline-end);
@@ -776,7 +775,7 @@
776
775
  --amplify-components-badge-color: var(--amplify-colors-font-primary);
777
776
  --amplify-components-authenticator-or-container-or-line-background-color: var(--amplify-colors-background-primary);
778
777
  --amplify-components-authenticator-state-inactive-background-color: var(--amplify-colors-background-secondary);
779
- --amplify-components-authenticator-router-box-shadow: [object Object];
778
+ --amplify-components-authenticator-router-box-shadow: var(--amplify-shadows-medium);
780
779
  --amplify-components-authenticator-router-background-color: var(--amplify-colors-background-primary);
781
780
  --amplify-components-authenticator-router-border-color: var(--amplify-colors-border-primary);
782
781
  --amplify-components-alert-success-background-color: var(--amplify-colors-background-success);
@@ -801,13 +800,14 @@
801
800
  --amplify-components-tabs-item-active-color: var(--amplify-colors-font-interactive);
802
801
  --amplify-components-tabs-item-focus-color: var(--amplify-colors-font-focus);
803
802
  --amplify-components-tabs-item-hover-color: var(--amplify-colors-font-hover);
804
- --amplify-components-sliderfield-thumb-focus-box-shadow: [object Object];
803
+ --amplify-components-switchfield-focused-shadow: 0px 0px 0px 2px var(--amplify-colors-border-focus);
804
+ --amplify-components-sliderfield-thumb-focus-box-shadow: 0 0 0 3px var(--amplify-colors-border-focus);
805
805
  --amplify-components-sliderfield-thumb-hover-border-color: var(--amplify-colors-border-focus);
806
806
  --amplify-components-sliderfield-thumb-disabled-background-color: var(--amplify-colors-background-disabled);
807
807
  --amplify-components-sliderfield-range-disabled-background-color: var(--amplify-colors-background-disabled);
808
808
  --amplify-components-radio-label-disabled-color: var(--amplify-colors-font-disabled);
809
809
  --amplify-components-radio-button-disabled-border-color: var(--amplify-colors-border-disabled);
810
- --amplify-components-radio-button-error-focus-box-shadow: [object Object];
810
+ --amplify-components-radio-button-error-focus-box-shadow: var(--amplify-components-fieldcontrol-error-focus-box-shadow);
811
811
  --amplify-components-radio-button-focus-border-color: var(--amplify-colors-border-focus);
812
812
  --amplify-components-radio-button-checked-disabled-color: var(--amplify-colors-background-disabled);
813
813
  --amplify-components-pagination-button-disabled-color: var(--amplify-colors-font-disabled);
@@ -818,15 +818,15 @@
818
818
  --amplify-components-link-active-color: var(--amplify-colors-font-active);
819
819
  --amplify-components-fieldcontrol-disabled-background-color: var(--amplify-colors-background-disabled);
820
820
  --amplify-components-fieldcontrol-disabled-color: var(--amplify-colors-font-disabled);
821
- --amplify-components-fieldcontrol-focus-box-shadow: [object Object];
821
+ --amplify-components-fieldcontrol-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-focus);
822
822
  --amplify-components-fieldcontrol-focus-border-color: var(--amplify-colors-border-focus);
823
- --amplify-components-fieldcontrol-quiet-focus-box-shadow: [object Object];
823
+ --amplify-components-fieldcontrol-quiet-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-focus);
824
824
  --amplify-components-fieldcontrol-quiet-focus-border-block-end-color: var(--amplify-colors-border-focus);
825
- --amplify-components-expander-item-focus-box-shadow: [object Object];
825
+ --amplify-components-expander-item-focus-box-shadow: 0 0 0 2px var(--amplify-colors-border-focus);
826
826
  --amplify-components-checkbox-label-disabled-color: var(--amplify-colors-font-disabled);
827
827
  --amplify-components-checkbox-icon-checked-disabled-background-color: var(--amplify-colors-background-disabled);
828
828
  --amplify-components-checkbox-button-disabled-border-color: var(--amplify-colors-border-disabled);
829
- --amplify-components-checkbox-button-focus-box-shadow: [object Object];
829
+ --amplify-components-checkbox-button-focus-box-shadow: 0px 0px 0px 2px var(--amplify-colors-border-focus);
830
830
  --amplify-components-card-elevated-background-color: var(--amplify-components-card-background-color);
831
831
  --amplify-components-card-outlined-background-color: var(--amplify-components-card-background-color);
832
832
  --amplify-components-button-large-font-size: var(--amplify-components-fieldcontrol-large-font-size);
@@ -850,11 +850,11 @@
850
850
  --amplify-components-button-hover-color: var(--amplify-colors-font-focus);
851
851
  --amplify-components-button-border-color: var(--amplify-components-fieldcontrol-border-color);
852
852
  --amplify-components-button-font-size: var(--amplify-components-fieldcontrol-font-size);
853
- --amplify-components-togglebutton-primary-focus-box-shadow: [object Object];
854
- --amplify-components-radio-button-focus-box-shadow: [object Object];
855
- --amplify-components-button-link-focus-box-shadow: [object Object];
856
- --amplify-components-button-primary-focus-box-shadow: [object Object];
857
- --amplify-components-button-focus-box-shadow: [object Object];
853
+ --amplify-components-togglebutton-primary-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
854
+ --amplify-components-radio-button-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
855
+ --amplify-components-button-link-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
856
+ --amplify-components-button-primary-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
857
+ --amplify-components-button-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
858
858
  }
859
859
 
860
860
  html {
@@ -5,6 +5,7 @@ interface AmplifyProviderProps {
5
5
  children: React.ReactNode;
6
6
  colorMode?: ColorMode;
7
7
  theme?: Theme;
8
+ nonce?: string;
8
9
  }
9
- export declare function AmplifyProvider({ children, colorMode, theme, }: AmplifyProviderProps): JSX.Element;
10
+ export declare function AmplifyProvider({ children, colorMode, theme, nonce, }: AmplifyProviderProps): JSX.Element;
10
11
  export {};
@@ -1,13 +1,15 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { CognitoUserAmplify } from '@aws-amplify/ui';
3
- import { useAuthenticator } from '..';
3
+ import { useAuthenticator } from '../hooks/useAuthenticator';
4
+ declare type AuthenticatorChildren = React.ReactNode | (({ signOut, user, }: {
5
+ signOut?: ReturnType<typeof useAuthenticator>['signOut'];
6
+ user?: CognitoUserAmplify;
7
+ }) => React.ReactNode);
4
8
  export declare type RouterProps = {
5
9
  className?: string;
6
- children?: ({ signOut, user, }: {
7
- signOut: ReturnType<typeof useAuthenticator>['signOut'];
8
- user: CognitoUserAmplify;
9
- }) => JSX.Element;
10
+ children?: AuthenticatorChildren;
10
11
  variation?: 'default' | 'modal';
11
12
  hideSignUp?: boolean;
12
13
  };
13
14
  export declare function Router({ children, className, variation, hideSignUp, }: RouterProps): JSX.Element;
15
+ export {};
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare function SignIn(): JSX.Element;
3
3
  export declare namespace SignIn {
4
- var Header: () => JSX.Element;
5
4
  var Footer: () => JSX.Element;
5
+ var Header: () => JSX.Element;
6
6
  }
@@ -1,3 +1,3 @@
1
- export { default as useFormHandlers } from './useFormHandlers';
1
+ export { useFormHandlers } from './useFormHandlers';
2
2
  export { useAuthenticator } from './useAuthenticator';
3
3
  export { useCustomComponents } from './useCustomComponents';
@@ -1,45 +1,20 @@
1
1
  /// <reference types="react" />
2
- export declare const defaultComponents: {
3
- Header: () => JSX.Element;
4
- SignIn: {
5
- Header: () => JSX.Element;
6
- Footer: () => JSX.Element;
7
- };
8
- SignUp: {
9
- Header: () => JSX.Element;
10
- FormFields: () => JSX.Element;
11
- Footer: () => JSX.Element;
12
- };
13
- ConfirmSignUp: {
14
- Header: () => JSX.Element;
15
- Footer: () => JSX.Element;
16
- };
17
- SetupTOTP: {
18
- Header: () => JSX.Element;
19
- Footer: () => JSX.Element;
20
- };
21
- ConfirmResetPassword: {
22
- Header: () => JSX.Element;
23
- Footer: () => JSX.Element;
24
- };
25
- ConfirmSignIn: {
26
- Header: () => JSX.Element;
27
- Footer: () => JSX.Element;
28
- };
29
- VerifyUser: {
30
- Header: () => JSX.Element;
31
- Footer: () => JSX.Element;
32
- };
33
- ConfirmVerifyUser: {
34
- Header: () => JSX.Element;
35
- Footer: () => JSX.Element;
36
- };
37
- ForceNewPassword: {
38
- FormFields: () => JSX.Element;
39
- };
40
- ResetPassword: {
41
- Header: () => JSX.Element;
42
- Footer: () => JSX.Element;
43
- };
44
- Footer: () => JSX.Element;
45
- };
2
+ interface Components {
3
+ Footer?: () => JSX.Element;
4
+ FormFields?: () => JSX.Element;
5
+ Header?: () => JSX.Element;
6
+ }
7
+ export interface DefaultComponents extends Omit<Components, 'FormFields'> {
8
+ ConfirmSignIn?: Omit<Components, 'FormFields'>;
9
+ ConfirmSignUp?: Omit<Components, 'FormFields'>;
10
+ ConfirmResetPassword?: Omit<Components, 'FormFields'>;
11
+ ConfirmVerifyUser?: Omit<Components, 'FormFields'>;
12
+ ForceNewPassword?: Pick<Components, 'FormFields'>;
13
+ ResetPassword?: Omit<Components, 'FormFields'>;
14
+ SetupTOTP?: Omit<Components, 'FormFields'>;
15
+ SignIn?: Omit<Components, 'FormFields'>;
16
+ SignUp?: Components;
17
+ VerifyUser?: Omit<Components, 'FormFields'>;
18
+ }
19
+ export declare const defaultComponents: DefaultComponents;
20
+ export {};
@@ -1,8 +1,7 @@
1
1
  import * as React from 'react';
2
- import { PartialDeep } from 'src/types';
3
- import { defaultComponents } from './defaultComponents';
2
+ import { DefaultComponents } from './defaultComponents';
4
3
  export interface ComponentsProviderProps {
5
- components?: PartialDeep<typeof defaultComponents>;
4
+ components?: DefaultComponents;
6
5
  }
7
6
  export declare const CustomComponentsContext: React.Context<ComponentsProviderProps>;
8
7
  export declare const useCustomComponents: () => ComponentsProviderProps;
@@ -1 +1 @@
1
- export { default } from './useFormHandlers';
1
+ export { useFormHandlers } from './useFormHandlers';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export default function useFormHandlers(): {
2
+ export declare function useFormHandlers(): {
3
3
  handleBlur: ({ target: { name } }: React.FocusEvent<HTMLFormElement>) => void;
4
4
  handleChange: ({ target: { checked, name, type, value }, }: React.ChangeEvent<HTMLFormElement>) => void;
5
5
  handleSubmit: (event: React.FormEvent<HTMLFormElement>) => void;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { AuthenticatorProps } from './Authenticator';
3
3
  export declare type WithAuthenticatorOptions = Omit<AuthenticatorProps, 'children'>;
4
- export declare function withAuthenticator(Component: any, options?: WithAuthenticatorOptions): (props: any) => JSX.Element;
4
+ export declare function withAuthenticator<Props>(Component: (props?: Props) => JSX.Element, options?: WithAuthenticatorOptions): (props: Props) => JSX.Element;
@@ -3,8 +3,8 @@ export interface UseComposeRefsCallbackProps<RefType> {
3
3
  externalRef: React.ForwardedRef<RefType>;
4
4
  internalRef: React.MutableRefObject<RefType>;
5
5
  }
6
- export declare type UseComposeRefsCallbackReturn<RefType> = (node: RefType) => void;
6
+ export declare type UseComposeRefsCallback<RefType> = (node: RefType) => void;
7
7
  /**
8
8
  * Creates ref callback to compose together external and internal refs
9
9
  */
10
- export declare const useComposeRefsCallback: <RefType>({ externalRef, internalRef, }: UseComposeRefsCallbackProps<RefType>) => UseComposeRefsCallbackReturn<RefType>;
10
+ export declare function useComposeRefsCallback<RefType>({ externalRef, internalRef, }: UseComposeRefsCallbackProps<RefType>): UseComposeRefsCallback<RefType>;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
2
  import { AlertProps } from '../types';
3
- export declare const Alert: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<AlertProps, React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<import("../types").FlexProps, "div">, "children" | "key" | "id" | "order" | "onError" | "area" | "slot" | "style" | "title" | "dangerouslySetInnerHTML" | "padding" | "onMouseDown" | "onMouseUp" | "onMouseOver" | "onMouseMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOut" | "onContextMenu" | "onTouchStart" | "onTouchEnd" | "onTouchMove" | "onTouchCancel" | "onDragStart" | "onDrag" | "onDragEnd" | "onWheel" | "onLoad" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "column" | "flex" | "row" | "wrap" | "border" | "position" | "placeholder" | "aria-label" | "aria-valuetext" | "as" | "isDisabled" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "borderRadius" | "boxShadow" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "letterSpacing" | "lineHeight" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "textDecoration" | "textTransform" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "grow" | "shrink" | "basis" | "columnEnd" | "columnSpan" | "columnStart" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "direction" | "defaultChecked" | "defaultValue" | "inputMode" | "translate" | "onChange" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>>, "children" | "key" | "id" | "order" | "onError" | "area" | "slot" | "style" | "title" | "dangerouslySetInnerHTML" | "padding" | "onMouseDown" | "onMouseUp" | "onMouseOver" | "onMouseMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOut" | "onContextMenu" | "onTouchStart" | "onTouchEnd" | "onTouchMove" | "onTouchCancel" | "onDragStart" | "onDrag" | "onDragEnd" | "onWheel" | "onLoad" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "column" | "flex" | "row" | "wrap" | "border" | "position" | "placeholder" | "aria-label" | "aria-valuetext" | "heading" | "as" | "isDisabled" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "borderRadius" | "boxShadow" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "letterSpacing" | "lineHeight" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "textDecoration" | "textTransform" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "grow" | "shrink" | "basis" | "columnEnd" | "columnSpan" | "columnStart" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "direction" | "defaultChecked" | "defaultValue" | "inputMode" | "translate" | "isDismissible" | "onDismiss" | "hasIcon" | "buttonRef" | "onChange" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare const Alert: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<AlertProps, React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<import("../types").FlexProps, "div">, "children" | "key" | "id" | "order" | "onError" | "area" | "slot" | "style" | "title" | "aria-label" | "aria-valuetext" | "row" | "as" | "isDisabled" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "onLoad" | "onClick" | "direction" | "wrap" | "defaultChecked" | "defaultValue" | "inputMode" | "hidden" | "placeholder" | "translate" | "onChange" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>>, "children" | "key" | "id" | "order" | "onError" | "area" | "slot" | "style" | "title" | "aria-label" | "aria-valuetext" | "heading" | "row" | "as" | "isDisabled" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "onLoad" | "onClick" | "variation" | "direction" | "wrap" | "defaultChecked" | "defaultValue" | "inputMode" | "hidden" | "placeholder" | "translate" | "isDismissible" | "onDismiss" | "hasIcon" | "buttonRef" | "onChange" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
2
  import { BadgeProps } from '../types';
3
- export declare const Badge: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<BadgeProps, "span">, "children" | "key" | "id" | "order" | "onError" | "area" | "slot" | "style" | "title" | "dangerouslySetInnerHTML" | "padding" | "onMouseDown" | "onMouseUp" | "onMouseOver" | "onMouseMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOut" | "onContextMenu" | "onTouchStart" | "onTouchEnd" | "onTouchMove" | "onTouchCancel" | "onDragStart" | "onDrag" | "onDragEnd" | "onWheel" | "onLoad" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "column" | "size" | "flex" | "row" | "border" | "position" | "placeholder" | "aria-label" | "aria-valuetext" | "as" | "isDisabled" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "borderRadius" | "boxShadow" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "letterSpacing" | "lineHeight" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "textDecoration" | "textTransform" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "grow" | "shrink" | "basis" | "columnEnd" | "columnSpan" | "columnStart" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "variation" | "defaultChecked" | "defaultValue" | "inputMode" | "translate" | "onChange" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLSpanElement>>;
3
+ export declare const Badge: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<BadgeProps, "span">, "children" | "key" | "id" | "order" | "onError" | "area" | "slot" | "style" | "title" | "aria-label" | "aria-valuetext" | "row" | "as" | "isDisabled" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "onLoad" | "onClick" | "size" | "variation" | "defaultChecked" | "defaultValue" | "inputMode" | "hidden" | "placeholder" | "translate" | "onChange" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLSpanElement>>;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps } from '../types';
3
- export declare const Button: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<ButtonProps, "button">, "value" | "children" | "type" | "key" | "id" | "order" | "onError" | "area" | "form" | "slot" | "style" | "title" | "name" | "dangerouslySetInnerHTML" | "padding" | "onMouseDown" | "onMouseUp" | "onMouseOver" | "onMouseMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOut" | "onContextMenu" | "onTouchStart" | "onTouchEnd" | "onTouchMove" | "onTouchCancel" | "onDragStart" | "onDrag" | "onDragEnd" | "onWheel" | "onLoad" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "column" | "size" | "flex" | "row" | "wrap" | "border" | "disabled" | "position" | "placeholder" | "aria-label" | "aria-valuetext" | "as" | "isDisabled" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "borderRadius" | "boxShadow" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "letterSpacing" | "lineHeight" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "textDecoration" | "textTransform" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "grow" | "shrink" | "basis" | "columnEnd" | "columnSpan" | "columnStart" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "isFullWidth" | "isLoading" | "loadingText" | "variation" | "direction" | "defaultChecked" | "defaultValue" | "inputMode" | "translate" | "onChange" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLButtonElement>>;
3
+ export declare const Button: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<ButtonProps, "button">, "value" | "children" | "type" | "key" | "id" | "order" | "onError" | "area" | "form" | "slot" | "style" | "title" | "aria-label" | "aria-valuetext" | "row" | "as" | "isDisabled" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "onLoad" | "isFullWidth" | "isLoading" | "loadingText" | "onClick" | "size" | "variation" | "direction" | "wrap" | "defaultChecked" | "defaultValue" | "inputMode" | "hidden" | "name" | "placeholder" | "translate" | "onChange" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLButtonElement>>;