@transferwise/components 0.0.0-experimental-a18466a → 0.0.0-experimental-d6b038b
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/accordion/Accordion.js.map +1 -1
- package/build/accordion/Accordion.mjs.map +1 -1
- package/build/actionButton/ActionButton.js.map +1 -1
- package/build/actionButton/ActionButton.mjs.map +1 -1
- package/build/actionOption/ActionOption.js.map +1 -1
- package/build/actionOption/ActionOption.mjs.map +1 -1
- package/build/alert/Alert.js +1 -1
- package/build/alert/Alert.js.map +1 -1
- package/build/alert/Alert.mjs +1 -1
- package/build/alert/Alert.mjs.map +1 -1
- package/build/avatar/Avatar.js.map +1 -1
- package/build/avatar/Avatar.mjs.map +1 -1
- package/build/avatarLayout/AvatarLayout.js.map +1 -1
- package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/badge/Badge.js.map +1 -1
- package/build/badge/Badge.mjs.map +1 -1
- package/build/body/Body.js.map +1 -1
- package/build/body/Body.mjs.map +1 -1
- package/build/button/LegacyButton.js.map +1 -1
- package/build/button/LegacyButton.mjs.map +1 -1
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs.map +1 -1
- package/build/checkboxButton/CheckboxButton.js.map +1 -1
- package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
- package/build/checkboxOption/CheckboxOption.js.map +1 -1
- package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
- package/build/circularButton/CircularButton.js.map +1 -1
- package/build/circularButton/CircularButton.mjs.map +1 -1
- package/build/common/propsValues/type.js +1 -1
- package/build/common/propsValues/type.js.map +1 -1
- package/build/common/propsValues/type.mjs +1 -1
- package/build/common/propsValues/type.mjs.map +1 -1
- package/build/common/propsValues/typography.js +1 -1
- package/build/common/propsValues/typography.js.map +1 -1
- package/build/common/propsValues/typography.mjs +1 -1
- package/build/common/propsValues/typography.mjs.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js +68 -3
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs +69 -4
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- 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/dimmer/Dimmer.js.map +1 -1
- package/build/dimmer/Dimmer.mjs.map +1 -1
- package/build/drawer/Drawer.js.map +1 -1
- package/build/drawer/Drawer.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/field/Field.js.map +1 -1
- package/build/field/Field.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
- package/build/header/Header.js.map +1 -1
- package/build/header/Header.mjs.map +1 -1
- package/build/iconButton/IconButton.js.map +1 -1
- package/build/iconButton/IconButton.mjs.map +1 -1
- package/build/index.js +14 -7
- package/build/index.js.map +1 -1
- package/build/index.mjs +10 -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 +27 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +25 -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/legacylistItem/LegacyListItem.js.map +1 -1
- package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
- package/build/list/List.js.map +1 -1
- package/build/list/List.mjs.map +1 -1
- package/build/listItem/Button/ListItemButton.js.map +1 -1
- package/build/listItem/Button/ListItemButton.mjs.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
- package/build/listItem/Image/ListItemImage.js.map +1 -1
- package/build/listItem/Image/ListItemImage.mjs.map +1 -1
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs.map +1 -1
- package/build/loader/Loader.js.map +1 -1
- package/build/loader/Loader.mjs.map +1 -1
- package/build/logo/Logo.js.map +1 -1
- package/build/logo/Logo.mjs.map +1 -1
- package/build/main.css +123 -105
- package/build/modal/Modal.js.map +1 -1
- package/build/modal/Modal.mjs.map +1 -1
- 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/navigationOption/NavigationOption.js.map +1 -1
- package/build/navigationOption/NavigationOption.mjs.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
- package/build/nudge/Nudge.js.map +1 -1
- package/build/nudge/Nudge.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/popover/Popover.js.map +1 -1
- package/build/popover/Popover.mjs.map +1 -1
- package/build/processIndicator/ProcessIndicator.js.map +1 -1
- package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
- package/build/prompt/ActionPrompt/ActionPrompt.js.map +1 -1
- package/build/prompt/ActionPrompt/ActionPrompt.mjs.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
- package/build/radioOption/RadioOption.js.map +1 -1
- package/build/radioOption/RadioOption.mjs.map +1 -1
- package/build/select/Select.js.map +1 -1
- package/build/select/Select.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.js.map +1 -1
- package/build/statusIcon/StatusIcon.mjs.map +1 -1
- package/build/styles/criticalBanner/CriticalCommsBanner.css +33 -15
- 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 +123 -105
- package/build/summary/Summary.js +1 -1
- package/build/summary/Summary.js.map +1 -1
- package/build/summary/Summary.mjs +1 -1
- package/build/summary/Summary.mjs.map +1 -1
- package/build/switchOption/SwitchOption.js +1 -1
- package/build/switchOption/SwitchOption.js.map +1 -1
- package/build/switchOption/SwitchOption.mjs +1 -1
- package/build/switchOption/SwitchOption.mjs.map +1 -1
- package/build/tabs/Tabs.js.map +1 -1
- package/build/tabs/Tabs.mjs.map +1 -1
- package/build/typeahead/Typeahead.js.map +1 -1
- package/build/typeahead/Typeahead.mjs.map +1 -1
- package/build/types/accordion/Accordion.d.ts +2 -8
- package/build/types/accordion/Accordion.d.ts.map +1 -1
- package/build/types/actionButton/ActionButton.d.ts +4 -6
- package/build/types/actionButton/ActionButton.d.ts.map +1 -1
- package/build/types/actionOption/ActionOption.d.ts +1 -1
- package/build/types/alert/Alert.d.ts +2 -5
- package/build/types/alert/Alert.d.ts.map +1 -1
- package/build/types/avatar/Avatar.d.ts +0 -4
- package/build/types/avatar/Avatar.d.ts.map +1 -1
- package/build/types/avatarLayout/AvatarLayout.d.ts +1 -5
- package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -1
- package/build/types/badge/Badge.d.ts +0 -2
- package/build/types/badge/Badge.d.ts.map +1 -1
- package/build/types/body/Body.d.ts +6 -2
- package/build/types/body/Body.d.ts.map +1 -1
- package/build/types/button/Button.types.d.ts +1 -4
- package/build/types/button/Button.types.d.ts.map +1 -1
- package/build/types/button/LegacyButton.d.ts +4 -4
- package/build/types/card/Card.d.ts +0 -1
- package/build/types/card/Card.d.ts.map +1 -1
- package/build/types/checkboxButton/CheckboxButton.d.ts +0 -2
- package/build/types/checkboxButton/CheckboxButton.d.ts.map +1 -1
- package/build/types/checkboxOption/CheckboxOption.d.ts +1 -1
- package/build/types/circularButton/CircularButton.d.ts +1 -1
- package/build/types/circularButton/CircularButton.d.ts.map +1 -1
- package/build/types/common/propsValues/type.d.ts +1 -1
- package/build/types/common/propsValues/typography.d.ts +2 -2
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts +4 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
- package/build/types/criticalBanner/index.d.ts +1 -0
- package/build/types/criticalBanner/index.d.ts.map +1 -1
- package/build/types/dateInput/DateInput.d.ts +0 -5
- package/build/types/dateInput/DateInput.d.ts.map +1 -1
- package/build/types/dimmer/Dimmer.d.ts +0 -6
- package/build/types/dimmer/Dimmer.d.ts.map +1 -1
- package/build/types/drawer/Drawer.d.ts +2 -8
- package/build/types/drawer/Drawer.d.ts.map +1 -1
- package/build/types/field/Field.d.ts +2 -5
- package/build/types/field/Field.d.ts.map +1 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts +0 -3
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -1
- package/build/types/header/Header.d.ts +1 -5
- package/build/types/header/Header.d.ts.map +1 -1
- package/build/types/iconButton/IconButton.d.ts +0 -6
- package/build/types/iconButton/IconButton.d.ts.map +1 -1
- package/build/types/index.d.ts +1 -0
- 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 +61 -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 +12 -0
- package/build/types/inputs/SelectInput/index.d.ts.map +1 -0
- package/build/types/legacylistItem/LegacyListItem.d.ts +1 -1
- package/build/types/list/List.d.ts +0 -1
- package/build/types/list/List.d.ts.map +1 -1
- package/build/types/listItem/Button/ListItemButton.d.ts +0 -4
- package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -1
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts +1 -3
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -1
- package/build/types/listItem/Image/ListItemImage.d.ts +0 -2
- package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -1
- package/build/types/listItem/ListItem.d.ts +0 -3
- package/build/types/listItem/ListItem.d.ts.map +1 -1
- package/build/types/loader/Loader.d.ts +1 -5
- package/build/types/loader/Loader.d.ts.map +1 -1
- package/build/types/logo/Logo.d.ts +1 -4
- package/build/types/logo/Logo.d.ts.map +1 -1
- package/build/types/modal/Modal.d.ts +0 -6
- package/build/types/modal/Modal.d.ts.map +1 -1
- package/build/types/navigationOption/NavigationOption.d.ts +1 -1
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +1 -1
- package/build/types/nudge/Nudge.d.ts +1 -1
- package/build/types/nudge/Nudge.d.ts.map +1 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts +1 -7
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
- package/build/types/popover/Popover.d.ts +0 -1
- package/build/types/popover/Popover.d.ts.map +1 -1
- package/build/types/processIndicator/ProcessIndicator.d.ts +0 -2
- package/build/types/processIndicator/ProcessIndicator.d.ts.map +1 -1
- package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts +1 -8
- package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts.map +1 -1
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts +0 -1
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -1
- package/build/types/radioOption/RadioOption.d.ts +1 -1
- package/build/types/select/Select.d.ts +0 -4
- package/build/types/select/Select.d.ts.map +1 -1
- package/build/types/statusIcon/StatusIcon.d.ts +1 -3
- package/build/types/statusIcon/StatusIcon.d.ts.map +1 -1
- package/build/types/summary/Summary.d.ts +4 -7
- package/build/types/summary/Summary.d.ts.map +1 -1
- package/build/types/switchOption/SwitchOption.d.ts +1 -1
- package/build/types/tabs/Tabs.d.ts +0 -2
- package/build/types/tabs/Tabs.d.ts.map +1 -1
- package/build/types/typeahead/Typeahead.d.ts +1 -14
- package/build/types/typeahead/Typeahead.d.ts.map +1 -1
- package/build/types/upload/Upload.d.ts +0 -6
- package/build/types/upload/Upload.d.ts.map +1 -1
- package/build/types/uploadInput/UploadInput.d.ts +1 -10
- package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +0 -3
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -1
- package/build/upload/Upload.js.map +1 -1
- package/build/upload/Upload.mjs.map +1 -1
- package/build/uploadInput/UploadInput.js.map +1 -1
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
- package/package.json +1 -1
- package/src/accordion/Accordion.tsx +2 -8
- package/src/actionButton/ActionButton.tsx +3 -4
- package/src/actionOption/ActionOption.tsx +1 -1
- package/src/alert/Alert.tsx +2 -5
- package/src/avatar/Avatar.tsx +0 -4
- package/src/avatarLayout/AvatarLayout.tsx +1 -5
- package/src/badge/Badge.tsx +0 -2
- package/src/body/Body.tsx +6 -2
- package/src/button/Button.types.ts +1 -4
- package/src/button/LegacyButton.tsx +4 -4
- package/src/card/Card.tsx +0 -1
- package/src/checkboxButton/CheckboxButton.tsx +0 -1
- package/src/checkboxOption/CheckboxOption.tsx +1 -1
- package/src/circularButton/CircularButton.tsx +2 -1
- package/src/common/propsValues/type.ts +1 -1
- package/src/common/propsValues/typography.ts +2 -2
- package/src/criticalBanner/CriticalCommsBanner.css +33 -15
- package/src/criticalBanner/CriticalCommsBanner.less +46 -36
- package/src/criticalBanner/CriticalCommsBanner.story.tsx +9 -15
- package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +70 -0
- package/src/criticalBanner/CriticalCommsBanner.test.tsx +66 -0
- package/src/criticalBanner/CriticalCommsBanner.tsx +54 -5
- package/src/criticalBanner/index.ts +1 -0
- package/src/dateInput/DateInput.tsx +0 -5
- package/src/dimmer/Dimmer.tsx +0 -6
- package/src/drawer/Drawer.tsx +2 -8
- package/src/field/Field.tsx +2 -5
- package/src/flowNavigation/FlowNavigation.tsx +0 -3
- package/src/header/Header.tsx +1 -5
- package/src/iconButton/IconButton.tsx +0 -3
- package/src/index.ts +1 -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 +40 -0
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +29 -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.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 +206 -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} +5 -10
- package/src/inputs/SelectInput/components.ts +10 -0
- package/src/inputs/SelectInput/index.ts +14 -0
- package/src/legacylistItem/LegacyListItem.tsx +1 -1
- package/src/list/List.tsx +0 -1
- package/src/listItem/Button/ListItemButton.tsx +0 -2
- package/src/listItem/IconButton/ListItemIconButton.tsx +1 -3
- package/src/listItem/Image/ListItemImage.tsx +0 -2
- package/src/listItem/ListItem.tsx +0 -2
- package/src/loader/Loader.tsx +2 -6
- package/src/logo/Logo.tsx +1 -4
- package/src/main.css +123 -105
- package/src/main.less +1 -1
- package/src/modal/Modal.tsx +0 -6
- package/src/navigationOption/NavigationOption.tsx +1 -1
- package/src/navigationOptionsList/NavigationOptionsList.tsx +1 -1
- package/src/nudge/Nudge.tsx +1 -1
- package/src/phoneNumberInput/PhoneNumberInput.tsx +1 -7
- package/src/popover/Popover.tsx +0 -1
- package/src/processIndicator/ProcessIndicator.tsx +0 -2
- package/src/prompt/ActionPrompt/ActionPrompt.tsx +1 -8
- package/src/prompt/InlinePrompt/InlinePrompt.tsx +0 -1
- package/src/radioOption/RadioOption.tsx +1 -1
- package/src/select/Select.tsx +0 -4
- package/src/statusIcon/StatusIcon.tsx +1 -3
- package/src/summary/Summary.tsx +4 -7
- package/src/switchOption/SwitchOption.tsx +1 -1
- package/src/tabs/Tabs.tsx +0 -2
- package/src/typeahead/Typeahead.tsx +2 -14
- package/src/upload/Upload.tsx +0 -6
- package/src/uploadInput/UploadInput.tsx +4 -12
- package/src/withDisplayFormat/WithDisplayFormat.tsx +0 -3
- 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/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/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.css → SelectInput/SelectInput.css} +90 -90
- /package/src/inputs/{SelectInput.messages.ts → SelectInput/SelectInput.messages.ts} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Re-export all components from their new locations
|
|
2
|
+
export * from './ClearButton';
|
|
3
|
+
export * from './Option';
|
|
4
|
+
export * from './OptionContent';
|
|
5
|
+
export * from './TriggerButton';
|
|
6
|
+
export * from './ItemView';
|
|
7
|
+
export * from './Options';
|
|
8
|
+
export * from './BottomSheet';
|
|
9
|
+
export * from './Popover';
|
|
10
|
+
export * from './ButtonInput';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Export from the new structure
|
|
2
|
+
export * from './SelectInput';
|
|
3
|
+
export * from './SelectInput.types';
|
|
4
|
+
export * from './SelectInput.utils';
|
|
5
|
+
export * from './SelectInput.contexts';
|
|
6
|
+
|
|
7
|
+
// Export components directly
|
|
8
|
+
export * from './ClearButton';
|
|
9
|
+
export * from './Option';
|
|
10
|
+
export * from './OptionContent';
|
|
11
|
+
export * from './TriggerButton';
|
|
12
|
+
export * from './DefaultRenderTrigger';
|
|
13
|
+
export * from './ItemView';
|
|
14
|
+
export * from './Options';
|
|
@@ -14,7 +14,7 @@ export type LegacyListItemProps = {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* @deprecated
|
|
17
|
+
* @deprecated Please use `<ListItem />` instead.
|
|
18
18
|
* @deprecatedSince 46.104.0
|
|
19
19
|
* @see [Source](../listItem/ListItem.tsx)
|
|
20
20
|
* @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
|
package/src/list/List.tsx
CHANGED
|
@@ -6,12 +6,10 @@ import { ListItemContext } from '../ListItemContext';
|
|
|
6
6
|
|
|
7
7
|
export type ListItemIconButtonProps = Pick<
|
|
8
8
|
IconButtonProps,
|
|
9
|
-
'type' | 'onClick' | 'href' | 'target' | 'aria-label'
|
|
9
|
+
'priority' | 'type' | 'onClick' | 'href' | 'target' | 'aria-label'
|
|
10
10
|
> & {
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
partiallyInteractive?: boolean;
|
|
13
|
-
/** @default 'minimal' */
|
|
14
|
-
priority?: IconButtonProps['priority'];
|
|
15
13
|
};
|
|
16
14
|
|
|
17
15
|
/**
|
|
@@ -6,12 +6,10 @@ import { ListItemMediaSize } from '../ListItemContext';
|
|
|
6
6
|
export type ListItemImageProps = Omit<ImageProps, 'stretch' | 'shrink' | 'id' | 'alt' | 'role'> & {
|
|
7
7
|
/**
|
|
8
8
|
* The size of square container for the image, matching available avatar sizes.
|
|
9
|
-
* @default 48
|
|
10
9
|
*/
|
|
11
10
|
size?: ListItemMediaSize;
|
|
12
11
|
/**
|
|
13
12
|
* When unset, it will force `role="presentation"` on the image. Otherwise, the image will use its implicit img role.
|
|
14
|
-
* @default ''
|
|
15
13
|
*/
|
|
16
14
|
alt?: string;
|
|
17
15
|
};
|
|
@@ -45,7 +45,6 @@ export type ListItemControlProps =
|
|
|
45
45
|
| ListItemSwitchProps;
|
|
46
46
|
|
|
47
47
|
export type ListItemProps = {
|
|
48
|
-
/** @default 'li' */
|
|
49
48
|
as?: 'li' | 'div';
|
|
50
49
|
/**
|
|
51
50
|
* Swaps vertical hierarchy of title and subtitle and their corresponding right values.
|
|
@@ -89,7 +88,6 @@ export type ListItemProps = {
|
|
|
89
88
|
* `<ListItem.Navigation />`, <br/>
|
|
90
89
|
* `<ListItem.Radio />`, or
|
|
91
90
|
* `<ListItem.Switch />`
|
|
92
|
-
* @default null
|
|
93
91
|
*/
|
|
94
92
|
control?: ReactNode;
|
|
95
93
|
/**
|
package/src/loader/Loader.tsx
CHANGED
|
@@ -4,23 +4,19 @@ import { useEffect, useState } from 'react';
|
|
|
4
4
|
|
|
5
5
|
import { Size, SizeExtraSmall, SizeSmall, SizeMedium, SizeLarge, SizeExtraLarge } from '../common';
|
|
6
6
|
|
|
7
|
-
// TODO: We gracefully
|
|
7
|
+
// TODO: We gracefully depracated xs, lg and xl -- remove these as part of a future breaking change to this component
|
|
8
8
|
type DeprecatedSize = SizeExtraSmall | SizeLarge | SizeExtraLarge;
|
|
9
9
|
|
|
10
10
|
type SizeType = SizeSmall | SizeMedium;
|
|
11
11
|
|
|
12
12
|
export type LoaderProps = {
|
|
13
13
|
/**
|
|
14
|
-
* @deprecated
|
|
15
|
-
* @default false
|
|
14
|
+
* @deprecated use `size` instead
|
|
16
15
|
*/
|
|
17
16
|
small?: boolean;
|
|
18
|
-
/** @default 'md' */
|
|
19
17
|
size?: SizeType | DeprecatedSize;
|
|
20
|
-
/** @default false */
|
|
21
18
|
displayInstantly?: boolean;
|
|
22
19
|
// TODO: refactor in favor of prop from `CommonProps` type
|
|
23
|
-
/** @default {} */
|
|
24
20
|
classNames?: Record<string, string>;
|
|
25
21
|
'data-testid'?: string;
|
|
26
22
|
};
|
package/src/logo/Logo.tsx
CHANGED
|
@@ -35,10 +35,7 @@ export interface LogoProps {
|
|
|
35
35
|
className?: string;
|
|
36
36
|
/** If true, will use dark colours for dark on light theme */
|
|
37
37
|
inverse?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* What type of logo to display
|
|
40
|
-
* @default 'WISE'
|
|
41
|
-
*/
|
|
38
|
+
/** What type of logo to display */
|
|
42
39
|
type?: `${LogoType}`;
|
|
43
40
|
}
|
|
44
41
|
|
package/src/main.css
CHANGED
|
@@ -485,37 +485,55 @@
|
|
|
485
485
|
--color-sentiment-background-surface-hover: #CAF1F1;
|
|
486
486
|
--color-sentiment-background-surface-active: #B6ECEC;
|
|
487
487
|
}
|
|
488
|
-
.
|
|
489
|
-
|
|
490
|
-
|
|
488
|
+
.critical-comms {
|
|
489
|
+
border-radius: 16px;
|
|
490
|
+
border-radius: var(--radius-medium);
|
|
491
|
+
overflow: hidden;
|
|
491
492
|
}
|
|
492
|
-
.
|
|
493
|
-
color: var(--color-
|
|
493
|
+
.critical-comms .alert {
|
|
494
|
+
background-color: var(--color-sentiment-background-surface);
|
|
495
|
+
color: var(--color-sentiment-content-primary);
|
|
496
|
+
margin-bottom: 0;
|
|
497
|
+
}
|
|
498
|
+
.critical-comms .alert .np-text-title-body {
|
|
499
|
+
color: var(--color-sentiment-content-primary);
|
|
494
500
|
}
|
|
495
|
-
.
|
|
501
|
+
.critical-comms .status-circle.negative {
|
|
496
502
|
background-color: #ffffff;
|
|
497
503
|
background-color: var(--color-background-screen);
|
|
498
504
|
}
|
|
499
|
-
.
|
|
500
|
-
color:
|
|
505
|
+
.critical-comms .status-circle.negative .status-icon {
|
|
506
|
+
color: #37517e;
|
|
507
|
+
color: var(--color-content-primary);
|
|
501
508
|
}
|
|
502
|
-
.
|
|
509
|
+
.critical-comms .alert__message .alert__action {
|
|
503
510
|
margin-top: 16px;
|
|
504
511
|
margin-top: var(--size-16);
|
|
505
512
|
}
|
|
506
|
-
.
|
|
507
|
-
--Button-
|
|
508
|
-
--Button-
|
|
509
|
-
--Button-
|
|
513
|
+
.critical-comms .wds-Button {
|
|
514
|
+
--Button-color: var(--color-content-primary);
|
|
515
|
+
--Button-color-hover: var(--color-content-primary);
|
|
516
|
+
--Button-color-active: var(--color-content-primary);
|
|
517
|
+
--Button-background: var(--color-background-screen);
|
|
518
|
+
--Button-background-hover: var(--color-sentiment-interactive-primary-hover);
|
|
519
|
+
--Button-background-active: var(--color-sentiment-interactive-primary-active);
|
|
520
|
+
}
|
|
521
|
+
.critical-comms .alert-warning .wds-Button {
|
|
522
|
+
--Button-background-hover: var(--color-sentiment-interactive-secondary-neutral-hover);
|
|
523
|
+
--Button-background-active: var(--color-sentiment-interactive-secondary-neutral-active);
|
|
510
524
|
}
|
|
511
525
|
@media (min-width: 768px) {
|
|
512
|
-
.
|
|
526
|
+
.critical-comms .alert-warning .alert__message,
|
|
527
|
+
.critical-comms .alert-negative .alert__message,
|
|
528
|
+
.critical-comms .alert-neutral .alert__message {
|
|
513
529
|
flex-direction: row;
|
|
514
530
|
justify-content: space-between;
|
|
515
531
|
align-items: center;
|
|
516
532
|
width: 100%;
|
|
517
533
|
}
|
|
518
|
-
.
|
|
534
|
+
.critical-comms .alert-warning .alert__message .alert__action,
|
|
535
|
+
.critical-comms .alert-negative .alert__message .alert__action,
|
|
536
|
+
.critical-comms .alert-neutral .alert__message .alert__action {
|
|
519
537
|
margin-top: 0;
|
|
520
538
|
margin-left: 16px;
|
|
521
539
|
margin-left: var(--padding-small);
|
|
@@ -3984,14 +4002,91 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3984
4002
|
color: #5d7079;
|
|
3985
4003
|
color: var(--color-content-secondary);
|
|
3986
4004
|
}
|
|
3987
|
-
.np-select-input-
|
|
4005
|
+
.np-select-input-option-container {
|
|
4006
|
+
display: flex;
|
|
4007
|
+
cursor: default;
|
|
4008
|
+
-webkit-user-select: none;
|
|
4009
|
+
-moz-user-select: none;
|
|
4010
|
+
user-select: none;
|
|
4011
|
+
align-items: center;
|
|
4012
|
+
-moz-column-gap: 8px;
|
|
4013
|
+
column-gap: 8px;
|
|
4014
|
+
-moz-column-gap: var(--size-8);
|
|
4015
|
+
column-gap: var(--size-8);
|
|
4016
|
+
border-radius: 10px;
|
|
4017
|
+
border-radius: var(--radius-small);
|
|
4018
|
+
padding: 12px 16px;
|
|
4019
|
+
padding: var(--size-12) var(--size-16);
|
|
4020
|
+
color: var(--color-interactive-primary);
|
|
4021
|
+
}
|
|
4022
|
+
.np-select-input-option-container:focus {
|
|
4023
|
+
outline: none;
|
|
4024
|
+
}
|
|
4025
|
+
.np-select-input-option-container--active {
|
|
4026
|
+
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
4027
|
+
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
4028
|
+
}
|
|
4029
|
+
.np-select-input-option-container--disabled {
|
|
4030
|
+
opacity: 0.45;
|
|
4031
|
+
}
|
|
4032
|
+
.np-select-input-option-check--not-selected {
|
|
4033
|
+
visibility: hidden;
|
|
4034
|
+
}
|
|
4035
|
+
.np-select-input-option {
|
|
4036
|
+
flex: 1;
|
|
4037
|
+
}
|
|
4038
|
+
.np-select-input-option-content-container {
|
|
4039
|
+
display: flex;
|
|
4040
|
+
align-items: center;
|
|
4041
|
+
-moz-column-gap: 8px;
|
|
4042
|
+
column-gap: 8px;
|
|
4043
|
+
-moz-column-gap: var(--size-8);
|
|
4044
|
+
column-gap: var(--size-8);
|
|
4045
|
+
color: #37517e;
|
|
4046
|
+
color: var(--color-content-primary);
|
|
4047
|
+
}
|
|
4048
|
+
.np-select-input-option-content-icon {
|
|
4049
|
+
display: flex;
|
|
4050
|
+
}
|
|
4051
|
+
.np-select-input-option-content-icon--not-within-trigger {
|
|
4052
|
+
align-self: flex-start;
|
|
4053
|
+
}
|
|
4054
|
+
.np-select-input-option-content-text {
|
|
4055
|
+
display: flex;
|
|
4056
|
+
flex: 1;
|
|
4057
|
+
flex-direction: column;
|
|
4058
|
+
overflow: hidden;
|
|
4059
|
+
}
|
|
4060
|
+
.np-select-input-option-content-text-secondary {
|
|
4061
|
+
color: #5d7079;
|
|
4062
|
+
color: var(--color-content-secondary);
|
|
4063
|
+
}
|
|
4064
|
+
.np-select-input-option-content-text-within-trigger {
|
|
3988
4065
|
overflow: hidden;
|
|
3989
4066
|
text-overflow: ellipsis;
|
|
3990
4067
|
white-space: nowrap;
|
|
3991
4068
|
}
|
|
3992
|
-
.np-select-input-
|
|
3993
|
-
|
|
3994
|
-
|
|
4069
|
+
.np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
|
|
4070
|
+
margin-right: 8px;
|
|
4071
|
+
margin-right: var(--size-8);
|
|
4072
|
+
margin-left: 8px;
|
|
4073
|
+
margin-left: var(--size-8);
|
|
4074
|
+
}
|
|
4075
|
+
.np-select-input-group-item--without-needle:first-child {
|
|
4076
|
+
margin-top: calc(-1 * 8px);
|
|
4077
|
+
margin-top: calc(-1 * var(--size-8));
|
|
4078
|
+
}
|
|
4079
|
+
.np-select-input-group-item-header {
|
|
4080
|
+
position: sticky;
|
|
4081
|
+
top: 0px;
|
|
4082
|
+
z-index: 10;
|
|
4083
|
+
background-color: #ffffff;
|
|
4084
|
+
background-color: var(--color-background-elevated);
|
|
4085
|
+
}
|
|
4086
|
+
.np-select-input-separator-item {
|
|
4087
|
+
margin: 8px;
|
|
4088
|
+
margin: var(--size-8);
|
|
4089
|
+
border-top-width: 1px;
|
|
3995
4090
|
}
|
|
3996
4091
|
.np-select-input-options-container {
|
|
3997
4092
|
display: flex;
|
|
@@ -4070,92 +4165,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
4070
4165
|
contain: strict;
|
|
4071
4166
|
height: 100%;
|
|
4072
4167
|
}
|
|
4073
|
-
.np-select-input-separator-item {
|
|
4074
|
-
margin: 8px;
|
|
4075
|
-
margin: var(--size-8);
|
|
4076
|
-
border-top-width: 1px;
|
|
4077
|
-
}
|
|
4078
|
-
.np-select-input-group-item--without-needle:first-child {
|
|
4079
|
-
margin-top: calc(-1 * 8px);
|
|
4080
|
-
margin-top: calc(-1 * var(--size-8));
|
|
4081
|
-
}
|
|
4082
|
-
.np-select-input-group-item-header {
|
|
4083
|
-
position: sticky;
|
|
4084
|
-
top: 0px;
|
|
4085
|
-
z-index: 10;
|
|
4086
|
-
background-color: #ffffff;
|
|
4087
|
-
background-color: var(--color-background-elevated);
|
|
4088
|
-
}
|
|
4089
|
-
.np-select-input-option-container {
|
|
4090
|
-
display: flex;
|
|
4091
|
-
cursor: default;
|
|
4092
|
-
-webkit-user-select: none;
|
|
4093
|
-
-moz-user-select: none;
|
|
4094
|
-
user-select: none;
|
|
4095
|
-
align-items: center;
|
|
4096
|
-
-moz-column-gap: 8px;
|
|
4097
|
-
column-gap: 8px;
|
|
4098
|
-
-moz-column-gap: var(--size-8);
|
|
4099
|
-
column-gap: var(--size-8);
|
|
4100
|
-
border-radius: 10px;
|
|
4101
|
-
border-radius: var(--radius-small);
|
|
4102
|
-
padding: 12px 16px;
|
|
4103
|
-
padding: var(--size-12) var(--size-16);
|
|
4104
|
-
color: var(--color-interactive-primary);
|
|
4105
|
-
}
|
|
4106
|
-
.np-select-input-option-container:focus {
|
|
4107
|
-
outline: none;
|
|
4108
|
-
}
|
|
4109
|
-
.np-select-input-option-container--active {
|
|
4110
|
-
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
4111
|
-
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
4112
|
-
}
|
|
4113
|
-
.np-select-input-option-container--disabled {
|
|
4114
|
-
opacity: 0.45;
|
|
4115
|
-
}
|
|
4116
|
-
.np-select-input-option-check--not-selected {
|
|
4117
|
-
visibility: hidden;
|
|
4118
|
-
}
|
|
4119
|
-
.np-select-input-option {
|
|
4120
|
-
flex: 1;
|
|
4121
|
-
}
|
|
4122
|
-
.np-select-input-option-content-container {
|
|
4123
|
-
display: flex;
|
|
4124
|
-
align-items: center;
|
|
4125
|
-
-moz-column-gap: 8px;
|
|
4126
|
-
column-gap: 8px;
|
|
4127
|
-
-moz-column-gap: var(--size-8);
|
|
4128
|
-
column-gap: var(--size-8);
|
|
4129
|
-
color: #37517e;
|
|
4130
|
-
color: var(--color-content-primary);
|
|
4131
|
-
}
|
|
4132
|
-
.np-select-input-option-content-icon {
|
|
4133
|
-
display: flex;
|
|
4134
|
-
}
|
|
4135
|
-
.np-select-input-option-content-icon--not-within-trigger {
|
|
4136
|
-
align-self: flex-start;
|
|
4137
|
-
}
|
|
4138
|
-
.np-select-input-option-content-text {
|
|
4139
|
-
display: flex;
|
|
4140
|
-
flex: 1;
|
|
4141
|
-
flex-direction: column;
|
|
4142
|
-
overflow: hidden;
|
|
4143
|
-
}
|
|
4144
|
-
.np-select-input-option-content-text-secondary {
|
|
4145
|
-
color: #5d7079;
|
|
4146
|
-
color: var(--color-content-secondary);
|
|
4147
|
-
}
|
|
4148
|
-
.np-select-input-option-content-text-within-trigger {
|
|
4149
|
-
overflow: hidden;
|
|
4150
|
-
text-overflow: ellipsis;
|
|
4151
|
-
white-space: nowrap;
|
|
4152
|
-
}
|
|
4153
|
-
.np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
|
|
4154
|
-
margin-right: 8px;
|
|
4155
|
-
margin-right: var(--size-8);
|
|
4156
|
-
margin-left: 8px;
|
|
4157
|
-
margin-left: var(--size-8);
|
|
4158
|
-
}
|
|
4159
4168
|
.np-select-input-footer {
|
|
4160
4169
|
padding: 4px 24px 16px;
|
|
4161
4170
|
padding: var(--size-4) var(--size-24) var(--size-16);
|
|
@@ -4206,6 +4215,15 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
4206
4215
|
border-inline-start: 1px solid rgba(0,0,0,0.10196);
|
|
4207
4216
|
border-inline-start: 1px solid var(--color-border-neutral);
|
|
4208
4217
|
}
|
|
4218
|
+
.np-select-input-content {
|
|
4219
|
+
overflow: hidden;
|
|
4220
|
+
text-overflow: ellipsis;
|
|
4221
|
+
white-space: nowrap;
|
|
4222
|
+
}
|
|
4223
|
+
.np-select-input-placeholder {
|
|
4224
|
+
color: #768e9c;
|
|
4225
|
+
color: var(--color-content-tertiary);
|
|
4226
|
+
}
|
|
4209
4227
|
.np-text-area {
|
|
4210
4228
|
min-height: 72px;
|
|
4211
4229
|
min-height: var(--size-72);
|
package/src/main.less
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
@import "./listItem/ListItem.less";
|
|
45
45
|
@import "./field/Field.less";
|
|
46
46
|
@import "./inputs/InputGroup.less";
|
|
47
|
-
@import "./inputs/SelectInput.less";
|
|
47
|
+
@import "./inputs/SelectInput/SelectInput.less";
|
|
48
48
|
@import "./inputs/TextArea.less";
|
|
49
49
|
@import "./instructionsList/InstructionsList.less";
|
|
50
50
|
@import "./link/Link.less";
|
package/src/modal/Modal.tsx
CHANGED
|
@@ -30,21 +30,15 @@ import closeBtnMessages from '../common/closeButton/CloseButton.messages';
|
|
|
30
30
|
const TRANSITION_DURATION_IN_MILLISECONDS = 150;
|
|
31
31
|
|
|
32
32
|
export type ModalProps = CommonProps & {
|
|
33
|
-
/** @default null */
|
|
34
33
|
title?: ReactNode;
|
|
35
34
|
body: ReactNode;
|
|
36
|
-
/** @default null */
|
|
37
35
|
footer?: ReactNode;
|
|
38
|
-
/** @default 'md' */
|
|
39
36
|
size?: SizeSmall | SizeMedium | SizeLarge | SizeExtraLarge;
|
|
40
37
|
onClose: () => void;
|
|
41
38
|
onUnmount?: () => void;
|
|
42
39
|
open: boolean;
|
|
43
|
-
/** @default 'viewport' */
|
|
44
40
|
scroll?: ScrollContent | ScrollViewport;
|
|
45
|
-
/** @default 'center' */
|
|
46
41
|
position?: PositionTop | PositionCenter;
|
|
47
|
-
/** @default false */
|
|
48
42
|
disableDimmerClickToClose?: boolean;
|
|
49
43
|
};
|
|
50
44
|
|
|
@@ -9,7 +9,7 @@ import { OptionProps, ReferenceType } from '../common/Option/Option';
|
|
|
9
9
|
export type NavigationOptionProps = OptionProps;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @deprecated
|
|
12
|
+
* @deprecated Please use `<ListItem />` instead.
|
|
13
13
|
* @deprecatedSince 46.104.0
|
|
14
14
|
* @see [Source](../listItem/ListItem.tsx)
|
|
15
15
|
* @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
|
|
@@ -6,7 +6,7 @@ export interface NavigationOptionListProps {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @deprecated
|
|
9
|
+
* @deprecated Please use `<List />` and `<ListItem />` instead.
|
|
10
10
|
* @deprecatedSince 46.104.0
|
|
11
11
|
* @see [List source](../list/List.tsx)
|
|
12
12
|
* @see [ListItem source](../listItem/ListItem.tsx)
|
package/src/nudge/Nudge.tsx
CHANGED
|
@@ -31,17 +31,11 @@ export interface PhoneNumberInputProps {
|
|
|
31
31
|
onFocus?: React.FocusEventHandler<HTMLInputElement>;
|
|
32
32
|
onBlur?: () => void;
|
|
33
33
|
countryCode?: string;
|
|
34
|
-
/** @default 'Prefix' */
|
|
35
34
|
searchPlaceholder?: string;
|
|
36
|
-
/** @default 'md' */
|
|
37
35
|
size?: SizeSmall | SizeMedium | SizeLarge;
|
|
38
36
|
placeholder?: string;
|
|
39
|
-
/** @default {} */
|
|
40
37
|
selectProps?: Partial<SelectInputProps<string | null>>;
|
|
41
|
-
/**
|
|
42
|
-
* List of iso3 codes of countries to remove from the list
|
|
43
|
-
* @default []
|
|
44
|
-
*/
|
|
38
|
+
/** List of iso3 codes of countries to remove from the list */
|
|
45
39
|
disabledCountries?: readonly string[];
|
|
46
40
|
}
|
|
47
41
|
|
package/src/popover/Popover.tsx
CHANGED
|
@@ -26,7 +26,6 @@ export interface PopoverProps {
|
|
|
26
26
|
title?: React.ReactNode;
|
|
27
27
|
/** Screen-reader-friendly title. Must be provided if `title` prop is not set. */
|
|
28
28
|
'aria-label'?: string;
|
|
29
|
-
/** @default 'right' */
|
|
30
29
|
preferredPlacement?: PopoverPreferredPlacement;
|
|
31
30
|
content: React.ReactNode;
|
|
32
31
|
onClose?: () => void;
|
|
@@ -11,9 +11,7 @@ export type ProcessIndicatorStatus =
|
|
|
11
11
|
`${Status.PROCESSING | Status.FAILED | Status.SUCCEEDED | Status.HIDDEN}`;
|
|
12
12
|
|
|
13
13
|
export interface ProcessIndicatorProps {
|
|
14
|
-
/** @default 'processing' */
|
|
15
14
|
status?: ProcessIndicatorStatus;
|
|
16
|
-
/** @default 'sm' */
|
|
17
15
|
size?: 'xxs' | `${Size.EXTRA_SMALL | Size.SMALL | Size.EXTRA_LARGE}`;
|
|
18
16
|
className?: string;
|
|
19
17
|
'data-testid'?: string;
|
|
@@ -16,7 +16,6 @@ import { useScreenSize } from '../../common/hooks/useScreenSize';
|
|
|
16
16
|
export type ActionPromptProps = {
|
|
17
17
|
title: ReactNode;
|
|
18
18
|
description?: ReactNode;
|
|
19
|
-
/** @default {} */
|
|
20
19
|
media?: {
|
|
21
20
|
imgSrc?: string;
|
|
22
21
|
avatar?: Pick<AvatarViewProps, 'imgSrc' | 'profileName' | 'profileType'> & {
|
|
@@ -33,13 +32,7 @@ export type ActionPromptProps = {
|
|
|
33
32
|
label: ButtonProps['children'];
|
|
34
33
|
};
|
|
35
34
|
'aria-label'?: AriaAttributes['aria-label'];
|
|
36
|
-
} & Pick<PrimitivePromptProps, 'id' | 'className' | 'data-testid' | '
|
|
37
|
-
/**
|
|
38
|
-
* The sentiment determines the colour scheme
|
|
39
|
-
* @default 'neutral'
|
|
40
|
-
*/
|
|
41
|
-
sentiment?: PrimitivePromptProps['sentiment'];
|
|
42
|
-
};
|
|
35
|
+
} & Pick<PrimitivePromptProps, 'id' | 'className' | 'data-testid' | 'sentiment' | 'onDismiss'>;
|
|
43
36
|
|
|
44
37
|
/**
|
|
45
38
|
* Use an action prompt for optional feedback that doesn't require immediate action, such as feature upsells, warnings, or suggestions. These prompts are typically used outside of core product flows (e.g., Launchpad, Recipient, or Transaction screens) and can be addressed at the user's convenience.
|
|
@@ -9,7 +9,6 @@ import { PrimitivePrompt } from '../PrimitivePrompt';
|
|
|
9
9
|
export type InlinePromptProps = {
|
|
10
10
|
/**
|
|
11
11
|
* The sentiment determines the colour scheme
|
|
12
|
-
* @default Sentiment.POSITIVE
|
|
13
12
|
*/
|
|
14
13
|
sentiment?:
|
|
15
14
|
| `${Sentiment.POSITIVE | Sentiment.NEGATIVE | Sentiment.NEUTRAL | Sentiment.WARNING}`
|
|
@@ -17,7 +17,7 @@ export interface RadioOptionProps<T extends string | number = string>
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* @deprecated
|
|
20
|
+
* @deprecated Please use `<ListItem />` instead.
|
|
21
21
|
* @deprecatedSince 46.104.0
|
|
22
22
|
* @see [Source](../listItem/ListItem.tsx)
|
|
23
23
|
* @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
|
package/src/select/Select.tsx
CHANGED
|
@@ -106,9 +106,7 @@ export interface SelectProps {
|
|
|
106
106
|
inverse?: boolean;
|
|
107
107
|
dropdownRight?: `${Size.EXTRA_SMALL | Size.SMALL | Size.MEDIUM | Size.LARGE | Size.EXTRA_LARGE}`;
|
|
108
108
|
dropdownWidth?: `${Size.SMALL | Size.MEDIUM | Size.LARGE}`;
|
|
109
|
-
/** @default 'md' */
|
|
110
109
|
size?: `${Size.SMALL | Size.MEDIUM | Size.LARGE}`;
|
|
111
|
-
/** @default true */
|
|
112
110
|
block?: boolean;
|
|
113
111
|
selected?: SelectOptionItem;
|
|
114
112
|
/**
|
|
@@ -118,10 +116,8 @@ export interface SelectProps {
|
|
|
118
116
|
*/
|
|
119
117
|
search?: boolean | ((option: SelectItemWithPlaceholder, searchValue: string) => boolean);
|
|
120
118
|
options: SelectItem[];
|
|
121
|
-
/** @default '' */
|
|
122
119
|
searchValue?: string;
|
|
123
120
|
searchPlaceholder?: string;
|
|
124
|
-
/** @default {} */
|
|
125
121
|
classNames?: Record<string, string>;
|
|
126
122
|
dropdownUp?: boolean;
|
|
127
123
|
buttonProps?: Extract<ButtonProps, { as?: 'button' }>;
|
|
@@ -11,7 +11,7 @@ import { useMedia } from '../common/hooks/useMedia';
|
|
|
11
11
|
import messages from './StatusIcon.messages';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* @deprecated
|
|
14
|
+
* @deprecated use `16 | 24 | 32 | 40 | 48 | 56 | 72` component instead
|
|
15
15
|
*/
|
|
16
16
|
type LegacySizes = SizeSmall | SizeMedium | SizeLarge;
|
|
17
17
|
|
|
@@ -19,9 +19,7 @@ export type StatusIconSentiment = Sentiment | Status.PENDING;
|
|
|
19
19
|
|
|
20
20
|
export type StatusIconProps = {
|
|
21
21
|
id?: string;
|
|
22
|
-
/** @default 'neutral' */
|
|
23
22
|
sentiment?: `${StatusIconSentiment}`;
|
|
24
|
-
/** @default 40 */
|
|
25
23
|
size?: LegacySizes | 16 | 24 | 32 | 40 | 48 | 56 | 72;
|
|
26
24
|
/**
|
|
27
25
|
* Override for the sentiment's-derived, default, accessible
|
package/src/summary/Summary.tsx
CHANGED
|
@@ -47,7 +47,6 @@ export interface Props {
|
|
|
47
47
|
action?: AlertAction;
|
|
48
48
|
/**
|
|
49
49
|
* Decides which html element should wrap the Summary
|
|
50
|
-
* @default 'div'
|
|
51
50
|
*/
|
|
52
51
|
as?: ElementType;
|
|
53
52
|
/**
|
|
@@ -55,8 +54,7 @@ export interface Props {
|
|
|
55
54
|
*/
|
|
56
55
|
className?: string;
|
|
57
56
|
/**
|
|
58
|
-
* @deprecated
|
|
59
|
-
* @default null
|
|
57
|
+
* @deprecated please use description instead
|
|
60
58
|
*/
|
|
61
59
|
content?: ReactNode;
|
|
62
60
|
/**
|
|
@@ -64,7 +62,7 @@ export interface Props {
|
|
|
64
62
|
*/
|
|
65
63
|
description?: ReactNode;
|
|
66
64
|
/**
|
|
67
|
-
* @deprecated
|
|
65
|
+
* @deprecated please use info instead
|
|
68
66
|
*/
|
|
69
67
|
help?: {
|
|
70
68
|
content: ReactNode;
|
|
@@ -75,8 +73,7 @@ export interface Props {
|
|
|
75
73
|
*/
|
|
76
74
|
info?: Pick<InfoProps, 'aria-label' | 'content' | 'onClick' | 'presentation' | 'title'>;
|
|
77
75
|
/**
|
|
78
|
-
* @deprecated
|
|
79
|
-
* @default null
|
|
76
|
+
* @deprecated please use icon instead
|
|
80
77
|
*/
|
|
81
78
|
illustration?: ReactNode;
|
|
82
79
|
/**
|
|
@@ -94,7 +91,7 @@ export interface Props {
|
|
|
94
91
|
}
|
|
95
92
|
|
|
96
93
|
/**
|
|
97
|
-
* @deprecated
|
|
94
|
+
* @deprecated Please use `<ListItem />` instead.
|
|
98
95
|
* @deprecatedSince 46.104.0
|
|
99
96
|
* @see [Source](../listItem/ListItem.tsx)
|
|
100
97
|
* @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
|
|
@@ -27,7 +27,7 @@ const stopPropagation = (event?: MouseEvent<HTMLSpanElement>) => {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* @deprecated
|
|
30
|
+
* @deprecated Please use `<ListItem />` instead.
|
|
31
31
|
* @deprecatedSince 46.104.0
|
|
32
32
|
* @see [Source](../listItem/ListItem.tsx)
|
|
33
33
|
* @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
|
package/src/tabs/Tabs.tsx
CHANGED
|
@@ -28,10 +28,8 @@ export interface TabsProps {
|
|
|
28
28
|
tabs: TabItem[];
|
|
29
29
|
selected: number;
|
|
30
30
|
name: string;
|
|
31
|
-
/** @default true */
|
|
32
31
|
changeTabOnSwipe?: boolean;
|
|
33
32
|
className?: string;
|
|
34
|
-
/** @default 'block' */
|
|
35
33
|
headerWidth?: `${Width}`;
|
|
36
34
|
onTabSelect: (index: number) => void;
|
|
37
35
|
}
|