@aws-amplify/ui-react 3.0.1 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IconWarning-227761f5.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 +150 -8
- package/dist/types/components/Authenticator/Authenticator.d.ts +12 -5
- package/dist/types/components/Authenticator/ConfirmSignUp/ConfirmSignUp.d.ts +1 -1
- package/dist/types/components/Authenticator/Router/Router.d.ts +1 -2
- package/dist/types/components/Authenticator/Router/types.d.ts +0 -7
- 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/button.d.ts +4 -2
- package/dist/types/primitives/types/checkbox.d.ts +4 -2
- package/dist/types/primitives/types/collection.d.ts +9 -2
- package/dist/types/primitives/types/divider.d.ts +4 -2
- package/dist/types/primitives/types/field.d.ts +2 -1
- package/dist/types/primitives/types/flex.d.ts +1 -1
- package/dist/types/primitives/types/grid.d.ts +84 -0
- package/dist/types/primitives/types/icon.d.ts +10 -8
- package/dist/types/primitives/types/image.d.ts +12 -9
- package/dist/types/primitives/types/input.d.ts +32 -22
- package/dist/types/primitives/types/link.d.ts +7 -0
- package/dist/types/primitives/types/menu.d.ts +6 -3
- package/dist/types/primitives/types/pagination.d.ts +12 -6
- package/dist/types/primitives/types/passwordField.d.ts +10 -5
- package/dist/types/primitives/types/placeholder.d.ts +2 -1
- package/dist/types/primitives/types/searchField.d.ts +4 -2
- package/dist/types/primitives/types/sliderField.d.ts +8 -0
- package/dist/types/primitives/types/stepperField.d.ts +4 -2
- package/dist/types/primitives/types/style.d.ts +122 -66
- package/dist/types/primitives/types/switchField.d.ts +0 -1
- package/dist/types/primitives/types/textArea.d.ts +17 -13
- package/dist/types/primitives/types/view.d.ts +2 -1
- 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 Tue,
|
|
6
|
+
* Generated on Tue, 05 Jul 2022 22:21:43 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);
|
|
@@ -683,9 +685,11 @@
|
|
|
683
685
|
--amplify-components-sliderfield-thumb-background-color: var(--amplify-colors-background-primary);
|
|
684
686
|
--amplify-components-sliderfield-range-background-color: var(--amplify-colors-brand-primary-80);
|
|
685
687
|
--amplify-components-sliderfield-track-background-color: var(--amplify-colors-background-quaternary);
|
|
688
|
+
--amplify-components-select-option-color: var(--amplify-colors-font-primary);
|
|
686
689
|
--amplify-components-select-option-background-color: var(--amplify-colors-background-primary);
|
|
687
690
|
--amplify-components-rating-empty-color: var(--amplify-colors-background-tertiary);
|
|
688
691
|
--amplify-components-rating-filled-color: var(--amplify-colors-brand-secondary-80);
|
|
692
|
+
--amplify-components-radiogroup-radio-border-width: var(--amplify-components-radio-button-border-width);
|
|
689
693
|
--amplify-components-radio-label-disabled-color: var(--amplify-colors-font-disabled);
|
|
690
694
|
--amplify-components-radio-button-disabled-background-color: var(--amplify-colors-background-primary);
|
|
691
695
|
--amplify-components-radio-button-error-border-color: var(--amplify-colors-border-error);
|
|
@@ -820,6 +824,7 @@
|
|
|
820
824
|
--amplify-components-togglebutton-pressed-border-color: var(--amplify-colors-border-pressed);
|
|
821
825
|
--amplify-components-togglebutton-disabled-border-color: var(--amplify-colors-border-disabled);
|
|
822
826
|
--amplify-components-togglebutton-focus-border-color: var(--amplify-colors-border-focus);
|
|
827
|
+
--amplify-components-textfield-font-size: var(--amplify-components-fieldcontrol-font-size);
|
|
823
828
|
--amplify-components-textfield-border-color: var(--amplify-components-fieldcontrol-border-color);
|
|
824
829
|
--amplify-components-textfield-color: var(--amplify-components-fieldcontrol-color);
|
|
825
830
|
--amplify-components-textareafield-border-color: var(--amplify-components-fieldcontrol-border-color);
|
|
@@ -829,11 +834,23 @@
|
|
|
829
834
|
--amplify-components-tabs-item-focus-color: var(--amplify-colors-font-focus);
|
|
830
835
|
--amplify-components-tabs-item-hover-color: var(--amplify-colors-font-hover);
|
|
831
836
|
--amplify-components-switchfield-focused-shadow: 0px 0px 0px 2px var(--amplify-colors-border-focus);
|
|
837
|
+
--amplify-components-stepperfield-button-hover-background-color: var(--amplify-components-button-hover-background-color);
|
|
838
|
+
--amplify-components-stepperfield-button-disabled-color: var(--amplify-components-button-disabled-color);
|
|
839
|
+
--amplify-components-stepperfield-button-focus-background-color: var(--amplify-components-button-focus-background-color);
|
|
840
|
+
--amplify-components-stepperfield-button-active-background-color: var(--amplify-components-button-active-background-color);
|
|
841
|
+
--amplify-components-stepperfield-button-color: var(--amplify-components-button-color);
|
|
842
|
+
--amplify-components-stepperfield-input-font-size: var(--amplify-components-fieldcontrol-font-size);
|
|
843
|
+
--amplify-components-stepperfield-input-color: var(--amplify-components-fieldcontrol-color);
|
|
844
|
+
--amplify-components-stepperfield-border-color: var(--amplify-components-fieldcontrol-border-color);
|
|
832
845
|
--amplify-components-sliderfield-thumb-focus-box-shadow: 0 0 0 2px var(--amplify-colors-border-focus);
|
|
833
846
|
--amplify-components-sliderfield-thumb-focus-border-color: var(--amplify-colors-border-focus);
|
|
834
847
|
--amplify-components-sliderfield-thumb-hover-border-color: var(--amplify-colors-border-focus);
|
|
835
848
|
--amplify-components-sliderfield-thumb-disabled-background-color: var(--amplify-colors-background-disabled);
|
|
836
849
|
--amplify-components-sliderfield-range-disabled-background-color: var(--amplify-colors-background-disabled);
|
|
850
|
+
--amplify-components-selectfield-label-color: var(--amplify-components-field-label-color);
|
|
851
|
+
--amplify-components-selectfield-font-size: var(--amplify-components-fieldcontrol-font-size);
|
|
852
|
+
--amplify-components-selectfield-color: var(--amplify-components-fieldcontrol-color);
|
|
853
|
+
--amplify-components-selectfield-border-color: var(--amplify-components-fieldcontrol-border-color);
|
|
837
854
|
--amplify-components-searchfield-button-hover-border-color: var(--amplify-components-button-hover-border-color);
|
|
838
855
|
--amplify-components-searchfield-button-hover-background-color: var(--amplify-components-button-hover-background-color);
|
|
839
856
|
--amplify-components-searchfield-button-focus-background-color: var(--amplify-components-button-focus-background-color);
|
|
@@ -843,10 +860,18 @@
|
|
|
843
860
|
--amplify-components-searchfield-button-active-background-color: var(--amplify-components-button-active-background-color);
|
|
844
861
|
--amplify-components-searchfield-button-color: var(--amplify-components-button-color);
|
|
845
862
|
--amplify-components-searchfield-color: var(--amplify-components-fieldcontrol-color);
|
|
863
|
+
--amplify-components-radiogroup-label-color: var(--amplify-components-field-label-color);
|
|
864
|
+
--amplify-components-radiogroup-radio-checked-color: var(--amplify-components-radio-button-checked-color);
|
|
865
|
+
--amplify-components-radiogroup-radio-background-color: var(--amplify-components-radio-button-background-color);
|
|
866
|
+
--amplify-components-radiogroup-radio-border-color: var(--amplify-components-radio-button-border-color);
|
|
867
|
+
--amplify-components-radio-label-color: var(--amplify-components-text-color);
|
|
846
868
|
--amplify-components-radio-button-disabled-border-color: var(--amplify-colors-border-disabled);
|
|
847
869
|
--amplify-components-radio-button-error-focus-box-shadow: var(--amplify-components-fieldcontrol-error-focus-box-shadow);
|
|
848
870
|
--amplify-components-radio-button-focus-border-color: var(--amplify-colors-border-focus);
|
|
849
871
|
--amplify-components-radio-button-checked-disabled-color: var(--amplify-colors-background-disabled);
|
|
872
|
+
--amplify-components-phonenumberfield-font-size: var(--amplify-components-fieldcontrol-font-size);
|
|
873
|
+
--amplify-components-phonenumberfield-border-color: var(--amplify-components-fieldcontrol-border-color);
|
|
874
|
+
--amplify-components-phonenumberfield-color: var(--amplify-components-fieldcontrol-color);
|
|
850
875
|
--amplify-components-passwordfield-button-hover-border-color: var(--amplify-components-button-hover-border-color);
|
|
851
876
|
--amplify-components-passwordfield-button-hover-background-color: var(--amplify-components-button-hover-background-color);
|
|
852
877
|
--amplify-components-passwordfield-button-focus-background-color: var(--amplify-components-button-focus-background-color);
|
|
@@ -893,11 +918,17 @@
|
|
|
893
918
|
--amplify-components-togglebutton-primary-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
|
|
894
919
|
--amplify-components-textfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
|
|
895
920
|
--amplify-components-textareafield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
|
|
921
|
+
--amplify-components-stepperfield-button-hover-color: var(--amplify-components-button-hover-color);
|
|
922
|
+
--amplify-components-stepperfield-button-focus-color: var(--amplify-components-button-focus-color);
|
|
923
|
+
--amplify-components-stepperfield-button-active-color: var(--amplify-components-button-active-color);
|
|
924
|
+
--amplify-components-selectfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
|
|
896
925
|
--amplify-components-searchfield-button-hover-color: var(--amplify-components-button-hover-color);
|
|
897
926
|
--amplify-components-searchfield-button-focus-color: var(--amplify-components-button-focus-color);
|
|
898
927
|
--amplify-components-searchfield-button-focus-border-color: var(--amplify-components-button-focus-border-color);
|
|
899
928
|
--amplify-components-searchfield-button-active-color: var(--amplify-components-button-active-color);
|
|
929
|
+
--amplify-components-radiogroup-radio-label-color: var(--amplify-components-radio-label-color);
|
|
900
930
|
--amplify-components-radio-button-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
|
|
931
|
+
--amplify-components-phonenumberfield-focus-border-color: var(--amplify-components-fieldcontrol-focus-border-color);
|
|
901
932
|
--amplify-components-passwordfield-button-hover-color: var(--amplify-components-button-hover-color);
|
|
902
933
|
--amplify-components-passwordfield-button-focus-color: var(--amplify-components-button-focus-color);
|
|
903
934
|
--amplify-components-passwordfield-button-focus-border-color: var(--amplify-components-button-focus-border-color);
|
|
@@ -2598,6 +2629,33 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2598
2629
|
border-right: none;
|
|
2599
2630
|
}
|
|
2600
2631
|
|
|
2632
|
+
.amplify-phonenumberfield {
|
|
2633
|
+
--amplify-components-selectfield-color: var(
|
|
2634
|
+
--amplify-components-phonenumberfield-color
|
|
2635
|
+
);
|
|
2636
|
+
--amplify-components-selectfield-border-color: var(
|
|
2637
|
+
--amplify-components-phonenumberfield-border-color
|
|
2638
|
+
);
|
|
2639
|
+
--amplify-components-selectfield-font-size: var(
|
|
2640
|
+
--amplify-components-phonenumberfield-font-size
|
|
2641
|
+
);
|
|
2642
|
+
--amplify-components-selectfield-focus-border-color: var(
|
|
2643
|
+
--amplify-components-phonenumberfield-focus-border-color
|
|
2644
|
+
);
|
|
2645
|
+
--amplify-components-textfield-color: var(
|
|
2646
|
+
--amplify-components-phonenumberfield-color
|
|
2647
|
+
);
|
|
2648
|
+
--amplify-components-textfield-border-color: var(
|
|
2649
|
+
--amplify-components-phonenumberfield-border-color
|
|
2650
|
+
);
|
|
2651
|
+
--amplify-components-textfield-font-size: var(
|
|
2652
|
+
--amplify-components-phonenumberfield-font-size
|
|
2653
|
+
);
|
|
2654
|
+
--amplify-components-textfield-focus-border-color: var(
|
|
2655
|
+
--amplify-components-phonenumberfield-focus-border-color
|
|
2656
|
+
);
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2601
2659
|
.amplify-rating {
|
|
2602
2660
|
display: inline-flex;
|
|
2603
2661
|
position: relative;
|
|
@@ -2658,6 +2716,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2658
2716
|
justify-content: var(--amplify-components-radio-justify-content);
|
|
2659
2717
|
gap: inherit;
|
|
2660
2718
|
flex-direction: row-reverse;
|
|
2719
|
+
--amplify-components-text-color: var(--amplify-components-radio-label-color);
|
|
2661
2720
|
}
|
|
2662
2721
|
.amplify-radio--disabled {
|
|
2663
2722
|
cursor: var(--amplify-components-radio-disabled-cursor);
|
|
@@ -2740,6 +2799,24 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2740
2799
|
.amplify-radiogroupfield {
|
|
2741
2800
|
flex-direction: column;
|
|
2742
2801
|
align-items: flex-start;
|
|
2802
|
+
--amplify-components-field-label-color: var(
|
|
2803
|
+
--amplify-components-radiogroup-label-color
|
|
2804
|
+
);
|
|
2805
|
+
--amplify-components-radio-button-border-width: var(
|
|
2806
|
+
--amplify-components-radiogroup-radio-border-width
|
|
2807
|
+
);
|
|
2808
|
+
--amplify-components-radio-button-border-color: var(
|
|
2809
|
+
--amplify-components-radiogroup-radio-border-color
|
|
2810
|
+
);
|
|
2811
|
+
--amplify-components-radio-button-background-color: var(
|
|
2812
|
+
--amplify-components-radiogroup-radio-background-color
|
|
2813
|
+
);
|
|
2814
|
+
--amplify-components-radio-label-color: var(
|
|
2815
|
+
--amplify-components-radiogroup-radio-label-color
|
|
2816
|
+
);
|
|
2817
|
+
--amplify-components-radio-button-checked-color: var(
|
|
2818
|
+
--amplify-components-radiogroup-radio-checked-color
|
|
2819
|
+
);
|
|
2743
2820
|
}
|
|
2744
2821
|
|
|
2745
2822
|
.amplify-searchfield {
|
|
@@ -2873,14 +2950,15 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2873
2950
|
.amplify-select--quiet[aria-invalid=true]:focus {
|
|
2874
2951
|
box-shadow: var(--amplify-components-fieldcontrol-quiet-error-focus-box-shadow);
|
|
2875
2952
|
}
|
|
2953
|
+
.amplify-select option {
|
|
2954
|
+
color: initial;
|
|
2955
|
+
}
|
|
2876
2956
|
@-moz-document url-prefix() {
|
|
2877
2957
|
.amplify-select option {
|
|
2878
2958
|
background-color: var(--amplify-components-select-option-background-color);
|
|
2959
|
+
color: var(--amplify-components-select-option-color);
|
|
2879
2960
|
}
|
|
2880
2961
|
}
|
|
2881
|
-
.amplify-select option {
|
|
2882
|
-
color: initial;
|
|
2883
|
-
}
|
|
2884
2962
|
.amplify-select--small {
|
|
2885
2963
|
min-width: var(--amplify-components-select-small-min-width);
|
|
2886
2964
|
}
|
|
@@ -2890,6 +2968,21 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2890
2968
|
|
|
2891
2969
|
.amplify-selectfield {
|
|
2892
2970
|
flex-direction: var(--amplify-components-selectfield-flex-direction);
|
|
2971
|
+
--amplify-components-fieldcontrol-border-color: var(
|
|
2972
|
+
--amplify-components-selectfield-border-color
|
|
2973
|
+
);
|
|
2974
|
+
--amplify-components-fieldcontrol-color: var(
|
|
2975
|
+
--amplify-components-selectfield-color
|
|
2976
|
+
);
|
|
2977
|
+
--amplify-components-fieldcontrol-font-size: var(
|
|
2978
|
+
--amplify-components-selectfield-font-size
|
|
2979
|
+
);
|
|
2980
|
+
--amplify-components-fieldcontrol-focus-border-color: var(
|
|
2981
|
+
--amplify-components-selectfield-focus-border-color
|
|
2982
|
+
);
|
|
2983
|
+
--amplify-components-field-label-color: var(
|
|
2984
|
+
--amplify-components-selectfield-label-color
|
|
2985
|
+
);
|
|
2893
2986
|
}
|
|
2894
2987
|
|
|
2895
2988
|
.amplify-sliderfield {
|
|
@@ -3039,8 +3132,50 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3039
3132
|
|
|
3040
3133
|
.amplify-stepperfield {
|
|
3041
3134
|
flex-direction: var(--amplify-components-stepperfield-flex-direction);
|
|
3135
|
+
--amplify-components-fieldcontrol-border-color: var(
|
|
3136
|
+
--amplify-components-stepperfield-border-color
|
|
3137
|
+
);
|
|
3138
|
+
--amplify-components-button-border-color: var(
|
|
3139
|
+
--amplify-components-stepperfield-border-color
|
|
3140
|
+
);
|
|
3141
|
+
--amplify-components-fieldcontrol-color: var(
|
|
3142
|
+
--amplify-components-stepperfield-input-color
|
|
3143
|
+
);
|
|
3144
|
+
--amplify-components-fieldcontrol-font-size: var(
|
|
3145
|
+
--amplify-components-stepperfield-input-font-size
|
|
3146
|
+
);
|
|
3147
|
+
--amplify-components-button-color: var(
|
|
3148
|
+
--amplify-components-stepperfield-button-color
|
|
3149
|
+
);
|
|
3150
|
+
--amplify-components-button-active-color: var(
|
|
3151
|
+
--amplify-components-stepperfield-button-active-color
|
|
3152
|
+
);
|
|
3153
|
+
--amplify-components-button-active-background-color: var(
|
|
3154
|
+
--amplify-components-stepperfield-button-active-background-color
|
|
3155
|
+
);
|
|
3156
|
+
--amplify-components-button-focus-color: var(
|
|
3157
|
+
--amplify-components-stepperfield-button-focus-color
|
|
3158
|
+
);
|
|
3159
|
+
--amplify-components-button-focus-background-color: var(
|
|
3160
|
+
--amplify-components-stepperfield-button-focus-background-color
|
|
3161
|
+
);
|
|
3162
|
+
--amplify-components-button-disabled-color: var(
|
|
3163
|
+
--amplify-components-stepperfield-button-disabled-color
|
|
3164
|
+
);
|
|
3165
|
+
--amplify-components-button-disabled-background-color: var(
|
|
3166
|
+
--amplify-components-stepperfield-button-disabled-background-color
|
|
3167
|
+
);
|
|
3168
|
+
--amplify-components-button-hover-color: var(
|
|
3169
|
+
--amplify-components-stepperfield-button-hover-color
|
|
3170
|
+
);
|
|
3171
|
+
--amplify-components-button-hover-background-color: var(
|
|
3172
|
+
--amplify-components-stepperfield-button-hover-background-color
|
|
3173
|
+
);
|
|
3042
3174
|
}
|
|
3043
3175
|
|
|
3176
|
+
.amplify-stepperfield__button--decrease {
|
|
3177
|
+
background-color: var(--amplify-components-stepperfield-button-background-color);
|
|
3178
|
+
}
|
|
3044
3179
|
.amplify-stepperfield__button--decrease[data-invalid=true] {
|
|
3045
3180
|
-webkit-border-end: none;
|
|
3046
3181
|
border-inline-end: none;
|
|
@@ -3050,6 +3185,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3050
3185
|
border-radius: 0;
|
|
3051
3186
|
}
|
|
3052
3187
|
|
|
3188
|
+
.amplify-stepperfield__button--increase {
|
|
3189
|
+
background-color: var(--amplify-components-stepperfield-button-background-color);
|
|
3190
|
+
}
|
|
3053
3191
|
.amplify-stepperfield__button--increase[data-invalid=true] {
|
|
3054
3192
|
-webkit-border-start: none;
|
|
3055
3193
|
border-inline-start: none;
|
|
@@ -3374,6 +3512,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3374
3512
|
--amplify-components-fieldcontrol-border-color: var(
|
|
3375
3513
|
--amplify-components-textfield-border-color
|
|
3376
3514
|
);
|
|
3515
|
+
--amplify-components-fieldcontrol-font-size: var(
|
|
3516
|
+
--amplify-components-textfield-font-size
|
|
3517
|
+
);
|
|
3377
3518
|
--amplify-components-fieldcontrol-focus-border-color: var(
|
|
3378
3519
|
--amplify-components-textfield-focus-border-color
|
|
3379
3520
|
);
|
|
@@ -3667,7 +3808,12 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3667
3808
|
gap: 0;
|
|
3668
3809
|
}
|
|
3669
3810
|
|
|
3811
|
+
.amplify-togglebuttongroup .amplify-togglebutton:focus, .amplify-togglebuttongroup .amplify-togglebutton.amplify-togglebutton--pressed {
|
|
3812
|
+
z-index: 2;
|
|
3813
|
+
}
|
|
3670
3814
|
.amplify-togglebuttongroup .amplify-togglebutton:not(:first-of-type) {
|
|
3815
|
+
-webkit-margin-start: calc(-1 * var(--amplify-components-button-border-width));
|
|
3816
|
+
margin-inline-start: calc(-1 * var(--amplify-components-button-border-width));
|
|
3671
3817
|
border-start-start-radius: 0;
|
|
3672
3818
|
border-end-start-radius: 0;
|
|
3673
3819
|
}
|
|
@@ -3677,10 +3823,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3677
3823
|
border-bottom-left-radius: 0;
|
|
3678
3824
|
}
|
|
3679
3825
|
}
|
|
3680
|
-
.amplify-togglebuttongroup .amplify-togglebutton:not(:first-of-type):not(:focus) {
|
|
3681
|
-
-webkit-border-start: 1px solid transparent;
|
|
3682
|
-
border-inline-start: 1px solid transparent;
|
|
3683
|
-
}
|
|
3684
3826
|
.amplify-togglebuttongroup .amplify-togglebutton:not(:last-of-type) {
|
|
3685
3827
|
border-start-end-radius: 0;
|
|
3686
3828
|
border-end-end-radius: 0;
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AuthenticatorMachineOptions } from '@aws-amplify/ui';
|
|
2
|
+
import { AuthenticatorMachineOptions, CognitoUserAmplify } from '@aws-amplify/ui';
|
|
3
|
+
import { UseAuthenticator } from './hooks/useAuthenticator';
|
|
3
4
|
import { ComponentsProviderProps } from './hooks/useCustomComponents';
|
|
4
5
|
import { RouterProps } from './Router';
|
|
5
|
-
export declare type AuthenticatorProps = Partial<AuthenticatorMachineOptions & ComponentsProviderProps & RouterProps
|
|
6
|
+
export declare type AuthenticatorProps = Partial<AuthenticatorMachineOptions & ComponentsProviderProps & RouterProps & {
|
|
7
|
+
children: React.ReactNode | ((props: {
|
|
8
|
+
signOut?: UseAuthenticator['signOut'];
|
|
9
|
+
user?: CognitoUserAmplify;
|
|
10
|
+
}) => JSX.Element);
|
|
11
|
+
}>;
|
|
12
|
+
export declare function AuthenticatorInternal({ children, className, components: customComponents, formFields, hideSignUp, initialState, loginMechanisms, signUpAttributes, services, socialProviders, variation, }: AuthenticatorProps): JSX.Element;
|
|
6
13
|
/**
|
|
7
|
-
* [📖 Docs](https://ui.docs.amplify.aws/react/components/authenticator)
|
|
14
|
+
* [📖 Docs](https://ui.docs.amplify.aws/react/connected-components/authenticator)
|
|
8
15
|
*/
|
|
9
|
-
export declare function Authenticator(
|
|
16
|
+
export declare function Authenticator(props: AuthenticatorProps): JSX.Element;
|
|
10
17
|
export declare namespace Authenticator {
|
|
11
|
-
var Provider: ({ children }: {
|
|
18
|
+
var Provider: ({ children, }: {
|
|
12
19
|
children: React.ReactNode;
|
|
13
20
|
}) => JSX.Element;
|
|
14
21
|
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,2 @@
|
|
|
1
1
|
import { RouterProps } from './types';
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function Router({ children, className, hideSignUp, variation, }: RouterProps): JSX.Element;
|
|
2
|
+
export declare function Router({ className, hideSignUp, variation, }: RouterProps): JSX.Element;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { CognitoUserAmplify } from '@aws-amplify/ui';
|
|
3
1
|
import { RouteProps } from '../RouteContainer';
|
|
4
|
-
import { UseAuthenticator } from '../hooks/useAuthenticator';
|
|
5
2
|
export declare type RouterProps = {
|
|
6
|
-
children: React.ReactNode | ((props: {
|
|
7
|
-
signOut?: UseAuthenticator['signOut'];
|
|
8
|
-
user?: CognitoUserAmplify;
|
|
9
|
-
}) => React.ReactNode);
|
|
10
3
|
hideSignUp: boolean;
|
|
11
4
|
} & RouteProps;
|
|
@@ -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>>;
|