@aws-amplify/ui-react 3.0.0 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/IconWarning-45c2c272.js +1 -0
- package/dist/esm/components/Authenticator/Authenticator.js +1 -1
- package/dist/esm/components/Authenticator/ConfirmSignIn/ConfirmSignIn.js +1 -1
- package/dist/esm/components/Authenticator/ConfirmSignUp/ConfirmSignUp.js +1 -1
- package/dist/esm/components/Authenticator/FederatedSignIn/FederatedSignIn.js +1 -1
- package/dist/esm/components/Authenticator/ForceNewPassword/ForceNewPassword.js +1 -1
- package/dist/esm/components/Authenticator/ResetPassword/ConfirmResetPassword.js +1 -1
- package/dist/esm/components/Authenticator/ResetPassword/ResetPassword.js +1 -1
- package/dist/esm/components/Authenticator/Router/Router.js +1 -1
- package/dist/esm/components/Authenticator/SetupTOTP/SetupTOTP.js +1 -1
- package/dist/esm/components/Authenticator/SignIn/SignIn.js +1 -1
- package/dist/esm/components/Authenticator/SignUp/SignUp.js +1 -1
- package/dist/esm/components/Authenticator/VerifyUser/ConfirmVerifyUser.js +1 -1
- package/dist/esm/components/Authenticator/VerifyUser/VerifyUser.js +1 -1
- package/dist/esm/components/Authenticator/hooks/useAuthenticator/index.js +1 -1
- package/dist/esm/components/Authenticator/shared/ValidationErrors.js +1 -1
- package/dist/esm/primitives/shared/constants.js +1 -1
- package/dist/esm/primitives-catalog.js +9 -0
- package/dist/index.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/primitives.json +9 -0
- package/dist/styles.css +140 -1
- package/dist/types/components/Authenticator/Authenticator.d.ts +2 -2
- package/dist/types/components/Authenticator/ConfirmSignUp/ConfirmSignUp.d.ts +1 -1
- package/dist/types/components/Authenticator/Router/Router.d.ts +3 -1
- package/dist/types/components/Authenticator/hooks/useAuthenticator/index.d.ts +30 -31
- package/dist/types/components/Authenticator/hooks/useFormHandlers/useFormHandlers.d.ts +2 -2
- package/dist/types/components/Authenticator/shared/ValidationErrors.d.ts +1 -1
- package/dist/types/components/Authenticator/withAuthenticator.d.ts +2 -2
- package/dist/types/components/Geo/LocationSearch/index.d.ts +1 -1
- package/dist/types/components/Geo/MapView/index.d.ts +1 -1
- package/dist/types/hooks/useAuth.d.ts +0 -1
- package/dist/types/primitives/Alert/Alert.d.ts +1 -1
- package/dist/types/primitives/Badge/Badge.d.ts +1 -1
- package/dist/types/primitives/Button/Button.d.ts +1 -1
- package/dist/types/primitives/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/types/primitives/Card/Card.d.ts +1 -1
- package/dist/types/primitives/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/primitives/CheckboxField/CheckboxField.d.ts +1 -1
- package/dist/types/primitives/Divider/Divider.d.ts +1 -1
- package/dist/types/primitives/Expander/Expander.d.ts +1 -1
- package/dist/types/primitives/Expander/ExpanderItem.d.ts +1 -1
- package/dist/types/primitives/Field/FieldClearButton.d.ts +1 -1
- package/dist/types/primitives/FieldGroup/FieldGroup.d.ts +1 -1
- package/dist/types/primitives/FieldGroupIcon/FieldGroupIcon.d.ts +1 -1
- package/dist/types/primitives/FieldGroupIcon/FieldGroupIconButton.d.ts +1 -1
- package/dist/types/primitives/Flex/Flex.d.ts +1 -1
- package/dist/types/primitives/Grid/Grid.d.ts +1 -1
- package/dist/types/primitives/Heading/Heading.d.ts +1 -1
- package/dist/types/primitives/Icon/Icon.d.ts +1 -1
- package/dist/types/primitives/Image/Image.d.ts +1 -1
- package/dist/types/primitives/Input/Input.d.ts +1 -1
- package/dist/types/primitives/Label/Label.d.ts +1 -1
- package/dist/types/primitives/Link/Link.d.ts +1 -1
- package/dist/types/primitives/Loader/Loader.d.ts +1 -1
- package/dist/types/primitives/Menu/Menu.d.ts +1 -1
- package/dist/types/primitives/Pagination/Pagination.d.ts +1 -1
- package/dist/types/primitives/PasswordField/PasswordField.d.ts +1 -1
- package/dist/types/primitives/PasswordField/ShowPasswordButton.d.ts +1 -1
- package/dist/types/primitives/PhoneNumberField/CountryCodeSelect.d.ts +1 -1
- package/dist/types/primitives/PhoneNumberField/PhoneNumberField.d.ts +1 -1
- package/dist/types/primitives/Placeholder/Placeholder.d.ts +1 -1
- package/dist/types/primitives/Radio/Radio.d.ts +1 -1
- package/dist/types/primitives/RadioGroupField/RadioGroupField.d.ts +1 -1
- package/dist/types/primitives/Rating/Rating.d.ts +1 -1
- package/dist/types/primitives/ScrollView/ScrollView.d.ts +1 -1
- package/dist/types/primitives/SearchField/SearchField.d.ts +1 -1
- package/dist/types/primitives/SearchField/SearchFieldButton.d.ts +1 -1
- package/dist/types/primitives/Select/Select.d.ts +1 -1
- package/dist/types/primitives/SelectField/SelectField.d.ts +1 -1
- package/dist/types/primitives/SliderField/SliderField.d.ts +1 -1
- package/dist/types/primitives/StepperField/StepperField.d.ts +1 -1
- package/dist/types/primitives/SwitchField/SwitchField.d.ts +1 -1
- package/dist/types/primitives/Table/Table.d.ts +1 -1
- package/dist/types/primitives/Table/TableBody.d.ts +1 -1
- package/dist/types/primitives/Table/TableCell.d.ts +1 -1
- package/dist/types/primitives/Table/TableFoot.d.ts +1 -1
- package/dist/types/primitives/Table/TableHead.d.ts +1 -1
- package/dist/types/primitives/Table/TableRow.d.ts +1 -1
- package/dist/types/primitives/Tabs/Tabs.d.ts +2 -2
- package/dist/types/primitives/Text/Text.d.ts +1 -1
- package/dist/types/primitives/TextArea/TextArea.d.ts +1 -1
- package/dist/types/primitives/TextAreaField/TextAreaField.d.ts +1 -1
- package/dist/types/primitives/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/types/primitives/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/dist/types/primitives/View/View.d.ts +2 -2
- package/dist/types/primitives/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/types/primitives/shared/constants.d.ts +1 -1
- package/dist/types/primitives/types/alert.d.ts +6 -0
- package/dist/types/primitives/types/badge.d.ts +2 -0
- package/dist/types/primitives/types/base.d.ts +15 -0
- package/dist/types/primitives/types/button.d.ts +12 -2
- package/dist/types/primitives/types/card.d.ts +4 -0
- package/dist/types/primitives/types/checkbox.d.ts +8 -4
- package/dist/types/primitives/types/collection.d.ts +20 -2
- package/dist/types/primitives/types/divider.d.ts +7 -2
- package/dist/types/primitives/types/expander.d.ts +7 -0
- package/dist/types/primitives/types/field.d.ts +6 -1
- package/dist/types/primitives/types/fieldGroupIcon.d.ts +2 -0
- package/dist/types/primitives/types/flex.d.ts +8 -1
- package/dist/types/primitives/types/grid.d.ts +84 -0
- package/dist/types/primitives/types/heading.d.ts +4 -0
- package/dist/types/primitives/types/icon.d.ts +16 -9
- package/dist/types/primitives/types/image.d.ts +26 -9
- package/dist/types/primitives/types/input.d.ts +47 -22
- package/dist/types/primitives/types/label.d.ts +2 -0
- package/dist/types/primitives/types/link.d.ts +10 -0
- package/dist/types/primitives/types/loader.d.ts +7 -0
- package/dist/types/primitives/types/menu.d.ts +16 -3
- package/dist/types/primitives/types/pagination.d.ts +29 -6
- package/dist/types/primitives/types/passwordField.d.ts +22 -6
- package/dist/types/primitives/types/phoneNumberField.d.ts +25 -0
- package/dist/types/primitives/types/placeholder.d.ts +4 -1
- package/dist/types/primitives/types/radio.d.ts +1 -0
- package/dist/types/primitives/types/radioGroupField.d.ts +2 -0
- package/dist/types/primitives/types/rating.d.ts +7 -0
- package/dist/types/primitives/types/searchField.d.ts +9 -2
- package/dist/types/primitives/types/select.d.ts +52 -0
- package/dist/types/primitives/types/selectField.d.ts +1 -0
- package/dist/types/primitives/types/sliderField.d.ts +56 -0
- package/dist/types/primitives/types/stepperField.d.ts +39 -2
- package/dist/types/primitives/types/style.d.ts +387 -6
- package/dist/types/primitives/types/switchField.d.ts +13 -1
- package/dist/types/primitives/types/table.d.ts +12 -0
- package/dist/types/primitives/types/tabs.d.ts +8 -0
- package/dist/types/primitives/types/text.d.ts +3 -0
- package/dist/types/primitives/types/textArea.d.ts +34 -14
- package/dist/types/primitives/types/textField.d.ts +5 -0
- package/dist/types/primitives/types/toggleButton.d.ts +16 -0
- package/dist/types/primitives/types/toggleButtonGroup.d.ts +20 -0
- package/dist/types/primitives/types/view.d.ts +25 -0
- package/package.json +2 -2
- 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
|
|
6
|
+
* Generated on Wed, 29 Jun 2022 22:47:24 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
|
);
|
|
@@ -4,11 +4,11 @@ import { ComponentsProviderProps } from './hooks/useCustomComponents';
|
|
|
4
4
|
import { RouterProps } from './Router';
|
|
5
5
|
export declare type AuthenticatorProps = Partial<AuthenticatorMachineOptions & ComponentsProviderProps & RouterProps>;
|
|
6
6
|
/**
|
|
7
|
-
* [📖 Docs](https://ui.docs.amplify.aws/react/components/authenticator)
|
|
7
|
+
* [📖 Docs](https://ui.docs.amplify.aws/react/connected-components/authenticator)
|
|
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
|
-
|
|
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 {
|
|
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
|
-
|
|
29
|
+
_send: InternalAuthenticatorContext['_send'];
|
|
43
30
|
/** @deprecated For internal use only */
|
|
44
|
-
|
|
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:
|
|
37
|
+
user: CognitoUserAmplify;
|
|
51
38
|
validationErrors: {
|
|
52
|
-
[
|
|
39
|
+
[key: string]: string | string[];
|
|
53
40
|
};
|
|
54
|
-
codeDeliveryDetails:
|
|
55
|
-
resendCode: (data?:
|
|
56
|
-
signOut: (data?:
|
|
57
|
-
submitForm: (data?:
|
|
58
|
-
updateForm: (data?:
|
|
59
|
-
updateBlur: (data?:
|
|
60
|
-
toFederatedSignIn: (data?:
|
|
61
|
-
toResetPassword: (data?:
|
|
62
|
-
toSignIn: (data?:
|
|
63
|
-
toSignUp: (data?:
|
|
64
|
-
skipVerification: (data?:
|
|
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
|
-
|
|
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/connected-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: (
|
|
4
|
-
handleChange: (
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthenticatorProps } from './Authenticator';
|
|
2
2
|
export declare type WithAuthenticatorOptions = Omit<AuthenticatorProps, 'children'>;
|
|
3
3
|
/**
|
|
4
|
-
* [📖 Docs](https://ui.docs.amplify.aws/react/components/authenticator)
|
|
4
|
+
* [📖 Docs](https://ui.docs.amplify.aws/react/connected-components/authenticator)
|
|
5
5
|
*/
|
|
6
|
-
export declare function withAuthenticator<Props>(Component: (props?: Props) => JSX.Element, options?: WithAuthenticatorOptions): (props
|
|
6
|
+
export declare function withAuthenticator<Props>(Component: (props?: Props) => JSX.Element, options?: WithAuthenticatorOptions): (props?: Props) => JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { LocationSearchProps } from 'maplibre-gl-geocoder';
|
|
|
2
2
|
/**
|
|
3
3
|
* The `<LocationSearch>` component provides location search.
|
|
4
4
|
*
|
|
5
|
-
* [📖 Docs](https://ui.docs.amplify.aws/react/components/geo#location-search)
|
|
5
|
+
* [📖 Docs](https://ui.docs.amplify.aws/react/connected-components/geo#location-search)
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* // Used as a map control:
|
|
@@ -12,7 +12,7 @@ interface MapViewProps extends Omit<MapProps, 'mapLib' | 'transformRequest'> {
|
|
|
12
12
|
* [react-map-gl default Map](https://visgl.github.io/react-map-gl/docs/api-reference/map), it accepts the same
|
|
13
13
|
* properties except `transformRequest` which is set by Amplify.
|
|
14
14
|
*
|
|
15
|
-
* [📖 Docs](https://ui.docs.amplify.aws/react/components/geo#mapview)
|
|
15
|
+
* [📖 Docs](https://ui.docs.amplify.aws/react/connected-components/geo#mapview)
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* // Basic usage of MapView:
|
|
@@ -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" | "
|
|
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" | "
|
|
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>>;
|