@transferwise/components 0.0.0-experimental-57e70f3 → 0.0.0-experimental-09066ec
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/build/dateInput/DateInput.js +12 -5
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.mjs +11 -4
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +16 -8
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +14 -6
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
- package/build/index.js +12 -7
- package/build/index.js.map +1 -1
- package/build/index.mjs +9 -3
- package/build/index.mjs.map +1 -1
- package/build/inputs/{_BottomSheet.js → SelectInput/BottomSheet/SelectInputBottomSheet.js} +7 -7
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -0
- package/build/inputs/{_BottomSheet.mjs → SelectInput/BottomSheet/SelectInputBottomSheet.mjs} +7 -7
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -0
- package/build/inputs/{_ButtonInput.js → SelectInput/ButtonInput/SelectInputButtonInput.js} +5 -5
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +1 -0
- package/build/inputs/{_ButtonInput.mjs → SelectInput/ButtonInput/SelectInputButtonInput.mjs} +5 -5
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +1 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js +26 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +24 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +1 -0
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js +59 -0
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +1 -0
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs +56 -0
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +1 -0
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js +50 -0
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +1 -0
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs +48 -0
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +1 -0
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.js +47 -0
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +1 -0
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs +45 -0
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +1 -0
- package/build/inputs/SelectInput/Option/SelectInputOption.js +42 -0
- package/build/inputs/SelectInput/Option/SelectInputOption.js.map +1 -0
- package/build/inputs/SelectInput/Option/SelectInputOption.mjs +40 -0
- package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -0
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js +40 -0
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -0
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +38 -0
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -0
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js +48 -0
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +1 -0
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs +46 -0
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +1 -0
- package/build/inputs/SelectInput/Options/SelectInputOptions.js +300 -0
- package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +1 -0
- package/build/inputs/SelectInput/Options/SelectInputOptions.mjs +298 -0
- package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +1 -0
- package/build/inputs/{_Popover.js → SelectInput/Popover/SelectInputPopover.js} +7 -7
- package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -0
- package/build/inputs/{_Popover.mjs → SelectInput/Popover/SelectInputPopover.mjs} +7 -7
- package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -0
- package/build/inputs/SelectInput/SelectInput.contexts.js +29 -0
- package/build/inputs/SelectInput/SelectInput.contexts.js.map +1 -0
- package/build/inputs/SelectInput/SelectInput.contexts.mjs +24 -0
- package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +1 -0
- package/build/inputs/SelectInput/SelectInput.js +222 -0
- package/build/inputs/SelectInput/SelectInput.js.map +1 -0
- package/build/inputs/SelectInput/SelectInput.messages.js.map +1 -0
- package/build/inputs/SelectInput/SelectInput.messages.mjs.map +1 -0
- package/build/inputs/SelectInput/SelectInput.mjs +216 -0
- package/build/inputs/SelectInput/SelectInput.mjs.map +1 -0
- package/build/inputs/SelectInput/SelectInput.utils.js +164 -0
- package/build/inputs/SelectInput/SelectInput.utils.js.map +1 -0
- package/build/inputs/SelectInput/SelectInput.utils.mjs +154 -0
- package/build/inputs/SelectInput/SelectInput.utils.mjs.map +1 -0
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js +42 -0
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +1 -0
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs +36 -0
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +1 -0
- package/build/main.css +97 -27094
- package/build/moneyInput/MoneyInput.js +9 -2
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +8 -1
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +10 -3
- package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs +9 -2
- package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/styles/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
- package/build/styles/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
- package/build/styles/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
- package/build/styles/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
- package/build/styles/inputs/SelectInput/Option/SelectInputOption.css +33 -0
- package/build/styles/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
- package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
- package/build/styles/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
- package/build/styles/main.css +97 -27094
- package/build/types/index.d.ts +1 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/inputs/{_BottomSheet.d.ts → SelectInput/BottomSheet/SelectInputBottomSheet.d.ts} +3 -3
- package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/BottomSheet/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +5 -0
- package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ButtonInput/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts +7 -0
- package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ClearButton/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +16 -0
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts +2 -0
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +9 -0
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts +11 -0
- package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ItemView/index.d.ts +4 -0
- package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts +11 -0
- package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Option/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/Option/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +13 -0
- package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/OptionContent/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +9 -0
- package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts +21 -0
- package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Options/index.d.ts +4 -0
- package/build/types/inputs/SelectInput/Options/index.d.ts.map +1 -0
- package/build/types/inputs/{_Popover.d.ts → SelectInput/Popover/SelectInputPopover.d.ts} +3 -3
- package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Popover/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/Popover/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts +33 -0
- package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/SelectInput.d.ts +10 -0
- package/build/types/inputs/SelectInput/SelectInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +1 -0
- package/build/types/inputs/{SelectInput.d.ts → SelectInput/SelectInput.types.d.ts} +12 -38
- package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/SelectInput.utils.d.ts +60 -0
- package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +12 -0
- package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/TriggerButton/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/components.d.ts +10 -0
- package/build/types/inputs/SelectInput/components.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/index.d.ts +10 -0
- package/build/types/inputs/SelectInput/index.d.ts.map +1 -0
- package/package.json +4 -8
- package/src/accordion/Accordion.css +74 -0
- package/src/accordion/Accordion.less +3 -3
- package/src/actionButton/ActionButton.css +64 -0
- package/src/actionButton/ActionButton.less +1 -1
- package/src/actionOption/ActionOption.css +4 -0
- package/src/alert/Alert.css +7 -0
- package/src/avatar/Avatar.css +250 -0
- package/src/avatar/Avatar.less +3 -3
- package/src/avatarLayout/AvatarLayout.css +42 -0
- package/src/avatarView/AvatarView.css +44 -0
- package/src/avatarView/Dot.css +26 -0
- package/src/badge/Badge.css +65 -0
- package/src/badge/Badge.less +1 -1
- package/src/body/Body.css +3 -0
- package/src/button/Button.css +246 -0
- package/src/button/Button.vars.css +46 -0
- package/src/button/LegacyButton.css +23 -0
- package/src/button/LegacyButton.less +1 -1
- package/src/card/Card.css +100 -0
- package/src/card/Card.less +3 -3
- package/src/carousel/Carousel.css +134 -0
- package/src/checkboxButton/CheckboxButton.css +43 -0
- package/src/checkboxButton/CheckboxButton.less +2 -2
- package/src/chips/Chip.css +190 -0
- package/src/chips/Chip.less +3 -3
- package/src/circularButton/CircularButton.css +34 -0
- package/src/common/Option/Option.css +122 -0
- package/src/common/Option/Option.less +2 -2
- package/src/common/RadioButton/RadioButton.css +4 -0
- package/src/common/baseCard/BaseCard.css +49 -0
- package/src/common/bottomSheet/BottomSheet.css +53 -0
- package/src/common/bottomSheet/BottomSheet.less +1 -1
- package/src/common/circle/Circle.css +43 -0
- package/src/common/closeButton/CloseButton.css +94 -0
- package/src/common/closeButton/CloseButton.less +1 -1
- package/src/common/panel/Panel.css +73 -0
- package/src/common/panel/Panel.less +1 -1
- package/src/criticalBanner/CriticalCommsBanner.css +63 -0
- package/src/dateInput/DateInput.css +16 -0
- package/src/dateLookup/DateLookup.css +93 -0
- package/src/dateLookup/DateLookup.less +1 -1
- package/src/dateLookup/dateTrigger/DateTrigger.css +29 -0
- package/src/dateLookup/dateTrigger/DateTrigger.less +2 -2
- package/src/decision/Decision.css +17 -0
- package/src/decision/Decision.less +1 -1
- package/src/definitionList/DefinitionList.css +53 -0
- package/src/definitionList/DefinitionList.less +1 -1
- package/src/dimmer/Dimmer.css +70 -0
- package/src/dimmer/Dimmer.less +2 -2
- package/src/divider/Divider.css +24 -0
- package/src/drawer/Drawer.css +56 -0
- package/src/dropFade/DropFade.css +19 -0
- package/src/emphasis/Emphasis.css +31 -0
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +58 -0
- package/src/expressiveMoneyInput/amountInput/AmountInput.css +32 -0
- package/src/expressiveMoneyInput/chevron/Chevron.css +12 -0
- package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +6 -0
- package/src/field/Field.css +13 -0
- package/src/flowNavigation/FlowNavigation.css +76 -0
- package/src/flowNavigation/FlowNavigation.less +1 -1
- package/src/flowNavigation/animatedLabel/AnimatedLabel.css +30 -0
- package/src/flowNavigation/animatedLabel/AnimatedLabel.less +2 -2
- package/src/header/Header.css +33 -0
- package/src/iconButton/IconButton.css +82 -0
- package/src/image/Image.css +13 -0
- package/src/index.ts +0 -1
- package/src/info/Info.css +9 -0
- package/src/info/Info.less +1 -1
- package/src/inputs/Input.css +158 -0
- package/src/inputs/InputGroup.css +63 -0
- package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
- package/src/inputs/{_BottomSheet.tsx → SelectInput/BottomSheet/SelectInputBottomSheet.tsx} +7 -7
- package/src/inputs/SelectInput/BottomSheet/index.ts +2 -0
- package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
- package/src/inputs/{_ButtonInput.tsx → SelectInput/ButtonInput/SelectInputButtonInput.tsx} +5 -5
- package/src/inputs/SelectInput/ButtonInput/index.ts +2 -0
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.less +39 -0
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +27 -0
- package/src/inputs/SelectInput/ClearButton/index.ts +2 -0
- package/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx +74 -0
- package/src/inputs/SelectInput/DefaultRenderTrigger/index.ts +5 -0
- package/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx +61 -0
- package/src/inputs/SelectInput/ItemView/GroupItemView/index.ts +2 -0
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.less +17 -0
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.tsx +48 -0
- package/src/inputs/SelectInput/ItemView/index.ts +3 -0
- package/src/inputs/SelectInput/Option/SelectInputOption.css +33 -0
- package/src/inputs/SelectInput/Option/SelectInputOption.less +32 -0
- package/src/inputs/SelectInput/Option/SelectInputOption.tsx +57 -0
- package/src/inputs/SelectInput/Option/index.ts +2 -0
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.less +38 -0
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +72 -0
- package/src/inputs/SelectInput/OptionContent/index.ts +2 -0
- package/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx +59 -0
- package/src/inputs/SelectInput/Options/OptionsContainer/index.ts +2 -0
- package/src/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
- package/src/inputs/SelectInput/Options/SelectInputOptions.less +77 -0
- package/src/inputs/SelectInput/Options/SelectInputOptions.tsx +411 -0
- package/src/inputs/SelectInput/Options/index.ts +3 -0
- package/src/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
- package/src/inputs/{_Popover.tsx → SelectInput/Popover/SelectInputPopover.tsx} +7 -7
- package/src/inputs/SelectInput/Popover/index.ts +2 -0
- package/src/inputs/SelectInput/SelectInput.contexts.tsx +40 -0
- package/src/inputs/SelectInput/SelectInput.css +380 -0
- package/src/inputs/SelectInput/SelectInput.less +22 -0
- package/src/inputs/{SelectInput.test.tsx → SelectInput/SelectInput.test.tsx} +9 -11
- package/src/inputs/SelectInput/SelectInput.tsx +257 -0
- package/src/inputs/SelectInput/SelectInput.types.ts +113 -0
- package/src/inputs/SelectInput/SelectInput.utils.ts +205 -0
- package/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +36 -0
- package/src/inputs/SelectInput/TriggerButton/index.ts +5 -0
- package/src/inputs/{SelectInput.docs.mdx → SelectInput/_stories/SelectInput.docs.mdx} +0 -1
- package/src/inputs/{SelectInput.story.tsx → SelectInput/_stories/SelectInput.story.tsx} +11 -8
- package/src/inputs/{SelectInput.test.story.tsx → SelectInput/_stories/SelectInput.test.story.tsx} +6 -10
- package/src/inputs/SelectInput/components.ts +10 -0
- package/src/inputs/SelectInput/index.ts +12 -0
- package/src/inputs/TextArea.css +161 -0
- package/src/inputs/_common.less +1 -1
- package/src/instructionsList/InstructionsList.css +26 -0
- package/src/legacylistItem/LegacyListItem.css +6 -0
- package/src/link/Link.css +24 -0
- package/src/link/Link.less +2 -2
- package/src/listItem/ListItem.css +659 -0
- package/src/listItem/ListItem.grid.css +384 -0
- package/src/listItem/ListItem.less +1 -1
- package/src/listItem/Prompt/ListItemPrompt.css +4 -0
- package/src/loader/Loader.css +227 -0
- package/src/logo/Logo.css +26 -0
- package/src/main.css +7529 -0
- package/src/main.less +1 -3
- package/src/modal/Modal.css +95 -0
- package/src/moneyInput/MoneyInput.css +74 -0
- package/src/moneyInput/MoneyInput.less +2 -2
- package/src/navigationOption/NavigationOption.css +69 -0
- package/src/navigationOption/NavigationOption.less +3 -3
- package/src/navigationOptionsList/NavigationOptionsList.css +13 -0
- package/src/navigationOptionsList/NavigationOptionsList.less +1 -1
- package/src/nudge/Nudge.css +206 -0
- package/src/overlayHeader/OverlayHeader.css +15 -0
- package/src/overlayHeader/OverlayHeader.less +1 -1
- package/src/phoneNumberInput/PhoneNumberInput.css +23 -0
- package/src/phoneNumberInput/PhoneNumberInput.less +1 -1
- package/src/popover/Popover.css +76 -0
- package/src/popover/Popover.less +1 -1
- package/src/progress/Progress.css +43 -0
- package/src/progressBar/ProgressBar.css +14 -0
- package/src/promoCard/PromoCard.css +186 -0
- package/src/prompt/ActionPrompt/ActionPrompt.css +25 -0
- package/src/prompt/InfoPrompt/InfoPrompt.css +33 -0
- package/src/prompt/InlinePrompt/InlinePrompt.css +57 -0
- package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +51 -0
- package/src/radioGroup/RadioGroup.css +3 -0
- package/src/section/Section.css +10 -0
- package/src/segmentedControl/SegmentedControl.css +101 -0
- package/src/select/Select.css +368 -0
- package/src/select/Select.less +5 -5
- package/src/sentimentSurface/SentimentSurface.css +487 -0
- package/src/slidingPanel/SlidingPanel.css +105 -0
- package/src/slidingPanel/SlidingPanel.less +2 -2
- package/src/snackbar/Snackbar.css +93 -0
- package/src/snackbar/Snackbar.less +3 -3
- package/src/statusIcon/StatusIcon.css +6 -0
- package/src/stepper/Stepper.css +77 -0
- package/src/stepper/Stepper.less +3 -3
- package/src/summary/Summary.css +81 -0
- package/src/summary/Summary.less +1 -1
- package/src/switch/Switch.css +63 -0
- package/src/switch/Switch.less +4 -4
- package/src/switchOption/SwitchOption.css +4 -0
- package/src/table/Table.css +274 -0
- package/src/table/Table.less +1 -1
- package/src/tabs/Tabs.css +121 -0
- package/src/tabs/Tabs.less +4 -4
- package/src/tile/Tile.css +68 -0
- package/src/tile/Tile.less +1 -1
- package/src/tooltip/Tooltip.css +50 -0
- package/src/tooltip/Tooltip.less +1 -1
- package/src/typeahead/Typeahead.css +187 -0
- package/src/typeahead/Typeahead.less +2 -2
- package/src/typeahead/typeaheadOption/TypeaheadOption.css +9 -0
- package/src/typeahead/typeaheadOption/TypeaheadOption.less +1 -1
- package/src/upload/Upload.css +34 -0
- package/src/upload/Upload.less +1 -1
- package/src/uploadInput/UploadInput.css +18 -0
- package/src/uploadInput/UploadInput.less +2 -2
- package/src/uploadInput/uploadButton/UploadButton.css +90 -0
- package/src/uploadInput/uploadItem/UploadItem.css +166 -0
- package/src/uploadInput/uploadItem/UploadItem.less +1 -1
- package/build/inputs/SelectInput.js +0 -890
- package/build/inputs/SelectInput.js.map +0 -1
- package/build/inputs/SelectInput.messages.js.map +0 -1
- package/build/inputs/SelectInput.messages.mjs.map +0 -1
- package/build/inputs/SelectInput.mjs +0 -881
- package/build/inputs/SelectInput.mjs.map +0 -1
- package/build/inputs/_BottomSheet.js.map +0 -1
- package/build/inputs/_BottomSheet.mjs.map +0 -1
- package/build/inputs/_ButtonInput.js.map +0 -1
- package/build/inputs/_ButtonInput.mjs.map +0 -1
- package/build/inputs/_Popover.js.map +0 -1
- package/build/inputs/_Popover.mjs.map +0 -1
- package/build/neptune-css/fonts/TW-Averta-Bold.woff +0 -0
- package/build/neptune-css/fonts/TW-Averta-Bold.woff2 +0 -0
- package/build/neptune-css/fonts/TW-Averta-Regular.woff +0 -0
- package/build/neptune-css/fonts/TW-Averta-Regular.woff2 +0 -0
- package/build/neptune-css/fonts/TW-Averta-Semibold.woff +0 -0
- package/build/neptune-css/fonts/TW-Averta-Semibold.woff2 +0 -0
- package/build/neptune-css/fonts/TransferWise-IconFont.svg +0 -81
- package/build/neptune-css/fonts/TransferWise-IconFont.woff +0 -0
- package/build/neptune-css/fonts/WiseSans-Heavy.woff2 +0 -0
- package/build/neptune-css/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/build/neptune-css/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/build/neptune-css/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/build/neptune-css/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/build/neptune-css/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/build/neptune-css/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/build/neptune-css/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/build/neptune-css/img/bg-dark.svg +0 -31
- package/build/neptune-css/img/bg-light.svg +0 -26
- package/build/neptune-css/less/legacy-variables.less +0 -1299
- package/build/neptune-css/less/neptune-tokens.css +0 -0
- package/build/neptune-css/less/neptune-tokens.less +0 -275
- package/build/neptune-css/less/zindex.css +0 -0
- package/build/neptune-css/less/zindex.less +0 -17
- package/build/neptune-css/props/custom-media.css +0 -11
- package/build/neptune-css/props/legacy-custom-props.css +0 -69
- package/build/neptune-css/props/neptune-tokens.css +0 -152
- package/build/neptune.css +0 -25724
- package/build/styles/neptune-css/less/accordion.css +0 -255
- package/build/styles/neptune-css/less/alerts.css +0 -751
- package/build/styles/neptune-css/less/background.css +0 -20
- package/build/styles/neptune-css/less/badge.css +0 -90
- package/build/styles/neptune-css/less/border-radius.css +0 -3
- package/build/styles/neptune-css/less/breadcrumbs.css +0 -20
- package/build/styles/neptune-css/less/button-groups.css +0 -495
- package/build/styles/neptune-css/less/buttons.css +0 -1390
- package/build/styles/neptune-css/less/chevron.css +0 -35
- package/build/styles/neptune-css/less/circles.css +0 -248
- package/build/styles/neptune-css/less/close.css +0 -47
- package/build/styles/neptune-css/less/column-layout.css +0 -164
- package/build/styles/neptune-css/less/core/viewport-themes.css +0 -59
- package/build/styles/neptune-css/less/currency-flags.css +0 -46
- package/build/styles/neptune-css/less/decision.css +0 -136
- package/build/styles/neptune-css/less/dropdowns.css +0 -472
- package/build/styles/neptune-css/less/droppable.css +0 -221
- package/build/styles/neptune-css/less/flex.css +0 -598
- package/build/styles/neptune-css/less/footer.css +0 -129
- package/build/styles/neptune-css/less/forms/bootstrap-forms.css +0 -2277
- package/build/styles/neptune-css/less/forms/checkbox-radio.css +0 -367
- package/build/styles/neptune-css/less/grid.css +0 -2369
- package/build/styles/neptune-css/less/input-groups.css +0 -2740
- package/build/styles/neptune-css/less/link-callout.css +0 -20
- package/build/styles/neptune-css/less/list-group.css +0 -350
- package/build/styles/neptune-css/less/loaders.css +0 -76
- package/build/styles/neptune-css/less/media.css +0 -74
- package/build/styles/neptune-css/less/modals.css +0 -185
- package/build/styles/neptune-css/less/navbar.css +0 -2406
- package/build/styles/neptune-css/less/navs.css +0 -296
- package/build/styles/neptune-css/less/neptune-addons.css +0 -1857
- package/build/styles/neptune-css/less/neptune-core.css +0 -2049
- package/build/styles/neptune-css/less/neptune-social-media.css +0 -144
- package/build/styles/neptune-css/less/neptune.css +0 -25724
- package/build/styles/neptune-css/less/panels.css +0 -528
- package/build/styles/neptune-css/less/popovers.css +0 -661
- package/build/styles/neptune-css/less/process.css +0 -483
- package/build/styles/neptune-css/less/progress-bars.css +0 -64
- package/build/styles/neptune-css/less/ring.css +0 -55
- package/build/styles/neptune-css/less/select.css +0 -99
- package/build/styles/neptune-css/less/sequences.css +0 -855
- package/build/styles/neptune-css/less/table.css +0 -446
- package/build/styles/neptune-css/less/tick.css +0 -32
- package/build/styles/neptune-css/less/tooltip.css +0 -160
- package/build/styles/neptune-css/less/utilities.css +0 -145
- package/build/styles/neptune-css/less/wells.css +0 -74
- package/build/styles/neptune-css/props/custom-media.css +0 -11
- package/build/styles/neptune-css/props/legacy-custom-props.css +0 -69
- package/build/styles/neptune-css/props/neptune-tokens.css +0 -11
- package/build/styles/neptune-css/variables/legacy-variables.css +0 -0
- package/build/styles/neptune-css/variables/neptune-tokens.css +0 -0
- package/build/styles/neptune-css/variables/zindex.css +0 -0
- package/build/types/inputs/SelectInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
- package/build/types/inputs/_BottomSheet.d.ts.map +0 -1
- package/build/types/inputs/_ButtonInput.d.ts +0 -5
- package/build/types/inputs/_ButtonInput.d.ts.map +0 -1
- package/build/types/inputs/_Popover.d.ts.map +0 -1
- package/src/inputs/SelectInput.less +0 -219
- package/src/inputs/SelectInput.tsx +0 -1269
- package/src/neptune-css/fonts/TW-Averta-Bold.woff +0 -0
- package/src/neptune-css/fonts/TW-Averta-Bold.woff2 +0 -0
- package/src/neptune-css/fonts/TW-Averta-Regular.woff +0 -0
- package/src/neptune-css/fonts/TW-Averta-Regular.woff2 +0 -0
- package/src/neptune-css/fonts/TW-Averta-Semibold.woff +0 -0
- package/src/neptune-css/fonts/TW-Averta-Semibold.woff2 +0 -0
- package/src/neptune-css/fonts/TransferWise-IconFont.svg +0 -81
- package/src/neptune-css/fonts/TransferWise-IconFont.woff +0 -0
- package/src/neptune-css/fonts/WiseSans-Heavy.woff2 +0 -0
- package/src/neptune-css/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/neptune-css/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/src/neptune-css/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/neptune-css/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/src/neptune-css/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/neptune-css/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/src/neptune-css/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/src/neptune-css/img/bg-dark.svg +0 -31
- package/src/neptune-css/img/bg-light.svg +0 -26
- package/src/neptune-css/less/accordion.less +0 -15
- package/src/neptune-css/less/addons/_background-utilities.less +0 -82
- package/src/neptune-css/less/addons/_border.less +0 -3
- package/src/neptune-css/less/addons/_display-utilities.less +0 -159
- package/src/neptune-css/less/addons/_spacing-utilities.less +0 -73
- package/src/neptune-css/less/addons/_utilities.less +0 -147
- package/src/neptune-css/less/alerts.less +0 -252
- package/src/neptune-css/less/background.less +0 -24
- package/src/neptune-css/less/badge.less +0 -85
- package/src/neptune-css/less/border-radius.less +0 -3
- package/src/neptune-css/less/breadcrumbs.less +0 -27
- package/src/neptune-css/less/button-groups.less +0 -424
- package/src/neptune-css/less/buttons.less +0 -738
- package/src/neptune-css/less/chevron.less +0 -39
- package/src/neptune-css/less/circles.less +0 -233
- package/src/neptune-css/less/close.less +0 -48
- package/src/neptune-css/less/column-layout.less +0 -167
- package/src/neptune-css/less/components/_component-animations.less +0 -43
- package/src/neptune-css/less/core/_fonts.less +0 -97
- package/src/neptune-css/less/core/_scaffolding.less +0 -380
- package/src/neptune-css/less/core/_typography-utilities.less +0 -255
- package/src/neptune-css/less/core/_typography.less +0 -575
- package/src/neptune-css/less/core/viewport-themes.less +0 -65
- package/src/neptune-css/less/currency-flags.less +0 -42
- package/src/neptune-css/less/decision.less +0 -98
- package/src/neptune-css/less/dropdowns.less +0 -365
- package/src/neptune-css/less/droppable.less +0 -213
- package/src/neptune-css/less/flex.less +0 -113
- package/src/neptune-css/less/footer.less +0 -113
- package/src/neptune-css/less/forms/bootstrap-forms.less +0 -1218
- package/src/neptune-css/less/forms/checkbox-radio.less +0 -330
- package/src/neptune-css/less/grid.less +0 -187
- package/src/neptune-css/less/input-groups.less +0 -298
- package/src/neptune-css/less/link-callout.less +0 -17
- package/src/neptune-css/less/list-group.less +0 -260
- package/src/neptune-css/less/loaders.less +0 -91
- package/src/neptune-css/less/media.less +0 -68
- package/src/neptune-css/less/mixins/_alerts.less +0 -39
- package/src/neptune-css/less/mixins/_arrows.less +0 -52
- package/src/neptune-css/less/mixins/_border-radius.less +0 -11
- package/src/neptune-css/less/mixins/_buttons.less +0 -82
- package/src/neptune-css/less/mixins/_center-block.less +0 -7
- package/src/neptune-css/less/mixins/_clearfix.less +0 -23
- package/src/neptune-css/less/mixins/_flex.less +0 -105
- package/src/neptune-css/less/mixins/_forms.less +0 -130
- package/src/neptune-css/less/mixins/_grid-framework.less +0 -104
- package/src/neptune-css/less/mixins/_grid.less +0 -158
- package/src/neptune-css/less/mixins/_hide-text.less +0 -20
- package/src/neptune-css/less/mixins/_links.less +0 -7
- package/src/neptune-css/less/mixins/_list-group.less +0 -23
- package/src/neptune-css/less/mixins/_logical-properties-IE-friendly.less +0 -381
- package/src/neptune-css/less/mixins/_logical-properties-modern-browsers.less +0 -226
- package/src/neptune-css/less/mixins/_logical-properties.less +0 -5
- package/src/neptune-css/less/mixins/_nav-divider.less +0 -10
- package/src/neptune-css/less/mixins/_nav-vertical-align.less +0 -10
- package/src/neptune-css/less/mixins/_panels.less +0 -23
- package/src/neptune-css/less/mixins/_physical-properties.less +0 -110
- package/src/neptune-css/less/mixins/_reset-text.less +0 -22
- package/src/neptune-css/less/mixins/_sequence.less +0 -203
- package/src/neptune-css/less/mixins/_spacing.less +0 -122
- package/src/neptune-css/less/mixins/_tab-focus.less +0 -5
- package/src/neptune-css/less/mixins/_table-row.less +0 -47
- package/src/neptune-css/less/mixins/_text-emphasis.less +0 -39
- package/src/neptune-css/less/mixins/_text-overflow.less +0 -8
- package/src/neptune-css/less/mixins/_theming.less +0 -7
- package/src/neptune-css/less/modals.less +0 -239
- package/src/neptune-css/less/navbar.less +0 -1442
- package/src/neptune-css/less/navs.less +0 -339
- package/src/neptune-css/less/neptune-addons.less +0 -4
- package/src/neptune-css/less/neptune-core.less +0 -4
- package/src/neptune-css/less/neptune-social-media.less +0 -84
- package/src/neptune-css/less/neptune.bundle.less +0 -65
- package/src/neptune-css/less/panels.less +0 -410
- package/src/neptune-css/less/popovers.less +0 -379
- package/src/neptune-css/less/process.less +0 -426
- package/src/neptune-css/less/progress-bars.less +0 -55
- package/src/neptune-css/less/ring.less +0 -51
- package/src/neptune-css/less/select.less +0 -88
- package/src/neptune-css/less/sequences.less +0 -511
- package/src/neptune-css/less/table.less +0 -385
- package/src/neptune-css/less/tick.less +0 -37
- package/src/neptune-css/less/tooltip.less +0 -130
- package/src/neptune-css/less/utilities.less +0 -153
- package/src/neptune-css/less/wells.less +0 -37
- package/src/neptune-css/props/custom-media.css +0 -11
- package/src/neptune-css/props/legacy-custom-props.css +0 -69
- package/src/neptune-css/props/neptune-tokens.css +0 -11
- package/src/neptune-css/variables/legacy-variables.less +0 -1299
- package/src/neptune-css/variables/neptune-tokens.less +0 -12
- package/src/neptune-css/variables/zindex.less +0 -17
- package/build/inputs/{SelectInput.messages.js → SelectInput/SelectInput.messages.js} +0 -0
- package/build/inputs/{SelectInput.messages.mjs → SelectInput/SelectInput.messages.mjs} +0 -0
- package/build/styles/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
- /package/build/types/inputs/{SelectInput.messages.d.ts → SelectInput/SelectInput.messages.d.ts} +0 -0
- /package/src/inputs/{_BottomSheet.less → SelectInput/BottomSheet/SelectInputBottomSheet.less} +0 -0
- /package/src/inputs/{_ButtonInput.less → SelectInput/ButtonInput/SelectInputButtonInput.less} +0 -0
- /package/src/inputs/{_Popover.less → SelectInput/Popover/SelectInputPopover.less} +0 -0
- /package/src/inputs/{SelectInput.messages.ts → SelectInput/SelectInput.messages.ts} +0 -0
- /package/{build/neptune-css/less/legacy-variables.css → src/listItem/ListItem.vars.css} +0 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
.np-panel__content {
|
|
2
|
+
opacity: 0;
|
|
3
|
+
visibility: hidden;
|
|
4
|
+
background-color: #ffffff;
|
|
5
|
+
background-color: var(--color-background-elevated);
|
|
6
|
+
border-radius: 10px;
|
|
7
|
+
border-radius: var(--radius-small);
|
|
8
|
+
box-shadow: 0 0 40px rgba(69, 71, 69, 0.2);
|
|
9
|
+
transition: opacity 0.2s cubic-bezier(0.6, 0.2, 0.1, 1), transform 0.2s cubic-bezier(0.6, 0.2, 0.1, 1), visibility 0s linear 0.2s;
|
|
10
|
+
}
|
|
11
|
+
.np-theme-personal .np-panel__content {
|
|
12
|
+
border-radius: 10px;
|
|
13
|
+
border-radius: var(--radius-small);
|
|
14
|
+
}
|
|
15
|
+
.np-theme-personal--forest-green .np-panel__content,
|
|
16
|
+
.np-theme-personal--bright-green .np-panel__content,
|
|
17
|
+
.np-theme-personal--dark .np-panel__content {
|
|
18
|
+
box-shadow: none;
|
|
19
|
+
}
|
|
20
|
+
.np-panel--open .np-panel__content {
|
|
21
|
+
transition: opacity 0.2s cubic-bezier(0.6, 0.2, 0.1, 1), transform 0.2s cubic-bezier(0.6, 0.2, 0.1, 1), visibility 0s linear 0s;
|
|
22
|
+
visibility: visible;
|
|
23
|
+
opacity: 1;
|
|
24
|
+
transform: none !important;
|
|
25
|
+
}
|
|
26
|
+
.np-panel__arrow,
|
|
27
|
+
.np-panel__arrow::before {
|
|
28
|
+
position: absolute;
|
|
29
|
+
width: 14px;
|
|
30
|
+
height: 14px;
|
|
31
|
+
}
|
|
32
|
+
.np-panel__arrow::before {
|
|
33
|
+
left: 0;
|
|
34
|
+
content: "";
|
|
35
|
+
transform: rotate(45deg);
|
|
36
|
+
background: #ffffff;
|
|
37
|
+
background: var(--color-background-elevated);
|
|
38
|
+
}
|
|
39
|
+
.np-panel[data-popper-placement^="top"] > .np-panel__content {
|
|
40
|
+
transform: translateY(10px) scale(0.95);
|
|
41
|
+
}
|
|
42
|
+
.np-panel[data-popper-placement^="top"] > .np-panel__content .np-panel__arrow {
|
|
43
|
+
bottom: -6px;
|
|
44
|
+
}
|
|
45
|
+
.np-panel[data-popper-placement^="right"] > .np-panel__content {
|
|
46
|
+
transform: translateX(-10px) scale(0.95);
|
|
47
|
+
}
|
|
48
|
+
.np-panel[data-popper-placement^="right"] > .np-panel__content .np-panel__arrow {
|
|
49
|
+
left: -6px;
|
|
50
|
+
}
|
|
51
|
+
.np-panel[data-popper-placement^="bottom"] > .np-panel__content {
|
|
52
|
+
transform: translateY(-10px) scale(0.95);
|
|
53
|
+
}
|
|
54
|
+
.np-panel[data-popper-placement^="bottom"] > .np-panel__content .np-panel__arrow {
|
|
55
|
+
top: -6px;
|
|
56
|
+
}
|
|
57
|
+
.np-panel[data-popper-placement^="left"] > .np-panel__content {
|
|
58
|
+
transform: translateX(10px) scale(0.95);
|
|
59
|
+
}
|
|
60
|
+
.np-panel[data-popper-placement^="left"] > .np-panel__content .np-panel__arrow {
|
|
61
|
+
right: -6px;
|
|
62
|
+
}
|
|
63
|
+
.np-theme-personal .np-panel__content {
|
|
64
|
+
border-radius: 16px;
|
|
65
|
+
border-radius: var(--radius-medium);
|
|
66
|
+
box-shadow: 0 0 40px rgba(69, 71, 69, 0.2);
|
|
67
|
+
}
|
|
68
|
+
.np-theme-personal--forest-green .np-dropdown-menu,
|
|
69
|
+
.np-theme-personal--bright-green .np-dropdown-menu,
|
|
70
|
+
.np-theme-personal--dark .np-dropdown-menu {
|
|
71
|
+
background-color: #ffffff;
|
|
72
|
+
background-color: var(--color-background-elevated);
|
|
73
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.critical-comms {
|
|
2
|
+
border-radius: 16px;
|
|
3
|
+
border-radius: var(--radius-medium);
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
}
|
|
6
|
+
.critical-comms .alert {
|
|
7
|
+
background-color: var(--color-sentiment-background-surface);
|
|
8
|
+
color: var(--color-sentiment-content-primary);
|
|
9
|
+
margin-bottom: 0;
|
|
10
|
+
}
|
|
11
|
+
.critical-comms .alert .np-text-title-body {
|
|
12
|
+
color: var(--color-sentiment-content-primary);
|
|
13
|
+
}
|
|
14
|
+
.critical-comms .status-circle.negative {
|
|
15
|
+
background-color: #ffffff;
|
|
16
|
+
background-color: var(--color-background-screen);
|
|
17
|
+
}
|
|
18
|
+
.critical-comms .status-circle.negative .status-icon {
|
|
19
|
+
color: #37517e;
|
|
20
|
+
color: var(--color-content-primary);
|
|
21
|
+
}
|
|
22
|
+
.critical-comms .alert__message .alert__action {
|
|
23
|
+
margin-top: 16px;
|
|
24
|
+
margin-top: var(--size-16);
|
|
25
|
+
}
|
|
26
|
+
.critical-comms .wds-Button {
|
|
27
|
+
--Button-color: var(--color-content-primary);
|
|
28
|
+
--Button-color-hover: var(--color-content-primary);
|
|
29
|
+
--Button-color-active: var(--color-content-primary);
|
|
30
|
+
--Button-background: var(--color-background-screen);
|
|
31
|
+
--Button-background-hover: var(--color-sentiment-interactive-primary-hover);
|
|
32
|
+
--Button-background-active: var(--color-sentiment-interactive-primary-active);
|
|
33
|
+
}
|
|
34
|
+
.critical-comms .wds-Button[class] {
|
|
35
|
+
color: var(--Button-color);
|
|
36
|
+
}
|
|
37
|
+
.critical-comms .wds-Button[class]:hover {
|
|
38
|
+
color: var(--Button-color-hover);
|
|
39
|
+
}
|
|
40
|
+
.critical-comms .wds-Button[class]:active {
|
|
41
|
+
color: var(--Button-color-active);
|
|
42
|
+
}
|
|
43
|
+
.critical-comms .alert-warning .wds-Button {
|
|
44
|
+
--Button-background-hover: var(--color-sentiment-interactive-secondary-neutral-hover);
|
|
45
|
+
--Button-background-active: var(--color-sentiment-interactive-secondary-neutral-active);
|
|
46
|
+
}
|
|
47
|
+
@media (min-width: 768px) {
|
|
48
|
+
.critical-comms .alert-warning .alert__message,
|
|
49
|
+
.critical-comms .alert-negative .alert__message,
|
|
50
|
+
.critical-comms .alert-neutral .alert__message {
|
|
51
|
+
flex-direction: row;
|
|
52
|
+
justify-content: space-between;
|
|
53
|
+
align-items: center;
|
|
54
|
+
width: 100%;
|
|
55
|
+
}
|
|
56
|
+
.critical-comms .alert-warning .alert__message .alert__action,
|
|
57
|
+
.critical-comms .alert-negative .alert__message .alert__action,
|
|
58
|
+
.critical-comms .alert-neutral .alert__message .alert__action {
|
|
59
|
+
margin-top: 0;
|
|
60
|
+
margin-left: 16px;
|
|
61
|
+
margin-left: var(--padding-small);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.tw-date label {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
.tw-date .tw-date--year label {
|
|
5
|
+
margin-bottom: 0;
|
|
6
|
+
}
|
|
7
|
+
.tw-date .tw-date--year,
|
|
8
|
+
.tw-date .tw-date--month,
|
|
9
|
+
.tw-date .tw-date--day {
|
|
10
|
+
margin-bottom: 0;
|
|
11
|
+
}
|
|
12
|
+
@media (min-width: 576px) {
|
|
13
|
+
.np-theme-personal .tw-date label {
|
|
14
|
+
margin-bottom: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
.tw-date-lookup-menu {
|
|
2
|
+
width: 400px;
|
|
3
|
+
}
|
|
4
|
+
.tw-date-lookup-calendar {
|
|
5
|
+
min-width: 300px;
|
|
6
|
+
text-align: center;
|
|
7
|
+
table-layout: fixed;
|
|
8
|
+
background-color: inherit;
|
|
9
|
+
}
|
|
10
|
+
.tw-date-lookup-calendar > tbody > tr > td.weekend button {
|
|
11
|
+
color: #5d7079;
|
|
12
|
+
color: var(--color-content-secondary);
|
|
13
|
+
}
|
|
14
|
+
.tw-date-lookup-calendar > tbody > tr > td {
|
|
15
|
+
padding: 4px;
|
|
16
|
+
padding: var(--size-4);
|
|
17
|
+
}
|
|
18
|
+
@media (max-width: 320px) {
|
|
19
|
+
.tw-date-lookup-calendar > tbody > tr > td {
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.tw-date-lookup-calendar > tbody > tr > td:has(.tw-date-lookup-day-option) {
|
|
24
|
+
padding: 1px;
|
|
25
|
+
}
|
|
26
|
+
.tw-date-lookup-calendar > tbody > tr > td button {
|
|
27
|
+
width: 100%;
|
|
28
|
+
padding: 4px 0;
|
|
29
|
+
padding: var(--size-4) 0;
|
|
30
|
+
color: #0097c7;
|
|
31
|
+
color: var(--color-content-accent);
|
|
32
|
+
border: transparent;
|
|
33
|
+
border-radius: 10px;
|
|
34
|
+
border-radius: var(--radius-small);
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
font-weight: 600;
|
|
37
|
+
font-weight: var(--font-weight-semi-bold);
|
|
38
|
+
color: #37517e;
|
|
39
|
+
color: var(--color-content-primary);
|
|
40
|
+
}
|
|
41
|
+
@media (max-width: 320px) {
|
|
42
|
+
.tw-date-lookup-calendar > tbody > tr > td button {
|
|
43
|
+
padding: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
.tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option {
|
|
47
|
+
height: 40px;
|
|
48
|
+
height: var(--size-40);
|
|
49
|
+
border-radius: 9999px;
|
|
50
|
+
border-radius: var(--radius-full);
|
|
51
|
+
line-height: 40px;
|
|
52
|
+
line-height: var(--size-40);
|
|
53
|
+
width: 40px;
|
|
54
|
+
width: var(--size-40);
|
|
55
|
+
padding: 0;
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
}
|
|
60
|
+
.tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option.today {
|
|
61
|
+
-webkit-text-decoration: underline;
|
|
62
|
+
text-decoration: underline;
|
|
63
|
+
text-decoration-thickness: 2px;
|
|
64
|
+
text-underline-offset: 4px;
|
|
65
|
+
}
|
|
66
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus,
|
|
67
|
+
.tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled) {
|
|
68
|
+
background-color: var(--color-background-screen-hover);
|
|
69
|
+
}
|
|
70
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active {
|
|
71
|
+
background-color: var(--color-interactive-primary);
|
|
72
|
+
color: var(--color-interactive-contrast);
|
|
73
|
+
}
|
|
74
|
+
.tw-date-lookup-calendar abbr {
|
|
75
|
+
-webkit-text-decoration: none;
|
|
76
|
+
text-decoration: none;
|
|
77
|
+
}
|
|
78
|
+
.tw-date-lookup-header-current-container {
|
|
79
|
+
display: inline;
|
|
80
|
+
}
|
|
81
|
+
.np-theme-personal.tw-date-lookup-menu .table-bordered,
|
|
82
|
+
.np-theme-personal .tw-date-lookup-menu .table-bordered {
|
|
83
|
+
border: none;
|
|
84
|
+
}
|
|
85
|
+
.np-theme-personal.tw-date-lookup-menu thead,
|
|
86
|
+
.np-theme-personal .tw-date-lookup-menu thead {
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
background-color: initial;
|
|
89
|
+
}
|
|
90
|
+
.np-theme-personal.tw-date-lookup-menu td,
|
|
91
|
+
.np-theme-personal .tw-date-lookup-menu td {
|
|
92
|
+
border: none;
|
|
93
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.np-date-trigger {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
text-overflow: ellipsis;
|
|
4
|
+
white-space: nowrap;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
.np-theme-personal .np-date-trigger {
|
|
8
|
+
padding-left: 16px;
|
|
9
|
+
padding-left: var(--size-16);
|
|
10
|
+
}
|
|
11
|
+
.clear-btn {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 8px;
|
|
14
|
+
top: var(--size-8);
|
|
15
|
+
right: 8px;
|
|
16
|
+
right: var(--size-8);
|
|
17
|
+
}
|
|
18
|
+
[dir="rtl"] .clear-btn {
|
|
19
|
+
left: 8px;
|
|
20
|
+
left: var(--size-8);
|
|
21
|
+
right: auto;
|
|
22
|
+
right: initial;
|
|
23
|
+
}
|
|
24
|
+
.clear-btn--sm {
|
|
25
|
+
top: 0;
|
|
26
|
+
}
|
|
27
|
+
.clear-btn--lg {
|
|
28
|
+
top: 20px;
|
|
29
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import (reference) "
|
|
2
|
-
@import (reference) "
|
|
1
|
+
@import (reference) "../../../node_modules/@transferwise/neptune-css/src/variables/neptune-tokens.less";
|
|
2
|
+
@import (reference) "../../../node_modules/@transferwise/neptune-css/src/less/mixins/_logical-properties.less";
|
|
3
3
|
|
|
4
4
|
.np-date-trigger {
|
|
5
5
|
overflow: hidden;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.np-decision .decision {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
.np-decision__tile--small .np-text-title-subsection {
|
|
5
|
+
font-size: 1rem;
|
|
6
|
+
font-size: var(--font-size-16);
|
|
7
|
+
line-height: 1.2;
|
|
8
|
+
line-height: var(--line-height-title);
|
|
9
|
+
}
|
|
10
|
+
.np-decision:not(.flex-column) {
|
|
11
|
+
gap: 24px;
|
|
12
|
+
gap: var(--size-24);
|
|
13
|
+
}
|
|
14
|
+
.np-decision:not(.flex-column).np-decision--small {
|
|
15
|
+
gap: 16px;
|
|
16
|
+
gap: var(--size-16);
|
|
17
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.tw-definition-list__item dd {
|
|
2
|
+
word-break: break-all;
|
|
3
|
+
word-break: break-word;
|
|
4
|
+
}
|
|
5
|
+
.tw-definition-list__action {
|
|
6
|
+
align-self: center;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
}
|
|
9
|
+
.tw-definition-list__button {
|
|
10
|
+
margin-top: -50%;
|
|
11
|
+
}
|
|
12
|
+
@media (max-width: 576px) {
|
|
13
|
+
.tw-definition-list--right-aligned-desktop {
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
@media (min-width: 576px) {
|
|
18
|
+
.tw-definition-list--right-aligned-desktop {
|
|
19
|
+
justify-content: flex-end;
|
|
20
|
+
}
|
|
21
|
+
.tw-definition-list.tw-definition-list--columns {
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
}
|
|
24
|
+
.tw-definition-list.tw-definition-list--columns .tw-definition-list__item {
|
|
25
|
+
width: 50%;
|
|
26
|
+
}
|
|
27
|
+
.tw-definition-list.tw-definition-list--horizontal .tw-definition-list__item {
|
|
28
|
+
display: flex;
|
|
29
|
+
}
|
|
30
|
+
.tw-definition-list.tw-definition-list--horizontal .tw-definition-list__item dt {
|
|
31
|
+
flex: 1;
|
|
32
|
+
min-width: 150px;
|
|
33
|
+
max-width: 30%;
|
|
34
|
+
margin-right: 8px;
|
|
35
|
+
margin-right: var(--size-8);
|
|
36
|
+
}
|
|
37
|
+
[dir="rtl"] .tw-definition-list.tw-definition-list--horizontal .tw-definition-list__item dt {
|
|
38
|
+
margin-left: 8px;
|
|
39
|
+
margin-left: var(--size-8);
|
|
40
|
+
margin-right: 0;
|
|
41
|
+
margin-right: initial;
|
|
42
|
+
}
|
|
43
|
+
.tw-definition-list.tw-definition-list--horizontal .tw-definition-list__item dd {
|
|
44
|
+
flex: 1;
|
|
45
|
+
align-items: center;
|
|
46
|
+
margin-bottom: 8px;
|
|
47
|
+
margin-bottom: var(--size-8);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
.np-theme-personal .tw-definition-list dt {
|
|
51
|
+
color: #5d7079;
|
|
52
|
+
color: var(--color-content-secondary);
|
|
53
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
.no-scroll {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
}
|
|
4
|
+
.dimmer {
|
|
5
|
+
position: fixed;
|
|
6
|
+
z-index: 1050;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
width: 100vw;
|
|
12
|
+
height: 100vh;
|
|
13
|
+
height: 100dvh;
|
|
14
|
+
transition: background-color cubic-bezier(0, 0.94, 0.62, 1) 350ms;
|
|
15
|
+
}
|
|
16
|
+
.dimmer--scrollable {
|
|
17
|
+
overflow-y: auto;
|
|
18
|
+
}
|
|
19
|
+
[dir="rtl"] .dimmer {
|
|
20
|
+
left: 0;
|
|
21
|
+
right: auto;
|
|
22
|
+
right: initial;
|
|
23
|
+
}
|
|
24
|
+
[dir="rtl"] .dimmer {
|
|
25
|
+
right: 0;
|
|
26
|
+
left: auto;
|
|
27
|
+
left: initial;
|
|
28
|
+
}
|
|
29
|
+
.dimmer.dimmer--enter-done {
|
|
30
|
+
background: rgba(0, 0, 0, 0.4);
|
|
31
|
+
}
|
|
32
|
+
.np-theme-personal .dimmer.dimmer--enter-done {
|
|
33
|
+
background-color: rgba(14, 15, 12, 0.4);
|
|
34
|
+
}
|
|
35
|
+
.np-theme-personal--dark .dimmer.dimmer--enter-done {
|
|
36
|
+
background-color: rgba(243, 245, 241, 0.25);
|
|
37
|
+
}
|
|
38
|
+
.np-theme-personal--forest-green .dimmer.dimmer--enter-done,
|
|
39
|
+
.np-theme-personal--bright-green .dimmer.dimmer--enter-done {
|
|
40
|
+
background-color: rgba(255, 255, 255, 0.25);
|
|
41
|
+
}
|
|
42
|
+
.dimmer.dimmer--enter-done.dimmer--transparent {
|
|
43
|
+
background: transparent;
|
|
44
|
+
}
|
|
45
|
+
.dimmer.dimmer--enter-done.dimmer--enter-fade > * {
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
.dimmer.dimmer--exit-fade > *,
|
|
49
|
+
.dimmer.dimmer--enter-fade > * {
|
|
50
|
+
transition: opacity cubic-bezier(0, 0.94, 0.62, 1) 350ms;
|
|
51
|
+
}
|
|
52
|
+
.dimmer.dimmer--exit-fade > * {
|
|
53
|
+
opacity: 1;
|
|
54
|
+
}
|
|
55
|
+
.dimmer.dimmer--enter-fade > * {
|
|
56
|
+
opacity: 0;
|
|
57
|
+
}
|
|
58
|
+
.dimmer.dimmer--exit.dimmer--exit-fade > * {
|
|
59
|
+
opacity: 0;
|
|
60
|
+
}
|
|
61
|
+
.dimmer-content-positioner {
|
|
62
|
+
min-height: 100%;
|
|
63
|
+
pointer-events: none;
|
|
64
|
+
}
|
|
65
|
+
:not(.dimmer--scrollable) > .dimmer-content-positioner {
|
|
66
|
+
height: 100%;
|
|
67
|
+
}
|
|
68
|
+
.dimmer-content-positioner > * {
|
|
69
|
+
pointer-events: all;
|
|
70
|
+
}
|
package/src/dimmer/Dimmer.less
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import (reference) "
|
|
2
|
-
@import (reference) "
|
|
1
|
+
@import (reference) "../../node_modules/@transferwise/neptune-css/src/variables/zindex.less";
|
|
2
|
+
@import (reference) "../../node_modules/@transferwise/neptune-css/src/less/mixins/_logical-properties.less";
|
|
3
3
|
|
|
4
4
|
// Disables the scroll on the body
|
|
5
5
|
// Note: might not work in some iOS Safari browsers
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.wds-Divider {
|
|
2
|
+
--Divider-border-width: 4px;
|
|
3
|
+
--Divider-border-color: var(--color-border-neutral);
|
|
4
|
+
--Divider-border-style: solid;
|
|
5
|
+
--Divider-dash-length: 4px;
|
|
6
|
+
--Divider-dash-spacing: 4px;
|
|
7
|
+
border-top: 4px solid rgba(0,0,0,0.10196);
|
|
8
|
+
border-top: var(--Divider-border-width) var(--Divider-border-style) var(--Divider-border-color);
|
|
9
|
+
display: inline-block;
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
height: 4px;
|
|
13
|
+
height: var(--Divider-border-width);
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
.wds-Divider--content {
|
|
17
|
+
border-top: none;
|
|
18
|
+
background: repeating-linear-gradient(to right, var(--Divider-border-color), var(--Divider-border-color) var(--Divider-dash-length), transparent var(--Divider-dash-length), transparent calc(var(--Divider-dash-length) + var(--Divider-dash-spacing)));
|
|
19
|
+
height: var(--Divider-border-width);
|
|
20
|
+
}
|
|
21
|
+
.wds-Divider--content,
|
|
22
|
+
.wds-Divider--subsection {
|
|
23
|
+
--Divider-border-width: 1px;
|
|
24
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.np-drawer {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
width: 100vw;
|
|
6
|
+
max-width: 600px;
|
|
7
|
+
height: 100vh;
|
|
8
|
+
height: 100dvh;
|
|
9
|
+
max-height: 100vh;
|
|
10
|
+
max-height: 100dvh;
|
|
11
|
+
}
|
|
12
|
+
@media (max-width: 770px) {
|
|
13
|
+
.np-drawer {
|
|
14
|
+
max-width: none;
|
|
15
|
+
max-width: initial;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.np-drawer .np-drawer-header {
|
|
19
|
+
min-height: 56px;
|
|
20
|
+
min-height: var(--size-56);
|
|
21
|
+
padding: 24px;
|
|
22
|
+
padding: var(--size-24);
|
|
23
|
+
}
|
|
24
|
+
@media (max-width: 320px) {
|
|
25
|
+
.np-drawer .np-drawer-header {
|
|
26
|
+
padding: 16px;
|
|
27
|
+
padding: var(--size-16);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.np-drawer .np-drawer-title {
|
|
31
|
+
max-width: 85%;
|
|
32
|
+
}
|
|
33
|
+
.np-drawer .np-drawer-content {
|
|
34
|
+
overflow-y: auto;
|
|
35
|
+
flex: 1;
|
|
36
|
+
background-color: transparent;
|
|
37
|
+
}
|
|
38
|
+
.np-drawer .np-drawer-footer {
|
|
39
|
+
padding: 16px;
|
|
40
|
+
padding: var(--size-16);
|
|
41
|
+
}
|
|
42
|
+
.np-drawer .np-drawer-content {
|
|
43
|
+
padding: 0 16px;
|
|
44
|
+
padding: 0 var(--size-16);
|
|
45
|
+
}
|
|
46
|
+
@media (min-width: 768px) {
|
|
47
|
+
.np-drawer .np-drawer-header,
|
|
48
|
+
.np-drawer .np-drawer-footer {
|
|
49
|
+
padding: 24px;
|
|
50
|
+
padding: var(--size-24);
|
|
51
|
+
}
|
|
52
|
+
.np-drawer .np-drawer-content {
|
|
53
|
+
padding: 0 24px;
|
|
54
|
+
padding: 0 var(--size-24);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.np-dropfade,
|
|
2
|
+
.np-dropfade-enter {
|
|
3
|
+
opacity: 0;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
height: 0;
|
|
6
|
+
}
|
|
7
|
+
.np-dropfade-enter-active {
|
|
8
|
+
transition: height 150ms ease-in, opacity 150ms ease-in 150ms;
|
|
9
|
+
opacity: 1;
|
|
10
|
+
}
|
|
11
|
+
.np-dropfade-enter-done,
|
|
12
|
+
.np-dropfade-exit {
|
|
13
|
+
opacity: 1;
|
|
14
|
+
height: auto;
|
|
15
|
+
}
|
|
16
|
+
.np-dropfade-exit-active {
|
|
17
|
+
transition: opacity 150ms ease-in, height 150ms ease-in 150ms;
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.emphasis {
|
|
2
|
+
font-weight: 600;
|
|
3
|
+
font-weight: var(--font-weight-semi-bold);
|
|
4
|
+
font-style: normal;
|
|
5
|
+
}
|
|
6
|
+
.emphasis--important {
|
|
7
|
+
color: #37517e;
|
|
8
|
+
color: var(--color-content-primary);
|
|
9
|
+
}
|
|
10
|
+
.emphasis--positive {
|
|
11
|
+
color: #008026;
|
|
12
|
+
color: var(--color-content-positive);
|
|
13
|
+
}
|
|
14
|
+
.np-theme-personal .emphasis--positive {
|
|
15
|
+
color: var(--color-sentiment-positive);
|
|
16
|
+
}
|
|
17
|
+
.emphasis--negative {
|
|
18
|
+
color: #cf2929;
|
|
19
|
+
color: var(--color-content-negative);
|
|
20
|
+
}
|
|
21
|
+
.np-theme-personal .emphasis--negative {
|
|
22
|
+
color: var(--color-sentiment-negative);
|
|
23
|
+
}
|
|
24
|
+
.emphasis--warning {
|
|
25
|
+
color: #9a6500;
|
|
26
|
+
color: var(--color-content-warning);
|
|
27
|
+
}
|
|
28
|
+
.np-theme-personal .emphasis--warning {
|
|
29
|
+
color: #5d7079;
|
|
30
|
+
color: var(--color-content-secondary);
|
|
31
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.wds-amount-input-container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
.wds-amount-input-input-container {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: right;
|
|
7
|
+
width: 100%;
|
|
8
|
+
transition: font-size 0.4s cubic-bezier(0.3, 0, 0.1, 1), height 0.4s cubic-bezier(0.3, 0, 0.1, 1), margin-top 0.4s cubic-bezier(0.3, 0, 0.1, 1), color 0.4s ease;
|
|
9
|
+
color: var(--color-interactive-primary);
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
margin-bottom: 0 !important;
|
|
12
|
+
}
|
|
13
|
+
@media (prefers-reduced-motion: reduce) {
|
|
14
|
+
.wds-amount-input-input-container {
|
|
15
|
+
transition: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.wds-amount-input-input {
|
|
19
|
+
border: none;
|
|
20
|
+
outline: none;
|
|
21
|
+
flex-grow: 1;
|
|
22
|
+
text-align: right;
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
}
|
|
25
|
+
.wds-amount-input-input:focus-visible {
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
.wds-amount-input-placeholder {
|
|
29
|
+
flex-grow: 0;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
}
|
|
33
|
+
.wds-currency-selector:disabled {
|
|
34
|
+
opacity: 1 !important;
|
|
35
|
+
cursor: auto !important;
|
|
36
|
+
cursor: initial !important;
|
|
37
|
+
mix-blend-mode: initial !important;
|
|
38
|
+
}
|
|
39
|
+
.wds-chevron-container {
|
|
40
|
+
width: 32px;
|
|
41
|
+
width: var(--size-32);
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
color: var(--color-interactive-primary);
|
|
44
|
+
margin-left: 8px;
|
|
45
|
+
margin-left: var(--size-8);
|
|
46
|
+
transition: width 0.3s ease;
|
|
47
|
+
}
|
|
48
|
+
.wds-chevron-hidden {
|
|
49
|
+
width: 0;
|
|
50
|
+
}
|
|
51
|
+
.wds-expressive-money-input-currency-selector {
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
margin-right: 24px;
|
|
54
|
+
margin-right: var(--size-24);
|
|
55
|
+
}
|
|
56
|
+
.wds-expressive-money-input-chevron {
|
|
57
|
+
transform: translateY(-5%);
|
|
58
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.wds-amount-input-container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
.wds-amount-input-input-container {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: right;
|
|
7
|
+
width: 100%;
|
|
8
|
+
transition: font-size 0.4s cubic-bezier(0.3, 0, 0.1, 1), height 0.4s cubic-bezier(0.3, 0, 0.1, 1), margin-top 0.4s cubic-bezier(0.3, 0, 0.1, 1), color 0.4s ease;
|
|
9
|
+
color: var(--color-interactive-primary);
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
margin-bottom: 0 !important;
|
|
12
|
+
}
|
|
13
|
+
@media (prefers-reduced-motion: reduce) {
|
|
14
|
+
.wds-amount-input-input-container {
|
|
15
|
+
transition: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.wds-amount-input-input {
|
|
19
|
+
border: none;
|
|
20
|
+
outline: none;
|
|
21
|
+
flex-grow: 1;
|
|
22
|
+
text-align: right;
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
}
|
|
25
|
+
.wds-amount-input-input:focus-visible {
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
.wds-amount-input-placeholder {
|
|
29
|
+
flex-grow: 0;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
}
|