@aws-amplify/ui-react 3.0.1 → 3.0.2

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 (108) hide show
  1. package/dist/IconWarning-45c2c272.js +1 -0
  2. package/dist/esm/components/Authenticator/Authenticator.js +1 -1
  3. package/dist/esm/components/Authenticator/ConfirmSignIn/ConfirmSignIn.js +1 -1
  4. package/dist/esm/components/Authenticator/ConfirmSignUp/ConfirmSignUp.js +1 -1
  5. package/dist/esm/components/Authenticator/FederatedSignIn/FederatedSignIn.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/Router.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/shared/ValidationErrors.js +1 -1
  17. package/dist/esm/primitives/shared/constants.js +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/internal.js +1 -1
  20. package/dist/styles.css +140 -1
  21. package/dist/types/components/Authenticator/Authenticator.d.ts +1 -1
  22. package/dist/types/components/Authenticator/ConfirmSignUp/ConfirmSignUp.d.ts +1 -1
  23. package/dist/types/components/Authenticator/Router/Router.d.ts +3 -1
  24. package/dist/types/components/Authenticator/hooks/useAuthenticator/index.d.ts +30 -31
  25. package/dist/types/components/Authenticator/hooks/useFormHandlers/useFormHandlers.d.ts +2 -2
  26. package/dist/types/components/Authenticator/shared/ValidationErrors.d.ts +1 -1
  27. package/dist/types/components/Authenticator/withAuthenticator.d.ts +1 -1
  28. package/dist/types/hooks/useAuth.d.ts +0 -1
  29. package/dist/types/primitives/Alert/Alert.d.ts +1 -1
  30. package/dist/types/primitives/Badge/Badge.d.ts +1 -1
  31. package/dist/types/primitives/Button/Button.d.ts +1 -1
  32. package/dist/types/primitives/ButtonGroup/ButtonGroup.d.ts +1 -1
  33. package/dist/types/primitives/Card/Card.d.ts +1 -1
  34. package/dist/types/primitives/Checkbox/Checkbox.d.ts +1 -1
  35. package/dist/types/primitives/CheckboxField/CheckboxField.d.ts +1 -1
  36. package/dist/types/primitives/Divider/Divider.d.ts +1 -1
  37. package/dist/types/primitives/Expander/Expander.d.ts +1 -1
  38. package/dist/types/primitives/Expander/ExpanderItem.d.ts +1 -1
  39. package/dist/types/primitives/Field/FieldClearButton.d.ts +1 -1
  40. package/dist/types/primitives/FieldGroup/FieldGroup.d.ts +1 -1
  41. package/dist/types/primitives/FieldGroupIcon/FieldGroupIcon.d.ts +1 -1
  42. package/dist/types/primitives/FieldGroupIcon/FieldGroupIconButton.d.ts +1 -1
  43. package/dist/types/primitives/Flex/Flex.d.ts +1 -1
  44. package/dist/types/primitives/Grid/Grid.d.ts +1 -1
  45. package/dist/types/primitives/Heading/Heading.d.ts +1 -1
  46. package/dist/types/primitives/Icon/Icon.d.ts +1 -1
  47. package/dist/types/primitives/Image/Image.d.ts +1 -1
  48. package/dist/types/primitives/Input/Input.d.ts +1 -1
  49. package/dist/types/primitives/Label/Label.d.ts +1 -1
  50. package/dist/types/primitives/Link/Link.d.ts +1 -1
  51. package/dist/types/primitives/Loader/Loader.d.ts +1 -1
  52. package/dist/types/primitives/Menu/Menu.d.ts +1 -1
  53. package/dist/types/primitives/Pagination/Pagination.d.ts +1 -1
  54. package/dist/types/primitives/PasswordField/PasswordField.d.ts +1 -1
  55. package/dist/types/primitives/PasswordField/ShowPasswordButton.d.ts +1 -1
  56. package/dist/types/primitives/PhoneNumberField/CountryCodeSelect.d.ts +1 -1
  57. package/dist/types/primitives/PhoneNumberField/PhoneNumberField.d.ts +1 -1
  58. package/dist/types/primitives/Placeholder/Placeholder.d.ts +1 -1
  59. package/dist/types/primitives/Radio/Radio.d.ts +1 -1
  60. package/dist/types/primitives/RadioGroupField/RadioGroupField.d.ts +1 -1
  61. package/dist/types/primitives/Rating/Rating.d.ts +1 -1
  62. package/dist/types/primitives/ScrollView/ScrollView.d.ts +1 -1
  63. package/dist/types/primitives/SearchField/SearchField.d.ts +1 -1
  64. package/dist/types/primitives/SearchField/SearchFieldButton.d.ts +1 -1
  65. package/dist/types/primitives/Select/Select.d.ts +1 -1
  66. package/dist/types/primitives/SelectField/SelectField.d.ts +1 -1
  67. package/dist/types/primitives/SliderField/SliderField.d.ts +1 -1
  68. package/dist/types/primitives/StepperField/StepperField.d.ts +1 -1
  69. package/dist/types/primitives/SwitchField/SwitchField.d.ts +1 -1
  70. package/dist/types/primitives/Table/Table.d.ts +1 -1
  71. package/dist/types/primitives/Table/TableBody.d.ts +1 -1
  72. package/dist/types/primitives/Table/TableCell.d.ts +1 -1
  73. package/dist/types/primitives/Table/TableFoot.d.ts +1 -1
  74. package/dist/types/primitives/Table/TableHead.d.ts +1 -1
  75. package/dist/types/primitives/Table/TableRow.d.ts +1 -1
  76. package/dist/types/primitives/Tabs/Tabs.d.ts +2 -2
  77. package/dist/types/primitives/Text/Text.d.ts +1 -1
  78. package/dist/types/primitives/TextArea/TextArea.d.ts +1 -1
  79. package/dist/types/primitives/TextAreaField/TextAreaField.d.ts +1 -1
  80. package/dist/types/primitives/ToggleButton/ToggleButton.d.ts +1 -1
  81. package/dist/types/primitives/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  82. package/dist/types/primitives/View/View.d.ts +2 -2
  83. package/dist/types/primitives/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  84. package/dist/types/primitives/shared/constants.d.ts +1 -1
  85. package/dist/types/primitives/types/button.d.ts +4 -2
  86. package/dist/types/primitives/types/checkbox.d.ts +4 -2
  87. package/dist/types/primitives/types/collection.d.ts +9 -2
  88. package/dist/types/primitives/types/divider.d.ts +4 -2
  89. package/dist/types/primitives/types/field.d.ts +2 -1
  90. package/dist/types/primitives/types/flex.d.ts +1 -1
  91. package/dist/types/primitives/types/grid.d.ts +84 -0
  92. package/dist/types/primitives/types/icon.d.ts +10 -8
  93. package/dist/types/primitives/types/image.d.ts +12 -9
  94. package/dist/types/primitives/types/input.d.ts +23 -21
  95. package/dist/types/primitives/types/link.d.ts +7 -0
  96. package/dist/types/primitives/types/menu.d.ts +6 -3
  97. package/dist/types/primitives/types/pagination.d.ts +12 -6
  98. package/dist/types/primitives/types/passwordField.d.ts +10 -5
  99. package/dist/types/primitives/types/placeholder.d.ts +2 -1
  100. package/dist/types/primitives/types/searchField.d.ts +4 -2
  101. package/dist/types/primitives/types/sliderField.d.ts +8 -0
  102. package/dist/types/primitives/types/stepperField.d.ts +4 -2
  103. package/dist/types/primitives/types/style.d.ts +122 -66
  104. package/dist/types/primitives/types/switchField.d.ts +0 -1
  105. package/dist/types/primitives/types/textArea.d.ts +17 -13
  106. package/dist/types/primitives/types/view.d.ts +2 -1
  107. package/package.json +2 -2
  108. package/dist/IconWarning-3289842c.js +0 -1
package/dist/styles.css CHANGED
@@ -3,7 +3,7 @@
3
3
  */
4
4
  /**
5
5
  * Do not edit directly
6
- * Generated on Tue, 21 Jun 2022 22:00:04 GMT
6
+ * Generated on Thu, 23 Jun 2022 22:01:45 GMT
7
7
  */
8
8
  :root, [data-amplify-theme] {
9
9
  --amplify-transforms-slide-x-large: translateX(2em);
@@ -441,6 +441,8 @@
441
441
  --amplify-components-switchfield-small-font-size: var(--amplify-font-sizes-small);
442
442
  --amplify-components-switchfield-large-font-size: var(--amplify-font-sizes-large);
443
443
  --amplify-components-switchfield-disabled-opacity: var(--amplify-opacities-60);
444
+ --amplify-components-stepperfield-button-disabled-background-color: var(--amplify-components-button-disabled-background-color);
445
+ --amplify-components-stepperfield-button-background-color: var(--amplify-colors-transparent);
444
446
  --amplify-components-sliderfield-thumb-border-width: var(--amplify-border-widths-medium);
445
447
  --amplify-components-sliderfield-padding-block: var(--amplify-space-xs);
446
448
  --amplify-components-select-icon-wrapper-right: var(--amplify-space-medium);
@@ -686,6 +688,7 @@
686
688
  --amplify-components-select-option-background-color: var(--amplify-colors-background-primary);
687
689
  --amplify-components-rating-empty-color: var(--amplify-colors-background-tertiary);
688
690
  --amplify-components-rating-filled-color: var(--amplify-colors-brand-secondary-80);
691
+ --amplify-components-radiogroup-radio-border-width: var(--amplify-components-radio-button-border-width);
689
692
  --amplify-components-radio-label-disabled-color: var(--amplify-colors-font-disabled);
690
693
  --amplify-components-radio-button-disabled-background-color: var(--amplify-colors-background-primary);
691
694
  --amplify-components-radio-button-error-border-color: var(--amplify-colors-border-error);
@@ -820,6 +823,7 @@
820
823
  --amplify-components-togglebutton-pressed-border-color: var(--amplify-colors-border-pressed);
821
824
  --amplify-components-togglebutton-disabled-border-color: var(--amplify-colors-border-disabled);
822
825
  --amplify-components-togglebutton-focus-border-color: var(--amplify-colors-border-focus);
826
+ --amplify-components-textfield-font-size: var(--amplify-components-fieldcontrol-font-size);
823
827
  --amplify-components-textfield-border-color: var(--amplify-components-fieldcontrol-border-color);
824
828
  --amplify-components-textfield-color: var(--amplify-components-fieldcontrol-color);
825
829
  --amplify-components-textareafield-border-color: var(--amplify-components-fieldcontrol-border-color);
@@ -829,11 +833,23 @@
829
833
  --amplify-components-tabs-item-focus-color: var(--amplify-colors-font-focus);
830
834
  --amplify-components-tabs-item-hover-color: var(--amplify-colors-font-hover);
831
835
  --amplify-components-switchfield-focused-shadow: 0px 0px 0px 2px var(--amplify-colors-border-focus);
836
+ --amplify-components-stepperfield-button-hover-background-color: var(--amplify-components-button-hover-background-color);
837
+ --amplify-components-stepperfield-button-disabled-color: var(--amplify-components-button-disabled-color);
838
+ --amplify-components-stepperfield-button-focus-background-color: var(--amplify-components-button-focus-background-color);
839
+ --amplify-components-stepperfield-button-active-background-color: var(--amplify-components-button-active-background-color);
840
+ --amplify-components-stepperfield-button-color: var(--amplify-components-button-color);
841
+ --amplify-components-stepperfield-input-font-size: var(--amplify-components-fieldcontrol-font-size);
842
+ --amplify-components-stepperfield-input-color: var(--amplify-components-fieldcontrol-color);
843
+ --amplify-components-stepperfield-border-color: var(--amplify-components-fieldcontrol-border-color);
832
844
  --amplify-components-sliderfield-thumb-focus-box-shadow: 0 0 0 2px var(--amplify-colors-border-focus);
833
845
  --amplify-components-sliderfield-thumb-focus-border-color: var(--amplify-colors-border-focus);
834
846
  --amplify-components-sliderfield-thumb-hover-border-color: var(--amplify-colors-border-focus);
835
847
  --amplify-components-sliderfield-thumb-disabled-background-color: var(--amplify-colors-background-disabled);
836
848
  --amplify-components-sliderfield-range-disabled-background-color: var(--amplify-colors-background-disabled);
849
+ --amplify-components-selectfield-label-color: var(--amplify-components-field-label-color);
850
+ --amplify-components-selectfield-font-size: var(--amplify-components-fieldcontrol-font-size);
851
+ --amplify-components-selectfield-color: var(--amplify-components-fieldcontrol-color);
852
+ --amplify-components-selectfield-border-color: var(--amplify-components-fieldcontrol-border-color);
837
853
  --amplify-components-searchfield-button-hover-border-color: var(--amplify-components-button-hover-border-color);
838
854
  --amplify-components-searchfield-button-hover-background-color: var(--amplify-components-button-hover-background-color);
839
855
  --amplify-components-searchfield-button-focus-background-color: var(--amplify-components-button-focus-background-color);
@@ -843,10 +859,18 @@
843
859
  --amplify-components-searchfield-button-active-background-color: var(--amplify-components-button-active-background-color);
844
860
  --amplify-components-searchfield-button-color: var(--amplify-components-button-color);
845
861
  --amplify-components-searchfield-color: var(--amplify-components-fieldcontrol-color);
862
+ --amplify-components-radiogroup-label-color: var(--amplify-components-field-label-color);
863
+ --amplify-components-radiogroup-radio-checked-color: var(--amplify-components-radio-button-checked-color);
864
+ --amplify-components-radiogroup-radio-background-color: var(--amplify-components-radio-button-background-color);
865
+ --amplify-components-radiogroup-radio-border-color: var(--amplify-components-radio-button-border-color);
866
+ --amplify-components-radio-label-color: var(--amplify-components-text-color);
846
867
  --amplify-components-radio-button-disabled-border-color: var(--amplify-colors-border-disabled);
847
868
  --amplify-components-radio-button-error-focus-box-shadow: var(--amplify-components-fieldcontrol-error-focus-box-shadow);
848
869
  --amplify-components-radio-button-focus-border-color: var(--amplify-colors-border-focus);
849
870
  --amplify-components-radio-button-checked-disabled-color: var(--amplify-colors-background-disabled);
871
+ --amplify-components-phonenumberfield-font-size: var(--amplify-components-fieldcontrol-font-size);
872
+ --amplify-components-phonenumberfield-border-color: var(--amplify-components-fieldcontrol-border-color);
873
+ --amplify-components-phonenumberfield-color: var(--amplify-components-fieldcontrol-color);
850
874
  --amplify-components-passwordfield-button-hover-border-color: var(--amplify-components-button-hover-border-color);
851
875
  --amplify-components-passwordfield-button-hover-background-color: var(--amplify-components-button-hover-background-color);
852
876
  --amplify-components-passwordfield-button-focus-background-color: var(--amplify-components-button-focus-background-color);
@@ -893,11 +917,17 @@
893
917
  --amplify-components-togglebutton-primary-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
894
918
  --amplify-components-textfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
895
919
  --amplify-components-textareafield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
920
+ --amplify-components-stepperfield-button-hover-color: var(--amplify-components-button-hover-color);
921
+ --amplify-components-stepperfield-button-focus-color: var(--amplify-components-button-focus-color);
922
+ --amplify-components-stepperfield-button-active-color: var(--amplify-components-button-active-color);
923
+ --amplify-components-selectfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
896
924
  --amplify-components-searchfield-button-hover-color: var(--amplify-components-button-hover-color);
897
925
  --amplify-components-searchfield-button-focus-color: var(--amplify-components-button-focus-color);
898
926
  --amplify-components-searchfield-button-focus-border-color: var(--amplify-components-button-focus-border-color);
899
927
  --amplify-components-searchfield-button-active-color: var(--amplify-components-button-active-color);
928
+ --amplify-components-radiogroup-radio-label-color: var(--amplify-components-radio-label-color);
900
929
  --amplify-components-radio-button-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
930
+ --amplify-components-phonenumberfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
901
931
  --amplify-components-passwordfield-button-hover-color: var(--amplify-components-button-hover-color);
902
932
  --amplify-components-passwordfield-button-focus-color: var(--amplify-components-button-focus-color);
903
933
  --amplify-components-passwordfield-button-focus-border-color: var(--amplify-components-button-focus-border-color);
@@ -2598,6 +2628,33 @@ html[dir=rtl] .amplify-field-group__inner-start {
2598
2628
  border-right: none;
2599
2629
  }
2600
2630
 
2631
+ .amplify-phonenumberfield {
2632
+ --amplify-components-selectfield-color: var(
2633
+ --amplify-components-phonenumberfield-color
2634
+ );
2635
+ --amplify-components-selectfield-border-color: var(
2636
+ --amplify-components-phonenumberfield-border-color
2637
+ );
2638
+ --amplify-components-selectfield-font-size: var(
2639
+ --amplify-components-phonenumberfield-font-size
2640
+ );
2641
+ --amplify-components-selectfield-focus-border-color: var(
2642
+ --amplify-components-phonenumberfield-focus-border-color
2643
+ );
2644
+ --amplify-components-textfield-color: var(
2645
+ --amplify-components-phonenumberfield-color
2646
+ );
2647
+ --amplify-components-textfield-border-color: var(
2648
+ --amplify-components-phonenumberfield-border-color
2649
+ );
2650
+ --amplify-components-textfield-font-size: var(
2651
+ --amplify-components-phonenumberfield-font-size
2652
+ );
2653
+ --amplify-components-textfield-focus-border-color: var(
2654
+ --amplify-components-phonenumberfield-focus-border-color
2655
+ );
2656
+ }
2657
+
2601
2658
  .amplify-rating {
2602
2659
  display: inline-flex;
2603
2660
  position: relative;
@@ -2658,6 +2715,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
2658
2715
  justify-content: var(--amplify-components-radio-justify-content);
2659
2716
  gap: inherit;
2660
2717
  flex-direction: row-reverse;
2718
+ --amplify-components-text-color: var(--amplify-components-radio-label-color);
2661
2719
  }
2662
2720
  .amplify-radio--disabled {
2663
2721
  cursor: var(--amplify-components-radio-disabled-cursor);
@@ -2740,6 +2798,24 @@ html[dir=rtl] .amplify-field-group__inner-start {
2740
2798
  .amplify-radiogroupfield {
2741
2799
  flex-direction: column;
2742
2800
  align-items: flex-start;
2801
+ --amplify-components-field-label-color: var(
2802
+ --amplify-components-radiogroup-label-color
2803
+ );
2804
+ --amplify-components-radio-button-border-width: var(
2805
+ --amplify-components-radiogroup-radio-border-width
2806
+ );
2807
+ --amplify-components-radio-button-border-color: var(
2808
+ --amplify-components-radiogroup-radio-border-color
2809
+ );
2810
+ --amplify-components-radio-button-background-color: var(
2811
+ --amplify-components-radiogroup-radio-background-color
2812
+ );
2813
+ --amplify-components-radio-label-color: var(
2814
+ --amplify-components-radiogroup-radio-label-color
2815
+ );
2816
+ --amplify-components-radio-button-checked-color: var(
2817
+ --amplify-components-radiogroup-radio-checked-color
2818
+ );
2743
2819
  }
2744
2820
 
2745
2821
  .amplify-searchfield {
@@ -2890,6 +2966,21 @@ html[dir=rtl] .amplify-field-group__inner-start {
2890
2966
 
2891
2967
  .amplify-selectfield {
2892
2968
  flex-direction: var(--amplify-components-selectfield-flex-direction);
2969
+ --amplify-components-fieldcontrol-border-color: var(
2970
+ --amplify-components-selectfield-border-color
2971
+ );
2972
+ --amplify-components-fieldcontrol-color: var(
2973
+ --amplify-components-selectfield-color
2974
+ );
2975
+ --amplify-components-fieldcontrol-font-size: var(
2976
+ --amplify-components-selectfield-font-size
2977
+ );
2978
+ --amplify-components-fieldcontrol-focus-border-color: var(
2979
+ --amplify-components-selectfield-focus-border-color
2980
+ );
2981
+ --amplify-components-field-label-color: var(
2982
+ --amplify-components-selectfield-label-color
2983
+ );
2893
2984
  }
2894
2985
 
2895
2986
  .amplify-sliderfield {
@@ -3039,8 +3130,50 @@ html[dir=rtl] .amplify-field-group__inner-start {
3039
3130
 
3040
3131
  .amplify-stepperfield {
3041
3132
  flex-direction: var(--amplify-components-stepperfield-flex-direction);
3133
+ --amplify-components-fieldcontrol-border-color: var(
3134
+ --amplify-components-stepperfield-border-color
3135
+ );
3136
+ --amplify-components-button-border-color: var(
3137
+ --amplify-components-stepperfield-border-color
3138
+ );
3139
+ --amplify-components-fieldcontrol-color: var(
3140
+ --amplify-components-stepperfield-input-color
3141
+ );
3142
+ --amplify-components-fieldcontrol-font-size: var(
3143
+ --amplify-components-stepperfield-input-font-size
3144
+ );
3145
+ --amplify-components-button-color: var(
3146
+ --amplify-components-stepperfield-button-color
3147
+ );
3148
+ --amplify-components-button-active-color: var(
3149
+ --amplify-components-stepperfield-button-active-color
3150
+ );
3151
+ --amplify-components-button-active-background-color: var(
3152
+ --amplify-components-stepperfield-button-active-background-color
3153
+ );
3154
+ --amplify-components-button-focus-color: var(
3155
+ --amplify-components-stepperfield-button-focus-color
3156
+ );
3157
+ --amplify-components-button-focus-background-color: var(
3158
+ --amplify-components-stepperfield-button-focus-background-color
3159
+ );
3160
+ --amplify-components-button-disabled-color: var(
3161
+ --amplify-components-stepperfield-button-disabled-color
3162
+ );
3163
+ --amplify-components-button-disabled-background-color: var(
3164
+ --amplify-components-stepperfield-button-disabled-background-color
3165
+ );
3166
+ --amplify-components-button-hover-color: var(
3167
+ --amplify-components-stepperfield-button-hover-color
3168
+ );
3169
+ --amplify-components-button-hover-background-color: var(
3170
+ --amplify-components-stepperfield-button-hover-background-color
3171
+ );
3042
3172
  }
3043
3173
 
3174
+ .amplify-stepperfield__button--decrease {
3175
+ background-color: var(--amplify-components-stepperfield-button-background-color);
3176
+ }
3044
3177
  .amplify-stepperfield__button--decrease[data-invalid=true] {
3045
3178
  -webkit-border-end: none;
3046
3179
  border-inline-end: none;
@@ -3050,6 +3183,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
3050
3183
  border-radius: 0;
3051
3184
  }
3052
3185
 
3186
+ .amplify-stepperfield__button--increase {
3187
+ background-color: var(--amplify-components-stepperfield-button-background-color);
3188
+ }
3053
3189
  .amplify-stepperfield__button--increase[data-invalid=true] {
3054
3190
  -webkit-border-start: none;
3055
3191
  border-inline-start: none;
@@ -3374,6 +3510,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
3374
3510
  --amplify-components-fieldcontrol-border-color: var(
3375
3511
  --amplify-components-textfield-border-color
3376
3512
  );
3513
+ --amplify-components-fieldcontrol-font-size: var(
3514
+ --amplify-components-textfield-font-size
3515
+ );
3377
3516
  --amplify-components-fieldcontrol-focus-border-color: var(
3378
3517
  --amplify-components-textfield-focus-border-color
3379
3518
  );
@@ -8,7 +8,7 @@ export declare type AuthenticatorProps = Partial<AuthenticatorMachineOptions & C
8
8
  */
9
9
  export declare function Authenticator({ children, className, components: customComponents, formFields, hideSignUp, initialState, loginMechanisms, signUpAttributes, services, socialProviders, variation, }: AuthenticatorProps): JSX.Element;
10
10
  export declare namespace Authenticator {
11
- var Provider: ({ children }: {
11
+ var Provider: ({ children, }: {
12
12
  children: React.ReactNode;
13
13
  }) => JSX.Element;
14
14
  var ResetPassword: {
@@ -1,5 +1,5 @@
1
1
  import { RouteProps } from '../RouteContainer';
2
- export declare function ConfirmSignUp({ className, variation }: RouteProps): JSX.Element;
2
+ export declare function ConfirmSignUp({ className, variation, }: RouteProps): JSX.Element;
3
3
  export declare namespace ConfirmSignUp {
4
4
  var Header: () => JSX.Element;
5
5
  var Footer: () => JSX.Element;
@@ -1,3 +1,5 @@
1
1
  import { RouterProps } from './types';
2
- export declare function useRouterChildren(children: RouterProps['children']): (props?: Omit<RouterProps, 'children'>) => JSX.Element;
2
+ declare type RouteComponent = (props: Omit<RouterProps, 'children'>) => JSX.Element;
3
+ export declare function useRouterChildren(children: RouterProps['children']): RouteComponent;
3
4
  export declare function Router({ children, className, hideSignUp, variation, }: RouterProps): JSX.Element;
5
+ export {};
@@ -1,18 +1,8 @@
1
- /// <reference types="amazon-cognito-identity-js" />
2
1
  import * as React from 'react';
3
- import { getServiceFacade, AuthInterpreter, AuthMachineState, AuthMachineSend } from '@aws-amplify/ui';
2
+ import { AuthEventData, AuthInterpreter, AuthMachineSend, AuthMachineState, CodeDeliveryDetails, CognitoUserAmplify, getServiceFacade } from '@aws-amplify/ui';
4
3
  export declare type AuthenticatorContextValue = {
5
4
  service?: AuthInterpreter;
6
5
  };
7
- /**
8
- * AuthenticatorContext serves static reference to the auth machine service.
9
- *
10
- * https://xstate.js.org/docs/recipes/react.html#context-provider
11
- */
12
- export declare const AuthenticatorContext: React.Context<AuthenticatorContextValue>;
13
- export declare const Provider: ({ children }: {
14
- children: React.ReactNode;
15
- }) => JSX.Element;
16
6
  /**
17
7
  * These are the "facades" that we provide, which contains contexts respective
18
8
  * to current authenticator state.
@@ -34,33 +24,42 @@ export declare type InternalAuthenticatorContext = {
34
24
  * desired value(s) that should trigger re-render.
35
25
  */
36
26
  export declare type Selector = (context: AuthenticatorContext) => Array<any>;
37
- /**
38
- * [📖 Docs](https://ui.docs.amplify.aws/react/components/authenticator/headless#useauthenticator-hook)
39
- */
40
- export declare const useAuthenticator: (selector?: Selector) => {
27
+ export declare type UseAuthenticator = {
41
28
  /** @deprecated For internal use only */
42
- _state: import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any, any, any>;
29
+ _send: InternalAuthenticatorContext['_send'];
43
30
  /** @deprecated For internal use only */
44
- _send: (event: import("xstate").SingleOrArray<import("xstate").Event<import("@aws-amplify/ui").AuthEvent>> | import("xstate").SCXML.Event<import("@aws-amplify/ui").AuthEvent>, payload?: import("xstate").EventData) => import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any, any, any>;
31
+ _state: InternalAuthenticatorContext['_state'];
45
32
  error: string;
46
33
  hasValidationErrors: boolean;
47
34
  isPending: boolean;
48
35
  route: string;
49
36
  authStatus: string;
50
- user: import("@aws-amplify/ui").CognitoUserAmplify;
37
+ user: CognitoUserAmplify;
51
38
  validationErrors: {
52
- [x: string]: string | string[];
39
+ [key: string]: string | string[];
53
40
  };
54
- codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
55
- resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
56
- signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
57
- submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
58
- updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
59
- updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
60
- toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
61
- toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
62
- toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
63
- toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
64
- skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
41
+ codeDeliveryDetails: CodeDeliveryDetails;
42
+ resendCode: (data?: AuthEventData) => void;
43
+ signOut: (data?: AuthEventData) => void;
44
+ submitForm: (data?: AuthEventData) => void;
45
+ updateForm: (data?: AuthEventData) => void;
46
+ updateBlur: (data?: AuthEventData) => void;
47
+ toFederatedSignIn: (data?: AuthEventData) => void;
48
+ toResetPassword: (data?: AuthEventData) => void;
49
+ toSignIn: (data?: AuthEventData) => void;
50
+ toSignUp: (data?: AuthEventData) => void;
51
+ skipVerification: (data?: AuthEventData) => void;
65
52
  };
66
- export declare type UseAuthenticator = ReturnType<typeof useAuthenticator>;
53
+ /**
54
+ * AuthenticatorContext serves static reference to the auth machine service.
55
+ *
56
+ * https://xstate.js.org/docs/recipes/react.html#context-provider
57
+ */
58
+ export declare const AuthenticatorContext: React.Context<AuthenticatorContextValue>;
59
+ export declare const Provider: ({ children, }: {
60
+ children: React.ReactNode;
61
+ }) => JSX.Element;
62
+ /**
63
+ * [📖 Docs](https://ui.docs.amplify.aws/react/components/authenticator/headless#useauthenticator-hook)
64
+ */
65
+ export declare const useAuthenticator: (selector?: Selector) => UseAuthenticator;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  export declare function useFormHandlers(): {
3
- handleBlur: ({ target: { name } }: React.FocusEvent<HTMLFormElement>) => void;
4
- handleChange: ({ target: { checked, name, type, value }, }: React.ChangeEvent<HTMLFormElement>) => void;
3
+ handleBlur: (event: React.FocusEvent<HTMLFormElement>) => void;
4
+ handleChange: (event: React.ChangeEvent<HTMLFormElement>) => void;
5
5
  handleSubmit: (event: React.FormEvent<HTMLFormElement>) => void;
6
6
  };
@@ -2,4 +2,4 @@ export interface ValidationErrorsProps {
2
2
  errors: string[];
3
3
  id?: string;
4
4
  }
5
- export declare const ValidationErrors: ({ errors, id }: ValidationErrorsProps) => JSX.Element;
5
+ export declare const ValidationErrors: ({ errors, id, }: ValidationErrorsProps) => JSX.Element;
@@ -3,4 +3,4 @@ export declare type WithAuthenticatorOptions = Omit<AuthenticatorProps, 'childre
3
3
  /**
4
4
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/authenticator)
5
5
  */
6
- export declare function withAuthenticator<Props>(Component: (props?: Props) => JSX.Element, options?: WithAuthenticatorOptions): (props: Props) => JSX.Element;
6
+ export declare function withAuthenticator<Props>(Component: (props?: Props) => JSX.Element, options?: WithAuthenticatorOptions): (props?: Props) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="amazon-cognito-identity-js" />
2
1
  import { CognitoUser } from '@aws-amplify/auth';
3
2
  interface AuthUser extends CognitoUser {
4
3
  username: string;
@@ -3,4 +3,4 @@ import { AlertProps } from '../types';
3
3
  /**
4
4
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/alert)
5
5
  */
6
- export declare const Alert: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<AlertProps, React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<import("../types").FlexProps, "div">, "children" | "id" | "onError" | "key" | "order" | "area" | "slot" | "style" | "title" | "className" | "aria-label" | "aria-valuetext" | "row" | "as" | "isDisabled" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "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" | "id" | "onError" | "key" | "order" | "area" | "slot" | "style" | "title" | "className" | "aria-label" | "aria-valuetext" | "heading" | "row" | "as" | "isDisabled" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "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>>;
6
+ export declare const Alert: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<AlertProps, React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<import("../types").FlexProps, "div">, "children" | "id" | "onError" | "key" | "order" | "onChange" | "area" | "slot" | "style" | "title" | "className" | "aria-label" | "aria-valuetext" | "row" | "as" | "isDisabled" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "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" | "dir" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "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" | "id" | "onError" | "key" | "order" | "onChange" | "area" | "slot" | "style" | "title" | "className" | "aria-label" | "aria-valuetext" | "heading" | "row" | "as" | "isDisabled" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "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" | "dir" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "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>>;
@@ -3,4 +3,4 @@ import { BadgeProps } from '../types';
3
3
  /**
4
4
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/badge)
5
5
  */
6
- export declare const Badge: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<BadgeProps, "span">, "children" | "id" | "onError" | "key" | "order" | "area" | "slot" | "style" | "title" | "className" | "aria-label" | "aria-valuetext" | "row" | "as" | "isDisabled" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "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>>;
6
+ export declare const Badge: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<BadgeProps, "span">, "children" | "id" | "onError" | "key" | "order" | "onChange" | "area" | "slot" | "style" | "title" | "className" | "aria-label" | "aria-valuetext" | "row" | "as" | "isDisabled" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "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" | "dir" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "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>>;
@@ -3,4 +3,4 @@ import { ButtonProps } from '../types';
3
3
  /**
4
4
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/button)
5
5
  */
6
- export declare const Button: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<ButtonProps, "button">, "value" | "children" | "type" | "id" | "onError" | "disabled" | "key" | "order" | "area" | "form" | "slot" | "style" | "title" | "className" | "aria-label" | "aria-valuetext" | "row" | "as" | "isDisabled" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "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" | "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>>;
6
+ export declare const Button: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<ButtonProps, "button">, "value" | "children" | "type" | "id" | "onError" | "disabled" | "key" | "order" | "onChange" | "area" | "form" | "slot" | "style" | "title" | "className" | "aria-label" | "aria-valuetext" | "row" | "as" | "isDisabled" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "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" | "dir" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "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>>;