@aws-amplify/ui-react 6.11.1 → 6.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -15
- package/dist/esm/primitives/Collection/Collection.mjs +10 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/index.js +39 -36
- package/dist/styles/liveness.css +17 -2
- package/dist/styles/liveness.layer.css +17 -2
- package/dist/styles.css +17 -2
- package/dist/styles.layer.css +17 -2
- package/dist/types/PrimitiveCatalog.d.ts +1 -1
- package/dist/types/components/AccountSettings/ChangePassword/ChangePassword.d.ts +1 -1
- package/dist/types/components/AccountSettings/ChangePassword/defaults.d.ts +1 -1
- package/dist/types/components/AccountSettings/ChangePassword/types.d.ts +3 -3
- package/dist/types/components/AccountSettings/DeleteUser/DeleteUser.d.ts +1 -1
- package/dist/types/components/AccountSettings/DeleteUser/defaults.d.ts +1 -1
- package/dist/types/components/AccountSettings/DeleteUser/types.d.ts +4 -4
- package/dist/types/components/AccountSettings/shared/Defaults.d.ts +1 -1
- package/dist/types/components/AccountSettings/types.d.ts +2 -2
- package/dist/types/components/AccountSettings/utils/displayText.d.ts +1 -1
- package/dist/types/components/AccountSettings/utils/index.d.ts +2 -1
- package/dist/types/components/Authenticator/Authenticator.d.ts +6 -5
- package/dist/types/components/Authenticator/ConfirmSignIn/ConfirmSignIn.d.ts +1 -1
- package/dist/types/components/Authenticator/ConfirmSignUp/ConfirmSignUp.d.ts +1 -1
- package/dist/types/components/Authenticator/FederatedSignIn/FederatedSignInButtons/FederatedSignInButton.d.ts +1 -1
- package/dist/types/components/Authenticator/ForceNewPassword/ForceNewPassword.d.ts +1 -1
- package/dist/types/components/Authenticator/ForgotPassword/ConfirmResetPassword.d.ts +1 -1
- package/dist/types/components/Authenticator/ForgotPassword/ForgotPassword.d.ts +1 -1
- package/dist/types/components/Authenticator/RouteContainer/RouteContainer.d.ts +1 -1
- package/dist/types/components/Authenticator/RouteContainer/index.d.ts +1 -1
- package/dist/types/components/Authenticator/Router/Router.d.ts +1 -1
- package/dist/types/components/Authenticator/Router/index.d.ts +1 -1
- package/dist/types/components/Authenticator/Router/types.d.ts +1 -1
- package/dist/types/components/Authenticator/SelectMfaType/SelectMfaType.d.ts +1 -1
- package/dist/types/components/Authenticator/SetupEmail/SetupEmail.d.ts +1 -1
- package/dist/types/components/Authenticator/SetupTotp/SetupTotp.d.ts +1 -1
- package/dist/types/components/Authenticator/VerifyUser/ConfirmVerifyUser.d.ts +1 -1
- package/dist/types/components/Authenticator/VerifyUser/VerifyUser.d.ts +1 -1
- package/dist/types/components/Authenticator/hooks/useCustomComponents/index.d.ts +2 -1
- package/dist/types/components/Authenticator/hooks/useCustomComponents/useCustomComponents.d.ts +1 -1
- package/dist/types/components/Authenticator/hooks/useFormHandlers/useFormHandlers.d.ts +1 -1
- package/dist/types/components/Authenticator/index.d.ts +6 -3
- package/dist/types/components/Authenticator/shared/FormField.d.ts +1 -1
- package/dist/types/components/Authenticator/shared/SignInSignUpTabs.d.ts +1 -1
- package/dist/types/components/Authenticator/shared/TwoButtonSubmitFooter.d.ts +1 -1
- package/dist/types/components/Authenticator/withAuthenticator.d.ts +2 -2
- package/dist/types/components/FileSelect/index.d.ts +2 -1
- package/dist/types/components/FilterChildren/index.d.ts +2 -1
- package/dist/types/components/ThemeProvider/ComponentStyle.d.ts +2 -2
- package/dist/types/components/ThemeProvider/ThemeContext.d.ts +2 -2
- package/dist/types/components/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/dist/types/components/ThemeProvider/ThemeStyle.d.ts +1 -1
- package/dist/types/components/ThemeProvider/index.d.ts +2 -1
- package/dist/types/hooks/useAuth.d.ts +1 -1
- package/dist/types/hooks/useBreakpointValue.d.ts +1 -1
- package/dist/types/hooks/useDeprecationWarning.d.ts +1 -1
- package/dist/types/hooks/useTheme.d.ts +3 -3
- package/dist/types/hooks/useThemeBreakpoint.d.ts +1 -1
- package/dist/types/internal.d.ts +4 -2
- package/dist/types/primitives/Accordion/Accordion.d.ts +2 -2
- package/dist/types/primitives/Accordion/AccordionContainer.d.ts +2 -2
- package/dist/types/primitives/Accordion/AccordionContent.d.ts +2 -2
- package/dist/types/primitives/Accordion/AccordionIcon.d.ts +2 -2
- package/dist/types/primitives/Accordion/AccordionItem.d.ts +2 -2
- package/dist/types/primitives/Accordion/AccordionTrigger.d.ts +2 -2
- package/dist/types/primitives/Accordion/index.d.ts +1 -1
- package/dist/types/primitives/Accordion/types.d.ts +2 -2
- package/dist/types/primitives/Alert/Alert.d.ts +1 -1
- package/dist/types/primitives/Alert/AlertIcon.d.ts +1 -1
- package/dist/types/primitives/Avatar/Avatar.d.ts +2 -2
- package/dist/types/primitives/Avatar/index.d.ts +1 -1
- package/dist/types/primitives/Avatar/types.d.ts +2 -2
- package/dist/types/primitives/Badge/Badge.d.ts +1 -1
- package/dist/types/primitives/Breadcrumbs/BreadcrumbContainer.d.ts +1 -1
- package/dist/types/primitives/Breadcrumbs/BreadcrumbItem.d.ts +1 -1
- package/dist/types/primitives/Breadcrumbs/BreadcrumbLink.d.ts +1 -1
- package/dist/types/primitives/Breadcrumbs/BreadcrumbSeparator.d.ts +1 -1
- package/dist/types/primitives/Breadcrumbs/Breadcrumbs.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 +2 -2
- package/dist/types/primitives/CheckboxField/CheckboxField.d.ts +1 -1
- package/dist/types/primitives/Collection/Collection.d.ts +1 -1
- package/dist/types/primitives/Divider/Divider.d.ts +1 -1
- package/dist/types/primitives/DropZone/DropZone.d.ts +3 -3
- package/dist/types/primitives/DropZone/DropZoneContainer.d.ts +2 -2
- package/dist/types/primitives/DropZone/index.d.ts +1 -1
- package/dist/types/primitives/DropZone/types.d.ts +3 -3
- package/dist/types/primitives/Field/Field.d.ts +1 -1
- package/dist/types/primitives/Field/FieldClearButton.d.ts +1 -1
- package/dist/types/primitives/Field/FieldDescription.d.ts +1 -1
- package/dist/types/primitives/Field/FieldErrorMessage.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/Fieldset/Fieldset.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/Icon/context/IconsContext.d.ts +1 -1
- package/dist/types/primitives/Icon/context/IconsProvider.d.ts +2 -2
- package/dist/types/primitives/Icon/context/index.d.ts +2 -1
- package/dist/types/primitives/Icon/context/useIcons.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconAdd.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconAssistant.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconAttach.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconCheck.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconCheckCircle.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconCheckCircleOutline.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconChevronLeft.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconChevronRight.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconClose.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconDocument.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconEdit.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconError.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconExpandMore.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconFile.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconIndeterminate.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconInfo.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconMenu.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconRemove.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconSearch.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconSend.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconStar.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconUpload.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconUser.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconVisibility.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconVisibilityOff.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconWarning.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/types.d.ts +1 -1
- package/dist/types/primitives/Icon/index.d.ts +2 -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 +2 -2
- package/dist/types/primitives/Menu/Menu.d.ts +1 -1
- package/dist/types/primitives/Menu/MenuButton.d.ts +1 -1
- package/dist/types/primitives/Menu/MenuItem.d.ts +1 -1
- package/dist/types/primitives/Message/Message.d.ts +1 -1
- package/dist/types/primitives/Message/MessageContainer.d.ts +1 -1
- package/dist/types/primitives/Message/MessageContent.d.ts +1 -1
- package/dist/types/primitives/Message/MessageDismiss.d.ts +1 -1
- package/dist/types/primitives/Message/MessageHeading.d.ts +1 -1
- package/dist/types/primitives/Message/MessageIcon.d.ts +1 -1
- package/dist/types/primitives/Message/useMessage.d.ts +1 -1
- package/dist/types/primitives/Pagination/Pagination.d.ts +1 -1
- package/dist/types/primitives/Pagination/PaginationItem.d.ts +1 -1
- package/dist/types/primitives/Pagination/usePagination.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/DialCodeSelect.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/RadioGroupField/context.d.ts +1 -1
- package/dist/types/primitives/Rating/Rating.d.ts +1 -1
- package/dist/types/primitives/Rating/RatingIcon.d.ts +2 -2
- package/dist/types/primitives/Rating/RatingMixedIcon.d.ts +2 -2
- package/dist/types/primitives/ScrollView/ScrollView.d.ts +1 -1
- package/dist/types/primitives/SearchField/SearchFieldButton.d.ts +1 -1
- package/dist/types/primitives/SearchField/useSearchField.d.ts +1 -1
- package/dist/types/primitives/Select/Select.d.ts +2 -2
- package/dist/types/primitives/SelectField/SelectField.d.ts +1 -1
- package/dist/types/primitives/SliderField/SliderField.d.ts +2 -2
- package/dist/types/primitives/StepperField/StepperField.d.ts +2 -2
- package/dist/types/primitives/StepperField/useStepper.d.ts +1 -1
- package/dist/types/primitives/SwitchField/SwitchField.d.ts +1 -1
- package/dist/types/primitives/SwitchField/useSwitch.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/Tabs/TabsContainer.d.ts +2 -2
- package/dist/types/primitives/Tabs/TabsItem.d.ts +2 -2
- package/dist/types/primitives/Tabs/TabsList.d.ts +2 -2
- package/dist/types/primitives/Tabs/TabsPanel.d.ts +2 -2
- package/dist/types/primitives/Tabs/index.d.ts +1 -1
- package/dist/types/primitives/Tabs/types.d.ts +2 -2
- package/dist/types/primitives/Text/Text.d.ts +1 -1
- package/dist/types/primitives/TextArea/AutoresizeTextarea.d.ts +2 -2
- package/dist/types/primitives/TextArea/TextArea.d.ts +2 -2
- package/dist/types/primitives/TextAreaField/TextAreaField.d.ts +2 -2
- package/dist/types/primitives/TextField/TextField.d.ts +1 -1
- package/dist/types/primitives/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/types/primitives/ToggleButton/useToggleButton.d.ts +1 -1
- package/dist/types/primitives/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/dist/types/primitives/ToggleButtonGroup/useToggleButtonGroup.d.ts +1 -1
- package/dist/types/primitives/View/View.d.ts +1 -1
- package/dist/types/primitives/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/types/primitives/components.d.ts +8 -4
- package/dist/types/primitives/index.d.ts +2 -1
- package/dist/types/primitives/shared/constants.d.ts +1 -1
- package/dist/types/primitives/shared/getStyleValue.d.ts +1 -1
- package/dist/types/primitives/shared/responsive/getMediaQueries.d.ts +1 -1
- package/dist/types/primitives/shared/responsive/useBreakpoint.d.ts +1 -1
- package/dist/types/primitives/shared/responsive/utils.d.ts +1 -1
- package/dist/types/primitives/shared/styleUtils.d.ts +3 -3
- package/dist/types/primitives/shared/utils.d.ts +2 -1
- package/dist/types/primitives/types/alert.d.ts +3 -3
- package/dist/types/primitives/types/autocomplete.d.ts +3 -3
- package/dist/types/primitives/types/badge.d.ts +2 -2
- package/dist/types/primitives/types/base.d.ts +2 -1
- package/dist/types/primitives/types/breadcrumbs.d.ts +3 -3
- package/dist/types/primitives/types/button.d.ts +3 -3
- package/dist/types/primitives/types/buttonGroup.d.ts +6 -6
- package/dist/types/primitives/types/card.d.ts +1 -1
- package/dist/types/primitives/types/checkbox.d.ts +6 -6
- package/dist/types/primitives/types/checkboxField.d.ts +3 -3
- package/dist/types/primitives/types/collection.d.ts +15 -6
- package/dist/types/primitives/types/divider.d.ts +2 -2
- package/dist/types/primitives/types/field.d.ts +5 -5
- package/dist/types/primitives/types/fieldGroup.d.ts +3 -3
- package/dist/types/primitives/types/fieldGroupIcon.d.ts +2 -2
- package/dist/types/primitives/types/fieldset.d.ts +5 -5
- package/dist/types/primitives/types/flex.d.ts +3 -3
- package/dist/types/primitives/types/grid.d.ts +3 -3
- package/dist/types/primitives/types/heading.d.ts +2 -2
- package/dist/types/primitives/types/highlightMatch.d.ts +1 -1
- package/dist/types/primitives/types/icon.d.ts +4 -4
- package/dist/types/primitives/types/image.d.ts +3 -3
- package/dist/types/primitives/types/input.d.ts +4 -4
- package/dist/types/primitives/types/label.d.ts +1 -1
- package/dist/types/primitives/types/link.d.ts +2 -2
- package/dist/types/primitives/types/loader.d.ts +4 -4
- package/dist/types/primitives/types/menu.d.ts +5 -5
- package/dist/types/primitives/types/message.d.ts +4 -4
- package/dist/types/primitives/types/pagination.d.ts +3 -3
- package/dist/types/primitives/types/passwordField.d.ts +5 -5
- package/dist/types/primitives/types/phoneNumberField.d.ts +4 -4
- package/dist/types/primitives/types/placeholder.d.ts +4 -4
- package/dist/types/primitives/types/radio.d.ts +3 -3
- package/dist/types/primitives/types/radioGroupField.d.ts +6 -6
- package/dist/types/primitives/types/rating.d.ts +5 -5
- package/dist/types/primitives/types/responsive.d.ts +1 -1
- package/dist/types/primitives/types/scrollView.d.ts +1 -1
- package/dist/types/primitives/types/searchField.d.ts +4 -4
- package/dist/types/primitives/types/select.d.ts +3 -3
- package/dist/types/primitives/types/selectField.d.ts +4 -4
- package/dist/types/primitives/types/sliderField.d.ts +5 -5
- package/dist/types/primitives/types/stepperField.d.ts +2 -2
- package/dist/types/primitives/types/style.d.ts +6 -6
- package/dist/types/primitives/types/switchField.d.ts +6 -6
- package/dist/types/primitives/types/table.d.ts +3 -3
- package/dist/types/primitives/types/text.d.ts +1 -1
- package/dist/types/primitives/types/textArea.d.ts +4 -4
- package/dist/types/primitives/types/textAreaField.d.ts +5 -5
- package/dist/types/primitives/types/textField.d.ts +5 -5
- package/dist/types/primitives/types/toggleButton.d.ts +2 -2
- package/dist/types/primitives/types/toggleButtonGroup.d.ts +4 -4
- package/dist/types/primitives/types/view.d.ts +4 -4
- package/dist/types/primitives/types/visuallyHidden.d.ts +1 -1
- package/dist/types/primitives/utils/primitiveWithForwardRef.d.ts +1 -1
- package/dist/types/primitives/utils/splitPrimitiveProps.d.ts +1 -1
- package/dist/types/primitives/utils/testUtils.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseInputProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseInputProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const Input: ForwardRefPrimitive<BaseInputProps, 'input'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseLabelProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseLabelProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const Label: ForwardRefPrimitive<BaseLabelProps, 'label'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseLoaderProps } from '../types/loader';
|
|
2
|
-
import { ForwardRefPrimitive } from '../types/view';
|
|
1
|
+
import type { BaseLoaderProps } from '../types/loader';
|
|
2
|
+
import type { ForwardRefPrimitive } from '../types/view';
|
|
3
3
|
export declare const LINEAR_EMPTY = "linear-empty";
|
|
4
4
|
export declare const LINEAR_FILLED = "linear-filled";
|
|
5
5
|
export declare const CIRCULAR_EMPTY = "circular-empty";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseMenuProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseMenuProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const MENU_TRIGGER_TEST_ID = "amplify-menu-trigger-test-id";
|
|
3
3
|
export declare const MENU_ITEMS_GROUP_TEST_ID = "amplify-menu-items-group-test-id";
|
|
4
4
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseMenuButtonProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseMenuButtonProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const MenuButton: ForwardRefPrimitive<BaseMenuButtonProps, 'button'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ForwardRefPrimitive, BaseMenuItemProps } from '../types';
|
|
1
|
+
import type { ForwardRefPrimitive, BaseMenuItemProps } from '../types';
|
|
2
2
|
export declare const MENU_ITEM_TEST_ID = "amplify-menu-item-test-id";
|
|
3
3
|
export declare const MenuItem: ForwardRefPrimitive<BaseMenuItemProps, 'div'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseMessageContainerProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseMessageContainerProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const MessageContainer: ForwardRefPrimitive<BaseMessageContainerProps, 'div'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseMessageContentProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseMessageContentProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const MessageContent: ForwardRefPrimitive<BaseMessageContentProps, 'div'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseMessageDismissProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseMessageDismissProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const MessageDismiss: ForwardRefPrimitive<BaseMessageDismissProps, 'button'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseMessageHeadingProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseMessageHeadingProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const MessageHeading: ForwardRefPrimitive<BaseMessageHeadingProps, 'div'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseMessageIconProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseMessageIconProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const MessageIcon: ForwardRefPrimitive<BaseMessageIconProps, 'div'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BasePaginationItemProps } from '../types/pagination';
|
|
2
|
+
import type { BasePaginationItemProps } from '../types/pagination';
|
|
3
3
|
export declare const PAGINATION_CURRENT_TEST_ID = "current";
|
|
4
4
|
export declare const PAGINATION_ELLIPSIS_TEST_ID = "ellipsis";
|
|
5
5
|
export declare const PaginationItem: React.FC<BasePaginationItemProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UsePaginationProps, UsePaginationResult } from '../types/pagination';
|
|
1
|
+
import type { UsePaginationProps, UsePaginationResult } from '../types/pagination';
|
|
2
2
|
export declare const usePagination: (props: UsePaginationProps) => UsePaginationResult;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ForwardRefPrimitive, BaseShowPasswordButtonProps } from '../types';
|
|
1
|
+
import type { ForwardRefPrimitive, BaseShowPasswordButtonProps } from '../types';
|
|
2
2
|
export declare const ShowPasswordButton: ForwardRefPrimitive<BaseShowPasswordButtonProps, 'button'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseDialCodeSelectProps, ForwardRefPrimitive } from '../types';
|
|
1
|
+
import type { BaseDialCodeSelectProps, ForwardRefPrimitive } from '../types';
|
|
2
2
|
export declare const DialCodeSelect: ForwardRefPrimitive<BaseDialCodeSelectProps, 'select'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BaseRadioProps, RadioProps, ForwardRefPrimitive, Primitive } from '../types';
|
|
1
|
+
import type { BaseRadioProps, RadioProps, ForwardRefPrimitive, Primitive } from '../types';
|
|
2
2
|
export declare const RadioPrimitive: Primitive<RadioProps, 'input'>;
|
|
3
3
|
export declare const Radio: ForwardRefPrimitive<BaseRadioProps, 'input'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Property } from 'csstype';
|
|
3
|
-
import { StyleToken } from '../types/style';
|
|
2
|
+
import type { Property } from 'csstype';
|
|
3
|
+
import type { StyleToken } from '../types/style';
|
|
4
4
|
interface RatingIconProps {
|
|
5
5
|
icon: React.ReactNode;
|
|
6
6
|
fill?: StyleToken<Property.Color>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Property } from 'csstype';
|
|
3
|
-
import { StyleToken } from '../types/style';
|
|
2
|
+
import type { Property } from 'csstype';
|
|
3
|
+
import type { StyleToken } from '../types/style';
|
|
4
4
|
interface RatingMixedIconProps {
|
|
5
5
|
emptyColor?: StyleToken<Property.Color>;
|
|
6
6
|
emptyIcon: React.ReactNode;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ForwardRefPrimitive, BaseSearchFieldButtonProps } from '../types';
|
|
1
|
+
import type { ForwardRefPrimitive, BaseSearchFieldButtonProps } from '../types';
|
|
2
2
|
export declare const SearchFieldButton: ForwardRefPrimitive<BaseSearchFieldButtonProps, 'button'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { UseSearchFieldProps } from '../types';
|
|
2
|
+
import type { UseSearchFieldProps } from '../types';
|
|
3
3
|
type ClearHandler = React.MouseEventHandler<HTMLButtonElement>;
|
|
4
4
|
type ClickHandler = React.MouseEventHandler<HTMLButtonElement>;
|
|
5
5
|
type KeyDownHandler = React.KeyboardEventHandler<HTMLInputElement>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types';
|
|
2
|
-
import { BaseSelectProps } from '../types/select';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types';
|
|
2
|
+
import type { BaseSelectProps } from '../types/select';
|
|
3
3
|
export declare const Select: ForwardRefPrimitive<BaseSelectProps, 'select'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types/view';
|
|
2
|
-
import { BaseSliderFieldProps } from '../types/sliderField';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types/view';
|
|
2
|
+
import type { BaseSliderFieldProps } from '../types/sliderField';
|
|
3
3
|
export declare const SLIDER_LABEL_TEST_ID = "slider-label";
|
|
4
4
|
export declare const SLIDER_ROOT_TEST_ID = "slider-root";
|
|
5
5
|
export declare const SLIDER_TRACK_TEST_ID = "slider-track";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types/view';
|
|
2
|
-
import { BaseStepperFieldProps } from '../types/stepperField';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types/view';
|
|
2
|
+
import type { BaseStepperFieldProps } from '../types/stepperField';
|
|
3
3
|
export declare const DECREASE_ICON = "decrease-icon";
|
|
4
4
|
export declare const INCREASE_ICON = "increase-icon";
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { StepperFieldProps } from '../types/stepperField';
|
|
2
|
+
import type { StepperFieldProps } from '../types/stepperField';
|
|
3
3
|
type ChangeHandler = React.ChangeEventHandler<HTMLInputElement>;
|
|
4
4
|
type ClickHandler = React.MouseEventHandler<HTMLButtonElement>;
|
|
5
5
|
type FocusHandler = React.FocusEventHandler<HTMLInputElement>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ForwardRefPrimitive, BaseTableBodyProps } from '../types';
|
|
1
|
+
import type { ForwardRefPrimitive, BaseTableBodyProps } from '../types';
|
|
2
2
|
export declare const TableBody: ForwardRefPrimitive<BaseTableBodyProps, 'tbody'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ForwardRefPrimitive, TableCellElement, BaseTableCellProps } from '../types';
|
|
1
|
+
import type { ForwardRefPrimitive, TableCellElement, BaseTableCellProps } from '../types';
|
|
2
2
|
export declare const TableCell: ForwardRefPrimitive<BaseTableCellProps, TableCellElement>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ForwardRefPrimitive, BaseTableFootProps } from '../types';
|
|
1
|
+
import type { ForwardRefPrimitive, BaseTableFootProps } from '../types';
|
|
2
2
|
export declare const TableFoot: ForwardRefPrimitive<BaseTableFootProps, 'tfoot'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ForwardRefPrimitive, BaseTableHeadProps } from '../types';
|
|
1
|
+
import type { ForwardRefPrimitive, BaseTableHeadProps } from '../types';
|
|
2
2
|
export declare const TableHead: ForwardRefPrimitive<BaseTableHeadProps, 'thead'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ForwardRefPrimitive, BaseTableRowProps } from '../types';
|
|
1
|
+
import type { ForwardRefPrimitive, BaseTableRowProps } from '../types';
|
|
2
2
|
export declare const TableRow: ForwardRefPrimitive<BaseTableRowProps, 'tr'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types';
|
|
2
|
-
import { BaseTabsProps } from './types';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types';
|
|
2
|
+
import type { BaseTabsProps } from './types';
|
|
3
3
|
import { TabsItem } from './TabsItem';
|
|
4
4
|
import { TabList } from './TabsList';
|
|
5
5
|
import { TabPanel } from './TabsPanel';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types';
|
|
2
|
-
import { BaseTabsProps } from './types';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types';
|
|
2
|
+
import type { BaseTabsProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/tabs)
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types';
|
|
2
|
-
import { BaseTabsItemProps } from './types';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types';
|
|
2
|
+
import type { BaseTabsItemProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/tabs)
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types';
|
|
2
|
-
import { BaseTabsListProps } from './types';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types';
|
|
2
|
+
import type { BaseTabsListProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/tabs)
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types';
|
|
2
|
-
import { BaseTabsPanelProps } from './types';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types';
|
|
2
|
+
import type { BaseTabsPanelProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/tabs)
|
|
5
5
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Tabs } from './Tabs';
|
|
2
|
-
export { TabsProps } from './types';
|
|
2
|
+
export type { TabsProps } from './types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ElementType, PrimitiveProps, BaseViewProps, BaseFlexProps } from '../types';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { ElementType, PrimitiveProps, BaseViewProps, BaseFlexProps } from '../types';
|
|
3
3
|
export type TabsSpacing = 'equal' | 'relative';
|
|
4
4
|
export interface BaseTabsProps extends BaseTabsListProps {
|
|
5
5
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types/view';
|
|
2
|
-
import { BaseTextAreaProps } from '../types/textArea';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types/view';
|
|
2
|
+
import type { BaseTextAreaProps } from '../types/textArea';
|
|
3
3
|
export declare const AutoresizeTextArea: ForwardRefPrimitive<BaseTextAreaProps, 'textarea'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types/view';
|
|
2
|
-
import { BaseTextAreaProps } from '../types/textArea';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types/view';
|
|
2
|
+
import type { BaseTextAreaProps } from '../types/textArea';
|
|
3
3
|
export declare const TextArea: ForwardRefPrimitive<BaseTextAreaProps, 'textarea'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ForwardRefPrimitive } from '../types';
|
|
2
|
-
import { BaseTextAreaFieldProps } from '../types/textAreaField';
|
|
1
|
+
import type { ForwardRefPrimitive } from '../types';
|
|
2
|
+
import type { BaseTextAreaFieldProps } from '../types/textAreaField';
|
|
3
3
|
export declare const DEFAULT_ROW_COUNT = 3;
|
|
4
4
|
/**
|
|
5
5
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/textareafield)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ToggleButtonGroupProps } from '../types';
|
|
1
|
+
import type { ToggleButtonGroupProps } from '../types';
|
|
2
2
|
type UseToggleButtonParams = Pick<ToggleButtonGroupProps, 'onChange' | 'value' | 'isExclusive' | 'isSelectionRequired'>;
|
|
3
3
|
export declare const useToggleButtonGroup: ({ onChange, value, isExclusive, isSelectionRequired, }: UseToggleButtonParams) => (value: string | undefined) => void;
|
|
4
4
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { Alert } from './Alert';
|
|
2
2
|
export { Autocomplete } from './Autocomplete';
|
|
3
|
-
export {
|
|
3
|
+
export type { AvatarProps } from './Avatar';
|
|
4
|
+
export { Avatar } from './Avatar';
|
|
4
5
|
export { Badge } from './Badge';
|
|
5
6
|
export { Breadcrumbs } from './Breadcrumbs';
|
|
6
7
|
export { Button } from './Button';
|
|
@@ -10,8 +11,10 @@ export { Checkbox } from './Checkbox';
|
|
|
10
11
|
export { CheckboxField } from './CheckboxField';
|
|
11
12
|
export { Collection } from './Collection';
|
|
12
13
|
export { Divider } from './Divider';
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
14
|
+
export type { DropZoneProps } from './DropZone';
|
|
15
|
+
export { DropZone } from './DropZone';
|
|
16
|
+
export type { AccordionProps, AccordionItemProps } from './Accordion';
|
|
17
|
+
export { Accordion } from './Accordion';
|
|
15
18
|
export { FieldGroupIcon, FieldGroupIconButton } from './FieldGroupIcon';
|
|
16
19
|
export { Fieldset } from './Fieldset';
|
|
17
20
|
export { Flex } from './Flex';
|
|
@@ -40,7 +43,8 @@ export { SliderField } from './SliderField';
|
|
|
40
43
|
export { StepperField } from './StepperField';
|
|
41
44
|
export { SwitchField } from './SwitchField';
|
|
42
45
|
export * from './Table';
|
|
43
|
-
export {
|
|
46
|
+
export type { TabsProps } from './Tabs';
|
|
47
|
+
export { Tabs } from './Tabs';
|
|
44
48
|
export { Text } from './Text';
|
|
45
49
|
export { TextAreaField } from './TextAreaField';
|
|
46
50
|
export { TextField } from './TextField';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GetMediaQueries } from '../../types/responsive';
|
|
1
|
+
import type { GetMediaQueries } from '../../types/responsive';
|
|
2
2
|
export declare const getMediaQueries: GetMediaQueries;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UseBreakpoint } from '../../types/responsive';
|
|
1
|
+
import type { UseBreakpoint } from '../../types/responsive';
|
|
2
2
|
export declare const useBreakpoint: UseBreakpoint;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Breakpoint, Breakpoints, ValueBreakpoints } from '../../types/responsive';
|
|
1
|
+
import type { Breakpoint, Breakpoints, ValueBreakpoints } from '../../types/responsive';
|
|
2
2
|
export declare const getValueAtCurrentBreakpoint: <Value = string | number>({ breakpoint, breakpoints, values, }: {
|
|
3
3
|
values: Partial<Record<"base" | "small" | "large" | "medium" | "xl" | "xxl", Value>> | Value[];
|
|
4
4
|
breakpoint: Breakpoint;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { WebTheme } from '@aws-amplify/ui';
|
|
3
|
-
import { GridItemStyleProps, GridSpanType, BaseViewProps } from '../types';
|
|
4
|
-
import { Breakpoint, Breakpoints } from '../types/responsive';
|
|
2
|
+
import type { WebTheme } from '@aws-amplify/ui';
|
|
3
|
+
import type { GridItemStyleProps, GridSpanType, BaseViewProps } from '../types';
|
|
4
|
+
import type { Breakpoint, Breakpoints } from '../types/responsive';
|
|
5
5
|
export declare const isSpanPrimitiveValue: (spanValue: GridItemStyleProps['rowSpan' | 'columnSpan']) => spanValue is GridSpanType;
|
|
6
6
|
export declare const getGridSpan: (spanValue: GridSpanType) => string;
|
|
7
7
|
export declare const convertGridSpan: (spanValue?: GridItemStyleProps['rowSpan' | 'columnSpan']) => GridItemStyleProps['row'] | GridItemStyleProps['column'] | null;
|