@aws-amplify/ui 5.8.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/esm/helpers/accountSettings/utils.mjs +33 -1
- package/dist/esm/helpers/accountSettings/validator.mjs +120 -1
- package/dist/esm/helpers/authenticator/actor.mjs +20 -1
- package/dist/esm/helpers/authenticator/constants.mjs +144 -1
- package/dist/esm/helpers/authenticator/defaultAuthHubHandler.mjs +52 -0
- package/dist/esm/helpers/authenticator/facade.mjs +137 -1
- package/dist/esm/helpers/authenticator/form.mjs +43 -1
- package/dist/esm/helpers/authenticator/formFields/defaults.mjs +132 -1
- package/dist/esm/helpers/authenticator/formFields/formFields.mjs +62 -1
- package/dist/esm/helpers/authenticator/formFields/utils.mjs +35 -0
- package/dist/esm/helpers/authenticator/getRoute.mjs +47 -0
- package/dist/esm/helpers/authenticator/textUtil.mjs +112 -1
- package/dist/esm/helpers/authenticator/utils.mjs +38 -1
- package/dist/esm/helpers/utils.mjs +5 -1
- package/dist/esm/i18n/country-dial-codes.mjs +210 -1
- package/dist/esm/i18n/dictionaries/authenticator/de.mjs +87 -1
- package/dist/esm/i18n/dictionaries/authenticator/defaultTexts.mjs +83 -1
- package/dist/esm/i18n/dictionaries/authenticator/en.mjs +74 -1
- package/dist/esm/i18n/dictionaries/authenticator/es.mjs +83 -1
- package/dist/esm/i18n/dictionaries/authenticator/fr.mjs +92 -1
- package/dist/esm/i18n/dictionaries/authenticator/he.mjs +54 -1
- package/dist/esm/i18n/dictionaries/authenticator/id.mjs +96 -1
- package/dist/esm/i18n/dictionaries/authenticator/it.mjs +82 -1
- package/dist/esm/i18n/dictionaries/authenticator/ja.mjs +86 -1
- package/dist/esm/i18n/dictionaries/authenticator/kr.mjs +71 -1
- package/dist/esm/i18n/dictionaries/authenticator/nb.mjs +95 -1
- package/dist/esm/i18n/dictionaries/authenticator/nl.mjs +67 -1
- package/dist/esm/i18n/dictionaries/authenticator/pl.mjs +71 -1
- package/dist/esm/i18n/dictionaries/authenticator/pt.mjs +61 -1
- package/dist/esm/i18n/dictionaries/authenticator/ru.mjs +61 -1
- package/dist/esm/i18n/dictionaries/authenticator/sv.mjs +82 -1
- package/dist/esm/i18n/dictionaries/authenticator/tr.mjs +76 -1
- package/dist/esm/i18n/dictionaries/authenticator/ua.mjs +84 -1
- package/dist/esm/i18n/dictionaries/authenticator/zh.mjs +74 -1
- package/dist/esm/i18n/dictionaries/index.mjs +47 -1
- package/dist/esm/i18n/translations.mjs +67 -1
- package/dist/esm/index.mjs +28 -1
- package/dist/esm/machines/authenticator/actions.mjs +188 -1
- package/dist/esm/machines/authenticator/actors/forgotPassword.mjs +184 -0
- package/dist/esm/machines/authenticator/actors/signIn.mjs +328 -1
- package/dist/esm/machines/authenticator/actors/signOut.mjs +28 -1
- package/dist/esm/machines/authenticator/actors/signUp.mjs +295 -0
- package/dist/esm/machines/authenticator/actors/verifyUserAttributes.mjs +106 -0
- package/dist/esm/machines/authenticator/defaultServices.mjs +102 -1
- package/dist/esm/machines/authenticator/guards.mjs +70 -0
- package/dist/esm/machines/authenticator/index.mjs +368 -1
- package/dist/esm/machines/authenticator/utils.mjs +71 -0
- package/dist/esm/theme/breakpoints.mjs +14 -1
- package/dist/esm/theme/createTheme.mjs +156 -1
- package/dist/esm/theme/defaultDarkModeOverride.mjs +128 -1
- package/dist/esm/theme/defaultTheme.mjs +10 -1
- package/dist/esm/theme/tokens/borderWidths.mjs +7 -1
- package/dist/esm/theme/tokens/colors.mjs +166 -1
- package/dist/esm/theme/tokens/components/accordion.mjs +47 -0
- package/dist/esm/theme/tokens/components/alert.mjs +35 -1
- package/dist/esm/theme/tokens/components/authenticator.mjs +39 -1
- package/dist/esm/theme/tokens/components/autocomplete.mjs +42 -1
- package/dist/esm/theme/tokens/components/badge.mjs +44 -1
- package/dist/esm/theme/tokens/components/breadcrumbs.mjs +34 -1
- package/dist/esm/theme/tokens/components/button.mjs +685 -1
- package/dist/esm/theme/tokens/components/card.mjs +27 -1
- package/dist/esm/theme/tokens/components/checkbox.mjs +87 -1
- package/dist/esm/theme/tokens/components/checkboxField.mjs +8 -1
- package/dist/esm/theme/tokens/components/collection.mjs +72 -1
- package/dist/esm/theme/tokens/components/copy.mjs +18 -1
- package/dist/esm/theme/tokens/components/dialCodeSelect.mjs +7 -1
- package/dist/esm/theme/tokens/components/divider.mjs +22 -1
- package/dist/esm/theme/tokens/components/dropZone.mjs +46 -1
- package/dist/esm/theme/tokens/components/field.mjs +20 -1
- package/dist/esm/theme/tokens/components/fieldControl.mjs +131 -1
- package/dist/esm/theme/tokens/components/fieldGroup.mjs +11 -1
- package/dist/esm/theme/tokens/components/fieldMessages.mjs +13 -1
- package/dist/esm/theme/tokens/components/fieldset.mjs +40 -1
- package/dist/esm/theme/tokens/components/flex.mjs +9 -1
- package/dist/esm/theme/tokens/components/heading.mjs +30 -1
- package/dist/esm/theme/tokens/components/highlightMatch.mjs +7 -1
- package/dist/esm/theme/tokens/components/icon.mjs +6 -1
- package/dist/esm/theme/tokens/components/image.mjs +8 -1
- package/dist/esm/theme/tokens/components/inAppMessaging.mjs +23 -1
- package/dist/esm/theme/tokens/components/index.mjs +111 -1
- package/dist/esm/theme/tokens/components/input.mjs +12 -1
- package/dist/esm/theme/tokens/components/link.mjs +9 -1
- package/dist/esm/theme/tokens/components/liveness.mjs +7 -1
- package/dist/esm/theme/tokens/components/loader.mjs +42 -1
- package/dist/esm/theme/tokens/components/menu.mjs +27 -1
- package/dist/esm/theme/tokens/components/message.mjs +102 -1
- package/dist/esm/theme/tokens/components/pagination.mjs +40 -1
- package/dist/esm/theme/tokens/components/passwordField.mjs +38 -1
- package/dist/esm/theme/tokens/components/phoneNumberField.mjs +10 -1
- package/dist/esm/theme/tokens/components/placeholder.mjs +18 -1
- package/dist/esm/theme/tokens/components/radio.mjs +67 -1
- package/dist/esm/theme/tokens/components/radioGroup.mjs +19 -1
- package/dist/esm/theme/tokens/components/rating.mjs +9 -1
- package/dist/esm/theme/tokens/components/searchField.mjs +39 -1
- package/dist/esm/theme/tokens/components/select.mjs +63 -1
- package/dist/esm/theme/tokens/components/selectField.mjs +16 -1
- package/dist/esm/theme/tokens/components/sliderField.mjs +70 -1
- package/dist/esm/theme/tokens/components/stepperField.mjs +33 -1
- package/dist/esm/theme/tokens/components/storagemanager.mjs +97 -1
- package/dist/esm/theme/tokens/components/switchField.mjs +61 -1
- package/dist/esm/theme/tokens/components/table.mjs +105 -1
- package/dist/esm/theme/tokens/components/tabs.mjs +59 -1
- package/dist/esm/theme/tokens/components/text.mjs +28 -1
- package/dist/esm/theme/tokens/components/textAreaField.mjs +11 -1
- package/dist/esm/theme/tokens/components/textField.mjs +12 -1
- package/dist/esm/theme/tokens/components/toggleButton.mjs +96 -1
- package/dist/esm/theme/tokens/components/toggleButtonGroup.mjs +7 -1
- package/dist/esm/theme/tokens/fontSizes.mjs +14 -1
- package/dist/esm/theme/tokens/fontWeights.mjs +13 -1
- package/dist/esm/theme/tokens/fonts.mjs +19 -1
- package/dist/esm/theme/tokens/index.mjs +65 -1
- package/dist/esm/theme/tokens/lineHeights.mjs +7 -1
- package/dist/esm/theme/tokens/opacities.mjs +15 -1
- package/dist/esm/theme/tokens/outlineOffsets.mjs +7 -1
- package/dist/esm/theme/tokens/outlineWidths.mjs +7 -1
- package/dist/esm/theme/tokens/radii.mjs +11 -1
- package/dist/esm/theme/tokens/shadows.mjs +28 -1
- package/dist/esm/theme/tokens/space.mjs +29 -1
- package/dist/esm/theme/tokens/time.mjs +7 -1
- package/dist/esm/theme/tokens/transforms.mjs +10 -1
- package/dist/esm/theme/utils.mjs +81 -1
- package/dist/esm/types/authenticator/attributes.mjs +41 -1
- package/dist/esm/types/authenticator/user.mjs +18 -1
- package/dist/esm/types/authenticator/utils.mjs +5 -1
- package/dist/esm/types/primitives/componentClassName.mjs +164 -1
- package/dist/esm/utils/classNames.mjs +39 -0
- package/dist/esm/utils/setUserAgent/constants.mjs +43 -0
- package/dist/esm/utils/setUserAgent/setUserAgent.mjs +65 -0
- package/dist/esm/utils/utils.mjs +227 -0
- package/dist/esm/validators/index.mjs +19 -1
- package/dist/index.js +8396 -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 +298 -684
- package/dist/styles.layer.css +6115 -0
- package/dist/theme.css +93 -156
- package/dist/types/helpers/accountSettings/utils.d.ts +1 -3
- package/dist/types/helpers/authenticator/actor.d.ts +1 -1
- package/dist/types/helpers/authenticator/constants.d.ts +5 -0
- package/dist/types/helpers/authenticator/defaultAuthHubHandler.d.ts +15 -0
- package/dist/types/helpers/authenticator/facade.d.ts +35 -6
- package/dist/types/helpers/authenticator/formFields/defaults.d.ts +3 -1
- package/dist/types/helpers/authenticator/formFields/formFields.d.ts +2 -1
- package/dist/types/helpers/authenticator/formFields/index.d.ts +1 -1
- package/dist/types/helpers/authenticator/formFields/{util.d.ts → utils.d.ts} +2 -0
- package/dist/types/helpers/authenticator/getRoute.d.ts +2 -0
- package/dist/types/helpers/authenticator/index.d.ts +2 -1
- package/dist/types/helpers/authenticator/textUtil.d.ts +8 -7
- package/dist/types/{types/authenticator/stateMachine/authMachine.d.ts → helpers/authenticator/types.d.ts} +5 -5
- package/dist/types/helpers/authenticator/utils.d.ts +0 -25
- package/dist/types/helpers/index.d.ts +0 -1
- package/dist/types/helpers/utils.d.ts +2 -2
- package/dist/types/i18n/translations.d.ts +2 -3
- package/dist/types/machines/authenticator/actions.d.ts +4 -62
- package/dist/types/machines/authenticator/actors/{resetPassword.d.ts → forgotPassword.d.ts} +3 -3
- package/dist/types/machines/authenticator/actors/index.d.ts +3 -1
- package/dist/types/machines/authenticator/actors/signIn.d.ts +3 -3
- package/dist/types/machines/authenticator/actors/signOut.d.ts +2 -2
- package/dist/types/machines/authenticator/{signUp.d.ts → actors/signUp.d.ts} +3 -3
- package/dist/types/machines/authenticator/actors/verifyUserAttributes.d.ts +5 -0
- package/dist/types/machines/authenticator/defaultServices.d.ts +208 -28
- package/dist/types/machines/authenticator/getAuthenticatorConfig.d.ts +14 -0
- package/dist/types/machines/authenticator/guards.d.ts +4 -0
- package/dist/types/machines/authenticator/index.d.ts +4 -2
- package/dist/types/machines/authenticator/types.d.ts +125 -0
- package/dist/types/machines/authenticator/utils.d.ts +7 -0
- package/dist/types/machines/index.d.ts +1 -0
- package/dist/types/theme/tokens/borderWidths.d.ts +2 -2
- package/dist/types/theme/tokens/colors.d.ts +7 -9
- package/dist/types/theme/tokens/components/accordion.d.ts +12 -0
- package/dist/types/theme/tokens/components/index.d.ts +2 -4
- package/dist/types/theme/tokens/components/radioGroup.d.ts +1 -1
- package/dist/types/theme/tokens/components/storagemanager.d.ts +18 -3
- package/dist/types/theme/tokens/components/tabs.d.ts +4 -3
- package/dist/types/theme/tokens/fontSizes.d.ts +2 -2
- package/dist/types/theme/tokens/fontWeights.d.ts +2 -2
- package/dist/types/theme/tokens/fonts.d.ts +2 -2
- package/dist/types/theme/tokens/lineHeights.d.ts +2 -2
- package/dist/types/theme/tokens/opacities.d.ts +2 -2
- package/dist/types/theme/tokens/outlineOffsets.d.ts +2 -2
- package/dist/types/theme/tokens/outlineWidths.d.ts +2 -2
- package/dist/types/theme/tokens/radii.d.ts +2 -2
- package/dist/types/theme/tokens/shadows.d.ts +2 -2
- package/dist/types/theme/tokens/space.d.ts +2 -2
- package/dist/types/theme/tokens/time.d.ts +2 -2
- package/dist/types/theme/tokens/types/designToken.d.ts +12 -6
- package/dist/types/theme/types.d.ts +5 -1
- package/dist/types/types/authenticator/attributes.d.ts +10 -4
- package/dist/types/types/authenticator/form.d.ts +7 -6
- package/dist/types/types/authenticator/index.d.ts +0 -1
- package/dist/types/types/authenticator/user.d.ts +3 -29
- package/dist/types/types/authenticator/validator.d.ts +2 -2
- package/dist/types/types/displayText.d.ts +84 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/primitives/componentClassName.d.ts +162 -180
- package/dist/types/types/util.d.ts +0 -5
- package/dist/types/utils/classNames.d.ts +4 -0
- package/dist/types/utils/index.d.ts +3 -135
- package/dist/types/utils/setUserAgent/constants.d.ts +7 -0
- package/dist/types/utils/setUserAgent/index.d.ts +1 -0
- package/dist/types/utils/setUserAgent/setUserAgent.d.ts +19 -0
- package/dist/types/utils/utils.d.ts +147 -0
- package/dist/types/validators/index.d.ts +2 -2
- package/package.json +5 -19
- package/dist/esm/helpers/authenticator/context.mjs +0 -1
- package/dist/esm/helpers/authenticator/formFields/util.mjs +0 -1
- package/dist/esm/helpers/storage/fileUploader/utils/uploader.mjs +0 -1
- package/dist/esm/machines/authenticator/actors/resetPassword.mjs +0 -1
- package/dist/esm/machines/authenticator/signUp.mjs +0 -1
- package/dist/esm/theme/tokens/components/expander.mjs +0 -1
- package/dist/esm/theme/tokens/components/fileUploader.mjs +0 -1
- package/dist/esm/utils/index.mjs +0 -1
- package/dist/types/helpers/authenticator/context.d.ts +0 -13
- package/dist/types/helpers/storage/fileUploader/index.d.ts +0 -1
- package/dist/types/helpers/storage/fileUploader/utils/index.d.ts +0 -1
- package/dist/types/helpers/storage/fileUploader/utils/uploader.d.ts +0 -28
- package/dist/types/helpers/storage/index.d.ts +0 -1
- package/dist/types/theme/tokens/components/expander.d.ts +0 -22
- package/dist/types/theme/tokens/components/fileUploader.d.ts +0 -23
- package/dist/types/types/authenticator/stateMachine/context.d.ts +0 -109
- package/dist/types/types/authenticator/stateMachine/event.d.ts +0 -17
- package/dist/types/types/authenticator/stateMachine/index.d.ts +0 -4
- package/dist/types/types/authenticator/stateMachine/state.d.ts +0 -10
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
.amplify-inappmessaging-backdrop {
|
|
2
|
+
background-color: var(--amplify-colors-overlay-50);
|
|
3
|
+
inset: 0;
|
|
4
|
+
position: fixed;
|
|
5
|
+
z-index: 1000;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.amplify-inappmessaging-backdrop-content-container {
|
|
9
|
+
align-items: center;
|
|
10
|
+
inset: 0;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
pointer-events: none;
|
|
13
|
+
position: fixed;
|
|
14
|
+
z-index: 1001;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.amplify-inappmessaging-backdrop-content {
|
|
18
|
+
pointer-events: auto;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.amplify-inappmessaging-bannermessage {
|
|
22
|
+
box-shadow: var(--amplify-shadows-medium);
|
|
23
|
+
height: var(--amplify-components-inappmessaging-banner-height);
|
|
24
|
+
margin: var(--amplify-space-small);
|
|
25
|
+
max-width: 50%;
|
|
26
|
+
position: fixed;
|
|
27
|
+
width: var(--amplify-components-inappmessaging-banner-width);
|
|
28
|
+
}
|
|
29
|
+
.amplify-inappmessaging-bannermessage--top {
|
|
30
|
+
top: 0;
|
|
31
|
+
}
|
|
32
|
+
.amplify-inappmessaging-bannermessage--middle {
|
|
33
|
+
bottom: 0;
|
|
34
|
+
margin: auto var(--amplify-space-small);
|
|
35
|
+
top: 0;
|
|
36
|
+
}
|
|
37
|
+
.amplify-inappmessaging-bannermessage--bottom {
|
|
38
|
+
bottom: 0;
|
|
39
|
+
}
|
|
40
|
+
.amplify-inappmessaging-bannermessage--left {
|
|
41
|
+
left: 0;
|
|
42
|
+
}
|
|
43
|
+
.amplify-inappmessaging-bannermessage--center {
|
|
44
|
+
left: 0;
|
|
45
|
+
margin: var(--amplify-space-small) auto;
|
|
46
|
+
right: 0;
|
|
47
|
+
}
|
|
48
|
+
.amplify-inappmessaging-bannermessage--right {
|
|
49
|
+
right: 0;
|
|
50
|
+
}
|
|
51
|
+
.amplify-inappmessaging-bannermessage--center-middle {
|
|
52
|
+
inset: 0;
|
|
53
|
+
margin: auto;
|
|
54
|
+
}
|
|
55
|
+
.amplify-inappmessaging-bannermessage--full-width {
|
|
56
|
+
max-width: initial;
|
|
57
|
+
width: calc(100% - 2 * var(--amplify-space-small));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.amplify-inappmessaging-fullscreenmessage {
|
|
61
|
+
height: var(--amplify-components-inappmessaging-dialog-height);
|
|
62
|
+
min-height: var(--amplify-components-inappmessaging-dialog-min-height);
|
|
63
|
+
min-width: var(--amplify-components-inappmessaging-dialog-min-width);
|
|
64
|
+
width: var(--amplify-components-inappmessaging-dialog-width);
|
|
65
|
+
}
|
|
66
|
+
.amplify-inappmessaging-fullscreenmessage--fullscreen {
|
|
67
|
+
height: auto;
|
|
68
|
+
inset: 0;
|
|
69
|
+
position: fixed;
|
|
70
|
+
width: auto;
|
|
71
|
+
z-index: 1000;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.amplify-inappmessaging-messagelayout {
|
|
75
|
+
background-color: var(--amplify-colors-background-primary);
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
flex-grow: 1;
|
|
78
|
+
gap: var(--amplify-space-xxxs);
|
|
79
|
+
max-width: 100%;
|
|
80
|
+
padding: var(--amplify-space-medium);
|
|
81
|
+
}
|
|
82
|
+
.amplify-inappmessaging-messagelayout__button {
|
|
83
|
+
border-width: 0;
|
|
84
|
+
width: 100%;
|
|
85
|
+
}
|
|
86
|
+
.amplify-inappmessaging-messagelayout__button, .amplify-inappmessaging-messagelayout__button:active, .amplify-inappmessaging-messagelayout__button:visited, .amplify-inappmessaging-messagelayout__button:hover, .amplify-inappmessaging-messagelayout__button:focus {
|
|
87
|
+
background-color: var(--amplify-components-inappmessaging-button-background-color);
|
|
88
|
+
border-radius: var(--amplify-components-inappmessaging-button-border-radius);
|
|
89
|
+
color: var(--amplify-components-inappmessaging-button-color);
|
|
90
|
+
}
|
|
91
|
+
.amplify-inappmessaging-messagelayout__button--dark:active, .amplify-inappmessaging-messagelayout__button--dark:visited, .amplify-inappmessaging-messagelayout__button--light:active, .amplify-inappmessaging-messagelayout__button--light:visited {
|
|
92
|
+
filter: brightness(100%);
|
|
93
|
+
}
|
|
94
|
+
.amplify-inappmessaging-messagelayout__button--dark:hover, .amplify-inappmessaging-messagelayout__button--dark:focus {
|
|
95
|
+
filter: brightness(120%);
|
|
96
|
+
}
|
|
97
|
+
.amplify-inappmessaging-messagelayout__button--light:hover, .amplify-inappmessaging-messagelayout__button--light:focus {
|
|
98
|
+
filter: brightness(80%);
|
|
99
|
+
}
|
|
100
|
+
.amplify-inappmessaging-messagelayout__close-button {
|
|
101
|
+
color: var(--amplify-colors-neutral-80);
|
|
102
|
+
}
|
|
103
|
+
.amplify-inappmessaging-messagelayout__close-button:active, .amplify-inappmessaging-messagelayout__close-button:visited {
|
|
104
|
+
color: var(--amplify-colors-neutral-80);
|
|
105
|
+
}
|
|
106
|
+
.amplify-inappmessaging-messagelayout__close-button:hover, .amplify-inappmessaging-messagelayout__close-button:focus {
|
|
107
|
+
color: var(--amplify-colors-neutral-100);
|
|
108
|
+
}
|
|
109
|
+
.amplify-inappmessaging-messagelayout__content {
|
|
110
|
+
flex-grow: 1;
|
|
111
|
+
overflow: hidden;
|
|
112
|
+
}
|
|
113
|
+
.amplify-inappmessaging-messagelayout__content--horizontal {
|
|
114
|
+
flex-direction: row;
|
|
115
|
+
}
|
|
116
|
+
.amplify-inappmessaging-messagelayout__content--vertical {
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
justify-content: center;
|
|
119
|
+
}
|
|
120
|
+
.amplify-inappmessaging-messagelayout__header {
|
|
121
|
+
flex-shrink: 0;
|
|
122
|
+
font-size: var(--amplify-components-inappmessaging-header-font-size);
|
|
123
|
+
font-weight: var(--amplify-components-inappmessaging-header-font-weight);
|
|
124
|
+
}
|
|
125
|
+
.amplify-inappmessaging-messagelayout__image-container {
|
|
126
|
+
align-items: center;
|
|
127
|
+
display: flex;
|
|
128
|
+
justify-content: center;
|
|
129
|
+
position: relative;
|
|
130
|
+
}
|
|
131
|
+
.amplify-inappmessaging-messagelayout__image-container img {
|
|
132
|
+
max-height: 100%;
|
|
133
|
+
max-width: 100%;
|
|
134
|
+
-o-object-fit: contain;
|
|
135
|
+
object-fit: contain;
|
|
136
|
+
position: absolute;
|
|
137
|
+
}
|
|
138
|
+
.amplify-inappmessaging-messagelayout__image-container--horizontal {
|
|
139
|
+
max-width: 15%;
|
|
140
|
+
min-width: 15%;
|
|
141
|
+
}
|
|
142
|
+
.amplify-inappmessaging-messagelayout__image-container--vertical {
|
|
143
|
+
max-height: 40%;
|
|
144
|
+
min-height: 40%;
|
|
145
|
+
}
|
|
146
|
+
.amplify-inappmessaging-messagelayout__text-container {
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
overflow-y: auto;
|
|
149
|
+
gap: var(--amplify-space-xxxs);
|
|
150
|
+
}
|
|
151
|
+
.amplify-inappmessaging-messagelayout__text-container--horizontal {
|
|
152
|
+
flex-grow: 1;
|
|
153
|
+
}
|
|
154
|
+
.amplify-inappmessaging-messagelayout__text-container--vertical {
|
|
155
|
+
flex-grow: 0;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.amplify-inappmessaging-modalmessage {
|
|
159
|
+
align-items: center;
|
|
160
|
+
height: initial;
|
|
161
|
+
inset: 0;
|
|
162
|
+
justify-content: center;
|
|
163
|
+
pointer-events: none;
|
|
164
|
+
position: fixed;
|
|
165
|
+
width: initial;
|
|
166
|
+
z-index: 1000;
|
|
167
|
+
}
|
|
168
|
+
.amplify-inappmessaging-modalmessage__dialog {
|
|
169
|
+
box-shadow: var(--amplify-shadows-medium);
|
|
170
|
+
height: var(--amplify-components-inappmessaging-dialog-height);
|
|
171
|
+
min-height: var(--amplify-components-inappmessaging-dialog-min-height);
|
|
172
|
+
min-width: var(--amplify-components-inappmessaging-dialog-min-width);
|
|
173
|
+
pointer-events: auto;
|
|
174
|
+
width: var(--amplify-components-inappmessaging-dialog-width);
|
|
175
|
+
}
|
|
176
|
+
.amplify-inappmessaging-modalmessage__dialog--full-width {
|
|
177
|
+
width: 100%;
|
|
178
|
+
margin: var(--amplify-space-small);
|
|
179
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
@layer amplify.components {
|
|
2
|
+
.amplify-inappmessaging-backdrop {
|
|
3
|
+
background-color: var(--amplify-colors-overlay-50);
|
|
4
|
+
inset: 0;
|
|
5
|
+
position: fixed;
|
|
6
|
+
z-index: 1000;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.amplify-inappmessaging-backdrop-content-container {
|
|
10
|
+
align-items: center;
|
|
11
|
+
inset: 0;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
position: fixed;
|
|
15
|
+
z-index: 1001;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.amplify-inappmessaging-backdrop-content {
|
|
19
|
+
pointer-events: auto;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.amplify-inappmessaging-bannermessage {
|
|
23
|
+
box-shadow: var(--amplify-shadows-medium);
|
|
24
|
+
height: var(--amplify-components-inappmessaging-banner-height);
|
|
25
|
+
margin: var(--amplify-space-small);
|
|
26
|
+
max-width: 50%;
|
|
27
|
+
position: fixed;
|
|
28
|
+
width: var(--amplify-components-inappmessaging-banner-width);
|
|
29
|
+
}
|
|
30
|
+
.amplify-inappmessaging-bannermessage--top {
|
|
31
|
+
top: 0;
|
|
32
|
+
}
|
|
33
|
+
.amplify-inappmessaging-bannermessage--middle {
|
|
34
|
+
bottom: 0;
|
|
35
|
+
margin: auto var(--amplify-space-small);
|
|
36
|
+
top: 0;
|
|
37
|
+
}
|
|
38
|
+
.amplify-inappmessaging-bannermessage--bottom {
|
|
39
|
+
bottom: 0;
|
|
40
|
+
}
|
|
41
|
+
.amplify-inappmessaging-bannermessage--left {
|
|
42
|
+
left: 0;
|
|
43
|
+
}
|
|
44
|
+
.amplify-inappmessaging-bannermessage--center {
|
|
45
|
+
left: 0;
|
|
46
|
+
margin: var(--amplify-space-small) auto;
|
|
47
|
+
right: 0;
|
|
48
|
+
}
|
|
49
|
+
.amplify-inappmessaging-bannermessage--right {
|
|
50
|
+
right: 0;
|
|
51
|
+
}
|
|
52
|
+
.amplify-inappmessaging-bannermessage--center-middle {
|
|
53
|
+
inset: 0;
|
|
54
|
+
margin: auto;
|
|
55
|
+
}
|
|
56
|
+
.amplify-inappmessaging-bannermessage--full-width {
|
|
57
|
+
max-width: initial;
|
|
58
|
+
width: calc(100% - 2 * var(--amplify-space-small));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.amplify-inappmessaging-fullscreenmessage {
|
|
62
|
+
height: var(--amplify-components-inappmessaging-dialog-height);
|
|
63
|
+
min-height: var(--amplify-components-inappmessaging-dialog-min-height);
|
|
64
|
+
min-width: var(--amplify-components-inappmessaging-dialog-min-width);
|
|
65
|
+
width: var(--amplify-components-inappmessaging-dialog-width);
|
|
66
|
+
}
|
|
67
|
+
.amplify-inappmessaging-fullscreenmessage--fullscreen {
|
|
68
|
+
height: auto;
|
|
69
|
+
inset: 0;
|
|
70
|
+
position: fixed;
|
|
71
|
+
width: auto;
|
|
72
|
+
z-index: 1000;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.amplify-inappmessaging-messagelayout {
|
|
76
|
+
background-color: var(--amplify-colors-background-primary);
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
flex-grow: 1;
|
|
79
|
+
gap: var(--amplify-space-xxxs);
|
|
80
|
+
max-width: 100%;
|
|
81
|
+
padding: var(--amplify-space-medium);
|
|
82
|
+
}
|
|
83
|
+
.amplify-inappmessaging-messagelayout__button {
|
|
84
|
+
border-width: 0;
|
|
85
|
+
width: 100%;
|
|
86
|
+
}
|
|
87
|
+
.amplify-inappmessaging-messagelayout__button, .amplify-inappmessaging-messagelayout__button:active, .amplify-inappmessaging-messagelayout__button:visited, .amplify-inappmessaging-messagelayout__button:hover, .amplify-inappmessaging-messagelayout__button:focus {
|
|
88
|
+
background-color: var(--amplify-components-inappmessaging-button-background-color);
|
|
89
|
+
border-radius: var(--amplify-components-inappmessaging-button-border-radius);
|
|
90
|
+
color: var(--amplify-components-inappmessaging-button-color);
|
|
91
|
+
}
|
|
92
|
+
.amplify-inappmessaging-messagelayout__button--dark:active, .amplify-inappmessaging-messagelayout__button--dark:visited, .amplify-inappmessaging-messagelayout__button--light:active, .amplify-inappmessaging-messagelayout__button--light:visited {
|
|
93
|
+
filter: brightness(100%);
|
|
94
|
+
}
|
|
95
|
+
.amplify-inappmessaging-messagelayout__button--dark:hover, .amplify-inappmessaging-messagelayout__button--dark:focus {
|
|
96
|
+
filter: brightness(120%);
|
|
97
|
+
}
|
|
98
|
+
.amplify-inappmessaging-messagelayout__button--light:hover, .amplify-inappmessaging-messagelayout__button--light:focus {
|
|
99
|
+
filter: brightness(80%);
|
|
100
|
+
}
|
|
101
|
+
.amplify-inappmessaging-messagelayout__close-button {
|
|
102
|
+
color: var(--amplify-colors-neutral-80);
|
|
103
|
+
}
|
|
104
|
+
.amplify-inappmessaging-messagelayout__close-button:active, .amplify-inappmessaging-messagelayout__close-button:visited {
|
|
105
|
+
color: var(--amplify-colors-neutral-80);
|
|
106
|
+
}
|
|
107
|
+
.amplify-inappmessaging-messagelayout__close-button:hover, .amplify-inappmessaging-messagelayout__close-button:focus {
|
|
108
|
+
color: var(--amplify-colors-neutral-100);
|
|
109
|
+
}
|
|
110
|
+
.amplify-inappmessaging-messagelayout__content {
|
|
111
|
+
flex-grow: 1;
|
|
112
|
+
overflow: hidden;
|
|
113
|
+
}
|
|
114
|
+
.amplify-inappmessaging-messagelayout__content--horizontal {
|
|
115
|
+
flex-direction: row;
|
|
116
|
+
}
|
|
117
|
+
.amplify-inappmessaging-messagelayout__content--vertical {
|
|
118
|
+
flex-direction: column;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
}
|
|
121
|
+
.amplify-inappmessaging-messagelayout__header {
|
|
122
|
+
flex-shrink: 0;
|
|
123
|
+
font-size: var(--amplify-components-inappmessaging-header-font-size);
|
|
124
|
+
font-weight: var(--amplify-components-inappmessaging-header-font-weight);
|
|
125
|
+
}
|
|
126
|
+
.amplify-inappmessaging-messagelayout__image-container {
|
|
127
|
+
align-items: center;
|
|
128
|
+
display: flex;
|
|
129
|
+
justify-content: center;
|
|
130
|
+
position: relative;
|
|
131
|
+
}
|
|
132
|
+
.amplify-inappmessaging-messagelayout__image-container img {
|
|
133
|
+
max-height: 100%;
|
|
134
|
+
max-width: 100%;
|
|
135
|
+
-o-object-fit: contain;
|
|
136
|
+
object-fit: contain;
|
|
137
|
+
position: absolute;
|
|
138
|
+
}
|
|
139
|
+
.amplify-inappmessaging-messagelayout__image-container--horizontal {
|
|
140
|
+
max-width: 15%;
|
|
141
|
+
min-width: 15%;
|
|
142
|
+
}
|
|
143
|
+
.amplify-inappmessaging-messagelayout__image-container--vertical {
|
|
144
|
+
max-height: 40%;
|
|
145
|
+
min-height: 40%;
|
|
146
|
+
}
|
|
147
|
+
.amplify-inappmessaging-messagelayout__text-container {
|
|
148
|
+
flex-direction: column;
|
|
149
|
+
overflow-y: auto;
|
|
150
|
+
gap: var(--amplify-space-xxxs);
|
|
151
|
+
}
|
|
152
|
+
.amplify-inappmessaging-messagelayout__text-container--horizontal {
|
|
153
|
+
flex-grow: 1;
|
|
154
|
+
}
|
|
155
|
+
.amplify-inappmessaging-messagelayout__text-container--vertical {
|
|
156
|
+
flex-grow: 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.amplify-inappmessaging-modalmessage {
|
|
160
|
+
align-items: center;
|
|
161
|
+
height: initial;
|
|
162
|
+
inset: 0;
|
|
163
|
+
justify-content: center;
|
|
164
|
+
pointer-events: none;
|
|
165
|
+
position: fixed;
|
|
166
|
+
width: initial;
|
|
167
|
+
z-index: 1000;
|
|
168
|
+
}
|
|
169
|
+
.amplify-inappmessaging-modalmessage__dialog {
|
|
170
|
+
box-shadow: var(--amplify-shadows-medium);
|
|
171
|
+
height: var(--amplify-components-inappmessaging-dialog-height);
|
|
172
|
+
min-height: var(--amplify-components-inappmessaging-dialog-min-height);
|
|
173
|
+
min-width: var(--amplify-components-inappmessaging-dialog-min-width);
|
|
174
|
+
pointer-events: auto;
|
|
175
|
+
width: var(--amplify-components-inappmessaging-dialog-width);
|
|
176
|
+
}
|
|
177
|
+
.amplify-inappmessaging-modalmessage__dialog--full-width {
|
|
178
|
+
width: 100%;
|
|
179
|
+
margin: var(--amplify-space-small);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
.amplify-input {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
color: var(--amplify-components-fieldcontrol-color);
|
|
4
|
+
font-size: var(--amplify-components-fieldcontrol-font-size);
|
|
5
|
+
line-height: var(--amplify-components-fieldcontrol-line-height);
|
|
6
|
+
padding-block-start: var(--amplify-components-fieldcontrol-padding-block-start);
|
|
7
|
+
padding-block-end: var(--amplify-components-fieldcontrol-padding-block-end);
|
|
8
|
+
padding-inline-start: var(--amplify-components-fieldcontrol-padding-inline-start);
|
|
9
|
+
padding-inline-end: var(--amplify-components-fieldcontrol-padding-inline-end);
|
|
10
|
+
transition: all var(--amplify-components-fieldcontrol-transition-duration);
|
|
11
|
+
width: 100%;
|
|
12
|
+
border-color: var(--amplify-components-fieldcontrol-border-color);
|
|
13
|
+
border-radius: var(--amplify-components-fieldcontrol-border-radius);
|
|
14
|
+
border-style: var(--amplify-components-fieldcontrol-border-style);
|
|
15
|
+
border-width: var(--amplify-components-fieldcontrol-border-width);
|
|
16
|
+
outline-color: var(--amplify-components-fieldcontrol-outline-color);
|
|
17
|
+
outline-style: var(--amplify-components-fieldcontrol-outline-style);
|
|
18
|
+
outline-width: var(--amplify-components-fieldcontrol-outline-width);
|
|
19
|
+
outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
|
|
20
|
+
-webkit-user-select: text;
|
|
21
|
+
-moz-user-select: text;
|
|
22
|
+
user-select: text;
|
|
23
|
+
display: inline-block;
|
|
24
|
+
--amplify-components-fieldcontrol-color: var(
|
|
25
|
+
--amplify-components-input-color
|
|
26
|
+
);
|
|
27
|
+
--amplify-components-fieldcontrol-border-color: var(
|
|
28
|
+
--amplify-components-input-border-color
|
|
29
|
+
);
|
|
30
|
+
--amplify-components-fieldcontrol-font-size: var(
|
|
31
|
+
--amplify-components-input-font-size
|
|
32
|
+
);
|
|
33
|
+
--amplify-components-fieldcontrol-focus-border-color: var(
|
|
34
|
+
--amplify-components-input-focus-border-color
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
.amplify-input:focus {
|
|
38
|
+
border-color: var(--amplify-components-fieldcontrol-focus-border-color);
|
|
39
|
+
box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
|
|
40
|
+
}
|
|
41
|
+
.amplify-input--small {
|
|
42
|
+
font-size: var(--amplify-components-fieldcontrol-small-font-size);
|
|
43
|
+
padding-block-start: var(--amplify-components-fieldcontrol-small-padding-block-start);
|
|
44
|
+
padding-block-end: var(--amplify-components-fieldcontrol-small-padding-block-end);
|
|
45
|
+
padding-inline-start: var(--amplify-components-fieldcontrol-small-padding-inline-start);
|
|
46
|
+
padding-inline-end: var(--amplify-components-fieldcontrol-small-padding-inline-end);
|
|
47
|
+
}
|
|
48
|
+
.amplify-input--large {
|
|
49
|
+
font-size: var(--amplify-components-fieldcontrol-large-font-size);
|
|
50
|
+
padding-block-start: var(--amplify-components-fieldcontrol-large-padding-block-start);
|
|
51
|
+
padding-block-end: var(--amplify-components-fieldcontrol-large-padding-block-end);
|
|
52
|
+
padding-inline-start: var(--amplify-components-fieldcontrol-large-padding-inline-start);
|
|
53
|
+
padding-inline-end: var(--amplify-components-fieldcontrol-large-padding-inline-end);
|
|
54
|
+
}
|
|
55
|
+
.amplify-input--error {
|
|
56
|
+
border-color: var(--amplify-components-fieldcontrol-error-border-color);
|
|
57
|
+
}
|
|
58
|
+
.amplify-input--error:focus {
|
|
59
|
+
border-color: var(--amplify-components-fieldcontrol-error-border-color);
|
|
60
|
+
box-shadow: var(--amplify-components-fieldcontrol-error-focus-box-shadow);
|
|
61
|
+
}
|
|
62
|
+
.amplify-input--quiet {
|
|
63
|
+
border-block-start: var(--amplify-components-fieldcontrol-quiet-border-block-start);
|
|
64
|
+
border-inline-start: var(--amplify-components-fieldcontrol-quiet-border-inline-start);
|
|
65
|
+
border-inline-end: var(--amplify-components-fieldcontrol-quiet-border-inline-end);
|
|
66
|
+
border-radius: var(--amplify-components-fieldcontrol-quiet-border-radius);
|
|
67
|
+
}
|
|
68
|
+
.amplify-input--quiet:focus {
|
|
69
|
+
border-block-end-color: var(--amplify-components-fieldcontrol-quiet-focus-border-block-end-color);
|
|
70
|
+
box-shadow: var(--amplify-components-fieldcontrol-quiet-focus-box-shadow);
|
|
71
|
+
}
|
|
72
|
+
.amplify-input--quiet[aria-invalid=true] {
|
|
73
|
+
border-block-end-color: var(--amplify-components-fieldcontrol-quiet-error-border-block-end-color);
|
|
74
|
+
}
|
|
75
|
+
.amplify-input--quiet[aria-invalid=true]:focus {
|
|
76
|
+
box-shadow: var(--amplify-components-fieldcontrol-quiet-error-focus-box-shadow);
|
|
77
|
+
}
|
|
78
|
+
.amplify-input[disabled] {
|
|
79
|
+
color: var(--amplify-components-fieldcontrol-disabled-color);
|
|
80
|
+
cursor: var(--amplify-components-fieldcontrol-disabled-cursor);
|
|
81
|
+
border-color: var(--amplify-components-fieldcontrol-disabled-border-color);
|
|
82
|
+
background-color: var(--amplify-components-fieldcontrol-disabled-background-color);
|
|
83
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
@layer amplify.components {
|
|
2
|
+
.amplify-input {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
color: var(--amplify-components-fieldcontrol-color);
|
|
5
|
+
font-size: var(--amplify-components-fieldcontrol-font-size);
|
|
6
|
+
line-height: var(--amplify-components-fieldcontrol-line-height);
|
|
7
|
+
padding-block-start: var(--amplify-components-fieldcontrol-padding-block-start);
|
|
8
|
+
padding-block-end: var(--amplify-components-fieldcontrol-padding-block-end);
|
|
9
|
+
padding-inline-start: var(--amplify-components-fieldcontrol-padding-inline-start);
|
|
10
|
+
padding-inline-end: var(--amplify-components-fieldcontrol-padding-inline-end);
|
|
11
|
+
transition: all var(--amplify-components-fieldcontrol-transition-duration);
|
|
12
|
+
width: 100%;
|
|
13
|
+
border-color: var(--amplify-components-fieldcontrol-border-color);
|
|
14
|
+
border-radius: var(--amplify-components-fieldcontrol-border-radius);
|
|
15
|
+
border-style: var(--amplify-components-fieldcontrol-border-style);
|
|
16
|
+
border-width: var(--amplify-components-fieldcontrol-border-width);
|
|
17
|
+
outline-color: var(--amplify-components-fieldcontrol-outline-color);
|
|
18
|
+
outline-style: var(--amplify-components-fieldcontrol-outline-style);
|
|
19
|
+
outline-width: var(--amplify-components-fieldcontrol-outline-width);
|
|
20
|
+
outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
|
|
21
|
+
-webkit-user-select: text;
|
|
22
|
+
-moz-user-select: text;
|
|
23
|
+
user-select: text;
|
|
24
|
+
display: inline-block;
|
|
25
|
+
--amplify-components-fieldcontrol-color: var(
|
|
26
|
+
--amplify-components-input-color
|
|
27
|
+
);
|
|
28
|
+
--amplify-components-fieldcontrol-border-color: var(
|
|
29
|
+
--amplify-components-input-border-color
|
|
30
|
+
);
|
|
31
|
+
--amplify-components-fieldcontrol-font-size: var(
|
|
32
|
+
--amplify-components-input-font-size
|
|
33
|
+
);
|
|
34
|
+
--amplify-components-fieldcontrol-focus-border-color: var(
|
|
35
|
+
--amplify-components-input-focus-border-color
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
.amplify-input:focus {
|
|
39
|
+
border-color: var(--amplify-components-fieldcontrol-focus-border-color);
|
|
40
|
+
box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
|
|
41
|
+
}
|
|
42
|
+
.amplify-input--small {
|
|
43
|
+
font-size: var(--amplify-components-fieldcontrol-small-font-size);
|
|
44
|
+
padding-block-start: var(--amplify-components-fieldcontrol-small-padding-block-start);
|
|
45
|
+
padding-block-end: var(--amplify-components-fieldcontrol-small-padding-block-end);
|
|
46
|
+
padding-inline-start: var(--amplify-components-fieldcontrol-small-padding-inline-start);
|
|
47
|
+
padding-inline-end: var(--amplify-components-fieldcontrol-small-padding-inline-end);
|
|
48
|
+
}
|
|
49
|
+
.amplify-input--large {
|
|
50
|
+
font-size: var(--amplify-components-fieldcontrol-large-font-size);
|
|
51
|
+
padding-block-start: var(--amplify-components-fieldcontrol-large-padding-block-start);
|
|
52
|
+
padding-block-end: var(--amplify-components-fieldcontrol-large-padding-block-end);
|
|
53
|
+
padding-inline-start: var(--amplify-components-fieldcontrol-large-padding-inline-start);
|
|
54
|
+
padding-inline-end: var(--amplify-components-fieldcontrol-large-padding-inline-end);
|
|
55
|
+
}
|
|
56
|
+
.amplify-input--error {
|
|
57
|
+
border-color: var(--amplify-components-fieldcontrol-error-border-color);
|
|
58
|
+
}
|
|
59
|
+
.amplify-input--error:focus {
|
|
60
|
+
border-color: var(--amplify-components-fieldcontrol-error-border-color);
|
|
61
|
+
box-shadow: var(--amplify-components-fieldcontrol-error-focus-box-shadow);
|
|
62
|
+
}
|
|
63
|
+
.amplify-input--quiet {
|
|
64
|
+
border-block-start: var(--amplify-components-fieldcontrol-quiet-border-block-start);
|
|
65
|
+
border-inline-start: var(--amplify-components-fieldcontrol-quiet-border-inline-start);
|
|
66
|
+
border-inline-end: var(--amplify-components-fieldcontrol-quiet-border-inline-end);
|
|
67
|
+
border-radius: var(--amplify-components-fieldcontrol-quiet-border-radius);
|
|
68
|
+
}
|
|
69
|
+
.amplify-input--quiet:focus {
|
|
70
|
+
border-block-end-color: var(--amplify-components-fieldcontrol-quiet-focus-border-block-end-color);
|
|
71
|
+
box-shadow: var(--amplify-components-fieldcontrol-quiet-focus-box-shadow);
|
|
72
|
+
}
|
|
73
|
+
.amplify-input--quiet[aria-invalid=true] {
|
|
74
|
+
border-block-end-color: var(--amplify-components-fieldcontrol-quiet-error-border-block-end-color);
|
|
75
|
+
}
|
|
76
|
+
.amplify-input--quiet[aria-invalid=true]:focus {
|
|
77
|
+
box-shadow: var(--amplify-components-fieldcontrol-quiet-error-focus-box-shadow);
|
|
78
|
+
}
|
|
79
|
+
.amplify-input[disabled] {
|
|
80
|
+
color: var(--amplify-components-fieldcontrol-disabled-color);
|
|
81
|
+
cursor: var(--amplify-components-fieldcontrol-disabled-cursor);
|
|
82
|
+
border-color: var(--amplify-components-fieldcontrol-disabled-border-color);
|
|
83
|
+
background-color: var(--amplify-components-fieldcontrol-disabled-background-color);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.amplify-link {
|
|
2
|
+
color: var(--amplify-components-link-color);
|
|
3
|
+
-webkit-text-decoration: var(--amplify-components-link-text-decoration);
|
|
4
|
+
text-decoration: var(--amplify-components-link-text-decoration);
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
}
|
|
7
|
+
.amplify-link:visited {
|
|
8
|
+
color: var(--amplify-components-link-visited-color);
|
|
9
|
+
-webkit-text-decoration: var(--amplify-components-link-visited-text-decoration);
|
|
10
|
+
text-decoration: var(--amplify-components-link-visited-text-decoration);
|
|
11
|
+
}
|
|
12
|
+
.amplify-link:active {
|
|
13
|
+
color: var(--amplify-components-link-active-color);
|
|
14
|
+
-webkit-text-decoration: var(--amplify-components-link-active-text-decoration);
|
|
15
|
+
text-decoration: var(--amplify-components-link-active-text-decoration);
|
|
16
|
+
}
|
|
17
|
+
.amplify-link:focus {
|
|
18
|
+
color: var(--amplify-components-link-focus-color);
|
|
19
|
+
-webkit-text-decoration: var(--amplify-components-link-focus-text-decoration);
|
|
20
|
+
text-decoration: var(--amplify-components-link-focus-text-decoration);
|
|
21
|
+
}
|
|
22
|
+
.amplify-link:hover {
|
|
23
|
+
color: var(--amplify-components-link-hover-color);
|
|
24
|
+
-webkit-text-decoration: var(--amplify-components-link-hover-text-decoration);
|
|
25
|
+
text-decoration: var(--amplify-components-link-hover-text-decoration);
|
|
26
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@layer amplify.components {
|
|
2
|
+
.amplify-link {
|
|
3
|
+
color: var(--amplify-components-link-color);
|
|
4
|
+
-webkit-text-decoration: var(--amplify-components-link-text-decoration);
|
|
5
|
+
text-decoration: var(--amplify-components-link-text-decoration);
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
.amplify-link:visited {
|
|
9
|
+
color: var(--amplify-components-link-visited-color);
|
|
10
|
+
-webkit-text-decoration: var(--amplify-components-link-visited-text-decoration);
|
|
11
|
+
text-decoration: var(--amplify-components-link-visited-text-decoration);
|
|
12
|
+
}
|
|
13
|
+
.amplify-link:active {
|
|
14
|
+
color: var(--amplify-components-link-active-color);
|
|
15
|
+
-webkit-text-decoration: var(--amplify-components-link-active-text-decoration);
|
|
16
|
+
text-decoration: var(--amplify-components-link-active-text-decoration);
|
|
17
|
+
}
|
|
18
|
+
.amplify-link:focus {
|
|
19
|
+
color: var(--amplify-components-link-focus-color);
|
|
20
|
+
-webkit-text-decoration: var(--amplify-components-link-focus-text-decoration);
|
|
21
|
+
text-decoration: var(--amplify-components-link-focus-text-decoration);
|
|
22
|
+
}
|
|
23
|
+
.amplify-link:hover {
|
|
24
|
+
color: var(--amplify-components-link-hover-color);
|
|
25
|
+
-webkit-text-decoration: var(--amplify-components-link-hover-text-decoration);
|
|
26
|
+
text-decoration: var(--amplify-components-link-hover-text-decoration);
|
|
27
|
+
}
|
|
28
|
+
}
|