@transferwise/components 0.0.0-experimental-28b4d5d → 0.0.0-experimental-b15bafb
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/accordion/AccordionItem/AccordionItem.js +1 -1
- package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.mjs +1 -1
- package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
- package/build/actionButton/ActionButton.js +1 -1
- package/build/actionButton/ActionButton.js.map +1 -1
- package/build/actionButton/ActionButton.mjs +1 -1
- package/build/actionButton/ActionButton.mjs.map +1 -1
- package/build/actionOption/ActionOption.js +1 -1
- package/build/actionOption/ActionOption.js.map +1 -1
- package/build/actionOption/ActionOption.mjs +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/alert/inlineMarkdown/InlineMarkdown.js +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
- package/build/avatar/Avatar.js +1 -1
- package/build/avatar/Avatar.js.map +1 -1
- package/build/avatar/Avatar.mjs +1 -1
- package/build/avatar/Avatar.mjs.map +1 -1
- package/build/avatar/avatarTypes.js.map +1 -1
- package/build/avatar/avatarTypes.mjs.map +1 -1
- package/build/avatarLayout/AvatarLayout.js +1 -1
- package/build/avatarLayout/AvatarLayout.js.map +1 -1
- package/build/avatarLayout/AvatarLayout.mjs +1 -1
- package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/avatarView/AvatarView.js +1 -1
- package/build/avatarView/AvatarView.js.map +1 -1
- package/build/avatarView/AvatarView.mjs +1 -1
- package/build/avatarView/AvatarView.mjs.map +1 -1
- package/build/avatarView/Dot.js.map +1 -1
- package/build/avatarView/Dot.mjs.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.js +1 -1
- package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
- package/build/badge/Badge.js +1 -1
- package/build/badge/Badge.js.map +1 -1
- package/build/badge/Badge.mjs +1 -1
- package/build/badge/Badge.mjs.map +1 -1
- package/build/badge/BadgeAssets.js.map +1 -1
- package/build/badge/BadgeAssets.mjs.map +1 -1
- package/build/body/Body.js.map +1 -1
- package/build/body/Body.mjs.map +1 -1
- package/build/button/Button.js +1 -1
- package/build/button/Button.js.map +1 -1
- package/build/button/Button.mjs +1 -1
- package/build/button/Button.mjs.map +1 -1
- package/build/button/Button.resolver.js.map +1 -1
- package/build/button/Button.resolver.mjs.map +1 -1
- package/build/button/LegacyButton.js +1 -1
- package/build/button/LegacyButton.js.map +1 -1
- package/build/button/LegacyButton.mjs +1 -1
- package/build/button/LegacyButton.mjs.map +1 -1
- package/build/button/classMap.js +1 -1
- package/build/button/classMap.js.map +1 -1
- package/build/button/classMap.mjs +1 -1
- package/build/button/classMap.mjs.map +1 -1
- package/build/button/legacyUtils/legacyUtils.js +1 -1
- package/build/button/legacyUtils/legacyUtils.js.map +1 -1
- package/build/button/legacyUtils/legacyUtils.mjs +1 -1
- package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
- package/build/card/Card.js +1 -1
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs +1 -1
- package/build/card/Card.mjs.map +1 -1
- package/build/carousel/Carousel.js.map +1 -1
- package/build/carousel/Carousel.mjs.map +1 -1
- package/build/checkbox/Checkbox.js +1 -1
- package/build/checkbox/Checkbox.js.map +1 -1
- package/build/checkbox/Checkbox.mjs +1 -1
- package/build/checkbox/Checkbox.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/chevron/Chevron.js +1 -1
- package/build/chevron/Chevron.js.map +1 -1
- package/build/chevron/Chevron.mjs +1 -1
- package/build/chevron/Chevron.mjs.map +1 -1
- package/build/chips/Chip.js +1 -1
- package/build/chips/Chip.js.map +1 -1
- package/build/chips/Chip.mjs +1 -1
- package/build/chips/Chip.mjs.map +1 -1
- package/build/chips/Chips.js.map +1 -1
- package/build/chips/Chips.messages.js.map +1 -1
- package/build/chips/Chips.messages.mjs.map +1 -1
- package/build/chips/Chips.mjs.map +1 -1
- package/build/circularButton/CircularButton.js +2 -2
- package/build/circularButton/CircularButton.js.map +1 -1
- package/build/circularButton/CircularButton.mjs +2 -2
- package/build/circularButton/CircularButton.mjs.map +1 -1
- package/build/common/DOMOperations/DOMOperations.js.map +1 -1
- package/build/common/DOMOperations/DOMOperations.mjs.map +1 -1
- package/build/common/Option/Option.js.map +1 -1
- package/build/common/Option/Option.mjs.map +1 -1
- package/build/common/RadioButton/RadioButton.js.map +1 -1
- package/build/common/RadioButton/RadioButton.mjs.map +1 -1
- package/build/common/baseCard/BaseCard.js.map +1 -1
- package/build/common/baseCard/BaseCard.mjs.map +1 -1
- package/build/common/bottomSheet/BottomSheet.js +2 -2
- package/build/common/bottomSheet/BottomSheet.js.map +1 -1
- package/build/common/bottomSheet/BottomSheet.mjs +2 -2
- package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
- package/build/common/circle/Circle.js +2 -2
- package/build/common/circle/Circle.js.map +1 -1
- package/build/common/circle/Circle.mjs +2 -2
- package/build/common/circle/Circle.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.mjs.map +1 -1
- package/build/common/colors.js.map +1 -1
- package/build/common/colors.mjs.map +1 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/constants.mjs.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.js.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.mjs.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.js.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.mjs.map +1 -1
- package/build/common/dateUtils/getFormatForLocale/getFormatForLocale.js.map +1 -1
- package/build/common/dateUtils/getFormatForLocale/getFormatForLocale.mjs.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.js.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.mjs.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.js.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.mjs.map +1 -1
- package/build/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js.map +1 -1
- package/build/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.mjs.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.js.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.mjs.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.js.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.mjs.map +1 -1
- package/build/common/deviceDetection/deviceDetection.js.map +1 -1
- package/build/common/deviceDetection/deviceDetection.mjs.map +1 -1
- package/build/common/direction.js.map +1 -1
- package/build/common/direction.mjs.map +1 -1
- package/build/common/domHelpers/documentIosClick.js.map +1 -1
- package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
- package/build/common/fileType.js.map +1 -1
- package/build/common/fileType.mjs.map +1 -1
- package/build/common/flowHeader/FlowHeader.js.map +1 -1
- package/build/common/flowHeader/FlowHeader.mjs.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.js.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.mjs.map +1 -1
- package/build/common/historyNavigator/historyNavigator.js.map +1 -1
- package/build/common/historyNavigator/historyNavigator.mjs.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.js.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.mjs.map +1 -1
- package/build/common/hooks/useContainerSize.js.map +1 -1
- package/build/common/hooks/useContainerSize.mjs.map +1 -1
- package/build/common/hooks/useDirection/useDirection.js.map +1 -1
- package/build/common/hooks/useDirection/useDirection.mjs.map +1 -1
- package/build/common/hooks/useEffectEvent.js.map +1 -1
- package/build/common/hooks/useEffectEvent.mjs.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs.map +1 -1
- package/build/common/hooks/useLayout/useLayout.js +6 -6
- package/build/common/hooks/useLayout/useLayout.js.map +1 -1
- package/build/common/hooks/useLayout/useLayout.mjs +1 -1
- package/build/common/hooks/useLayout/useLayout.mjs.map +1 -1
- package/build/common/hooks/useMedia.js.map +1 -1
- package/build/common/hooks/useMedia.mjs.map +1 -1
- package/build/common/hooks/useResizeObserver.js.map +1 -1
- package/build/common/hooks/useResizeObserver.mjs.map +1 -1
- package/build/common/hooks/useScreenSize.js.map +1 -1
- package/build/common/hooks/useScreenSize.mjs.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.js.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.mjs.map +1 -1
- package/build/common/initials.js.map +1 -1
- package/build/common/initials.mjs.map +1 -1
- package/build/common/liveRegion/LiveRegion.js.map +1 -1
- package/build/common/liveRegion/LiveRegion.mjs.map +1 -1
- package/build/common/locale/index.js.map +1 -1
- package/build/common/locale/index.mjs.map +1 -1
- package/build/common/panel/Panel.js +1 -1
- package/build/common/panel/Panel.js.map +1 -1
- package/build/common/panel/Panel.mjs +1 -1
- package/build/common/panel/Panel.mjs.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs.map +1 -1
- package/build/common/preventScroll/PreventScroll.js.map +1 -1
- package/build/common/preventScroll/PreventScroll.mjs.map +1 -1
- package/build/common/propsValues/breakpoint.js +12 -0
- package/build/common/propsValues/breakpoint.js.map +1 -0
- package/build/common/propsValues/breakpoint.mjs +12 -0
- package/build/common/propsValues/breakpoint.mjs.map +1 -0
- package/build/common/propsValues/control.js.map +1 -1
- package/build/common/propsValues/control.mjs.map +1 -1
- package/build/common/propsValues/dateMode.js.map +1 -1
- package/build/common/propsValues/dateMode.mjs.map +1 -1
- package/build/common/propsValues/layouts.js.map +1 -1
- package/build/common/propsValues/layouts.mjs.map +1 -1
- package/build/common/propsValues/markdownNodeType.js.map +1 -1
- package/build/common/propsValues/markdownNodeType.mjs.map +1 -1
- package/build/common/propsValues/monthFormat.js.map +1 -1
- package/build/common/propsValues/monthFormat.mjs.map +1 -1
- package/build/common/propsValues/position.js.map +1 -1
- package/build/common/propsValues/position.mjs.map +1 -1
- package/build/common/propsValues/profileType.js.map +1 -1
- package/build/common/propsValues/profileType.mjs.map +1 -1
- package/build/common/propsValues/scroll.js.map +1 -1
- package/build/common/propsValues/scroll.mjs.map +1 -1
- package/build/common/propsValues/sentiment.js.map +1 -1
- package/build/common/propsValues/sentiment.mjs.map +1 -1
- package/build/common/propsValues/size.js.map +1 -1
- package/build/common/propsValues/size.mjs.map +1 -1
- package/build/common/propsValues/status.js.map +1 -1
- package/build/common/propsValues/status.mjs.map +1 -1
- package/build/common/propsValues/type.js.map +1 -1
- package/build/common/propsValues/type.mjs.map +1 -1
- package/build/common/propsValues/typography.js.map +1 -1
- package/build/common/propsValues/typography.mjs.map +1 -1
- package/build/common/propsValues/variant.js.map +1 -1
- package/build/common/propsValues/variant.mjs.map +1 -1
- package/build/common/propsValues/width.js.map +1 -1
- package/build/common/propsValues/width.mjs.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.js +1 -1
- package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.mjs +1 -1
- package/build/common/responsivePanel/ResponsivePanel.mjs.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.js.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.mjs.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.mjs.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.mjs.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.mjs.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.mjs.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.js.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.mjs.map +1 -1
- package/build/common/theme.js.map +1 -1
- package/build/common/theme.mjs.map +1 -1
- package/build/container/Container.js.map +1 -1
- package/build/container/Container.mjs.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- package/build/dateInput/DateInput.js +1 -1
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.messages.js.map +1 -1
- package/build/dateInput/DateInput.messages.mjs.map +1 -1
- package/build/dateInput/DateInput.mjs +1 -1
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
- package/build/dateLookup/DateLookup.js +2 -2
- package/build/dateLookup/DateLookup.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.mjs.map +1 -1
- package/build/dateLookup/DateLookup.mjs +1 -1
- package/build/dateLookup/DateLookup.mjs.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.js +1 -1
- package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.mjs +1 -1
- package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.js +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.mjs +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.js.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.js.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.mjs.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.js.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.js.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.js.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.mjs.map +1 -1
- package/build/dateLookup/tableLink/TableLink.js.map +1 -1
- package/build/dateLookup/tableLink/TableLink.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.js.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.js.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.mjs.map +1 -1
- package/build/decision/Decision.js +3 -3
- package/build/decision/Decision.js.map +1 -1
- package/build/decision/Decision.mjs +1 -1
- package/build/decision/Decision.mjs.map +1 -1
- package/build/definitionList/DefinitionList.js +1 -1
- package/build/definitionList/DefinitionList.js.map +1 -1
- package/build/definitionList/DefinitionList.mjs +1 -1
- package/build/definitionList/DefinitionList.mjs.map +1 -1
- package/build/dimmer/Dimmer.js +1 -1
- package/build/dimmer/Dimmer.js.map +1 -1
- package/build/dimmer/Dimmer.mjs +1 -1
- package/build/dimmer/Dimmer.mjs.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.js.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.mjs.map +1 -1
- package/build/display/Display.js +1 -1
- package/build/display/Display.js.map +1 -1
- package/build/display/Display.mjs +1 -1
- package/build/display/Display.mjs.map +1 -1
- package/build/divider/Divider.js.map +1 -1
- package/build/divider/Divider.mjs.map +1 -1
- package/build/drawer/Drawer.js +1 -1
- package/build/drawer/Drawer.js.map +1 -1
- package/build/drawer/Drawer.mjs +1 -1
- package/build/drawer/Drawer.mjs.map +1 -1
- package/build/dropFade/DropFade.js.map +1 -1
- package/build/dropFade/DropFade.mjs.map +1 -1
- package/build/emphasis/Emphasis.js.map +1 -1
- package/build/emphasis/Emphasis.mjs.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.mjs.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.js.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.mjs.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.js.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.mjs.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
- package/build/field/Field.js +1 -1
- package/build/field/Field.js.map +1 -1
- package/build/field/Field.mjs +1 -1
- package/build/field/Field.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.js +3 -3
- package/build/flowNavigation/FlowNavigation.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.mjs +1 -1
- package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs.map +1 -1
- package/build/header/Header.js +1 -1
- package/build/header/Header.js.map +1 -1
- package/build/header/Header.mjs +1 -1
- package/build/header/Header.mjs.map +1 -1
- package/build/i18n/commonMessages/Button.messages.js.map +1 -1
- package/build/i18n/commonMessages/Button.messages.mjs.map +1 -1
- package/build/i18n/index.js.map +1 -1
- package/build/i18n/index.mjs.map +1 -1
- package/build/iconButton/IconButton.js.map +1 -1
- package/build/iconButton/IconButton.mjs.map +1 -1
- package/build/image/Image.js +1 -1
- package/build/image/Image.js.map +1 -1
- package/build/image/Image.mjs +1 -1
- package/build/image/Image.mjs.map +1 -1
- package/build/index.js +2 -2
- package/build/index.mjs +1 -1
- package/build/info/Info.js +1 -1
- package/build/info/Info.js.map +1 -1
- package/build/info/Info.messages.js.map +1 -1
- package/build/info/Info.messages.mjs.map +1 -1
- package/build/info/Info.mjs +1 -1
- package/build/info/Info.mjs.map +1 -1
- package/build/info/infoPresentations.js.map +1 -1
- package/build/info/infoPresentations.mjs.map +1 -1
- package/build/inlineAlert/InlineAlert.js +1 -1
- package/build/inlineAlert/InlineAlert.js.map +1 -1
- package/build/inlineAlert/InlineAlert.mjs +1 -1
- package/build/inlineAlert/InlineAlert.mjs.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.js.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.mjs.map +1 -1
- package/build/inputs/Input.js.map +1 -1
- package/build/inputs/Input.mjs.map +1 -1
- package/build/inputs/InputGroup.js.map +1 -1
- package/build/inputs/InputGroup.mjs.map +1 -1
- package/build/inputs/SearchInput.js +1 -1
- package/build/inputs/SearchInput.js.map +1 -1
- package/build/inputs/SearchInput.mjs +1 -1
- package/build/inputs/SearchInput.mjs.map +1 -1
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +1 -1
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +1 -1
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -1
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +1 -1
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +1 -1
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +1 -1
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +1 -1
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +1 -1
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +1 -1
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +1 -1
- package/build/inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
- package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +1 -1
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +1 -1
- package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +1 -1
- package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +1 -1
- package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
- package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
- package/build/inputs/SelectInput/SelectInput.contexts.js.map +1 -1
- package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +1 -1
- package/build/inputs/SelectInput/SelectInput.js +2 -2
- package/build/inputs/SelectInput/SelectInput.js.map +1 -1
- package/build/inputs/SelectInput/SelectInput.messages.js.map +1 -1
- package/build/inputs/SelectInput/SelectInput.messages.mjs.map +1 -1
- package/build/inputs/SelectInput/SelectInput.mjs +1 -1
- package/build/inputs/SelectInput/SelectInput.mjs.map +1 -1
- package/build/inputs/SelectInput/SelectInput.utils.js.map +1 -1
- package/build/inputs/SelectInput/SelectInput.utils.mjs.map +1 -1
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +1 -1
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +1 -1
- package/build/inputs/TextArea.js.map +1 -1
- package/build/inputs/TextArea.mjs.map +1 -1
- package/build/inputs/_common.js.map +1 -1
- package/build/inputs/_common.mjs.map +1 -1
- package/build/inputs/contexts.js.map +1 -1
- package/build/inputs/contexts.mjs.map +1 -1
- package/build/instructionsList/InstructionsList.js +1 -1
- package/build/instructionsList/InstructionsList.js.map +1 -1
- package/build/instructionsList/InstructionsList.mjs +1 -1
- package/build/instructionsList/InstructionsList.mjs.map +1 -1
- package/build/label/Label.js.map +1 -1
- package/build/label/Label.messages.js.map +1 -1
- package/build/label/Label.messages.mjs.map +1 -1
- package/build/label/Label.mjs.map +1 -1
- package/build/legacylistItem/LegacyListItem.js.map +1 -1
- package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
- package/build/link/Link.js +1 -1
- package/build/link/Link.js.map +1 -1
- package/build/link/Link.messages.js.map +1 -1
- package/build/link/Link.messages.mjs.map +1 -1
- package/build/link/Link.mjs +1 -1
- package/build/link/Link.mjs.map +1 -1
- package/build/list/List.js.map +1 -1
- package/build/list/List.mjs.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.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/Checkbox/ListItemCheckbox.js.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.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 +1 -1
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs +1 -1
- package/build/listItem/ListItem.mjs.map +1 -1
- package/build/listItem/ListItemContext.js.map +1 -1
- package/build/listItem/ListItemContext.mjs.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.js +1 -1
- package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs +1 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
- package/build/listItem/Radio/ListItemRadio.js.map +1 -1
- package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -1
- package/build/listItem/useListItemControl.js.map +1 -1
- package/build/listItem/useListItemControl.mjs.map +1 -1
- package/build/listItem/useListItemMedia.js.map +1 -1
- package/build/listItem/useListItemMedia.mjs.map +1 -1
- package/build/loader/Loader.js +1 -1
- package/build/loader/Loader.js.map +1 -1
- package/build/loader/Loader.mjs +1 -1
- package/build/loader/Loader.mjs.map +1 -1
- package/build/logo/Logo.js +3 -3
- package/build/logo/Logo.js.map +1 -1
- package/build/logo/Logo.mjs +2 -2
- package/build/logo/Logo.mjs.map +1 -1
- package/build/logo/logo-assets.js.map +1 -1
- package/build/logo/logo-assets.mjs.map +1 -1
- package/build/main.css +309 -307
- package/build/markdown/Markdown.js +1 -1
- package/build/markdown/Markdown.js.map +1 -1
- package/build/markdown/Markdown.mjs +1 -1
- package/build/markdown/Markdown.mjs.map +1 -1
- package/build/mocks.js.map +1 -1
- package/build/mocks.mjs.map +1 -1
- package/build/modal/Modal.js +1 -1
- package/build/modal/Modal.js.map +1 -1
- package/build/modal/Modal.mjs +1 -1
- package/build/modal/Modal.mjs.map +1 -1
- package/build/money/Money.js.map +1 -1
- package/build/money/Money.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.js +1 -1
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +1 -1
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/moneyInput/currencyFormatting.js.map +1 -1
- package/build/moneyInput/currencyFormatting.mjs.map +1 -1
- package/build/navigationOption/NavigationOption.js +1 -1
- package/build/navigationOption/NavigationOption.js.map +1 -1
- package/build/navigationOption/NavigationOption.mjs +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 +1 -1
- package/build/nudge/Nudge.js.map +1 -1
- package/build/nudge/Nudge.mjs +1 -1
- package/build/nudge/Nudge.mjs.map +1 -1
- package/build/overlayHeader/OverlayHeader.js +1 -1
- package/build/overlayHeader/OverlayHeader.js.map +1 -1
- package/build/overlayHeader/OverlayHeader.mjs +1 -1
- package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/phoneNumberInput/data/countries.js.map +1 -1
- package/build/phoneNumberInput/data/countries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/cleanNumber/cleanNumber.js.map +1 -1
- package/build/phoneNumberInput/utils/cleanNumber/cleanNumber.mjs.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.js.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.mjs.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs.map +1 -1
- package/build/phoneNumberInput/utils/longestMatchingPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/longestMatchingPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.mjs.map +1 -1
- package/build/popover/Popover.js +1 -1
- package/build/popover/Popover.js.map +1 -1
- package/build/popover/Popover.mjs +1 -1
- package/build/popover/Popover.mjs.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
- package/build/processIndicator/ProcessIndicator.js +1 -1
- package/build/processIndicator/ProcessIndicator.js.map +1 -1
- package/build/processIndicator/ProcessIndicator.mjs +1 -1
- package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
- package/build/progress/Progress.js.map +1 -1
- package/build/progress/Progress.mjs.map +1 -1
- package/build/progressBar/ProgressBar.js +1 -1
- package/build/progressBar/ProgressBar.js.map +1 -1
- package/build/progressBar/ProgressBar.mjs +1 -1
- package/build/progressBar/ProgressBar.mjs.map +1 -1
- package/build/promoCard/PromoCard.js +1 -1
- package/build/promoCard/PromoCard.js.map +1 -1
- package/build/promoCard/PromoCard.mjs +1 -1
- package/build/promoCard/PromoCard.mjs.map +1 -1
- package/build/promoCard/PromoCardContext.js.map +1 -1
- package/build/promoCard/PromoCardContext.mjs.map +1 -1
- package/build/promoCard/PromoCardGroup.js.map +1 -1
- package/build/promoCard/PromoCardGroup.mjs.map +1 -1
- package/build/promoCard/PromoCardIndicator.js +1 -1
- package/build/promoCard/PromoCardIndicator.js.map +1 -1
- package/build/promoCard/PromoCardIndicator.mjs +1 -1
- package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
- package/build/prompt/ActionPrompt/ActionPrompt.js +2 -2
- package/build/prompt/ActionPrompt/ActionPrompt.js.map +1 -1
- package/build/prompt/ActionPrompt/ActionPrompt.mjs +1 -1
- package/build/prompt/ActionPrompt/ActionPrompt.mjs.map +1 -1
- package/build/prompt/CriticalBanner/CriticalBanner.js +2 -2
- package/build/prompt/CriticalBanner/CriticalBanner.js.map +1 -1
- package/build/prompt/CriticalBanner/CriticalBanner.mjs +1 -1
- package/build/prompt/CriticalBanner/CriticalBanner.mjs.map +1 -1
- package/build/prompt/CriticalBanner/helpers.js.map +1 -1
- package/build/prompt/CriticalBanner/helpers.mjs.map +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.js +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.js.map +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.mjs +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.mjs.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
- package/build/prompt/PrimitivePrompt/PrimitivePrompt.js.map +1 -1
- package/build/prompt/PrimitivePrompt/PrimitivePrompt.mjs.map +1 -1
- package/build/prompt/common/Expander/Expander.js.map +1 -1
- package/build/prompt/common/Expander/Expander.messages.js.map +1 -1
- package/build/prompt/common/Expander/Expander.messages.mjs.map +1 -1
- package/build/prompt/common/Expander/Expander.mjs.map +1 -1
- package/build/prompt/helpers/promptMedia.js.map +1 -1
- package/build/prompt/helpers/promptMedia.mjs.map +1 -1
- package/build/provider/Provider.js +1 -1
- package/build/provider/Provider.js.map +1 -1
- package/build/provider/Provider.mjs +1 -1
- package/build/provider/Provider.mjs.map +1 -1
- package/build/provider/direction/DirectionProvider.js.map +1 -1
- package/build/provider/direction/DirectionProvider.mjs.map +1 -1
- package/build/provider/language/LanguageProvider.js.map +1 -1
- package/build/provider/language/LanguageProvider.mjs.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.js.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.mjs.map +1 -1
- package/build/radio/Radio.js +1 -1
- package/build/radio/Radio.js.map +1 -1
- package/build/radio/Radio.mjs +1 -1
- package/build/radio/Radio.mjs.map +1 -1
- package/build/radioGroup/RadioGroup.js.map +1 -1
- package/build/radioGroup/RadioGroup.mjs.map +1 -1
- package/build/radioOption/RadioOption.js.map +1 -1
- package/build/radioOption/RadioOption.mjs.map +1 -1
- package/build/section/Section.js.map +1 -1
- package/build/section/Section.mjs.map +1 -1
- package/build/segmentedControl/SegmentedControl.js +1 -1
- package/build/segmentedControl/SegmentedControl.js.map +1 -1
- package/build/segmentedControl/SegmentedControl.mjs +1 -1
- package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
- package/build/select/Select.js +1 -1
- package/build/select/Select.js.map +1 -1
- package/build/select/Select.messages.js.map +1 -1
- package/build/select/Select.messages.mjs.map +1 -1
- package/build/select/Select.mjs +1 -1
- package/build/select/Select.mjs.map +1 -1
- package/build/select/option/Option.js +1 -1
- package/build/select/option/Option.js.map +1 -1
- package/build/select/option/Option.mjs +1 -1
- package/build/select/option/Option.mjs.map +1 -1
- package/build/select/searchBox/SearchBox.js.map +1 -1
- package/build/select/searchBox/SearchBox.mjs.map +1 -1
- package/build/sentimentSurface/SentimentSurface.js.map +1 -1
- package/build/sentimentSurface/SentimentSurface.mjs.map +1 -1
- package/build/slidingPanel/SlidingPanel.js.map +1 -1
- package/build/slidingPanel/SlidingPanel.mjs.map +1 -1
- package/build/snackbar/Snackbar.js.map +1 -1
- package/build/snackbar/Snackbar.mjs.map +1 -1
- package/build/snackbar/SnackbarContext.js.map +1 -1
- package/build/snackbar/SnackbarContext.mjs.map +1 -1
- package/build/snackbar/SnackbarProvider.js.map +1 -1
- package/build/snackbar/SnackbarProvider.mjs.map +1 -1
- package/build/snackbar/useSnackbar.js.map +1 -1
- package/build/snackbar/useSnackbar.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.js +2 -2
- package/build/statusIcon/StatusIcon.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.mjs +2 -2
- package/build/statusIcon/StatusIcon.mjs.map +1 -1
- package/build/stepper/Stepper.js +1 -1
- package/build/stepper/Stepper.js.map +1 -1
- package/build/stepper/Stepper.mjs +1 -1
- package/build/stepper/Stepper.mjs.map +1 -1
- package/build/stepper/deviceDetection.js.map +1 -1
- package/build/stepper/deviceDetection.mjs.map +1 -1
- package/build/sticky/Sticky.js +1 -1
- package/build/sticky/Sticky.js.map +1 -1
- package/build/sticky/Sticky.mjs +1 -1
- package/build/sticky/Sticky.mjs.map +1 -1
- package/build/styles/accordion/Accordion.css +1 -1
- package/build/styles/card/Card.css +2 -2
- package/build/styles/carousel/Carousel.css +5 -5
- package/build/styles/common/Option/Option.css +4 -2
- package/build/styles/common/baseCard/BaseCard.css +1 -1
- package/build/styles/container/Container.css +3 -3
- package/build/styles/criticalBanner/CriticalCommsBanner.css +1 -1
- package/build/styles/css/accordion.css +4 -4
- package/build/styles/css/button-groups.css +6 -6
- package/build/styles/css/buttons.css +1 -1
- package/build/styles/css/circles.css +1 -1
- package/build/styles/css/column-layout.css +4 -4
- package/build/styles/css/decision.css +4 -4
- package/build/styles/css/dropdowns.css +10 -10
- package/build/styles/css/droppable.css +8 -8
- package/build/styles/css/flex.css +14 -14
- package/build/styles/css/footer.css +3 -3
- package/build/styles/css/grid.css +19 -19
- package/build/styles/css/input-groups.css +12 -12
- package/build/styles/css/list-group.css +8 -8
- package/build/styles/css/modals.css +6 -6
- package/build/styles/css/navbar.css +62 -62
- package/build/styles/css/navs.css +2 -2
- package/build/styles/css/neptune.css +261 -262
- package/build/styles/css/panels.css +9 -9
- package/build/styles/css/popovers.css +13 -13
- package/build/styles/css/select.css +1 -1
- package/build/styles/css/sequences.css +6 -6
- package/build/styles/css/table.css +6 -6
- package/build/styles/css/utilities.css +4 -4
- package/build/styles/css/wells.css +4 -4
- package/build/styles/dateInput/DateInput.css +1 -1
- package/build/styles/definitionList/DefinitionList.css +2 -2
- package/build/styles/drawer/Drawer.css +2 -2
- package/build/styles/flowNavigation/FlowNavigation.css +1 -1
- package/build/styles/inputs/Input.css +3 -3
- package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +2 -2
- package/build/styles/inputs/SelectInput/SelectInput.css +2 -2
- package/build/styles/inputs/TextArea.css +3 -3
- package/build/styles/less/legacy-variables.less +47 -34
- package/build/styles/less/neptune-tokens.less +2 -2
- package/build/styles/main.css +309 -307
- package/build/styles/modal/Modal.css +5 -5
- package/build/styles/popover/Popover.css +3 -3
- package/build/styles/promoCard/PromoCard.css +1 -1
- package/build/styles/prompt/ActionPrompt/ActionPrompt.css +1 -1
- package/build/styles/prompt/PrimitivePrompt/PrimitivePrompt.css +1 -1
- package/build/styles/props/custom-media.css +11 -23
- package/build/styles/props/neptune-tokens.css +1 -1
- package/build/styles/snackbar/Snackbar.css +2 -2
- package/build/styles/stepper/Stepper.css +2 -2
- package/build/styles/styles/less/accordion.css +4 -4
- package/build/styles/styles/less/button-groups.css +6 -6
- package/build/styles/styles/less/buttons.css +1 -1
- package/build/styles/styles/less/circles.css +1 -1
- package/build/styles/styles/less/column-layout.css +4 -4
- package/build/styles/styles/less/decision.css +4 -4
- package/build/styles/styles/less/dropdowns.css +10 -10
- package/build/styles/styles/less/droppable.css +8 -8
- package/build/styles/styles/less/flex.css +14 -14
- package/build/styles/styles/less/footer.css +3 -3
- package/build/styles/styles/less/forms/bootstrap-forms.css +9 -9
- package/build/styles/styles/less/grid.css +19 -19
- package/build/styles/styles/less/input-groups.css +12 -12
- package/build/styles/styles/less/list-group.css +8 -8
- package/build/styles/styles/less/modals.css +6 -6
- package/build/styles/styles/less/navbar.css +62 -62
- package/build/styles/styles/less/navs.css +2 -2
- package/build/styles/styles/less/neptune.css +261 -262
- package/build/styles/styles/less/panels.css +9 -9
- package/build/styles/styles/less/popovers.css +13 -13
- package/build/styles/styles/less/select.css +1 -1
- package/build/styles/styles/less/sequences.css +6 -6
- package/build/styles/styles/less/table.css +6 -6
- package/build/styles/styles/less/utilities.css +4 -4
- package/build/styles/styles/less/wells.css +4 -4
- package/build/styles/styles/props/custom-media.css +11 -1
- package/build/styles/table/Table.css +1 -1
- package/build/styles/tabs/Tabs.css +2 -2
- package/build/styles/typeahead/Typeahead.css +1 -1
- package/build/summary/Summary.js +1 -1
- package/build/summary/Summary.js.map +1 -1
- package/build/summary/Summary.messages.js.map +1 -1
- package/build/summary/Summary.messages.mjs.map +1 -1
- package/build/summary/Summary.mjs +1 -1
- package/build/summary/Summary.mjs.map +1 -1
- package/build/switch/Switch.js.map +1 -1
- package/build/switch/Switch.mjs.map +1 -1
- package/build/switchOption/SwitchOption.js.map +1 -1
- package/build/switchOption/SwitchOption.mjs.map +1 -1
- package/build/table/Table.js +1 -1
- package/build/table/Table.js.map +1 -1
- package/build/table/Table.messages.js.map +1 -1
- package/build/table/Table.messages.mjs.map +1 -1
- package/build/table/Table.mjs +1 -1
- package/build/table/Table.mjs.map +1 -1
- package/build/table/TableCell.js.map +1 -1
- package/build/table/TableCell.mjs.map +1 -1
- package/build/table/TableHeader.js.map +1 -1
- package/build/table/TableHeader.mjs.map +1 -1
- package/build/table/TableRow.js +1 -1
- package/build/table/TableRow.js.map +1 -1
- package/build/table/TableRow.mjs +1 -1
- package/build/table/TableRow.mjs.map +1 -1
- package/build/table/TableStatusText.js +1 -1
- package/build/table/TableStatusText.js.map +1 -1
- package/build/table/TableStatusText.mjs +1 -1
- package/build/table/TableStatusText.mjs.map +1 -1
- package/build/tabs/Tab.js.map +1 -1
- package/build/tabs/Tab.mjs.map +1 -1
- package/build/tabs/TabList.js.map +1 -1
- package/build/tabs/TabList.mjs.map +1 -1
- package/build/tabs/TabPanel.js.map +1 -1
- package/build/tabs/TabPanel.mjs.map +1 -1
- package/build/tabs/Tabs.js +1 -1
- package/build/tabs/Tabs.js.map +1 -1
- package/build/tabs/Tabs.mjs +1 -1
- package/build/tabs/Tabs.mjs.map +1 -1
- package/build/tabs/utils.js.map +1 -1
- package/build/tabs/utils.mjs.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.mjs.map +1 -1
- package/build/tile/Tile.js +1 -1
- package/build/tile/Tile.js.map +1 -1
- package/build/tile/Tile.mjs +1 -1
- package/build/tile/Tile.mjs.map +1 -1
- package/build/title/Title.js +1 -1
- package/build/title/Title.js.map +1 -1
- package/build/title/Title.mjs +1 -1
- package/build/title/Title.mjs.map +1 -1
- package/build/tooltip/Tooltip.js +1 -1
- package/build/tooltip/Tooltip.js.map +1 -1
- package/build/tooltip/Tooltip.mjs +1 -1
- package/build/tooltip/Tooltip.mjs.map +1 -1
- package/build/typeahead/Typeahead.js +1 -1
- package/build/typeahead/Typeahead.js.map +1 -1
- package/build/typeahead/Typeahead.messages.js.map +1 -1
- package/build/typeahead/Typeahead.messages.mjs.map +1 -1
- package/build/typeahead/Typeahead.mjs +1 -1
- package/build/typeahead/Typeahead.mjs.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.js.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.mjs.map +1 -1
- package/build/typeahead/util/highlight.js.map +1 -1
- package/build/typeahead/util/highlight.mjs.map +1 -1
- package/build/types/src/accordion/Accordion.d.ts.map +1 -0
- package/build/types/src/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/build/types/src/accordion/AccordionItem/index.d.ts.map +1 -0
- package/build/types/src/accordion/index.d.ts.map +1 -0
- package/build/types/src/actionButton/ActionButton.d.ts.map +1 -0
- package/build/types/src/actionButton/index.d.ts.map +1 -0
- package/build/types/src/actionOption/ActionOption.d.ts.map +1 -0
- package/build/types/src/actionOption/index.d.ts.map +1 -0
- package/build/types/src/alert/Alert.d.ts.map +1 -0
- package/build/types/src/alert/index.d.ts.map +1 -0
- package/build/types/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
- package/build/types/src/alert/inlineMarkdown/index.d.ts.map +1 -0
- package/build/types/src/avatar/Avatar.d.ts.map +1 -0
- package/build/types/src/avatar/avatarTypes.d.ts.map +1 -0
- package/build/types/src/avatar/index.d.ts.map +1 -0
- package/build/types/src/avatarLayout/AvatarLayout.d.ts.map +1 -0
- package/build/types/src/avatarLayout/index.d.ts.map +1 -0
- package/build/types/src/avatarView/AvatarView.d.ts.map +1 -0
- package/build/types/src/avatarView/Dot.d.ts.map +1 -0
- package/build/types/src/avatarView/index.d.ts.map +1 -0
- package/build/types/src/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
- package/build/types/src/avatarWrapper/index.d.ts.map +1 -0
- package/build/types/src/badge/Badge.d.ts.map +1 -0
- package/build/types/src/badge/BadgeAssets.d.ts.map +1 -0
- package/build/types/src/badge/index.d.ts.map +1 -0
- package/build/types/src/body/Body.d.ts.map +1 -0
- package/build/types/src/body/index.d.ts.map +1 -0
- package/build/types/src/button/Button.d.ts.map +1 -0
- package/build/types/src/button/Button.resolver.d.ts.map +1 -0
- package/build/types/src/button/Button.types.d.ts.map +1 -0
- package/build/types/src/button/LegacyButton.d.ts.map +1 -0
- package/build/types/src/button/_stories/helpers.d.ts.map +1 -0
- package/build/types/src/button/classMap.d.ts.map +1 -0
- package/build/types/src/button/index.d.ts.map +1 -0
- package/build/types/src/button/legacyUtils/index.d.ts.map +1 -0
- package/build/types/src/button/legacyUtils/legacyUtils.d.ts.map +1 -0
- package/build/types/src/card/Card.d.ts.map +1 -0
- package/build/types/src/card/index.d.ts.map +1 -0
- package/build/types/src/carousel/Carousel.d.ts.map +1 -0
- package/build/types/src/carousel/index.d.ts.map +1 -0
- package/build/types/src/checkbox/Checkbox.d.ts.map +1 -0
- package/build/types/src/checkbox/index.d.ts.map +1 -0
- package/build/types/src/checkboxButton/CheckboxButton.d.ts.map +1 -0
- package/build/types/src/checkboxButton/index.d.ts.map +1 -0
- package/build/types/src/checkboxOption/CheckboxOption.d.ts.map +1 -0
- package/build/types/src/checkboxOption/index.d.ts.map +1 -0
- package/build/types/src/chevron/Chevron.d.ts.map +1 -0
- package/build/types/src/chevron/index.d.ts.map +1 -0
- package/build/types/src/chips/Chip.d.ts.map +1 -0
- package/build/types/src/chips/Chips.d.ts.map +1 -0
- package/build/types/src/chips/Chips.messages.d.ts.map +1 -0
- package/build/types/src/chips/index.d.ts.map +1 -0
- package/build/types/src/circularButton/CircularButton.d.ts.map +1 -0
- package/build/types/src/circularButton/index.d.ts.map +1 -0
- package/build/types/src/common/DOMOperations/DOMOperations.d.ts.map +1 -0
- package/build/types/src/common/DOMOperations/index.d.ts.map +1 -0
- package/build/types/src/common/Option/Option.d.ts.map +1 -0
- package/build/types/src/common/Option/index.d.ts.map +1 -0
- package/build/types/src/common/RadioButton/RadioButton.d.ts.map +1 -0
- package/build/types/src/common/RadioButton/index.d.ts.map +1 -0
- package/build/types/src/common/baseCard/BaseCard.d.ts.map +1 -0
- package/build/types/src/common/baseCard/index.d.ts.map +1 -0
- package/build/types/src/common/bottomSheet/BottomSheet.d.ts.map +1 -0
- package/build/types/src/common/bottomSheet/index.d.ts.map +1 -0
- package/build/types/src/common/circle/Circle.d.ts.map +1 -0
- package/build/types/src/common/circle/index.d.ts.map +1 -0
- package/build/types/src/common/closeButton/CloseButton.d.ts.map +1 -0
- package/build/types/src/common/closeButton/CloseButton.messages.d.ts.map +1 -0
- package/build/types/src/common/closeButton/index.d.ts.map +1 -0
- package/build/types/src/common/colors.d.ts.map +1 -0
- package/build/types/src/common/commonProps.d.ts.map +1 -0
- package/build/types/src/common/constants.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/index.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
- package/build/types/src/common/deviceDetection/deviceDetection.d.ts.map +1 -0
- package/build/types/src/common/deviceDetection/index.d.ts.map +1 -0
- package/build/types/src/common/direction.d.ts.map +1 -0
- package/build/types/src/common/domHelpers/documentIosClick.d.ts.map +1 -0
- package/build/types/src/common/domHelpers/index.d.ts.map +1 -0
- package/build/types/src/common/fakeEvents.d.ts.map +1 -0
- package/build/types/src/common/fileType.d.ts.map +1 -0
- package/build/types/src/common/flowHeader/FlowHeader.d.ts.map +1 -0
- package/build/types/src/common/flowHeader/index.d.ts.map +1 -0
- package/build/types/src/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
- package/build/types/src/common/focusBoundary/index.d.ts.map +1 -0
- package/build/types/src/common/historyNavigator/historyNavigator.d.ts.map +1 -0
- package/build/types/src/common/historyNavigator/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useConditionalListener/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
- package/build/types/src/common/hooks/useContainerSize.d.ts.map +1 -0
- package/build/types/src/common/hooks/useDirection/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useDirection/useDirection.d.ts.map +1 -0
- package/build/types/src/common/hooks/useEffectEvent.d.ts.map +1 -0
- package/build/types/src/common/hooks/useHasIntersected/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
- package/build/types/src/common/hooks/useLayout/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useLayout/useLayout.d.ts.map +1 -0
- package/build/types/src/common/hooks/useMedia.d.ts.map +1 -0
- package/build/types/src/common/hooks/useResizeObserver.d.ts.map +1 -0
- package/build/types/src/common/hooks/useScreenSize.d.ts +3 -0
- package/build/types/src/common/hooks/useScreenSize.d.ts.map +1 -0
- package/build/types/src/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
- package/build/types/src/common/index.d.ts +31 -0
- package/build/types/src/common/index.d.ts.map +1 -0
- package/build/types/src/common/initials.d.ts.map +1 -0
- package/build/types/src/common/liveRegion/LiveRegion.d.ts.map +1 -0
- package/build/types/src/common/liveRegion/index.d.ts.map +1 -0
- package/build/types/src/common/locale/index.d.ts.map +1 -0
- package/build/types/src/common/panel/Panel.d.ts.map +1 -0
- package/build/types/src/common/panel/index.d.ts.map +1 -0
- package/build/types/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
- package/build/types/src/common/preventScroll/PreventScroll.d.ts.map +1 -0
- package/build/types/src/common/propsValues/breakpoint.d.ts +9 -0
- package/build/types/src/common/propsValues/breakpoint.d.ts.map +1 -0
- package/build/types/src/common/propsValues/control.d.ts.map +1 -0
- package/build/types/src/common/propsValues/dateMode.d.ts.map +1 -0
- package/build/types/src/common/propsValues/layouts.d.ts.map +1 -0
- package/build/types/src/common/propsValues/markdownNodeType.d.ts.map +1 -0
- package/build/types/src/common/propsValues/monthFormat.d.ts.map +1 -0
- package/build/types/src/common/propsValues/position.d.ts.map +1 -0
- package/build/types/src/common/propsValues/profileType.d.ts.map +1 -0
- package/build/types/src/common/propsValues/scroll.d.ts.map +1 -0
- package/build/types/src/common/propsValues/sentiment.d.ts.map +1 -0
- package/build/types/src/common/propsValues/size.d.ts.map +1 -0
- package/build/types/src/common/propsValues/status.d.ts.map +1 -0
- package/build/types/src/common/propsValues/type.d.ts.map +1 -0
- package/build/types/src/common/propsValues/typography.d.ts.map +1 -0
- package/build/types/src/common/propsValues/variant.d.ts.map +1 -0
- package/build/types/src/common/propsValues/width.d.ts.map +1 -0
- package/build/types/src/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
- package/build/types/src/common/responsivePanel/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
- package/build/types/src/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
- package/build/types/src/common/theme.d.ts.map +1 -0
- package/build/types/src/container/Container.d.ts.map +1 -0
- package/build/types/src/container/index.d.ts.map +1 -0
- package/build/types/src/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
- package/build/types/src/criticalBanner/index.d.ts.map +1 -0
- package/build/types/src/dateInput/DateInput.d.ts.map +1 -0
- package/build/types/src/dateInput/DateInput.messages.d.ts.map +1 -0
- package/build/types/src/dateInput/index.d.ts.map +1 -0
- package/build/types/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
- package/build/types/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
- package/build/types/src/dateInput/utils/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/DateLookup.d.ts.map +1 -0
- package/build/types/src/dateLookup/DateLookup.messages.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateHeader/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateTrigger/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
- package/build/types/src/dateLookup/dayCalendar/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
- package/build/types/src/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
- package/build/types/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
- package/build/types/src/dateLookup/getStartOfDay/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
- package/build/types/src/dateLookup/monthCalendar/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
- package/build/types/src/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/tableLink/TableLink.d.ts.map +1 -0
- package/build/types/src/dateLookup/tableLink/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
- package/build/types/src/dateLookup/yearCalendar/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
- package/build/types/src/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
- package/build/types/src/decision/Decision.d.ts.map +1 -0
- package/build/types/src/decision/index.d.ts.map +1 -0
- package/build/types/src/definitionList/DefinitionList.d.ts.map +1 -0
- package/build/types/src/definitionList/index.d.ts.map +1 -0
- package/build/types/src/dimmer/Dimmer.d.ts.map +1 -0
- package/build/types/src/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
- package/build/types/src/dimmer/dimmerManager/index.d.ts.map +1 -0
- package/build/types/src/dimmer/index.d.ts.map +1 -0
- package/build/types/src/display/Display.d.ts.map +1 -0
- package/build/types/src/display/index.d.ts.map +1 -0
- package/build/types/src/divider/Divider.d.ts.map +1 -0
- package/build/types/src/divider/index.d.ts.map +1 -0
- package/build/types/src/drawer/Drawer.d.ts.map +1 -0
- package/build/types/src/drawer/index.d.ts.map +1 -0
- package/build/types/src/dropFade/DropFade.d.ts.map +1 -0
- package/build/types/src/dropFade/index.d.ts.map +1 -0
- package/build/types/src/emphasis/Emphasis.d.ts.map +1 -0
- package/build/types/src/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
- package/build/types/src/emphasis/index.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/index.d.ts.map +1 -0
- package/build/types/src/field/Field.d.ts.map +1 -0
- package/build/types/src/flowNavigation/FlowNavigation.d.ts.map +1 -0
- package/build/types/src/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
- package/build/types/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
- package/build/types/src/flowNavigation/animatedLabel/index.d.ts.map +1 -0
- package/build/types/src/header/Header.d.ts.map +1 -0
- package/build/types/src/header/index.d.ts.map +1 -0
- package/build/types/src/i18n/commonMessages/Button.messages.d.ts.map +1 -0
- package/build/types/src/i18n/index.d.ts.map +1 -0
- package/build/types/src/iconButton/IconButton.d.ts.map +1 -0
- package/build/types/src/iconButton/index.d.ts.map +1 -0
- package/build/types/src/image/Image.d.ts.map +1 -0
- package/build/types/src/image/index.d.ts.map +1 -0
- package/build/types/src/index.d.ts +213 -0
- package/build/types/src/index.d.ts.map +1 -0
- package/build/types/src/info/Info.d.ts.map +1 -0
- package/build/types/src/info/Info.messages.d.ts.map +1 -0
- package/build/types/src/info/index.d.ts.map +1 -0
- package/build/types/src/info/infoPresentations.d.ts.map +1 -0
- package/build/types/src/inlineAlert/InlineAlert.d.ts.map +1 -0
- package/build/types/src/inlineAlert/index.d.ts.map +1 -0
- package/build/types/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
- package/build/types/src/inputWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/src/inputs/Input.d.ts.map +1 -0
- package/build/types/src/inputs/InputGroup.d.ts.map +1 -0
- package/build/types/src/inputs/SearchInput.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/BottomSheet/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ButtonInput/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ClearButton/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ItemView/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Option/SelectInputOption.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Option/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/OptionContent/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Options/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Popover/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.contexts.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.messages.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.types.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.utils.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/TriggerButton/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/components.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/index.d.ts.map +1 -0
- package/build/types/src/inputs/TextArea.d.ts.map +1 -0
- package/build/types/src/inputs/_common.d.ts.map +1 -0
- package/build/types/src/inputs/contexts.d.ts.map +1 -0
- package/build/types/src/instructionsList/InstructionsList.d.ts.map +1 -0
- package/build/types/src/instructionsList/index.d.ts.map +1 -0
- package/build/types/src/label/Label.d.ts.map +1 -0
- package/build/types/src/label/Label.messages.d.ts.map +1 -0
- package/build/types/src/label/index.d.ts.map +1 -0
- package/build/types/src/legacylistItem/LegacyListItem.d.ts.map +1 -0
- package/build/types/src/legacylistItem/index.d.ts.map +1 -0
- package/build/types/src/link/Link.d.ts.map +1 -0
- package/build/types/src/link/Link.messages.d.ts.map +1 -0
- package/build/types/src/link/index.d.ts.map +1 -0
- package/build/types/src/list/List.d.ts.map +1 -0
- package/build/types/src/list/index.d.ts.map +1 -0
- package/build/types/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/src/listItem/AdditionalInfo/index.d.ts.map +1 -0
- package/build/types/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
- package/build/types/src/listItem/AvatarLayout/index.d.ts.map +1 -0
- package/build/types/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
- package/build/types/src/listItem/AvatarView/index.d.ts.map +1 -0
- package/build/types/src/listItem/Button/ListItemButton.d.ts.map +1 -0
- package/build/types/src/listItem/Button/index.d.ts.map +1 -0
- package/build/types/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/src/listItem/Checkbox/index.d.ts.map +1 -0
- package/build/types/src/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
- package/build/types/src/listItem/IconButton/index.d.ts.map +1 -0
- package/build/types/src/listItem/Image/ListItemImage.d.ts.map +1 -0
- package/build/types/src/listItem/Image/index.d.ts.map +1 -0
- package/build/types/src/listItem/ListItem.d.ts.map +1 -0
- package/build/types/src/listItem/ListItemContext.d.ts.map +1 -0
- package/build/types/src/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
- package/build/types/src/listItem/Navigation/index.d.ts.map +1 -0
- package/build/types/src/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
- package/build/types/src/listItem/Prompt/index.d.ts.map +1 -0
- package/build/types/src/listItem/Radio/ListItemRadio.d.ts.map +1 -0
- package/build/types/src/listItem/Radio/index.d.ts.map +1 -0
- package/build/types/src/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
- package/build/types/src/listItem/Switch/index.d.ts.map +1 -0
- package/build/types/src/listItem/_stories/helpers.d.ts.map +1 -0
- package/build/types/src/listItem/_stories/subcomponents.d.ts.map +1 -0
- package/build/types/src/listItem/_stories/variants/helpers.d.ts.map +1 -0
- package/build/types/src/listItem/constants.d.ts.map +1 -0
- package/build/types/src/listItem/index.d.ts.map +1 -0
- package/build/types/src/listItem/test-utils.d.ts.map +1 -0
- package/build/types/src/listItem/useListItemControl.d.ts.map +1 -0
- package/build/types/src/listItem/useListItemMedia.d.ts.map +1 -0
- package/build/types/src/loader/Loader.d.ts.map +1 -0
- package/build/types/src/loader/index.d.ts.map +1 -0
- package/build/types/src/logo/Logo.d.ts +59 -0
- package/build/types/src/logo/Logo.d.ts.map +1 -0
- package/build/types/src/logo/index.d.ts.map +1 -0
- package/build/types/src/logo/logo-assets.d.ts.map +1 -0
- package/build/types/src/markdown/Markdown.d.ts.map +1 -0
- package/build/types/src/markdown/index.d.ts.map +1 -0
- package/build/types/src/mocks.d.ts.map +1 -0
- package/build/types/src/modal/Modal.d.ts.map +1 -0
- package/build/types/src/modal/index.d.ts.map +1 -0
- package/build/types/src/money/Money.d.ts.map +1 -0
- package/build/types/src/money/index.d.ts.map +1 -0
- package/build/types/src/moneyInput/MoneyInput.d.ts.map +1 -0
- package/build/types/src/moneyInput/MoneyInput.messages.d.ts.map +1 -0
- package/build/types/src/moneyInput/currencyFormatting.d.ts.map +1 -0
- package/build/types/src/moneyInput/index.d.ts.map +1 -0
- package/build/types/src/navigationOption/NavigationOption.d.ts.map +1 -0
- package/build/types/src/navigationOption/index.d.ts.map +1 -0
- package/build/types/src/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
- package/build/types/src/navigationOptionsList/index.d.ts.map +1 -0
- package/build/types/src/nudge/Nudge.d.ts.map +1 -0
- package/build/types/src/nudge/index.d.ts.map +1 -0
- package/build/types/src/overlayHeader/OverlayHeader.d.ts.map +1 -0
- package/build/types/src/overlayHeader/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/data/countries.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
- package/build/types/src/popover/Popover.d.ts.map +1 -0
- package/build/types/src/popover/index.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveButton/index.d.ts.map +1 -0
- package/build/types/src/primitives/index.d.ts.map +1 -0
- package/build/types/src/primitives/types.d.ts.map +1 -0
- package/build/types/src/processIndicator/ProcessIndicator.d.ts.map +1 -0
- package/build/types/src/processIndicator/index.d.ts.map +1 -0
- package/build/types/src/progress/Progress.d.ts.map +1 -0
- package/build/types/src/progress/index.d.ts.map +1 -0
- package/build/types/src/progressBar/ProgressBar.d.ts.map +1 -0
- package/build/types/src/progressBar/index.d.ts.map +1 -0
- package/build/types/src/promoCard/PromoCard.d.ts.map +1 -0
- package/build/types/src/promoCard/PromoCardContext.d.ts.map +1 -0
- package/build/types/src/promoCard/PromoCardGroup.d.ts.map +1 -0
- package/build/types/src/promoCard/PromoCardIndicator.d.ts.map +1 -0
- package/build/types/src/promoCard/index.d.ts.map +1 -0
- package/build/types/src/prompt/ActionPrompt/ActionPrompt.d.ts.map +1 -0
- package/build/types/src/prompt/ActionPrompt/index.d.ts.map +1 -0
- package/build/types/src/prompt/CriticalBanner/CriticalBanner.d.ts.map +1 -0
- package/build/types/src/prompt/CriticalBanner/helpers.d.ts.map +1 -0
- package/build/types/src/prompt/CriticalBanner/index.d.ts.map +1 -0
- package/build/types/src/prompt/InfoPrompt/InfoPrompt.d.ts.map +1 -0
- package/build/types/src/prompt/InfoPrompt/index.d.ts.map +1 -0
- package/build/types/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
- package/build/types/src/prompt/InlinePrompt/index.d.ts.map +1 -0
- package/build/types/src/prompt/PrimitivePrompt/PrimitivePrompt.d.ts.map +1 -0
- package/build/types/src/prompt/PrimitivePrompt/index.d.ts.map +1 -0
- package/build/types/src/prompt/common/Expander/Expander.d.ts.map +1 -0
- package/build/types/src/prompt/common/Expander/Expander.messages.d.ts.map +1 -0
- package/build/types/src/prompt/helpers/promptMedia.d.ts.map +1 -0
- package/build/types/src/prompt/index.d.ts.map +1 -0
- package/build/types/src/provider/Provider.d.ts.map +1 -0
- package/build/types/src/provider/direction/DirectionProvider.d.ts.map +1 -0
- package/build/types/src/provider/direction/index.d.ts.map +1 -0
- package/build/types/src/provider/index.d.ts.map +1 -0
- package/build/types/src/provider/language/LanguageProvider.d.ts.map +1 -0
- package/build/types/src/provider/language/index.d.ts.map +1 -0
- package/build/types/src/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
- package/build/types/src/radio/Radio.d.ts.map +1 -0
- package/build/types/src/radio/index.d.ts.map +1 -0
- package/build/types/src/radioGroup/RadioGroup.d.ts.map +1 -0
- package/build/types/src/radioGroup/index.d.ts.map +1 -0
- package/build/types/src/radioOption/RadioOption.d.ts.map +1 -0
- package/build/types/src/radioOption/index.d.ts.map +1 -0
- package/build/types/src/section/Section.d.ts.map +1 -0
- package/build/types/src/section/index.d.ts.map +1 -0
- package/build/types/src/segmentedControl/SegmentedControl.d.ts.map +1 -0
- package/build/types/src/segmentedControl/index.d.ts.map +1 -0
- package/build/types/src/select/Select.d.ts.map +1 -0
- package/build/types/src/select/Select.messages.d.ts.map +1 -0
- package/build/types/src/select/index.d.ts.map +1 -0
- package/build/types/src/select/option/Option.d.ts.map +1 -0
- package/build/types/src/select/option/index.d.ts.map +1 -0
- package/build/types/src/select/searchBox/SearchBox.d.ts.map +1 -0
- package/build/types/src/select/searchBox/index.d.ts.map +1 -0
- package/build/types/src/sentimentSurface/SentimentSurface.d.ts.map +1 -0
- package/build/types/src/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
- package/build/types/src/sentimentSurface/index.d.ts.map +1 -0
- package/build/types/src/slidingPanel/SlidingPanel.d.ts.map +1 -0
- package/build/types/src/slidingPanel/index.d.ts.map +1 -0
- package/build/types/src/snackbar/Snackbar.d.ts.map +1 -0
- package/build/types/src/snackbar/SnackbarContext.d.ts.map +1 -0
- package/build/types/src/snackbar/SnackbarProvider.d.ts.map +1 -0
- package/build/types/src/snackbar/index.d.ts.map +1 -0
- package/build/types/src/snackbar/useSnackbar.d.ts.map +1 -0
- package/build/types/src/statusIcon/StatusIcon.d.ts.map +1 -0
- package/build/types/src/statusIcon/StatusIcon.messages.d.ts.map +1 -0
- package/build/types/src/statusIcon/index.d.ts.map +1 -0
- package/build/types/src/stepper/Stepper.d.ts.map +1 -0
- package/build/types/src/stepper/deviceDetection.d.ts.map +1 -0
- package/build/types/src/sticky/Sticky.d.ts.map +1 -0
- package/build/types/src/sticky/index.d.ts.map +1 -0
- package/build/types/src/summary/Summary.d.ts.map +1 -0
- package/build/types/src/summary/Summary.messages.d.ts.map +1 -0
- package/build/types/src/summary/index.d.ts.map +1 -0
- package/build/types/src/switch/Switch.d.ts.map +1 -0
- package/build/types/src/switch/index.d.ts.map +1 -0
- package/build/types/src/switchOption/SwitchOption.d.ts.map +1 -0
- package/build/types/src/switchOption/index.d.ts.map +1 -0
- package/build/types/src/table/Table.d.ts.map +1 -0
- package/build/types/src/table/Table.messages.d.ts.map +1 -0
- package/build/types/src/table/TableCell.d.ts.map +1 -0
- package/build/types/src/table/TableHeader.d.ts.map +1 -0
- package/build/types/src/table/TableRow.d.ts.map +1 -0
- package/build/types/src/table/TableStatusText.d.ts.map +1 -0
- package/build/types/src/table/index.d.ts.map +1 -0
- package/build/types/src/tabs/Tab.d.ts.map +1 -0
- package/build/types/src/tabs/TabList.d.ts.map +1 -0
- package/build/types/src/tabs/TabPanel.d.ts.map +1 -0
- package/build/types/src/tabs/Tabs.d.ts.map +1 -0
- package/build/types/src/tabs/index.d.ts.map +1 -0
- package/build/types/src/tabs/utils.d.ts.map +1 -0
- package/build/types/src/test-utils/fake-data.d.ts.map +1 -0
- package/build/types/src/test-utils/index.d.ts.map +1 -0
- package/build/types/src/test-utils/jest.setup.d.ts.map +1 -0
- package/build/types/src/test-utils/style-mock.d.ts.map +1 -0
- package/build/types/src/test-utils/wait.d.ts.map +1 -0
- package/build/types/src/test-utils/window-mock.d.ts.map +1 -0
- package/build/types/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
- package/build/types/src/textareaWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/src/tile/Tile.d.ts.map +1 -0
- package/build/types/src/tile/index.d.ts.map +1 -0
- package/build/types/src/title/Title.d.ts.map +1 -0
- package/build/types/src/title/index.d.ts.map +1 -0
- package/build/types/src/tooltip/Tooltip.d.ts.map +1 -0
- package/build/types/src/tooltip/index.d.ts.map +1 -0
- package/build/types/src/typeahead/Typeahead.d.ts.map +1 -0
- package/build/types/src/typeahead/Typeahead.messages.d.ts.map +1 -0
- package/build/types/src/typeahead/index.d.ts.map +1 -0
- package/build/types/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
- package/build/types/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
- package/build/types/src/typeahead/util/highlight.d.ts.map +1 -0
- package/build/types/src/upload/Upload.d.ts.map +1 -0
- package/build/types/src/upload/Upload.messages.d.ts.map +1 -0
- package/build/types/src/upload/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/completeStep/completeStep.d.ts.map +1 -0
- package/build/types/src/upload/steps/completeStep/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/processingStep/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/processingStep/processingStep.d.ts.map +1 -0
- package/build/types/src/upload/steps/uploadImageStep/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
- package/build/types/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
- package/build/types/src/upload/utils/asyncFileRead/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/getFileType/getFileType.d.ts.map +1 -0
- package/build/types/src/upload/utils/getFileType/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/isSizeValid/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
- package/build/types/src/upload/utils/isTypeValid/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
- package/build/types/src/upload/utils/postData/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/postData/postData.d.ts.map +1 -0
- package/build/types/src/uploadInput/UploadInput.d.ts.map +1 -0
- package/build/types/src/uploadInput/UploadInput.messages.d.ts.map +1 -0
- package/build/types/src/uploadInput/index.d.ts.map +1 -0
- package/build/types/src/uploadInput/types.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadButton/defaults.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
- package/build/types/src/utilities/cssValueWithUnit.d.ts.map +1 -0
- package/build/types/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
- package/build/types/src/utilities/deprecatedProperty/index.d.ts.map +1 -0
- package/build/types/src/utilities/index.d.ts.map +1 -0
- package/build/types/src/utilities/logActionRequired.d.ts.map +1 -0
- package/build/types/src/utils.d.ts.map +1 -0
- package/build/types/src/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
- package/build/types/src/withDisplayFormat/index.d.ts.map +1 -0
- package/build/types/src/withId/index.d.ts.map +1 -0
- package/build/types/src/withId/story/source.d.ts.map +1 -0
- package/build/types/src/withId/withId.d.ts.map +1 -0
- package/build/types/src/withNextPortal/withNextPortal.d.ts.map +1 -0
- package/build/upload/Upload.js +1 -1
- package/build/upload/Upload.js.map +1 -1
- package/build/upload/Upload.messages.js.map +1 -1
- package/build/upload/Upload.messages.mjs.map +1 -1
- package/build/upload/Upload.mjs +1 -1
- package/build/upload/Upload.mjs.map +1 -1
- package/build/upload/steps/completeStep/completeStep.js +1 -1
- package/build/upload/steps/completeStep/completeStep.js.map +1 -1
- package/build/upload/steps/completeStep/completeStep.mjs +1 -1
- package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
- package/build/upload/steps/processingStep/processingStep.js +1 -1
- package/build/upload/steps/processingStep/processingStep.js.map +1 -1
- package/build/upload/steps/processingStep/processingStep.mjs +1 -1
- package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.js.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.mjs.map +1 -1
- package/build/upload/utils/getFileType/getFileType.js.map +1 -1
- package/build/upload/utils/getFileType/getFileType.mjs.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.js.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.mjs.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.js.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.mjs.map +1 -1
- package/build/upload/utils/postData/postData.js.map +1 -1
- package/build/upload/utils/postData/postData.mjs.map +1 -1
- package/build/uploadInput/UploadInput.js +1 -1
- package/build/uploadInput/UploadInput.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.mjs.map +1 -1
- package/build/uploadInput/UploadInput.mjs +1 -1
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs +1 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
- package/build/uploadInput/uploadButton/defaults.js +1 -1
- package/build/uploadInput/uploadButton/defaults.js.map +1 -1
- package/build/uploadInput/uploadButton/defaults.mjs +1 -1
- package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.js +1 -1
- package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.mjs +1 -1
- package/build/uploadInput/uploadItem/UploadItem.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.mjs.map +1 -1
- package/build/utilities/cssValueWithUnit.js.map +1 -1
- package/build/utilities/cssValueWithUnit.mjs.map +1 -1
- package/build/utilities/logActionRequired.js.map +1 -1
- package/build/utilities/logActionRequired.mjs.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.js +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
- package/build/withId/withId.js.map +1 -1
- package/build/withId/withId.mjs.map +1 -1
- package/build/withNextPortal/withNextPortal.js.map +1 -1
- package/build/withNextPortal/withNextPortal.mjs.map +1 -1
- package/package.json +8 -8
- package/src/accordion/Accordion.css +1 -1
- package/src/card/Card.css +2 -2
- package/src/carousel/Carousel.css +5 -5
- package/src/circularButton/CircularButton.tsx +2 -3
- package/src/common/Option/Option.css +4 -2
- package/src/common/Option/Option.less +4 -2
- package/src/common/baseCard/BaseCard.css +1 -1
- package/src/common/bottomSheet/BottomSheet.tsx +2 -2
- package/src/common/circle/Circle.tsx +2 -2
- package/src/common/hooks/useLayout/useLayout.ts +1 -1
- package/src/common/hooks/useScreenSize.ts +1 -1
- package/src/common/index.ts +1 -1
- package/src/common/propsValues/breakpoint.ts +8 -0
- package/src/common/responsivePanel/ResponsivePanel.test.js +2 -3
- package/src/container/Container.css +3 -3
- package/src/criticalBanner/CriticalCommsBanner.css +1 -1
- package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +85 -0
- package/src/dateInput/DateInput.css +1 -1
- package/src/dateLookup/DateLookup.tsx +1 -1
- package/src/decision/Decision.test.tsx +1 -2
- package/src/decision/Decision.tsx +1 -2
- package/src/definitionList/DefinitionList.css +2 -2
- package/src/definitionList/DefinitionList.less +2 -2
- package/src/drawer/Drawer.css +2 -2
- package/src/drawer/Drawer.less +3 -4
- package/src/flowNavigation/FlowNavigation.css +1 -1
- package/src/flowNavigation/FlowNavigation.less +1 -1
- package/src/flowNavigation/FlowNavigation.story.tsx +0 -3
- package/src/flowNavigation/FlowNavigation.test.js +1 -1
- package/src/flowNavigation/FlowNavigation.tsx +1 -2
- package/src/index.ts +1 -1
- package/src/inputs/Input.css +3 -3
- package/src/inputs/SelectInput/Options/SelectInputOptions.css +2 -2
- package/src/inputs/SelectInput/SelectInput.css +2 -2
- package/src/inputs/SelectInput/SelectInput.tsx +1 -1
- package/src/inputs/TextArea.css +3 -3
- package/src/logo/Logo.tsx +1 -1
- package/src/main.css +309 -307
- package/src/modal/Modal.css +5 -5
- package/src/popover/Popover.css +3 -3
- package/src/popover/Popover.test.tsx +1 -2
- package/src/promoCard/PromoCard.css +1 -1
- package/src/prompt/ActionPrompt/ActionPrompt.css +1 -1
- package/src/prompt/ActionPrompt/ActionPrompt.test.tsx +3 -3
- package/src/prompt/ActionPrompt/ActionPrompt.tsx +1 -2
- package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +1 -1
- package/src/select/Select.test.tsx +1 -1
- package/src/snackbar/Snackbar.css +2 -2
- package/src/statusIcon/StatusIcon.tsx +2 -3
- package/src/stepper/Stepper.css +2 -2
- package/src/styles/less/accordion.css +4 -4
- package/src/styles/less/button-groups.css +6 -6
- package/src/styles/less/buttons.css +1 -1
- package/src/styles/less/circles.css +1 -1
- package/src/styles/less/column-layout.css +4 -4
- package/src/styles/less/decision.css +4 -4
- package/src/styles/less/dropdowns.css +10 -10
- package/src/styles/less/droppable.css +8 -8
- package/src/styles/less/flex.css +14 -14
- package/src/styles/less/footer.css +3 -3
- package/src/styles/less/forms/bootstrap-forms.css +9 -9
- package/src/styles/less/forms/bootstrap-forms.less +1 -1
- package/src/styles/less/grid.css +19 -19
- package/src/styles/less/input-groups.css +12 -12
- package/src/styles/less/list-group.css +8 -8
- package/src/styles/less/modals.css +6 -6
- package/src/styles/less/modals.less +4 -4
- package/src/styles/less/navbar.css +62 -62
- package/src/styles/less/navbar.less +2 -2
- package/src/styles/less/navs.css +2 -2
- package/src/styles/less/neptune.bundle.less +0 -1
- package/src/styles/less/neptune.css +261 -262
- package/src/styles/less/panels.css +9 -9
- package/src/styles/less/popovers.css +13 -13
- package/src/styles/less/select.css +1 -1
- package/src/styles/less/sequences.css +6 -6
- package/src/styles/less/table.css +6 -6
- package/src/styles/less/table.less +1 -1
- package/src/styles/less/utilities.css +4 -4
- package/src/styles/less/wells.css +4 -4
- package/src/styles/props/custom-media.css +11 -1
- package/src/styles/variables/legacy-variables.less +47 -4
- package/src/table/Table.css +1 -1
- package/src/tabs/Tabs.css +2 -2
- package/src/typeahead/Typeahead.css +1 -1
- package/src/uploadInput/uploadItem/UploadItem.less +2 -2
- package/build/types/accordion/Accordion.d.ts.map +0 -1
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
- package/build/types/accordion/AccordionItem/index.d.ts.map +0 -1
- package/build/types/accordion/index.d.ts.map +0 -1
- package/build/types/actionButton/ActionButton.d.ts.map +0 -1
- package/build/types/actionButton/index.d.ts.map +0 -1
- package/build/types/actionOption/ActionOption.d.ts.map +0 -1
- package/build/types/actionOption/index.d.ts.map +0 -1
- package/build/types/alert/Alert.d.ts.map +0 -1
- package/build/types/alert/index.d.ts.map +0 -1
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
- package/build/types/alert/inlineMarkdown/index.d.ts.map +0 -1
- package/build/types/avatar/Avatar.d.ts.map +0 -1
- package/build/types/avatar/avatarTypes.d.ts.map +0 -1
- package/build/types/avatar/index.d.ts.map +0 -1
- package/build/types/avatarLayout/AvatarLayout.d.ts.map +0 -1
- package/build/types/avatarLayout/index.d.ts.map +0 -1
- package/build/types/avatarView/AvatarView.d.ts.map +0 -1
- package/build/types/avatarView/Dot.d.ts.map +0 -1
- package/build/types/avatarView/index.d.ts.map +0 -1
- package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
- package/build/types/avatarWrapper/index.d.ts.map +0 -1
- package/build/types/badge/Badge.d.ts.map +0 -1
- package/build/types/badge/BadgeAssets.d.ts.map +0 -1
- package/build/types/badge/index.d.ts.map +0 -1
- package/build/types/body/Body.d.ts.map +0 -1
- package/build/types/body/index.d.ts.map +0 -1
- package/build/types/button/Button.d.ts.map +0 -1
- package/build/types/button/Button.resolver.d.ts.map +0 -1
- package/build/types/button/Button.types.d.ts.map +0 -1
- package/build/types/button/LegacyButton.d.ts.map +0 -1
- package/build/types/button/_stories/helpers.d.ts.map +0 -1
- package/build/types/button/classMap.d.ts.map +0 -1
- package/build/types/button/index.d.ts.map +0 -1
- package/build/types/button/legacyUtils/index.d.ts.map +0 -1
- package/build/types/button/legacyUtils/legacyUtils.d.ts.map +0 -1
- package/build/types/card/Card.d.ts.map +0 -1
- package/build/types/card/index.d.ts.map +0 -1
- package/build/types/carousel/Carousel.d.ts.map +0 -1
- package/build/types/carousel/index.d.ts.map +0 -1
- package/build/types/checkbox/Checkbox.d.ts.map +0 -1
- package/build/types/checkbox/index.d.ts.map +0 -1
- package/build/types/checkboxButton/CheckboxButton.d.ts.map +0 -1
- package/build/types/checkboxButton/index.d.ts.map +0 -1
- package/build/types/checkboxOption/CheckboxOption.d.ts.map +0 -1
- package/build/types/checkboxOption/index.d.ts.map +0 -1
- package/build/types/chevron/Chevron.d.ts.map +0 -1
- package/build/types/chevron/index.d.ts.map +0 -1
- package/build/types/chips/Chip.d.ts.map +0 -1
- package/build/types/chips/Chips.d.ts.map +0 -1
- package/build/types/chips/Chips.messages.d.ts.map +0 -1
- package/build/types/chips/index.d.ts.map +0 -1
- package/build/types/circularButton/CircularButton.d.ts.map +0 -1
- package/build/types/circularButton/index.d.ts.map +0 -1
- package/build/types/common/DOMOperations/DOMOperations.d.ts.map +0 -1
- package/build/types/common/DOMOperations/index.d.ts.map +0 -1
- package/build/types/common/Option/Option.d.ts.map +0 -1
- package/build/types/common/Option/index.d.ts.map +0 -1
- package/build/types/common/RadioButton/RadioButton.d.ts.map +0 -1
- package/build/types/common/RadioButton/index.d.ts.map +0 -1
- package/build/types/common/baseCard/BaseCard.d.ts.map +0 -1
- package/build/types/common/baseCard/index.d.ts.map +0 -1
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +0 -1
- package/build/types/common/bottomSheet/index.d.ts.map +0 -1
- package/build/types/common/circle/Circle.d.ts.map +0 -1
- package/build/types/common/circle/index.d.ts.map +0 -1
- package/build/types/common/closeButton/CloseButton.d.ts.map +0 -1
- package/build/types/common/closeButton/CloseButton.messages.d.ts.map +0 -1
- package/build/types/common/closeButton/index.d.ts.map +0 -1
- package/build/types/common/colors.d.ts.map +0 -1
- package/build/types/common/commonProps.d.ts.map +0 -1
- package/build/types/common/constants.d.ts.map +0 -1
- package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
- package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
- package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
- package/build/types/common/dateUtils/index.d.ts.map +0 -1
- package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
- package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
- package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
- package/build/types/common/deviceDetection/deviceDetection.d.ts.map +0 -1
- package/build/types/common/deviceDetection/index.d.ts.map +0 -1
- package/build/types/common/direction.d.ts.map +0 -1
- package/build/types/common/domHelpers/documentIosClick.d.ts.map +0 -1
- package/build/types/common/domHelpers/index.d.ts.map +0 -1
- package/build/types/common/fakeEvents.d.ts.map +0 -1
- package/build/types/common/fileType.d.ts.map +0 -1
- package/build/types/common/flowHeader/FlowHeader.d.ts.map +0 -1
- package/build/types/common/flowHeader/index.d.ts.map +0 -1
- package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
- package/build/types/common/focusBoundary/index.d.ts.map +0 -1
- package/build/types/common/historyNavigator/historyNavigator.d.ts.map +0 -1
- package/build/types/common/historyNavigator/index.d.ts.map +0 -1
- package/build/types/common/hooks/index.d.ts.map +0 -1
- package/build/types/common/hooks/useConditionalListener/index.d.ts.map +0 -1
- package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
- package/build/types/common/hooks/useContainerSize.d.ts.map +0 -1
- package/build/types/common/hooks/useDirection/index.d.ts.map +0 -1
- package/build/types/common/hooks/useDirection/useDirection.d.ts.map +0 -1
- package/build/types/common/hooks/useEffectEvent.d.ts.map +0 -1
- package/build/types/common/hooks/useHasIntersected/index.d.ts.map +0 -1
- package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
- package/build/types/common/hooks/useLayout/index.d.ts.map +0 -1
- package/build/types/common/hooks/useLayout/useLayout.d.ts.map +0 -1
- package/build/types/common/hooks/useMedia.d.ts.map +0 -1
- package/build/types/common/hooks/useResizeObserver.d.ts.map +0 -1
- package/build/types/common/hooks/useScreenSize.d.ts +0 -3
- package/build/types/common/hooks/useScreenSize.d.ts.map +0 -1
- package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
- package/build/types/common/index.d.ts +0 -31
- package/build/types/common/index.d.ts.map +0 -1
- package/build/types/common/initials.d.ts.map +0 -1
- package/build/types/common/liveRegion/LiveRegion.d.ts.map +0 -1
- package/build/types/common/liveRegion/index.d.ts.map +0 -1
- package/build/types/common/locale/index.d.ts.map +0 -1
- package/build/types/common/panel/Panel.d.ts.map +0 -1
- package/build/types/common/panel/index.d.ts.map +0 -1
- package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
- package/build/types/common/preventScroll/PreventScroll.d.ts.map +0 -1
- package/build/types/common/propsValues/control.d.ts.map +0 -1
- package/build/types/common/propsValues/dateMode.d.ts.map +0 -1
- package/build/types/common/propsValues/layouts.d.ts.map +0 -1
- package/build/types/common/propsValues/markdownNodeType.d.ts.map +0 -1
- package/build/types/common/propsValues/monthFormat.d.ts.map +0 -1
- package/build/types/common/propsValues/position.d.ts.map +0 -1
- package/build/types/common/propsValues/profileType.d.ts.map +0 -1
- package/build/types/common/propsValues/scroll.d.ts.map +0 -1
- package/build/types/common/propsValues/sentiment.d.ts.map +0 -1
- package/build/types/common/propsValues/size.d.ts.map +0 -1
- package/build/types/common/propsValues/status.d.ts.map +0 -1
- package/build/types/common/propsValues/type.d.ts.map +0 -1
- package/build/types/common/propsValues/typography.d.ts.map +0 -1
- package/build/types/common/propsValues/variant.d.ts.map +0 -1
- package/build/types/common/propsValues/width.d.ts.map +0 -1
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
- package/build/types/common/responsivePanel/index.d.ts.map +0 -1
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
- package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
- package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
- package/build/types/common/textFormat/index.d.ts.map +0 -1
- package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
- package/build/types/common/theme.d.ts.map +0 -1
- package/build/types/container/Container.d.ts.map +0 -1
- package/build/types/container/index.d.ts.map +0 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
- package/build/types/criticalBanner/index.d.ts.map +0 -1
- package/build/types/dateInput/DateInput.d.ts.map +0 -1
- package/build/types/dateInput/DateInput.messages.d.ts.map +0 -1
- package/build/types/dateInput/index.d.ts.map +0 -1
- package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
- package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
- package/build/types/dateInput/utils/index.d.ts.map +0 -1
- package/build/types/dateLookup/DateLookup.d.ts.map +0 -1
- package/build/types/dateLookup/DateLookup.messages.d.ts.map +0 -1
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
- package/build/types/dateLookup/dateHeader/index.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/index.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
- package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
- package/build/types/dateLookup/getStartOfDay/index.d.ts.map +0 -1
- package/build/types/dateLookup/index.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
- package/build/types/dateLookup/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/dateLookup/tableLink/index.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
- package/build/types/decision/Decision.d.ts.map +0 -1
- package/build/types/decision/index.d.ts.map +0 -1
- package/build/types/definitionList/DefinitionList.d.ts.map +0 -1
- package/build/types/definitionList/index.d.ts.map +0 -1
- package/build/types/dimmer/Dimmer.d.ts.map +0 -1
- package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
- package/build/types/dimmer/dimmerManager/index.d.ts.map +0 -1
- package/build/types/dimmer/index.d.ts.map +0 -1
- package/build/types/display/Display.d.ts.map +0 -1
- package/build/types/display/index.d.ts.map +0 -1
- package/build/types/divider/Divider.d.ts.map +0 -1
- package/build/types/divider/index.d.ts.map +0 -1
- package/build/types/drawer/Drawer.d.ts.map +0 -1
- package/build/types/drawer/index.d.ts.map +0 -1
- package/build/types/dropFade/DropFade.d.ts.map +0 -1
- package/build/types/dropFade/index.d.ts.map +0 -1
- package/build/types/emphasis/Emphasis.d.ts.map +0 -1
- package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
- package/build/types/emphasis/index.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/index.d.ts.map +0 -1
- package/build/types/field/Field.d.ts.map +0 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +0 -1
- package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
- package/build/types/flowNavigation/animatedLabel/index.d.ts.map +0 -1
- package/build/types/header/Header.d.ts.map +0 -1
- package/build/types/header/index.d.ts.map +0 -1
- package/build/types/i18n/commonMessages/Button.messages.d.ts.map +0 -1
- package/build/types/i18n/index.d.ts.map +0 -1
- package/build/types/iconButton/IconButton.d.ts.map +0 -1
- package/build/types/iconButton/index.d.ts.map +0 -1
- package/build/types/image/Image.d.ts.map +0 -1
- package/build/types/image/index.d.ts.map +0 -1
- package/build/types/index.d.ts +0 -214
- package/build/types/index.d.ts.map +0 -1
- package/build/types/info/Info.d.ts.map +0 -1
- package/build/types/info/Info.messages.d.ts.map +0 -1
- package/build/types/info/index.d.ts.map +0 -1
- package/build/types/info/infoPresentations.d.ts.map +0 -1
- package/build/types/inlineAlert/InlineAlert.d.ts.map +0 -1
- package/build/types/inlineAlert/index.d.ts.map +0 -1
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
- package/build/types/inputWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/inputs/Input.d.ts.map +0 -1
- package/build/types/inputs/InputGroup.d.ts.map +0 -1
- package/build/types/inputs/SearchInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Option/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Popover/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/components.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/index.d.ts.map +0 -1
- package/build/types/inputs/TextArea.d.ts.map +0 -1
- package/build/types/inputs/_common.d.ts.map +0 -1
- package/build/types/inputs/contexts.d.ts.map +0 -1
- package/build/types/instructionsList/InstructionsList.d.ts.map +0 -1
- package/build/types/instructionsList/index.d.ts.map +0 -1
- package/build/types/label/Label.d.ts.map +0 -1
- package/build/types/label/Label.messages.d.ts.map +0 -1
- package/build/types/label/index.d.ts.map +0 -1
- package/build/types/legacylistItem/LegacyListItem.d.ts.map +0 -1
- package/build/types/legacylistItem/index.d.ts.map +0 -1
- package/build/types/link/Link.d.ts.map +0 -1
- package/build/types/link/Link.messages.d.ts.map +0 -1
- package/build/types/link/index.d.ts.map +0 -1
- package/build/types/list/List.d.ts.map +0 -1
- package/build/types/list/index.d.ts.map +0 -1
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/listItem/AdditionalInfo/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/index.d.ts.map +0 -1
- package/build/types/listItem/Button/ListItemButton.d.ts.map +0 -1
- package/build/types/listItem/Button/index.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/index.d.ts.map +0 -1
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
- package/build/types/listItem/IconButton/index.d.ts.map +0 -1
- package/build/types/listItem/Image/ListItemImage.d.ts.map +0 -1
- package/build/types/listItem/Image/index.d.ts.map +0 -1
- package/build/types/listItem/ListItem.d.ts.map +0 -1
- package/build/types/listItem/ListItemContext.d.ts.map +0 -1
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
- package/build/types/listItem/Navigation/index.d.ts.map +0 -1
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
- package/build/types/listItem/Prompt/index.d.ts.map +0 -1
- package/build/types/listItem/Radio/ListItemRadio.d.ts.map +0 -1
- package/build/types/listItem/Radio/index.d.ts.map +0 -1
- package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
- package/build/types/listItem/Switch/index.d.ts.map +0 -1
- package/build/types/listItem/_stories/helpers.d.ts.map +0 -1
- package/build/types/listItem/_stories/subcomponents.d.ts.map +0 -1
- package/build/types/listItem/_stories/variants/helpers.d.ts.map +0 -1
- package/build/types/listItem/constants.d.ts.map +0 -1
- package/build/types/listItem/index.d.ts.map +0 -1
- package/build/types/listItem/test-utils.d.ts.map +0 -1
- package/build/types/listItem/useListItemControl.d.ts.map +0 -1
- package/build/types/listItem/useListItemMedia.d.ts.map +0 -1
- package/build/types/loader/Loader.d.ts.map +0 -1
- package/build/types/loader/index.d.ts.map +0 -1
- package/build/types/logo/Logo.d.ts +0 -59
- package/build/types/logo/Logo.d.ts.map +0 -1
- package/build/types/logo/index.d.ts.map +0 -1
- package/build/types/logo/logo-assets.d.ts.map +0 -1
- package/build/types/markdown/Markdown.d.ts.map +0 -1
- package/build/types/markdown/index.d.ts.map +0 -1
- package/build/types/mocks.d.ts.map +0 -1
- package/build/types/modal/Modal.d.ts.map +0 -1
- package/build/types/modal/index.d.ts.map +0 -1
- package/build/types/money/Money.d.ts.map +0 -1
- package/build/types/money/index.d.ts.map +0 -1
- package/build/types/moneyInput/MoneyInput.d.ts.map +0 -1
- package/build/types/moneyInput/MoneyInput.messages.d.ts.map +0 -1
- package/build/types/moneyInput/currencyFormatting.d.ts.map +0 -1
- package/build/types/moneyInput/index.d.ts.map +0 -1
- package/build/types/navigationOption/NavigationOption.d.ts.map +0 -1
- package/build/types/navigationOption/index.d.ts.map +0 -1
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
- package/build/types/navigationOptionsList/index.d.ts.map +0 -1
- package/build/types/nudge/Nudge.d.ts.map +0 -1
- package/build/types/nudge/index.d.ts.map +0 -1
- package/build/types/overlayHeader/OverlayHeader.d.ts.map +0 -1
- package/build/types/overlayHeader/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
- package/build/types/phoneNumberInput/data/countries.d.ts.map +0 -1
- package/build/types/phoneNumberInput/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
- package/build/types/popover/Popover.d.ts.map +0 -1
- package/build/types/popover/index.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/index.d.ts.map +0 -1
- package/build/types/primitives/index.d.ts.map +0 -1
- package/build/types/primitives/types.d.ts.map +0 -1
- package/build/types/processIndicator/ProcessIndicator.d.ts.map +0 -1
- package/build/types/processIndicator/index.d.ts.map +0 -1
- package/build/types/progress/Progress.d.ts.map +0 -1
- package/build/types/progress/index.d.ts.map +0 -1
- package/build/types/progressBar/ProgressBar.d.ts.map +0 -1
- package/build/types/progressBar/index.d.ts.map +0 -1
- package/build/types/promoCard/PromoCard.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardContext.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardGroup.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardIndicator.d.ts.map +0 -1
- package/build/types/promoCard/index.d.ts.map +0 -1
- package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts.map +0 -1
- package/build/types/prompt/ActionPrompt/index.d.ts.map +0 -1
- package/build/types/prompt/CriticalBanner/CriticalBanner.d.ts.map +0 -1
- package/build/types/prompt/CriticalBanner/helpers.d.ts.map +0 -1
- package/build/types/prompt/CriticalBanner/index.d.ts.map +0 -1
- package/build/types/prompt/InfoPrompt/InfoPrompt.d.ts.map +0 -1
- package/build/types/prompt/InfoPrompt/index.d.ts.map +0 -1
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
- package/build/types/prompt/InlinePrompt/index.d.ts.map +0 -1
- package/build/types/prompt/PrimitivePrompt/PrimitivePrompt.d.ts.map +0 -1
- package/build/types/prompt/PrimitivePrompt/index.d.ts.map +0 -1
- package/build/types/prompt/common/Expander/Expander.d.ts.map +0 -1
- package/build/types/prompt/common/Expander/Expander.messages.d.ts.map +0 -1
- package/build/types/prompt/helpers/promptMedia.d.ts.map +0 -1
- package/build/types/prompt/index.d.ts.map +0 -1
- package/build/types/provider/Provider.d.ts.map +0 -1
- package/build/types/provider/direction/DirectionProvider.d.ts.map +0 -1
- package/build/types/provider/direction/index.d.ts.map +0 -1
- package/build/types/provider/index.d.ts.map +0 -1
- package/build/types/provider/language/LanguageProvider.d.ts.map +0 -1
- package/build/types/provider/language/index.d.ts.map +0 -1
- package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
- package/build/types/radio/Radio.d.ts.map +0 -1
- package/build/types/radio/index.d.ts.map +0 -1
- package/build/types/radioGroup/RadioGroup.d.ts.map +0 -1
- package/build/types/radioGroup/index.d.ts.map +0 -1
- package/build/types/radioOption/RadioOption.d.ts.map +0 -1
- package/build/types/radioOption/index.d.ts.map +0 -1
- package/build/types/section/Section.d.ts.map +0 -1
- package/build/types/section/index.d.ts.map +0 -1
- package/build/types/segmentedControl/SegmentedControl.d.ts.map +0 -1
- package/build/types/segmentedControl/index.d.ts.map +0 -1
- package/build/types/select/Select.d.ts.map +0 -1
- package/build/types/select/Select.messages.d.ts.map +0 -1
- package/build/types/select/index.d.ts.map +0 -1
- package/build/types/select/option/Option.d.ts.map +0 -1
- package/build/types/select/option/index.d.ts.map +0 -1
- package/build/types/select/searchBox/SearchBox.d.ts.map +0 -1
- package/build/types/select/searchBox/index.d.ts.map +0 -1
- package/build/types/sentimentSurface/SentimentSurface.d.ts.map +0 -1
- package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
- package/build/types/sentimentSurface/index.d.ts.map +0 -1
- package/build/types/slidingPanel/SlidingPanel.d.ts.map +0 -1
- package/build/types/slidingPanel/index.d.ts.map +0 -1
- package/build/types/snackbar/Snackbar.d.ts.map +0 -1
- package/build/types/snackbar/SnackbarContext.d.ts.map +0 -1
- package/build/types/snackbar/SnackbarProvider.d.ts.map +0 -1
- package/build/types/snackbar/index.d.ts.map +0 -1
- package/build/types/snackbar/useSnackbar.d.ts.map +0 -1
- package/build/types/statusIcon/StatusIcon.d.ts.map +0 -1
- package/build/types/statusIcon/StatusIcon.messages.d.ts.map +0 -1
- package/build/types/statusIcon/index.d.ts.map +0 -1
- package/build/types/stepper/Stepper.d.ts.map +0 -1
- package/build/types/stepper/deviceDetection.d.ts.map +0 -1
- package/build/types/sticky/Sticky.d.ts.map +0 -1
- package/build/types/sticky/index.d.ts.map +0 -1
- package/build/types/summary/Summary.d.ts.map +0 -1
- package/build/types/summary/Summary.messages.d.ts.map +0 -1
- package/build/types/summary/index.d.ts.map +0 -1
- package/build/types/switch/Switch.d.ts.map +0 -1
- package/build/types/switch/index.d.ts.map +0 -1
- package/build/types/switchOption/SwitchOption.d.ts.map +0 -1
- package/build/types/switchOption/index.d.ts.map +0 -1
- package/build/types/table/Table.d.ts.map +0 -1
- package/build/types/table/Table.messages.d.ts.map +0 -1
- package/build/types/table/TableCell.d.ts.map +0 -1
- package/build/types/table/TableHeader.d.ts.map +0 -1
- package/build/types/table/TableRow.d.ts.map +0 -1
- package/build/types/table/TableStatusText.d.ts.map +0 -1
- package/build/types/table/index.d.ts.map +0 -1
- package/build/types/tabs/Tab.d.ts.map +0 -1
- package/build/types/tabs/TabList.d.ts.map +0 -1
- package/build/types/tabs/TabPanel.d.ts.map +0 -1
- package/build/types/tabs/Tabs.d.ts.map +0 -1
- package/build/types/tabs/index.d.ts.map +0 -1
- package/build/types/tabs/utils.d.ts.map +0 -1
- package/build/types/test-utils/fake-data.d.ts.map +0 -1
- package/build/types/test-utils/index.d.ts.map +0 -1
- package/build/types/test-utils/jest.setup.d.ts.map +0 -1
- package/build/types/test-utils/style-mock.d.ts.map +0 -1
- package/build/types/test-utils/wait.d.ts.map +0 -1
- package/build/types/test-utils/window-mock.d.ts.map +0 -1
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
- package/build/types/textareaWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/tile/Tile.d.ts.map +0 -1
- package/build/types/tile/index.d.ts.map +0 -1
- package/build/types/title/Title.d.ts.map +0 -1
- package/build/types/title/index.d.ts.map +0 -1
- package/build/types/tooltip/Tooltip.d.ts.map +0 -1
- package/build/types/tooltip/index.d.ts.map +0 -1
- package/build/types/typeahead/Typeahead.d.ts.map +0 -1
- package/build/types/typeahead/Typeahead.messages.d.ts.map +0 -1
- package/build/types/typeahead/index.d.ts.map +0 -1
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
- package/build/types/typeahead/util/highlight.d.ts.map +0 -1
- package/build/types/upload/Upload.d.ts.map +0 -1
- package/build/types/upload/Upload.messages.d.ts.map +0 -1
- package/build/types/upload/index.d.ts.map +0 -1
- package/build/types/upload/steps/completeStep/completeStep.d.ts.map +0 -1
- package/build/types/upload/steps/completeStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/index.d.ts.map +0 -1
- package/build/types/upload/steps/processingStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/processingStep/processingStep.d.ts.map +0 -1
- package/build/types/upload/steps/uploadImageStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
- package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
- package/build/types/upload/utils/asyncFileRead/index.d.ts.map +0 -1
- package/build/types/upload/utils/getFileType/getFileType.d.ts.map +0 -1
- package/build/types/upload/utils/getFileType/index.d.ts.map +0 -1
- package/build/types/upload/utils/index.d.ts.map +0 -1
- package/build/types/upload/utils/isSizeValid/index.d.ts.map +0 -1
- package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
- package/build/types/upload/utils/isTypeValid/index.d.ts.map +0 -1
- package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
- package/build/types/upload/utils/postData/index.d.ts.map +0 -1
- package/build/types/upload/utils/postData/postData.d.ts.map +0 -1
- package/build/types/uploadInput/UploadInput.d.ts.map +0 -1
- package/build/types/uploadInput/UploadInput.messages.d.ts.map +0 -1
- package/build/types/uploadInput/index.d.ts.map +0 -1
- package/build/types/uploadInput/types.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/defaults.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
- package/build/types/utilities/cssValueWithUnit.d.ts.map +0 -1
- package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
- package/build/types/utilities/deprecatedProperty/index.d.ts.map +0 -1
- package/build/types/utilities/index.d.ts.map +0 -1
- package/build/types/utilities/logActionRequired.d.ts.map +0 -1
- package/build/types/utils.d.ts.map +0 -1
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
- package/build/types/withDisplayFormat/index.d.ts.map +0 -1
- package/build/types/withId/index.d.ts.map +0 -1
- package/build/types/withId/story/source.d.ts.map +0 -1
- package/build/types/withId/withId.d.ts.map +0 -1
- package/build/types/withNextPortal/withNextPortal.d.ts.map +0 -1
- /package/build/types/{accordion → src/accordion}/Accordion.d.ts +0 -0
- /package/build/types/{accordion → src/accordion}/AccordionItem/AccordionItem.d.ts +0 -0
- /package/build/types/{accordion → src/accordion}/AccordionItem/index.d.ts +0 -0
- /package/build/types/{accordion → src/accordion}/index.d.ts +0 -0
- /package/build/types/{actionButton → src/actionButton}/ActionButton.d.ts +0 -0
- /package/build/types/{actionButton → src/actionButton}/index.d.ts +0 -0
- /package/build/types/{actionOption → src/actionOption}/ActionOption.d.ts +0 -0
- /package/build/types/{actionOption → src/actionOption}/index.d.ts +0 -0
- /package/build/types/{alert → src/alert}/Alert.d.ts +0 -0
- /package/build/types/{alert → src/alert}/index.d.ts +0 -0
- /package/build/types/{alert → src/alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
- /package/build/types/{alert → src/alert}/inlineMarkdown/index.d.ts +0 -0
- /package/build/types/{avatar → src/avatar}/Avatar.d.ts +0 -0
- /package/build/types/{avatar → src/avatar}/avatarTypes.d.ts +0 -0
- /package/build/types/{avatar → src/avatar}/index.d.ts +0 -0
- /package/build/types/{avatarLayout → src/avatarLayout}/AvatarLayout.d.ts +0 -0
- /package/build/types/{avatarLayout → src/avatarLayout}/index.d.ts +0 -0
- /package/build/types/{avatarView → src/avatarView}/AvatarView.d.ts +0 -0
- /package/build/types/{avatarView → src/avatarView}/Dot.d.ts +0 -0
- /package/build/types/{avatarView → src/avatarView}/index.d.ts +0 -0
- /package/build/types/{avatarWrapper → src/avatarWrapper}/AvatarWrapper.d.ts +0 -0
- /package/build/types/{avatarWrapper → src/avatarWrapper}/index.d.ts +0 -0
- /package/build/types/{badge → src/badge}/Badge.d.ts +0 -0
- /package/build/types/{badge → src/badge}/BadgeAssets.d.ts +0 -0
- /package/build/types/{badge → src/badge}/index.d.ts +0 -0
- /package/build/types/{body → src/body}/Body.d.ts +0 -0
- /package/build/types/{body → src/body}/index.d.ts +0 -0
- /package/build/types/{button → src/button}/Button.d.ts +0 -0
- /package/build/types/{button → src/button}/Button.resolver.d.ts +0 -0
- /package/build/types/{button → src/button}/Button.types.d.ts +0 -0
- /package/build/types/{button → src/button}/LegacyButton.d.ts +0 -0
- /package/build/types/{button → src/button}/_stories/helpers.d.ts +0 -0
- /package/build/types/{button → src/button}/classMap.d.ts +0 -0
- /package/build/types/{button → src/button}/index.d.ts +0 -0
- /package/build/types/{button → src/button}/legacyUtils/index.d.ts +0 -0
- /package/build/types/{button → src/button}/legacyUtils/legacyUtils.d.ts +0 -0
- /package/build/types/{card → src/card}/Card.d.ts +0 -0
- /package/build/types/{card → src/card}/index.d.ts +0 -0
- /package/build/types/{carousel → src/carousel}/Carousel.d.ts +0 -0
- /package/build/types/{carousel → src/carousel}/index.d.ts +0 -0
- /package/build/types/{checkbox → src/checkbox}/Checkbox.d.ts +0 -0
- /package/build/types/{checkbox → src/checkbox}/index.d.ts +0 -0
- /package/build/types/{checkboxButton → src/checkboxButton}/CheckboxButton.d.ts +0 -0
- /package/build/types/{checkboxButton → src/checkboxButton}/index.d.ts +0 -0
- /package/build/types/{checkboxOption → src/checkboxOption}/CheckboxOption.d.ts +0 -0
- /package/build/types/{checkboxOption → src/checkboxOption}/index.d.ts +0 -0
- /package/build/types/{chevron → src/chevron}/Chevron.d.ts +0 -0
- /package/build/types/{chevron → src/chevron}/index.d.ts +0 -0
- /package/build/types/{chips → src/chips}/Chip.d.ts +0 -0
- /package/build/types/{chips → src/chips}/Chips.d.ts +0 -0
- /package/build/types/{chips → src/chips}/Chips.messages.d.ts +0 -0
- /package/build/types/{chips → src/chips}/index.d.ts +0 -0
- /package/build/types/{circularButton → src/circularButton}/CircularButton.d.ts +0 -0
- /package/build/types/{circularButton → src/circularButton}/index.d.ts +0 -0
- /package/build/types/{common → src/common}/DOMOperations/DOMOperations.d.ts +0 -0
- /package/build/types/{common → src/common}/DOMOperations/index.d.ts +0 -0
- /package/build/types/{common → src/common}/Option/Option.d.ts +0 -0
- /package/build/types/{common → src/common}/Option/index.d.ts +0 -0
- /package/build/types/{common → src/common}/RadioButton/RadioButton.d.ts +0 -0
- /package/build/types/{common → src/common}/RadioButton/index.d.ts +0 -0
- /package/build/types/{common → src/common}/baseCard/BaseCard.d.ts +0 -0
- /package/build/types/{common → src/common}/baseCard/index.d.ts +0 -0
- /package/build/types/{common → src/common}/bottomSheet/BottomSheet.d.ts +0 -0
- /package/build/types/{common → src/common}/bottomSheet/index.d.ts +0 -0
- /package/build/types/{common → src/common}/circle/Circle.d.ts +0 -0
- /package/build/types/{common → src/common}/circle/index.d.ts +0 -0
- /package/build/types/{common → src/common}/closeButton/CloseButton.d.ts +0 -0
- /package/build/types/{common → src/common}/closeButton/CloseButton.messages.d.ts +0 -0
- /package/build/types/{common → src/common}/closeButton/index.d.ts +0 -0
- /package/build/types/{common → src/common}/colors.d.ts +0 -0
- /package/build/types/{common → src/common}/commonProps.d.ts +0 -0
- /package/build/types/{common → src/common}/constants.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/getDateView/getDateView.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/index.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
- /package/build/types/{common → src/common}/deviceDetection/deviceDetection.d.ts +0 -0
- /package/build/types/{common → src/common}/deviceDetection/index.d.ts +0 -0
- /package/build/types/{common → src/common}/direction.d.ts +0 -0
- /package/build/types/{common → src/common}/domHelpers/documentIosClick.d.ts +0 -0
- /package/build/types/{common → src/common}/domHelpers/index.d.ts +0 -0
- /package/build/types/{common → src/common}/fakeEvents.d.ts +0 -0
- /package/build/types/{common → src/common}/fileType.d.ts +0 -0
- /package/build/types/{common → src/common}/flowHeader/FlowHeader.d.ts +0 -0
- /package/build/types/{common → src/common}/flowHeader/index.d.ts +0 -0
- /package/build/types/{common → src/common}/focusBoundary/FocusBoundary.d.ts +0 -0
- /package/build/types/{common → src/common}/focusBoundary/index.d.ts +0 -0
- /package/build/types/{common → src/common}/historyNavigator/historyNavigator.d.ts +0 -0
- /package/build/types/{common → src/common}/historyNavigator/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useConditionalListener/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useContainerSize.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useDirection/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useDirection/useDirection.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useEffectEvent.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useHasIntersected/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useLayout/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useLayout/useLayout.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useMedia.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useResizeObserver.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useVirtualKeyboard.d.ts +0 -0
- /package/build/types/{common → src/common}/initials.d.ts +0 -0
- /package/build/types/{common → src/common}/liveRegion/LiveRegion.d.ts +0 -0
- /package/build/types/{common → src/common}/liveRegion/index.d.ts +0 -0
- /package/build/types/{common → src/common}/locale/index.d.ts +0 -0
- /package/build/types/{common → src/common}/panel/Panel.d.ts +0 -0
- /package/build/types/{common → src/common}/panel/index.d.ts +0 -0
- /package/build/types/{common → src/common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
- /package/build/types/{common → src/common}/preventScroll/PreventScroll.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/control.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/dateMode.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/layouts.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/markdownNodeType.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/monthFormat.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/position.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/profileType.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/scroll.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/sentiment.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/size.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/status.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/type.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/typography.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/variant.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/width.d.ts +0 -0
- /package/build/types/{common → src/common}/responsivePanel/ResponsivePanel.d.ts +0 -0
- /package/build/types/{common → src/common}/responsivePanel/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/formatWithPattern/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/unformatWithPattern/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
- /package/build/types/{common → src/common}/theme.d.ts +0 -0
- /package/build/types/{container → src/container}/Container.d.ts +0 -0
- /package/build/types/{container → src/container}/index.d.ts +0 -0
- /package/build/types/{criticalBanner → src/criticalBanner}/CriticalCommsBanner.d.ts +0 -0
- /package/build/types/{criticalBanner → src/criticalBanner}/index.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/DateInput.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/DateInput.messages.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/index.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/utils/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/DateLookup.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/DateLookup.messages.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateHeader/DateHeader.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateHeader/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateTrigger/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/table/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/getStartOfDay/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/table/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/tableLink/TableLink.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/tableLink/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/table/index.d.ts +0 -0
- /package/build/types/{decision → src/decision}/Decision.d.ts +0 -0
- /package/build/types/{decision → src/decision}/index.d.ts +0 -0
- /package/build/types/{definitionList → src/definitionList}/DefinitionList.d.ts +0 -0
- /package/build/types/{definitionList → src/definitionList}/index.d.ts +0 -0
- /package/build/types/{dimmer → src/dimmer}/Dimmer.d.ts +0 -0
- /package/build/types/{dimmer → src/dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
- /package/build/types/{dimmer → src/dimmer}/dimmerManager/index.d.ts +0 -0
- /package/build/types/{dimmer → src/dimmer}/index.d.ts +0 -0
- /package/build/types/{display → src/display}/Display.d.ts +0 -0
- /package/build/types/{display → src/display}/index.d.ts +0 -0
- /package/build/types/{divider → src/divider}/Divider.d.ts +0 -0
- /package/build/types/{divider → src/divider}/index.d.ts +0 -0
- /package/build/types/{drawer → src/drawer}/Drawer.d.ts +0 -0
- /package/build/types/{drawer → src/drawer}/index.d.ts +0 -0
- /package/build/types/{dropFade → src/dropFade}/DropFade.d.ts +0 -0
- /package/build/types/{dropFade → src/dropFade}/index.d.ts +0 -0
- /package/build/types/{emphasis → src/emphasis}/Emphasis.d.ts +0 -0
- /package/build/types/{emphasis → src/emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
- /package/build/types/{emphasis → src/emphasis}/index.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/index.d.ts +0 -0
- /package/build/types/{field → src/field}/Field.d.ts +0 -0
- /package/build/types/{flowNavigation → src/flowNavigation}/FlowNavigation.d.ts +0 -0
- /package/build/types/{flowNavigation → src/flowNavigation}/FlowNavigation.messages.d.ts +0 -0
- /package/build/types/{flowNavigation → src/flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
- /package/build/types/{flowNavigation → src/flowNavigation}/animatedLabel/index.d.ts +0 -0
- /package/build/types/{header → src/header}/Header.d.ts +0 -0
- /package/build/types/{header → src/header}/index.d.ts +0 -0
- /package/build/types/{i18n → src/i18n}/commonMessages/Button.messages.d.ts +0 -0
- /package/build/types/{i18n → src/i18n}/index.d.ts +0 -0
- /package/build/types/{iconButton → src/iconButton}/IconButton.d.ts +0 -0
- /package/build/types/{iconButton → src/iconButton}/index.d.ts +0 -0
- /package/build/types/{image → src/image}/Image.d.ts +0 -0
- /package/build/types/{image → src/image}/index.d.ts +0 -0
- /package/build/types/{info → src/info}/Info.d.ts +0 -0
- /package/build/types/{info → src/info}/Info.messages.d.ts +0 -0
- /package/build/types/{info → src/info}/index.d.ts +0 -0
- /package/build/types/{info → src/info}/infoPresentations.d.ts +0 -0
- /package/build/types/{inlineAlert → src/inlineAlert}/InlineAlert.d.ts +0 -0
- /package/build/types/{inlineAlert → src/inlineAlert}/index.d.ts +0 -0
- /package/build/types/{inputWithDisplayFormat → src/inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
- /package/build/types/{inputWithDisplayFormat → src/inputWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/Input.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/InputGroup.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SearchInput.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/BottomSheet/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ButtonInput/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ClearButton/SelectInputClearButton.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ClearButton/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/DefaultRenderTrigger/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/GroupItemView/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/SelectInputItemView.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Option/SelectInputOption.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Option/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/OptionContent/SelectInputOptionContent.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/OptionContent/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Options/OptionsContainer/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Options/SelectInputOptions.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Options/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Popover/SelectInputPopover.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Popover/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.contexts.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.messages.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.types.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.utils.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/TriggerButton/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/components.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/TextArea.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/_common.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/contexts.d.ts +0 -0
- /package/build/types/{instructionsList → src/instructionsList}/InstructionsList.d.ts +0 -0
- /package/build/types/{instructionsList → src/instructionsList}/index.d.ts +0 -0
- /package/build/types/{label → src/label}/Label.d.ts +0 -0
- /package/build/types/{label → src/label}/Label.messages.d.ts +0 -0
- /package/build/types/{label → src/label}/index.d.ts +0 -0
- /package/build/types/{legacylistItem → src/legacylistItem}/LegacyListItem.d.ts +0 -0
- /package/build/types/{legacylistItem → src/legacylistItem}/index.d.ts +0 -0
- /package/build/types/{link → src/link}/Link.d.ts +0 -0
- /package/build/types/{link → src/link}/Link.messages.d.ts +0 -0
- /package/build/types/{link → src/link}/index.d.ts +0 -0
- /package/build/types/{list → src/list}/List.d.ts +0 -0
- /package/build/types/{list → src/list}/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AdditionalInfo/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AvatarLayout/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AvatarView/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Button/ListItemButton.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Button/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Checkbox/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/IconButton/ListItemIconButton.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/IconButton/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Image/ListItemImage.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Image/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/ListItem.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/ListItemContext.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Navigation/ListItemNavigation.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Navigation/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Prompt/ListItemPrompt.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Prompt/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Radio/ListItemRadio.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Radio/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Switch/ListItemSwitch.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Switch/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/_stories/helpers.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/_stories/subcomponents.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/_stories/variants/helpers.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/constants.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/test-utils.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/useListItemControl.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/useListItemMedia.d.ts +0 -0
- /package/build/types/{loader → src/loader}/Loader.d.ts +0 -0
- /package/build/types/{loader → src/loader}/index.d.ts +0 -0
- /package/build/types/{logo → src/logo}/index.d.ts +0 -0
- /package/build/types/{logo → src/logo}/logo-assets.d.ts +0 -0
- /package/build/types/{markdown → src/markdown}/Markdown.d.ts +0 -0
- /package/build/types/{markdown → src/markdown}/index.d.ts +0 -0
- /package/build/types/{mocks.d.ts → src/mocks.d.ts} +0 -0
- /package/build/types/{modal → src/modal}/Modal.d.ts +0 -0
- /package/build/types/{modal → src/modal}/index.d.ts +0 -0
- /package/build/types/{money → src/money}/Money.d.ts +0 -0
- /package/build/types/{money → src/money}/index.d.ts +0 -0
- /package/build/types/{moneyInput → src/moneyInput}/MoneyInput.d.ts +0 -0
- /package/build/types/{moneyInput → src/moneyInput}/MoneyInput.messages.d.ts +0 -0
- /package/build/types/{moneyInput → src/moneyInput}/currencyFormatting.d.ts +0 -0
- /package/build/types/{moneyInput → src/moneyInput}/index.d.ts +0 -0
- /package/build/types/{navigationOption → src/navigationOption}/NavigationOption.d.ts +0 -0
- /package/build/types/{navigationOption → src/navigationOption}/index.d.ts +0 -0
- /package/build/types/{navigationOptionsList → src/navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
- /package/build/types/{navigationOptionsList → src/navigationOptionsList}/index.d.ts +0 -0
- /package/build/types/{nudge → src/nudge}/Nudge.d.ts +0 -0
- /package/build/types/{nudge → src/nudge}/index.d.ts +0 -0
- /package/build/types/{overlayHeader → src/overlayHeader}/OverlayHeader.d.ts +0 -0
- /package/build/types/{overlayHeader → src/overlayHeader}/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/data/countries.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
- /package/build/types/{popover → src/popover}/Popover.d.ts +0 -0
- /package/build/types/{popover → src/popover}/index.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveAnchor/index.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveButton/index.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/index.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/types.d.ts +0 -0
- /package/build/types/{processIndicator → src/processIndicator}/ProcessIndicator.d.ts +0 -0
- /package/build/types/{processIndicator → src/processIndicator}/index.d.ts +0 -0
- /package/build/types/{progress → src/progress}/Progress.d.ts +0 -0
- /package/build/types/{progress → src/progress}/index.d.ts +0 -0
- /package/build/types/{progressBar → src/progressBar}/ProgressBar.d.ts +0 -0
- /package/build/types/{progressBar → src/progressBar}/index.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/PromoCard.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/PromoCardContext.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/PromoCardGroup.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/PromoCardIndicator.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/ActionPrompt/ActionPrompt.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/ActionPrompt/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/CriticalBanner/CriticalBanner.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/CriticalBanner/helpers.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/CriticalBanner/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/InfoPrompt/InfoPrompt.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/InfoPrompt/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/InlinePrompt/InlinePrompt.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/InlinePrompt/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/PrimitivePrompt/PrimitivePrompt.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/PrimitivePrompt/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/common/Expander/Expander.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/common/Expander/Expander.messages.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/helpers/promptMedia.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/index.d.ts +0 -0
- /package/build/types/{provider → src/provider}/Provider.d.ts +0 -0
- /package/build/types/{provider → src/provider}/direction/DirectionProvider.d.ts +0 -0
- /package/build/types/{provider → src/provider}/direction/index.d.ts +0 -0
- /package/build/types/{provider → src/provider}/index.d.ts +0 -0
- /package/build/types/{provider → src/provider}/language/LanguageProvider.d.ts +0 -0
- /package/build/types/{provider → src/provider}/language/index.d.ts +0 -0
- /package/build/types/{provider → src/provider}/overlay/OverlayIdProvider.d.ts +0 -0
- /package/build/types/{radio → src/radio}/Radio.d.ts +0 -0
- /package/build/types/{radio → src/radio}/index.d.ts +0 -0
- /package/build/types/{radioGroup → src/radioGroup}/RadioGroup.d.ts +0 -0
- /package/build/types/{radioGroup → src/radioGroup}/index.d.ts +0 -0
- /package/build/types/{radioOption → src/radioOption}/RadioOption.d.ts +0 -0
- /package/build/types/{radioOption → src/radioOption}/index.d.ts +0 -0
- /package/build/types/{section → src/section}/Section.d.ts +0 -0
- /package/build/types/{section → src/section}/index.d.ts +0 -0
- /package/build/types/{segmentedControl → src/segmentedControl}/SegmentedControl.d.ts +0 -0
- /package/build/types/{segmentedControl → src/segmentedControl}/index.d.ts +0 -0
- /package/build/types/{select → src/select}/Select.d.ts +0 -0
- /package/build/types/{select → src/select}/Select.messages.d.ts +0 -0
- /package/build/types/{select → src/select}/index.d.ts +0 -0
- /package/build/types/{select → src/select}/option/Option.d.ts +0 -0
- /package/build/types/{select → src/select}/option/index.d.ts +0 -0
- /package/build/types/{select → src/select}/searchBox/SearchBox.d.ts +0 -0
- /package/build/types/{select → src/select}/searchBox/index.d.ts +0 -0
- /package/build/types/{sentimentSurface → src/sentimentSurface}/SentimentSurface.d.ts +0 -0
- /package/build/types/{sentimentSurface → src/sentimentSurface}/SentimentSurface.types.d.ts +0 -0
- /package/build/types/{sentimentSurface → src/sentimentSurface}/index.d.ts +0 -0
- /package/build/types/{slidingPanel → src/slidingPanel}/SlidingPanel.d.ts +0 -0
- /package/build/types/{slidingPanel → src/slidingPanel}/index.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/Snackbar.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/SnackbarContext.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/SnackbarProvider.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/index.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/useSnackbar.d.ts +0 -0
- /package/build/types/{statusIcon → src/statusIcon}/StatusIcon.d.ts +0 -0
- /package/build/types/{statusIcon → src/statusIcon}/StatusIcon.messages.d.ts +0 -0
- /package/build/types/{statusIcon → src/statusIcon}/index.d.ts +0 -0
- /package/build/types/{stepper → src/stepper}/Stepper.d.ts +0 -0
- /package/build/types/{stepper → src/stepper}/deviceDetection.d.ts +0 -0
- /package/build/types/{sticky → src/sticky}/Sticky.d.ts +0 -0
- /package/build/types/{sticky → src/sticky}/index.d.ts +0 -0
- /package/build/types/{summary → src/summary}/Summary.d.ts +0 -0
- /package/build/types/{summary → src/summary}/Summary.messages.d.ts +0 -0
- /package/build/types/{summary → src/summary}/index.d.ts +0 -0
- /package/build/types/{switch → src/switch}/Switch.d.ts +0 -0
- /package/build/types/{switch → src/switch}/index.d.ts +0 -0
- /package/build/types/{switchOption → src/switchOption}/SwitchOption.d.ts +0 -0
- /package/build/types/{switchOption → src/switchOption}/index.d.ts +0 -0
- /package/build/types/{table → src/table}/Table.d.ts +0 -0
- /package/build/types/{table → src/table}/Table.messages.d.ts +0 -0
- /package/build/types/{table → src/table}/TableCell.d.ts +0 -0
- /package/build/types/{table → src/table}/TableHeader.d.ts +0 -0
- /package/build/types/{table → src/table}/TableRow.d.ts +0 -0
- /package/build/types/{table → src/table}/TableStatusText.d.ts +0 -0
- /package/build/types/{table → src/table}/index.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/Tab.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/TabList.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/TabPanel.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/Tabs.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/index.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/utils.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/fake-data.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/index.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/jest.setup.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/style-mock.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/wait.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/window-mock.d.ts +0 -0
- /package/build/types/{textareaWithDisplayFormat → src/textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
- /package/build/types/{textareaWithDisplayFormat → src/textareaWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{tile → src/tile}/Tile.d.ts +0 -0
- /package/build/types/{tile → src/tile}/index.d.ts +0 -0
- /package/build/types/{title → src/title}/Title.d.ts +0 -0
- /package/build/types/{title → src/title}/index.d.ts +0 -0
- /package/build/types/{tooltip → src/tooltip}/Tooltip.d.ts +0 -0
- /package/build/types/{tooltip → src/tooltip}/index.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/Typeahead.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/Typeahead.messages.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/index.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/util/highlight.d.ts +0 -0
- /package/build/types/{upload → src/upload}/Upload.d.ts +0 -0
- /package/build/types/{upload → src/upload}/Upload.messages.d.ts +0 -0
- /package/build/types/{upload → src/upload}/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/completeStep/completeStep.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/completeStep/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/processingStep/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/processingStep/processingStep.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/uploadImageStep/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/asyncFileRead/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/getFileType/getFileType.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/getFileType/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/isSizeValid/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/isTypeValid/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/postData/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/postData/postData.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/UploadInput.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/UploadInput.messages.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/index.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/types.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadButton/UploadButton.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadButton/defaults.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadItem/UploadItem.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/cssValueWithUnit.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/deprecatedProperty/index.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/index.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/logActionRequired.d.ts +0 -0
- /package/build/types/{utils.d.ts → src/utils.d.ts} +0 -0
- /package/build/types/{withDisplayFormat → src/withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
- /package/build/types/{withDisplayFormat → src/withDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{withId → src/withId}/index.d.ts +0 -0
- /package/build/types/{withId → src/withId}/story/source.d.ts +0 -0
- /package/build/types/{withId → src/withId}/withId.d.ts +0 -0
- /package/build/types/{withNextPortal → src/withNextPortal}/withNextPortal.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.js","sources":["../../src/carousel/Carousel.tsx"],"sourcesContent":["import { ChevronLeft, ChevronRight } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { type CSSProperties, type ReactNode, useEffect, useRef, useState } from 'react';\n\nimport IconButton from '../iconButton';\nimport Title from '../title';\nimport type { PromoCardLinkProps } from '../promoCard/PromoCard';\nimport PromoCard from '../promoCard/PromoCard';\n\nexport type CarouselCardCommon = {\n id: string;\n href?: string;\n hrefTarget?: HTMLAnchorElement['target'];\n onClick?: () => void;\n className?: string;\n styles?: CSSProperties;\n};\n\nexport type CarouselDefaultCard = CarouselCardCommon & {\n type: 'anchor' | 'button';\n content: ReactNode;\n};\n\nexport type CarouselPromoCard = CarouselCardCommon & {\n type: 'promo';\n} & Omit<PromoCardLinkProps, 'type'>;\n\nexport type CarouselCard = CarouselDefaultCard | CarouselPromoCard;\nexport interface CarouselProps {\n header: string | ReactNode;\n className?: string;\n cards: CarouselCard[];\n onClick?: (cardId: string) => void;\n}\n\ntype CardsReference = {\n type: 'promo' | 'default';\n cardElement: HTMLDivElement | HTMLAnchorElement;\n anchorElement?: HTMLAnchorElement;\n};\n\nconst LEFT_SCROLL_OFFSET = 8;\n\nconst Carousel: React.FC<CarouselProps> = ({ header, className, cards, onClick }) => {\n const [scrollPosition, setScrollPosition] = useState(0);\n const [previousScrollPosition, setPreviousScrollPosition] = useState(0);\n const [scrollIsAtEnd, setScrollIsAtEnd] = useState(false);\n const [visibleCardOnMobileView, setVisibleCardOnMobileView] = useState<string>('');\n const carouselElementRef = useRef<HTMLDivElement>(null);\n const carouselCardsRef = useRef<CardsReference[]>([]);\n\n const isLeftActionButtonEnabled = scrollPosition > LEFT_SCROLL_OFFSET;\n\n const areActionButtonsEnabled = isLeftActionButtonEnabled || !scrollIsAtEnd;\n\n const [focusedCard, setFocusedCard] = useState(cards?.[0]?.id);\n\n const updateScrollButtonsState = () => {\n if (carouselElementRef.current) {\n const { scrollWidth, offsetWidth } = carouselElementRef.current;\n\n const scrollAtEnd = scrollWidth - offsetWidth <= scrollPosition + LEFT_SCROLL_OFFSET;\n setScrollIsAtEnd(scrollAtEnd);\n }\n\n const scrollDirecton = scrollPosition > previousScrollPosition ? 'right' : 'left';\n\n const cardsInFullViewIds: string[] = [];\n carouselCardsRef.current.forEach((card) => {\n if (isVisible(carouselElementRef.current as HTMLElement, card.cardElement as HTMLElement)) {\n // eslint-disable-next-line functional/immutable-data\n cardsInFullViewIds.push(card.cardElement.getAttribute('id') ?? '');\n }\n });\n\n if (cardsInFullViewIds.length >= 1) {\n const visibleCardIndex = scrollDirecton === 'right' ? cardsInFullViewIds.length - 1 : 0;\n const visibleCardId = cardsInFullViewIds[visibleCardIndex];\n setVisibleCardOnMobileView(visibleCardId);\n setFocusedCard(visibleCardId);\n }\n\n setPreviousScrollPosition(scrollPosition);\n };\n\n const scrollCarousel = (direction: 'left' | 'right' = 'right') => {\n if (carouselElementRef.current) {\n const { scrollWidth } = carouselElementRef.current;\n\n const cardWidth = scrollWidth / carouselCardsRef.current.length;\n\n const res = Math.floor(cardWidth - cardWidth * 0.05);\n\n carouselElementRef.current.scrollBy({\n left: direction === 'right' ? res : -res,\n behavior: 'smooth',\n });\n }\n };\n\n const handleOnKeyDown = (\n event: React.KeyboardEvent<HTMLAnchorElement | HTMLDivElement>,\n index: number,\n ) => {\n if (event.key === 'ArrowRight' || event.key === 'ArrowLeft') {\n const nextIndex = event.key === 'ArrowRight' ? index + 1 : index - 1;\n const nextCard = cards[nextIndex];\n if (nextCard) {\n const ref = carouselCardsRef.current[nextIndex];\n if (ref.type === 'promo') {\n ref.anchorElement?.focus();\n } else {\n ref.cardElement?.focus();\n }\n\n scrollCardIntoView(carouselCardsRef.current[nextIndex].cardElement, nextCard);\n event.preventDefault();\n }\n }\n\n if (event.key === 'Enter' || event.key === ' ') {\n event.currentTarget.click();\n }\n };\n\n const scrollCardIntoView = (element: HTMLElement, card: CarouselCard) => {\n element.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'center',\n });\n\n setFocusedCard(card.id);\n };\n\n useEffect(() => {\n updateScrollButtonsState();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [scrollPosition]);\n\n useEffect(() => {\n window.addEventListener('resize', updateScrollButtonsState);\n\n return () => {\n window.removeEventListener('resize', updateScrollButtonsState);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const addElementToCardsRefArray = (index: number, ref: Partial<CardsReference>) => {\n if (ref) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: ref.type ?? carouselCardsRef.current?.[index]?.type,\n cardElement: ref.cardElement ?? carouselCardsRef.current?.[index]?.cardElement,\n anchorElement: ref.anchorElement ?? carouselCardsRef.current?.[index]?.anchorElement,\n };\n }\n };\n\n return (\n <div className={clsx('carousel-wrapper', className)}>\n <div className=\"d-flex justify-content-between carousel__header\">\n {typeof header === 'string' ? (\n <Title as=\"span\" type=\"title-body\">\n {header}\n </Title>\n ) : (\n header\n )}\n {areActionButtonsEnabled ? (\n <div className=\"hidden-xs d-inline-flex\">\n <IconButton\n size={32}\n tabIndex={-1}\n priority=\"tertiary\"\n disabled={!isLeftActionButtonEnabled}\n aria-hidden=\"true\"\n data-testid=\"scroll-carousel-left\"\n onClick={() => scrollCarousel('left')}\n >\n <ChevronLeft />\n </IconButton>\n <IconButton\n size={32}\n tabIndex={-1}\n className=\"m-l-1\"\n priority=\"tertiary\"\n aria-hidden=\"true\"\n data-testid=\"scroll-carousel-right\"\n disabled={scrollIsAtEnd}\n onClick={() => scrollCarousel()}\n >\n <ChevronRight />\n </IconButton>\n </div>\n ) : null}\n </div>\n <div\n ref={carouselElementRef}\n tabIndex={-1}\n role=\"list\"\n className=\"carousel\"\n onScroll={(event) => {\n const target = event.target as HTMLElement;\n setScrollPosition(target.scrollLeft);\n }}\n >\n {cards?.map((card, index) => {\n const sharedProps = {\n id: card.id,\n className: clsx('carousel__card', {\n 'carousel__card--focused': card.id === focusedCard,\n }),\n onClick: () => {\n card.onClick?.();\n onClick?.(card.id);\n },\n onFocus: (event: React.FocusEvent<HTMLAnchorElement | HTMLDivElement>) => {\n scrollCardIntoView(event.currentTarget, card);\n },\n };\n\n const cardContent =\n card.type !== 'promo' ? (\n <div\n id={`${card.id}-content`}\n className={clsx('carousel__card-content', {\n [card.className ?? '']: !!card.className,\n })}\n style={card.styles}\n >\n {card.content}\n </div>\n ) : null;\n\n if (card.type === 'button') {\n return (\n <div key={card.id} aria-labelledby={`${card.id}-content`} role=\"listitem\">\n <div\n {...sharedProps}\n ref={(el) => {\n if (el) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: 'default',\n cardElement: el,\n };\n }\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n >\n {cardContent}\n </div>\n </div>\n );\n }\n\n if (card.type === 'promo') {\n return (\n <div key={card.id} id={card.id} role=\"listitem\" aria-labelledby={`${card.id}-anchor`}>\n <PromoCard\n {...{ ...card, type: undefined }}\n {...{ ...sharedProps }}\n ref={(el: HTMLDivElement | null) => {\n if (el) {\n addElementToCardsRefArray(index, {\n type: 'promo',\n cardElement: el,\n });\n }\n }}\n anchorRef={(el: HTMLAnchorElement) => {\n if (el) {\n addElementToCardsRefArray(index, {\n type: 'promo',\n anchorElement: el,\n });\n }\n }}\n anchorId={`${card.id}-anchor`}\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n />\n </div>\n );\n }\n\n return (\n <div key={card.id} aria-labelledby={`${card.id}-content`} role=\"listitem\">\n <a\n {...sharedProps}\n ref={(el) => {\n if (el) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: 'default',\n cardElement: el,\n };\n }\n }}\n href={card.href}\n target={card.hrefTarget}\n rel=\"noreferrer\"\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n >\n {cardContent}\n </a>\n </div>\n );\n })}\n </div>\n <div className=\"visible-xs\">\n <div className=\"carousel__indicators\">\n {cards?.map((card, index) => (\n <button\n key={`${card.id}-indicator`}\n data-testid={`${card.id}-indicator`}\n tabIndex={-1}\n aria-hidden\n type=\"button\"\n className={clsx('carousel__indicator', {\n 'carousel__indicator--selected': card.id === visibleCardOnMobileView,\n })}\n onClick={() => {\n scrollCardIntoView(carouselCardsRef.current[index].cardElement, card);\n }}\n />\n ))}\n </div>\n </div>\n </div>\n );\n};\n\nconst isVisible = (container: HTMLElement, el: HTMLElement) => {\n const cWidth = container.offsetWidth;\n const cScrollOffset = container.scrollLeft;\n\n const elemLeft = el.offsetLeft - container.offsetLeft;\n const elemRight = elemLeft + el.offsetWidth;\n\n return elemLeft >= cScrollOffset && elemRight <= cScrollOffset + cWidth;\n};\n\nexport default Carousel;\n"],"names":["LEFT_SCROLL_OFFSET","Carousel","header","className","cards","onClick","scrollPosition","setScrollPosition","useState","previousScrollPosition","setPreviousScrollPosition","scrollIsAtEnd","setScrollIsAtEnd","visibleCardOnMobileView","setVisibleCardOnMobileView","carouselElementRef","useRef","carouselCardsRef","isLeftActionButtonEnabled","areActionButtonsEnabled","focusedCard","setFocusedCard","id","updateScrollButtonsState","current","scrollWidth","offsetWidth","scrollAtEnd","scrollDirecton","cardsInFullViewIds","forEach","card","isVisible","cardElement","push","getAttribute","length","visibleCardIndex","visibleCardId","scrollCarousel","direction","cardWidth","res","Math","floor","scrollBy","left","behavior","handleOnKeyDown","event","index","key","nextIndex","nextCard","ref","type","anchorElement","focus","scrollCardIntoView","preventDefault","currentTarget","click","element","scrollIntoView","block","inline","useEffect","window","addEventListener","removeEventListener","addElementToCardsRefArray","_jsxs","clsx","children","_jsx","Title","as","IconButton","size","tabIndex","priority","disabled","ChevronLeft","ChevronRight","role","onScroll","target","scrollLeft","map","sharedProps","onFocus","cardContent","style","styles","content","el","onKeyDown","PromoCard","undefined","anchorRef","anchorId","href","hrefTarget","rel","container","cWidth","cScrollOffset","elemLeft","offsetLeft","elemRight"],"mappings":";;;;;;;;;;;;AAyCA,MAAMA,kBAAkB,GAAG,CAAC;AAE5B,MAAMC,QAAQ,GAA4BA,CAAC;EAAEC,MAAM;EAAEC,SAAS;EAAEC,KAAK;AAAEC,EAAAA;AAAO,CAAE,KAAI;EAClF,MAAM,CAACC,cAAc,EAAEC,iBAAiB,CAAC,GAAGC,cAAQ,CAAC,CAAC,CAAC;EACvD,MAAM,CAACC,sBAAsB,EAAEC,yBAAyB,CAAC,GAAGF,cAAQ,CAAC,CAAC,CAAC;EACvE,MAAM,CAACG,aAAa,EAAEC,gBAAgB,CAAC,GAAGJ,cAAQ,CAAC,KAAK,CAAC;EACzD,MAAM,CAACK,uBAAuB,EAAEC,0BAA0B,CAAC,GAAGN,cAAQ,CAAS,EAAE,CAAC;AAClF,EAAA,MAAMO,kBAAkB,GAAGC,YAAM,CAAiB,IAAI,CAAC;AACvD,EAAA,MAAMC,gBAAgB,GAAGD,YAAM,CAAmB,EAAE,CAAC;AAErD,EAAA,MAAME,yBAAyB,GAAGZ,cAAc,GAAGN,kBAAkB;AAErE,EAAA,MAAMmB,uBAAuB,GAAGD,yBAAyB,IAAI,CAACP,aAAa;AAE3E,EAAA,MAAM,CAACS,WAAW,EAAEC,cAAc,CAAC,GAAGb,cAAQ,CAACJ,KAAK,GAAG,CAAC,CAAC,EAAEkB,EAAE,CAAC;EAE9D,MAAMC,wBAAwB,GAAGA,MAAK;IACpC,IAAIR,kBAAkB,CAACS,OAAO,EAAE;MAC9B,MAAM;QAAEC,WAAW;AAAEC,QAAAA;OAAa,GAAGX,kBAAkB,CAACS,OAAO;MAE/D,MAAMG,WAAW,GAAGF,WA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,eACzBC,cAAA,CAAA,KAAA,EAAA;AAAKvE,QAAAA,SAAS,EAAC,sBAAsB;QAAAsE,QAAA,EAClCrE,KAAK,EAAEoF,GAAG,CAAC,CAACzD,IAAI,EAAEmB,KAAK,kBACtBwB,cAAA,CAAA,QAAA,EAAA;AAEE,UAAA,aAAA,EAAa,CAAA,EAAG3C,IAAI,CAACT,EAAE,CAAA,UAAA,CAAa;UACpCyD,QAAQ,EAAE,EAAG;UACb,aAAA,EAAA,IAAW;AACXxB,UAAAA,IAAI,EAAC,QAAQ;AACbpD,UAAAA,SAAS,EAAEqE,SAAI,CAAC,qBAAqB,EAAE;AACrC,YAAA,+BAA+B,EAAEzC,IAAI,CAACT,EAAE,KAAKT;AAC9C,WAAA,CAAE;UACHR,OAAO,EAAEA,MAAK;YACZqD,kBAAkB,CAACzC,gBAAgB,CAACO,OAAO,CAAC0B,KAAK,CAAC,CAACjB,WAAW,EAAEF,IAAI,CAAC;AACvE,UAAA;AAAE,SAAA,EAVG,CAAA,EAAGA,IAAI,CAACT,EAAE,YAUb,CAEL;OACE;AACP,KAAK,CACP;AAAA,GAAK,CAAC;AAEV;AAEA,MAAMU,SAAS,GAAGA,CAACwE,SAAsB,EAAET,EAAe,KAAI;AAC5D,EAAA,MAAMU,MAAM,GAAGD,SAAS,CAAC9E,WAAW;AACpC,EAAA,MAAMgF,aAAa,GAAGF,SAAS,CAACjB,UAAU;EAE1C,MAAMoB,QAAQ,GAAGZ,EAAE,CAACa,UAAU,GAAGJ,SAAS,CAACI,UAAU;AACrD,EAAA,MAAMC,SAAS,GAAGF,QAAQ,GAAGZ,EAAE,CAACrE,WAAW;EAE3C,OAAOiF,QAAQ,IAAID,aAAa,IAAIG,SAAS,IAAIH,aAAa,GAAGD,MAAM;AACzE,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"Carousel.js","sources":["../../../src/carousel/Carousel.tsx"],"sourcesContent":["import { ChevronLeft, ChevronRight } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { type CSSProperties, type ReactNode, useEffect, useRef, useState } from 'react';\n\nimport IconButton from '../iconButton';\nimport Title from '../title';\nimport type { PromoCardLinkProps } from '../promoCard/PromoCard';\nimport PromoCard from '../promoCard/PromoCard';\n\nexport type CarouselCardCommon = {\n id: string;\n href?: string;\n hrefTarget?: HTMLAnchorElement['target'];\n onClick?: () => void;\n className?: string;\n styles?: CSSProperties;\n};\n\nexport type CarouselDefaultCard = CarouselCardCommon & {\n type: 'anchor' | 'button';\n content: ReactNode;\n};\n\nexport type CarouselPromoCard = CarouselCardCommon & {\n type: 'promo';\n} & Omit<PromoCardLinkProps, 'type'>;\n\nexport type CarouselCard = CarouselDefaultCard | CarouselPromoCard;\nexport interface CarouselProps {\n header: string | ReactNode;\n className?: string;\n cards: CarouselCard[];\n onClick?: (cardId: string) => void;\n}\n\ntype CardsReference = {\n type: 'promo' | 'default';\n cardElement: HTMLDivElement | HTMLAnchorElement;\n anchorElement?: HTMLAnchorElement;\n};\n\nconst LEFT_SCROLL_OFFSET = 8;\n\nconst Carousel: React.FC<CarouselProps> = ({ header, className, cards, onClick }) => {\n const [scrollPosition, setScrollPosition] = useState(0);\n const [previousScrollPosition, setPreviousScrollPosition] = useState(0);\n const [scrollIsAtEnd, setScrollIsAtEnd] = useState(false);\n const [visibleCardOnMobileView, setVisibleCardOnMobileView] = useState<string>('');\n const carouselElementRef = useRef<HTMLDivElement>(null);\n const carouselCardsRef = useRef<CardsReference[]>([]);\n\n const isLeftActionButtonEnabled = scrollPosition > LEFT_SCROLL_OFFSET;\n\n const areActionButtonsEnabled = isLeftActionButtonEnabled || !scrollIsAtEnd;\n\n const [focusedCard, setFocusedCard] = useState(cards?.[0]?.id);\n\n const updateScrollButtonsState = () => {\n if (carouselElementRef.current) {\n const { scrollWidth, offsetWidth } = carouselElementRef.current;\n\n const scrollAtEnd = scrollWidth - offsetWidth <= scrollPosition + LEFT_SCROLL_OFFSET;\n setScrollIsAtEnd(scrollAtEnd);\n }\n\n const scrollDirecton = scrollPosition > previousScrollPosition ? 'right' : 'left';\n\n const cardsInFullViewIds: string[] = [];\n carouselCardsRef.current.forEach((card) => {\n if (isVisible(carouselElementRef.current as HTMLElement, card.cardElement as HTMLElement)) {\n // eslint-disable-next-line functional/immutable-data\n cardsInFullViewIds.push(card.cardElement.getAttribute('id') ?? '');\n }\n });\n\n if (cardsInFullViewIds.length >= 1) {\n const visibleCardIndex = scrollDirecton === 'right' ? cardsInFullViewIds.length - 1 : 0;\n const visibleCardId = cardsInFullViewIds[visibleCardIndex];\n setVisibleCardOnMobileView(visibleCardId);\n setFocusedCard(visibleCardId);\n }\n\n setPreviousScrollPosition(scrollPosition);\n };\n\n const scrollCarousel = (direction: 'left' | 'right' = 'right') => {\n if (carouselElementRef.current) {\n const { scrollWidth } = carouselElementRef.current;\n\n const cardWidth = scrollWidth / carouselCardsRef.current.length;\n\n const res = Math.floor(cardWidth - cardWidth * 0.05);\n\n carouselElementRef.current.scrollBy({\n left: direction === 'right' ? res : -res,\n behavior: 'smooth',\n });\n }\n };\n\n const handleOnKeyDown = (\n event: React.KeyboardEvent<HTMLAnchorElement | HTMLDivElement>,\n index: number,\n ) => {\n if (event.key === 'ArrowRight' || event.key === 'ArrowLeft') {\n const nextIndex = event.key === 'ArrowRight' ? index + 1 : index - 1;\n const nextCard = cards[nextIndex];\n if (nextCard) {\n const ref = carouselCardsRef.current[nextIndex];\n if (ref.type === 'promo') {\n ref.anchorElement?.focus();\n } else {\n ref.cardElement?.focus();\n }\n\n scrollCardIntoView(carouselCardsRef.current[nextIndex].cardElement, nextCard);\n event.preventDefault();\n }\n }\n\n if (event.key === 'Enter' || event.key === ' ') {\n event.currentTarget.click();\n }\n };\n\n const scrollCardIntoView = (element: HTMLElement, card: CarouselCard) => {\n element.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'center',\n });\n\n setFocusedCard(card.id);\n };\n\n useEffect(() => {\n updateScrollButtonsState();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [scrollPosition]);\n\n useEffect(() => {\n window.addEventListener('resize', updateScrollButtonsState);\n\n return () => {\n window.removeEventListener('resize', updateScrollButtonsState);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const addElementToCardsRefArray = (index: number, ref: Partial<CardsReference>) => {\n if (ref) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: ref.type ?? carouselCardsRef.current?.[index]?.type,\n cardElement: ref.cardElement ?? carouselCardsRef.current?.[index]?.cardElement,\n anchorElement: ref.anchorElement ?? carouselCardsRef.current?.[index]?.anchorElement,\n };\n }\n };\n\n return (\n <div className={clsx('carousel-wrapper', className)}>\n <div className=\"d-flex justify-content-between carousel__header\">\n {typeof header === 'string' ? (\n <Title as=\"span\" type=\"title-body\">\n {header}\n </Title>\n ) : (\n header\n )}\n {areActionButtonsEnabled ? (\n <div className=\"hidden-xs d-inline-flex\">\n <IconButton\n size={32}\n tabIndex={-1}\n priority=\"tertiary\"\n disabled={!isLeftActionButtonEnabled}\n aria-hidden=\"true\"\n data-testid=\"scroll-carousel-left\"\n onClick={() => scrollCarousel('left')}\n >\n <ChevronLeft />\n </IconButton>\n <IconButton\n size={32}\n tabIndex={-1}\n className=\"m-l-1\"\n priority=\"tertiary\"\n aria-hidden=\"true\"\n data-testid=\"scroll-carousel-right\"\n disabled={scrollIsAtEnd}\n onClick={() => scrollCarousel()}\n >\n <ChevronRight />\n </IconButton>\n </div>\n ) : null}\n </div>\n <div\n ref={carouselElementRef}\n tabIndex={-1}\n role=\"list\"\n className=\"carousel\"\n onScroll={(event) => {\n const target = event.target as HTMLElement;\n setScrollPosition(target.scrollLeft);\n }}\n >\n {cards?.map((card, index) => {\n const sharedProps = {\n id: card.id,\n className: clsx('carousel__card', {\n 'carousel__card--focused': card.id === focusedCard,\n }),\n onClick: () => {\n card.onClick?.();\n onClick?.(card.id);\n },\n onFocus: (event: React.FocusEvent<HTMLAnchorElement | HTMLDivElement>) => {\n scrollCardIntoView(event.currentTarget, card);\n },\n };\n\n const cardContent =\n card.type !== 'promo' ? (\n <div\n id={`${card.id}-content`}\n className={clsx('carousel__card-content', {\n [card.className ?? '']: !!card.className,\n })}\n style={card.styles}\n >\n {card.content}\n </div>\n ) : null;\n\n if (card.type === 'button') {\n return (\n <div key={card.id} aria-labelledby={`${card.id}-content`} role=\"listitem\">\n <div\n {...sharedProps}\n ref={(el) => {\n if (el) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: 'default',\n cardElement: el,\n };\n }\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n >\n {cardContent}\n </div>\n </div>\n );\n }\n\n if (card.type === 'promo') {\n return (\n <div key={card.id} id={card.id} role=\"listitem\" aria-labelledby={`${card.id}-anchor`}>\n <PromoCard\n {...{ ...card, type: undefined }}\n {...{ ...sharedProps }}\n ref={(el: HTMLDivElement | null) => {\n if (el) {\n addElementToCardsRefArray(index, {\n type: 'promo',\n cardElement: el,\n });\n }\n }}\n anchorRef={(el: HTMLAnchorElement) => {\n if (el) {\n addElementToCardsRefArray(index, {\n type: 'promo',\n anchorElement: el,\n });\n }\n }}\n anchorId={`${card.id}-anchor`}\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n />\n </div>\n );\n }\n\n return (\n <div key={card.id} aria-labelledby={`${card.id}-content`} role=\"listitem\">\n <a\n {...sharedProps}\n ref={(el) => {\n if (el) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: 'default',\n cardElement: el,\n };\n }\n }}\n href={card.href}\n target={card.hrefTarget}\n rel=\"noreferrer\"\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n >\n {cardContent}\n </a>\n </div>\n );\n })}\n </div>\n <div className=\"visible-xs\">\n <div className=\"carousel__indicators\">\n {cards?.map((card, index) => (\n <button\n key={`${card.id}-indicator`}\n data-testid={`${card.id}-indicator`}\n tabIndex={-1}\n aria-hidden\n type=\"button\"\n className={clsx('carousel__indicator', {\n 'carousel__indicator--selected': card.id === visibleCardOnMobileView,\n })}\n onClick={() => {\n scrollCardIntoView(carouselCardsRef.current[index].cardElement, card);\n }}\n />\n ))}\n </div>\n </div>\n </div>\n );\n};\n\nconst isVisible = (container: HTMLElement, el: HTMLElement) => {\n const cWidth = container.offsetWidth;\n const cScrollOffset = container.scrollLeft;\n\n const elemLeft = el.offsetLeft - container.offsetLeft;\n const elemRight = elemLeft + el.offsetWidth;\n\n return elemLeft >= cScrollOffset && elemRight <= cScrollOffset + cWidth;\n};\n\nexport default Carousel;\n"],"names":["LEFT_SCROLL_OFFSET","Carousel","header","className","cards","onClick","scrollPosition","setScrollPosition","useState","previousScrollPosition","setPreviousScrollPosition","scrollIsAtEnd","setScrollIsAtEnd","visibleCardOnMobileView","setVisibleCardOnMobileView","carouselElementRef","useRef","carouselCardsRef","isLeftActionButtonEnabled","areActionButtonsEnabled","focusedCard","setFocusedCard","id","updateScrollButtonsState","current","scrollWidth","offsetWidth","scrollAtEnd","scrollDirecton","cardsInFullViewIds","forEach","card","isVisible","cardElement","push","getAttribute","length","visibleCardIndex","visibleCardId","scrollCarousel","direction","cardWidth","res","Math","floor","scrollBy","left","behavior","handleOnKeyDown","event","index","key","nextIndex","nextCard","ref","type","anchorElement","focus","scrollCardIntoView","preventDefault","currentTarget","click","element","scrollIntoView","block","inline","useEffect","window","addEventListener","removeEventListener","addElementToCardsRefArray","_jsxs","clsx","children","_jsx","Title","as","IconButton","size","tabIndex","priority","disabled","ChevronLeft","ChevronRight","role","onScroll","target","scrollLeft","map","sharedProps","onFocus","cardContent","style","styles","content","el","onKeyDown","PromoCard","undefined","anchorRef","anchorId","href","hrefTarget","rel","container","cWidth","cScrollOffset","elemLeft","offsetLeft","elemRight"],"mappings":";;;;;;;;;;;;AAyCA,MAAMA,kBAAkB,GAAG,CAAC;AAE5B,MAAMC,QAAQ,GAA4BA,CAAC;EAAEC,MAAM;EAAEC,SAAS;EAAEC,KA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bpD,UAAAA,SAAS,EAAEqE,SAAI,CAAC,qBAAqB,EAAE;AACrC,YAAA,+BAA+B,EAAEzC,IAAI,CAACT,EAAE,KAAKT;AAC9C,WAAA,CAAE;UACHR,OAAO,EAAEA,MAAK;YACZqD,kBAAkB,CAACzC,gBAAgB,CAACO,OAAO,CAAC0B,KAAK,CAAC,CAACjB,WAAW,EAAEF,IAAI,CAAC;AACvE,UAAA;AAAE,SAAA,EAVG,CAAA,EAAGA,IAAI,CAACT,EAAE,YAUb,CAEL;OACE;AACP,KAAK,CACP;AAAA,GAAK,CAAC;AAEV;AAEA,MAAMU,SAAS,GAAGA,CAACwE,SAAsB,EAAET,EAAe,KAAI;AAC5D,EAAA,MAAMU,MAAM,GAAGD,SAAS,CAAC9E,WAAW;AACpC,EAAA,MAAMgF,aAAa,GAAGF,SAAS,CAACjB,UAAU;EAE1C,MAAMoB,QAAQ,GAAGZ,EAAE,CAACa,UAAU,GAAGJ,SAAS,CAACI,UAAU;AACrD,EAAA,MAAMC,SAAS,GAAGF,QAAQ,GAAGZ,EAAE,CAACrE,WAAW;EAE3C,OAAOiF,QAAQ,IAAID,aAAa,IAAIG,SAAS,IAAIH,aAAa,GAAGD,MAAM;AACzE,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.mjs","sources":["../../src/carousel/Carousel.tsx"],"sourcesContent":["import { ChevronLeft, ChevronRight } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { type CSSProperties, type ReactNode, useEffect, useRef, useState } from 'react';\n\nimport IconButton from '../iconButton';\nimport Title from '../title';\nimport type { PromoCardLinkProps } from '../promoCard/PromoCard';\nimport PromoCard from '../promoCard/PromoCard';\n\nexport type CarouselCardCommon = {\n id: string;\n href?: string;\n hrefTarget?: HTMLAnchorElement['target'];\n onClick?: () => void;\n className?: string;\n styles?: CSSProperties;\n};\n\nexport type CarouselDefaultCard = CarouselCardCommon & {\n type: 'anchor' | 'button';\n content: ReactNode;\n};\n\nexport type CarouselPromoCard = CarouselCardCommon & {\n type: 'promo';\n} & Omit<PromoCardLinkProps, 'type'>;\n\nexport type CarouselCard = CarouselDefaultCard | CarouselPromoCard;\nexport interface CarouselProps {\n header: string | ReactNode;\n className?: string;\n cards: CarouselCard[];\n onClick?: (cardId: string) => void;\n}\n\ntype CardsReference = {\n type: 'promo' | 'default';\n cardElement: HTMLDivElement | HTMLAnchorElement;\n anchorElement?: HTMLAnchorElement;\n};\n\nconst LEFT_SCROLL_OFFSET = 8;\n\nconst Carousel: React.FC<CarouselProps> = ({ header, className, cards, onClick }) => {\n const [scrollPosition, setScrollPosition] = useState(0);\n const [previousScrollPosition, setPreviousScrollPosition] = useState(0);\n const [scrollIsAtEnd, setScrollIsAtEnd] = useState(false);\n const [visibleCardOnMobileView, setVisibleCardOnMobileView] = useState<string>('');\n const carouselElementRef = useRef<HTMLDivElement>(null);\n const carouselCardsRef = useRef<CardsReference[]>([]);\n\n const isLeftActionButtonEnabled = scrollPosition > LEFT_SCROLL_OFFSET;\n\n const areActionButtonsEnabled = isLeftActionButtonEnabled || !scrollIsAtEnd;\n\n const [focusedCard, setFocusedCard] = useState(cards?.[0]?.id);\n\n const updateScrollButtonsState = () => {\n if (carouselElementRef.current) {\n const { scrollWidth, offsetWidth } = carouselElementRef.current;\n\n const scrollAtEnd = scrollWidth - offsetWidth <= scrollPosition + LEFT_SCROLL_OFFSET;\n setScrollIsAtEnd(scrollAtEnd);\n }\n\n const scrollDirecton = scrollPosition > previousScrollPosition ? 'right' : 'left';\n\n const cardsInFullViewIds: string[] = [];\n carouselCardsRef.current.forEach((card) => {\n if (isVisible(carouselElementRef.current as HTMLElement, card.cardElement as HTMLElement)) {\n // eslint-disable-next-line functional/immutable-data\n cardsInFullViewIds.push(card.cardElement.getAttribute('id') ?? '');\n }\n });\n\n if (cardsInFullViewIds.length >= 1) {\n const visibleCardIndex = scrollDirecton === 'right' ? cardsInFullViewIds.length - 1 : 0;\n const visibleCardId = cardsInFullViewIds[visibleCardIndex];\n setVisibleCardOnMobileView(visibleCardId);\n setFocusedCard(visibleCardId);\n }\n\n setPreviousScrollPosition(scrollPosition);\n };\n\n const scrollCarousel = (direction: 'left' | 'right' = 'right') => {\n if (carouselElementRef.current) {\n const { scrollWidth } = carouselElementRef.current;\n\n const cardWidth = scrollWidth / carouselCardsRef.current.length;\n\n const res = Math.floor(cardWidth - cardWidth * 0.05);\n\n carouselElementRef.current.scrollBy({\n left: direction === 'right' ? res : -res,\n behavior: 'smooth',\n });\n }\n };\n\n const handleOnKeyDown = (\n event: React.KeyboardEvent<HTMLAnchorElement | HTMLDivElement>,\n index: number,\n ) => {\n if (event.key === 'ArrowRight' || event.key === 'ArrowLeft') {\n const nextIndex = event.key === 'ArrowRight' ? index + 1 : index - 1;\n const nextCard = cards[nextIndex];\n if (nextCard) {\n const ref = carouselCardsRef.current[nextIndex];\n if (ref.type === 'promo') {\n ref.anchorElement?.focus();\n } else {\n ref.cardElement?.focus();\n }\n\n scrollCardIntoView(carouselCardsRef.current[nextIndex].cardElement, nextCard);\n event.preventDefault();\n }\n }\n\n if (event.key === 'Enter' || event.key === ' ') {\n event.currentTarget.click();\n }\n };\n\n const scrollCardIntoView = (element: HTMLElement, card: CarouselCard) => {\n element.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'center',\n });\n\n setFocusedCard(card.id);\n };\n\n useEffect(() => {\n updateScrollButtonsState();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [scrollPosition]);\n\n useEffect(() => {\n window.addEventListener('resize', updateScrollButtonsState);\n\n return () => {\n window.removeEventListener('resize', updateScrollButtonsState);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const addElementToCardsRefArray = (index: number, ref: Partial<CardsReference>) => {\n if (ref) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: ref.type ?? carouselCardsRef.current?.[index]?.type,\n cardElement: ref.cardElement ?? carouselCardsRef.current?.[index]?.cardElement,\n anchorElement: ref.anchorElement ?? carouselCardsRef.current?.[index]?.anchorElement,\n };\n }\n };\n\n return (\n <div className={clsx('carousel-wrapper', className)}>\n <div className=\"d-flex justify-content-between carousel__header\">\n {typeof header === 'string' ? (\n <Title as=\"span\" type=\"title-body\">\n {header}\n </Title>\n ) : (\n header\n )}\n {areActionButtonsEnabled ? (\n <div className=\"hidden-xs d-inline-flex\">\n <IconButton\n size={32}\n tabIndex={-1}\n priority=\"tertiary\"\n disabled={!isLeftActionButtonEnabled}\n aria-hidden=\"true\"\n data-testid=\"scroll-carousel-left\"\n onClick={() => scrollCarousel('left')}\n >\n <ChevronLeft />\n </IconButton>\n <IconButton\n size={32}\n tabIndex={-1}\n className=\"m-l-1\"\n priority=\"tertiary\"\n aria-hidden=\"true\"\n data-testid=\"scroll-carousel-right\"\n disabled={scrollIsAtEnd}\n onClick={() => scrollCarousel()}\n >\n <ChevronRight />\n </IconButton>\n </div>\n ) : null}\n </div>\n <div\n ref={carouselElementRef}\n tabIndex={-1}\n role=\"list\"\n className=\"carousel\"\n onScroll={(event) => {\n const target = event.target as HTMLElement;\n setScrollPosition(target.scrollLeft);\n }}\n >\n {cards?.map((card, index) => {\n const sharedProps = {\n id: card.id,\n className: clsx('carousel__card', {\n 'carousel__card--focused': card.id === focusedCard,\n }),\n onClick: () => {\n card.onClick?.();\n onClick?.(card.id);\n },\n onFocus: (event: React.FocusEvent<HTMLAnchorElement | HTMLDivElement>) => {\n scrollCardIntoView(event.currentTarget, card);\n },\n };\n\n const cardContent =\n card.type !== 'promo' ? (\n <div\n id={`${card.id}-content`}\n className={clsx('carousel__card-content', {\n [card.className ?? '']: !!card.className,\n })}\n style={card.styles}\n >\n {card.content}\n </div>\n ) : null;\n\n if (card.type === 'button') {\n return (\n <div key={card.id} aria-labelledby={`${card.id}-content`} role=\"listitem\">\n <div\n {...sharedProps}\n ref={(el) => {\n if (el) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: 'default',\n cardElement: el,\n };\n }\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n >\n {cardContent}\n </div>\n </div>\n );\n }\n\n if (card.type === 'promo') {\n return (\n <div key={card.id} id={card.id} role=\"listitem\" aria-labelledby={`${card.id}-anchor`}>\n <PromoCard\n {...{ ...card, type: undefined }}\n {...{ ...sharedProps }}\n ref={(el: HTMLDivElement | null) => {\n if (el) {\n addElementToCardsRefArray(index, {\n type: 'promo',\n cardElement: el,\n });\n }\n }}\n anchorRef={(el: HTMLAnchorElement) => {\n if (el) {\n addElementToCardsRefArray(index, {\n type: 'promo',\n anchorElement: el,\n });\n }\n }}\n anchorId={`${card.id}-anchor`}\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n />\n </div>\n );\n }\n\n return (\n <div key={card.id} aria-labelledby={`${card.id}-content`} role=\"listitem\">\n <a\n {...sharedProps}\n ref={(el) => {\n if (el) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: 'default',\n cardElement: el,\n };\n }\n }}\n href={card.href}\n target={card.hrefTarget}\n rel=\"noreferrer\"\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n >\n {cardContent}\n </a>\n </div>\n );\n })}\n </div>\n <div className=\"visible-xs\">\n <div className=\"carousel__indicators\">\n {cards?.map((card, index) => (\n <button\n key={`${card.id}-indicator`}\n data-testid={`${card.id}-indicator`}\n tabIndex={-1}\n aria-hidden\n type=\"button\"\n className={clsx('carousel__indicator', {\n 'carousel__indicator--selected': card.id === visibleCardOnMobileView,\n })}\n onClick={() => {\n scrollCardIntoView(carouselCardsRef.current[index].cardElement, card);\n }}\n />\n ))}\n </div>\n </div>\n </div>\n );\n};\n\nconst isVisible = (container: HTMLElement, el: HTMLElement) => {\n const cWidth = container.offsetWidth;\n const cScrollOffset = container.scrollLeft;\n\n const elemLeft = el.offsetLeft - container.offsetLeft;\n const elemRight = elemLeft + el.offsetWidth;\n\n return elemLeft >= cScrollOffset && elemRight <= cScrollOffset + cWidth;\n};\n\nexport default Carousel;\n"],"names":["LEFT_SCROLL_OFFSET","Carousel","header","className","cards","onClick","scrollPosition","setScrollPosition","useState","previousScrollPosition","setPreviousScrollPosition","scrollIsAtEnd","setScrollIsAtEnd","visibleCardOnMobileView","setVisibleCardOnMobileView","carouselElementRef","useRef","carouselCardsRef","isLeftActionButtonEnabled","areActionButtonsEnabled","focusedCard","setFocusedCard","id","updateScrollButtonsState","current","scrollWidth","offsetWidth","scrollAtEnd","scrollDirecton","cardsInFullViewIds","forEach","card","isVisible","cardElement","push","getAttribute","length","visibleCardIndex","visibleCardId","scrollCarousel","direction","cardWidth","res","Math","floor","scrollBy","left","behavior","handleOnKeyDown","event","index","key","nextIndex","nextCard","ref","type","anchorElement","focus","scrollCardIntoView","preventDefault","currentTarget","click","element","scrollIntoView","block","inline","useEffect","window","addEventListener","removeEventListener","addElementToCardsRefArray","_jsxs","clsx","children","_jsx","Title","as","IconButton","size","tabIndex","priority","disabled","ChevronLeft","ChevronRight","role","onScroll","target","scrollLeft","map","sharedProps","onFocus","cardContent","style","styles","content","el","onKeyDown","PromoCard","undefined","anchorRef","anchorId","href","hrefTarget","rel","container","cWidth","cScrollOffset","elemLeft","offsetLeft","elemRight"],"mappings":";;;;;;;;AAyCA,MAAMA,kBAAkB,GAAG,CAAC;AAE5B,MAAMC,QAAQ,GAA4BA,CAAC;EAAEC,MAAM;EAAEC,SAAS;EAAEC,KAAK;AAAEC,EAAAA;AAAO,CAAE,KAAI;EAClF,MAAM,CAACC,cAAc,EAAEC,iBAAiB,CAAC,GAAGC,QAAQ,CAAC,CAAC,CAAC;EACvD,MAAM,CAACC,sBAAsB,EAAEC,yBAAyB,CAAC,GAAGF,QAAQ,CAAC,CAAC,CAAC;EACvE,MAAM,CAACG,aAAa,EAAEC,gBAAgB,CAAC,GAAGJ,QAAQ,CAAC,KAAK,CAAC;EACzD,MAAM,CAACK,uBAAuB,EAAEC,0BAA0B,CAAC,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P,KAAK,CACP;AAAA,GAAK,CAAC;AAEV;AAEA,MAAMU,SAAS,GAAGA,CAACwE,SAAsB,EAAET,EAAe,KAAI;AAC5D,EAAA,MAAMU,MAAM,GAAGD,SAAS,CAAC9E,WAAW;AACpC,EAAA,MAAMgF,aAAa,GAAGF,SAAS,CAACjB,UAAU;EAE1C,MAAMoB,QAAQ,GAAGZ,EAAE,CAACa,UAAU,GAAGJ,SAAS,CAACI,UAAU;AACrD,EAAA,MAAMC,SAAS,GAAGF,QAAQ,GAAGZ,EAAE,CAACrE,WAAW;EAE3C,OAAOiF,QAAQ,IAAID,aAAa,IAAIG,SAAS,IAAIH,aAAa,GAAGD,MAAM;AACzE,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"Carousel.mjs","sources":["../../../src/carousel/Carousel.tsx"],"sourcesContent":["import { ChevronLeft, ChevronRight } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { type CSSProperties, type ReactNode, useEffect, useRef, useState } from 'react';\n\nimport IconButton from '../iconButton';\nimport Title from '../title';\nimport type { PromoCardLinkProps } from '../promoCard/PromoCard';\nimport PromoCard from '../promoCard/PromoCard';\n\nexport type CarouselCardCommon = {\n id: string;\n href?: string;\n hrefTarget?: HTMLAnchorElement['target'];\n onClick?: () => void;\n className?: string;\n styles?: CSSProperties;\n};\n\nexport type CarouselDefaultCard = CarouselCardCommon & {\n type: 'anchor' | 'button';\n content: ReactNode;\n};\n\nexport type CarouselPromoCard = CarouselCardCommon & {\n type: 'promo';\n} & Omit<PromoCardLinkProps, 'type'>;\n\nexport type CarouselCard = CarouselDefaultCard | CarouselPromoCard;\nexport interface CarouselProps {\n header: string | ReactNode;\n className?: string;\n cards: CarouselCard[];\n onClick?: (cardId: string) => void;\n}\n\ntype CardsReference = {\n type: 'promo' | 'default';\n cardElement: HTMLDivElement | HTMLAnchorElement;\n anchorElement?: HTMLAnchorElement;\n};\n\nconst LEFT_SCROLL_OFFSET = 8;\n\nconst Carousel: React.FC<CarouselProps> = ({ header, className, cards, onClick }) => {\n const [scrollPosition, setScrollPosition] = useState(0);\n const [previousScrollPosition, setPreviousScrollPosition] = useState(0);\n const [scrollIsAtEnd, setScrollIsAtEnd] = useState(false);\n const [visibleCardOnMobileView, setVisibleCardOnMobileView] = useState<string>('');\n const carouselElementRef = useRef<HTMLDivElement>(null);\n const carouselCardsRef = useRef<CardsReference[]>([]);\n\n const isLeftActionButtonEnabled = scrollPosition > LEFT_SCROLL_OFFSET;\n\n const areActionButtonsEnabled = isLeftActionButtonEnabled || !scrollIsAtEnd;\n\n const [focusedCard, setFocusedCard] = useState(cards?.[0]?.id);\n\n const updateScrollButtonsState = () => {\n if (carouselElementRef.current) {\n const { scrollWidth, offsetWidth } = carouselElementRef.current;\n\n const scrollAtEnd = scrollWidth - offsetWidth <= scrollPosition + LEFT_SCROLL_OFFSET;\n setScrollIsAtEnd(scrollAtEnd);\n }\n\n const scrollDirecton = scrollPosition > previousScrollPosition ? 'right' : 'left';\n\n const cardsInFullViewIds: string[] = [];\n carouselCardsRef.current.forEach((card) => {\n if (isVisible(carouselElementRef.current as HTMLElement, card.cardElement as HTMLElement)) {\n // eslint-disable-next-line functional/immutable-data\n cardsInFullViewIds.push(card.cardElement.getAttribute('id') ?? '');\n }\n });\n\n if (cardsInFullViewIds.length >= 1) {\n const visibleCardIndex = scrollDirecton === 'right' ? cardsInFullViewIds.length - 1 : 0;\n const visibleCardId = cardsInFullViewIds[visibleCardIndex];\n setVisibleCardOnMobileView(visibleCardId);\n setFocusedCard(visibleCardId);\n }\n\n setPreviousScrollPosition(scrollPosition);\n };\n\n const scrollCarousel = (direction: 'left' | 'right' = 'right') => {\n if (carouselElementRef.current) {\n const { scrollWidth } = carouselElementRef.current;\n\n const cardWidth = scrollWidth / carouselCardsRef.current.length;\n\n const res = Math.floor(cardWidth - cardWidth * 0.05);\n\n carouselElementRef.current.scrollBy({\n left: direction === 'right' ? res : -res,\n behavior: 'smooth',\n });\n }\n };\n\n const handleOnKeyDown = (\n event: React.KeyboardEvent<HTMLAnchorElement | HTMLDivElement>,\n index: number,\n ) => {\n if (event.key === 'ArrowRight' || event.key === 'ArrowLeft') {\n const nextIndex = event.key === 'ArrowRight' ? index + 1 : index - 1;\n const nextCard = cards[nextIndex];\n if (nextCard) {\n const ref = carouselCardsRef.current[nextIndex];\n if (ref.type === 'promo') {\n ref.anchorElement?.focus();\n } else {\n ref.cardElement?.focus();\n }\n\n scrollCardIntoView(carouselCardsRef.current[nextIndex].cardElement, nextCard);\n event.preventDefault();\n }\n }\n\n if (event.key === 'Enter' || event.key === ' ') {\n event.currentTarget.click();\n }\n };\n\n const scrollCardIntoView = (element: HTMLElement, card: CarouselCard) => {\n element.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'center',\n });\n\n setFocusedCard(card.id);\n };\n\n useEffect(() => {\n updateScrollButtonsState();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [scrollPosition]);\n\n useEffect(() => {\n window.addEventListener('resize', updateScrollButtonsState);\n\n return () => {\n window.removeEventListener('resize', updateScrollButtonsState);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const addElementToCardsRefArray = (index: number, ref: Partial<CardsReference>) => {\n if (ref) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: ref.type ?? carouselCardsRef.current?.[index]?.type,\n cardElement: ref.cardElement ?? carouselCardsRef.current?.[index]?.cardElement,\n anchorElement: ref.anchorElement ?? carouselCardsRef.current?.[index]?.anchorElement,\n };\n }\n };\n\n return (\n <div className={clsx('carousel-wrapper', className)}>\n <div className=\"d-flex justify-content-between carousel__header\">\n {typeof header === 'string' ? (\n <Title as=\"span\" type=\"title-body\">\n {header}\n </Title>\n ) : (\n header\n )}\n {areActionButtonsEnabled ? (\n <div className=\"hidden-xs d-inline-flex\">\n <IconButton\n size={32}\n tabIndex={-1}\n priority=\"tertiary\"\n disabled={!isLeftActionButtonEnabled}\n aria-hidden=\"true\"\n data-testid=\"scroll-carousel-left\"\n onClick={() => scrollCarousel('left')}\n >\n <ChevronLeft />\n </IconButton>\n <IconButton\n size={32}\n tabIndex={-1}\n className=\"m-l-1\"\n priority=\"tertiary\"\n aria-hidden=\"true\"\n data-testid=\"scroll-carousel-right\"\n disabled={scrollIsAtEnd}\n onClick={() => scrollCarousel()}\n >\n <ChevronRight />\n </IconButton>\n </div>\n ) : null}\n </div>\n <div\n ref={carouselElementRef}\n tabIndex={-1}\n role=\"list\"\n className=\"carousel\"\n onScroll={(event) => {\n const target = event.target as HTMLElement;\n setScrollPosition(target.scrollLeft);\n }}\n >\n {cards?.map((card, index) => {\n const sharedProps = {\n id: card.id,\n className: clsx('carousel__card', {\n 'carousel__card--focused': card.id === focusedCard,\n }),\n onClick: () => {\n card.onClick?.();\n onClick?.(card.id);\n },\n onFocus: (event: React.FocusEvent<HTMLAnchorElement | HTMLDivElement>) => {\n scrollCardIntoView(event.currentTarget, card);\n },\n };\n\n const cardContent =\n card.type !== 'promo' ? (\n <div\n id={`${card.id}-content`}\n className={clsx('carousel__card-content', {\n [card.className ?? '']: !!card.className,\n })}\n style={card.styles}\n >\n {card.content}\n </div>\n ) : null;\n\n if (card.type === 'button') {\n return (\n <div key={card.id} aria-labelledby={`${card.id}-content`} role=\"listitem\">\n <div\n {...sharedProps}\n ref={(el) => {\n if (el) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: 'default',\n cardElement: el,\n };\n }\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n >\n {cardContent}\n </div>\n </div>\n );\n }\n\n if (card.type === 'promo') {\n return (\n <div key={card.id} id={card.id} role=\"listitem\" aria-labelledby={`${card.id}-anchor`}>\n <PromoCard\n {...{ ...card, type: undefined }}\n {...{ ...sharedProps }}\n ref={(el: HTMLDivElement | null) => {\n if (el) {\n addElementToCardsRefArray(index, {\n type: 'promo',\n cardElement: el,\n });\n }\n }}\n anchorRef={(el: HTMLAnchorElement) => {\n if (el) {\n addElementToCardsRefArray(index, {\n type: 'promo',\n anchorElement: el,\n });\n }\n }}\n anchorId={`${card.id}-anchor`}\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n />\n </div>\n );\n }\n\n return (\n <div key={card.id} aria-labelledby={`${card.id}-content`} role=\"listitem\">\n <a\n {...sharedProps}\n ref={(el) => {\n if (el) {\n // eslint-disable-next-line functional/immutable-data\n carouselCardsRef.current[index] = {\n type: 'default',\n cardElement: el,\n };\n }\n }}\n href={card.href}\n target={card.hrefTarget}\n rel=\"noreferrer\"\n onKeyDown={(event) => handleOnKeyDown(event, index)}\n >\n {cardContent}\n </a>\n </div>\n );\n })}\n </div>\n <div className=\"visible-xs\">\n <div className=\"carousel__indicators\">\n {cards?.map((card, index) => (\n <button\n key={`${card.id}-indicator`}\n data-testid={`${card.id}-indicator`}\n tabIndex={-1}\n aria-hidden\n type=\"button\"\n className={clsx('carousel__indicator', {\n 'carousel__indicator--selected': card.id === visibleCardOnMobileView,\n })}\n onClick={() => {\n scrollCardIntoView(carouselCardsRef.current[index].cardElement, card);\n }}\n />\n ))}\n </div>\n </div>\n </div>\n );\n};\n\nconst isVisible = (container: HTMLElement, el: HTMLElement) => {\n const cWidth = container.offsetWidth;\n const cScrollOffset = container.scrollLeft;\n\n const elemLeft = el.offsetLeft - container.offsetLeft;\n const elemRight = elemLeft + el.offsetWidth;\n\n return elemLeft >= cScrollOffset && elemRight <= cScrollOffset + cWidth;\n};\n\nexport default Carousel;\n"],"names":["LEFT_SCROLL_OFFSET","Carousel","header","className","cards","onClick","scrollPosition","setScrollPosition","useState","previousScrollPosition","setPreviousScrollPosition","scrollIsAtEnd","setScrollIsAtEnd","visibleCardOnMobileView","setVisibleCardOnMobileView","carouselElementRef","useRef","carouselCardsRef","isLeftActionButtonEnabled","areActionButtonsEnabled","focusedCard","setFocusedCard","id","updateScrollButtonsState","current","scrollWidth","offsetWidth","scrollAtEnd","scrollDirecton","cardsInFullViewIds","forEach","card","isVisible","cardElement","push","getAttribute","length","visibleCardIndex","visibleCardId","scrollCarousel","direction","cardWidth","res","Math","floor","scrollBy","left","behavior","handleOnKeyDown","event","index","key","nextIndex","nextCard","ref","type","anchorElement","focus","scrollCardIntoView","preventDefault","currentTarget","click","element","scrollIntoView","block","inline","useEffect","window","addEventListener","removeEventListener","addElementToCardsRefArray","_jsxs","clsx","children","_jsx","Title","as","IconButton","size","tabIndex","priority","disabled","ChevronLeft","ChevronRight","role","onScroll","target","scrollLeft","map","sharedProps","onFocus","cardContent","style","styles","content","el","onKeyDown","PromoCard","undefined","anchorRef","anchorId","href","hrefTarget","rel","container","cWidth","cScrollOffset","elemLeft","offsetLeft","elemRight"],"mappings":";;;;;;;;AAyCA,MAAMA,kBAAkB,GAAG,CAAC;AAE5B,MAAMC,QAAQ,GAA4BA,CAAC;EAAEC,MAAM;EAAEC,SAAS;EAAEC,KAAK;AAAEC,EAAAA;AAAO,CAAE,KAAI;EAClF,MAAM,CAACC,cAAc,EAAEC,iBAAiB,CAAC,GAAGC,QAAQ,CAAC,CAAC,CAAC;EACvD,MAAM,CAACC,sBAAsB,EAAEC,yBAAyB,CAAC,GAAGF,QAAQ,CAAC,CAAC,CAAC;EACvE,MAAM,CAACG,aAAa,EAAEC,gBAAgB,CAAC,GAAGJ,QAAQ,CAAC,KAAK,CAAC;EACzD,MAAM,CAACK,uBAAuB,EAAEC,0BAA0B,CAAC,GAAGN,QAAQ,CAAS,EAAE,CAAC;AAClF,EAAA,MAAMO,kBAAkB,GAAGC,MAAM,CAAiB,IAAI,CAAC;AACvD,EAAA,MAAMC,gBAAgB,GAAGD,MAAM,CAAmB,EAAE,CAAC;AAErD,EAAA,MAAME,yBAAyB,GAAGZ,cAAc,GAAGN,kBAAkB;AAErE,EAAA,MAAMmB,uBAAuB,GAAGD,yBAAyB,IAAI,CAACP,aAAa;AAE3E,EAAA,MAAM,CAACS,WAAW,EAAEC,cAAc,CAAC,GAAGb,QAAQ,CAACJ,KAAK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E3C,OAAOiF,QAAQ,IAAID,aAAa,IAAIG,SAAS,IAAIH,aAAa,GAAGD,MAAM;AACzE,CAAC;;;;"}
|
|
@@ -7,8 +7,8 @@ var Body = require('../body/Body.js');
|
|
|
7
7
|
var CheckboxButton = require('../checkboxButton/CheckboxButton.js');
|
|
8
8
|
require('../common/theme.js');
|
|
9
9
|
require('../common/direction.js');
|
|
10
|
-
require('@transferwise/neptune-tokens');
|
|
11
10
|
require('../common/propsValues/control.js');
|
|
11
|
+
require('../common/propsValues/breakpoint.js');
|
|
12
12
|
require('../common/propsValues/size.js');
|
|
13
13
|
var typography = require('../common/propsValues/typography.js');
|
|
14
14
|
require('../common/propsValues/width.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sources":["
|
|
1
|
+
{"version":3,"file":"Checkbox.js","sources":["../../../src/checkbox/Checkbox.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport Body from '../body/Body';\nimport CheckboxButton from '../checkboxButton';\nimport { Typography } from '../common';\n\nexport interface CheckboxProps {\n id?: string;\n checked?: boolean;\n required?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n label: React.ReactNode;\n secondary?: string;\n onFocus?: React.FocusEventHandler<HTMLInputElement>;\n onChange: (checked: boolean) => void;\n onBlur?: React.FocusEventHandler<HTMLInputElement>;\n className?: string;\n}\n\nexport default function Checkbox({\n id,\n checked,\n required,\n disabled,\n readOnly,\n label,\n className,\n secondary,\n onChange,\n onFocus,\n onBlur,\n}: CheckboxProps) {\n const classList = clsx(\n 'np-checkbox',\n {\n checkbox: true,\n 'checkbox-lg': secondary,\n 'checkbox-disabled': disabled,\n },\n className,\n );\n\n const innerDisabled = disabled || readOnly;\n return (\n <div id={id} className={classList}>\n <label className={clsx('np-checkbox-label', { disabled })}>\n <CheckboxButton\n className=\"p-r-2\"\n checked={checked}\n disabled={innerDisabled}\n required={!innerDisabled && required}\n onFocus={onFocus}\n onChange={() => onChange(!checked)}\n onBlur={onBlur}\n />\n <Body\n as=\"span\"\n className=\"np-checkbox__text\"\n type={secondary ? Typography.BODY_LARGE_BOLD : Typography.BODY_LARGE}\n >\n <span className={required ? 'has-required' : undefined}>{label}</span>\n {secondary && <Body as=\"span\">{secondary}</Body>}\n </Body>\n </label>\n </div>\n );\n}\n"],"names":["Checkbox","id","checked","required","disabled","readOnly","label","className","secondary","onChange","onFocus","onBlur","classList","clsx","checkbox","innerDisabled","_jsx","children","_jsxs","CheckboxButton","Body","as","type","Typography","BODY_LARGE_BOLD","BODY_LARGE","undefined"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBc,SAAUA,QAAQA,CAAC;EAC/BC,EAAE;EACFC,OAAO;EACPC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,KAAK;EACLC,SAAS;EACTC,SAAS;EACTC,QAAQ;EACRC,OAAO;AACPC,EAAAA;AAAM,CACQ,EAAA;AACd,EAAA,MAAMC,SAAS,GAAGC,SAAI,CACpB,aAAa,EACb;AACEC,IAAAA,QAAQ,EAAE,IAAI;AACd,IAAA,aAAa,EAAEN,SAAS;AACxB,IAAA,mBAAmB,EAAEJ;GACtB,EACDG,SAAS,CACV;AAED,EAAA,MAAMQ,aAAa,GAAGX,QAAQ,IAAIC,QAAQ;AAC1C,EAAA,oBACEW,cAAA,CAAA,KAAA,EAAA;AAAKf,IAAAA,EAAE,EAAEA,EAAG;AAACM,IAAAA,SAAS,EAAEK,SAAU;AAAAK,IAAAA,QAAA,eAChCC,eAAA,CAAA,OAAA,EAAA;AAAOX,MAAAA,SAAS,EAAEM,SAAI,CAAC,mBAAmB,EAAE;AAAET,QAAAA;AAAQ,OAAE,CAAE;MAAAa,QAAA,EAAA,cACxDD,cAAA,CAACG,sBAAc,EAAA;AACbZ,QAAAA,SAAS,EAAC,OAAO;AACjBL,QAAAA,OAAO,EAAEA,OAAQ;AACjBE,QAAAA,QAAQ,EAAEW,aAAc;AACxBZ,QAAAA,QAAQ,EAAE,CAACY,aAAa,IAAIZ,QAAS;AACrCO,QAAAA,OAAO,EAAEA,OAAQ;AACjBD,QAAAA,QAAQ,EAAEA,MAAMA,QAAQ,CAAC,CAACP,OAAO,CAAE;AACnCS,QAAAA,MAAM,EAAEA;AAAO,OAAA,CAEjB,eAAAO,eAAA,CAACE,YAAI,EAAA;AACHC,QAAAA,EAAE,EAAC,MAAM;AACTd,QAAAA,SAAS,EAAC,mBAAmB;QAC7Be,IAAI,EAAEd,SAAS,GAAGe,qBAAU,CAACC,eAAe,GAAGD,qBAAU,CAACE,UAAW;AAAAR,QAAAA,QAAA,gBAErED,cAAA,CAAA,MAAA,EAAA;AAAMT,UAAAA,SAAS,EAAEJ,QAAQ,GAAG,cAAc,GAAGuB,SAAU;AAAAT,UAAAA,QAAA,EAAEX;AAAK,SAAO,CACrE,EAACE,SAAS,iBAAIQ,cAAA,CAACI,YAAI,EAAA;AAACC,UAAAA,EAAE,EAAC,MAAM;AAAAJ,UAAAA,QAAA,EAAET;AAAS,SAAO,CAAC;AAAA,OAC5C,CACR;KAAO;AACT,GAAK,CAAC;AAEV;;;;"}
|
|
@@ -3,8 +3,8 @@ import Body from '../body/Body.mjs';
|
|
|
3
3
|
import CheckboxButton from '../checkboxButton/CheckboxButton.mjs';
|
|
4
4
|
import '../common/theme.mjs';
|
|
5
5
|
import '../common/direction.mjs';
|
|
6
|
-
import '@transferwise/neptune-tokens';
|
|
7
6
|
import '../common/propsValues/control.mjs';
|
|
7
|
+
import '../common/propsValues/breakpoint.mjs';
|
|
8
8
|
import '../common/propsValues/size.mjs';
|
|
9
9
|
import { Typography } from '../common/propsValues/typography.mjs';
|
|
10
10
|
import '../common/propsValues/width.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"Checkbox.mjs","sources":["../../../src/checkbox/Checkbox.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport Body from '../body/Body';\nimport CheckboxButton from '../checkboxButton';\nimport { Typography } from '../common';\n\nexport interface CheckboxProps {\n id?: string;\n checked?: boolean;\n required?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n label: React.ReactNode;\n secondary?: string;\n onFocus?: React.FocusEventHandler<HTMLInputElement>;\n onChange: (checked: boolean) => void;\n onBlur?: React.FocusEventHandler<HTMLInputElement>;\n className?: string;\n}\n\nexport default function Checkbox({\n id,\n checked,\n required,\n disabled,\n readOnly,\n label,\n className,\n secondary,\n onChange,\n onFocus,\n onBlur,\n}: CheckboxProps) {\n const classList = clsx(\n 'np-checkbox',\n {\n checkbox: true,\n 'checkbox-lg': secondary,\n 'checkbox-disabled': disabled,\n },\n className,\n );\n\n const innerDisabled = disabled || readOnly;\n return (\n <div id={id} className={classList}>\n <label className={clsx('np-checkbox-label', { disabled })}>\n <CheckboxButton\n className=\"p-r-2\"\n checked={checked}\n disabled={innerDisabled}\n required={!innerDisabled && required}\n onFocus={onFocus}\n onChange={() => onChange(!checked)}\n onBlur={onBlur}\n />\n <Body\n as=\"span\"\n className=\"np-checkbox__text\"\n type={secondary ? Typography.BODY_LARGE_BOLD : Typography.BODY_LARGE}\n >\n <span className={required ? 'has-required' : undefined}>{label}</span>\n {secondary && <Body as=\"span\">{secondary}</Body>}\n </Body>\n </label>\n </div>\n );\n}\n"],"names":["Checkbox","id","checked","required","disabled","readOnly","label","className","secondary","onChange","onFocus","onBlur","classList","clsx","checkbox","innerDisabled","_jsx","children","_jsxs","CheckboxButton","Body","as","type","Typography","BODY_LARGE_BOLD","BODY_LARGE","undefined"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBc,SAAUA,QAAQA,CAAC;EAC/BC,EAAE;EACFC,OAAO;EACPC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,KAAK;EACLC,SAAS;EACTC,SAAS;EACTC,QAAQ;EACRC,OAAO;AACPC,EAAAA;AAAM,CACQ,EAAA;AACd,EAAA,MAAMC,SAAS,GAA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A,EAAET;AAAS,SAAO,CAAC;AAAA,OAC5C,CACR;KAAO;AACT,GAAK,CAAC;AAEV;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxButton.js","sources":["
|
|
1
|
+
{"version":3,"file":"CheckboxButton.js","sources":["../../../src/checkboxButton/CheckboxButton.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { InputHTMLAttributes, forwardRef, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport { useInputAttributes } from '../inputs/contexts';\n\nexport type CheckboxButtonProps = InputHTMLAttributes<HTMLInputElement> & {\n /** @default false */\n indeterminate?: boolean;\n};\n\nconst CheckboxButton = forwardRef<HTMLInputElement, CheckboxButtonProps>(function CheckboxButton(\n { checked, indeterminate = false, className, disabled, onChange, ...rest },\n reference,\n) {\n const inputAttributes = useInputAttributes();\n\n const internalRef = useRef<HTMLInputElement>(null);\n\n useImperativeHandle(reference, () => internalRef.current ?? ({} as HTMLInputElement));\n\n useEffect(() => {\n if (internalRef.current) {\n // eslint-disable-next-line functional/immutable-data\n internalRef.current.indeterminate = indeterminate;\n }\n }, [indeterminate, reference]);\n\n return (\n <span className={clsx('np-checkbox-button', className, disabled && 'disabled')}>\n <input\n {...inputAttributes}\n {...rest}\n ref={reference ?? internalRef}\n type=\"checkbox\"\n disabled={disabled}\n checked={checked}\n onChange={onChange}\n />\n <span className=\"tw-checkbox-button\">\n <span className=\"tw-checkbox-check\" />\n <span className=\"np-tw-checkbox-indeterminate\" />\n </span>\n </span>\n );\n});\n\nexport default CheckboxButton;\n"],"names":["CheckboxButton","forwardRef","checked","indeterminate","className","disabled","onChange","rest","reference","inputAttributes","useInputAttributes","internalRef","useRef","useImperativeHandle","current","useEffect","_jsxs","clsx","children","_jsx","ref","type"],"mappings":";;;;;;;;;AAUA,MAAMA,cAAc,gBAAGC,gBAAU,CAAwC,SAASD,cAAcA,CAC9F;EAAEE,OAAO;AAAEC,EAAAA,aAAa,GAAG,KAAK;EAA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boxButton.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"CheckboxButton.mjs","sources":["../../../src/checkboxButton/CheckboxButton.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { InputHTMLAttributes, forwardRef, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport { useInputAttributes } from '../inputs/contexts';\n\nexport type CheckboxButtonProps = InputHTMLAttributes<HTMLInputElement> & {\n /** @default false */\n indeterminate?: boolean;\n};\n\nconst CheckboxButton = forwardRef<HTMLInputElement, CheckboxButtonProps>(function CheckboxButton(\n { checked, indeterminate = false, className, disabled, onChange, ...rest },\n reference,\n) {\n const inputAttributes = useInputAttributes();\n\n const internalRef = useRef<HTMLInputElement>(null);\n\n useImperativeHandle(reference, () => internalRef.current ?? ({} as HTMLInputElement));\n\n useEffect(() => {\n if (internalRef.current) {\n // eslint-disable-next-line functional/immutable-data\n internalRef.current.indeterminate = indeterminate;\n }\n }, [indeterminate, reference]);\n\n return (\n <span className={clsx('np-checkbox-button', className, disabled && 'disabled')}>\n <input\n {...inputAttributes}\n {...rest}\n ref={reference ?? internalRef}\n type=\"checkbox\"\n disabled={disabled}\n checked={checked}\n onChange={onChange}\n />\n <span className=\"tw-checkbox-button\">\n <span className=\"tw-checkbox-check\" />\n <span className=\"np-tw-checkbox-indeterminate\" />\n </span>\n </span>\n );\n});\n\nexport default CheckboxButton;\n"],"names":["CheckboxButton","forwardRef","checked","indeterminate","className","disabled","onChange","rest","reference","inputAttributes","useInputAttributes","internalRef","useRef","useImperativeHandle","current","useEffect","_jsxs","clsx","children","_jsx","ref","type"],"mappings":";;;;;AAUA,MAAMA,cAAc,gBAAGC,UAAU,CAAwC,SAASD,cAAcA,CAC9F;EAAEE,OAAO;AAAEC,EAAAA,aAAa,GAAG,KAAK;EAAEC,SAAS;EAAEC,QAAQ;EAAEC,QAAQ;EAAE,GAAGC;AAAI,CAAE,EAC1EC,SAAS,EAAA;AAET,EAAA,MAAMC,eAAe,GAAGC,kBAAkB,EAAE;AAE5C,EAAA,MAAMC,WAAW,GAAGC,MAAM,CAAmB,IAAI,CAAC;EAElDC,mBAAmB,CAACL,SAAS,EAAE,MAAMG,WAAW,CAACG,OAAO,IAAK,EAAuB,CAAC;AAErFC,EAAAA,SAAS,CAAC,MAAK;IACb,IAAIJ,WAAW,CAACG,OAAO,EAAE;AACvB;AACAH,MAAAA,WAAW,CAACG,OAAO,CAACX,aAAa,GAAGA,aAAa;AACnD,IAAA;AACF,EAAA,CAAC,EAAE,CAACA,aAAa,EAAEK,SAAS,CAAC,CAAC;AAE9B,EAAA,oBACEQ,IAAA,CAAA,MAAA,EAAA;IAAMZ,SAAS,EAAEa,IAAI,CAAC,oBAAoB,EAAEb,SAAS,EAAEC,QAAQ,IAAI,UAAU,CAAE;AAAAa,IAAAA,QAAA,gBAC7EC,GAAA,CAAA,OAAA,EAAA;AAAA,MAAA,GACMV,eAAe;AAAA,MAAA,GACfF,IAAI;MACRa,GAAG,EAAEZ,SAAS,IAAIG,WAAY;AAC9BU,MAAAA,IAAI,EAAC,UAAU;AACfhB,MAAAA,QAAQ,EAAEA,QAAS;AACnBH,MAAAA,OAAO,EAAEA,OAAQ;AACjBI,MAAAA,QAAQ,EAAEA;KAAS,CAErB,eAAAU,IAAA,CAAA,MAAA,EAAA;AAAMZ,MAAAA,SAAS,EAAC,oBAAoB;AAAAc,MAAAA,QAAA,gBAClCC,GAAA,CAAA,MAAA,EAAA;AAAMf,QAAAA,SAAS,EAAC;OAAmB,CACnC,eAAAe,GAAA,CAAA,MAAA,EAAA;AAAMf,QAAAA,SAAS,EAAC;AAA8B,OAAA,CAChD;AAAA,KAAM,CACR;AAAA,GAAM,CAAC;AAEX,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxOption.js","sources":["
|
|
1
|
+
{"version":3,"file":"CheckboxOption.js","sources":["../../../src/checkboxOption/CheckboxOption.tsx"],"sourcesContent":["import { forwardRef } from 'react';\n\nimport CheckboxButton from '../checkboxButton';\nimport Option from '../common/Option';\nimport { ReferenceType, BaseOptionProps } from '../common/Option/Option';\n\nexport type CheckboxOptionProps = Omit<BaseOptionProps, 'onChange'> & {\n /**\n * The checked state of the checkbox.\n */\n checked?: boolean;\n /**\n * Function to call when the checkbox option is clicked\n */\n onChange?: (value: boolean) => void;\n};\n\n/**\n * @deprecated Use `<ListItem />` instead (run codemod to migrate: **`npx @wise/wds-codemods@latest list-item`**).\n * @deprecatedSince 46.104.0\n * @see [Source](../listItem/ListItem.tsx)\n * @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)\n * @see [Design docs](https://wise.design/components/list-item)\n * @see [Release notes](https://transferwise.atlassian.net/wiki/spaces/DS/pages/3647251055/List+Item+release+notes)\n */\nconst CheckboxOption = forwardRef<ReferenceType, CheckboxOptionProps>(\n ({ checked, disabled, onChange, ...rest }, reference) => {\n return (\n <Option\n {...rest}\n ref={reference}\n disabled={disabled}\n button={\n <CheckboxButton\n checked={checked}\n disabled={disabled}\n onChange={() => onChange?.(!checked)}\n />\n }\n />\n );\n },\n);\n\nexport default CheckboxOption;\n"],"names":["CheckboxOption","forwardRef","checked","disabled","onChange","rest","reference","_jsx","Option","ref","button","CheckboxButton"],"mappings":";;;;;;;;;AAyBA,MAAMA,cAAc,gBAAGC,gBAAU,CAC/B,CAAC;EAAEC,OAAO;EAAEC,QAAQ;EAAEC,QAAQ;EAAE,GAAGC;CAAM,EAAEC,SAAS,KAAI;EACtD,oBACEC,cAAA,CAACC,cAAM,EAAA;AAAA,IAAA,GACDH,IAAI;AACRI,IAAAA,GAAG,EAAEH,SAAU;AACfH,IAAAA,QAAQ,EAAEA,QAAS;IACnBO,MAAM,eACJH,cAAA,CAACI,sBAAc,EAAA;AACbT,MAAAA,OAAO,EAAEA,OAAQ;AACjBC,MAAAA,QAAQ,EAAEA,QAAS;AACnBC,MAAAA,QAAQ,EAAEA,MAAMA,QAAQ,GAAG,CAACF,OAAO;KAAE;AAExC,GAAA,CACD;AAEN,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxOption.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"CheckboxOption.mjs","sources":["../../../src/checkboxOption/CheckboxOption.tsx"],"sourcesContent":["import { forwardRef } from 'react';\n\nimport CheckboxButton from '../checkboxButton';\nimport Option from '../common/Option';\nimport { ReferenceType, BaseOptionProps } from '../common/Option/Option';\n\nexport type CheckboxOptionProps = Omit<BaseOptionProps, 'onChange'> & {\n /**\n * The checked state of the checkbox.\n */\n checked?: boolean;\n /**\n * Function to call when the checkbox option is clicked\n */\n onChange?: (value: boolean) => void;\n};\n\n/**\n * @deprecated Use `<ListItem />` instead (run codemod to migrate: **`npx @wise/wds-codemods@latest list-item`**).\n * @deprecatedSince 46.104.0\n * @see [Source](../listItem/ListItem.tsx)\n * @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)\n * @see [Design docs](https://wise.design/components/list-item)\n * @see [Release notes](https://transferwise.atlassian.net/wiki/spaces/DS/pages/3647251055/List+Item+release+notes)\n */\nconst CheckboxOption = forwardRef<ReferenceType, CheckboxOptionProps>(\n ({ checked, disabled, onChange, ...rest }, reference) => {\n return (\n <Option\n {...rest}\n ref={reference}\n disabled={disabled}\n button={\n <CheckboxButton\n checked={checked}\n disabled={disabled}\n onChange={() => onChange?.(!checked)}\n />\n }\n />\n );\n },\n);\n\nexport default CheckboxOption;\n"],"names":["CheckboxOption","forwardRef","checked","disabled","onChange","rest","reference","_jsx","Option","ref","button","CheckboxButton"],"mappings":";;;;;AAyBA,MAAMA,cAAc,gBAAGC,UAAU,CAC/B,CAAC;EAAEC,OAAO;EAAEC,QAAQ;EAAEC,QAAQ;EAAE,GAAGC;CAAM,EAAEC,SAAS,KAAI;EACtD,oBACEC,GAAA,CAACC,MAAM,EAAA;AAAA,IAAA,GACDH,IAAI;AACRI,IAAAA,GAAG,EAAEH,SAAU;AACfH,IAAAA,QAAQ,EAAEA,QAAS;IACnBO,MAAM,eACJH,GAAA,CAACI,cAAc,EAAA;AACbT,MAAAA,OAAO,EAAEA,OAAQ;AACjBC,MAAAA,QAAQ,EAAEA,QAAS;AACnBC,MAAAA,QAAQ,EAAEA,MAAMA,QAAQ,GAAG,CAACF,OAAO;KAAE;AAExC,GAAA,CACD;AAEN,CAAC;;;;"}
|
package/build/chevron/Chevron.js
CHANGED
|
@@ -6,8 +6,8 @@ var icons = require('@transferwise/icons');
|
|
|
6
6
|
var clsx = require('clsx');
|
|
7
7
|
require('../common/theme.js');
|
|
8
8
|
require('../common/direction.js');
|
|
9
|
-
require('@transferwise/neptune-tokens');
|
|
10
9
|
require('../common/propsValues/control.js');
|
|
10
|
+
require('../common/propsValues/breakpoint.js');
|
|
11
11
|
var size = require('../common/propsValues/size.js');
|
|
12
12
|
require('../common/propsValues/typography.js');
|
|
13
13
|
require('../common/propsValues/width.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chevron.js","sources":["
|
|
1
|
+
{"version":3,"file":"Chevron.js","sources":["../../../src/chevron/Chevron.tsx"],"sourcesContent":["import { ChevronUp } from '@transferwise/icons';\nimport { IconSize } from '@transferwise/icons/lib/types';\nimport { clsx } from 'clsx';\n\nimport {\n Size,\n Position,\n PositionTop,\n PositionBottom,\n PositionRight,\n PositionLeft,\n SizeExtraSmall,\n SizeSmall,\n SizeMedium,\n} from '../common';\n\nconst CONTAINER_SIZE = {\n [Size.EXTRA_SMALL]: 10,\n [Size.SMALL]: 16,\n [Size.MEDIUM]: 24,\n};\n\nexport interface ChevronProps {\n orientation?: PositionTop | PositionBottom | PositionLeft | PositionRight;\n size?: SizeExtraSmall | SizeSmall | SizeMedium;\n disabled?: boolean;\n className?: string;\n}\n\nexport interface ExtraSmallChevronProps {\n className?: string;\n}\n\nconst ExtraSmallChevron = ({ className }: ExtraSmallChevronProps) => {\n return (\n <span className={clsx('tw-icon', 'tw-icon-chevron', className)} role=\"presentation\" aria-hidden>\n <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"currentColor\" focusable=\"false\">\n <path\n fillRule=\"evenodd\"\n d=\"M4.9995 2.0865L0.0635004 6.7645L1.2745 7.9125L4.9995 4.3835L8.7245 7.9135L9.9355 6.7645L4.9995 2.0865Z\"\n />\n </svg>\n </span>\n );\n};\n\nconst Chevron = ({\n orientation = Position.BOTTOM,\n size = Size.SMALL,\n disabled = false,\n className,\n}: ChevronProps) => {\n const classNameValue = clsx('tw-chevron', { 'chevron-color': !disabled }, orientation, className);\n\n if (size === Size.EXTRA_SMALL) {\n return <ExtraSmallChevron className={classNameValue} />;\n }\n\n const sizeValue = CONTAINER_SIZE[size] as IconSize;\n\n return <ChevronUp className={classNameValue} size={sizeValue} />;\n};\n\nexport default Chevron;\n"],"names":["CONTAINER_SIZE","Size","EXTRA_SMALL","SMALL","MEDIUM","ExtraSmallChevron","className","_jsx","clsx","role","children","width","height","viewBox","fill","focusable","fillRule","d","Chevron","orientation","Position","BOTTOM","size","disabled","classNameValue","sizeValue","ChevronUp"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAMA,cAAc,GAAG;AACrB,EAAA,CAACC,SAAI,CAACC,WAAW,GAAG,EAAE;AACtB,EAAA,CAACD,SAAI,CAACE,KAAK,GAAG,EAAE;EAChB,CAACF,SAAI,CAACG,MAAM,GAAG;CAChB;AAaD,MAAMC,iBAAiB,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAA0B,KAAI;AAClE,EAAA,oBACEC,cAAA,CAAA,MAAA,EAAA;IAAMD,SAAS,EAAEE,SAAI,CAAC,SAAS,EAAE,iBAAiB,EAAEF,SAAS,CAAE;AAACG,IAAAA,IAAI,EAAC,cAAc;IAAC,aAAA,EAAA,IAAW;AAAAC,IAAAA,QAAA,eAC7FH,cAAA,CAAA,KAAA,EAAA;AAAKI,MAAAA,KAAK,EAAC,IAAI;AAACC,MAAAA,MAAM,EAAC,IAAI;AAACC,MAAAA,OAAO,EAAC,WAAW;AAACC,MAAAA,IAAI,EAAC,cAAc;AAACC,MAAAA,SAAS,EAAC,OAAO;AAAAL,MAAAA,QAAA,eACnFH,cAAA,CAAA,MAAA,EAAA;AACES,QAAAA,QAAQ,EAAC,SAAS;AAClBC,QAAAA,CAAC,EAAC;OAAwG;KAEzG;AACP,GAAM,CAAC;AAEX,CAAC;AAED,MAAMC,OAAO,GAAGA,CAAC;EACfC,WAAW,GAAGC,iBAAQ,CAACC,MAAM;QAC7BC,MAAI,GAAGrB,SAAI,CAACE,KAAK;AACjBoB,EAAAA,QAAQ,GAAG,KAAK;AAChBjB,EAAAA;AAAS,CACI,KAAI;AACjB,EAAA,MAAMkB,cAAc,GAAGhB,SAAI,CAAC,YAAY,EAAE;AAAE,IAAA,eAAe,EAAE,CAACe;AAAQ,GAAE,EAAEJ,WAAW,EAAEb,SAAS,CAAC;AAEjG,EAAA,IAAIgB,MAAI,KAAKrB,SAAI,CAACC,WAAW,EAAE;IAC7B,oBAAOK,cAAA,CAACF,iBAAiB,EAAA;AAACC,MAAAA,SAAS,EAAEkB;AAAe,KAAA,CAAG;AACzD,EAAA;AAEA,EAAA,MAAMC,SAAS,GAAGzB,cAAc,CAACsB,MAAI,CAAa;EAElD,oBAAOf,cAAA,CAACmB,eAAS,EAAA;AAACpB,IAAAA,SAAS,EAAEkB,cAAe;AAACF,IAAAA,IAAI,EAAEG;AAAU,IAAG;AAClE;;;;"}
|
|
@@ -2,8 +2,8 @@ import { ChevronUp } from '@transferwise/icons';
|
|
|
2
2
|
import { clsx } from 'clsx';
|
|
3
3
|
import '../common/theme.mjs';
|
|
4
4
|
import '../common/direction.mjs';
|
|
5
|
-
import '@transferwise/neptune-tokens';
|
|
6
5
|
import '../common/propsValues/control.mjs';
|
|
6
|
+
import '../common/propsValues/breakpoint.mjs';
|
|
7
7
|
import { Size } from '../common/propsValues/size.mjs';
|
|
8
8
|
import '../common/propsValues/typography.mjs';
|
|
9
9
|
import '../common/propsValues/width.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chevron.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"Chevron.mjs","sources":["../../../src/chevron/Chevron.tsx"],"sourcesContent":["import { ChevronUp } from '@transferwise/icons';\nimport { IconSize } from '@transferwise/icons/lib/types';\nimport { clsx } from 'clsx';\n\nimport {\n Size,\n Position,\n PositionTop,\n PositionBottom,\n PositionRight,\n PositionLeft,\n SizeExtraSmall,\n SizeSmall,\n SizeMedium,\n} from '../common';\n\nconst CONTAINER_SIZE = {\n [Size.EXTRA_SMALL]: 10,\n [Size.SMALL]: 16,\n [Size.MEDIUM]: 24,\n};\n\nexport interface ChevronProps {\n orientation?: PositionTop | PositionBottom | PositionLeft | PositionRight;\n size?: SizeExtraSmall | SizeSmall | SizeMedium;\n disabled?: boolean;\n className?: string;\n}\n\nexport interface ExtraSmallChevronProps {\n className?: string;\n}\n\nconst ExtraSmallChevron = ({ className }: ExtraSmallChevronProps) => {\n return (\n <span className={clsx('tw-icon', 'tw-icon-chevron', className)} role=\"presentation\" aria-hidden>\n <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"currentColor\" focusable=\"false\">\n <path\n fillRule=\"evenodd\"\n d=\"M4.9995 2.0865L0.0635004 6.7645L1.2745 7.9125L4.9995 4.3835L8.7245 7.9135L9.9355 6.7645L4.9995 2.0865Z\"\n />\n </svg>\n </span>\n );\n};\n\nconst Chevron = ({\n orientation = Position.BOTTOM,\n size = Size.SMALL,\n disabled = false,\n className,\n}: ChevronProps) => {\n const classNameValue = clsx('tw-chevron', { 'chevron-color': !disabled }, orientation, className);\n\n if (size === Size.EXTRA_SMALL) {\n return <ExtraSmallChevron className={classNameValue} />;\n }\n\n const sizeValue = CONTAINER_SIZE[size] as IconSize;\n\n return <ChevronUp className={classNameValue} size={sizeValue} />;\n};\n\nexport default Chevron;\n"],"names":["CONTAINER_SIZE","Size","EXTRA_SMALL","SMALL","MEDIUM","ExtraSmallChevron","className","_jsx","clsx","role","children","width","height","viewBox","fill","focusable","fillRule","d","Chevron","orientation","Position","BOTTOM","size","disabled","classNameValue","sizeValue","ChevronUp"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAMA,cAAc,GAAG;AACrB,EAAA,CAACC,IAAI,CAACC,WAAW,GAAG,EAAE;AACtB,EAAA,CAACD,IAAI,CAACE,KAAK,GAAG,EAAE;EAChB,CAACF,IAAI,CAACG,MAAM,GAAG;CAChB;AAaD,MAAMC,iBAAiB,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAA0B,KAAI;AAClE,EAAA,oBACEC,GAAA,CAAA,MAAA,EAAA;IAAMD,SAAS,EAAEE,IAAI,CAAC,SAAS,EAAE,iBAAiB,EAAEF,SAAS,CAAE;AAACG,IAAAA,IAAI,EAAC,cAAc;IAAC,aAAA,EAAA,IAAW;AAAAC,IAAAA,QAAA,eAC7FH,GAAA,CAAA,KAAA,EAAA;AAAKI,MAAAA,KAAK,EAAC,IAAI;AAACC,MAAAA,MAAM,EAAC,IAAI;AAACC,MAAAA,OAAO,EAAC,WAAW;AAACC,MAAAA,IAAI,EAAC,cAAc;AAACC,MAAAA,SAAS,EAAC,OAAO;AAAAL,MAAAA,QAAA,eACnFH,GAAA,CAAA,MAAA,EAAA;AACES,QAAAA,QAAQ,EAAC,SAAS;AAClBC,QAAAA,CAAC,EAAC;OAAwG;KAEzG;AACP,GAAM,CAAC;AAEX,CAAC;AAED,MAAMC,OAAO,GAAGA,CAAC;EACfC,WAAW,GAAGC,QAAQ,CAACC,MAAM;EAC7BC,IAAI,GAAGrB,IAAI,CAACE,KAAK;AACjBoB,EAAAA,QAAQ,GAAG,KAAK;AAChBjB,EAAAA;AAAS,CACI,KAAI;AACjB,EAAA,MAAMkB,cAAc,GAAGhB,IAAI,CAAC,YAAY,EAAE;AAAE,IAAA,eAAe,EAAE,CAACe;AAAQ,GAAE,EAAEJ,WAAW,EAAEb,SAAS,CAAC;AAEjG,EAAA,IAAIgB,IAAI,KAAKrB,IAAI,CAACC,WAAW,EAAE;IAC7B,oBAAOK,GAAA,CAACF,iBAAiB,EAAA;AAACC,MAAAA,SAAS,EAAEkB;AAAe,KAAA,CAAG;AACzD,EAAA;AAEA,EAAA,MAAMC,SAAS,GAAGzB,cAAc,CAACsB,IAAI,CAAa;EAElD,oBAAOf,GAAA,CAACmB,SAAS,EAAA;AAACpB,IAAAA,SAAS,EAAEkB,cAAe;AAACF,IAAAA,IAAI,EAAEG;AAAU,IAAG;AAClE;;;;"}
|
package/build/chips/Chip.js
CHANGED
|
@@ -7,8 +7,8 @@ var React = require('react');
|
|
|
7
7
|
var Body = require('../body/Body.js');
|
|
8
8
|
require('../common/theme.js');
|
|
9
9
|
require('../common/direction.js');
|
|
10
|
-
require('@transferwise/neptune-tokens');
|
|
11
10
|
require('../common/propsValues/control.js');
|
|
11
|
+
require('../common/propsValues/breakpoint.js');
|
|
12
12
|
require('../common/propsValues/size.js');
|
|
13
13
|
var typography = require('../common/propsValues/typography.js');
|
|
14
14
|
require('../common/propsValues/width.js');
|
package/build/chips/Chip.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.js","sources":["
|
|
1
|
+
{"version":3,"file":"Chip.js","sources":["../../../src/chips/Chip.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useEffect, useRef } from 'react';\n\nimport Body from '../body/Body';\nimport { AriaLabelProperty, CommonProps, Typography } from '../common';\nimport { CloseButton } from '../common/closeButton/CloseButton';\n\nexport type ChipValue = string | number;\n\nexport type Props = {\n value?: ChipValue;\n label: string;\n onRemove?: () => void;\n onClick?: () => void;\n onKeyPress?: () => void;\n closeButton?: AriaLabelProperty;\n 'aria-checked'?: boolean;\n role?: string;\n} & AriaLabelProperty &\n CommonProps;\n\nconst Chip = ({\n label,\n value,\n onRemove,\n onClick,\n onKeyPress,\n className = undefined,\n 'aria-label': ariaLabel,\n 'aria-checked': ariaChecked,\n role,\n closeButton,\n}: Props) => {\n const isActionable = onClick || onKeyPress;\n const defaultRole = isActionable ? 'button' : undefined;\n const tabIndex = isActionable ? 0 : -1;\n\n const closeButtonReference = useRef<HTMLButtonElement>(null);\n const previousCloseButtonShown = useRef<boolean | undefined>(undefined);\n useEffect(() => {\n if (closeButtonReference.current != null && previousCloseButtonShown.current === false) {\n closeButtonReference.current?.focus();\n }\n previousCloseButtonShown.current = closeButtonReference.current != null;\n }, [onRemove]);\n\n return (\n <div\n key={value}\n role={role ?? defaultRole}\n tabIndex={tabIndex}\n aria-label={ariaLabel}\n aria-checked={ariaChecked}\n className={clsx(\n 'np-chip',\n 'd-flex',\n 'align-items-center',\n 'justify-content-between',\n onRemove ? 'np-chip--removable' : '',\n className,\n )}\n {...(isActionable && { onClick, onKeyPress })}\n >\n <Body aria-hidden={!!onRemove} type={Typography.BODY_DEFAULT_BOLD}>\n {label}\n </Body>\n {onRemove ? (\n <CloseButton\n ref={closeButtonReference}\n className=\"btn-unstyled\"\n aria-label={closeButton?.['aria-label']}\n size=\"sm\"\n filled\n onClick={onRemove}\n />\n ) : null}\n </div>\n );\n};\n\nexport default Chip;\n"],"names":["Chip","label","value","onRemove","onClick","onKeyPress","className","undefined","ariaLabel","ariaChecked","role","closeButton","isActionable","defaultRole","tabIndex","closeButtonReference","useRef","previousCloseButtonShown","useEffect","current","focus","_jsxs","clsx","children","_jsx","Body","type","Typography","BODY_DEFAULT_BOLD","CloseButton","ref","size","filled"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,IAAI,GAAGA,CAAC;EACZC,KAAK;EACLC,KAAK;EACLC,QAAQ;EACRC,OAAO;EACPC,UAAU;AACVC,EAAAA,SAAS,GAAGC,SAAS;AACrB,EAAA,YAAY,EAAEC,SAAS;AACvB,EAAA,cAAc,EAAEC,WAAW;EAC3BC,IAAI;AACJC,EAAAA;AAAW,CACL,KAAI;AACV,EAAA,MAAMC,YAAY,GAAGR,OAAO,IAAIC,UAAU;AAC1C,E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AA,SAAS,EAAC,cAAc;MACxB,YAAA,EAAYK,WAAW,GAAG,YAAY,CAAE;AACxCoB,MAAAA,IAAI,EAAC,IAAI;MACTC,MAAM,EAAA,IAAA;AACN5B,MAAAA,OAAO,EAAED;KAAS,CAClB,GACA,IAAI;AAAA,GAAA,EA3BHD,KA4BF,CAAC;AAEV;;;;"}
|
package/build/chips/Chip.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import { useRef, useEffect } from 'react';
|
|
|
3
3
|
import Body from '../body/Body.mjs';
|
|
4
4
|
import '../common/theme.mjs';
|
|
5
5
|
import '../common/direction.mjs';
|
|
6
|
-
import '@transferwise/neptune-tokens';
|
|
7
6
|
import '../common/propsValues/control.mjs';
|
|
7
|
+
import '../common/propsValues/breakpoint.mjs';
|
|
8
8
|
import '../common/propsValues/size.mjs';
|
|
9
9
|
import { Typography } from '../common/propsValues/typography.mjs';
|
|
10
10
|
import '../common/propsValues/width.mjs';
|
package/build/chips/Chip.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"Chip.mjs","sources":["../../../src/chips/Chip.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useEffect, useRef } from 'react';\n\nimport Body from '../body/Body';\nimport { AriaLabelProperty, CommonProps, Typography } from '../common';\nimport { CloseButton } from '../common/closeButton/CloseButton';\n\nexport type ChipValue = string | number;\n\nexport type Props = {\n value?: ChipValue;\n label: string;\n onRemove?: () => void;\n onClick?: () => void;\n onKeyPress?: () => void;\n closeButton?: AriaLabelProperty;\n 'aria-checked'?: boolean;\n role?: string;\n} & AriaLabelProperty &\n CommonProps;\n\nconst Chip = ({\n label,\n value,\n onRemove,\n onClick,\n onKeyPress,\n className = undefined,\n 'aria-label': ariaLabel,\n 'aria-checked': ariaChecked,\n role,\n closeButton,\n}: Props) => {\n const isActionable = onClick || onKeyPress;\n const defaultRole = isActionable ? 'button' : undefined;\n const tabIndex = isActionable ? 0 : -1;\n\n const closeButtonReference = useRef<HTMLButtonElement>(null);\n const previousCloseButtonShown = useRef<boolean | undefined>(undefined);\n useEffect(() => {\n if (closeButtonReference.current != null && previousCloseButtonShown.current === false) {\n closeButtonReference.current?.focus();\n }\n previousCloseButtonShown.current = closeButtonReference.current != null;\n }, [onRemove]);\n\n return (\n <div\n key={value}\n role={role ?? defaultRole}\n tabIndex={tabIndex}\n aria-label={ariaLabel}\n aria-checked={ariaChecked}\n className={clsx(\n 'np-chip',\n 'd-flex',\n 'align-items-center',\n 'justify-content-between',\n onRemove ? 'np-chip--removable' : '',\n className,\n )}\n {...(isActionable && { onClick, onKeyPress })}\n >\n <Body aria-hidden={!!onRemove} type={Typography.BODY_DEFAULT_BOLD}>\n {label}\n </Body>\n {onRemove ? (\n <CloseButton\n ref={closeButtonReference}\n className=\"btn-unstyled\"\n aria-label={closeButton?.['aria-label']}\n size=\"sm\"\n filled\n onClick={onRemove}\n />\n ) : null}\n </div>\n );\n};\n\nexport default Chip;\n"],"names":["Chip","label","value","onRemove","onClick","onKeyPress","className","undefined","ariaLabel","ariaChecked","role","closeButton","isActionable","defaultRole","tabIndex","closeButtonReference","useRef","previousCloseButtonShown","useEffect","current","focus","_jsxs","clsx","children","_jsx","Body","type","Typography","BODY_DEFAULT_BOLD","CloseButton","ref","size","filled"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,IAAI,GAAGA,CAAC;EACZC,KAAK;EACLC,KAAK;EACLC,QAAQ;EACRC,OAAO;EACPC,UAAU;AACVC,EAAAA,SAAS,GAAGC,SAAS;AACrB,EAAA,YAAY,EAAEC,SAAS;AACvB,EAAA,cAAc,EAAEC,WAAW;EAC3BC,IAAI;AACJC,EAAAA;AAAW,CACL,KAAI;AACV,EAAA,MAAMC,YAAY,GAAGR,OAAO,IAAIC,UAAU;AAC1C,EAAA,MAAMQ,WAAW,GAAGD,YAAY,GAAG,QAAQ,GAAGL,SAAS;AACvD,EAAA,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MAAAA,IAAI,EAAC,IAAI;MACTC,MAAM,EAAA,IAAA;AACN5B,MAAAA,OAAO,EAAED;KAAS,CAClB,GACA,IAAI;AAAA,GAAA,EA3BHD,KA4BF,CAAC;AAEV;;;;"}
|
package/build/chips/Chips.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.js","sources":["
|
|
1
|
+
{"version":3,"file":"Chips.js","sources":["../../../src/chips/Chips.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useIntl } from 'react-intl';\n\nimport { CommonProps, AriaLabelProperty } from '../common';\n\nimport Chip from './Chip';\nimport messages from './Chips.messages';\n\nexport type ChipValue = string | number;\n\nexport type Chip = {\n value: ChipValue;\n label: string;\n};\n\nexport type ChipsProps = CommonProps &\n AriaLabelProperty & {\n /** List of chips with string labels and string/number values */\n chips: readonly Chip[];\n /** Callback which is invoked when a chip is selected or deselected */\n onChange: ({\n isEnabled,\n selectedValue,\n }: {\n isEnabled: boolean;\n selectedValue: ChipValue;\n }) => void;\n /** Used to manage which chips are selected */\n selected: ChipValue | readonly ChipValue[];\n /** True turns on Filter-mode, False is Choice */\n multiple?: boolean;\n };\n\nconst Chips = ({\n chips,\n onChange,\n selected,\n 'aria-label': ariaLabel,\n className,\n multiple,\n}: ChipsProps) => {\n const intl = useIntl();\n\n const isSelected = (value: ChipValue) =>\n Array.isArray(selected) ? selected.includes(value) : selected === value;\n\n const handleOnChange = (selectedValue: ChipValue, isCurrentlyEnabled: boolean) => {\n onChange({ isEnabled: !isCurrentlyEnabled, selectedValue });\n };\n\n return (\n <div\n className={clsx('np-chips d-flex', className)}\n aria-label={ariaLabel}\n role={!multiple ? 'radiogroup' : 'group'}\n >\n {chips.map((chip) => {\n const chipSelected = isSelected(chip.value);\n return (\n <Chip\n key={chip.value}\n role={!multiple ? 'radio' : 'checkbox'}\n aria-checked={chipSelected}\n value={chip.value}\n label={chip.label}\n closeButton={{\n 'aria-label': intl.formatMessage(messages.ariaLabel, { choice: chip.label }),\n }}\n className={clsx('text-xs-nowrap', {\n 'np-chip--selected': chipSelected,\n 'p-r-1': multiple && chipSelected,\n })}\n {...(multiple && chipSelected\n ? {\n onRemove: () => handleOnChange(chip.value, chipSelected),\n }\n : {\n onClick: () => handleOnChange(chip.value, chipSelected),\n onKeyPress: () => handleOnChange(chip.value, chipSelected),\n })}\n />\n );\n })}\n </div>\n );\n};\n\nexport default Chips;\n"],"names":["Chips","chips","onChange","selected","ariaLabel","className","multiple","intl","useIntl","isSelected","value","Array","isArray","includes","handleOnChange","selectedValue","isCurrentlyEnabled","isEnabled","_jsx","clsx","role","children","map","chip","chipSelected","Chip","label","closeButton","formatMessage","messages","choice","onRemove","onClick","onKeyPress"],"mappings":";;;;;;;;;;AAiCA,MAAMA,KAAK,GAAGA,CAAC;EACbC,KAAK;EACLC,QAAQ;EACRC,QAAQ;AACR,EAAA,YAAY,EAAEC,SAAS;EACvBC,SAAS;AACTC,EAAAA;AAAQ,CACG,KAAI;AACf,EAAA,MAAMC,IAAI,GAAGC,iBAAO,EAAE;EAEtB,MAAMC,UAAU,GAAIC,KAAgB,IAClCC,KAAK,CAACC,OAAO,CAACT,QAAQ,CAAC,GAAGA,QAAQ,CAACU,QAAQ,CAACH,KAAK,CAAC,GAAGP,QAAQ,KAAKO,KAAK;AAEzE,EAAA,MAAMI,cAAc,GAAGA,CAACC,aAAwB,EAAEC,kBAA2B,KAAI;AAC/Ed,IAAAA,QAAQ,CAAC;MAAEe,SAAS,EAAE,CAACD,kBAAkB;AAAED,MAAAA;AAAa,KAAE,CAAC;EAC7D,CAAC;AAED,EAAA,oBACEG,cAAA,CAAA,KAAA,EAAA;AACEb,IAAAA,SAAS,EAAEc,SAAI,CAAC,iBAAiB,EAAEd,SAAS,CAAE;AAC9C,IAAA,YAAA,EAAYD,SAAU;AACtBgB,IAAAA,IAAI,EAAE,CAACd,QAAQ,GAAG,YAAY,GAAG,OAAQ;AAAAe,IAAAA,QAAA,EAExCpB,KAAK,CAACqB,GAAG,CAAEC,IAAI,IAAI;AAClB,MAAA,MAAMC,YAAY,GAAGf,UAAU,CAACc,IAAI,CAACb,KAAK,CAAC;MAC3C,oBACEQ,cAAA,CAACO,YAAI,EAAA;AAEHL,QAAAA,IAAI,EAAE,CAACd,QAAQ,GAAG,OAAO,GAAG,UAAW;AACvC,QAAA,cAAA,EAAckB,YAAa;QAC3Bd,KAAK,EAAEa,IAAI,CAACb,KAAM;QAClBgB,KAAK,EAAEH,IAAI,CAACG,KAAM;AAClBC,QAAAA,WAAW,EAAE;UACX,YAAY,EAAEpB,IAAI,CAACqB,aAAa,CAACC,sBAAQ,CAACzB,SAAS,EAAE;YAAE0B,MAAM,EAAEP,IAAI,CAACG;WAAO;SAC3E;AACFrB,QAAAA,SAAS,EAAEc,SAAI,CAAC,gBAAgB,EAAE;AAChC,UAAA,mBAAmB,EAAEK,YAAY;UACjC,OAAO,EAAElB,QAAQ,IAAIkB;AACtB,SAAA,CAAE;QAAA,IACElB,QAAQ,IAAIkB,YAAY,GACzB;UACEO,QAAQ,EAAEA,MAAMjB,cAAc,CAACS,IAAI,CAACb,KAAK,EAAEc,YAAY;AACxD,SAAA,GACD;UACEQ,OAAO,EAAEA,MAAMlB,cAAc,CAACS,IAAI,CAACb,KAAK,EAAEc,YAAY,CAAC;UACvDS,UAAU,EAAEA,MAAMnB,cAAc,CAACS,IAAI,CAACb,KAAK,EAAEc,YAAY;SAC1D;OAAA,EAnBAD,IAAI,CAACb,KAmBH,CACP;IAEN,CAAC;AAAC,GACC,CAAC;AAEV;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.messages.js","sources":["
|
|
1
|
+
{"version":3,"file":"Chips.messages.js","sources":["../../../src/chips/Chips.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n ariaLabel: {\n id: 'neptune.Chips.ariaLabel',\n defaultMessage: 'Clear {choice}',\n description: 'Clear button for chip',\n },\n});\n"],"names":["defineMessages","ariaLabel","id"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,SAAS,EAAE;IACTC,EAAE,EAAA;AAGH;AACF,CAAA,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.messages.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"Chips.messages.mjs","sources":["../../../src/chips/Chips.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n ariaLabel: {\n id: 'neptune.Chips.ariaLabel',\n defaultMessage: 'Clear {choice}',\n description: 'Clear button for chip',\n },\n});\n"],"names":["defineMessages","ariaLabel","id"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,SAAS,EAAE;IACTC,EAAE,EAAA;AAGH;AACF,CAAA,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"Chips.mjs","sources":["../../../src/chips/Chips.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useIntl } from 'react-intl';\n\nimport { CommonProps, AriaLabelProperty } from '../common';\n\nimport Chip from './Chip';\nimport messages from './Chips.messages';\n\nexport type ChipValue = string | number;\n\nexport type Chip = {\n value: ChipValue;\n label: string;\n};\n\nexport type ChipsProps = CommonProps &\n AriaLabelProperty & {\n /** List of chips with string labels and string/number values */\n chips: readonly Chip[];\n /** Callback which is invoked when a chip is selected or deselected */\n onChange: ({\n isEnabled,\n selectedValue,\n }: {\n isEnabled: boolean;\n selectedValue: ChipValue;\n }) => void;\n /** Used to manage which chips are selected */\n selected: ChipValue | readonly ChipValue[];\n /** True turns on Filter-mode, False is Choice */\n multiple?: boolean;\n };\n\nconst Chips = ({\n chips,\n onChange,\n selected,\n 'aria-label': ariaLabel,\n className,\n multiple,\n}: ChipsProps) => {\n const intl = useIntl();\n\n const isSelected = (value: ChipValue) =>\n Array.isArray(selected) ? selected.includes(value) : selected === value;\n\n const handleOnChange = (selectedValue: ChipValue, isCurrentlyEnabled: boolean) => {\n onChange({ isEnabled: !isCurrentlyEnabled, selectedValue });\n };\n\n return (\n <div\n className={clsx('np-chips d-flex', className)}\n aria-label={ariaLabel}\n role={!multiple ? 'radiogroup' : 'group'}\n >\n {chips.map((chip) => {\n const chipSelected = isSelected(chip.value);\n return (\n <Chip\n key={chip.value}\n role={!multiple ? 'radio' : 'checkbox'}\n aria-checked={chipSelected}\n value={chip.value}\n label={chip.label}\n closeButton={{\n 'aria-label': intl.formatMessage(messages.ariaLabel, { choice: chip.label }),\n }}\n className={clsx('text-xs-nowrap', {\n 'np-chip--selected': chipSelected,\n 'p-r-1': multiple && chipSelected,\n })}\n {...(multiple && chipSelected\n ? {\n onRemove: () => handleOnChange(chip.value, chipSelected),\n }\n : {\n onClick: () => handleOnChange(chip.value, chipSelected),\n onKeyPress: () => handleOnChange(chip.value, chipSelected),\n })}\n />\n );\n })}\n </div>\n );\n};\n\nexport default Chips;\n"],"names":["Chips","chips","onChange","selected","ariaLabel","className","multiple","intl","useIntl","isSelected","value","Array","isArray","includes","handleOnChange","selectedValue","isCurrentlyEnabled","isEnabled","_jsx","clsx","role","children","map","chip","chipSelected","Chip","label","closeButton","formatMessage","messages","choice","onRemove","onClick","onKeyPress"],"mappings":";;;;;;AAiCA,MAAMA,KAAK,GAAGA,CAAC;EACbC,KAAK;EACLC,QAAQ;EACRC,QAAQ;AACR,EAAA,YAAY,EAAEC,SAAS;EACvBC,SAAS;AACTC,EAAAA;AAAQ,CACG,KAAI;AACf,EAAA,MAAMC,IAAI,GAAGC,OAAO,EAAE;EAEtB,MAAMC,UAAU,GAAIC,KAAgB,IAClCC,KAAK,CAACC,OAAO,CAACT,QAAQ,CAAC,GAAGA,QAAQ,CAACU,QAAQ,CAACH,KAAK,CAAC,GAAGP,QAAQ,KAAKO,KAAK;AAEzE,EAAA,MAAMI,cAAc,GAAGA,CAACC,aAAwB,EAAEC,k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