@aws-amplify/ui-react 5.3.1 → 6.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/Field-6c0e096a.js +1174 -0
- package/dist/esm/PrimitiveCatalog.mjs +16255 -1
- package/dist/esm/components/AccountSettings/AccountSettings.mjs +6 -1
- package/dist/esm/components/AccountSettings/ChangePassword/ChangePassword.mjs +209 -1
- package/dist/esm/components/AccountSettings/ChangePassword/defaults.mjs +77 -1
- package/dist/esm/components/AccountSettings/DeleteUser/DeleteUser.mjs +156 -1
- package/dist/esm/components/AccountSettings/DeleteUser/defaults.mjs +85 -1
- package/dist/esm/components/AccountSettings/constants.mjs +7 -1
- package/dist/esm/components/AccountSettings/shared/Defaults.mjs +66 -1
- package/dist/esm/components/AccountSettings/utils/displayText.mjs +14 -0
- package/dist/esm/components/Authenticator/Authenticator.mjs +74 -1
- package/dist/esm/components/Authenticator/ConfirmSignIn/ConfirmSignIn.mjs +42 -1
- package/dist/esm/components/Authenticator/ConfirmSignUp/ConfirmSignUp.mjs +51 -1
- package/dist/esm/components/Authenticator/FederatedSignIn/FederatedSignIn.mjs +34 -1
- package/dist/esm/components/Authenticator/FederatedSignIn/FederatedSignInButtons/FederatedSignInButton.mjs +54 -1
- package/dist/esm/components/Authenticator/ForceNewPassword/ForceNewPassword.mjs +43 -1
- package/dist/esm/components/Authenticator/ForgotPassword/ConfirmResetPassword.mjs +39 -0
- package/dist/esm/components/Authenticator/ForgotPassword/ForgotPassword.mjs +40 -0
- package/dist/esm/components/Authenticator/RouteContainer/RouteContainer.mjs +26 -1
- package/dist/esm/components/Authenticator/Router/Router.mjs +63 -1
- package/dist/esm/components/Authenticator/SetupTotp/SetupTotp.mjs +76 -0
- package/dist/esm/components/Authenticator/SignIn/SignIn.mjs +47 -1
- package/dist/esm/components/Authenticator/SignUp/SignUp.mjs +46 -1
- package/dist/esm/components/Authenticator/VerifyUser/ConfirmVerifyUser.mjs +37 -1
- package/dist/esm/components/Authenticator/VerifyUser/VerifyUser.mjs +59 -1
- package/dist/esm/components/Authenticator/hooks/useCustomComponents/defaultComponents.mjs +62 -1
- package/dist/esm/components/Authenticator/hooks/useCustomComponents/useCustomComponents.mjs +14 -1
- package/dist/esm/components/Authenticator/hooks/useFormHandlers/useFormHandlers.mjs +30 -1
- package/dist/esm/components/Authenticator/shared/ConfirmSignInFooter.mjs +18 -1
- package/dist/esm/components/Authenticator/shared/FormField.mjs +35 -1
- package/dist/esm/components/Authenticator/shared/FormFields.mjs +15 -1
- package/dist/esm/components/Authenticator/shared/RemoteErrorMessage.mjs +11 -1
- package/dist/esm/components/Authenticator/shared/SignInSignUpTabs.mjs +27 -1
- package/dist/esm/components/Authenticator/shared/TwoButtonSubmitFooter.mjs +35 -1
- package/dist/esm/components/Authenticator/utils.mjs +3 -1
- package/dist/esm/components/Authenticator/withAuthenticator.mjs +14 -1
- package/dist/esm/components/ThemeProvider/ThemeContext.mjs +8 -0
- package/dist/esm/components/ThemeProvider/ThemeProvider.mjs +23 -1
- package/dist/esm/components/index.mjs +5 -1
- package/dist/esm/components/shared/ValidationErrors.mjs +15 -1
- package/dist/esm/helpers/utils.mjs +6 -1
- package/dist/esm/hooks/useAuth.mjs +73 -1
- package/dist/esm/hooks/useBreakpointValue.mjs +29 -1
- package/dist/esm/hooks/useComposeRefsCallback.mjs +20 -1
- package/dist/esm/hooks/useDeprecationWarning.mjs +15 -1
- package/dist/esm/hooks/useStorageURL.mjs +40 -1
- package/dist/esm/hooks/useTheme.mjs +23 -1
- package/dist/esm/hooks/useThemeBreakpoint.mjs +19 -1
- package/dist/esm/index.mjs +71 -1
- package/dist/esm/internal.mjs +32 -1
- package/dist/esm/primitives/Accordion/Accordion.mjs +28 -0
- package/dist/esm/primitives/Accordion/AccordionContainer.mjs +49 -0
- package/dist/esm/primitives/Accordion/AccordionContent.mjs +15 -0
- package/dist/esm/primitives/Accordion/AccordionContext.mjs +6 -0
- package/dist/esm/primitives/Accordion/AccordionIcon.mjs +20 -0
- package/dist/esm/primitives/Accordion/AccordionItem.mjs +19 -0
- package/dist/esm/primitives/Accordion/AccordionTrigger.mjs +27 -0
- package/dist/esm/primitives/Alert/Alert.mjs +36 -1
- package/dist/esm/primitives/Alert/AlertIcon.mjs +36 -1
- package/dist/esm/primitives/Autocomplete/Autocomplete.mjs +67 -1
- package/dist/esm/primitives/Autocomplete/AutocompleteMenu.mjs +36 -1
- package/dist/esm/primitives/Autocomplete/AutocompleteOption.mjs +12 -1
- package/dist/esm/primitives/Autocomplete/useAutocomplete.mjs +188 -1
- package/dist/esm/primitives/Badge/Badge.mjs +16 -1
- package/dist/esm/primitives/Breadcrumbs/BreadcrumbContainer.mjs +18 -1
- package/dist/esm/primitives/Breadcrumbs/BreadcrumbItem.mjs +16 -1
- package/dist/esm/primitives/Breadcrumbs/BreadcrumbLink.mjs +24 -1
- package/dist/esm/primitives/Breadcrumbs/BreadcrumbSeparator.mjs +16 -1
- package/dist/esm/primitives/Breadcrumbs/Breadcrumbs.mjs +28 -1
- package/dist/esm/primitives/Button/Button.mjs +33 -1
- package/dist/esm/primitives/ButtonGroup/ButtonGroup.mjs +19 -1
- package/dist/esm/primitives/Card/Card.mjs +15 -1
- package/dist/esm/primitives/Checkbox/Checkbox.mjs +84 -1
- package/dist/esm/primitives/CheckboxField/CheckboxField.mjs +24 -1
- package/dist/esm/primitives/Collection/Collection.mjs +58 -1
- package/dist/esm/primitives/Collection/utils.mjs +30 -1
- package/dist/esm/primitives/Divider/Divider.mjs +16 -1
- package/dist/esm/primitives/DropZone/DropZone.mjs +27 -1
- package/dist/esm/primitives/DropZone/DropZoneChildren.mjs +39 -1
- package/dist/esm/primitives/DropZone/DropZoneContainer.mjs +18 -1
- package/dist/esm/primitives/DropZone/DropZoneProvider.mjs +8 -1
- package/dist/esm/primitives/DropZone/filterAllowedFiles.mjs +34 -0
- package/dist/esm/primitives/DropZone/useDropZone.mjs +65 -1
- package/dist/esm/primitives/Field/Field.mjs +20 -1
- package/dist/esm/primitives/Field/FieldClearButton.mjs +21 -1
- package/dist/esm/primitives/Field/FieldDescription.mjs +11 -1
- package/dist/esm/primitives/Field/FieldErrorMessage.mjs +10 -1
- package/dist/esm/primitives/FieldGroup/FieldGroup.mjs +29 -1
- package/dist/esm/primitives/FieldGroupIcon/FieldGroupIcon.mjs +12 -1
- package/dist/esm/primitives/FieldGroupIcon/FieldGroupIconButton.mjs +11 -1
- package/dist/esm/primitives/Fieldset/Fieldset.mjs +33 -1
- package/dist/esm/primitives/Fieldset/useFieldset.mjs +13 -1
- package/dist/esm/primitives/Flex/Flex.mjs +13 -1
- package/dist/esm/primitives/Grid/Grid.mjs +13 -1
- package/dist/esm/primitives/Heading/Heading.mjs +21 -1
- package/dist/esm/primitives/HighlightMatch/HighlightMatch.mjs +28 -1
- package/dist/esm/primitives/Icon/Icon.mjs +36 -1
- package/dist/esm/primitives/Icon/context/IconsContext.mjs +5 -1
- package/dist/esm/primitives/Icon/context/IconsProvider.mjs +8 -1
- package/dist/esm/primitives/Icon/context/useIcons.mjs +12 -1
- package/dist/esm/primitives/Icon/icons/IconAdd.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconCheck.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconCheckCircle.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconCheckCircleOutline.mjs +13 -1
- package/dist/esm/primitives/Icon/icons/IconChevronLeft.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconChevronRight.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconClose.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconEdit.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconError.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconExpandMore.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconFile.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconIndeterminate.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconInfo.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconMenu.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconRemove.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconSearch.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconStar.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconUpload.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconVisibility.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconVisibilityOff.mjs +15 -1
- package/dist/esm/primitives/Icon/icons/IconWarning.mjs +15 -1
- package/dist/esm/primitives/Image/Image.mjs +13 -1
- package/dist/esm/primitives/Input/Input.mjs +15 -1
- package/dist/esm/primitives/Label/Label.mjs +14 -1
- package/dist/esm/primitives/Link/Link.mjs +15 -1
- package/dist/esm/primitives/Loader/Loader.mjs +56 -1
- package/dist/esm/primitives/Menu/Menu.mjs +31 -1
- package/dist/esm/primitives/Menu/MenuButton.mjs +18 -1
- package/dist/esm/primitives/Menu/MenuItem.mjs +22 -1
- package/dist/esm/primitives/Message/Message.mjs +23 -1
- package/dist/esm/primitives/Message/MessageContainer.mjs +19 -1
- package/dist/esm/primitives/Message/MessageContent.mjs +12 -1
- package/dist/esm/primitives/Message/MessageDismiss.mjs +28 -1
- package/dist/esm/primitives/Message/MessageHeading.mjs +12 -1
- package/dist/esm/primitives/Message/MessageIcon.mjs +35 -1
- package/dist/esm/primitives/Message/useMessage.mjs +9 -1
- package/dist/esm/primitives/Pagination/Pagination.mjs +31 -1
- package/dist/esm/primitives/Pagination/PaginationItem.mjs +48 -1
- package/dist/esm/primitives/Pagination/usePagination.mjs +41 -1
- package/dist/esm/primitives/Pagination/usePaginationItems.mjs +39 -1
- package/dist/esm/primitives/Pagination/useRange.mjs +72 -1
- package/dist/esm/primitives/PasswordField/PasswordField.mjs +25 -1
- package/dist/esm/primitives/PasswordField/ShowPasswordButton.mjs +30 -1
- package/dist/esm/primitives/PhoneNumberField/DialCodeSelect.mjs +21 -0
- package/dist/esm/primitives/PhoneNumberField/PhoneNumberField.mjs +17 -1
- package/dist/esm/primitives/Placeholder/Placeholder.mjs +18 -1
- package/dist/esm/primitives/Radio/Radio.mjs +31 -1
- package/dist/esm/primitives/RadioGroupField/RadioGroupField.mjs +55 -1
- package/dist/esm/primitives/RadioGroupField/context.mjs +9 -1
- package/dist/esm/primitives/Rating/Rating.mjs +44 -1
- package/dist/esm/primitives/Rating/RatingIcon.mjs +11 -1
- package/dist/esm/primitives/Rating/RatingMixedIcon.mjs +13 -1
- package/dist/esm/primitives/Rating/utils.mjs +18 -1
- package/dist/esm/primitives/ScrollView/ScrollView.mjs +13 -1
- package/dist/esm/primitives/SearchField/SearchField.mjs +38 -1
- package/dist/esm/primitives/SearchField/SearchFieldButton.mjs +21 -1
- package/dist/esm/primitives/SearchField/useSearchField.mjs +64 -1
- package/dist/esm/primitives/Select/Select.mjs +31 -1
- package/dist/esm/primitives/SelectField/SelectField.mjs +42 -1
- package/dist/esm/primitives/SliderField/SliderField.mjs +77 -1
- package/dist/esm/primitives/StepperField/StepperField.mjs +60 -1
- package/dist/esm/primitives/StepperField/useStepper.mjs +113 -1
- package/dist/esm/primitives/SwitchField/SwitchField.mjs +48 -1
- package/dist/esm/primitives/SwitchField/useSwitch.mjs +30 -1
- package/dist/esm/primitives/Table/Table.mjs +18 -1
- package/dist/esm/primitives/Table/TableBody.mjs +10 -1
- package/dist/esm/primitives/Table/TableCell.mjs +12 -1
- package/dist/esm/primitives/Table/TableFoot.mjs +10 -1
- package/dist/esm/primitives/Table/TableHead.mjs +10 -1
- package/dist/esm/primitives/Table/TableRow.mjs +10 -1
- package/dist/esm/primitives/Tabs/Tabs.mjs +24 -1
- package/dist/esm/primitives/Tabs/TabsContainer.mjs +35 -0
- package/dist/esm/primitives/Tabs/TabsContext.mjs +8 -0
- package/dist/esm/primitives/Tabs/TabsItem.mjs +24 -0
- package/dist/esm/primitives/Tabs/TabsList.mjs +85 -0
- package/dist/esm/primitives/Tabs/TabsPanel.mjs +19 -0
- package/dist/esm/primitives/Text/Text.mjs +16 -1
- package/dist/esm/primitives/TextArea/TextArea.mjs +15 -1
- package/dist/esm/primitives/TextAreaField/TextAreaField.mjs +36 -1
- package/dist/esm/primitives/TextField/TextField.mjs +34 -1
- package/dist/esm/primitives/ToggleButton/ToggleButton.mjs +24 -1
- package/dist/esm/primitives/ToggleButton/useToggleButton.mjs +23 -1
- package/dist/esm/primitives/ToggleButtonGroup/ToggleButtonGroup.mjs +35 -1
- package/dist/esm/primitives/ToggleButtonGroup/useToggleButtonGroup.mjs +36 -1
- package/dist/esm/primitives/View/View.mjs +23 -1
- package/dist/esm/primitives/VisuallyHidden/VisuallyHidden.mjs +13 -1
- package/dist/esm/primitives/index.mjs +63 -1
- package/dist/esm/primitives/shared/constants.mjs +98 -1
- package/dist/esm/primitives/shared/getStyleValue.mjs +25 -1
- package/dist/esm/primitives/shared/responsive/getMediaQueries.mjs +29 -1
- package/dist/esm/primitives/shared/responsive/useBreakpoint.mjs +39 -1
- package/dist/esm/primitives/shared/responsive/utils.mjs +51 -1
- package/dist/esm/primitives/shared/styleUtils.mjs +122 -1
- package/dist/esm/primitives/shared/utils.mjs +60 -1
- package/dist/esm/primitives/types/style.mjs +104 -1
- package/dist/esm/primitives/types/theme.mjs +7 -1
- package/dist/esm/primitives/utils/getTestId.mjs +3 -1
- package/dist/esm/primitives/utils/primitiveWithForwardRef.mjs +14 -0
- package/dist/esm/primitives/utils/splitPrimitiveProps.mjs +36 -1
- package/dist/esm/primitives/utils/useLayoutEffect.mjs +13 -1
- package/dist/esm/primitives/utils/useStableId.mjs +34 -1
- package/dist/esm/version.mjs +3 -1
- package/dist/index.js +3485 -1
- package/dist/internal.js +16403 -1
- package/dist/styles/StorageManager.css +138 -0
- package/dist/styles/StorageManager.layer.css +140 -0
- package/dist/styles/_fieldControl.css +0 -0
- package/dist/styles/_fieldControl.layer.css +3 -0
- package/dist/styles/accordion.css +64 -0
- package/dist/styles/accordion.layer.css +66 -0
- package/dist/styles/alert.css +44 -0
- package/dist/styles/alert.layer.css +46 -0
- package/dist/styles/authenticator.css +72 -0
- package/dist/styles/authenticator.layer.css +74 -0
- package/dist/styles/autocomplete.css +48 -0
- package/dist/styles/autocomplete.layer.css +50 -0
- package/dist/styles/badge.css +35 -0
- package/dist/styles/badge.layer.css +37 -0
- package/dist/styles/base.css +1491 -0
- package/dist/styles/base.layer.css +1493 -0
- package/dist/styles/breadcrumbs.css +40 -0
- package/dist/styles/breadcrumbs.layer.css +42 -0
- package/dist/styles/button.css +1122 -0
- package/dist/styles/button.layer.css +1124 -0
- package/dist/styles/card.css +26 -0
- package/dist/styles/card.layer.css +28 -0
- package/dist/styles/checkbox.css +95 -0
- package/dist/styles/checkbox.layer.css +97 -0
- package/dist/styles/checkboxField.css +6 -0
- package/dist/styles/checkboxField.layer.css +8 -0
- package/dist/styles/collection.css +70 -0
- package/dist/styles/collection.layer.css +72 -0
- package/dist/styles/copy.css +27 -0
- package/dist/styles/copy.layer.css +29 -0
- package/dist/styles/dialCodeSelect.css +3 -0
- package/dist/styles/dialCodeSelect.layer.css +5 -0
- package/dist/styles/divider.css +47 -0
- package/dist/styles/divider.layer.css +49 -0
- package/dist/styles/dropZone.css +45 -0
- package/dist/styles/dropZone.layer.css +47 -0
- package/dist/styles/field.css +17 -0
- package/dist/styles/field.layer.css +19 -0
- package/dist/styles/fieldGroup.css +130 -0
- package/dist/styles/fieldGroup.layer.css +132 -0
- package/dist/styles/fieldMessages.css +10 -0
- package/dist/styles/fieldMessages.layer.css +12 -0
- package/dist/styles/fieldModifiers.css +15 -0
- package/dist/styles/fieldModifiers.layer.css +17 -0
- package/dist/styles/fieldset.css +37 -0
- package/dist/styles/fieldset.layer.css +39 -0
- package/dist/styles/flex.css +8 -0
- package/dist/styles/flex.layer.css +10 -0
- package/dist/styles/grid.css +3 -0
- package/dist/styles/grid.layer.css +5 -0
- package/dist/styles/heading.css +40 -0
- package/dist/styles/heading.layer.css +42 -0
- package/dist/styles/highlightMatch.css +3 -0
- package/dist/styles/highlightMatch.layer.css +5 -0
- package/dist/styles/icon.css +14 -0
- package/dist/styles/icon.layer.css +16 -0
- package/dist/styles/image.css +9 -0
- package/dist/styles/image.layer.css +11 -0
- package/dist/styles/inAppMessaging.css +179 -0
- package/dist/styles/inAppMessaging.layer.css +181 -0
- package/dist/styles/input.css +83 -0
- package/dist/styles/input.layer.css +85 -0
- package/dist/styles/link.css +26 -0
- package/dist/styles/link.layer.css +28 -0
- package/dist/styles/liveness.css +374 -0
- package/dist/styles/liveness.layer.css +376 -0
- package/dist/styles/loader.css +108 -0
- package/dist/styles/loader.layer.css +110 -0
- package/dist/styles/menu.css +54 -0
- package/dist/styles/menu.layer.css +56 -0
- package/dist/styles/message.css +111 -0
- package/dist/styles/message.layer.css +113 -0
- package/dist/styles/pagination.css +41 -0
- package/dist/styles/pagination.layer.css +43 -0
- package/dist/styles/passwordField.css +49 -0
- package/dist/styles/passwordField.layer.css +51 -0
- package/dist/styles/phoneNumberField.css +30 -0
- package/dist/styles/phoneNumberField.layer.css +32 -0
- package/dist/styles/placeholder.css +31 -0
- package/dist/styles/placeholder.layer.css +33 -0
- package/dist/styles/radio.css +82 -0
- package/dist/styles/radio.layer.css +84 -0
- package/dist/styles/radioGroupField.css +25 -0
- package/dist/styles/radioGroupField.layer.css +27 -0
- package/dist/styles/radiogroup.css +5 -0
- package/dist/styles/radiogroup.layer.css +7 -0
- package/dist/styles/rating.css +33 -0
- package/dist/styles/rating.layer.css +35 -0
- package/dist/styles/reset.css +76 -0
- package/dist/styles/reset.layer.css +78 -0
- package/dist/styles/scrollView.css +4 -0
- package/dist/styles/scrollView.layer.css +6 -0
- package/dist/styles/searchField.css +29 -0
- package/dist/styles/searchField.layer.css +31 -0
- package/dist/styles/select.css +128 -0
- package/dist/styles/select.layer.css +130 -0
- package/dist/styles/selectField.css +18 -0
- package/dist/styles/selectField.layer.css +20 -0
- package/dist/styles/sliderField.css +143 -0
- package/dist/styles/sliderField.layer.css +145 -0
- package/dist/styles/stepperField.css +77 -0
- package/dist/styles/stepperField.layer.css +79 -0
- package/dist/styles/switchField.css +76 -0
- package/dist/styles/switchField.layer.css +78 -0
- package/dist/styles/table.css +146 -0
- package/dist/styles/table.layer.css +148 -0
- package/dist/styles/tabs.css +87 -0
- package/dist/styles/tabs.layer.css +89 -0
- package/dist/styles/text.css +40 -0
- package/dist/styles/text.layer.css +42 -0
- package/dist/styles/textArea.css +71 -0
- package/dist/styles/textArea.layer.css +73 -0
- package/dist/styles/textAreaField.css +12 -0
- package/dist/styles/textAreaField.layer.css +14 -0
- package/dist/styles/textField.css +14 -0
- package/dist/styles/textField.layer.css +16 -0
- package/dist/styles/toggleButton.css +280 -0
- package/dist/styles/toggleButton.layer.css +282 -0
- package/dist/styles/toggleButtonGroup.css +31 -0
- package/dist/styles/toggleButtonGroup.layer.css +33 -0
- package/dist/styles/visuallyHidden.css +12 -0
- package/dist/styles/visuallyHidden.layer.css +14 -0
- package/dist/styles.css +299 -685
- package/dist/styles.layer.css +6115 -0
- package/dist/types/components/AccountSettings/ChangePassword/ChangePassword.d.ts +6 -6
- package/dist/types/components/AccountSettings/ChangePassword/types.d.ts +3 -0
- package/dist/types/components/AccountSettings/DeleteUser/DeleteUser.d.ts +3 -3
- package/dist/types/components/AccountSettings/DeleteUser/types.d.ts +7 -2
- package/dist/types/components/AccountSettings/utils/displayText.d.ts +18 -0
- package/dist/types/components/AccountSettings/utils/index.d.ts +1 -0
- package/dist/types/components/Authenticator/Authenticator.d.ts +4 -3
- package/dist/types/components/Authenticator/ConfirmSignIn/ConfirmSignIn.d.ts +2 -2
- package/dist/types/components/Authenticator/ConfirmSignUp/ConfirmSignUp.d.ts +2 -2
- package/dist/types/components/Authenticator/{ResetPassword → ForgotPassword}/index.d.ts +1 -1
- package/dist/types/components/Authenticator/{SetupTOTP/SetupTOTP.d.ts → SetupTotp/SetupTotp.d.ts} +1 -1
- package/dist/types/components/Authenticator/SetupTotp/index.d.ts +1 -0
- package/dist/types/components/Authenticator/SignIn/SignIn.d.ts +2 -2
- package/dist/types/components/Authenticator/SignUp/SignUp.d.ts +2 -2
- package/dist/types/components/Authenticator/VerifyUser/ConfirmVerifyUser.d.ts +2 -2
- package/dist/types/components/Authenticator/hooks/useCustomComponents/defaultComponents.d.ts +1 -1
- package/dist/types/components/Authenticator/withAuthenticator.d.ts +2 -2
- package/dist/types/components/ThemeProvider/ThemeContext.d.ts +6 -0
- package/dist/types/components/ThemeProvider/ThemeProvider.d.ts +1 -2
- package/dist/types/components/ThemeProvider/index.d.ts +1 -1
- package/dist/types/components/index.d.ts +0 -1
- package/dist/types/hooks/index.d.ts +0 -1
- package/dist/types/hooks/useAuth.d.ts +2 -2
- package/dist/types/hooks/useStorageURL.d.ts +2 -6
- package/dist/types/hooks/useTheme.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/internal.d.ts +0 -12
- package/dist/types/primitives/Accordion/Accordion.d.ts +19 -0
- package/dist/types/primitives/Accordion/AccordionContainer.d.ts +8 -0
- package/dist/types/primitives/Accordion/AccordionContent.d.ts +9 -0
- package/dist/types/primitives/Accordion/AccordionContext.d.ts +9 -0
- package/dist/types/primitives/Accordion/AccordionIcon.d.ts +9 -0
- package/dist/types/primitives/Accordion/AccordionItem.d.ts +6 -0
- package/dist/types/primitives/Accordion/AccordionTrigger.d.ts +9 -0
- package/dist/types/primitives/Accordion/index.d.ts +2 -0
- package/dist/types/primitives/Accordion/types.d.ts +49 -0
- package/dist/types/primitives/Alert/AlertIcon.d.ts +5 -2
- package/dist/types/primitives/Breadcrumbs/BreadcrumbItem.d.ts +1 -1
- package/dist/types/primitives/DropZone/DropZoneChildren.d.ts +10 -3
- package/dist/types/primitives/DropZone/filterAllowedFiles.d.ts +10 -0
- package/dist/types/primitives/Icon/context/IconsContext.d.ts +1 -1
- package/dist/types/primitives/PhoneNumberField/DialCodeSelect.d.ts +2 -0
- package/dist/types/primitives/StepperField/useStepper.d.ts +1 -1
- package/dist/types/primitives/Tabs/Tabs.d.ts +14 -3
- package/dist/types/primitives/Tabs/TabsContainer.d.ts +6 -0
- package/dist/types/primitives/Tabs/TabsContext.d.ts +7 -0
- package/dist/types/primitives/Tabs/TabsItem.d.ts +6 -0
- package/dist/types/primitives/Tabs/TabsList.d.ts +6 -0
- package/dist/types/primitives/Tabs/TabsPanel.d.ts +6 -0
- package/dist/types/primitives/Tabs/index.d.ts +2 -1
- package/dist/types/primitives/Tabs/types.d.ts +93 -0
- package/dist/types/primitives/components.d.ts +2 -2
- package/dist/types/primitives/index.d.ts +0 -1
- package/dist/types/primitives/shared/constants.d.ts +0 -6
- package/dist/types/primitives/shared/responsive/utils.d.ts +1 -1
- package/dist/types/primitives/shared/styleUtils.d.ts +2 -2
- package/dist/types/primitives/types/collection.d.ts +2 -2
- package/dist/types/primitives/types/fieldset.d.ts +1 -1
- package/dist/types/primitives/types/index.d.ts +0 -3
- package/dist/types/primitives/types/radioGroupField.d.ts +2 -1
- package/dist/types/primitives/types/view.d.ts +32 -2
- package/dist/types/primitives/utils/primitiveWithForwardRef.d.ts +11 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +13 -45
- package/dist/Field-4bd811d7.js +0 -1
- package/dist/esm/components/Authenticator/ResetPassword/ConfirmResetPassword.mjs +0 -1
- package/dist/esm/components/Authenticator/ResetPassword/ResetPassword.mjs +0 -1
- package/dist/esm/components/Authenticator/SetupTOTP/SetupTOTP.mjs +0 -1
- package/dist/esm/components/Storage/FileUploader/FileUploader.mjs +0 -1
- package/dist/esm/components/Storage/FileUploader/UploadDropZone/UploadDropZone.mjs +0 -1
- package/dist/esm/components/Storage/FileUploader/UploadPreviewer/UploadPreviewer.mjs +0 -1
- package/dist/esm/components/Storage/FileUploader/UploadTracker/UploadMessage.mjs +0 -1
- package/dist/esm/components/Storage/FileUploader/UploadTracker/UploadTracker.mjs +0 -1
- package/dist/esm/components/Storage/FileUploader/hooks/useFileUploader/useFileUploader.mjs +0 -1
- package/dist/esm/components/Storage/FileUploader/types.mjs +0 -1
- package/dist/esm/components/ThemeProvider/AmplifyContext.mjs +0 -1
- package/dist/esm/helpers/constants.mjs +0 -1
- package/dist/esm/hooks/actions/constants.mjs +0 -1
- package/dist/esm/hooks/actions/shared/types.mjs +0 -1
- package/dist/esm/hooks/actions/shared/useTypeCastFields.mjs +0 -1
- package/dist/esm/hooks/actions/useAuthSignOutAction.mjs +0 -1
- package/dist/esm/hooks/actions/useDataStoreCreateAction.mjs +0 -1
- package/dist/esm/hooks/actions/useDataStoreDeleteAction.mjs +0 -1
- package/dist/esm/hooks/actions/useDataStoreUpdateAction.mjs +0 -1
- package/dist/esm/hooks/actions/useNavigateAction.mjs +0 -1
- package/dist/esm/hooks/actions/useStateMutationAction.mjs +0 -1
- package/dist/esm/hooks/useAmplify.mjs +0 -1
- package/dist/esm/hooks/useDataStore.mjs +0 -1
- package/dist/esm/primitives/Expander/Expander.mjs +0 -1
- package/dist/esm/primitives/Expander/ExpanderItem.mjs +0 -1
- package/dist/esm/primitives/PhoneNumberField/CountryCodeSelect.mjs +0 -1
- package/dist/esm/primitives/shared/datastore.mjs +0 -1
- package/dist/esm/studio/findChildOverrides.mjs +0 -1
- package/dist/esm/studio/getOverrideProps.mjs +0 -1
- package/dist/esm/studio/getOverridesFromVariants.mjs +0 -1
- package/dist/esm/studio/mergeVariantsAndOverrides.mjs +0 -1
- package/dist/styles.js +0 -2
- package/dist/types/components/Authenticator/SetupTOTP/index.d.ts +0 -1
- package/dist/types/components/Storage/FileUploader/FileUploader.d.ts +0 -3
- package/dist/types/components/Storage/FileUploader/UploadDropZone/UploadDropZone.d.ts +0 -3
- package/dist/types/components/Storage/FileUploader/UploadDropZone/index.d.ts +0 -1
- package/dist/types/components/Storage/FileUploader/UploadPreviewer/UploadPreviewer.d.ts +0 -3
- package/dist/types/components/Storage/FileUploader/UploadPreviewer/index.d.ts +0 -1
- package/dist/types/components/Storage/FileUploader/UploadTracker/UploadMessage.d.ts +0 -3
- package/dist/types/components/Storage/FileUploader/UploadTracker/UploadTracker.d.ts +0 -3
- package/dist/types/components/Storage/FileUploader/UploadTracker/index.d.ts +0 -1
- package/dist/types/components/Storage/FileUploader/hooks/index.d.ts +0 -1
- package/dist/types/components/Storage/FileUploader/hooks/useFileUploader/index.d.ts +0 -2
- package/dist/types/components/Storage/FileUploader/hooks/useFileUploader/types.d.ts +0 -18
- package/dist/types/components/Storage/FileUploader/hooks/useFileUploader/useFileUploader.d.ts +0 -9
- package/dist/types/components/Storage/FileUploader/index.d.ts +0 -1
- package/dist/types/components/Storage/FileUploader/types.d.ts +0 -91
- package/dist/types/components/Storage/index.d.ts +0 -1
- package/dist/types/components/ThemeProvider/AmplifyContext.d.ts +0 -6
- package/dist/types/hooks/actions/constants.d.ts +0 -39
- package/dist/types/hooks/actions/shared/types.d.ts +0 -27
- package/dist/types/hooks/actions/shared/useTypeCastFields.d.ts +0 -15
- package/dist/types/hooks/actions/testModels/model.d.ts +0 -25
- package/dist/types/hooks/actions/testModels/schema.d.ts +0 -2
- package/dist/types/hooks/actions/testModels/todo.d.ts +0 -13
- package/dist/types/hooks/actions/useAuthSignOutAction.d.ts +0 -9
- package/dist/types/hooks/actions/useDataStoreCreateAction.d.ts +0 -9
- package/dist/types/hooks/actions/useDataStoreDeleteAction.d.ts +0 -10
- package/dist/types/hooks/actions/useDataStoreUpdateAction.d.ts +0 -10
- package/dist/types/hooks/actions/useNavigateAction.d.ts +0 -15
- package/dist/types/hooks/actions/useStateMutationAction.d.ts +0 -10
- package/dist/types/hooks/useAmplify.d.ts +0 -6
- package/dist/types/hooks/useDataStore.d.ts +0 -18
- package/dist/types/primitives/Expander/Expander.d.ts +0 -6
- package/dist/types/primitives/Expander/ExpanderItem.d.ts +0 -7
- package/dist/types/primitives/Expander/index.d.ts +0 -2
- package/dist/types/primitives/Menu/__tests_/menu.test.d.ts +0 -1
- package/dist/types/primitives/PhoneNumberField/CountryCodeSelect.d.ts +0 -2
- package/dist/types/primitives/Rating/__test__/Rating.test.d.ts +0 -1
- package/dist/types/primitives/Rating/__test__/utils.test.d.ts +0 -1
- package/dist/types/primitives/Text/__test__/Text.test.d.ts +0 -1
- package/dist/types/primitives/shared/datastore.d.ts +0 -7
- package/dist/types/primitives/shared/index.d.ts +0 -1
- package/dist/types/primitives/shared/types.d.ts +0 -15
- package/dist/types/primitives/types/datastore.d.ts +0 -31
- package/dist/types/primitives/types/expander.d.ts +0 -51
- package/dist/types/primitives/types/tabs.d.ts +0 -63
- package/dist/types/studio/findChildOverrides.d.ts +0 -18
- package/dist/types/studio/getOverrideProps.d.ts +0 -18
- package/dist/types/studio/getOverridesFromVariants.d.ts +0 -20
- package/dist/types/studio/index.d.ts +0 -5
- package/dist/types/studio/mergeVariantsAndOverrides.d.ts +0 -18
- package/dist/types/studio/types.d.ts +0 -18
- package/dist/types/styles.d.ts +0 -1
- /package/dist/types/components/Authenticator/{ResetPassword → ForgotPassword}/ConfirmResetPassword.d.ts +0 -0
- /package/dist/types/components/Authenticator/{ResetPassword/ResetPassword.d.ts → ForgotPassword/ForgotPassword.d.ts} +0 -0
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
@layer amplify.components {
|
|
2
|
+
.amplify-liveness-cancel-container {
|
|
3
|
+
z-index: 2;
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: var(--amplify-space-medium);
|
|
6
|
+
right: var(--amplify-space-medium);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.amplify-liveness-cancel-button {
|
|
10
|
+
background-color: var(--amplify-colors-background-primary);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.amplify-liveness-fade-out {
|
|
14
|
+
animation-name: amplify-liveness-animation-fadeout;
|
|
15
|
+
animation-duration: 1s;
|
|
16
|
+
animation-fill-mode: forwards;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@keyframes amplify-liveness-animation-fadeout {
|
|
20
|
+
from {
|
|
21
|
+
opacity: 1;
|
|
22
|
+
}
|
|
23
|
+
to {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.amplify-liveness-camera-module {
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
background-color: var(--amplify-components-liveness-camera-module-background-color);
|
|
32
|
+
border: 1px solid var(--amplify-colors-neutral-40);
|
|
33
|
+
position: relative;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.amplify-liveness-camera-module--mobile {
|
|
37
|
+
position: fixed;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 0;
|
|
40
|
+
height: 100%;
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.amplify-liveness-video {
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
left: 0;
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.amplify-liveness-freshness-canvas {
|
|
53
|
+
height: 100%;
|
|
54
|
+
width: 100%;
|
|
55
|
+
position: fixed;
|
|
56
|
+
top: 0;
|
|
57
|
+
left: 0;
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
z-index: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.amplify-liveness-loader {
|
|
63
|
+
position: absolute;
|
|
64
|
+
left: 50%;
|
|
65
|
+
top: 50%;
|
|
66
|
+
transform: translate(-50%, -50%);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.amplify-liveness-oval-canvas {
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 0;
|
|
73
|
+
left: 0;
|
|
74
|
+
width: 100%;
|
|
75
|
+
height: 100%;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.amplify-liveness-oval-canvas--mobile {
|
|
81
|
+
position: fixed;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.amplify-liveness-video-anchor {
|
|
85
|
+
position: relative;
|
|
86
|
+
width: 100%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.amplify-liveness-recording-icon-container {
|
|
90
|
+
z-index: 1;
|
|
91
|
+
position: absolute;
|
|
92
|
+
top: var(--amplify-space-medium);
|
|
93
|
+
left: var(--amplify-space-medium);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.amplify-liveness-recording-icon {
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
align-items: center;
|
|
99
|
+
background-color: var(--amplify-colors-background-primary);
|
|
100
|
+
padding: var(--amplify-space-xxs);
|
|
101
|
+
gap: var(--amplify-space-xxs);
|
|
102
|
+
border-radius: var(--amplify-radii-small);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.amplify-liveness-instruction-overlay {
|
|
106
|
+
z-index: 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.amplify-liveness-countdown-container {
|
|
110
|
+
background-color: var(--amplify-colors-background-primary);
|
|
111
|
+
border-radius: 100%;
|
|
112
|
+
padding: var(--amplify-space-xs);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.amplify-liveness-instruction-list {
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
}
|
|
118
|
+
.amplify-liveness-instruction-list li {
|
|
119
|
+
display: flex;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.amplify-liveness-toast {
|
|
123
|
+
background-color: var(--amplify-colors-background-primary);
|
|
124
|
+
padding: var(--amplify-space-small);
|
|
125
|
+
border-radius: var(--amplify-radii-medium);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.amplify-liveness-toast__message {
|
|
129
|
+
color: var(--amplify-colors-font-primary);
|
|
130
|
+
text-align: center;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.amplify-liveness-toast--large {
|
|
135
|
+
font-size: var(--amplify-font-sizes-xl);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.amplify-liveness-toast--primary {
|
|
139
|
+
background-color: var(--amplify-colors-primary-80);
|
|
140
|
+
}
|
|
141
|
+
.amplify-liveness-toast--primary .amplify-liveness-toast__message {
|
|
142
|
+
color: var(--amplify-colors-font-inverse);
|
|
143
|
+
text-align: center;
|
|
144
|
+
flex-direction: column;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.amplify-liveness-toast__container {
|
|
148
|
+
gap: var(--amplify-space-xs);
|
|
149
|
+
flex-direction: column;
|
|
150
|
+
align-items: center;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.amplify-liveness-toast--error {
|
|
154
|
+
background-color: var(--amplify-colors-red-80);
|
|
155
|
+
}
|
|
156
|
+
.amplify-liveness-toast--error .amplify-liveness-toast__message {
|
|
157
|
+
color: var(--amplify-colors-font-inverse);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.amplify-liveness-match-indicator {
|
|
161
|
+
display: block;
|
|
162
|
+
width: min(70%, 200px);
|
|
163
|
+
position: relative;
|
|
164
|
+
--amplify-liveness-match-indicator-transition: transform 0.2s linear;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.amplify-liveness-match-indicator__bar {
|
|
168
|
+
--percentage: 0;
|
|
169
|
+
display: block;
|
|
170
|
+
width: 100%;
|
|
171
|
+
height: var(--amplify-space-medium);
|
|
172
|
+
border-radius: var(--amplify-radii-medium);
|
|
173
|
+
background: var(--amplify-colors-white);
|
|
174
|
+
position: relative;
|
|
175
|
+
overflow: hidden;
|
|
176
|
+
/*
|
|
177
|
+
This translateZ transform fixes in issue in Safari where the bar::after
|
|
178
|
+
element doesn't appear clipped from overflow: hidden here */
|
|
179
|
+
transform: translateZ(0);
|
|
180
|
+
border: 1px solid var(--amplify-colors-border-tertiary);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.amplify-liveness-match-indicator__pin {
|
|
184
|
+
--percentage: 0;
|
|
185
|
+
display: block;
|
|
186
|
+
width: 100%;
|
|
187
|
+
position: absolute;
|
|
188
|
+
top: 50%;
|
|
189
|
+
left: 0;
|
|
190
|
+
transform: translate(var(--percentage), 0);
|
|
191
|
+
transition: var(--amplify-liveness-match-indicator-transition);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.amplify-liveness-match-indicator__bar:after {
|
|
195
|
+
position: absolute;
|
|
196
|
+
content: "";
|
|
197
|
+
width: 100%;
|
|
198
|
+
height: 100%;
|
|
199
|
+
background: var(--amplify-colors-primary-40);
|
|
200
|
+
left: -100%;
|
|
201
|
+
transform: translate(var(--percentage), 0);
|
|
202
|
+
transition: var(--amplify-liveness-match-indicator-transition);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.amplify-liveness-match-indicator__pin:after {
|
|
206
|
+
--height: var(--amplify-space-xl);
|
|
207
|
+
position: absolute;
|
|
208
|
+
content: "";
|
|
209
|
+
width: var(--amplify-space-small);
|
|
210
|
+
height: var(--height);
|
|
211
|
+
border-radius: var(--amplify-radii-medium);
|
|
212
|
+
background: var(--amplify-colors-primary-80);
|
|
213
|
+
left: 0;
|
|
214
|
+
top: 0;
|
|
215
|
+
transform: translate(-50%, calc(var(--height) / 2 * -1));
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.amplify-liveness-figures {
|
|
219
|
+
flex-wrap: wrap;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.amplify-liveness-figure {
|
|
223
|
+
flex-direction: column;
|
|
224
|
+
gap: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.amplify-liveness-figure__caption {
|
|
228
|
+
padding: var(--amplify-space-xxs);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.amplify-liveness-figure__caption--success {
|
|
232
|
+
background-color: var(--amplify-colors-background-success);
|
|
233
|
+
color: var(--amplify-colors-font-success);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.amplify-liveness-figure__caption--error {
|
|
237
|
+
background-color: var(--amplify-colors-background-error);
|
|
238
|
+
color: var(--amplify-colors-font-error);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.amplify-liveness-figure__image {
|
|
242
|
+
background-color: #fff;
|
|
243
|
+
border: 1px solid var(--amplify-colors-border-primary);
|
|
244
|
+
position: relative;
|
|
245
|
+
display: flex;
|
|
246
|
+
justify-content: center;
|
|
247
|
+
}
|
|
248
|
+
.amplify-liveness-figure__image svg {
|
|
249
|
+
display: block;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.amplify-liveness-figure__image--success {
|
|
253
|
+
border-color: var(--amplify-colors-green-90);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.amplify-liveness-figure__image--error {
|
|
257
|
+
border-color: var(--amplify-colors-border-error);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.amplify-liveness-figure__icon {
|
|
261
|
+
position: absolute;
|
|
262
|
+
left: 0;
|
|
263
|
+
top: 0;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.amplify-liveness-landscape-error-modal {
|
|
267
|
+
background-color: var(--amplify-colors-background-primary);
|
|
268
|
+
direction: column;
|
|
269
|
+
text-align: center;
|
|
270
|
+
align-items: center;
|
|
271
|
+
justify-content: center;
|
|
272
|
+
width: 100%;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.amplify-liveness-landscape-error-modal__header {
|
|
276
|
+
font-size: large;
|
|
277
|
+
font-weight: var(--amplify-font-weights-bold);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.amplify-liveness-landscape-error-modal__button {
|
|
281
|
+
justify-content: center;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.amplify-liveness-start-screen-header {
|
|
285
|
+
display: flex;
|
|
286
|
+
flex-direction: column;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.amplify-liveness-start-screen-header__heading {
|
|
290
|
+
color: var(--amplify-colors-font-primary);
|
|
291
|
+
font-weight: var(--amplify-font-weights-bold);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.amplify-liveness-start-screen-header__body {
|
|
295
|
+
color: var(--amplify-colors-font-primary);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.amplify-liveness-start-screen-warning {
|
|
299
|
+
color: var(--amplify-colors-orange-80);
|
|
300
|
+
background-color: var(--amplify-colors-orange-20);
|
|
301
|
+
align-items: center;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.amplify-liveness-start-screen-instructions__heading {
|
|
305
|
+
color: var(--amplify-colors-font-primary);
|
|
306
|
+
font-weight: var(--amplify-font-weights-bold);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.amplify-liveness-overlay-opaque {
|
|
310
|
+
background-color: var(--amplify-colors-overlay-40);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.amplify-liveness-overlay {
|
|
314
|
+
flex-direction: column;
|
|
315
|
+
position: absolute;
|
|
316
|
+
left: 0;
|
|
317
|
+
top: 0;
|
|
318
|
+
width: 100%;
|
|
319
|
+
height: 100%;
|
|
320
|
+
padding: var(--amplify-space-xl);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.amplify-liveness-error-modal {
|
|
324
|
+
gap: var(--amplify-space-xs);
|
|
325
|
+
align-items: center;
|
|
326
|
+
justify-content: center;
|
|
327
|
+
color: var(--amplify-colors-font-error);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.amplify-liveness-error-modal__heading {
|
|
331
|
+
font-weight: var(--amplify-font-weights-bold);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.amplify-liveness-hint__text {
|
|
335
|
+
align-items: center;
|
|
336
|
+
gap: var(--amplify-space-xs);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.amplify-liveness-popover {
|
|
340
|
+
position: relative;
|
|
341
|
+
cursor: pointer;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.amplify-liveness-popover__anchor {
|
|
345
|
+
position: absolute;
|
|
346
|
+
top: 26px;
|
|
347
|
+
left: 3px;
|
|
348
|
+
z-index: 3;
|
|
349
|
+
border-style: solid;
|
|
350
|
+
border-width: 0 9px 9px 9px;
|
|
351
|
+
border-color: transparent transparent var(--amplify-colors-background-primary) transparent;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.amplify-liveness-popover__anchor-secondary {
|
|
355
|
+
position: absolute;
|
|
356
|
+
top: 24px;
|
|
357
|
+
left: 2px;
|
|
358
|
+
z-index: 2;
|
|
359
|
+
border-style: solid;
|
|
360
|
+
border-width: 0 10px 10px 10px;
|
|
361
|
+
border-color: transparent transparent var(--amplify-colors-border-secondary) transparent;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.amplify-liveness-popover__container {
|
|
365
|
+
position: absolute;
|
|
366
|
+
background-color: var(--amplify-colors-background-primary);
|
|
367
|
+
color: var(--amplify-colors-font-primary);
|
|
368
|
+
flex-direction: row;
|
|
369
|
+
font-size: var(--amplify-font-sizes-xs);
|
|
370
|
+
padding: var(--amplify-space-small);
|
|
371
|
+
top: 33px;
|
|
372
|
+
width: 240px;
|
|
373
|
+
border: 1px solid var(--amplify-colors-border-secondary);
|
|
374
|
+
border-radius: 2px;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
.amplify-loader {
|
|
2
|
+
width: var(--amplify-components-loader-width);
|
|
3
|
+
height: var(--amplify-components-loader-height);
|
|
4
|
+
font-size: var(--amplify-components-loader-font-size);
|
|
5
|
+
fill: none;
|
|
6
|
+
stroke: var(--amplify-components-loader-stroke-empty);
|
|
7
|
+
--amplify-internal-loader-linear-font-size: var(
|
|
8
|
+
--amplify-components-loader-linear-font-size
|
|
9
|
+
);
|
|
10
|
+
--amplify-internal-loader-linear-stroke-width: var(
|
|
11
|
+
--amplify-components-loader-linear-stroke-width
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
.amplify-loader circle:last-of-type {
|
|
15
|
+
transform-origin: center center;
|
|
16
|
+
animation-name: amplify-loader-circular;
|
|
17
|
+
animation-timing-function: linear;
|
|
18
|
+
animation-iteration-count: infinite;
|
|
19
|
+
animation-duration: var(--amplify-components-loader-animation-duration);
|
|
20
|
+
stroke: var(--amplify-components-loader-stroke-filled);
|
|
21
|
+
stroke-linecap: var(--amplify-components-loader-stroke-linecap);
|
|
22
|
+
}
|
|
23
|
+
@media (prefers-reduced-motion) {
|
|
24
|
+
.amplify-loader circle:last-of-type {
|
|
25
|
+
animation: none;
|
|
26
|
+
stroke-dasharray: 100% 200%;
|
|
27
|
+
stroke-dashoffset: 50%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.amplify-loader line:last-of-type {
|
|
31
|
+
stroke: var(--amplify-components-loader-linear-stroke-filled);
|
|
32
|
+
stroke-dasharray: 50% 200%;
|
|
33
|
+
animation-name: amplify-loader-linear;
|
|
34
|
+
animation-duration: var(--amplify-components-loader-linear-animation-duration);
|
|
35
|
+
animation-timing-function: linear;
|
|
36
|
+
animation-iteration-count: infinite;
|
|
37
|
+
}
|
|
38
|
+
@media (prefers-reduced-motion) {
|
|
39
|
+
.amplify-loader line:last-of-type {
|
|
40
|
+
animation: none;
|
|
41
|
+
stroke-dashoffset: -50%;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.amplify-loader--small {
|
|
45
|
+
width: var(--amplify-components-loader-small-width);
|
|
46
|
+
height: var(--amplify-components-loader-small-height);
|
|
47
|
+
font-size: var(--amplify-components-loader-small-font-size);
|
|
48
|
+
--amplify-internal-loader-linear-stroke-width: var(
|
|
49
|
+
--amplify-components-loader-linear-small-stroke-width
|
|
50
|
+
);
|
|
51
|
+
--amplify-internal-loader-linear-font-size: var(
|
|
52
|
+
--amplify-components-loader-linear-small-font-size
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
.amplify-loader--large {
|
|
56
|
+
width: var(--amplify-components-loader-large-width);
|
|
57
|
+
height: var(--amplify-components-loader-large-height);
|
|
58
|
+
font-size: var(--amplify-components-loader-large-font-size);
|
|
59
|
+
--amplify-internal-loader-linear-stroke-width: var(
|
|
60
|
+
--amplify-components-loader-linear-large-stroke-width
|
|
61
|
+
);
|
|
62
|
+
--amplify-internal-loader-linear-font-size: var(
|
|
63
|
+
--amplify-components-loader-linear-large-font-size
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
.amplify-loader--linear {
|
|
67
|
+
width: var(--amplify-components-loader-linear-width);
|
|
68
|
+
min-width: var(--amplify-components-loader-linear-min-width);
|
|
69
|
+
stroke: var(--amplify-components-loader-linear-stroke-empty);
|
|
70
|
+
stroke-linecap: var(--amplify-components-loader-linear-stroke-linecap);
|
|
71
|
+
stroke-width: var(--amplify-internal-loader-linear-stroke-width);
|
|
72
|
+
font-size: var(--amplify-internal-loader-linear-font-size);
|
|
73
|
+
}
|
|
74
|
+
.amplify-loader--determinate circle:last-of-type {
|
|
75
|
+
animation: none;
|
|
76
|
+
transform: rotate(-90deg);
|
|
77
|
+
}
|
|
78
|
+
.amplify-loader--determinate line:last-of-type {
|
|
79
|
+
animation: none;
|
|
80
|
+
stroke-dashoffset: 0%;
|
|
81
|
+
stroke-dasharray: none;
|
|
82
|
+
}
|
|
83
|
+
.amplify-loader__label {
|
|
84
|
+
fill: var(--amplify-components-loader-text-fill);
|
|
85
|
+
stroke: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@keyframes amplify-loader-circular {
|
|
89
|
+
0% {
|
|
90
|
+
stroke-dasharray: 100% 200%;
|
|
91
|
+
transform: rotate(120deg);
|
|
92
|
+
}
|
|
93
|
+
50% {
|
|
94
|
+
stroke-dasharray: 20% 400%;
|
|
95
|
+
}
|
|
96
|
+
100% {
|
|
97
|
+
stroke-dasharray: 100% 200%;
|
|
98
|
+
transform: rotate(480deg);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
@keyframes amplify-loader-linear {
|
|
102
|
+
0% {
|
|
103
|
+
stroke-dashoffset: 200%;
|
|
104
|
+
}
|
|
105
|
+
100% {
|
|
106
|
+
stroke-dashoffset: -50%;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
@layer amplify.components {
|
|
2
|
+
.amplify-loader {
|
|
3
|
+
width: var(--amplify-components-loader-width);
|
|
4
|
+
height: var(--amplify-components-loader-height);
|
|
5
|
+
font-size: var(--amplify-components-loader-font-size);
|
|
6
|
+
fill: none;
|
|
7
|
+
stroke: var(--amplify-components-loader-stroke-empty);
|
|
8
|
+
--amplify-internal-loader-linear-font-size: var(
|
|
9
|
+
--amplify-components-loader-linear-font-size
|
|
10
|
+
);
|
|
11
|
+
--amplify-internal-loader-linear-stroke-width: var(
|
|
12
|
+
--amplify-components-loader-linear-stroke-width
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
.amplify-loader circle:last-of-type {
|
|
16
|
+
transform-origin: center center;
|
|
17
|
+
animation-name: amplify-loader-circular;
|
|
18
|
+
animation-timing-function: linear;
|
|
19
|
+
animation-iteration-count: infinite;
|
|
20
|
+
animation-duration: var(--amplify-components-loader-animation-duration);
|
|
21
|
+
stroke: var(--amplify-components-loader-stroke-filled);
|
|
22
|
+
stroke-linecap: var(--amplify-components-loader-stroke-linecap);
|
|
23
|
+
}
|
|
24
|
+
@media (prefers-reduced-motion) {
|
|
25
|
+
.amplify-loader circle:last-of-type {
|
|
26
|
+
animation: none;
|
|
27
|
+
stroke-dasharray: 100% 200%;
|
|
28
|
+
stroke-dashoffset: 50%;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.amplify-loader line:last-of-type {
|
|
32
|
+
stroke: var(--amplify-components-loader-linear-stroke-filled);
|
|
33
|
+
stroke-dasharray: 50% 200%;
|
|
34
|
+
animation-name: amplify-loader-linear;
|
|
35
|
+
animation-duration: var(--amplify-components-loader-linear-animation-duration);
|
|
36
|
+
animation-timing-function: linear;
|
|
37
|
+
animation-iteration-count: infinite;
|
|
38
|
+
}
|
|
39
|
+
@media (prefers-reduced-motion) {
|
|
40
|
+
.amplify-loader line:last-of-type {
|
|
41
|
+
animation: none;
|
|
42
|
+
stroke-dashoffset: -50%;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.amplify-loader--small {
|
|
46
|
+
width: var(--amplify-components-loader-small-width);
|
|
47
|
+
height: var(--amplify-components-loader-small-height);
|
|
48
|
+
font-size: var(--amplify-components-loader-small-font-size);
|
|
49
|
+
--amplify-internal-loader-linear-stroke-width: var(
|
|
50
|
+
--amplify-components-loader-linear-small-stroke-width
|
|
51
|
+
);
|
|
52
|
+
--amplify-internal-loader-linear-font-size: var(
|
|
53
|
+
--amplify-components-loader-linear-small-font-size
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
.amplify-loader--large {
|
|
57
|
+
width: var(--amplify-components-loader-large-width);
|
|
58
|
+
height: var(--amplify-components-loader-large-height);
|
|
59
|
+
font-size: var(--amplify-components-loader-large-font-size);
|
|
60
|
+
--amplify-internal-loader-linear-stroke-width: var(
|
|
61
|
+
--amplify-components-loader-linear-large-stroke-width
|
|
62
|
+
);
|
|
63
|
+
--amplify-internal-loader-linear-font-size: var(
|
|
64
|
+
--amplify-components-loader-linear-large-font-size
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
.amplify-loader--linear {
|
|
68
|
+
width: var(--amplify-components-loader-linear-width);
|
|
69
|
+
min-width: var(--amplify-components-loader-linear-min-width);
|
|
70
|
+
stroke: var(--amplify-components-loader-linear-stroke-empty);
|
|
71
|
+
stroke-linecap: var(--amplify-components-loader-linear-stroke-linecap);
|
|
72
|
+
stroke-width: var(--amplify-internal-loader-linear-stroke-width);
|
|
73
|
+
font-size: var(--amplify-internal-loader-linear-font-size);
|
|
74
|
+
}
|
|
75
|
+
.amplify-loader--determinate circle:last-of-type {
|
|
76
|
+
animation: none;
|
|
77
|
+
transform: rotate(-90deg);
|
|
78
|
+
}
|
|
79
|
+
.amplify-loader--determinate line:last-of-type {
|
|
80
|
+
animation: none;
|
|
81
|
+
stroke-dashoffset: 0%;
|
|
82
|
+
stroke-dasharray: none;
|
|
83
|
+
}
|
|
84
|
+
.amplify-loader__label {
|
|
85
|
+
fill: var(--amplify-components-loader-text-fill);
|
|
86
|
+
stroke: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@keyframes amplify-loader-circular {
|
|
90
|
+
0% {
|
|
91
|
+
stroke-dasharray: 100% 200%;
|
|
92
|
+
transform: rotate(120deg);
|
|
93
|
+
}
|
|
94
|
+
50% {
|
|
95
|
+
stroke-dasharray: 20% 400%;
|
|
96
|
+
}
|
|
97
|
+
100% {
|
|
98
|
+
stroke-dasharray: 100% 200%;
|
|
99
|
+
transform: rotate(480deg);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
@keyframes amplify-loader-linear {
|
|
103
|
+
0% {
|
|
104
|
+
stroke-dashoffset: 200%;
|
|
105
|
+
}
|
|
106
|
+
100% {
|
|
107
|
+
stroke-dashoffset: -50%;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.amplify-menu__wrapper {
|
|
2
|
+
z-index: 999999;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.amplify-menu__trigger {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-items: center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.amplify-menu__content {
|
|
12
|
+
background-color: var(--amplify-components-menu-background-color);
|
|
13
|
+
border-radius: var(--amplify-components-menu-border-radius);
|
|
14
|
+
box-shadow: var(--amplify-components-menu-box-shadow);
|
|
15
|
+
flex-direction: var(--amplify-components-menu-flex-direction);
|
|
16
|
+
gap: var(--amplify-components-menu-gap);
|
|
17
|
+
min-width: var(--amplify-components-menu-min-width);
|
|
18
|
+
max-width: var(--amplify-components-menu-max-width);
|
|
19
|
+
border-color: var(--amplify-components-menu-border-color);
|
|
20
|
+
border-width: var(--amplify-components-menu-border-width);
|
|
21
|
+
border-style: var(--amplify-components-menu-border-style);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.amplify-menu__content__item {
|
|
25
|
+
min-height: var(--amplify-components-menu-item-min-height);
|
|
26
|
+
padding-inline-start: var(--amplify-components-menu-item-padding-inline-start);
|
|
27
|
+
padding-inline-end: var(--amplify-components-menu-item-padding-inline-end);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.amplify-menu__content__item:not(:first-child):not(:last-child) {
|
|
31
|
+
border-radius: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.amplify-menu__content__item:first-child {
|
|
35
|
+
border-end-end-radius: 0;
|
|
36
|
+
border-end-start-radius: 0;
|
|
37
|
+
}
|
|
38
|
+
@supports not (border-end-end-radius: 0) {
|
|
39
|
+
.amplify-menu__content__item:first-child {
|
|
40
|
+
border-bottom-right-radius: 0;
|
|
41
|
+
border-bottom-left-radius: 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.amplify-menu__content__item:last-child {
|
|
46
|
+
border-start-end-radius: 0;
|
|
47
|
+
border-start-start-radius: 0;
|
|
48
|
+
}
|
|
49
|
+
@supports not (border-end-end-radius: 0) {
|
|
50
|
+
.amplify-menu__content__item:last-child {
|
|
51
|
+
border-top-right-radius: 0;
|
|
52
|
+
border-top-left-radius: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@layer amplify.components {
|
|
2
|
+
.amplify-menu__wrapper {
|
|
3
|
+
z-index: 999999;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.amplify-menu__trigger {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.amplify-menu__content {
|
|
13
|
+
background-color: var(--amplify-components-menu-background-color);
|
|
14
|
+
border-radius: var(--amplify-components-menu-border-radius);
|
|
15
|
+
box-shadow: var(--amplify-components-menu-box-shadow);
|
|
16
|
+
flex-direction: var(--amplify-components-menu-flex-direction);
|
|
17
|
+
gap: var(--amplify-components-menu-gap);
|
|
18
|
+
min-width: var(--amplify-components-menu-min-width);
|
|
19
|
+
max-width: var(--amplify-components-menu-max-width);
|
|
20
|
+
border-color: var(--amplify-components-menu-border-color);
|
|
21
|
+
border-width: var(--amplify-components-menu-border-width);
|
|
22
|
+
border-style: var(--amplify-components-menu-border-style);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.amplify-menu__content__item {
|
|
26
|
+
min-height: var(--amplify-components-menu-item-min-height);
|
|
27
|
+
padding-inline-start: var(--amplify-components-menu-item-padding-inline-start);
|
|
28
|
+
padding-inline-end: var(--amplify-components-menu-item-padding-inline-end);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.amplify-menu__content__item:not(:first-child):not(:last-child) {
|
|
32
|
+
border-radius: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.amplify-menu__content__item:first-child {
|
|
36
|
+
border-end-end-radius: 0;
|
|
37
|
+
border-end-start-radius: 0;
|
|
38
|
+
}
|
|
39
|
+
@supports not (border-end-end-radius: 0) {
|
|
40
|
+
.amplify-menu__content__item:first-child {
|
|
41
|
+
border-bottom-right-radius: 0;
|
|
42
|
+
border-bottom-left-radius: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.amplify-menu__content__item:last-child {
|
|
47
|
+
border-start-end-radius: 0;
|
|
48
|
+
border-start-start-radius: 0;
|
|
49
|
+
}
|
|
50
|
+
@supports not (border-end-end-radius: 0) {
|
|
51
|
+
.amplify-menu__content__item:last-child {
|
|
52
|
+
border-top-right-radius: 0;
|
|
53
|
+
border-top-left-radius: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|