@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
|
@@ -1 +1,111 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import { alert } from './alert.mjs';
|
|
2
|
+
import { autocomplete } from './autocomplete.mjs';
|
|
3
|
+
import { authenticator } from './authenticator.mjs';
|
|
4
|
+
import { badge } from './badge.mjs';
|
|
5
|
+
import { breadcrumbs } from './breadcrumbs.mjs';
|
|
6
|
+
import { button } from './button.mjs';
|
|
7
|
+
import { card } from './card.mjs';
|
|
8
|
+
import { checkbox } from './checkbox.mjs';
|
|
9
|
+
import { checkboxfield } from './checkboxField.mjs';
|
|
10
|
+
import { collection } from './collection.mjs';
|
|
11
|
+
import { copy } from './copy.mjs';
|
|
12
|
+
import { dialcodeselect } from './dialCodeSelect.mjs';
|
|
13
|
+
import { divider } from './divider.mjs';
|
|
14
|
+
import { dropzone } from './dropZone.mjs';
|
|
15
|
+
import { accordion } from './accordion.mjs';
|
|
16
|
+
import { field } from './field.mjs';
|
|
17
|
+
import { fieldcontrol } from './fieldControl.mjs';
|
|
18
|
+
import { fieldgroup } from './fieldGroup.mjs';
|
|
19
|
+
import { fieldset } from './fieldset.mjs';
|
|
20
|
+
import { fieldmessages } from './fieldMessages.mjs';
|
|
21
|
+
import { flex } from './flex.mjs';
|
|
22
|
+
import { heading } from './heading.mjs';
|
|
23
|
+
import { highlightmatch } from './highlightMatch.mjs';
|
|
24
|
+
import { icon } from './icon.mjs';
|
|
25
|
+
import { input } from './input.mjs';
|
|
26
|
+
import { image } from './image.mjs';
|
|
27
|
+
import { inappmessaging } from './inAppMessaging.mjs';
|
|
28
|
+
import { link } from './link.mjs';
|
|
29
|
+
import { liveness } from './liveness.mjs';
|
|
30
|
+
import { loader } from './loader.mjs';
|
|
31
|
+
import { menu } from './menu.mjs';
|
|
32
|
+
import { message } from './message.mjs';
|
|
33
|
+
import { pagination } from './pagination.mjs';
|
|
34
|
+
import { passwordfield } from './passwordField.mjs';
|
|
35
|
+
import { phonenumberfield } from './phoneNumberField.mjs';
|
|
36
|
+
import { placeholder } from './placeholder.mjs';
|
|
37
|
+
import { radio } from './radio.mjs';
|
|
38
|
+
import { radiogroup } from './radioGroup.mjs';
|
|
39
|
+
import { rating } from './rating.mjs';
|
|
40
|
+
import { searchfield } from './searchField.mjs';
|
|
41
|
+
import { select } from './select.mjs';
|
|
42
|
+
import { selectfield } from './selectField.mjs';
|
|
43
|
+
import { sliderfield } from './sliderField.mjs';
|
|
44
|
+
import { stepperfield } from './stepperField.mjs';
|
|
45
|
+
import { storagemanager } from './storagemanager.mjs';
|
|
46
|
+
import { switchfield } from './switchField.mjs';
|
|
47
|
+
import { table } from './table.mjs';
|
|
48
|
+
import { tabs } from './tabs.mjs';
|
|
49
|
+
import { text } from './text.mjs';
|
|
50
|
+
import { textareafield } from './textAreaField.mjs';
|
|
51
|
+
import { textfield } from './textField.mjs';
|
|
52
|
+
import { togglebutton } from './toggleButton.mjs';
|
|
53
|
+
import { togglebuttongroup } from './toggleButtonGroup.mjs';
|
|
54
|
+
|
|
55
|
+
const components = {
|
|
56
|
+
accordion,
|
|
57
|
+
alert,
|
|
58
|
+
authenticator,
|
|
59
|
+
autocomplete,
|
|
60
|
+
badge,
|
|
61
|
+
breadcrumbs,
|
|
62
|
+
button,
|
|
63
|
+
card,
|
|
64
|
+
checkbox,
|
|
65
|
+
checkboxfield,
|
|
66
|
+
collection,
|
|
67
|
+
copy,
|
|
68
|
+
countrycodeselect: dialcodeselect,
|
|
69
|
+
divider,
|
|
70
|
+
dropzone,
|
|
71
|
+
field,
|
|
72
|
+
fieldcontrol,
|
|
73
|
+
fieldgroup,
|
|
74
|
+
fieldmessages,
|
|
75
|
+
fieldset,
|
|
76
|
+
flex,
|
|
77
|
+
heading,
|
|
78
|
+
icon,
|
|
79
|
+
highlightmatch,
|
|
80
|
+
image,
|
|
81
|
+
inappmessaging,
|
|
82
|
+
input,
|
|
83
|
+
link,
|
|
84
|
+
liveness,
|
|
85
|
+
loader,
|
|
86
|
+
menu,
|
|
87
|
+
message,
|
|
88
|
+
pagination,
|
|
89
|
+
passwordfield,
|
|
90
|
+
phonenumberfield,
|
|
91
|
+
placeholder,
|
|
92
|
+
radio,
|
|
93
|
+
radiogroup,
|
|
94
|
+
rating,
|
|
95
|
+
searchfield,
|
|
96
|
+
select,
|
|
97
|
+
selectfield,
|
|
98
|
+
sliderfield,
|
|
99
|
+
stepperfield,
|
|
100
|
+
storagemanager,
|
|
101
|
+
switchfield,
|
|
102
|
+
table,
|
|
103
|
+
tabs,
|
|
104
|
+
text,
|
|
105
|
+
textareafield,
|
|
106
|
+
textfield,
|
|
107
|
+
togglebutton,
|
|
108
|
+
togglebuttongroup,
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export { components };
|
|
@@ -1 +1,12 @@
|
|
|
1
|
-
const
|
|
1
|
+
const input = {
|
|
2
|
+
color: { value: '{components.fieldcontrol.color.value}' },
|
|
3
|
+
borderColor: { value: '{components.fieldcontrol.borderColor.value}' },
|
|
4
|
+
fontSize: { value: '{components.fieldcontrol.fontSize.value}' },
|
|
5
|
+
_focus: {
|
|
6
|
+
borderColor: {
|
|
7
|
+
value: '{components.fieldcontrol._focus.borderColor.value}',
|
|
8
|
+
},
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { input };
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
const
|
|
1
|
+
const link = {
|
|
2
|
+
active: { color: { value: '{colors.font.active.value}' } },
|
|
3
|
+
color: { value: '{colors.font.interactive.value}' },
|
|
4
|
+
focus: { color: { value: '{colors.font.focus.value}' } },
|
|
5
|
+
hover: { color: { value: '{colors.font.hover.value}' } },
|
|
6
|
+
visited: { color: { value: '{colors.font.interactive.value}' } },
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export { link };
|
|
@@ -1 +1,42 @@
|
|
|
1
|
-
const
|
|
1
|
+
const loader = {
|
|
2
|
+
width: { value: '{fontSizes.medium.value}' },
|
|
3
|
+
height: { value: '{fontSizes.medium.value}' },
|
|
4
|
+
fontSize: { value: '{fontSizes.xs.value}' },
|
|
5
|
+
strokeEmpty: { value: '{colors.neutral.20.value}' },
|
|
6
|
+
strokeFilled: { value: '{colors.primary.80.value}' },
|
|
7
|
+
strokeLinecap: { value: 'round' },
|
|
8
|
+
animationDuration: { value: '1s' },
|
|
9
|
+
small: {
|
|
10
|
+
width: { value: '{fontSizes.small.value}' },
|
|
11
|
+
height: { value: '{fontSizes.small.value}' },
|
|
12
|
+
fontSize: { value: '{fontSizes.xxs.value}' },
|
|
13
|
+
},
|
|
14
|
+
large: {
|
|
15
|
+
width: { value: '{fontSizes.large.value}' },
|
|
16
|
+
height: { value: '{fontSizes.large.value}' },
|
|
17
|
+
fontSize: { value: '{fontSizes.small.value}' },
|
|
18
|
+
},
|
|
19
|
+
linear: {
|
|
20
|
+
width: { value: '100%' },
|
|
21
|
+
minWidth: { value: '5rem' },
|
|
22
|
+
fontSize: { value: '{fontSizes.xxs.value}' },
|
|
23
|
+
strokeWidth: { value: '{fontSizes.xxs.value}' },
|
|
24
|
+
strokeFilled: { value: '{colors.primary.80.value}' },
|
|
25
|
+
strokeEmpty: { value: '{colors.neutral.20.value}' },
|
|
26
|
+
strokeLinecap: { value: 'round' },
|
|
27
|
+
animationDuration: { value: '1s' },
|
|
28
|
+
small: {
|
|
29
|
+
strokeWidth: { value: '{fontSizes.xxxs.value}' },
|
|
30
|
+
fontSize: { value: '{fontSizes.xxxs.value}' },
|
|
31
|
+
},
|
|
32
|
+
large: {
|
|
33
|
+
strokeWidth: { value: '{fontSizes.xs.value}' },
|
|
34
|
+
fontSize: { value: '{fontSizes.xs.value}' },
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
text: {
|
|
38
|
+
fill: { value: '{colors.font.primary.value}' },
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { loader };
|
|
@@ -1 +1,27 @@
|
|
|
1
|
-
const
|
|
1
|
+
const menu = {
|
|
2
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
3
|
+
borderRadius: { value: '{radii.medium.value}' },
|
|
4
|
+
borderWidth: { value: '{borderWidths.small.value}' },
|
|
5
|
+
borderStyle: { value: 'solid' },
|
|
6
|
+
borderColor: { value: '{colors.border.primary.value}' },
|
|
7
|
+
boxShadow: { value: '{shadows.large.value}' },
|
|
8
|
+
flexDirection: { value: 'column' },
|
|
9
|
+
gap: { value: '{space.zero.value}' },
|
|
10
|
+
maxWidth: { value: '30rem' },
|
|
11
|
+
minWidth: { value: '14rem' },
|
|
12
|
+
small: {
|
|
13
|
+
width: { value: '{fontSizes.medium.value}' },
|
|
14
|
+
height: { value: '{fontSizes.medium.value}' },
|
|
15
|
+
},
|
|
16
|
+
large: {
|
|
17
|
+
width: { value: '{fontSizes.xxxl.value}' },
|
|
18
|
+
height: { value: '{fontSizes.xxxl.value}' },
|
|
19
|
+
},
|
|
20
|
+
item: {
|
|
21
|
+
minHeight: { value: '2.5rem' },
|
|
22
|
+
paddingInlineStart: { value: '{space.medium.value}' },
|
|
23
|
+
paddingInlineEnd: { value: '{space.medium.value}' },
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { menu };
|
|
@@ -1 +1,102 @@
|
|
|
1
|
-
const
|
|
1
|
+
const message = {
|
|
2
|
+
// Default styles
|
|
3
|
+
alignItems: { value: 'center' },
|
|
4
|
+
backgroundColor: { value: '{colors.background.tertiary.value}' },
|
|
5
|
+
borderColor: { value: 'transparent' },
|
|
6
|
+
borderStyle: { value: 'solid' },
|
|
7
|
+
borderWidth: { value: '{borderWidths.small.value}' },
|
|
8
|
+
borderRadius: { value: '{radii.xs.value}' },
|
|
9
|
+
color: { value: '{colors.font.primary.value}' },
|
|
10
|
+
justifyContent: { value: 'flex-start' },
|
|
11
|
+
paddingBlock: { value: '{space.small.value}' },
|
|
12
|
+
paddingInline: { value: '{space.medium.value}' },
|
|
13
|
+
lineHeight: { value: '{lineHeights.small.value}' },
|
|
14
|
+
icon: {
|
|
15
|
+
size: { value: '{fontSizes.xl.value}' },
|
|
16
|
+
},
|
|
17
|
+
heading: {
|
|
18
|
+
fontSize: { value: '{fontSizes.medium.value}' },
|
|
19
|
+
fontWeight: { value: '{fontWeights.bold.value}' },
|
|
20
|
+
},
|
|
21
|
+
dismiss: {
|
|
22
|
+
gap: { value: '{space.xxs.value}' },
|
|
23
|
+
},
|
|
24
|
+
// Variations
|
|
25
|
+
plain: {
|
|
26
|
+
color: { value: '{colors.font.primary.value}' },
|
|
27
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
28
|
+
borderColor: { value: 'transparent' },
|
|
29
|
+
info: {
|
|
30
|
+
color: { value: '{colors.font.info.value}' },
|
|
31
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
32
|
+
borderColor: { value: 'transparent' },
|
|
33
|
+
},
|
|
34
|
+
error: {
|
|
35
|
+
color: { value: '{colors.font.error.value}' },
|
|
36
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
37
|
+
borderColor: { value: 'transparent' },
|
|
38
|
+
},
|
|
39
|
+
success: {
|
|
40
|
+
color: { value: '{colors.font.success.value}' },
|
|
41
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
42
|
+
borderColor: { value: 'transparent' },
|
|
43
|
+
},
|
|
44
|
+
warning: {
|
|
45
|
+
color: { value: '{colors.font.warning.value}' },
|
|
46
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
47
|
+
borderColor: { value: 'transparent' },
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
outlined: {
|
|
51
|
+
color: { value: '{colors.font.primary.value}' },
|
|
52
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
53
|
+
borderColor: { value: '{colors.border.primary.value}' },
|
|
54
|
+
info: {
|
|
55
|
+
color: { value: '{colors.font.info.value}' },
|
|
56
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
57
|
+
borderColor: { value: '{colors.border.info.value}' },
|
|
58
|
+
},
|
|
59
|
+
error: {
|
|
60
|
+
color: { value: '{colors.font.error.value}' },
|
|
61
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
62
|
+
borderColor: { value: '{colors.border.error.value}' },
|
|
63
|
+
},
|
|
64
|
+
success: {
|
|
65
|
+
color: { value: '{colors.font.success.value}' },
|
|
66
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
67
|
+
borderColor: { value: '{colors.border.success.value}' },
|
|
68
|
+
},
|
|
69
|
+
warning: {
|
|
70
|
+
color: { value: '{colors.font.warning.value}' },
|
|
71
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
72
|
+
borderColor: { value: '{colors.border.warning.value}' },
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
filled: {
|
|
76
|
+
color: { value: '{colors.font.primary.value}' },
|
|
77
|
+
backgroundColor: { value: '{colors.background.secondary.value}' },
|
|
78
|
+
borderColor: { value: 'transparent' },
|
|
79
|
+
info: {
|
|
80
|
+
color: { value: '{colors.font.info.value}' },
|
|
81
|
+
backgroundColor: { value: '{colors.background.info.value}' },
|
|
82
|
+
borderColor: { value: 'transparent' },
|
|
83
|
+
},
|
|
84
|
+
error: {
|
|
85
|
+
color: { value: '{colors.font.error.value}' },
|
|
86
|
+
backgroundColor: { value: '{colors.background.error.value}' },
|
|
87
|
+
borderColor: { value: 'transparent' },
|
|
88
|
+
},
|
|
89
|
+
success: {
|
|
90
|
+
color: { value: '{colors.font.success.value}' },
|
|
91
|
+
backgroundColor: { value: '{colors.background.success.value}' },
|
|
92
|
+
borderColor: { value: 'transparent' },
|
|
93
|
+
},
|
|
94
|
+
warning: {
|
|
95
|
+
color: { value: '{colors.font.warning.value}' },
|
|
96
|
+
backgroundColor: { value: '{colors.background.warning.value}' },
|
|
97
|
+
borderColor: { value: 'transparent' },
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export { message };
|
|
@@ -1 +1,40 @@
|
|
|
1
|
-
const
|
|
1
|
+
const pagination = {
|
|
2
|
+
current: {
|
|
3
|
+
alignItems: { value: 'center' },
|
|
4
|
+
justifyContent: { value: 'center' },
|
|
5
|
+
color: { value: '{colors.font.inverse.value}' },
|
|
6
|
+
fontSize: { value: '{fontSizes.small.value}' },
|
|
7
|
+
backgroundColor: { value: '{colors.overlay.40.value}' },
|
|
8
|
+
},
|
|
9
|
+
button: {
|
|
10
|
+
color: { value: '{colors.font.primary.value}' },
|
|
11
|
+
paddingInlineStart: { value: '{space.xxs.value}' },
|
|
12
|
+
paddingInlineEnd: { value: '{space.xxs.value}' },
|
|
13
|
+
transitionProperty: { value: 'background-color' },
|
|
14
|
+
transitionDuration: { value: '{time.medium.value}' },
|
|
15
|
+
hover: {
|
|
16
|
+
backgroundColor: { value: '{colors.overlay.10.value}' },
|
|
17
|
+
color: { value: '{colors.font.primary.value}' },
|
|
18
|
+
},
|
|
19
|
+
disabled: {
|
|
20
|
+
color: { value: '{colors.font.disabled.value}' },
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
ellipsis: {
|
|
24
|
+
alignItems: { value: 'baseline' },
|
|
25
|
+
justifyContent: { value: 'center' },
|
|
26
|
+
paddingInlineStart: { value: '{space.xs.value}' },
|
|
27
|
+
paddingInlineEnd: { value: '{space.xs.value}' },
|
|
28
|
+
},
|
|
29
|
+
itemContainer: {
|
|
30
|
+
marginLeft: { value: '{space.xxxs.value}' },
|
|
31
|
+
marginRight: { value: '{space.xxxs.value}' },
|
|
32
|
+
},
|
|
33
|
+
itemShared: {
|
|
34
|
+
height: { value: '{fontSizes.xxl.value}' },
|
|
35
|
+
minWidth: { value: '{fontSizes.xxl.value}' },
|
|
36
|
+
borderRadius: { value: '{fontSizes.medium.value}' },
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export { pagination };
|
|
@@ -1 +1,38 @@
|
|
|
1
|
-
const
|
|
1
|
+
const passwordfield = {
|
|
2
|
+
color: { value: '{components.fieldcontrol.color.value}' },
|
|
3
|
+
button: {
|
|
4
|
+
color: { value: '{components.button.color.value}' },
|
|
5
|
+
_active: {
|
|
6
|
+
backgroundColor: {
|
|
7
|
+
value: '{components.button._active.backgroundColor.value}',
|
|
8
|
+
},
|
|
9
|
+
borderColor: { value: '{components.button._active.borderColor.value}' },
|
|
10
|
+
color: { value: '{components.button._active.color.value}' },
|
|
11
|
+
},
|
|
12
|
+
_disabled: {
|
|
13
|
+
backgroundColor: {
|
|
14
|
+
value: '{components.button._disabled.backgroundColor.value}',
|
|
15
|
+
},
|
|
16
|
+
borderColor: {
|
|
17
|
+
value: '{components.button._disabled.borderColor.value}',
|
|
18
|
+
},
|
|
19
|
+
color: { value: '{components.button._disabled.color.value}' },
|
|
20
|
+
},
|
|
21
|
+
_focus: {
|
|
22
|
+
backgroundColor: {
|
|
23
|
+
value: '{components.button._focus.backgroundColor.value}',
|
|
24
|
+
},
|
|
25
|
+
borderColor: { value: '{components.button._focus.borderColor.value}' },
|
|
26
|
+
color: { value: '{components.button._focus.color.value}' },
|
|
27
|
+
},
|
|
28
|
+
_hover: {
|
|
29
|
+
backgroundColor: {
|
|
30
|
+
value: '{components.button._hover.backgroundColor.value}',
|
|
31
|
+
},
|
|
32
|
+
borderColor: { value: '{components.button._hover.borderColor.value}' },
|
|
33
|
+
color: { value: '{components.button._hover.color.value}' },
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export { passwordfield };
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
const
|
|
1
|
+
const phonenumberfield = {
|
|
2
|
+
color: { value: '{components.fieldcontrol.color}' },
|
|
3
|
+
borderColor: { value: '{components.fieldcontrol.borderColor}' },
|
|
4
|
+
fontSize: { value: '{components.fieldcontrol.fontSize}' },
|
|
5
|
+
_focus: {
|
|
6
|
+
borderColor: { value: '{components.fieldcontrol._focus.borderColor}' },
|
|
7
|
+
},
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { phonenumberfield };
|
|
@@ -1 +1,18 @@
|
|
|
1
|
-
const
|
|
1
|
+
const placeholder = {
|
|
2
|
+
borderRadius: { value: '{radii.small.value}' },
|
|
3
|
+
transitionDuration: { value: '{time.long.value}' },
|
|
4
|
+
startColor: { value: '{colors.background.secondary.value}' },
|
|
5
|
+
endColor: { value: '{colors.background.tertiary.value}' },
|
|
6
|
+
// sizes
|
|
7
|
+
small: {
|
|
8
|
+
height: { value: '{space.small.value}' },
|
|
9
|
+
},
|
|
10
|
+
default: {
|
|
11
|
+
height: { value: '{space.medium.value}' },
|
|
12
|
+
},
|
|
13
|
+
large: {
|
|
14
|
+
height: { value: '{space.large.value}' },
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { placeholder };
|
|
@@ -1 +1,67 @@
|
|
|
1
|
-
const
|
|
1
|
+
const radio = {
|
|
2
|
+
alignItems: { value: 'center' },
|
|
3
|
+
justifyContent: { value: 'flex-start' },
|
|
4
|
+
gap: { value: 'inherit' },
|
|
5
|
+
_disabled: { cursor: { value: 'not-allowed' } },
|
|
6
|
+
button: {
|
|
7
|
+
alignItems: { value: 'center' },
|
|
8
|
+
justifyContent: { value: 'center' },
|
|
9
|
+
width: { value: '{fontSizes.medium.value}' },
|
|
10
|
+
height: { value: '{fontSizes.medium.value}' },
|
|
11
|
+
boxSizing: { value: 'border-box' },
|
|
12
|
+
borderWidth: { value: '{borderWidths.medium.value}' },
|
|
13
|
+
borderStyle: { value: 'solid' },
|
|
14
|
+
borderRadius: { value: '50%' },
|
|
15
|
+
borderColor: { value: '{colors.border.primary.value}' },
|
|
16
|
+
color: { value: '{colors.background.primary.value}' },
|
|
17
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
18
|
+
transitionProperty: { value: 'all' },
|
|
19
|
+
transitionDuration: { value: '{time.medium.value}' },
|
|
20
|
+
outlineColor: { value: '{colors.transparent.value}' },
|
|
21
|
+
outlineStyle: { value: 'solid' },
|
|
22
|
+
outlineWidth: { value: '{outlineWidths.medium.value}' },
|
|
23
|
+
outlineOffset: { value: '{outlineOffsets.medium.value}' },
|
|
24
|
+
// We want the dot inside the border to be a border-width from the border
|
|
25
|
+
padding: { value: '{borderWidths.medium.value}' },
|
|
26
|
+
small: {
|
|
27
|
+
width: { value: '{fontSizes.small.value}' },
|
|
28
|
+
height: { value: '{fontSizes.small.value}' },
|
|
29
|
+
},
|
|
30
|
+
large: {
|
|
31
|
+
width: { value: '{fontSizes.large.value}' },
|
|
32
|
+
height: { value: '{fontSizes.large.value}' },
|
|
33
|
+
},
|
|
34
|
+
_checked: {
|
|
35
|
+
color: {
|
|
36
|
+
value: '{colors.primary.80.value}',
|
|
37
|
+
},
|
|
38
|
+
_disabled: { color: { value: '{colors.background.disabled.value}' } },
|
|
39
|
+
},
|
|
40
|
+
_focus: {
|
|
41
|
+
borderColor: { value: '{colors.border.focus.value}' },
|
|
42
|
+
boxShadow: { value: '{components.fieldcontrol._focus.boxShadow.value}' },
|
|
43
|
+
},
|
|
44
|
+
_error: {
|
|
45
|
+
borderColor: { value: '{colors.border.error.value}' },
|
|
46
|
+
_focus: {
|
|
47
|
+
boxShadow: {
|
|
48
|
+
value: '{components.fieldcontrol._error._focus.boxShadow.value}',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
_disabled: {
|
|
53
|
+
borderColor: { value: '{colors.border.disabled.value}' },
|
|
54
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
label: {
|
|
58
|
+
color: { value: '{components.text.color.value}' },
|
|
59
|
+
_disabled: {
|
|
60
|
+
color: {
|
|
61
|
+
value: '{colors.font.disabled.value}',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export { radio };
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
const
|
|
1
|
+
const radiogroup = {
|
|
2
|
+
radio: {
|
|
3
|
+
borderWidth: { value: '{components.radio.button.borderWidth}' },
|
|
4
|
+
borderColor: { value: '{components.radio.button.borderColor}' },
|
|
5
|
+
backgroundColor: { value: '{components.radio.button.backgroundColor}' },
|
|
6
|
+
_checked: {
|
|
7
|
+
color: { value: '{components.radio.button._checked.color}' },
|
|
8
|
+
},
|
|
9
|
+
label: {
|
|
10
|
+
color: { value: '{components.radio.label.color}' },
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
legend: {
|
|
14
|
+
color: { value: '{components.fieldset.legend.color}' },
|
|
15
|
+
fontWeight: { value: '{fontWeights.normal}' },
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { radiogroup };
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
const
|
|
1
|
+
const rating = {
|
|
2
|
+
large: { size: { value: '{fontSizes.xxxl.value}' } },
|
|
3
|
+
default: { size: { value: '{fontSizes.xl.value}' } },
|
|
4
|
+
small: { size: { value: '{fontSizes.small.value}' } },
|
|
5
|
+
filled: { color: { value: '{colors.secondary.80.value}' } },
|
|
6
|
+
empty: { color: { value: '{colors.background.tertiary.value}' } },
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export { rating };
|
|
@@ -1 +1,39 @@
|
|
|
1
|
-
const
|
|
1
|
+
const searchfield = {
|
|
2
|
+
color: { value: '{components.fieldcontrol.color.value}' },
|
|
3
|
+
button: {
|
|
4
|
+
color: { value: '{components.button.color.value}' },
|
|
5
|
+
backgroundColor: { value: '{colors.background.primary.value}' },
|
|
6
|
+
_active: {
|
|
7
|
+
backgroundColor: {
|
|
8
|
+
value: '{components.button._active.backgroundColor.value}',
|
|
9
|
+
},
|
|
10
|
+
borderColor: { value: '{components.button._active.borderColor.value}' },
|
|
11
|
+
color: { value: '{components.button._active.color.value}' },
|
|
12
|
+
},
|
|
13
|
+
_disabled: {
|
|
14
|
+
backgroundColor: {
|
|
15
|
+
value: '{components.button._disabled.backgroundColor.value}',
|
|
16
|
+
},
|
|
17
|
+
borderColor: {
|
|
18
|
+
value: '{components.button._disabled.borderColor.value}',
|
|
19
|
+
},
|
|
20
|
+
color: { value: '{components.button._disabled.color.value}' },
|
|
21
|
+
},
|
|
22
|
+
_focus: {
|
|
23
|
+
backgroundColor: {
|
|
24
|
+
value: '{components.button._focus.backgroundColor.value}',
|
|
25
|
+
},
|
|
26
|
+
borderColor: { value: '{components.button._focus.borderColor.value}' },
|
|
27
|
+
color: { value: '{components.button._focus.color.value}' },
|
|
28
|
+
},
|
|
29
|
+
_hover: {
|
|
30
|
+
backgroundColor: {
|
|
31
|
+
value: '{components.button._hover.backgroundColor.value}',
|
|
32
|
+
},
|
|
33
|
+
borderColor: { value: '{components.button._hover.borderColor.value}' },
|
|
34
|
+
color: { value: '{components.button._hover.color.value}' },
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { searchfield };
|