@aws-amplify/ui-react 3.5.11 → 4.0.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/dist/IconWarning-634a062f.js +1 -0
- package/dist/esm/PrimitiveCatalog.js +1 -1
- 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/FederatedSignIn/FederatedSignInButtons/FederatedSignInButton.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/RouteContainer/RouteContainer.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/shared/ConfirmSignInFooter.js +1 -1
- package/dist/esm/components/Authenticator/shared/FormField.js +1 -1
- package/dist/esm/components/Authenticator/shared/FormFields.js +1 -1
- package/dist/esm/components/Authenticator/shared/RemoteErrorMessage.js +1 -1
- package/dist/esm/components/Authenticator/shared/SignInSignUpTabs.js +1 -1
- package/dist/esm/components/Authenticator/shared/TwoButtonSubmitFooter.js +1 -1
- package/dist/esm/components/Authenticator/shared/ValidationErrors.js +1 -1
- package/dist/esm/components/Authenticator/withAuthenticator.js +1 -1
- package/dist/esm/components/Geo/LocationSearch/index.js +1 -1
- package/dist/esm/components/Geo/MapView/index.js +1 -1
- package/dist/esm/components/InAppMessaging/Backdrop/Backdrop.js +1 -0
- package/dist/esm/components/InAppMessaging/Backdrop/withBackdrop.js +1 -0
- package/dist/esm/components/InAppMessaging/BannerMessage/BannerMessage.js +1 -0
- package/dist/esm/components/InAppMessaging/BannerMessage/constants.js +1 -0
- package/dist/esm/components/InAppMessaging/CloseIconButton/CloseIconButton.js +1 -0
- package/dist/esm/components/InAppMessaging/FullScreenMessage/FullScreenMessage.js +1 -0
- package/dist/esm/components/InAppMessaging/FullScreenMessage/constants.js +1 -0
- package/dist/esm/components/InAppMessaging/InAppMessageDisplay/InAppMessageDisplay.js +1 -0
- package/dist/esm/components/InAppMessaging/InAppMessageDisplay/handleMessageLinkAction.js +1 -0
- package/dist/esm/components/InAppMessaging/MessageLayout/MessageLayout.js +1 -0
- package/dist/esm/components/InAppMessaging/MessageLayout/constants.js +1 -0
- package/dist/esm/components/InAppMessaging/MessageLayout/utils.js +1 -0
- package/dist/esm/components/InAppMessaging/ModalMessage/ModalMessage.js +1 -0
- package/dist/esm/components/InAppMessaging/ModalMessage/constants.js +1 -0
- package/dist/esm/components/InAppMessaging/hooks/useMessageImage/types.js +1 -0
- package/dist/esm/components/InAppMessaging/hooks/useMessageImage/useMessageImage.js +1 -0
- package/dist/esm/components/InAppMessaging/hooks/useMessageProps/useMessageProps.js +1 -0
- package/dist/esm/components/InAppMessaging/hooks/useMessageProps/utils.js +1 -0
- package/dist/esm/components/InAppMessaging/withInAppMessaging/withInAppMessaging.js +1 -0
- package/dist/esm/components/ThemeProvider/index.js +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/hooks/useAuth.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/primitives/Alert/Alert.js +1 -1
- package/dist/esm/primitives/Alert/AlertIcon.js +1 -1
- package/dist/esm/primitives/Autocomplete/Autocomplete.js +1 -0
- package/dist/esm/primitives/Autocomplete/AutocompleteMenu.js +1 -0
- package/dist/esm/primitives/Autocomplete/AutocompleteOption.js +1 -0
- package/dist/esm/primitives/Autocomplete/useAutocomplete.js +1 -0
- package/dist/esm/primitives/Badge/Badge.js +1 -1
- package/dist/esm/primitives/Button/Button.js +1 -1
- package/dist/esm/primitives/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/esm/primitives/Card/Card.js +1 -1
- package/dist/esm/primitives/Checkbox/Checkbox.js +1 -1
- package/dist/esm/primitives/CheckboxField/CheckboxField.js +1 -1
- package/dist/esm/primitives/Collection/Collection.js +1 -1
- package/dist/esm/primitives/Divider/Divider.js +1 -1
- package/dist/esm/primitives/Expander/Expander.js +1 -1
- package/dist/esm/primitives/Expander/ExpanderItem.js +1 -1
- package/dist/esm/primitives/Field/FieldClearButton.js +1 -1
- package/dist/esm/primitives/Field/FieldDescription.js +1 -1
- package/dist/esm/primitives/Field/FieldErrorMessage.js +1 -1
- package/dist/esm/primitives/FieldGroup/FieldGroup.js +1 -1
- package/dist/esm/primitives/FieldGroupIcon/FieldGroupIcon.js +1 -1
- package/dist/esm/primitives/FieldGroupIcon/FieldGroupIconButton.js +1 -1
- package/dist/esm/primitives/Flex/Flex.js +1 -1
- package/dist/esm/primitives/Grid/Grid.js +1 -1
- package/dist/esm/primitives/Heading/Heading.js +1 -1
- package/dist/esm/primitives/HighlightMatch/HighlightMatch.js +1 -0
- package/dist/esm/primitives/Icon/Icon.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconAdd.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconCheck.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconCheckCircle.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconCheckCircleOutline.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconChevronLeft.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconChevronRight.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconClose.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconError.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconExpandMore.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconFiberManualRecord.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconHighlightOff.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconIndeterminate.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconInfo.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconMenu.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconRemove.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconSearch.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconStar.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconVisibility.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconVisibilityOff.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconWarning.js +1 -1
- package/dist/esm/primitives/Image/Image.js +1 -1
- package/dist/esm/primitives/Input/Input.js +1 -1
- package/dist/esm/primitives/Label/Label.js +1 -1
- package/dist/esm/primitives/Link/Link.js +1 -1
- package/dist/esm/primitives/Loader/Loader.js +1 -1
- package/dist/esm/primitives/Menu/Menu.js +1 -1
- package/dist/esm/primitives/Menu/MenuButton.js +1 -1
- package/dist/esm/primitives/Menu/MenuItem.js +1 -1
- package/dist/esm/primitives/Pagination/Pagination.js +1 -1
- package/dist/esm/primitives/Pagination/PaginationItem.js +1 -1
- package/dist/esm/primitives/Pagination/usePaginationItems.js +1 -1
- package/dist/esm/primitives/PasswordField/PasswordField.js +1 -1
- package/dist/esm/primitives/PasswordField/ShowPasswordButton.js +1 -1
- package/dist/esm/primitives/PhoneNumberField/CountryCodeSelect.js +1 -1
- package/dist/esm/primitives/PhoneNumberField/PhoneNumberField.js +1 -1
- package/dist/esm/primitives/Placeholder/Placeholder.js +1 -1
- package/dist/esm/primitives/Radio/Radio.js +1 -1
- package/dist/esm/primitives/RadioGroupField/RadioGroupField.js +1 -1
- package/dist/esm/primitives/Rating/Rating.js +1 -1
- package/dist/esm/primitives/Rating/RatingIcon.js +1 -1
- package/dist/esm/primitives/Rating/RatingMixedIcon.js +1 -1
- package/dist/esm/primitives/ScrollView/ScrollView.js +1 -1
- package/dist/esm/primitives/SearchField/SearchField.js +1 -1
- package/dist/esm/primitives/SearchField/SearchFieldButton.js +1 -1
- package/dist/esm/primitives/SearchField/useSearchField.js +1 -1
- package/dist/esm/primitives/Select/Select.js +1 -1
- package/dist/esm/primitives/SelectField/SelectField.js +1 -1
- package/dist/esm/primitives/SliderField/SliderField.js +1 -1
- package/dist/esm/primitives/StepperField/StepperField.js +1 -1
- package/dist/esm/primitives/SwitchField/SwitchField.js +1 -1
- package/dist/esm/primitives/Table/Table.js +1 -1
- package/dist/esm/primitives/Table/TableBody.js +1 -1
- package/dist/esm/primitives/Table/TableCell.js +1 -1
- package/dist/esm/primitives/Table/TableFoot.js +1 -1
- package/dist/esm/primitives/Table/TableHead.js +1 -1
- package/dist/esm/primitives/Table/TableRow.js +1 -1
- package/dist/esm/primitives/Tabs/Tabs.js +1 -1
- package/dist/esm/primitives/Text/Text.js +1 -1
- package/dist/esm/primitives/TextArea/TextArea.js +1 -1
- package/dist/esm/primitives/TextAreaField/TextAreaField.js +1 -1
- package/dist/esm/primitives/TextField/TextField.js +1 -1
- package/dist/esm/primitives/ToggleButton/ToggleButton.js +1 -1
- package/dist/esm/primitives/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/esm/primitives/VisuallyHidden/VisuallyHidden.js +1 -1
- package/dist/esm/primitives/index.js +1 -1
- package/dist/esm/primitives/shared/constants.js +1 -1
- package/dist/esm/primitives/shared/styleUtils.js +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/styles.css +271 -3
- package/dist/types/components/Authenticator/ConfirmSignIn/ConfirmSignIn.d.ts +0 -1
- package/dist/types/components/Authenticator/ConfirmSignUp/ConfirmSignUp.d.ts +0 -1
- package/dist/types/components/Authenticator/FederatedSignIn/FederatedSignIn.d.ts +0 -1
- package/dist/types/components/Authenticator/FederatedSignIn/FederatedSignInButtons/FederatedSignInButton.d.ts +0 -1
- package/dist/types/components/Authenticator/ForceNewPassword/ForceNewPassword.d.ts +0 -1
- package/dist/types/components/Authenticator/ResetPassword/ConfirmResetPassword.d.ts +0 -1
- package/dist/types/components/Authenticator/ResetPassword/ResetPassword.d.ts +0 -1
- package/dist/types/components/Authenticator/RouteContainer/RouteContainer.d.ts +0 -1
- package/dist/types/components/Authenticator/Router/Router.d.ts +0 -1
- package/dist/types/components/Authenticator/SetupTOTP/SetupTOTP.d.ts +0 -1
- package/dist/types/components/Authenticator/SignIn/SignIn.d.ts +0 -1
- package/dist/types/components/Authenticator/SignUp/SignUp.d.ts +0 -1
- package/dist/types/components/Authenticator/VerifyUser/ConfirmVerifyUser.d.ts +0 -1
- package/dist/types/components/Authenticator/VerifyUser/VerifyUser.d.ts +0 -1
- package/dist/types/components/Authenticator/hooks/useCustomComponents/defaultComponents.d.ts +0 -1
- package/dist/types/components/Authenticator/shared/ConfirmSignInFooter.d.ts +0 -1
- package/dist/types/components/Authenticator/shared/ConfirmationCodeInput.d.ts +0 -1
- package/dist/types/components/Authenticator/shared/FormField.d.ts +0 -1
- package/dist/types/components/Authenticator/shared/FormFields.d.ts +0 -1
- package/dist/types/components/Authenticator/shared/RemoteErrorMessage.d.ts +0 -1
- package/dist/types/components/Authenticator/shared/SignInSignUpTabs.d.ts +0 -1
- package/dist/types/components/Authenticator/shared/TwoButtonSubmitFooter.d.ts +0 -1
- package/dist/types/components/Authenticator/shared/ValidationErrors.d.ts +0 -1
- package/dist/types/components/Geo/LocationSearch/index.d.ts +0 -1
- package/dist/types/components/InAppMessaging/Backdrop/Backdrop.d.ts +3 -0
- package/dist/types/components/InAppMessaging/Backdrop/index.d.ts +2 -0
- package/dist/types/components/InAppMessaging/Backdrop/types.d.ts +8 -0
- package/dist/types/components/InAppMessaging/Backdrop/withBackdrop.d.ts +2 -0
- package/dist/types/components/InAppMessaging/BannerMessage/BannerMessage.d.ts +2 -0
- package/dist/types/components/InAppMessaging/BannerMessage/constants.d.ts +1 -0
- package/dist/types/components/InAppMessaging/BannerMessage/index.d.ts +2 -0
- package/dist/types/components/InAppMessaging/BannerMessage/types.d.ts +7 -0
- package/dist/types/components/InAppMessaging/CloseIconButton/CloseIconButton.d.ts +2 -0
- package/dist/types/components/InAppMessaging/CloseIconButton/__tests__/CloseIconButton.spec.d.ts +1 -0
- package/dist/types/components/InAppMessaging/CloseIconButton/index.d.ts +1 -0
- package/dist/types/components/InAppMessaging/CloseIconButton/types.d.ts +8 -0
- package/dist/types/components/InAppMessaging/FullScreenMessage/FullScreenMessage.d.ts +2 -0
- package/dist/types/components/InAppMessaging/FullScreenMessage/constants.d.ts +1 -0
- package/dist/types/components/InAppMessaging/FullScreenMessage/index.d.ts +2 -0
- package/dist/types/components/InAppMessaging/FullScreenMessage/types.d.ts +4 -0
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/InAppMessageDisplay.d.ts +9 -0
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/__tests__/InAppMessageDisplay.spec.d.ts +1 -0
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/__tests__/handleMessageLinkAction.spec.d.ts +1 -0
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/handleMessageLinkAction.d.ts +3 -0
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/index.d.ts +2 -0
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/types.d.ts +23 -0
- package/dist/types/components/InAppMessaging/MessageLayout/MessageLayout.d.ts +2 -0
- package/dist/types/components/InAppMessaging/MessageLayout/__tests__/utils.spec.d.ts +1 -0
- package/dist/types/components/InAppMessaging/MessageLayout/constants.d.ts +11 -0
- package/dist/types/components/InAppMessaging/MessageLayout/index.d.ts +1 -0
- package/dist/types/components/InAppMessaging/MessageLayout/types.d.ts +23 -0
- package/dist/types/components/InAppMessaging/MessageLayout/utils.d.ts +13 -0
- package/dist/types/components/InAppMessaging/ModalMessage/ModalMessage.d.ts +2 -0
- package/dist/types/components/InAppMessaging/ModalMessage/constants.d.ts +2 -0
- package/dist/types/components/InAppMessaging/ModalMessage/index.d.ts +2 -0
- package/dist/types/components/InAppMessaging/ModalMessage/types.d.ts +4 -0
- package/dist/types/components/InAppMessaging/hooks/index.d.ts +2 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageImage/__tests__/useMessageImage.spec.d.ts +1 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageImage/index.d.ts +1 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageImage/types.d.ts +10 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageImage/useMessageImage.d.ts +9 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/__tests__/useMessageProps.spec.d.ts +1 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/__tests__/utils.spec.d.ts +1 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/index.d.ts +2 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/types.d.ts +42 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/useMessageProps.d.ts +11 -0
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/utils.d.ts +23 -0
- package/dist/types/components/InAppMessaging/index.d.ts +6 -0
- package/dist/types/components/InAppMessaging/withInAppMessaging/__tests__/withInAppMessaging.spec.d.ts +1 -0
- package/dist/types/components/InAppMessaging/withInAppMessaging/index.d.ts +1 -0
- package/dist/types/components/InAppMessaging/withInAppMessaging/withInAppMessaging.d.ts +5 -0
- package/dist/types/components/ThemeProvider/index.d.ts +19 -2
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/hooks/useAuth.d.ts +1 -0
- package/dist/types/primitives/Alert/Alert.d.ts +1 -1
- package/dist/types/primitives/Autocomplete/Autocomplete.d.ts +7 -0
- package/dist/types/primitives/Autocomplete/AutocompleteMenu.d.ts +2 -0
- package/dist/types/primitives/Autocomplete/AutocompleteOption.d.ts +2 -0
- package/dist/types/primitives/Autocomplete/index.d.ts +1 -0
- package/dist/types/primitives/Autocomplete/useAutocomplete.d.ts +23 -0
- 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/Collection/Collection.d.ts +0 -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/HighlightMatch/HighlightMatch.d.ts +7 -0
- package/dist/types/primitives/HighlightMatch/index.d.ts +1 -0
- package/dist/types/primitives/Icon/Icon.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconAdd.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconCheck.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconCheckCircle.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconCheckCircleOutline.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconChevronLeft.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconChevronRight.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconClose.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconError.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconExpandMore.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconFiberManualRecord.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconHighlightOff.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconIndeterminate.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconInfo.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconMenu.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconRemove.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconSearch.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconStar.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconVisibility.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconVisibilityOff.d.ts +0 -1
- package/dist/types/primitives/Icon/icons/IconWarning.d.ts +0 -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/Menu/MenuButton.d.ts +1 -1
- package/dist/types/primitives/Pagination/Pagination.d.ts +1 -1
- package/dist/types/primitives/Pagination/usePaginationItems.d.ts +0 -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 +2 -2
- package/dist/types/primitives/SearchField/SearchFieldButton.d.ts +1 -1
- package/dist/types/primitives/SearchField/useSearchField.d.ts +3 -3
- 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/TextField/TextField.d.ts +2 -12
- 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/components.d.ts +2 -0
- package/dist/types/primitives/shared/constants.d.ts +8 -0
- package/dist/types/primitives/shared/styleUtils.d.ts +8 -3
- package/dist/types/primitives/shared/types.d.ts +2 -2
- package/dist/types/primitives/types/autocomplete.d.ts +121 -0
- package/dist/types/primitives/types/checkbox.d.ts +6 -0
- package/dist/types/primitives/types/datastore.d.ts +2 -2
- package/dist/types/primitives/types/field.d.ts +6 -0
- package/dist/types/primitives/types/highlightMatch.d.ts +13 -0
- package/dist/types/primitives/types/index.d.ts +2 -0
- package/dist/types/primitives/types/passwordField.d.ts +2 -2
- package/dist/types/primitives/types/phoneNumberField.d.ts +2 -2
- package/dist/types/primitives/types/rating.d.ts +0 -1
- package/dist/types/primitives/types/searchField.d.ts +27 -4
- package/dist/types/primitives/types/sliderField.d.ts +2 -2
- package/dist/types/primitives/types/stepperField.d.ts +2 -2
- package/dist/types/primitives/types/textAreaField.d.ts +3 -1
- package/dist/types/primitives/types/textField.d.ts +2 -13
- package/package.json +16 -17
- package/dist/IconWarning-05f44a4f.js +0 -1
- package/dist/esm/legacy.js +0 -1
- package/dist/esm/primitives/TextField/utils.js +0 -1
- package/dist/legacy.js +0 -1
- package/dist/types/legacy.d.ts +0 -5
- package/dist/types/primitives/TextField/utils.d.ts +0 -14
- package/legacy/package.json +0 -7
package/dist/styles.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Do not edit directly
|
|
6
|
-
* Generated on
|
|
6
|
+
* Generated on Mon, 14 Nov 2022 16:53:03 GMT
|
|
7
7
|
*/
|
|
8
8
|
:root, [data-amplify-theme] {
|
|
9
9
|
--amplify-transforms-slide-x-large: translateX(2em);
|
|
@@ -255,6 +255,15 @@
|
|
|
255
255
|
--amplify-components-loader-linear-width: 100%;
|
|
256
256
|
--amplify-components-loader-animation-duration: 1s;
|
|
257
257
|
--amplify-components-loader-stroke-linecap: round;
|
|
258
|
+
--amplify-components-inappmessaging-dialog-width: 30vw;
|
|
259
|
+
--amplify-components-inappmessaging-dialog-min-width: 400px;
|
|
260
|
+
--amplify-components-inappmessaging-dialog-min-height: 400px;
|
|
261
|
+
--amplify-components-inappmessaging-dialog-height: 50vh;
|
|
262
|
+
--amplify-components-inappmessaging-button-color: black;
|
|
263
|
+
--amplify-components-inappmessaging-button-border-radius: 5px;
|
|
264
|
+
--amplify-components-inappmessaging-button-background-color: #e8e8e8;
|
|
265
|
+
--amplify-components-inappmessaging-banner-width: 400px ;
|
|
266
|
+
--amplify-components-inappmessaging-banner-height: 150px ;
|
|
258
267
|
--amplify-components-image-object-position: initial;
|
|
259
268
|
--amplify-components-image-object-fit: initial;
|
|
260
269
|
--amplify-components-image-height: auto;
|
|
@@ -338,6 +347,18 @@
|
|
|
338
347
|
--amplify-components-button-loading-background-color: transparent;
|
|
339
348
|
--amplify-components-badge-text-align: center;
|
|
340
349
|
--amplify-components-badge-line-height: 1;
|
|
350
|
+
--amplify-components-autocomplete-menu-loading-display: flex;
|
|
351
|
+
--amplify-components-autocomplete-menu-loading-align-items: center;
|
|
352
|
+
--amplify-components-autocomplete-menu-empty-display: flex;
|
|
353
|
+
--amplify-components-autocomplete-menu-option-transition-timing-function: ease;
|
|
354
|
+
--amplify-components-autocomplete-menu-option-transition-property: background-color, color;
|
|
355
|
+
--amplify-components-autocomplete-menu-option-cursor: pointer;
|
|
356
|
+
--amplify-components-autocomplete-menu-option-color: currentcolor;
|
|
357
|
+
--amplify-components-autocomplete-menu-options-max-height: 300px;
|
|
358
|
+
--amplify-components-autocomplete-menu-options-flex-direction: column;
|
|
359
|
+
--amplify-components-autocomplete-menu-options-display: flex;
|
|
360
|
+
--amplify-components-autocomplete-menu-border-style: solid;
|
|
361
|
+
--amplify-components-autocomplete-menu-width: 100%;
|
|
341
362
|
--amplify-components-authenticator-router-border-style: solid;
|
|
342
363
|
--amplify-components-authenticator-container-width-max: 30rem;
|
|
343
364
|
--amplify-components-authenticator-max-width: 60rem;
|
|
@@ -509,6 +530,9 @@
|
|
|
509
530
|
--amplify-components-loader-font-size: var(--amplify-font-sizes-xs);
|
|
510
531
|
--amplify-components-loader-height: var(--amplify-font-sizes-medium);
|
|
511
532
|
--amplify-components-loader-width: var(--amplify-font-sizes-medium);
|
|
533
|
+
--amplify-components-inappmessaging-header-font-weight: 800;
|
|
534
|
+
--amplify-components-inappmessaging-header-font-size: var(--amplify-font-sizes-medium);
|
|
535
|
+
--amplify-components-highlightmatch-highlighted-font-weight: 700;
|
|
512
536
|
--amplify-components-heading-line-height: var(--amplify-line-heights-small);
|
|
513
537
|
--amplify-components-heading-6-font-weight: 800;
|
|
514
538
|
--amplify-components-heading-6-font-size: var(--amplify-font-sizes-medium);
|
|
@@ -618,6 +642,14 @@
|
|
|
618
642
|
--amplify-components-badge-padding-vertical: var(--amplify-space-xs);
|
|
619
643
|
--amplify-components-badge-font-size: var(--amplify-font-sizes-small);
|
|
620
644
|
--amplify-components-badge-font-weight: 600;
|
|
645
|
+
--amplify-components-autocomplete-menu-space-shared-padding-inline: var(--amplify-space-small);
|
|
646
|
+
--amplify-components-autocomplete-menu-space-shared-padding-block: var(--amplify-space-xs);
|
|
647
|
+
--amplify-components-autocomplete-menu-loading-gap: var(--amplify-space-xxxs);
|
|
648
|
+
--amplify-components-autocomplete-menu-option-active-color: var(--amplify-colors-white);
|
|
649
|
+
--amplify-components-autocomplete-menu-option-transition-duration: var(--amplify-time-short);
|
|
650
|
+
--amplify-components-autocomplete-menu-border-radius: var(--amplify-radii-small);
|
|
651
|
+
--amplify-components-autocomplete-menu-border-width: var(--amplify-border-widths-small);
|
|
652
|
+
--amplify-components-autocomplete-menu-margin-block-start: var(--amplify-space-xxxs);
|
|
621
653
|
--amplify-components-authenticator-or-container-color: var(--amplify-colors-neutral-80);
|
|
622
654
|
--amplify-components-authenticator-form-padding: var(--amplify-space-xl);
|
|
623
655
|
--amplify-components-authenticator-footer-padding-bottom: var(--amplify-space-medium);
|
|
@@ -806,6 +838,10 @@
|
|
|
806
838
|
--amplify-components-badge-info-color: var(--amplify-colors-font-info);
|
|
807
839
|
--amplify-components-badge-background-color: var(--amplify-colors-background-tertiary);
|
|
808
840
|
--amplify-components-badge-color: var(--amplify-colors-font-primary);
|
|
841
|
+
--amplify-components-autocomplete-menu-option-active-background-color: var(--amplify-colors-brand-primary-80);
|
|
842
|
+
--amplify-components-autocomplete-menu-option-background-color: var(--amplify-colors-background-primary);
|
|
843
|
+
--amplify-components-autocomplete-menu-border-color: var(--amplify-colors-border-primary);
|
|
844
|
+
--amplify-components-autocomplete-menu-background-color: var(--amplify-colors-background-primary);
|
|
809
845
|
--amplify-components-authenticator-or-container-or-line-background-color: var(--amplify-colors-background-primary);
|
|
810
846
|
--amplify-components-authenticator-state-inactive-background-color: var(--amplify-colors-background-secondary);
|
|
811
847
|
--amplify-components-authenticator-router-box-shadow: var(--amplify-shadows-medium);
|
|
@@ -965,7 +1001,7 @@ html,
|
|
|
965
1001
|
|
|
966
1002
|
@supports (font-variation-settings: normal) {
|
|
967
1003
|
html,
|
|
968
|
-
[data-amplify-theme] {
|
|
1004
|
+
[data-amplify-theme] {
|
|
969
1005
|
font-family: var(--amplify-fonts-default-variable);
|
|
970
1006
|
}
|
|
971
1007
|
}
|
|
@@ -1430,6 +1466,10 @@ strong.amplify-text {
|
|
|
1430
1466
|
width: var(--amplify-components-icon-height);
|
|
1431
1467
|
}
|
|
1432
1468
|
|
|
1469
|
+
.amplify-highlightmatch__highlighted {
|
|
1470
|
+
font-weight: var(--amplify-components-highlightmatch-highlighted-font-weight);
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1433
1473
|
.amplify-input {
|
|
1434
1474
|
box-sizing: border-box;
|
|
1435
1475
|
color: var(--amplify-components-fieldcontrol-color);
|
|
@@ -1849,6 +1889,54 @@ strong.amplify-text {
|
|
|
1849
1889
|
color: inherit;
|
|
1850
1890
|
}
|
|
1851
1891
|
|
|
1892
|
+
.amplify-autocomplete__menu__option, .amplify-autocomplete__menu--loading, .amplify-autocomplete__menu--empty {
|
|
1893
|
+
padding-block: var(--amplify-components-autocomplete-menu-space-shared-padding-block);
|
|
1894
|
+
padding-inline: var(--amplify-components-autocomplete-menu-space-shared-padding-inline);
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
.amplify-autocomplete {
|
|
1898
|
+
position: relative;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
.amplify-autocomplete__menu {
|
|
1902
|
+
position: absolute;
|
|
1903
|
+
z-index: 99;
|
|
1904
|
+
width: var(--amplify-components-autocomplete-menu-width);
|
|
1905
|
+
-webkit-margin-before: var(--amplify-components-autocomplete-menu-margin-block-start);
|
|
1906
|
+
margin-block-start: var(--amplify-components-autocomplete-menu-margin-block-start);
|
|
1907
|
+
background-color: var(--amplify-components-autocomplete-menu-background-color);
|
|
1908
|
+
border-color: var(--amplify-components-autocomplete-menu-border-color);
|
|
1909
|
+
border-width: var(--amplify-components-autocomplete-menu-border-width);
|
|
1910
|
+
border-style: var(--amplify-components-autocomplete-menu-border-style);
|
|
1911
|
+
border-radius: var(--amplify-components-autocomplete-menu-border-radius);
|
|
1912
|
+
}
|
|
1913
|
+
.amplify-autocomplete__menu--empty {
|
|
1914
|
+
display: var(--amplify-components-autocomplete-menu-empty-display);
|
|
1915
|
+
}
|
|
1916
|
+
.amplify-autocomplete__menu--loading {
|
|
1917
|
+
display: var(--amplify-components-autocomplete-menu-loading-display);
|
|
1918
|
+
align-items: var(--amplify-components-autocomplete-menu-loading-align-items);
|
|
1919
|
+
gap: var(--amplify-components-autocomplete-menu-loading-gap);
|
|
1920
|
+
}
|
|
1921
|
+
.amplify-autocomplete__menu__options {
|
|
1922
|
+
position: relative;
|
|
1923
|
+
display: var(--amplify-components-autocomplete-menu-options-display);
|
|
1924
|
+
flex-direction: var(--amplify-components-autocomplete-menu-options-flex-direction);
|
|
1925
|
+
max-height: var(--amplify-components-autocomplete-menu-options-max-height);
|
|
1926
|
+
}
|
|
1927
|
+
.amplify-autocomplete__menu__option {
|
|
1928
|
+
background-color: var(--amplify-components-autocomplete-menu-option-background-color);
|
|
1929
|
+
color: var(--amplify-components-autocomplete-menu-option-color);
|
|
1930
|
+
cursor: var(--amplify-components-autocomplete-menu-option-cursor);
|
|
1931
|
+
transition-duration: var(--amplify-components-autocomplete-menu-option-transition-duration);
|
|
1932
|
+
transition-property: var(--amplify-components-autocomplete-menu-option-transition-property);
|
|
1933
|
+
transition-timing-function: var(--amplify-components-autocomplete-menu-option-transition-timing-function);
|
|
1934
|
+
}
|
|
1935
|
+
.amplify-autocomplete__menu__option--active {
|
|
1936
|
+
background-color: var(--amplify-components-autocomplete-menu-option-active-background-color);
|
|
1937
|
+
color: var(--amplify-components-autocomplete-menu-option-active-color);
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1852
1940
|
/* Center by default */
|
|
1853
1941
|
[data-amplify-authenticator] {
|
|
1854
1942
|
display: grid;
|
|
@@ -2426,7 +2514,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2426
2514
|
height: 100%;
|
|
2427
2515
|
}
|
|
2428
2516
|
|
|
2429
|
-
|
|
2517
|
+
.amplify-menu-content-wrapper {
|
|
2430
2518
|
z-index: 999999;
|
|
2431
2519
|
}
|
|
2432
2520
|
|
|
@@ -3796,6 +3884,186 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3796
3884
|
}
|
|
3797
3885
|
}
|
|
3798
3886
|
|
|
3887
|
+
.amplify-inappmessaging-backdrop {
|
|
3888
|
+
background-color: var(--amplify-colors-overlay-50);
|
|
3889
|
+
inset: 0;
|
|
3890
|
+
position: fixed;
|
|
3891
|
+
z-index: 1000;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3894
|
+
.amplify-inappmessaging-backdrop-content-container {
|
|
3895
|
+
align-items: center;
|
|
3896
|
+
inset: 0;
|
|
3897
|
+
justify-content: center;
|
|
3898
|
+
pointer-events: none;
|
|
3899
|
+
position: fixed;
|
|
3900
|
+
z-index: 1001;
|
|
3901
|
+
}
|
|
3902
|
+
|
|
3903
|
+
.amplify-inappmessaging-backdrop-content {
|
|
3904
|
+
pointer-events: auto;
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
.amplify-inappmessaging-bannermessage {
|
|
3908
|
+
box-shadow: var(--amplify-shadows-medium);
|
|
3909
|
+
height: var(--amplify-components-inappmessaging-banner-height);
|
|
3910
|
+
margin: var(--amplify-space-small);
|
|
3911
|
+
max-width: 50%;
|
|
3912
|
+
position: fixed;
|
|
3913
|
+
width: var(--amplify-components-inappmessaging-banner-width);
|
|
3914
|
+
}
|
|
3915
|
+
.amplify-inappmessaging-bannermessage--top {
|
|
3916
|
+
top: 0;
|
|
3917
|
+
}
|
|
3918
|
+
.amplify-inappmessaging-bannermessage--middle {
|
|
3919
|
+
bottom: 0;
|
|
3920
|
+
margin: auto var(--amplify-space-small);
|
|
3921
|
+
top: 0;
|
|
3922
|
+
}
|
|
3923
|
+
.amplify-inappmessaging-bannermessage--bottom {
|
|
3924
|
+
bottom: 0;
|
|
3925
|
+
}
|
|
3926
|
+
.amplify-inappmessaging-bannermessage--left {
|
|
3927
|
+
left: 0;
|
|
3928
|
+
}
|
|
3929
|
+
.amplify-inappmessaging-bannermessage--center {
|
|
3930
|
+
left: 0;
|
|
3931
|
+
margin: var(--amplify-space-small) auto;
|
|
3932
|
+
right: 0;
|
|
3933
|
+
}
|
|
3934
|
+
.amplify-inappmessaging-bannermessage--right {
|
|
3935
|
+
right: 0;
|
|
3936
|
+
}
|
|
3937
|
+
.amplify-inappmessaging-bannermessage--center-middle {
|
|
3938
|
+
inset: 0;
|
|
3939
|
+
margin: auto;
|
|
3940
|
+
}
|
|
3941
|
+
.amplify-inappmessaging-bannermessage--full-width {
|
|
3942
|
+
max-width: initial;
|
|
3943
|
+
width: calc(100% - 2 * var(--amplify-space-small));
|
|
3944
|
+
}
|
|
3945
|
+
|
|
3946
|
+
.amplify-inappmessaging-fullscreenmessage {
|
|
3947
|
+
height: var(--amplify-components-inappmessaging-dialog-height);
|
|
3948
|
+
min-height: var(--amplify-components-inappmessaging-dialog-min-height);
|
|
3949
|
+
min-width: var(--amplify-components-inappmessaging-dialog-min-width);
|
|
3950
|
+
width: var(--amplify-components-inappmessaging-dialog-width);
|
|
3951
|
+
}
|
|
3952
|
+
.amplify-inappmessaging-fullscreenmessage--fullscreen {
|
|
3953
|
+
height: auto;
|
|
3954
|
+
inset: 0;
|
|
3955
|
+
position: fixed;
|
|
3956
|
+
width: auto;
|
|
3957
|
+
z-index: 1000;
|
|
3958
|
+
}
|
|
3959
|
+
|
|
3960
|
+
.amplify-inappmessaging-messagelayout {
|
|
3961
|
+
background-color: var(--amplify-colors-background-primary);
|
|
3962
|
+
flex-direction: column;
|
|
3963
|
+
flex-grow: 1;
|
|
3964
|
+
gap: var(--amplify-space-xxxs);
|
|
3965
|
+
max-width: 100%;
|
|
3966
|
+
padding: var(--amplify-space-medium);
|
|
3967
|
+
}
|
|
3968
|
+
.amplify-inappmessaging-messagelayout__button {
|
|
3969
|
+
border-width: 0;
|
|
3970
|
+
width: 100%;
|
|
3971
|
+
}
|
|
3972
|
+
.amplify-inappmessaging-messagelayout__button, .amplify-inappmessaging-messagelayout__button:active, .amplify-inappmessaging-messagelayout__button:visited, .amplify-inappmessaging-messagelayout__button:hover, .amplify-inappmessaging-messagelayout__button:focus {
|
|
3973
|
+
background-color: var(--amplify-components-inappmessaging-button-background-color);
|
|
3974
|
+
border-radius: var(--amplify-components-inappmessaging-button-border-radius);
|
|
3975
|
+
color: var(--amplify-components-inappmessaging-button-color);
|
|
3976
|
+
}
|
|
3977
|
+
.amplify-inappmessaging-messagelayout__button--dark:active, .amplify-inappmessaging-messagelayout__button--dark:visited, .amplify-inappmessaging-messagelayout__button--light:active, .amplify-inappmessaging-messagelayout__button--light:visited {
|
|
3978
|
+
filter: brightness(100%);
|
|
3979
|
+
}
|
|
3980
|
+
.amplify-inappmessaging-messagelayout__button--dark:hover, .amplify-inappmessaging-messagelayout__button--dark:focus {
|
|
3981
|
+
filter: brightness(120%);
|
|
3982
|
+
}
|
|
3983
|
+
.amplify-inappmessaging-messagelayout__button--light:hover, .amplify-inappmessaging-messagelayout__button--light:focus {
|
|
3984
|
+
filter: brightness(80%);
|
|
3985
|
+
}
|
|
3986
|
+
.amplify-inappmessaging-messagelayout__close-button {
|
|
3987
|
+
color: var(--amplify-colors-neutral-80);
|
|
3988
|
+
}
|
|
3989
|
+
.amplify-inappmessaging-messagelayout__close-button:active, .amplify-inappmessaging-messagelayout__close-button:visited {
|
|
3990
|
+
color: var(--amplify-colors-neutral-80);
|
|
3991
|
+
}
|
|
3992
|
+
.amplify-inappmessaging-messagelayout__close-button:hover, .amplify-inappmessaging-messagelayout__close-button:focus {
|
|
3993
|
+
color: var(--amplify-colors-neutral-100);
|
|
3994
|
+
}
|
|
3995
|
+
.amplify-inappmessaging-messagelayout__content {
|
|
3996
|
+
flex-grow: 1;
|
|
3997
|
+
overflow: hidden;
|
|
3998
|
+
}
|
|
3999
|
+
.amplify-inappmessaging-messagelayout__content--horizontal {
|
|
4000
|
+
flex-direction: row;
|
|
4001
|
+
}
|
|
4002
|
+
.amplify-inappmessaging-messagelayout__content--vertical {
|
|
4003
|
+
flex-direction: column;
|
|
4004
|
+
justify-content: center;
|
|
4005
|
+
}
|
|
4006
|
+
.amplify-inappmessaging-messagelayout__header {
|
|
4007
|
+
flex-shrink: 0;
|
|
4008
|
+
font-size: var(--amplify-components-inappmessaging-header-font-size);
|
|
4009
|
+
font-weight: var(--amplify-components-inappmessaging-header-font-weight);
|
|
4010
|
+
}
|
|
4011
|
+
.amplify-inappmessaging-messagelayout__image-container {
|
|
4012
|
+
align-items: center;
|
|
4013
|
+
display: flex;
|
|
4014
|
+
justify-content: center;
|
|
4015
|
+
position: relative;
|
|
4016
|
+
}
|
|
4017
|
+
.amplify-inappmessaging-messagelayout__image-container img {
|
|
4018
|
+
max-height: 100%;
|
|
4019
|
+
max-width: 100%;
|
|
4020
|
+
-o-object-fit: contain;
|
|
4021
|
+
object-fit: contain;
|
|
4022
|
+
position: absolute;
|
|
4023
|
+
}
|
|
4024
|
+
.amplify-inappmessaging-messagelayout__image-container--horizontal {
|
|
4025
|
+
max-width: 15%;
|
|
4026
|
+
min-width: 15%;
|
|
4027
|
+
}
|
|
4028
|
+
.amplify-inappmessaging-messagelayout__image-container--vertical {
|
|
4029
|
+
max-height: 40%;
|
|
4030
|
+
min-height: 40%;
|
|
4031
|
+
}
|
|
4032
|
+
.amplify-inappmessaging-messagelayout__text-container {
|
|
4033
|
+
flex-direction: column;
|
|
4034
|
+
overflow-y: auto;
|
|
4035
|
+
gap: var(--amplify-space-xxxs);
|
|
4036
|
+
}
|
|
4037
|
+
.amplify-inappmessaging-messagelayout__text-container--horizontal {
|
|
4038
|
+
flex-grow: 1;
|
|
4039
|
+
}
|
|
4040
|
+
.amplify-inappmessaging-messagelayout__text-container--vertical {
|
|
4041
|
+
flex-grow: 0;
|
|
4042
|
+
}
|
|
4043
|
+
|
|
4044
|
+
.amplify-inappmessaging-modalmessage {
|
|
4045
|
+
align-items: center;
|
|
4046
|
+
height: initial;
|
|
4047
|
+
inset: 0;
|
|
4048
|
+
justify-content: center;
|
|
4049
|
+
pointer-events: none;
|
|
4050
|
+
position: fixed;
|
|
4051
|
+
width: initial;
|
|
4052
|
+
z-index: 1000;
|
|
4053
|
+
}
|
|
4054
|
+
.amplify-inappmessaging-modalmessage__dialog {
|
|
4055
|
+
box-shadow: var(--amplify-shadows-medium);
|
|
4056
|
+
height: var(--amplify-components-inappmessaging-dialog-height);
|
|
4057
|
+
min-height: var(--amplify-components-inappmessaging-dialog-min-height);
|
|
4058
|
+
min-width: var(--amplify-components-inappmessaging-dialog-min-width);
|
|
4059
|
+
pointer-events: auto;
|
|
4060
|
+
width: var(--amplify-components-inappmessaging-dialog-width);
|
|
4061
|
+
}
|
|
4062
|
+
.amplify-inappmessaging-modalmessage__dialog--full-width {
|
|
4063
|
+
width: 100%;
|
|
4064
|
+
margin: var(--amplify-space-small);
|
|
4065
|
+
}
|
|
4066
|
+
|
|
3799
4067
|
[data-label-position=start] {
|
|
3800
4068
|
flex-direction: row;
|
|
3801
4069
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BLOCK_CLASS = "amplify-inappmessaging-bannermessage";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BannerMessageCommonProps } from '@aws-amplify/ui-react-core';
|
|
2
|
+
import { MessageOverrideStyle } from '../hooks';
|
|
3
|
+
declare type BannerMessageAlignment = 'left' | 'center' | 'right';
|
|
4
|
+
export interface BannerMessageProps extends BannerMessageCommonProps<MessageOverrideStyle | undefined> {
|
|
5
|
+
alignment?: BannerMessageAlignment;
|
|
6
|
+
}
|
|
7
|
+
export {};
|
package/dist/types/components/InAppMessaging/CloseIconButton/__tests__/CloseIconButton.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CloseIconButton } from './CloseIconButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BLOCK_CLASS = "amplify-inappmessaging-fullscreenmessage";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InAppMessageDisplayProps } from './types';
|
|
2
|
+
declare function InAppMessageDisplay({ components: overrideComponents, }: InAppMessageDisplayProps): JSX.Element;
|
|
3
|
+
declare namespace InAppMessageDisplay {
|
|
4
|
+
var BannerMessage: typeof import("../BannerMessage").BannerMessage;
|
|
5
|
+
var CarouselMessage: <P>(_: P) => any;
|
|
6
|
+
var FullScreenMessage: typeof import("../FullScreenMessage").FullScreenMessage;
|
|
7
|
+
var ModalMessage: typeof import("../ModalMessage").ModalMessage;
|
|
8
|
+
}
|
|
9
|
+
export default InAppMessageDisplay;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BannerMessageComponent, CarouselMessageComponent, FullScreenMessageComponent, ModalMessageComponent } from '@aws-amplify/ui-react-core';
|
|
2
|
+
import { BannerMessageProps } from '../BannerMessage';
|
|
3
|
+
import { FullScreenMessageProps } from '../FullScreenMessage';
|
|
4
|
+
import { ModalMessageProps } from '../ModalMessage';
|
|
5
|
+
declare type BannerStyle = BannerMessageProps['style'];
|
|
6
|
+
declare type CarouselStyle = any;
|
|
7
|
+
declare type FullScreenStyle = FullScreenMessageProps['style'];
|
|
8
|
+
declare type ModalStyle = ModalMessageProps['style'];
|
|
9
|
+
export interface MessageDefaultComponents {
|
|
10
|
+
BannerMessage: BannerMessageComponent<BannerStyle>;
|
|
11
|
+
CarouselMessage: CarouselMessageComponent<CarouselStyle>;
|
|
12
|
+
FullScreenMessage: FullScreenMessageComponent<FullScreenStyle>;
|
|
13
|
+
ModalMessage: ModalMessageComponent<ModalStyle>;
|
|
14
|
+
}
|
|
15
|
+
export interface MessageComponents extends Partial<MessageDefaultComponents> {
|
|
16
|
+
}
|
|
17
|
+
export interface InAppMessageDisplayProps {
|
|
18
|
+
/**
|
|
19
|
+
* Message override UI components
|
|
20
|
+
*/
|
|
21
|
+
components?: MessageComponents;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { MessageLayoutProps } from './types';
|
|
2
|
+
export declare function MessageLayout({ body, buttonSize, hasButtons, hasPrimaryButton, hasRenderableImage, hasSecondaryButton, header, image, onClose, orientation, primaryButton, secondaryButton, styles, }: MessageLayoutProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const BLOCK_CLASS = "amplify-inappmessaging-messagelayout";
|
|
2
|
+
export declare const BUTTON_CLASS: string;
|
|
3
|
+
export declare const CLOSE_BUTTON_CLASS: string;
|
|
4
|
+
export declare const CONTENT_CLASS: string;
|
|
5
|
+
export declare const HEADER_CLASS: string;
|
|
6
|
+
export declare const IMAGE_CONTAINER_CLASS: string;
|
|
7
|
+
export declare const TEXT_CONTAINER_CLASS: string;
|
|
8
|
+
export declare const CONTENT_TEST_ID = "inappmessaging-messagelayout-content";
|
|
9
|
+
export declare const IMAGE_CONTAINER_TEST_ID = "inappmessaging-messagelayout-imagecontainer";
|
|
10
|
+
export declare const MESSAGE_LAYOUT_TEST_ID = "inappmessaging-messagelayout";
|
|
11
|
+
export declare const TEXT_CONTAINER_TEST_ID = "inappmessaging-messagelayout-textcontainer";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MessageLayout } from './MessageLayout';
|