@transferwise/components 46.120.0 → 46.120.1
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 +0 -43
- package/build/accordion/Accordion.js.map +1 -1
- package/build/accordion/Accordion.mjs +0 -43
- package/build/accordion/Accordion.mjs.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.js +16 -39
- package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.mjs +16 -39
- package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
- package/build/actionButton/ActionButton.js +18 -3
- package/build/actionButton/ActionButton.js.map +1 -1
- package/build/actionButton/ActionButton.mjs +18 -3
- package/build/actionButton/ActionButton.mjs.map +1 -1
- package/build/actionOption/ActionOption.js +18 -8
- package/build/actionOption/ActionOption.js.map +1 -1
- package/build/actionOption/ActionOption.mjs +18 -8
- package/build/actionOption/ActionOption.mjs.map +1 -1
- package/build/alert/Alert.js +20 -5
- package/build/alert/Alert.js.map +1 -1
- package/build/alert/Alert.mjs +20 -4
- package/build/alert/Alert.mjs.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.js +18 -0
- package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs +18 -0
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
- package/build/avatar/Avatar.js +18 -1
- package/build/avatar/Avatar.js.map +1 -1
- package/build/avatar/Avatar.mjs +18 -1
- package/build/avatar/Avatar.mjs.map +1 -1
- package/build/avatar/avatarTypes.js +3 -5
- package/build/avatar/avatarTypes.js.map +1 -1
- package/build/avatar/avatarTypes.mjs +3 -3
- package/build/avatar/avatarTypes.mjs.map +1 -1
- package/build/avatarLayout/AvatarLayout.js +1 -2
- package/build/avatarLayout/AvatarLayout.js.map +1 -1
- package/build/avatarLayout/AvatarLayout.mjs +1 -2
- package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/avatarView/AvatarView.js +18 -3
- package/build/avatarView/AvatarView.js.map +1 -1
- package/build/avatarView/AvatarView.mjs +18 -3
- package/build/avatarView/AvatarView.mjs.map +1 -1
- package/build/avatarView/Dot.js +0 -3
- package/build/avatarView/Dot.js.map +1 -1
- package/build/avatarView/Dot.mjs +0 -3
- package/build/avatarView/Dot.mjs.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.js +17 -1
- package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs +17 -1
- package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
- package/build/badge/Badge.js +17 -1
- package/build/badge/Badge.js.map +1 -1
- package/build/badge/Badge.mjs +17 -1
- package/build/badge/Badge.mjs.map +1 -1
- package/build/badge/BadgeAssets.js +0 -3
- package/build/badge/BadgeAssets.js.map +1 -1
- package/build/badge/BadgeAssets.mjs +0 -3
- 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 +18 -4
- package/build/button/Button.js.map +1 -1
- package/build/button/Button.mjs +18 -4
- 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 +17 -4
- package/build/button/LegacyButton.js.map +1 -1
- package/build/button/LegacyButton.mjs +18 -5
- package/build/button/LegacyButton.mjs.map +1 -1
- package/build/button/classMap.js +18 -0
- package/build/button/classMap.js.map +1 -1
- package/build/button/classMap.mjs +18 -0
- package/build/button/classMap.mjs.map +1 -1
- package/build/button/legacyUtils/legacyUtils.js +16 -1
- package/build/button/legacyUtils/legacyUtils.js.map +1 -1
- package/build/button/legacyUtils/legacyUtils.mjs +16 -1
- package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
- package/build/card/Card.js +17 -4
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs +17 -4
- 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 +18 -0
- package/build/checkbox/Checkbox.js.map +1 -1
- package/build/checkbox/Checkbox.mjs +18 -0
- 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 +0 -8
- package/build/checkboxOption/CheckboxOption.js.map +1 -1
- package/build/checkboxOption/CheckboxOption.mjs +0 -8
- package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
- package/build/chevron/Chevron.js +17 -0
- package/build/chevron/Chevron.js.map +1 -1
- package/build/chevron/Chevron.mjs +17 -0
- package/build/chevron/Chevron.mjs.map +1 -1
- package/build/chips/Chip.js +18 -0
- package/build/chips/Chip.js.map +1 -1
- package/build/chips/Chip.mjs +18 -0
- 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 +16 -0
- package/build/circularButton/CircularButton.js.map +1 -1
- package/build/circularButton/CircularButton.mjs +16 -0
- package/build/circularButton/CircularButton.mjs.map +1 -1
- package/build/common/DOMOperations/DOMOperations.js +0 -2
- package/build/common/DOMOperations/DOMOperations.js.map +1 -1
- package/build/common/DOMOperations/DOMOperations.mjs +0 -2
- 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/bottomSheet/BottomSheet.js +0 -5
- package/build/common/bottomSheet/BottomSheet.js.map +1 -1
- package/build/common/bottomSheet/BottomSheet.mjs +0 -5
- package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
- package/build/common/card/Card.js +0 -21
- package/build/common/card/Card.js.map +1 -1
- package/build/common/card/Card.mjs +0 -21
- package/build/common/card/Card.mjs.map +1 -1
- package/build/common/circle/Circle.js +0 -4
- package/build/common/circle/Circle.js.map +1 -1
- package/build/common/circle/Circle.mjs +0 -4
- package/build/common/circle/Circle.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.js +0 -3
- 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 +0 -3
- package/build/common/closeButton/CloseButton.mjs.map +1 -1
- package/build/common/colors.js +0 -1
- package/build/common/colors.js.map +1 -1
- package/build/common/colors.mjs +0 -1
- package/build/common/colors.mjs.map +1 -1
- package/build/common/constants.js +0 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/constants.mjs +0 -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/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/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 +3 -5
- package/build/common/direction.js.map +1 -1
- package/build/common/direction.mjs +3 -3
- package/build/common/direction.mjs.map +1 -1
- package/build/common/domHelpers/documentIosClick.js +2 -3
- package/build/common/domHelpers/documentIosClick.js.map +1 -1
- package/build/common/domHelpers/documentIosClick.mjs +2 -3
- package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
- package/build/common/fileType.js +3 -5
- package/build/common/fileType.js.map +1 -1
- package/build/common/fileType.mjs +3 -3
- package/build/common/fileType.mjs.map +1 -1
- package/build/common/flowHeader/FlowHeader.js +14 -14
- 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/useDirection/useDirection.js.map +1 -1
- package/build/common/hooks/useDirection/useDirection.mjs.map +1 -1
- package/build/common/hooks/useEffectEvent.js +0 -1
- package/build/common/hooks/useEffectEvent.js.map +1 -1
- package/build/common/hooks/useEffectEvent.mjs +0 -1
- package/build/common/hooks/useEffectEvent.mjs.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.js +0 -2
- package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs +0 -2
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs.map +1 -1
- package/build/common/hooks/useLayout/useLayout.js.map +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 +0 -3
- package/build/common/initials.js.map +1 -1
- package/build/common/initials.mjs +0 -3
- package/build/common/initials.mjs.map +1 -1
- package/build/common/locale/index.js +0 -6
- package/build/common/locale/index.js.map +1 -1
- package/build/common/locale/index.mjs +0 -6
- package/build/common/locale/index.mjs.map +1 -1
- package/build/common/panel/Panel.js +18 -2
- package/build/common/panel/Panel.js.map +1 -1
- package/build/common/panel/Panel.mjs +18 -2
- package/build/common/panel/Panel.mjs.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js +0 -3
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs +0 -3
- 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 +3 -5
- package/build/common/propsValues/breakpoint.js.map +1 -1
- package/build/common/propsValues/breakpoint.mjs +3 -3
- package/build/common/propsValues/breakpoint.mjs.map +1 -1
- package/build/common/propsValues/control.js +6 -9
- package/build/common/propsValues/control.js.map +1 -1
- package/build/common/propsValues/control.mjs +6 -6
- package/build/common/propsValues/control.mjs.map +1 -1
- package/build/common/propsValues/dateMode.js +3 -5
- package/build/common/propsValues/dateMode.js.map +1 -1
- package/build/common/propsValues/dateMode.mjs +3 -3
- package/build/common/propsValues/dateMode.mjs.map +1 -1
- package/build/common/propsValues/layouts.js +3 -5
- package/build/common/propsValues/layouts.js.map +1 -1
- package/build/common/propsValues/layouts.mjs +3 -3
- package/build/common/propsValues/layouts.mjs.map +1 -1
- package/build/common/propsValues/markdownNodeType.js +3 -5
- package/build/common/propsValues/markdownNodeType.js.map +1 -1
- package/build/common/propsValues/markdownNodeType.mjs +3 -3
- package/build/common/propsValues/markdownNodeType.mjs.map +1 -1
- package/build/common/propsValues/monthFormat.js +3 -5
- package/build/common/propsValues/monthFormat.js.map +1 -1
- package/build/common/propsValues/monthFormat.mjs +3 -3
- package/build/common/propsValues/monthFormat.mjs.map +1 -1
- package/build/common/propsValues/position.js +3 -5
- package/build/common/propsValues/position.js.map +1 -1
- package/build/common/propsValues/position.mjs +3 -3
- package/build/common/propsValues/position.mjs.map +1 -1
- package/build/common/propsValues/profileType.js +3 -5
- package/build/common/propsValues/profileType.js.map +1 -1
- package/build/common/propsValues/profileType.mjs +3 -3
- package/build/common/propsValues/profileType.mjs.map +1 -1
- package/build/common/propsValues/scroll.js +3 -5
- package/build/common/propsValues/scroll.js.map +1 -1
- package/build/common/propsValues/scroll.mjs +3 -3
- package/build/common/propsValues/scroll.mjs.map +1 -1
- package/build/common/propsValues/sentiment.js +3 -5
- package/build/common/propsValues/sentiment.js.map +1 -1
- package/build/common/propsValues/sentiment.mjs +3 -3
- package/build/common/propsValues/sentiment.mjs.map +1 -1
- package/build/common/propsValues/size.js +3 -5
- package/build/common/propsValues/size.js.map +1 -1
- package/build/common/propsValues/size.mjs +3 -3
- package/build/common/propsValues/size.mjs.map +1 -1
- package/build/common/propsValues/status.js +3 -5
- package/build/common/propsValues/status.js.map +1 -1
- package/build/common/propsValues/status.mjs +3 -3
- package/build/common/propsValues/status.mjs.map +1 -1
- package/build/common/propsValues/type.js +3 -5
- package/build/common/propsValues/type.js.map +1 -1
- package/build/common/propsValues/type.mjs +3 -3
- package/build/common/propsValues/type.mjs.map +1 -1
- package/build/common/propsValues/typography.js +3 -9
- package/build/common/propsValues/typography.js.map +1 -1
- package/build/common/propsValues/typography.mjs +3 -7
- package/build/common/propsValues/typography.mjs.map +1 -1
- package/build/common/propsValues/variant.js +3 -5
- package/build/common/propsValues/variant.js.map +1 -1
- package/build/common/propsValues/variant.mjs +3 -3
- package/build/common/propsValues/variant.mjs.map +1 -1
- package/build/common/propsValues/width.js +3 -5
- package/build/common/propsValues/width.js.map +1 -1
- package/build/common/propsValues/width.mjs +3 -3
- package/build/common/propsValues/width.mjs.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.js +18 -0
- package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.mjs +18 -0
- 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 +3 -5
- package/build/common/theme.js.map +1 -1
- package/build/common/theme.mjs +3 -3
- package/build/common/theme.mjs.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- package/build/dateInput/DateInput.js +15 -5
- 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 +15 -5
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +0 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs +0 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
- package/build/dateLookup/DateLookup.js +15 -0
- 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 +15 -0
- package/build/dateLookup/DateLookup.mjs.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.js +18 -0
- package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.mjs +18 -0
- package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.js +16 -0
- 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 +16 -0
- 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 +0 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs +0 -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 +28 -13
- package/build/decision/Decision.js.map +1 -1
- package/build/decision/Decision.mjs +23 -6
- package/build/decision/Decision.mjs.map +1 -1
- package/build/definitionList/DefinitionList.js +18 -0
- package/build/definitionList/DefinitionList.js.map +1 -1
- package/build/definitionList/DefinitionList.mjs +18 -0
- package/build/definitionList/DefinitionList.mjs.map +1 -1
- package/build/dimmer/Dimmer.js +19 -1
- package/build/dimmer/Dimmer.js.map +1 -1
- package/build/dimmer/Dimmer.mjs +19 -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 +18 -0
- package/build/display/Display.js.map +1 -1
- package/build/display/Display.mjs +18 -0
- package/build/display/Display.mjs.map +1 -1
- package/build/divider/Divider.js +0 -9
- package/build/divider/Divider.js.map +1 -1
- package/build/divider/Divider.mjs +0 -9
- package/build/divider/Divider.mjs.map +1 -1
- package/build/drawer/Drawer.js +17 -0
- package/build/drawer/Drawer.js.map +1 -1
- package/build/drawer/Drawer.mjs +17 -0
- 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 +0 -1
- package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs +0 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js +0 -15
- 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 +0 -15
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.js +0 -5
- package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs +0 -5
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.js +0 -2
- package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.mjs +0 -2
- 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.map +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 +18 -1
- package/build/field/Field.js.map +1 -1
- package/build/field/Field.mjs +18 -1
- package/build/field/Field.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.js +17 -0
- 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 +17 -0
- 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 +18 -8
- package/build/header/Header.js.map +1 -1
- package/build/header/Header.mjs +18 -8
- 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 +108 -27
- package/build/index.js.map +1 -1
- package/build/info/Info.js +17 -0
- 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 +17 -0
- package/build/info/Info.mjs.map +1 -1
- package/build/info/infoPresentations.js +3 -5
- package/build/info/infoPresentations.js.map +1 -1
- package/build/info/infoPresentations.mjs +3 -3
- package/build/info/infoPresentations.mjs.map +1 -1
- package/build/inlineAlert/InlineAlert.js +17 -1
- package/build/inlineAlert/InlineAlert.js.map +1 -1
- package/build/inlineAlert/InlineAlert.mjs +17 -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 +18 -0
- package/build/inputs/SearchInput.js.map +1 -1
- package/build/inputs/SearchInput.mjs +18 -0
- package/build/inputs/SearchInput.mjs.map +1 -1
- package/build/inputs/SelectInput.js +0 -5
- package/build/inputs/SelectInput.js.map +1 -1
- package/build/inputs/SelectInput.messages.js.map +1 -1
- package/build/inputs/SelectInput.messages.mjs.map +1 -1
- package/build/inputs/SelectInput.mjs +0 -5
- package/build/inputs/SelectInput.mjs.map +1 -1
- package/build/inputs/TextArea.js.map +1 -1
- package/build/inputs/TextArea.mjs.map +1 -1
- package/build/inputs/_BottomSheet.js.map +1 -1
- package/build/inputs/_BottomSheet.mjs.map +1 -1
- package/build/inputs/_ButtonInput.js.map +1 -1
- package/build/inputs/_ButtonInput.mjs.map +1 -1
- package/build/inputs/_Popover.js.map +1 -1
- package/build/inputs/_Popover.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 +18 -0
- package/build/instructionsList/InstructionsList.js.map +1 -1
- package/build/instructionsList/InstructionsList.mjs +18 -0
- package/build/instructionsList/InstructionsList.mjs.map +1 -1
- package/build/label/Label.js +0 -10
- 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 +0 -10
- package/build/label/Label.mjs.map +1 -1
- package/build/legacylistItem/LegacyListItem.js +0 -8
- package/build/legacylistItem/LegacyListItem.js.map +1 -1
- package/build/legacylistItem/LegacyListItem.mjs +0 -8
- package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
- package/build/link/Link.js +18 -5
- 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 +18 -5
- 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 +18 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +18 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +0 -7
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +0 -7
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.js +0 -7
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.mjs +0 -7
- package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
- package/build/listItem/Button/ListItemButton.js +0 -7
- package/build/listItem/Button/ListItemButton.js.map +1 -1
- package/build/listItem/Button/ListItemButton.mjs +0 -7
- package/build/listItem/Button/ListItemButton.mjs.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.js +0 -7
- package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.mjs +0 -7
- package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.js +0 -7
- package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.mjs +0 -7
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
- package/build/listItem/Image/ListItemImage.js +0 -9
- package/build/listItem/Image/ListItemImage.js.map +1 -1
- package/build/listItem/Image/ListItemImage.mjs +0 -9
- package/build/listItem/Image/ListItemImage.mjs.map +1 -1
- package/build/listItem/ListItem.js +17 -7
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs +17 -7
- 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 +0 -8
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs +0 -8
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.js +18 -6
- package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs +18 -6
- package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
- package/build/listItem/Radio/ListItemRadio.js +0 -7
- package/build/listItem/Radio/ListItemRadio.js.map +1 -1
- package/build/listItem/Radio/ListItemRadio.mjs +0 -7
- package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.js +0 -7
- package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.mjs +0 -7
- 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 +18 -10
- package/build/loader/Loader.js.map +1 -1
- package/build/loader/Loader.mjs +18 -10
- package/build/loader/Loader.mjs.map +1 -1
- package/build/logo/Logo.js +3 -4
- package/build/logo/Logo.js.map +1 -1
- package/build/logo/Logo.mjs +3 -3
- 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/markdown/Markdown.js +32 -14
- package/build/markdown/Markdown.js.map +1 -1
- package/build/markdown/Markdown.mjs +18 -0
- 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 +15 -0
- package/build/modal/Modal.js.map +1 -1
- package/build/modal/Modal.mjs +15 -0
- 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 +17 -0
- 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 +17 -0
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/moneyInput/currencyFormatting.js +2 -2
- package/build/moneyInput/currencyFormatting.js.map +1 -1
- package/build/moneyInput/currencyFormatting.mjs.map +1 -1
- package/build/navigationOption/NavigationOption.js +18 -8
- package/build/navigationOption/NavigationOption.js.map +1 -1
- package/build/navigationOption/NavigationOption.mjs +18 -8
- package/build/navigationOption/NavigationOption.mjs.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.js +0 -9
- package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.mjs +0 -9
- package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
- package/build/nudge/Nudge.js +18 -1
- package/build/nudge/Nudge.js.map +1 -1
- package/build/nudge/Nudge.mjs +18 -1
- package/build/nudge/Nudge.mjs.map +1 -1
- package/build/overlayHeader/OverlayHeader.js +18 -0
- package/build/overlayHeader/OverlayHeader.js.map +1 -1
- package/build/overlayHeader/OverlayHeader.mjs +18 -0
- package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +19 -3
- 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 +19 -3
- 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/excludeCountries/excludeCountries.js +0 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs +0 -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/setDefaultPrefix/index.js +0 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs +0 -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 +17 -0
- package/build/popover/Popover.js.map +1 -1
- package/build/popover/Popover.mjs +17 -0
- package/build/popover/Popover.mjs.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js +0 -10
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs +0 -10
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.js +0 -10
- package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs +0 -10
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
- package/build/processIndicator/ProcessIndicator.js +18 -3
- package/build/processIndicator/ProcessIndicator.js.map +1 -1
- package/build/processIndicator/ProcessIndicator.mjs +18 -3
- 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 +18 -0
- package/build/progressBar/ProgressBar.js.map +1 -1
- package/build/progressBar/ProgressBar.mjs +18 -0
- package/build/progressBar/ProgressBar.mjs.map +1 -1
- package/build/promoCard/PromoCard.js +18 -47
- package/build/promoCard/PromoCard.js.map +1 -1
- package/build/promoCard/PromoCard.mjs +18 -47
- package/build/promoCard/PromoCard.mjs.map +1 -1
- package/build/promoCard/PromoCardContext.js +0 -11
- package/build/promoCard/PromoCardContext.js.map +1 -1
- package/build/promoCard/PromoCardContext.mjs +0 -11
- package/build/promoCard/PromoCardContext.mjs.map +1 -1
- package/build/promoCard/PromoCardGroup.js +0 -21
- package/build/promoCard/PromoCardGroup.js.map +1 -1
- package/build/promoCard/PromoCardGroup.mjs +0 -21
- package/build/promoCard/PromoCardGroup.mjs.map +1 -1
- package/build/promoCard/PromoCardIndicator.js +18 -16
- package/build/promoCard/PromoCardIndicator.js.map +1 -1
- package/build/promoCard/PromoCardIndicator.mjs +18 -16
- package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js +18 -6
- package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs +18 -6
- package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
- package/build/provider/Provider.js +19 -0
- package/build/provider/Provider.js.map +1 -1
- package/build/provider/Provider.mjs +19 -0
- 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 +18 -0
- package/build/radio/Radio.js.map +1 -1
- package/build/radio/Radio.mjs +18 -0
- 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 +0 -8
- package/build/radioOption/RadioOption.js.map +1 -1
- package/build/radioOption/RadioOption.mjs +0 -8
- package/build/radioOption/RadioOption.mjs.map +1 -1
- package/build/section/Section.js +0 -5
- package/build/section/Section.js.map +1 -1
- package/build/section/Section.mjs +0 -5
- package/build/section/Section.mjs.map +1 -1
- package/build/segmentedControl/SegmentedControl.js +18 -2
- package/build/segmentedControl/SegmentedControl.js.map +1 -1
- package/build/segmentedControl/SegmentedControl.mjs +18 -2
- package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
- package/build/select/Select.js +18 -3
- 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 +18 -3
- package/build/select/Select.mjs.map +1 -1
- package/build/select/option/Option.js +18 -0
- package/build/select/option/Option.js.map +1 -1
- package/build/select/option/Option.mjs +18 -0
- 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 +0 -28
- package/build/sentimentSurface/SentimentSurface.js.map +1 -1
- package/build/sentimentSurface/SentimentSurface.mjs +0 -28
- 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 +15 -0
- 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 +15 -0
- package/build/statusIcon/StatusIcon.mjs.map +1 -1
- package/build/stepper/Stepper.js +18 -0
- package/build/stepper/Stepper.js.map +1 -1
- package/build/stepper/Stepper.mjs +18 -0
- 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 +18 -22
- package/build/sticky/Sticky.js.map +1 -1
- package/build/sticky/Sticky.mjs +18 -22
- package/build/sticky/Sticky.mjs.map +1 -1
- package/build/summary/Summary.js +16 -0
- 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 +16 -0
- 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 +0 -1
- package/build/switchOption/SwitchOption.js.map +1 -1
- package/build/switchOption/SwitchOption.mjs +0 -1
- package/build/switchOption/SwitchOption.mjs.map +1 -1
- package/build/table/Table.js +17 -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 +17 -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 +0 -1
- package/build/table/TableHeader.js.map +1 -1
- package/build/table/TableHeader.mjs +0 -1
- package/build/table/TableHeader.mjs.map +1 -1
- package/build/table/TableRow.js +18 -0
- package/build/table/TableRow.js.map +1 -1
- package/build/table/TableRow.mjs +18 -0
- package/build/table/TableRow.mjs.map +1 -1
- package/build/table/TableStatusText.js +18 -0
- package/build/table/TableStatusText.js.map +1 -1
- package/build/table/TableStatusText.mjs +18 -0
- 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 +17 -3
- package/build/tabs/Tabs.js.map +1 -1
- package/build/tabs/Tabs.mjs +17 -3
- package/build/tabs/Tabs.mjs.map +1 -1
- package/build/tabs/utils.js +0 -1
- package/build/tabs/utils.js.map +1 -1
- package/build/tabs/utils.mjs +0 -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 +18 -0
- package/build/tile/Tile.js.map +1 -1
- package/build/tile/Tile.mjs +18 -0
- package/build/tile/Tile.mjs.map +1 -1
- package/build/title/Title.js +18 -0
- package/build/title/Title.js.map +1 -1
- package/build/title/Title.mjs +18 -0
- package/build/title/Title.mjs.map +1 -1
- package/build/tooltip/Tooltip.js +18 -1
- package/build/tooltip/Tooltip.js.map +1 -1
- package/build/tooltip/Tooltip.mjs +18 -1
- package/build/tooltip/Tooltip.mjs.map +1 -1
- package/build/typeahead/Typeahead.js +17 -0
- 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 +17 -0
- 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/accordion/Accordion.d.ts.map +1 -0
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/build/types/accordion/AccordionItem/index.d.ts.map +1 -0
- package/build/types/accordion/index.d.ts.map +1 -0
- package/build/types/actionButton/ActionButton.d.ts.map +1 -0
- package/build/types/actionButton/index.d.ts.map +1 -0
- package/build/types/actionOption/ActionOption.d.ts.map +1 -0
- package/build/types/actionOption/index.d.ts.map +1 -0
- package/build/types/alert/Alert.d.ts.map +1 -0
- package/build/types/alert/index.d.ts.map +1 -0
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
- package/build/types/alert/inlineMarkdown/index.d.ts.map +1 -0
- package/build/types/avatar/Avatar.d.ts.map +1 -0
- package/build/types/avatar/avatarTypes.d.ts.map +1 -0
- package/build/types/avatar/index.d.ts.map +1 -0
- package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -0
- package/build/types/avatarLayout/index.d.ts.map +1 -0
- package/build/types/avatarView/AvatarView.d.ts.map +1 -0
- package/build/types/avatarView/Dot.d.ts.map +1 -0
- package/build/types/avatarView/index.d.ts.map +1 -0
- package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
- package/build/types/avatarWrapper/index.d.ts.map +1 -0
- package/build/types/badge/Badge.d.ts.map +1 -0
- package/build/types/badge/BadgeAssets.d.ts.map +1 -0
- package/build/types/badge/index.d.ts.map +1 -0
- package/build/types/body/Body.d.ts.map +1 -0
- package/build/types/body/index.d.ts.map +1 -0
- package/build/types/button/Button.d.ts.map +1 -0
- package/build/types/button/Button.resolver.d.ts.map +1 -0
- package/build/types/button/Button.types.d.ts.map +1 -0
- package/build/types/button/LegacyButton.d.ts.map +1 -0
- package/build/types/button/_stories/helpers.d.ts.map +1 -0
- package/build/types/button/classMap.d.ts.map +1 -0
- package/build/types/button/index.d.ts.map +1 -0
- package/build/types/button/legacyUtils/index.d.ts.map +1 -0
- package/build/types/button/legacyUtils/legacyUtils.d.ts.map +1 -0
- package/build/types/card/Card.d.ts.map +1 -0
- package/build/types/card/index.d.ts.map +1 -0
- package/build/types/carousel/Carousel.d.ts.map +1 -0
- package/build/types/carousel/index.d.ts.map +1 -0
- package/build/types/checkbox/Checkbox.d.ts.map +1 -0
- package/build/types/checkbox/index.d.ts.map +1 -0
- package/build/types/checkboxButton/CheckboxButton.d.ts.map +1 -0
- package/build/types/checkboxButton/index.d.ts.map +1 -0
- package/build/types/checkboxOption/CheckboxOption.d.ts.map +1 -0
- package/build/types/checkboxOption/index.d.ts.map +1 -0
- package/build/types/chevron/Chevron.d.ts.map +1 -0
- package/build/types/chevron/index.d.ts.map +1 -0
- package/build/types/chips/Chip.d.ts.map +1 -0
- package/build/types/chips/Chips.d.ts.map +1 -0
- package/build/types/chips/Chips.messages.d.ts.map +1 -0
- package/build/types/chips/index.d.ts.map +1 -0
- package/build/types/circularButton/CircularButton.d.ts.map +1 -0
- package/build/types/circularButton/index.d.ts.map +1 -0
- package/build/types/common/DOMOperations/DOMOperations.d.ts.map +1 -0
- package/build/types/common/DOMOperations/index.d.ts.map +1 -0
- package/build/types/common/Option/Option.d.ts.map +1 -0
- package/build/types/common/Option/index.d.ts.map +1 -0
- package/build/types/common/RadioButton/RadioButton.d.ts.map +1 -0
- package/build/types/common/RadioButton/index.d.ts.map +1 -0
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -0
- package/build/types/common/bottomSheet/index.d.ts.map +1 -0
- package/build/types/common/card/Card.d.ts.map +1 -0
- package/build/types/common/card/index.d.ts.map +1 -0
- package/build/types/common/circle/Circle.d.ts.map +1 -0
- package/build/types/common/circle/index.d.ts.map +1 -0
- package/build/types/common/closeButton/CloseButton.d.ts.map +1 -0
- package/build/types/common/closeButton/CloseButton.messages.d.ts.map +1 -0
- package/build/types/common/closeButton/index.d.ts.map +1 -0
- package/build/types/common/colors.d.ts.map +1 -0
- package/build/types/common/commonProps.d.ts.map +1 -0
- package/build/types/common/constants.d.ts.map +1 -0
- package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
- package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
- package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
- package/build/types/common/dateUtils/index.d.ts.map +1 -0
- package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
- package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
- package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
- package/build/types/common/deviceDetection/deviceDetection.d.ts.map +1 -0
- package/build/types/common/deviceDetection/index.d.ts.map +1 -0
- package/build/types/common/direction.d.ts.map +1 -0
- package/build/types/common/domHelpers/documentIosClick.d.ts.map +1 -0
- package/build/types/common/domHelpers/index.d.ts.map +1 -0
- package/build/types/common/fakeEvents.d.ts.map +1 -0
- package/build/types/common/fileType.d.ts.map +1 -0
- package/build/types/common/flowHeader/FlowHeader.d.ts.map +1 -0
- package/build/types/common/flowHeader/index.d.ts.map +1 -0
- package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
- package/build/types/common/focusBoundary/index.d.ts.map +1 -0
- package/build/types/common/historyNavigator/historyNavigator.d.ts.map +1 -0
- package/build/types/common/historyNavigator/index.d.ts.map +1 -0
- package/build/types/common/hooks/index.d.ts.map +1 -0
- package/build/types/common/hooks/useConditionalListener/index.d.ts.map +1 -0
- package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
- package/build/types/common/hooks/useDirection/index.d.ts.map +1 -0
- package/build/types/common/hooks/useDirection/useDirection.d.ts.map +1 -0
- package/build/types/common/hooks/useEffectEvent.d.ts.map +1 -0
- package/build/types/common/hooks/useHasIntersected/index.d.ts.map +1 -0
- package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
- package/build/types/common/hooks/useLayout/index.d.ts.map +1 -0
- package/build/types/common/hooks/useLayout/useLayout.d.ts.map +1 -0
- package/build/types/common/hooks/useMedia.d.ts.map +1 -0
- package/build/types/common/hooks/useResizeObserver.d.ts.map +1 -0
- package/build/types/common/hooks/useScreenSize.d.ts.map +1 -0
- package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
- package/build/types/common/index.d.ts.map +1 -0
- package/build/types/common/initials.d.ts.map +1 -0
- package/build/types/common/locale/index.d.ts.map +1 -0
- package/build/types/common/panel/Panel.d.ts.map +1 -0
- package/build/types/common/panel/index.d.ts.map +1 -0
- package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
- package/build/types/common/preventScroll/PreventScroll.d.ts.map +1 -0
- package/build/types/common/propsValues/breakpoint.d.ts.map +1 -0
- package/build/types/common/propsValues/control.d.ts.map +1 -0
- package/build/types/common/propsValues/dateMode.d.ts.map +1 -0
- package/build/types/common/propsValues/layouts.d.ts.map +1 -0
- package/build/types/common/propsValues/markdownNodeType.d.ts.map +1 -0
- package/build/types/common/propsValues/monthFormat.d.ts.map +1 -0
- package/build/types/common/propsValues/position.d.ts.map +1 -0
- package/build/types/common/propsValues/profileType.d.ts.map +1 -0
- package/build/types/common/propsValues/scroll.d.ts.map +1 -0
- package/build/types/common/propsValues/sentiment.d.ts.map +1 -0
- package/build/types/common/propsValues/size.d.ts.map +1 -0
- package/build/types/common/propsValues/status.d.ts.map +1 -0
- package/build/types/common/propsValues/type.d.ts.map +1 -0
- package/build/types/common/propsValues/typography.d.ts.map +1 -0
- package/build/types/common/propsValues/variant.d.ts.map +1 -0
- package/build/types/common/propsValues/width.d.ts.map +1 -0
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
- package/build/types/common/responsivePanel/index.d.ts.map +1 -0
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
- package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
- package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
- package/build/types/common/textFormat/index.d.ts.map +1 -0
- package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
- package/build/types/common/theme.d.ts.map +1 -0
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
- package/build/types/criticalBanner/index.d.ts.map +1 -0
- package/build/types/dateInput/DateInput.d.ts.map +1 -0
- package/build/types/dateInput/DateInput.messages.d.ts.map +1 -0
- package/build/types/dateInput/index.d.ts.map +1 -0
- package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
- package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
- package/build/types/dateInput/utils/index.d.ts.map +1 -0
- package/build/types/dateLookup/DateLookup.d.ts.map +1 -0
- package/build/types/dateLookup/DateLookup.messages.d.ts.map +1 -0
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
- package/build/types/dateLookup/dateHeader/index.d.ts.map +1 -0
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
- package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
- package/build/types/dateLookup/dateTrigger/index.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/index.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
- package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
- package/build/types/dateLookup/getStartOfDay/index.d.ts.map +1 -0
- package/build/types/dateLookup/index.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/index.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
- package/build/types/dateLookup/tableLink/TableLink.d.ts.map +1 -0
- package/build/types/dateLookup/tableLink/index.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/index.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
- package/build/types/decision/Decision.d.ts.map +1 -0
- package/build/types/decision/index.d.ts.map +1 -0
- package/build/types/definitionList/DefinitionList.d.ts.map +1 -0
- package/build/types/definitionList/index.d.ts.map +1 -0
- package/build/types/dimmer/Dimmer.d.ts.map +1 -0
- package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
- package/build/types/dimmer/dimmerManager/index.d.ts.map +1 -0
- package/build/types/dimmer/index.d.ts.map +1 -0
- package/build/types/display/Display.d.ts.map +1 -0
- package/build/types/display/index.d.ts.map +1 -0
- package/build/types/divider/Divider.d.ts.map +1 -0
- package/build/types/divider/index.d.ts.map +1 -0
- package/build/types/drawer/Drawer.d.ts.map +1 -0
- package/build/types/drawer/index.d.ts.map +1 -0
- package/build/types/dropFade/DropFade.d.ts.map +1 -0
- package/build/types/dropFade/index.d.ts.map +1 -0
- package/build/types/emphasis/Emphasis.d.ts.map +1 -0
- package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
- package/build/types/emphasis/index.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/index.d.ts.map +1 -0
- package/build/types/field/Field.d.ts.map +1 -0
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -0
- package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
- package/build/types/flowNavigation/animatedLabel/index.d.ts.map +1 -0
- package/build/types/header/Header.d.ts.map +1 -0
- package/build/types/header/index.d.ts.map +1 -0
- package/build/types/i18n/commonMessages/Button.messages.d.ts.map +1 -0
- package/build/types/i18n/index.d.ts.map +1 -0
- package/build/types/iconButton/IconButton.d.ts.map +1 -0
- package/build/types/iconButton/index.d.ts.map +1 -0
- package/build/types/image/Image.d.ts.map +1 -0
- package/build/types/image/index.d.ts.map +1 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/info/Info.d.ts.map +1 -0
- package/build/types/info/Info.messages.d.ts.map +1 -0
- package/build/types/info/index.d.ts.map +1 -0
- package/build/types/info/infoPresentations.d.ts.map +1 -0
- package/build/types/inlineAlert/InlineAlert.d.ts.map +1 -0
- package/build/types/inlineAlert/index.d.ts.map +1 -0
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
- package/build/types/inputWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/inputs/Input.d.ts.map +1 -0
- package/build/types/inputs/InputGroup.d.ts.map +1 -0
- package/build/types/inputs/SearchInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput.messages.d.ts.map +1 -0
- package/build/types/inputs/TextArea.d.ts.map +1 -0
- package/build/types/inputs/_BottomSheet.d.ts.map +1 -0
- package/build/types/inputs/_ButtonInput.d.ts.map +1 -0
- package/build/types/inputs/_Popover.d.ts.map +1 -0
- package/build/types/inputs/_common.d.ts.map +1 -0
- package/build/types/inputs/contexts.d.ts.map +1 -0
- package/build/types/instructionsList/InstructionsList.d.ts.map +1 -0
- package/build/types/instructionsList/index.d.ts.map +1 -0
- package/build/types/label/Label.d.ts.map +1 -0
- package/build/types/label/Label.messages.d.ts.map +1 -0
- package/build/types/label/index.d.ts.map +1 -0
- package/build/types/legacylistItem/LegacyListItem.d.ts.map +1 -0
- package/build/types/legacylistItem/index.d.ts.map +1 -0
- package/build/types/link/Link.d.ts.map +1 -0
- package/build/types/link/Link.messages.d.ts.map +1 -0
- package/build/types/link/index.d.ts.map +1 -0
- package/build/types/list/List.d.ts.map +1 -0
- package/build/types/list/index.d.ts.map +1 -0
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/listItem/AdditionalInfo/index.d.ts.map +1 -0
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
- package/build/types/listItem/AvatarLayout/index.d.ts.map +1 -0
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
- package/build/types/listItem/AvatarView/index.d.ts.map +1 -0
- package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -0
- package/build/types/listItem/Button/index.d.ts.map +1 -0
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/listItem/Checkbox/index.d.ts.map +1 -0
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
- package/build/types/listItem/IconButton/index.d.ts.map +1 -0
- package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -0
- package/build/types/listItem/Image/index.d.ts.map +1 -0
- package/build/types/listItem/ListItem.d.ts.map +1 -0
- package/build/types/listItem/ListItemContext.d.ts.map +1 -0
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
- package/build/types/listItem/Navigation/index.d.ts.map +1 -0
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
- package/build/types/listItem/Prompt/index.d.ts.map +1 -0
- package/build/types/listItem/Radio/ListItemRadio.d.ts.map +1 -0
- package/build/types/listItem/Radio/index.d.ts.map +1 -0
- package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
- package/build/types/listItem/Switch/index.d.ts.map +1 -0
- package/build/types/listItem/_stories/helpers.d.ts.map +1 -0
- package/build/types/listItem/_stories/subcomponents.d.ts.map +1 -0
- package/build/types/listItem/_stories/variants/helpers.d.ts.map +1 -0
- package/build/types/listItem/constants.d.ts.map +1 -0
- package/build/types/listItem/index.d.ts.map +1 -0
- package/build/types/listItem/test-utils.d.ts.map +1 -0
- package/build/types/listItem/useListItemControl.d.ts.map +1 -0
- package/build/types/listItem/useListItemMedia.d.ts.map +1 -0
- package/build/types/loader/Loader.d.ts.map +1 -0
- package/build/types/loader/index.d.ts.map +1 -0
- package/build/types/logo/Logo.d.ts.map +1 -0
- package/build/types/logo/index.d.ts.map +1 -0
- package/build/types/logo/logo-assets.d.ts.map +1 -0
- package/build/types/markdown/Markdown.d.ts.map +1 -0
- package/build/types/markdown/index.d.ts.map +1 -0
- package/build/types/mocks.d.ts.map +1 -0
- package/build/types/modal/Modal.d.ts.map +1 -0
- package/build/types/modal/index.d.ts.map +1 -0
- package/build/types/money/Money.d.ts.map +1 -0
- package/build/types/money/index.d.ts.map +1 -0
- package/build/types/moneyInput/MoneyInput.d.ts.map +1 -0
- package/build/types/moneyInput/MoneyInput.messages.d.ts.map +1 -0
- package/build/types/moneyInput/currencyFormatting.d.ts.map +1 -0
- package/build/types/moneyInput/index.d.ts.map +1 -0
- package/build/types/navigationOption/NavigationOption.d.ts.map +1 -0
- package/build/types/navigationOption/index.d.ts.map +1 -0
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
- package/build/types/navigationOptionsList/index.d.ts.map +1 -0
- package/build/types/nudge/Nudge.d.ts.map +1 -0
- package/build/types/nudge/index.d.ts.map +1 -0
- package/build/types/overlayHeader/OverlayHeader.d.ts.map +1 -0
- package/build/types/overlayHeader/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
- package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
- package/build/types/phoneNumberInput/data/countries.d.ts.map +1 -0
- package/build/types/phoneNumberInput/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
- package/build/types/popover/Popover.d.ts.map +1 -0
- package/build/types/popover/index.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveButton/index.d.ts.map +1 -0
- package/build/types/primitives/index.d.ts.map +1 -0
- package/build/types/primitives/types.d.ts.map +1 -0
- package/build/types/processIndicator/ProcessIndicator.d.ts.map +1 -0
- package/build/types/processIndicator/index.d.ts.map +1 -0
- package/build/types/progress/Progress.d.ts.map +1 -0
- package/build/types/progress/index.d.ts.map +1 -0
- package/build/types/progressBar/ProgressBar.d.ts.map +1 -0
- package/build/types/progressBar/index.d.ts.map +1 -0
- package/build/types/promoCard/PromoCard.d.ts.map +1 -0
- package/build/types/promoCard/PromoCardContext.d.ts.map +1 -0
- package/build/types/promoCard/PromoCardGroup.d.ts.map +1 -0
- package/build/types/promoCard/PromoCardIndicator.d.ts.map +1 -0
- package/build/types/promoCard/index.d.ts.map +1 -0
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
- package/build/types/prompt/InlinePrompt/index.d.ts.map +1 -0
- package/build/types/prompt/index.d.ts.map +1 -0
- package/build/types/provider/Provider.d.ts.map +1 -0
- package/build/types/provider/direction/DirectionProvider.d.ts.map +1 -0
- package/build/types/provider/direction/index.d.ts.map +1 -0
- package/build/types/provider/index.d.ts.map +1 -0
- package/build/types/provider/language/LanguageProvider.d.ts.map +1 -0
- package/build/types/provider/language/index.d.ts.map +1 -0
- package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
- package/build/types/radio/Radio.d.ts.map +1 -0
- package/build/types/radio/index.d.ts.map +1 -0
- package/build/types/radioGroup/RadioGroup.d.ts.map +1 -0
- package/build/types/radioGroup/index.d.ts.map +1 -0
- package/build/types/radioOption/RadioOption.d.ts.map +1 -0
- package/build/types/radioOption/index.d.ts.map +1 -0
- package/build/types/section/Section.d.ts.map +1 -0
- package/build/types/section/index.d.ts.map +1 -0
- package/build/types/segmentedControl/SegmentedControl.d.ts.map +1 -0
- package/build/types/segmentedControl/index.d.ts.map +1 -0
- package/build/types/select/Select.d.ts.map +1 -0
- package/build/types/select/Select.messages.d.ts.map +1 -0
- package/build/types/select/index.d.ts.map +1 -0
- package/build/types/select/option/Option.d.ts.map +1 -0
- package/build/types/select/option/index.d.ts.map +1 -0
- package/build/types/select/searchBox/SearchBox.d.ts.map +1 -0
- package/build/types/select/searchBox/index.d.ts.map +1 -0
- package/build/types/sentimentSurface/SentimentSurface.d.ts.map +1 -0
- package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
- package/build/types/sentimentSurface/index.d.ts.map +1 -0
- package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -0
- package/build/types/slidingPanel/index.d.ts.map +1 -0
- package/build/types/snackbar/Snackbar.d.ts.map +1 -0
- package/build/types/snackbar/SnackbarContext.d.ts.map +1 -0
- package/build/types/snackbar/SnackbarProvider.d.ts.map +1 -0
- package/build/types/snackbar/index.d.ts.map +1 -0
- package/build/types/snackbar/useSnackbar.d.ts.map +1 -0
- package/build/types/statusIcon/StatusIcon.d.ts.map +1 -0
- package/build/types/statusIcon/StatusIcon.messages.d.ts.map +1 -0
- package/build/types/statusIcon/index.d.ts.map +1 -0
- package/build/types/stepper/Stepper.d.ts.map +1 -0
- package/build/types/stepper/deviceDetection.d.ts.map +1 -0
- package/build/types/sticky/Sticky.d.ts.map +1 -0
- package/build/types/sticky/index.d.ts.map +1 -0
- package/build/types/summary/Summary.d.ts.map +1 -0
- package/build/types/summary/Summary.messages.d.ts.map +1 -0
- package/build/types/summary/index.d.ts.map +1 -0
- package/build/types/switch/Switch.d.ts.map +1 -0
- package/build/types/switch/index.d.ts.map +1 -0
- package/build/types/switchOption/SwitchOption.d.ts.map +1 -0
- package/build/types/switchOption/index.d.ts.map +1 -0
- package/build/types/table/Table.d.ts.map +1 -0
- package/build/types/table/Table.messages.d.ts.map +1 -0
- package/build/types/table/TableCell.d.ts.map +1 -0
- package/build/types/table/TableHeader.d.ts.map +1 -0
- package/build/types/table/TableRow.d.ts.map +1 -0
- package/build/types/table/TableStatusText.d.ts.map +1 -0
- package/build/types/table/index.d.ts.map +1 -0
- package/build/types/tabs/Tab.d.ts.map +1 -0
- package/build/types/tabs/TabList.d.ts.map +1 -0
- package/build/types/tabs/TabPanel.d.ts.map +1 -0
- package/build/types/tabs/Tabs.d.ts.map +1 -0
- package/build/types/tabs/index.d.ts.map +1 -0
- package/build/types/tabs/utils.d.ts.map +1 -0
- package/build/types/test-utils/fake-data.d.ts.map +1 -0
- package/build/types/test-utils/index.d.ts.map +1 -0
- package/build/types/test-utils/jest.setup.d.ts.map +1 -0
- package/build/types/test-utils/style-mock.d.ts.map +1 -0
- package/build/types/test-utils/wait.d.ts.map +1 -0
- package/build/types/test-utils/window-mock.d.ts.map +1 -0
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
- package/build/types/textareaWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/tile/Tile.d.ts.map +1 -0
- package/build/types/tile/index.d.ts.map +1 -0
- package/build/types/title/Title.d.ts.map +1 -0
- package/build/types/title/index.d.ts.map +1 -0
- package/build/types/tooltip/Tooltip.d.ts.map +1 -0
- package/build/types/tooltip/index.d.ts.map +1 -0
- package/build/types/typeahead/Typeahead.d.ts.map +1 -0
- package/build/types/typeahead/Typeahead.messages.d.ts.map +1 -0
- package/build/types/typeahead/index.d.ts.map +1 -0
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
- package/build/types/typeahead/util/highlight.d.ts.map +1 -0
- package/build/types/upload/Upload.d.ts.map +1 -0
- package/build/types/upload/Upload.messages.d.ts.map +1 -0
- package/build/types/upload/index.d.ts.map +1 -0
- package/build/types/upload/steps/completeStep/completeStep.d.ts.map +1 -0
- package/build/types/upload/steps/completeStep/index.d.ts.map +1 -0
- package/build/types/upload/steps/index.d.ts.map +1 -0
- package/build/types/upload/steps/processingStep/index.d.ts.map +1 -0
- package/build/types/upload/steps/processingStep/processingStep.d.ts.map +1 -0
- package/build/types/upload/steps/uploadImageStep/index.d.ts.map +1 -0
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
- package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
- package/build/types/upload/utils/asyncFileRead/index.d.ts.map +1 -0
- package/build/types/upload/utils/getFileType/getFileType.d.ts.map +1 -0
- package/build/types/upload/utils/getFileType/index.d.ts.map +1 -0
- package/build/types/upload/utils/index.d.ts.map +1 -0
- package/build/types/upload/utils/isSizeValid/index.d.ts.map +1 -0
- package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
- package/build/types/upload/utils/isTypeValid/index.d.ts.map +1 -0
- package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
- package/build/types/upload/utils/postData/index.d.ts.map +1 -0
- package/build/types/upload/utils/postData/postData.d.ts.map +1 -0
- package/build/types/uploadInput/UploadInput.d.ts.map +1 -0
- package/build/types/uploadInput/UploadInput.messages.d.ts.map +1 -0
- package/build/types/uploadInput/index.d.ts.map +1 -0
- package/build/types/uploadInput/types.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/defaults.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
- package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
- package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
- package/build/types/utilities/cssValueWithUnit.d.ts.map +1 -0
- package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
- package/build/types/utilities/deprecatedProperty/index.d.ts.map +1 -0
- package/build/types/utilities/index.d.ts.map +1 -0
- package/build/types/utilities/logActionRequired.d.ts.map +1 -0
- package/build/types/utils.d.ts.map +1 -0
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
- package/build/types/withDisplayFormat/index.d.ts.map +1 -0
- package/build/types/withId/index.d.ts.map +1 -0
- package/build/types/withId/story/source.d.ts.map +1 -0
- package/build/types/withId/withId.d.ts.map +1 -0
- package/build/types/withNextPortal/withNextPortal.d.ts.map +1 -0
- package/build/upload/Upload.js +21 -4
- 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 +21 -3
- package/build/upload/Upload.mjs.map +1 -1
- package/build/upload/steps/completeStep/completeStep.js +18 -0
- package/build/upload/steps/completeStep/completeStep.js.map +1 -1
- package/build/upload/steps/completeStep/completeStep.mjs +18 -0
- package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
- package/build/upload/steps/processingStep/processingStep.js +17 -0
- package/build/upload/steps/processingStep/processingStep.js.map +1 -1
- package/build/upload/steps/processingStep/processingStep.mjs +17 -0
- package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js +17 -0
- package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +17 -0
- 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 +17 -8
- 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 +17 -8
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js +23 -6
- 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 +21 -3
- package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
- package/build/uploadInput/uploadButton/defaults.js +18 -0
- package/build/uploadInput/uploadButton/defaults.js.map +1 -1
- package/build/uploadInput/uploadButton/defaults.mjs +18 -0
- package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js +0 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs +0 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.js +23 -9
- 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 +19 -4
- 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 +33 -17
- package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs +19 -3
- package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
- package/build/withId/withId.js +0 -4
- package/build/withId/withId.js.map +1 -1
- package/build/withId/withId.mjs +0 -4
- 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 +3 -3
- package/src/provider/theme/ThemeProvider.story.tsx +1 -0
- package/build/types/components/src/accordion/Accordion.d.ts.map +0 -1
- package/build/types/components/src/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
- package/build/types/components/src/accordion/AccordionItem/index.d.ts.map +0 -1
- package/build/types/components/src/accordion/index.d.ts.map +0 -1
- package/build/types/components/src/actionButton/ActionButton.d.ts.map +0 -1
- package/build/types/components/src/actionButton/index.d.ts.map +0 -1
- package/build/types/components/src/actionOption/ActionOption.d.ts.map +0 -1
- package/build/types/components/src/actionOption/index.d.ts.map +0 -1
- package/build/types/components/src/alert/Alert.d.ts.map +0 -1
- package/build/types/components/src/alert/index.d.ts.map +0 -1
- package/build/types/components/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
- package/build/types/components/src/alert/inlineMarkdown/index.d.ts.map +0 -1
- package/build/types/components/src/avatar/Avatar.d.ts.map +0 -1
- package/build/types/components/src/avatar/avatarTypes.d.ts.map +0 -1
- package/build/types/components/src/avatar/index.d.ts.map +0 -1
- package/build/types/components/src/avatarLayout/AvatarLayout.d.ts.map +0 -1
- package/build/types/components/src/avatarLayout/index.d.ts.map +0 -1
- package/build/types/components/src/avatarView/AvatarView.d.ts.map +0 -1
- package/build/types/components/src/avatarView/Dot.d.ts.map +0 -1
- package/build/types/components/src/avatarView/index.d.ts.map +0 -1
- package/build/types/components/src/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
- package/build/types/components/src/avatarWrapper/index.d.ts.map +0 -1
- package/build/types/components/src/badge/Badge.d.ts.map +0 -1
- package/build/types/components/src/badge/BadgeAssets.d.ts.map +0 -1
- package/build/types/components/src/badge/index.d.ts.map +0 -1
- package/build/types/components/src/body/Body.d.ts.map +0 -1
- package/build/types/components/src/body/index.d.ts.map +0 -1
- package/build/types/components/src/button/Button.d.ts.map +0 -1
- package/build/types/components/src/button/Button.resolver.d.ts.map +0 -1
- package/build/types/components/src/button/Button.types.d.ts.map +0 -1
- package/build/types/components/src/button/LegacyButton.d.ts.map +0 -1
- package/build/types/components/src/button/_stories/helpers.d.ts.map +0 -1
- package/build/types/components/src/button/classMap.d.ts.map +0 -1
- package/build/types/components/src/button/index.d.ts.map +0 -1
- package/build/types/components/src/button/legacyUtils/index.d.ts.map +0 -1
- package/build/types/components/src/button/legacyUtils/legacyUtils.d.ts.map +0 -1
- package/build/types/components/src/card/Card.d.ts.map +0 -1
- package/build/types/components/src/card/index.d.ts.map +0 -1
- package/build/types/components/src/carousel/Carousel.d.ts.map +0 -1
- package/build/types/components/src/carousel/index.d.ts.map +0 -1
- package/build/types/components/src/checkbox/Checkbox.d.ts.map +0 -1
- package/build/types/components/src/checkbox/index.d.ts.map +0 -1
- package/build/types/components/src/checkboxButton/CheckboxButton.d.ts.map +0 -1
- package/build/types/components/src/checkboxButton/index.d.ts.map +0 -1
- package/build/types/components/src/checkboxOption/CheckboxOption.d.ts.map +0 -1
- package/build/types/components/src/checkboxOption/index.d.ts.map +0 -1
- package/build/types/components/src/chevron/Chevron.d.ts.map +0 -1
- package/build/types/components/src/chevron/index.d.ts.map +0 -1
- package/build/types/components/src/chips/Chip.d.ts.map +0 -1
- package/build/types/components/src/chips/Chips.d.ts.map +0 -1
- package/build/types/components/src/chips/Chips.messages.d.ts.map +0 -1
- package/build/types/components/src/chips/index.d.ts.map +0 -1
- package/build/types/components/src/circularButton/CircularButton.d.ts.map +0 -1
- package/build/types/components/src/circularButton/index.d.ts.map +0 -1
- package/build/types/components/src/common/DOMOperations/DOMOperations.d.ts.map +0 -1
- package/build/types/components/src/common/DOMOperations/index.d.ts.map +0 -1
- package/build/types/components/src/common/Option/Option.d.ts.map +0 -1
- package/build/types/components/src/common/Option/index.d.ts.map +0 -1
- package/build/types/components/src/common/RadioButton/RadioButton.d.ts.map +0 -1
- package/build/types/components/src/common/RadioButton/index.d.ts.map +0 -1
- package/build/types/components/src/common/bottomSheet/BottomSheet.d.ts.map +0 -1
- package/build/types/components/src/common/bottomSheet/index.d.ts.map +0 -1
- package/build/types/components/src/common/card/Card.d.ts.map +0 -1
- package/build/types/components/src/common/card/index.d.ts.map +0 -1
- package/build/types/components/src/common/circle/Circle.d.ts.map +0 -1
- package/build/types/components/src/common/circle/index.d.ts.map +0 -1
- package/build/types/components/src/common/closeButton/CloseButton.d.ts.map +0 -1
- package/build/types/components/src/common/closeButton/CloseButton.messages.d.ts.map +0 -1
- package/build/types/components/src/common/closeButton/index.d.ts.map +0 -1
- package/build/types/components/src/common/colors.d.ts.map +0 -1
- package/build/types/components/src/common/commonProps.d.ts.map +0 -1
- package/build/types/components/src/common/constants.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/index.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
- package/build/types/components/src/common/deviceDetection/deviceDetection.d.ts.map +0 -1
- package/build/types/components/src/common/deviceDetection/index.d.ts.map +0 -1
- package/build/types/components/src/common/direction.d.ts.map +0 -1
- package/build/types/components/src/common/domHelpers/documentIosClick.d.ts.map +0 -1
- package/build/types/components/src/common/domHelpers/index.d.ts.map +0 -1
- package/build/types/components/src/common/fakeEvents.d.ts.map +0 -1
- package/build/types/components/src/common/fileType.d.ts.map +0 -1
- package/build/types/components/src/common/flowHeader/FlowHeader.d.ts.map +0 -1
- package/build/types/components/src/common/flowHeader/index.d.ts.map +0 -1
- package/build/types/components/src/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
- package/build/types/components/src/common/focusBoundary/index.d.ts.map +0 -1
- package/build/types/components/src/common/historyNavigator/historyNavigator.d.ts.map +0 -1
- package/build/types/components/src/common/historyNavigator/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useConditionalListener/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useDirection/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useDirection/useDirection.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useEffectEvent.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useHasIntersected/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useLayout/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useLayout/useLayout.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useMedia.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useResizeObserver.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useScreenSize.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
- package/build/types/components/src/common/index.d.ts.map +0 -1
- package/build/types/components/src/common/initials.d.ts.map +0 -1
- package/build/types/components/src/common/locale/index.d.ts.map +0 -1
- package/build/types/components/src/common/panel/Panel.d.ts.map +0 -1
- package/build/types/components/src/common/panel/index.d.ts.map +0 -1
- package/build/types/components/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
- package/build/types/components/src/common/preventScroll/PreventScroll.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/breakpoint.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/control.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/dateMode.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/layouts.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/markdownNodeType.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/monthFormat.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/position.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/profileType.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/scroll.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/sentiment.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/size.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/status.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/type.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/typography.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/variant.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/width.d.ts.map +0 -1
- package/build/types/components/src/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
- package/build/types/components/src/common/responsivePanel/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
- package/build/types/components/src/common/theme.d.ts.map +0 -1
- package/build/types/components/src/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
- package/build/types/components/src/criticalBanner/index.d.ts.map +0 -1
- package/build/types/components/src/dateInput/DateInput.d.ts.map +0 -1
- package/build/types/components/src/dateInput/DateInput.messages.d.ts.map +0 -1
- package/build/types/components/src/dateInput/index.d.ts.map +0 -1
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
- package/build/types/components/src/dateInput/utils/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/DateLookup.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/DateLookup.messages.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateHeader/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateTrigger/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/getStartOfDay/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/tableLink/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
- package/build/types/components/src/decision/Decision.d.ts.map +0 -1
- package/build/types/components/src/decision/index.d.ts.map +0 -1
- package/build/types/components/src/definitionList/DefinitionList.d.ts.map +0 -1
- package/build/types/components/src/definitionList/index.d.ts.map +0 -1
- package/build/types/components/src/dimmer/Dimmer.d.ts.map +0 -1
- package/build/types/components/src/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
- package/build/types/components/src/dimmer/dimmerManager/index.d.ts.map +0 -1
- package/build/types/components/src/dimmer/index.d.ts.map +0 -1
- package/build/types/components/src/display/Display.d.ts.map +0 -1
- package/build/types/components/src/display/index.d.ts.map +0 -1
- package/build/types/components/src/divider/Divider.d.ts.map +0 -1
- package/build/types/components/src/divider/index.d.ts.map +0 -1
- package/build/types/components/src/drawer/Drawer.d.ts.map +0 -1
- package/build/types/components/src/drawer/index.d.ts.map +0 -1
- package/build/types/components/src/dropFade/DropFade.d.ts.map +0 -1
- package/build/types/components/src/dropFade/index.d.ts.map +0 -1
- package/build/types/components/src/emphasis/Emphasis.d.ts.map +0 -1
- package/build/types/components/src/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
- package/build/types/components/src/emphasis/index.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/index.d.ts.map +0 -1
- package/build/types/components/src/field/Field.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/FlowNavigation.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/animatedLabel/index.d.ts.map +0 -1
- package/build/types/components/src/header/Header.d.ts.map +0 -1
- package/build/types/components/src/header/index.d.ts.map +0 -1
- package/build/types/components/src/i18n/commonMessages/Button.messages.d.ts.map +0 -1
- package/build/types/components/src/i18n/index.d.ts.map +0 -1
- package/build/types/components/src/iconButton/IconButton.d.ts.map +0 -1
- package/build/types/components/src/iconButton/index.d.ts.map +0 -1
- package/build/types/components/src/image/Image.d.ts.map +0 -1
- package/build/types/components/src/image/index.d.ts.map +0 -1
- package/build/types/components/src/index.d.ts.map +0 -1
- package/build/types/components/src/info/Info.d.ts.map +0 -1
- package/build/types/components/src/info/Info.messages.d.ts.map +0 -1
- package/build/types/components/src/info/index.d.ts.map +0 -1
- package/build/types/components/src/info/infoPresentations.d.ts.map +0 -1
- package/build/types/components/src/inlineAlert/InlineAlert.d.ts.map +0 -1
- package/build/types/components/src/inlineAlert/index.d.ts.map +0 -1
- package/build/types/components/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
- package/build/types/components/src/inputWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/components/src/inputs/Input.d.ts.map +0 -1
- package/build/types/components/src/inputs/InputGroup.d.ts.map +0 -1
- package/build/types/components/src/inputs/SearchInput.d.ts.map +0 -1
- package/build/types/components/src/inputs/SelectInput.d.ts.map +0 -1
- package/build/types/components/src/inputs/SelectInput.messages.d.ts.map +0 -1
- package/build/types/components/src/inputs/TextArea.d.ts.map +0 -1
- package/build/types/components/src/inputs/_BottomSheet.d.ts.map +0 -1
- package/build/types/components/src/inputs/_ButtonInput.d.ts.map +0 -1
- package/build/types/components/src/inputs/_Popover.d.ts.map +0 -1
- package/build/types/components/src/inputs/_common.d.ts.map +0 -1
- package/build/types/components/src/inputs/contexts.d.ts.map +0 -1
- package/build/types/components/src/instructionsList/InstructionsList.d.ts.map +0 -1
- package/build/types/components/src/instructionsList/index.d.ts.map +0 -1
- package/build/types/components/src/label/Label.d.ts.map +0 -1
- package/build/types/components/src/label/Label.messages.d.ts.map +0 -1
- package/build/types/components/src/label/index.d.ts.map +0 -1
- package/build/types/components/src/legacylistItem/LegacyListItem.d.ts.map +0 -1
- package/build/types/components/src/legacylistItem/index.d.ts.map +0 -1
- package/build/types/components/src/link/Link.d.ts.map +0 -1
- package/build/types/components/src/link/Link.messages.d.ts.map +0 -1
- package/build/types/components/src/link/index.d.ts.map +0 -1
- package/build/types/components/src/list/List.d.ts.map +0 -1
- package/build/types/components/src/list/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/components/src/listItem/AdditionalInfo/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarLayout/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarView/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Button/ListItemButton.d.ts.map +0 -1
- package/build/types/components/src/listItem/Button/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
- package/build/types/components/src/listItem/Checkbox/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
- package/build/types/components/src/listItem/IconButton/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Image/ListItemImage.d.ts.map +0 -1
- package/build/types/components/src/listItem/Image/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/ListItem.d.ts.map +0 -1
- package/build/types/components/src/listItem/ListItemContext.d.ts.map +0 -1
- package/build/types/components/src/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
- package/build/types/components/src/listItem/Navigation/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
- package/build/types/components/src/listItem/Prompt/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Radio/ListItemRadio.d.ts.map +0 -1
- package/build/types/components/src/listItem/Radio/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
- package/build/types/components/src/listItem/Switch/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/_stories/helpers.d.ts.map +0 -1
- package/build/types/components/src/listItem/_stories/subcomponents.d.ts.map +0 -1
- package/build/types/components/src/listItem/_stories/variants/helpers.d.ts.map +0 -1
- package/build/types/components/src/listItem/constants.d.ts.map +0 -1
- package/build/types/components/src/listItem/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/test-utils.d.ts.map +0 -1
- package/build/types/components/src/listItem/useListItemControl.d.ts.map +0 -1
- package/build/types/components/src/listItem/useListItemMedia.d.ts.map +0 -1
- package/build/types/components/src/loader/Loader.d.ts.map +0 -1
- package/build/types/components/src/loader/index.d.ts.map +0 -1
- package/build/types/components/src/logo/Logo.d.ts.map +0 -1
- package/build/types/components/src/logo/index.d.ts.map +0 -1
- package/build/types/components/src/logo/logo-assets.d.ts.map +0 -1
- package/build/types/components/src/markdown/Markdown.d.ts.map +0 -1
- package/build/types/components/src/markdown/index.d.ts.map +0 -1
- package/build/types/components/src/mocks.d.ts.map +0 -1
- package/build/types/components/src/modal/Modal.d.ts.map +0 -1
- package/build/types/components/src/modal/index.d.ts.map +0 -1
- package/build/types/components/src/money/Money.d.ts.map +0 -1
- package/build/types/components/src/money/index.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/MoneyInput.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/MoneyInput.messages.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/currencyFormatting.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/index.d.ts.map +0 -1
- package/build/types/components/src/navigationOption/NavigationOption.d.ts.map +0 -1
- package/build/types/components/src/navigationOption/index.d.ts.map +0 -1
- package/build/types/components/src/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
- package/build/types/components/src/navigationOptionsList/index.d.ts.map +0 -1
- package/build/types/components/src/nudge/Nudge.d.ts.map +0 -1
- package/build/types/components/src/nudge/index.d.ts.map +0 -1
- package/build/types/components/src/overlayHeader/OverlayHeader.d.ts.map +0 -1
- package/build/types/components/src/overlayHeader/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/data/countries.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
- package/build/types/components/src/popover/Popover.d.ts.map +0 -1
- package/build/types/components/src/popover/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveButton/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/types.d.ts.map +0 -1
- package/build/types/components/src/processIndicator/ProcessIndicator.d.ts.map +0 -1
- package/build/types/components/src/processIndicator/index.d.ts.map +0 -1
- package/build/types/components/src/progress/Progress.d.ts.map +0 -1
- package/build/types/components/src/progress/index.d.ts.map +0 -1
- package/build/types/components/src/progressBar/ProgressBar.d.ts.map +0 -1
- package/build/types/components/src/progressBar/index.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCard.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCardContext.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCardGroup.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCardIndicator.d.ts.map +0 -1
- package/build/types/components/src/promoCard/index.d.ts.map +0 -1
- package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
- package/build/types/components/src/prompt/InlinePrompt/index.d.ts.map +0 -1
- package/build/types/components/src/prompt/index.d.ts.map +0 -1
- package/build/types/components/src/provider/Provider.d.ts.map +0 -1
- package/build/types/components/src/provider/direction/DirectionProvider.d.ts.map +0 -1
- package/build/types/components/src/provider/direction/index.d.ts.map +0 -1
- package/build/types/components/src/provider/index.d.ts.map +0 -1
- package/build/types/components/src/provider/language/LanguageProvider.d.ts.map +0 -1
- package/build/types/components/src/provider/language/index.d.ts.map +0 -1
- package/build/types/components/src/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
- package/build/types/components/src/radio/Radio.d.ts.map +0 -1
- package/build/types/components/src/radio/index.d.ts.map +0 -1
- package/build/types/components/src/radioGroup/RadioGroup.d.ts.map +0 -1
- package/build/types/components/src/radioGroup/index.d.ts.map +0 -1
- package/build/types/components/src/radioOption/RadioOption.d.ts.map +0 -1
- package/build/types/components/src/radioOption/index.d.ts.map +0 -1
- package/build/types/components/src/section/Section.d.ts.map +0 -1
- package/build/types/components/src/section/index.d.ts.map +0 -1
- package/build/types/components/src/segmentedControl/SegmentedControl.d.ts.map +0 -1
- package/build/types/components/src/segmentedControl/index.d.ts.map +0 -1
- package/build/types/components/src/select/Select.d.ts.map +0 -1
- package/build/types/components/src/select/Select.messages.d.ts.map +0 -1
- package/build/types/components/src/select/index.d.ts.map +0 -1
- package/build/types/components/src/select/option/Option.d.ts.map +0 -1
- package/build/types/components/src/select/option/index.d.ts.map +0 -1
- package/build/types/components/src/select/searchBox/SearchBox.d.ts.map +0 -1
- package/build/types/components/src/select/searchBox/index.d.ts.map +0 -1
- package/build/types/components/src/sentimentSurface/SentimentSurface.d.ts.map +0 -1
- package/build/types/components/src/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
- package/build/types/components/src/sentimentSurface/index.d.ts.map +0 -1
- package/build/types/components/src/slidingPanel/SlidingPanel.d.ts.map +0 -1
- package/build/types/components/src/slidingPanel/index.d.ts.map +0 -1
- package/build/types/components/src/snackbar/Snackbar.d.ts.map +0 -1
- package/build/types/components/src/snackbar/SnackbarContext.d.ts.map +0 -1
- package/build/types/components/src/snackbar/SnackbarProvider.d.ts.map +0 -1
- package/build/types/components/src/snackbar/index.d.ts.map +0 -1
- package/build/types/components/src/snackbar/useSnackbar.d.ts.map +0 -1
- package/build/types/components/src/statusIcon/StatusIcon.d.ts.map +0 -1
- package/build/types/components/src/statusIcon/StatusIcon.messages.d.ts.map +0 -1
- package/build/types/components/src/statusIcon/index.d.ts.map +0 -1
- package/build/types/components/src/stepper/Stepper.d.ts.map +0 -1
- package/build/types/components/src/stepper/deviceDetection.d.ts.map +0 -1
- package/build/types/components/src/sticky/Sticky.d.ts.map +0 -1
- package/build/types/components/src/sticky/index.d.ts.map +0 -1
- package/build/types/components/src/summary/Summary.d.ts.map +0 -1
- package/build/types/components/src/summary/Summary.messages.d.ts.map +0 -1
- package/build/types/components/src/summary/index.d.ts.map +0 -1
- package/build/types/components/src/switch/Switch.d.ts.map +0 -1
- package/build/types/components/src/switch/index.d.ts.map +0 -1
- package/build/types/components/src/switchOption/SwitchOption.d.ts.map +0 -1
- package/build/types/components/src/switchOption/index.d.ts.map +0 -1
- package/build/types/components/src/table/Table.d.ts.map +0 -1
- package/build/types/components/src/table/Table.messages.d.ts.map +0 -1
- package/build/types/components/src/table/TableCell.d.ts.map +0 -1
- package/build/types/components/src/table/TableHeader.d.ts.map +0 -1
- package/build/types/components/src/table/TableRow.d.ts.map +0 -1
- package/build/types/components/src/table/TableStatusText.d.ts.map +0 -1
- package/build/types/components/src/table/index.d.ts.map +0 -1
- package/build/types/components/src/tabs/Tab.d.ts.map +0 -1
- package/build/types/components/src/tabs/TabList.d.ts.map +0 -1
- package/build/types/components/src/tabs/TabPanel.d.ts.map +0 -1
- package/build/types/components/src/tabs/Tabs.d.ts.map +0 -1
- package/build/types/components/src/tabs/index.d.ts.map +0 -1
- package/build/types/components/src/tabs/utils.d.ts.map +0 -1
- package/build/types/components/src/test-utils/fake-data.d.ts.map +0 -1
- package/build/types/components/src/test-utils/index.d.ts.map +0 -1
- package/build/types/components/src/test-utils/jest.setup.d.ts.map +0 -1
- package/build/types/components/src/test-utils/style-mock.d.ts.map +0 -1
- package/build/types/components/src/test-utils/wait.d.ts.map +0 -1
- package/build/types/components/src/test-utils/window-mock.d.ts.map +0 -1
- package/build/types/components/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
- package/build/types/components/src/textareaWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/components/src/tile/Tile.d.ts.map +0 -1
- package/build/types/components/src/tile/index.d.ts.map +0 -1
- package/build/types/components/src/title/Title.d.ts.map +0 -1
- package/build/types/components/src/title/index.d.ts.map +0 -1
- package/build/types/components/src/tooltip/Tooltip.d.ts.map +0 -1
- package/build/types/components/src/tooltip/index.d.ts.map +0 -1
- package/build/types/components/src/typeahead/Typeahead.d.ts.map +0 -1
- package/build/types/components/src/typeahead/Typeahead.messages.d.ts.map +0 -1
- package/build/types/components/src/typeahead/index.d.ts.map +0 -1
- package/build/types/components/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
- package/build/types/components/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
- package/build/types/components/src/typeahead/util/highlight.d.ts.map +0 -1
- package/build/types/components/src/upload/Upload.d.ts.map +0 -1
- package/build/types/components/src/upload/Upload.messages.d.ts.map +0 -1
- package/build/types/components/src/upload/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/completeStep/completeStep.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/completeStep/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/processingStep/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/processingStep/processingStep.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/uploadImageStep/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/asyncFileRead/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/getFileType/getFileType.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/getFileType/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isSizeValid/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isTypeValid/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/postData/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/postData/postData.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/UploadInput.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/UploadInput.messages.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/index.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/types.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/defaults.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
- package/build/types/components/src/utilities/cssValueWithUnit.d.ts.map +0 -1
- package/build/types/components/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
- package/build/types/components/src/utilities/deprecatedProperty/index.d.ts.map +0 -1
- package/build/types/components/src/utilities/index.d.ts.map +0 -1
- package/build/types/components/src/utilities/logActionRequired.d.ts.map +0 -1
- package/build/types/components/src/utils.d.ts.map +0 -1
- package/build/types/components/src/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
- package/build/types/components/src/withDisplayFormat/index.d.ts.map +0 -1
- package/build/types/components/src/withId/index.d.ts.map +0 -1
- package/build/types/components/src/withId/story/source.d.ts.map +0 -1
- package/build/types/components/src/withId/withId.d.ts.map +0 -1
- package/build/types/components/src/withNextPortal/withNextPortal.d.ts.map +0 -1
- package/build/types/components-theming/src/ThemeProvider.d.ts +0 -7
- package/build/types/components-theming/src/ThemeProvider.d.ts.map +0 -1
- package/build/types/components-theming/src/ThemeProviderContext.d.ts +0 -8
- package/build/types/components-theming/src/ThemeProviderContext.d.ts.map +0 -1
- package/build/types/components-theming/src/ThemedChildren.d.ts +0 -8
- package/build/types/components-theming/src/ThemedChildren.d.ts.map +0 -1
- package/build/types/components-theming/src/const.d.ts +0 -35
- package/build/types/components-theming/src/const.d.ts.map +0 -1
- package/build/types/components-theming/src/helpers.d.ts +0 -11
- package/build/types/components-theming/src/helpers.d.ts.map +0 -1
- package/build/types/components-theming/src/index.d.ts +0 -5
- package/build/types/components-theming/src/index.d.ts.map +0 -1
- package/build/types/components-theming/src/useTheme.d.ts +0 -17
- package/build/types/components-theming/src/useTheme.d.ts.map +0 -1
- /package/build/types/{components/src/accordion → accordion}/Accordion.d.ts +0 -0
- /package/build/types/{components/src/accordion → accordion}/AccordionItem/AccordionItem.d.ts +0 -0
- /package/build/types/{components/src/accordion → accordion}/AccordionItem/index.d.ts +0 -0
- /package/build/types/{components/src/accordion → accordion}/index.d.ts +0 -0
- /package/build/types/{components/src/actionButton → actionButton}/ActionButton.d.ts +0 -0
- /package/build/types/{components/src/actionButton → actionButton}/index.d.ts +0 -0
- /package/build/types/{components/src/actionOption → actionOption}/ActionOption.d.ts +0 -0
- /package/build/types/{components/src/actionOption → actionOption}/index.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/Alert.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/index.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/inlineMarkdown/index.d.ts +0 -0
- /package/build/types/{components/src/avatar → avatar}/Avatar.d.ts +0 -0
- /package/build/types/{components/src/avatar → avatar}/avatarTypes.d.ts +0 -0
- /package/build/types/{components/src/avatar → avatar}/index.d.ts +0 -0
- /package/build/types/{components/src/avatarLayout → avatarLayout}/AvatarLayout.d.ts +0 -0
- /package/build/types/{components/src/avatarLayout → avatarLayout}/index.d.ts +0 -0
- /package/build/types/{components/src/avatarView → avatarView}/AvatarView.d.ts +0 -0
- /package/build/types/{components/src/avatarView → avatarView}/Dot.d.ts +0 -0
- /package/build/types/{components/src/avatarView → avatarView}/index.d.ts +0 -0
- /package/build/types/{components/src/avatarWrapper → avatarWrapper}/AvatarWrapper.d.ts +0 -0
- /package/build/types/{components/src/avatarWrapper → avatarWrapper}/index.d.ts +0 -0
- /package/build/types/{components/src/badge → badge}/Badge.d.ts +0 -0
- /package/build/types/{components/src/badge → badge}/BadgeAssets.d.ts +0 -0
- /package/build/types/{components/src/badge → badge}/index.d.ts +0 -0
- /package/build/types/{components/src/body → body}/Body.d.ts +0 -0
- /package/build/types/{components/src/body → body}/index.d.ts +0 -0
- /package/build/types/{components/src/button → button}/Button.d.ts +0 -0
- /package/build/types/{components/src/button → button}/Button.resolver.d.ts +0 -0
- /package/build/types/{components/src/button → button}/Button.types.d.ts +0 -0
- /package/build/types/{components/src/button → button}/LegacyButton.d.ts +0 -0
- /package/build/types/{components/src/button → button}/_stories/helpers.d.ts +0 -0
- /package/build/types/{components/src/button → button}/classMap.d.ts +0 -0
- /package/build/types/{components/src/button → button}/index.d.ts +0 -0
- /package/build/types/{components/src/button → button}/legacyUtils/index.d.ts +0 -0
- /package/build/types/{components/src/button → button}/legacyUtils/legacyUtils.d.ts +0 -0
- /package/build/types/{components/src/card → card}/Card.d.ts +0 -0
- /package/build/types/{components/src/card → card}/index.d.ts +0 -0
- /package/build/types/{components/src/carousel → carousel}/Carousel.d.ts +0 -0
- /package/build/types/{components/src/carousel → carousel}/index.d.ts +0 -0
- /package/build/types/{components/src/checkbox → checkbox}/Checkbox.d.ts +0 -0
- /package/build/types/{components/src/checkbox → checkbox}/index.d.ts +0 -0
- /package/build/types/{components/src/checkboxButton → checkboxButton}/CheckboxButton.d.ts +0 -0
- /package/build/types/{components/src/checkboxButton → checkboxButton}/index.d.ts +0 -0
- /package/build/types/{components/src/checkboxOption → checkboxOption}/CheckboxOption.d.ts +0 -0
- /package/build/types/{components/src/checkboxOption → checkboxOption}/index.d.ts +0 -0
- /package/build/types/{components/src/chevron → chevron}/Chevron.d.ts +0 -0
- /package/build/types/{components/src/chevron → chevron}/index.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/Chip.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/Chips.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/Chips.messages.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/index.d.ts +0 -0
- /package/build/types/{components/src/circularButton → circularButton}/CircularButton.d.ts +0 -0
- /package/build/types/{components/src/circularButton → circularButton}/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/DOMOperations/DOMOperations.d.ts +0 -0
- /package/build/types/{components/src/common → common}/DOMOperations/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/Option/Option.d.ts +0 -0
- /package/build/types/{components/src/common → common}/Option/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/RadioButton/RadioButton.d.ts +0 -0
- /package/build/types/{components/src/common → common}/RadioButton/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/bottomSheet/BottomSheet.d.ts +0 -0
- /package/build/types/{components/src/common → common}/bottomSheet/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/card/Card.d.ts +0 -0
- /package/build/types/{components/src/common → common}/card/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/circle/Circle.d.ts +0 -0
- /package/build/types/{components/src/common → common}/circle/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/closeButton/CloseButton.d.ts +0 -0
- /package/build/types/{components/src/common → common}/closeButton/CloseButton.messages.d.ts +0 -0
- /package/build/types/{components/src/common → common}/closeButton/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/colors.d.ts +0 -0
- /package/build/types/{components/src/common → common}/commonProps.d.ts +0 -0
- /package/build/types/{components/src/common → common}/constants.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getDateView/getDateView.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
- /package/build/types/{components/src/common → common}/deviceDetection/deviceDetection.d.ts +0 -0
- /package/build/types/{components/src/common → common}/deviceDetection/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/direction.d.ts +0 -0
- /package/build/types/{components/src/common → common}/domHelpers/documentIosClick.d.ts +0 -0
- /package/build/types/{components/src/common → common}/domHelpers/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/fakeEvents.d.ts +0 -0
- /package/build/types/{components/src/common → common}/fileType.d.ts +0 -0
- /package/build/types/{components/src/common → common}/flowHeader/FlowHeader.d.ts +0 -0
- /package/build/types/{components/src/common → common}/flowHeader/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/focusBoundary/FocusBoundary.d.ts +0 -0
- /package/build/types/{components/src/common → common}/focusBoundary/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/historyNavigator/historyNavigator.d.ts +0 -0
- /package/build/types/{components/src/common → common}/historyNavigator/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useConditionalListener/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useDirection/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useDirection/useDirection.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useEffectEvent.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useHasIntersected/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useLayout/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useLayout/useLayout.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useMedia.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useResizeObserver.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useScreenSize.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useVirtualKeyboard.d.ts +0 -0
- /package/build/types/{components/src/common → common}/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/initials.d.ts +0 -0
- /package/build/types/{components/src/common → common}/locale/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/panel/Panel.d.ts +0 -0
- /package/build/types/{components/src/common → common}/panel/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
- /package/build/types/{components/src/common → common}/preventScroll/PreventScroll.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/breakpoint.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/control.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/dateMode.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/layouts.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/markdownNodeType.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/monthFormat.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/position.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/profileType.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/scroll.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/sentiment.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/size.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/status.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/type.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/typography.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/variant.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/width.d.ts +0 -0
- /package/build/types/{components/src/common → common}/responsivePanel/ResponsivePanel.d.ts +0 -0
- /package/build/types/{components/src/common → common}/responsivePanel/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/formatWithPattern/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/unformatWithPattern/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
- /package/build/types/{components/src/common → common}/theme.d.ts +0 -0
- /package/build/types/{components/src/criticalBanner → criticalBanner}/CriticalCommsBanner.d.ts +0 -0
- /package/build/types/{components/src/criticalBanner → criticalBanner}/index.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/DateInput.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/DateInput.messages.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/index.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/utils/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/DateLookup.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/DateLookup.messages.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateHeader/DateHeader.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateHeader/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/table/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/getStartOfDay/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/table/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/tableLink/TableLink.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/tableLink/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/table/index.d.ts +0 -0
- /package/build/types/{components/src/decision → decision}/Decision.d.ts +0 -0
- /package/build/types/{components/src/decision → decision}/index.d.ts +0 -0
- /package/build/types/{components/src/definitionList → definitionList}/DefinitionList.d.ts +0 -0
- /package/build/types/{components/src/definitionList → definitionList}/index.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/Dimmer.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/dimmerManager/index.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/index.d.ts +0 -0
- /package/build/types/{components/src/display → display}/Display.d.ts +0 -0
- /package/build/types/{components/src/display → display}/index.d.ts +0 -0
- /package/build/types/{components/src/divider → divider}/Divider.d.ts +0 -0
- /package/build/types/{components/src/divider → divider}/index.d.ts +0 -0
- /package/build/types/{components/src/drawer → drawer}/Drawer.d.ts +0 -0
- /package/build/types/{components/src/drawer → drawer}/index.d.ts +0 -0
- /package/build/types/{components/src/dropFade → dropFade}/DropFade.d.ts +0 -0
- /package/build/types/{components/src/dropFade → dropFade}/index.d.ts +0 -0
- /package/build/types/{components/src/emphasis → emphasis}/Emphasis.d.ts +0 -0
- /package/build/types/{components/src/emphasis → emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
- /package/build/types/{components/src/emphasis → emphasis}/index.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/index.d.ts +0 -0
- /package/build/types/{components/src/field → field}/Field.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/FlowNavigation.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/FlowNavigation.messages.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/animatedLabel/index.d.ts +0 -0
- /package/build/types/{components/src/header → header}/Header.d.ts +0 -0
- /package/build/types/{components/src/header → header}/index.d.ts +0 -0
- /package/build/types/{components/src/i18n → i18n}/commonMessages/Button.messages.d.ts +0 -0
- /package/build/types/{components/src/i18n → i18n}/index.d.ts +0 -0
- /package/build/types/{components/src/iconButton → iconButton}/IconButton.d.ts +0 -0
- /package/build/types/{components/src/iconButton → iconButton}/index.d.ts +0 -0
- /package/build/types/{components/src/image → image}/Image.d.ts +0 -0
- /package/build/types/{components/src/image → image}/index.d.ts +0 -0
- /package/build/types/{components/src/index.d.ts → index.d.ts} +0 -0
- /package/build/types/{components/src/info → info}/Info.d.ts +0 -0
- /package/build/types/{components/src/info → info}/Info.messages.d.ts +0 -0
- /package/build/types/{components/src/info → info}/index.d.ts +0 -0
- /package/build/types/{components/src/info → info}/infoPresentations.d.ts +0 -0
- /package/build/types/{components/src/inlineAlert → inlineAlert}/InlineAlert.d.ts +0 -0
- /package/build/types/{components/src/inlineAlert → inlineAlert}/index.d.ts +0 -0
- /package/build/types/{components/src/inputWithDisplayFormat → inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
- /package/build/types/{components/src/inputWithDisplayFormat → inputWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/Input.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/InputGroup.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/SearchInput.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/SelectInput.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/SelectInput.messages.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/TextArea.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_BottomSheet.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_ButtonInput.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_Popover.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_common.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/contexts.d.ts +0 -0
- /package/build/types/{components/src/instructionsList → instructionsList}/InstructionsList.d.ts +0 -0
- /package/build/types/{components/src/instructionsList → instructionsList}/index.d.ts +0 -0
- /package/build/types/{components/src/label → label}/Label.d.ts +0 -0
- /package/build/types/{components/src/label → label}/Label.messages.d.ts +0 -0
- /package/build/types/{components/src/label → label}/index.d.ts +0 -0
- /package/build/types/{components/src/legacylistItem → legacylistItem}/LegacyListItem.d.ts +0 -0
- /package/build/types/{components/src/legacylistItem → legacylistItem}/index.d.ts +0 -0
- /package/build/types/{components/src/link → link}/Link.d.ts +0 -0
- /package/build/types/{components/src/link → link}/Link.messages.d.ts +0 -0
- /package/build/types/{components/src/link → link}/index.d.ts +0 -0
- /package/build/types/{components/src/list → list}/List.d.ts +0 -0
- /package/build/types/{components/src/list → list}/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AdditionalInfo/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarLayout/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarView/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Button/ListItemButton.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Button/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Checkbox/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/IconButton/ListItemIconButton.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/IconButton/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Image/ListItemImage.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Image/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/ListItem.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/ListItemContext.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Navigation/ListItemNavigation.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Navigation/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Prompt/ListItemPrompt.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Prompt/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Radio/ListItemRadio.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Radio/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Switch/ListItemSwitch.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Switch/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/_stories/helpers.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/_stories/subcomponents.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/_stories/variants/helpers.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/constants.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/test-utils.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/useListItemControl.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/useListItemMedia.d.ts +0 -0
- /package/build/types/{components/src/loader → loader}/Loader.d.ts +0 -0
- /package/build/types/{components/src/loader → loader}/index.d.ts +0 -0
- /package/build/types/{components/src/logo → logo}/Logo.d.ts +0 -0
- /package/build/types/{components/src/logo → logo}/index.d.ts +0 -0
- /package/build/types/{components/src/logo → logo}/logo-assets.d.ts +0 -0
- /package/build/types/{components/src/markdown → markdown}/Markdown.d.ts +0 -0
- /package/build/types/{components/src/markdown → markdown}/index.d.ts +0 -0
- /package/build/types/{components/src/mocks.d.ts → mocks.d.ts} +0 -0
- /package/build/types/{components/src/modal → modal}/Modal.d.ts +0 -0
- /package/build/types/{components/src/modal → modal}/index.d.ts +0 -0
- /package/build/types/{components/src/money → money}/Money.d.ts +0 -0
- /package/build/types/{components/src/money → money}/index.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/MoneyInput.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/MoneyInput.messages.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/currencyFormatting.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/index.d.ts +0 -0
- /package/build/types/{components/src/navigationOption → navigationOption}/NavigationOption.d.ts +0 -0
- /package/build/types/{components/src/navigationOption → navigationOption}/index.d.ts +0 -0
- /package/build/types/{components/src/navigationOptionsList → navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
- /package/build/types/{components/src/navigationOptionsList → navigationOptionsList}/index.d.ts +0 -0
- /package/build/types/{components/src/nudge → nudge}/Nudge.d.ts +0 -0
- /package/build/types/{components/src/nudge → nudge}/index.d.ts +0 -0
- /package/build/types/{components/src/overlayHeader → overlayHeader}/OverlayHeader.d.ts +0 -0
- /package/build/types/{components/src/overlayHeader → overlayHeader}/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/data/countries.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
- /package/build/types/{components/src/popover → popover}/Popover.d.ts +0 -0
- /package/build/types/{components/src/popover → popover}/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/types.d.ts +0 -0
- /package/build/types/{components/src/processIndicator → processIndicator}/ProcessIndicator.d.ts +0 -0
- /package/build/types/{components/src/processIndicator → processIndicator}/index.d.ts +0 -0
- /package/build/types/{components/src/progress → progress}/Progress.d.ts +0 -0
- /package/build/types/{components/src/progress → progress}/index.d.ts +0 -0
- /package/build/types/{components/src/progressBar → progressBar}/ProgressBar.d.ts +0 -0
- /package/build/types/{components/src/progressBar → progressBar}/index.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCard.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCardContext.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCardGroup.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCardIndicator.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/index.d.ts +0 -0
- /package/build/types/{components/src/prompt → prompt}/InlinePrompt/InlinePrompt.d.ts +0 -0
- /package/build/types/{components/src/prompt → prompt}/InlinePrompt/index.d.ts +0 -0
- /package/build/types/{components/src/prompt → prompt}/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/Provider.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/direction/DirectionProvider.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/direction/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/language/LanguageProvider.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/language/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/overlay/OverlayIdProvider.d.ts +0 -0
- /package/build/types/{components/src/radio → radio}/Radio.d.ts +0 -0
- /package/build/types/{components/src/radio → radio}/index.d.ts +0 -0
- /package/build/types/{components/src/radioGroup → radioGroup}/RadioGroup.d.ts +0 -0
- /package/build/types/{components/src/radioGroup → radioGroup}/index.d.ts +0 -0
- /package/build/types/{components/src/radioOption → radioOption}/RadioOption.d.ts +0 -0
- /package/build/types/{components/src/radioOption → radioOption}/index.d.ts +0 -0
- /package/build/types/{components/src/section → section}/Section.d.ts +0 -0
- /package/build/types/{components/src/section → section}/index.d.ts +0 -0
- /package/build/types/{components/src/segmentedControl → segmentedControl}/SegmentedControl.d.ts +0 -0
- /package/build/types/{components/src/segmentedControl → segmentedControl}/index.d.ts +0 -0
- /package/build/types/{components/src/select → select}/Select.d.ts +0 -0
- /package/build/types/{components/src/select → select}/Select.messages.d.ts +0 -0
- /package/build/types/{components/src/select → select}/index.d.ts +0 -0
- /package/build/types/{components/src/select → select}/option/Option.d.ts +0 -0
- /package/build/types/{components/src/select → select}/option/index.d.ts +0 -0
- /package/build/types/{components/src/select → select}/searchBox/SearchBox.d.ts +0 -0
- /package/build/types/{components/src/select → select}/searchBox/index.d.ts +0 -0
- /package/build/types/{components/src/sentimentSurface → sentimentSurface}/SentimentSurface.d.ts +0 -0
- /package/build/types/{components/src/sentimentSurface → sentimentSurface}/SentimentSurface.types.d.ts +0 -0
- /package/build/types/{components/src/sentimentSurface → sentimentSurface}/index.d.ts +0 -0
- /package/build/types/{components/src/slidingPanel → slidingPanel}/SlidingPanel.d.ts +0 -0
- /package/build/types/{components/src/slidingPanel → slidingPanel}/index.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/Snackbar.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/SnackbarContext.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/SnackbarProvider.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/index.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/useSnackbar.d.ts +0 -0
- /package/build/types/{components/src/statusIcon → statusIcon}/StatusIcon.d.ts +0 -0
- /package/build/types/{components/src/statusIcon → statusIcon}/StatusIcon.messages.d.ts +0 -0
- /package/build/types/{components/src/statusIcon → statusIcon}/index.d.ts +0 -0
- /package/build/types/{components/src/stepper → stepper}/Stepper.d.ts +0 -0
- /package/build/types/{components/src/stepper → stepper}/deviceDetection.d.ts +0 -0
- /package/build/types/{components/src/sticky → sticky}/Sticky.d.ts +0 -0
- /package/build/types/{components/src/sticky → sticky}/index.d.ts +0 -0
- /package/build/types/{components/src/summary → summary}/Summary.d.ts +0 -0
- /package/build/types/{components/src/summary → summary}/Summary.messages.d.ts +0 -0
- /package/build/types/{components/src/summary → summary}/index.d.ts +0 -0
- /package/build/types/{components/src/switch → switch}/Switch.d.ts +0 -0
- /package/build/types/{components/src/switch → switch}/index.d.ts +0 -0
- /package/build/types/{components/src/switchOption → switchOption}/SwitchOption.d.ts +0 -0
- /package/build/types/{components/src/switchOption → switchOption}/index.d.ts +0 -0
- /package/build/types/{components/src/table → table}/Table.d.ts +0 -0
- /package/build/types/{components/src/table → table}/Table.messages.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableCell.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableHeader.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableRow.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableStatusText.d.ts +0 -0
- /package/build/types/{components/src/table → table}/index.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/Tab.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/TabList.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/TabPanel.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/Tabs.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/index.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/utils.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/fake-data.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/index.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/jest.setup.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/style-mock.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/wait.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/window-mock.d.ts +0 -0
- /package/build/types/{components/src/textareaWithDisplayFormat → textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
- /package/build/types/{components/src/textareaWithDisplayFormat → textareaWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{components/src/tile → tile}/Tile.d.ts +0 -0
- /package/build/types/{components/src/tile → tile}/index.d.ts +0 -0
- /package/build/types/{components/src/title → title}/Title.d.ts +0 -0
- /package/build/types/{components/src/title → title}/index.d.ts +0 -0
- /package/build/types/{components/src/tooltip → tooltip}/Tooltip.d.ts +0 -0
- /package/build/types/{components/src/tooltip → tooltip}/index.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/Typeahead.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/Typeahead.messages.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/index.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/util/highlight.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/Upload.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/Upload.messages.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/completeStep/completeStep.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/completeStep/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/processingStep/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/processingStep/processingStep.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/uploadImageStep/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/asyncFileRead/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/getFileType/getFileType.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/getFileType/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isSizeValid/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isTypeValid/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/postData/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/postData/postData.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/UploadInput.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/UploadInput.messages.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/index.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/types.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/UploadButton.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/defaults.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItem.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/cssValueWithUnit.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/deprecatedProperty/index.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/index.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/logActionRequired.d.ts +0 -0
- /package/build/types/{components/src/utils.d.ts → utils.d.ts} +0 -0
- /package/build/types/{components/src/withDisplayFormat → withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
- /package/build/types/{components/src/withDisplayFormat → withDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{components/src/withId → withId}/index.d.ts +0 -0
- /package/build/types/{components/src/withId → withId}/story/source.d.ts +0 -0
- /package/build/types/{components/src/withId → withId}/withId.d.ts +0 -0
- /package/build/types/{components/src/withNextPortal → withNextPortal}/withNextPortal.d.ts +0 -0
package/build/tabs/Tabs.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.mjs","sources":["../../src/tabs/Tabs.tsx"],"sourcesContent":["import { Spring, animated } from '@react-spring/web';\nimport { clsx } from 'clsx';\nimport clamp from 'lodash.clamp';\nimport { Component, createRef, Fragment } from 'react';\n\nimport { Size, Width, Direction } from '../common';\nimport { DirectionContext } from '../provider/direction';\n\nimport Tab from './Tab';\nimport TabList from './TabList';\nimport TabPanel from './TabPanel';\nimport {\n getElasticDragDifference,\n getSwipeDifference,\n swipedLeftToRight,\n swipedRightToLeft,\n swipeShouldChangeTab,\n getVelocity,\n Swipe,\n} from './utils';\n\nconst MIN_INDEX = 0;\n\nexport interface TabItem {\n title: string;\n content: React.ReactNode;\n disabled: boolean;\n}\n\ntype TabsTransitionSpacing =\n | 'default'\n | `${Size.EXTRA_SMALL | Size.SMALL | Size.MEDIUM | Size.LARGE}`;\n\nexport interface TabsProps {\n tabs: TabItem[];\n selected: number;\n name: string;\n animatePanelsOnClick?: boolean;\n changeTabOnSwipe?: boolean;\n className?: string;\n transitionSpacing?: TabsTransitionSpacing;\n headerWidth?: `${Width}`;\n id?: string;\n onTabSelect: (index: number) => void;\n}\n\ninterface TabsState {\n start: Swipe | null;\n translateX: number;\n translateFrom: number;\n translateTo: number;\n translateLineX: string | null;\n isAnimating: boolean;\n isSwiping: boolean;\n isScrolling: boolean;\n lastSwipeVelocity: number;\n fullWidthTabs: boolean;\n currentSwipe: Swipe[];\n selectedTabIndex: number;\n}\n\nconst SpacerWidth = {\n default: 0,\n xs: 8,\n sm: 16,\n md: 24,\n lg: 32,\n} satisfies Record<TabsTransitionSpacing, number>;\n\nexport default class Tabs extends Component<TabsProps, TabsState> {\n declare props: TabsProps & Required<Pick<TabsProps, keyof typeof Tabs.defaultProps>>;\n\n static defaultProps = {\n changeTabOnSwipe: true,\n transitionSpacing: 'default',\n headerWidth: Width.BLOCK,\n } satisfies Partial<TabsProps>;\n\n containerReference = createRef<HTMLDivElement>();\n\n constructor(props: Tabs['props']) {\n super(props);\n this.state = {\n start: null,\n translateX: 0,\n translateFrom: 0,\n translateTo: 0,\n translateLineX: null,\n isAnimating: false,\n isSwiping: false,\n isScrolling: false,\n lastSwipeVelocity: 0,\n fullWidthTabs: props.headerWidth === Width.BLOCK,\n currentSwipe: [],\n selectedTabIndex: props.selected,\n };\n }\n\n container: HTMLDivElement | null = null;\n\n containerWidth = 0;\n\n tabRefs: (HTMLLIElement | null)[] = [];\n\n get filteredTabsLength() {\n return this.props.tabs.filter((tab) => !tab.disabled).length;\n }\n\n get MAX_INDEX() {\n return this.props.tabs.length - 1;\n }\n\n componentDidMount() {\n const { selected } = this.props;\n\n this.setTabWidth();\n this.switchTab(clamp(selected, MIN_INDEX, this.MAX_INDEX));\n this.animateToTab(clamp(selected, MIN_INDEX, this.MAX_INDEX), true);\n document.body.addEventListener('touchmove', this.disableScroll, { passive: false });\n document.body.addEventListener('touchforcechange', this.disableScroll, { passive: false });\n window.addEventListener('resize', this.handleResize);\n }\n\n componentDidUpdate(previousProps: TabsProps, previousState: TabsState) {\n const currentSelected = this.props.selected;\n const previousSelected = previousProps.selected;\n const currentSelectedTab = this.props.tabs[currentSelected];\n const currentSelectedTabIsDisabled = currentSelectedTab?.disabled;\n const previousSelectedTab = previousProps.tabs[previousSelected];\n const previousSelectedTabIsDisabled = previousSelectedTab?.disabled;\n const currentTabsLength = this.props.tabs.length;\n const previousTabsLength = previousProps.tabs.length;\n const currentDisabledTabsLength = this.props.tabs.filter((tab) => !tab.disabled).length;\n const previousDisabledTabsLength = previousProps.tabs.filter((tab) => !tab.disabled).length;\n const currentHeaderWidth = this.props.headerWidth;\n const previousFullHeaderWidth = previousProps.headerWidth;\n const { animatePanelsOnClick } = this.props;\n const instantOnClick = !animatePanelsOnClick && !previousState.isSwiping;\n\n if (\n currentHeaderWidth !== previousFullHeaderWidth ||\n currentTabsLength !== previousTabsLength\n ) {\n this.setTabWidth();\n }\n\n if (\n currentSelected !== previousSelected ||\n currentDisabledTabsLength !== previousDisabledTabsLength ||\n currentSelectedTabIsDisabled !== previousSelectedTabIsDisabled\n ) {\n this.animateToTab(\n clamp(currentSelected, MIN_INDEX, this.MAX_INDEX),\n currentSelected === previousSelected || instantOnClick,\n );\n }\n }\n\n componentWillUnmount() {\n document.body.removeEventListener('touchmove', this.disableScroll);\n document.body.removeEventListener('touchforcechange', this.disableScroll);\n window.removeEventListener('resize', this.handleResize);\n }\n\n handleResize = () => {\n this.setContainerWidth(this.container);\n\n this.setState(({ selectedTabIndex }) => ({\n translateTo: -(this.containerWidth * selectedTabIndex),\n }));\n };\n\n setContainerRefAndWidth = (node: HTMLDivElement | null) => {\n this.container = node;\n this.setContainerWidth(node);\n };\n\n setContainerWidth = (node: HTMLDivElement | null) => {\n if (!node) {\n return;\n }\n\n const { width } = node.getBoundingClientRect();\n\n this.containerWidth = width;\n };\n\n isTabDisabled = (index: number) => {\n const { tabs } = this.props;\n\n return tabs[index]?.disabled ?? false;\n };\n\n getAllTabsWidth = () => {\n return this.tabRefs\n .map((reference) => {\n return reference ? reference.getBoundingClientRect().width : 0;\n })\n .reduce((a, b) => a + b, 0);\n };\n\n getDistanceToSelectedTab = (selectedTabIndex: number) => {\n return this.tabRefs\n .filter((_, idx) => idx < selectedTabIndex)\n .map((reference) => (reference ? reference.getBoundingClientRect().width : 0))\n .reduce((a, b) => a + b, 0);\n };\n\n setTabWidth = () => {\n const { fullWidthTabs } = this.state;\n const { headerWidth, selected } = this.props;\n\n const allTabsWidth = this.getAllTabsWidth();\n\n if (!fullWidthTabs && (headerWidth === Width.BLOCK || this.containerWidth < allTabsWidth)) {\n this.setState({ fullWidthTabs: true, translateLineX: `${selected * 100}%` });\n }\n if (fullWidthTabs && headerWidth === Width.AUTO && this.containerWidth >= allTabsWidth) {\n this.setState({\n fullWidthTabs: false,\n translateLineX: `${this.getDistanceToSelectedTab(selected)}px`,\n });\n }\n };\n\n getTabLineWidth = () => {\n const { fullWidthTabs } = this.state;\n const { selected, tabs } = this.props;\n\n if (fullWidthTabs) {\n return `${(1 / tabs.length) * 100}%`;\n }\n\n const reference = this.tabRefs[selected] || this.tabRefs[this.tabRefs.length - 1];\n const width = reference ? reference.getBoundingClientRect().width : 0;\n return `${width}px`;\n };\n\n /*\n * Gets the next tab that should be selected based on the swipe direction\n * and the current selected tab (is called recursively to account for disabled tabs).\n */\n getTabToSelect = (selected: number, start: Swipe, end: Swipe): number => {\n let nextSelected = selected;\n\n if (swipedLeftToRight(start, end)) {\n nextSelected -= 1;\n\n if (nextSelected > MIN_INDEX && this.isTabDisabled(nextSelected)) {\n return this.getTabToSelect(nextSelected, start, end);\n }\n } else if (swipedRightToLeft(start, end)) {\n nextSelected += 1;\n\n if (nextSelected < this.MAX_INDEX && this.isTabDisabled(nextSelected)) {\n return this.getTabToSelect(nextSelected, start, end);\n }\n }\n\n nextSelected = clamp(\n nextSelected,\n Math.max(selected - 1, MIN_INDEX),\n Math.min(selected + 1, this.MAX_INDEX),\n );\n\n if (this.isTabDisabled(nextSelected)) {\n return selected;\n }\n\n return nextSelected;\n };\n\n swipedOverHalfOfContainer = (difference: number) => difference / this.containerWidth >= 0.5;\n\n calculateApplicableDragDifference = ({\n currentSelected,\n nextSelected,\n start,\n end,\n }: {\n currentSelected: number;\n nextSelected: number;\n start: Swipe;\n end: Swipe;\n }) => {\n const difference = getSwipeDifference(start, end);\n const elasticDrag = getElasticDragDifference(difference);\n\n if (swipedLeftToRight(start, end)) {\n if (currentSelected > MIN_INDEX && currentSelected !== nextSelected) {\n return Math.min(difference, this.containerWidth);\n }\n return elasticDrag;\n }\n if (swipedRightToLeft(start, end)) {\n if (currentSelected < this.MAX_INDEX && currentSelected !== nextSelected) {\n return -Math.min(difference, this.containerWidth);\n }\n return -elasticDrag;\n }\n\n return false;\n };\n\n switchTab = (index: number) => {\n const { onTabSelect } = this.props;\n onTabSelect(index);\n };\n\n getTabIndexWithoutDisabledTabs(index: number) {\n return index - this.props.tabs.slice(0, index).filter((tab) => tab.disabled).length;\n }\n\n animateToTab = (index: number, instant?: boolean) => {\n this.animateLine(index);\n\n this.animatePanel(this.getTabIndexWithoutDisabledTabs(index), instant);\n };\n\n animateLine = (index: number) => {\n this.setState((previousState) => ({\n translateLineX: previousState.fullWidthTabs\n ? `${index * 100}%`\n : `${this.getDistanceToSelectedTab(index)}px`,\n }));\n };\n\n // Pass `instant` to set the `translateX` to the new panel with no transition\n animatePanel = (index: number, instant = false) => {\n const { translateTo: currentTranslateTo } = this.state;\n\n const translateFrom = currentTranslateTo;\n const translateTo = -(this.containerWidth * index);\n\n this.setState({\n selectedTabIndex: index,\n isAnimating: !instant && translateFrom !== translateTo,\n translateFrom,\n translateTo,\n });\n };\n\n disableScroll = (event: Event) => {\n const { isSwiping } = this.state;\n\n if (isSwiping) {\n event.preventDefault();\n }\n };\n\n handleTabClick = (index: number) => () => {\n this.switchTab(index);\n };\n\n onKeyDown = (index: number) => (event: React.KeyboardEvent<HTMLLIElement>) => {\n if (event && event.key === 'Enter') {\n this.switchTab(index);\n }\n };\n\n handleTouchStart: React.TouchEventHandler<HTMLDivElement> = (event) => {\n const start = {\n x: event.nativeEvent.touches[0].clientX,\n y: event.nativeEvent.touches[0].clientY,\n time: Date.now(),\n };\n this.setState({\n start,\n currentSwipe: [start],\n });\n\n event.persist();\n };\n\n handleTouchMove: React.TouchEventHandler<HTMLDivElement> = (event) => {\n const { start } = this.state;\n if (start == null) {\n return;\n }\n\n const { selected: currentSelectedFromProps } = this.props;\n const selected = this.getTabIndexWithoutDisabledTabs(currentSelectedFromProps);\n const end: Swipe = {\n x: event.nativeEvent.changedTouches[0].clientX,\n y: event.nativeEvent.changedTouches[0].clientY,\n time: Date.now(),\n };\n const difference = getSwipeDifference(start, end);\n const yAxisDifference = getSwipeDifference(start, end, 'y');\n let { isScrolling, isSwiping } = this.state;\n\n event.persist();\n\n if (!isScrolling && !isSwiping) {\n if (difference > yAxisDifference) {\n isSwiping = true;\n } else {\n isScrolling = true;\n }\n }\n\n this.setState({ isScrolling, isSwiping });\n\n if (isSwiping) {\n const nextSelected = this.getTabToSelect(currentSelectedFromProps, start, end);\n this.animateLine(\n this.swipedOverHalfOfContainer(difference) ? nextSelected : currentSelectedFromProps,\n );\n\n const dragDifference = this.calculateApplicableDragDifference({\n currentSelected: currentSelectedFromProps,\n nextSelected,\n start,\n end,\n });\n\n const translateX = dragDifference\n ? -(this.containerWidth * selected) + dragDifference\n : false;\n\n this.setState((state) => ({\n currentSwipe: [...state.currentSwipe, end],\n translateFrom: translateX || state.translateFrom,\n translateTo: translateX || state.translateTo,\n }));\n }\n };\n\n handleTouchEnd: React.TouchEventHandler<HTMLDivElement> = (event) => {\n const { start, isSwiping } = this.state;\n if (start == null) {\n return;\n }\n\n const { selected } = this.props;\n const end: Swipe = {\n x: event.nativeEvent.changedTouches[0].clientX,\n y: event.nativeEvent.changedTouches[0].clientY,\n time: Date.now(),\n };\n const difference = getSwipeDifference(start, end);\n const velocity = getVelocity([...this.state.currentSwipe, end]);\n\n this.setState({\n currentSwipe: [],\n });\n\n let nextSelected = selected;\n\n event.persist();\n\n if (isSwiping) {\n if (swipeShouldChangeTab(start, end) || this.swipedOverHalfOfContainer(difference)) {\n nextSelected = this.getTabToSelect(nextSelected, start, end);\n }\n\n if (nextSelected !== selected) {\n this.switchTab(nextSelected);\n\n this.setState({\n lastSwipeVelocity: velocity,\n });\n } else {\n this.animateToTab(nextSelected);\n }\n }\n\n this.setState({ isSwiping: false, isScrolling: false });\n };\n\n render() {\n const { tabs, changeTabOnSwipe, name, selected, className, transitionSpacing, headerWidth } =\n this.props;\n const {\n isSwiping,\n translateLineX,\n isAnimating,\n translateFrom,\n translateTo,\n lastSwipeVelocity,\n fullWidthTabs,\n } = this.state;\n\n const spacer = SpacerWidth[transitionSpacing];\n\n const tabsLength = this.filteredTabsLength;\n\n const distanceSwiped = Math.abs(-translateFrom - this.containerWidth * selected);\n\n const remainingContainerToTravel = isSwiping\n ? 1 - distanceSwiped / this.containerWidth\n : 1 - Math.abs(distanceSwiped / this.containerWidth - 1);\n\n const restrictedVelocity =\n (Number.isNaN(remainingContainerToTravel) ? 0 : remainingContainerToTravel) *\n Math.min(10 * Math.E, lastSwipeVelocity * 10 * Math.E);\n\n const hidePanelOverflow = isAnimating || isSwiping;\n\n const sliderWidth = tabsLength * this.containerWidth + spacer * 2;\n\n // Uses `props.panelTransitionSpacing` to add a spacer in-between the `TabPanel` you're transitioning to/from\n const Spacer = ({ id }: { id: string }) =>\n spacer > 0 && (\n <div\n key={id}\n style={{\n width: spacer,\n display: hidePanelOverflow ? 'block' : 'none',\n }}\n />\n );\n\n return (\n <DirectionContext.Consumer>\n {(direction) => {\n const isRTL = direction === Direction.RTL;\n return (\n <div\n ref={this.containerReference}\n className={clsx('tabs', className, {\n 'tabs--auto-width': headerWidth === Width.AUTO,\n })}\n onTouchStart={changeTabOnSwipe ? this.handleTouchStart : undefined}\n onTouchEnd={changeTabOnSwipe ? this.handleTouchEnd : undefined}\n onTouchMove={changeTabOnSwipe ? this.handleTouchMove : undefined}\n >\n <TabList>\n {tabs.map(({ title, disabled }, index) => {\n return (\n <Tab\n key={title}\n ref={(node) => {\n this.tabRefs[index] = node;\n }}\n id={`${name}-tab-${index}`}\n panelId={`${name}-panel-${index}`}\n selected={selected === index}\n disabled={disabled}\n focusTab={() => {\n if (this.containerReference.current?.contains(document.activeElement)) {\n this.tabRefs[index]?.focus();\n }\n }}\n onClick={disabled ? undefined : this.handleTabClick(index)}\n onKeyDown={this.onKeyDown(index)}\n {...(fullWidthTabs\n ? { style: { width: `${(1 / tabs.length) * 100}%` } }\n : {})}\n >\n {title}\n </Tab>\n );\n })}\n {translateLineX ? (\n <li\n role=\"none\"\n className=\"tabs__line\"\n style={{\n width: this.getTabLineWidth(),\n transform: isRTL\n ? `translateX(-${translateLineX})`\n : `translateX(${translateLineX})`,\n }}\n />\n ) : null}\n </TabList>\n <div\n ref={this.setContainerRefAndWidth}\n className=\"tabs__panel-container\"\n style={{\n overflow: hidePanelOverflow ? 'hidden' : 'visible',\n }}\n >\n <Spring\n from={{\n transform: `translateX(${translateFrom - spacer}px)`,\n }}\n to={{\n transform: `translateX(${translateTo - spacer}px)`,\n }}\n config={{\n precision: isSwiping ? 1 : 0.01,\n velocity: !isSwiping ? restrictedVelocity : 0,\n clamp: true,\n }}\n onRest={() => {\n if (isAnimating) {\n this.setState({\n isAnimating: false,\n lastSwipeVelocity: 0,\n });\n }\n }}\n >\n {(props) => (\n <animated.div\n className=\"tabs__slider\"\n style={{\n width: hidePanelOverflow ? `${sliderWidth}px` : '100%',\n transform: hidePanelOverflow ? props.transform : 'translateX(0px)',\n }}\n >\n {tabs.map(({ content, disabled }, index) =>\n !disabled ? (\n <Fragment key={`${tabs[index].title}-fragment`}>\n {index === selected && <Spacer id=\"left-spacer\" />}\n <TabPanel\n key={tabs[index].title}\n tabId={`${name}-tab-${index}`}\n id={`${name}-panel-${index}`}\n style={{\n width: hidePanelOverflow ? `${this.containerWidth}px` : '100%',\n display: hidePanelOverflow || index === selected ? 'block' : 'none',\n }}\n >\n {content}\n </TabPanel>\n {index === selected && <Spacer id=\"right-spacer\" />}\n </Fragment>\n ) : null,\n )}\n </animated.div>\n )}\n </Spring>\n </div>\n </div>\n );\n }}\n </DirectionContext.Consumer>\n );\n }\n}\n"],"names":["MIN_INDEX","SpacerWidth","default","xs","sm","md","lg","Tabs","Component","defaultProps","changeTabOnSwipe","transitionSpacing","headerWidth","Width","BLOCK","containerReference","createRef","constructor","props","state","start","translateX","translateFrom","translateTo","translateLineX","isAnimating","isSwiping","isScrolling","lastSwipeVelocity","fullWidthTabs","currentSwipe","selectedTabIndex","selected","container","containerWidth","tabRefs","filteredTabsLength","tabs","filter","tab","disabled","length","MAX_INDEX","componentDidMount","setTabWidth","switchTab","clamp","animateToTab","document","body","addEventListener","disableScroll","passive","window","handleResize","componentDidUpdate","previousProps","previousState","currentSelected","previousSelected","currentSelectedTab","currentSelectedTabIsDisabled","previousSelectedTab","previousSelectedTabIsDisabled","currentTabsLength","previousTabsLength","currentDisabledTabsLength","previousDisabledTabsLength","currentHeaderWidth","previousFullHeaderWidth","animatePanelsOnClick","instantOnClick","componentWillUnmount","removeEventListener","setContainerWidth","setState","setContainerRefAndWidth","node","width","getBoundingClientRect","isTabDisabled","index","getAllTabsWidth","map","reference","reduce","a","b","getDistanceToSelectedTab","_","idx","allTabsWidth","AUTO","getTabLineWidth","getTabToSelect","end","nextSelected","swipedLeftToRight","swipedRightToLeft","Math","max","min","swipedOverHalfOfContainer","difference","calculateApplicableDragDifference","getSwipeDifference","elasticDrag","getElasticDragDifference","onTabSelect","getTabIndexWithoutDisabledTabs","slice","instant","animateLine","animatePanel","currentTranslateTo","event","preventDefault","handleTabClick","onKeyDown","key","handleTouchStart","x","nativeEvent","touches","clientX","y","clientY","time","Date","now","persist","handleTouchMove","currentSelectedFromProps","changedTouches","yAxisDifference","dragDifference","handleTouchEnd","velocity","getVelocity","swipeShouldChangeTab","render","name","className","spacer","tabsLength","distanceSwiped","abs","remainingContainerToTravel","restrictedVelocity","Number","isNaN","E","hidePanelOverflow","sliderWidth","Spacer","id","_jsx","style","display","DirectionContext","Consumer","children","direction","isRTL","Direction","RTL","_jsxs","ref","clsx","onTouchStart","undefined","onTouchEnd","onTouchMove","TabList","title","Tab","panelId","focusTab","current","contains","activeElement","focus","onClick","role","transform","overflow","Spring","from","to","config","precision","onRest","animated","div","content","Fragment","TabPanel","tabId"],"mappings":";;;;;;;;;;;;;;;;AAqBA,MAAMA,SAAS,GAAG,CAAC;AAwCnB,MAAMC,WAAW,GAAG;AAClBC,EAAAA,OAAO,EAAE,CAAC;AACVC,EAAAA,EAAE,EAAE,CAAC;AACLC,EAAAA,EAAE,EAAE,EAAE;AACNC,EAAAA,EAAE,EAAE,EAAE;AACNC,EAAAA,EAAE,EAAE;AACN,CAAiD;AAElC,MAAMC,IAAI,SAASC,SAAS,CAAuB;AAGhE,EAAA,OAAOC,YAAY,GAAG;AACpBC,IAAAA,gBAAgB,EAAE,IAAI;AACtBC,IAAAA,iBAAiB,EAAE,SAAS;IAC5BC,WAAW,EAAEC,KAAK,CAACC;GACpB;EAEDC,kBAAkB,gBAAGC,SAAS,EAAkB;EAEhDC,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,CAAC;IACZ,IAAI,CAACC,KAAK,GAAG;AACXC,MAAAA,KAAK,EAAE,IAAI;AACXC,MAAAA,UAAU,EAAE,CAAC;AACbC,MAAAA,aAAa,EAAE,CAAC;AAChBC,MAAAA,WAAW,EAAE,CAAC;AACdC,MAAAA,cAAc,EAAE,IAAI;AACpBC,MAAAA,WAAW,EAAE,KAAK;AAClBC,MAAAA,SAAS,EAAE,KAAK;AAChBC,MAAAA,WAAW,EAAE,KAAK;AAClBC,MAAAA,iBAAiB,EAAE,CAAC;AACpBC,MAAAA,aAAa,EAAEX,KAAK,CAACN,WAAW,KAAKC,KAAK,CAACC,KAAK;AAChDgB,MAAAA,YAAY,EAAE,EAAE;MAChBC,gBAAgB,EAAEb,KAAK,CAACc;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,EAAE,CAAA,EAAGxD,IAAI,CAAA,KAAA,EAAQ5D,KAAK,CAAA,CAAG;AAC9B0E,oBAAAA,EAAE,EAAE,CAAA,EAAGd,IAAI,CAAA,OAAA,EAAU5D,KAAK,CAAA,CAAG;AAC7B4E,oBAAAA,KAAK,EAAE;sBACL/E,KAAK,EAAE0E,iBAAiB,GAAG,CAAA,EAAG,IAAI,CAACtH,cAAc,CAAA,EAAA,CAAI,GAAG,MAAM;sBAC9D4H,OAAO,EAAEN,iBAAiB,IAAIvE,KAAK,KAAKjD,QAAQ,GAAG,OAAO,GAAG;qBAC7D;AAAAiI,oBAAAA,QAAA,EAEDiC;AAAO,mBAAA,EARH7J,IAAI,CAAC4C,KAAK,CAAC,CAAC6F,KAST,CAAC,EACV7F,KAAK,KAAKjD,QAAQ,iBAAI4H,GAAA,CAACF,MAAM,EAAA;AAACC,oBAAAA,EAAE,EAAC;AAAc,mBAAE,CAAC;iBAAA,EAbtC,CAAA,EAAGtH,IAAI,CAAC4C,KAAK,CAAC,CAAC6F,KAAK,CAAA,SAAA,CAczB,CAAC,GACT,IACN;eACY;aAEV;AAAC,WACN,CAAC;AAAA,SACH,CAAC;AAEV,MAAA;AAAC,KACwB,CAAC;AAEhC,EAAA;AACF;;;;"}
|
|
1
|
+
{"version":3,"file":"Tabs.mjs","sources":["../../src/tabs/Tabs.tsx"],"sourcesContent":["import { Spring, animated } from '@react-spring/web';\nimport { clsx } from 'clsx';\nimport clamp from 'lodash.clamp';\nimport { Component, createRef, Fragment } from 'react';\n\nimport { Size, Width, Direction } from '../common';\nimport { DirectionContext } from '../provider/direction';\n\nimport Tab from './Tab';\nimport TabList from './TabList';\nimport TabPanel from './TabPanel';\nimport {\n getElasticDragDifference,\n getSwipeDifference,\n swipedLeftToRight,\n swipedRightToLeft,\n swipeShouldChangeTab,\n getVelocity,\n Swipe,\n} from './utils';\n\nconst MIN_INDEX = 0;\n\nexport interface TabItem {\n title: string;\n content: React.ReactNode;\n disabled: boolean;\n}\n\ntype TabsTransitionSpacing =\n | 'default'\n | `${Size.EXTRA_SMALL | Size.SMALL | Size.MEDIUM | Size.LARGE}`;\n\nexport interface TabsProps {\n tabs: TabItem[];\n selected: number;\n name: string;\n animatePanelsOnClick?: boolean;\n changeTabOnSwipe?: boolean;\n className?: string;\n transitionSpacing?: TabsTransitionSpacing;\n headerWidth?: `${Width}`;\n id?: string;\n onTabSelect: (index: number) => void;\n}\n\ninterface TabsState {\n start: Swipe | null;\n translateX: number;\n translateFrom: number;\n translateTo: number;\n translateLineX: string | null;\n isAnimating: boolean;\n isSwiping: boolean;\n isScrolling: boolean;\n lastSwipeVelocity: number;\n fullWidthTabs: boolean;\n currentSwipe: Swipe[];\n selectedTabIndex: number;\n}\n\nconst SpacerWidth = {\n default: 0,\n xs: 8,\n sm: 16,\n md: 24,\n lg: 32,\n} satisfies Record<TabsTransitionSpacing, number>;\n\nexport default class Tabs extends Component<TabsProps, TabsState> {\n declare props: TabsProps & Required<Pick<TabsProps, keyof typeof Tabs.defaultProps>>;\n\n static defaultProps = {\n changeTabOnSwipe: true,\n transitionSpacing: 'default',\n headerWidth: Width.BLOCK,\n } satisfies Partial<TabsProps>;\n\n containerReference = createRef<HTMLDivElement>();\n\n constructor(props: Tabs['props']) {\n super(props);\n this.state = {\n start: null,\n translateX: 0,\n translateFrom: 0,\n translateTo: 0,\n translateLineX: null,\n isAnimating: false,\n isSwiping: false,\n isScrolling: false,\n lastSwipeVelocity: 0,\n fullWidthTabs: props.headerWidth === Width.BLOCK,\n currentSwipe: [],\n selectedTabIndex: props.selected,\n };\n }\n\n container: HTMLDivElement | null = null;\n\n containerWidth = 0;\n\n tabRefs: (HTMLLIElement | null)[] = [];\n\n get filteredTabsLength() {\n return this.props.tabs.filter((tab) => !tab.disabled).length;\n }\n\n get MAX_INDEX() {\n return this.props.tabs.length - 1;\n }\n\n componentDidMount() {\n const { selected } = this.props;\n\n this.setTabWidth();\n this.switchTab(clamp(selected, MIN_INDEX, this.MAX_INDEX));\n this.animateToTab(clamp(selected, MIN_INDEX, this.MAX_INDEX), true);\n document.body.addEventListener('touchmove', this.disableScroll, { passive: false });\n document.body.addEventListener('touchforcechange', this.disableScroll, { passive: false });\n window.addEventListener('resize', this.handleResize);\n }\n\n componentDidUpdate(previousProps: TabsProps, previousState: TabsState) {\n const currentSelected = this.props.selected;\n const previousSelected = previousProps.selected;\n const currentSelectedTab = this.props.tabs[currentSelected];\n const currentSelectedTabIsDisabled = currentSelectedTab?.disabled;\n const previousSelectedTab = previousProps.tabs[previousSelected];\n const previousSelectedTabIsDisabled = previousSelectedTab?.disabled;\n const currentTabsLength = this.props.tabs.length;\n const previousTabsLength = previousProps.tabs.length;\n const currentDisabledTabsLength = this.props.tabs.filter((tab) => !tab.disabled).length;\n const previousDisabledTabsLength = previousProps.tabs.filter((tab) => !tab.disabled).length;\n const currentHeaderWidth = this.props.headerWidth;\n const previousFullHeaderWidth = previousProps.headerWidth;\n const { animatePanelsOnClick } = this.props;\n const instantOnClick = !animatePanelsOnClick && !previousState.isSwiping;\n\n if (\n currentHeaderWidth !== previousFullHeaderWidth ||\n currentTabsLength !== previousTabsLength\n ) {\n this.setTabWidth();\n }\n\n if (\n currentSelected !== previousSelected ||\n currentDisabledTabsLength !== previousDisabledTabsLength ||\n currentSelectedTabIsDisabled !== previousSelectedTabIsDisabled\n ) {\n this.animateToTab(\n clamp(currentSelected, MIN_INDEX, this.MAX_INDEX),\n currentSelected === previousSelected || instantOnClick,\n );\n }\n }\n\n componentWillUnmount() {\n document.body.removeEventListener('touchmove', this.disableScroll);\n document.body.removeEventListener('touchforcechange', this.disableScroll);\n window.removeEventListener('resize', this.handleResize);\n }\n\n handleResize = () => {\n this.setContainerWidth(this.container);\n\n this.setState(({ selectedTabIndex }) => ({\n translateTo: -(this.containerWidth * selectedTabIndex),\n }));\n };\n\n setContainerRefAndWidth = (node: HTMLDivElement | null) => {\n this.container = node;\n this.setContainerWidth(node);\n };\n\n setContainerWidth = (node: HTMLDivElement | null) => {\n if (!node) {\n return;\n }\n\n const { width } = node.getBoundingClientRect();\n\n this.containerWidth = width;\n };\n\n isTabDisabled = (index: number) => {\n const { tabs } = this.props;\n\n return tabs[index]?.disabled ?? false;\n };\n\n getAllTabsWidth = () => {\n return this.tabRefs\n .map((reference) => {\n return reference ? reference.getBoundingClientRect().width : 0;\n })\n .reduce((a, b) => a + b, 0);\n };\n\n getDistanceToSelectedTab = (selectedTabIndex: number) => {\n return this.tabRefs\n .filter((_, idx) => idx < selectedTabIndex)\n .map((reference) => (reference ? reference.getBoundingClientRect().width : 0))\n .reduce((a, b) => a + b, 0);\n };\n\n setTabWidth = () => {\n const { fullWidthTabs } = this.state;\n const { headerWidth, selected } = this.props;\n\n const allTabsWidth = this.getAllTabsWidth();\n\n if (!fullWidthTabs && (headerWidth === Width.BLOCK || this.containerWidth < allTabsWidth)) {\n this.setState({ fullWidthTabs: true, translateLineX: `${selected * 100}%` });\n }\n if (fullWidthTabs && headerWidth === Width.AUTO && this.containerWidth >= allTabsWidth) {\n this.setState({\n fullWidthTabs: false,\n translateLineX: `${this.getDistanceToSelectedTab(selected)}px`,\n });\n }\n };\n\n getTabLineWidth = () => {\n const { fullWidthTabs } = this.state;\n const { selected, tabs } = this.props;\n\n if (fullWidthTabs) {\n return `${(1 / tabs.length) * 100}%`;\n }\n\n const reference = this.tabRefs[selected] || this.tabRefs[this.tabRefs.length - 1];\n const width = reference ? reference.getBoundingClientRect().width : 0;\n return `${width}px`;\n };\n\n /*\n * Gets the next tab that should be selected based on the swipe direction\n * and the current selected tab (is called recursively to account for disabled tabs).\n */\n getTabToSelect = (selected: number, start: Swipe, end: Swipe): number => {\n let nextSelected = selected;\n\n if (swipedLeftToRight(start, end)) {\n nextSelected -= 1;\n\n if (nextSelected > MIN_INDEX && this.isTabDisabled(nextSelected)) {\n return this.getTabToSelect(nextSelected, start, end);\n }\n } else if (swipedRightToLeft(start, end)) {\n nextSelected += 1;\n\n if (nextSelected < this.MAX_INDEX && this.isTabDisabled(nextSelected)) {\n return this.getTabToSelect(nextSelected, start, end);\n }\n }\n\n nextSelected = clamp(\n nextSelected,\n Math.max(selected - 1, MIN_INDEX),\n Math.min(selected + 1, this.MAX_INDEX),\n );\n\n if (this.isTabDisabled(nextSelected)) {\n return selected;\n }\n\n return nextSelected;\n };\n\n swipedOverHalfOfContainer = (difference: number) => difference / this.containerWidth >= 0.5;\n\n calculateApplicableDragDifference = ({\n currentSelected,\n nextSelected,\n start,\n end,\n }: {\n currentSelected: number;\n nextSelected: number;\n start: Swipe;\n end: Swipe;\n }) => {\n const difference = getSwipeDifference(start, end);\n const elasticDrag = getElasticDragDifference(difference);\n\n if (swipedLeftToRight(start, end)) {\n if (currentSelected > MIN_INDEX && currentSelected !== nextSelected) {\n return Math.min(difference, this.containerWidth);\n }\n return elasticDrag;\n }\n if (swipedRightToLeft(start, end)) {\n if (currentSelected < this.MAX_INDEX && currentSelected !== nextSelected) {\n return -Math.min(difference, this.containerWidth);\n }\n return -elasticDrag;\n }\n\n return false;\n };\n\n switchTab = (index: number) => {\n const { onTabSelect } = this.props;\n onTabSelect(index);\n };\n\n getTabIndexWithoutDisabledTabs(index: number) {\n return index - this.props.tabs.slice(0, index).filter((tab) => tab.disabled).length;\n }\n\n animateToTab = (index: number, instant?: boolean) => {\n this.animateLine(index);\n\n this.animatePanel(this.getTabIndexWithoutDisabledTabs(index), instant);\n };\n\n animateLine = (index: number) => {\n this.setState((previousState) => ({\n translateLineX: previousState.fullWidthTabs\n ? `${index * 100}%`\n : `${this.getDistanceToSelectedTab(index)}px`,\n }));\n };\n\n // Pass `instant` to set the `translateX` to the new panel with no transition\n animatePanel = (index: number, instant = false) => {\n const { translateTo: currentTranslateTo } = this.state;\n\n const translateFrom = currentTranslateTo;\n const translateTo = -(this.containerWidth * index);\n\n this.setState({\n selectedTabIndex: index,\n isAnimating: !instant && translateFrom !== translateTo,\n translateFrom,\n translateTo,\n });\n };\n\n disableScroll = (event: Event) => {\n const { isSwiping } = this.state;\n\n if (isSwiping) {\n event.preventDefault();\n }\n };\n\n handleTabClick = (index: number) => () => {\n this.switchTab(index);\n };\n\n onKeyDown = (index: number) => (event: React.KeyboardEvent<HTMLLIElement>) => {\n if (event && event.key === 'Enter') {\n this.switchTab(index);\n }\n };\n\n handleTouchStart: React.TouchEventHandler<HTMLDivElement> = (event) => {\n const start = {\n x: event.nativeEvent.touches[0].clientX,\n y: event.nativeEvent.touches[0].clientY,\n time: Date.now(),\n };\n this.setState({\n start,\n currentSwipe: [start],\n });\n\n event.persist();\n };\n\n handleTouchMove: React.TouchEventHandler<HTMLDivElement> = (event) => {\n const { start } = this.state;\n if (start == null) {\n return;\n }\n\n const { selected: currentSelectedFromProps } = this.props;\n const selected = this.getTabIndexWithoutDisabledTabs(currentSelectedFromProps);\n const end: Swipe = {\n x: event.nativeEvent.changedTouches[0].clientX,\n y: event.nativeEvent.changedTouches[0].clientY,\n time: Date.now(),\n };\n const difference = getSwipeDifference(start, end);\n const yAxisDifference = getSwipeDifference(start, end, 'y');\n let { isScrolling, isSwiping } = this.state;\n\n event.persist();\n\n if (!isScrolling && !isSwiping) {\n if (difference > yAxisDifference) {\n isSwiping = true;\n } else {\n isScrolling = true;\n }\n }\n\n this.setState({ isScrolling, isSwiping });\n\n if (isSwiping) {\n const nextSelected = this.getTabToSelect(currentSelectedFromProps, start, end);\n this.animateLine(\n this.swipedOverHalfOfContainer(difference) ? nextSelected : currentSelectedFromProps,\n );\n\n const dragDifference = this.calculateApplicableDragDifference({\n currentSelected: currentSelectedFromProps,\n nextSelected,\n start,\n end,\n });\n\n const translateX = dragDifference\n ? -(this.containerWidth * selected) + dragDifference\n : false;\n\n this.setState((state) => ({\n currentSwipe: [...state.currentSwipe, end],\n translateFrom: translateX || state.translateFrom,\n translateTo: translateX || state.translateTo,\n }));\n }\n };\n\n handleTouchEnd: React.TouchEventHandler<HTMLDivElement> = (event) => {\n const { start, isSwiping } = this.state;\n if (start == null) {\n return;\n }\n\n const { selected } = this.props;\n const end: Swipe = {\n x: event.nativeEvent.changedTouches[0].clientX,\n y: event.nativeEvent.changedTouches[0].clientY,\n time: Date.now(),\n };\n const difference = getSwipeDifference(start, end);\n const velocity = getVelocity([...this.state.currentSwipe, end]);\n\n this.setState({\n currentSwipe: [],\n });\n\n let nextSelected = selected;\n\n event.persist();\n\n if (isSwiping) {\n if (swipeShouldChangeTab(start, end) || this.swipedOverHalfOfContainer(difference)) {\n nextSelected = this.getTabToSelect(nextSelected, start, end);\n }\n\n if (nextSelected !== selected) {\n this.switchTab(nextSelected);\n\n this.setState({\n lastSwipeVelocity: velocity,\n });\n } else {\n this.animateToTab(nextSelected);\n }\n }\n\n this.setState({ isSwiping: false, isScrolling: false });\n };\n\n render() {\n const { tabs, changeTabOnSwipe, name, selected, className, transitionSpacing, headerWidth } =\n this.props;\n const {\n isSwiping,\n translateLineX,\n isAnimating,\n translateFrom,\n translateTo,\n lastSwipeVelocity,\n fullWidthTabs,\n } = this.state;\n\n const spacer = SpacerWidth[transitionSpacing];\n\n const tabsLength = this.filteredTabsLength;\n\n const distanceSwiped = Math.abs(-translateFrom - this.containerWidth * selected);\n\n const remainingContainerToTravel = isSwiping\n ? 1 - distanceSwiped / this.containerWidth\n : 1 - Math.abs(distanceSwiped / this.containerWidth - 1);\n\n const restrictedVelocity =\n (Number.isNaN(remainingContainerToTravel) ? 0 : remainingContainerToTravel) *\n Math.min(10 * Math.E, lastSwipeVelocity * 10 * Math.E);\n\n const hidePanelOverflow = isAnimating || isSwiping;\n\n const sliderWidth = tabsLength * this.containerWidth + spacer * 2;\n\n // Uses `props.panelTransitionSpacing` to add a spacer in-between the `TabPanel` you're transitioning to/from\n const Spacer = ({ id }: { id: string }) =>\n spacer > 0 && (\n <div\n key={id}\n style={{\n width: spacer,\n display: hidePanelOverflow ? 'block' : 'none',\n }}\n />\n );\n\n return (\n <DirectionContext.Consumer>\n {(direction) => {\n const isRTL = direction === Direction.RTL;\n return (\n <div\n ref={this.containerReference}\n className={clsx('tabs', className, {\n 'tabs--auto-width': headerWidth === Width.AUTO,\n })}\n onTouchStart={changeTabOnSwipe ? this.handleTouchStart : undefined}\n onTouchEnd={changeTabOnSwipe ? this.handleTouchEnd : undefined}\n onTouchMove={changeTabOnSwipe ? this.handleTouchMove : undefined}\n >\n <TabList>\n {tabs.map(({ title, disabled }, index) => {\n return (\n <Tab\n key={title}\n ref={(node) => {\n this.tabRefs[index] = node;\n }}\n id={`${name}-tab-${index}`}\n panelId={`${name}-panel-${index}`}\n selected={selected === index}\n disabled={disabled}\n focusTab={() => {\n if (this.containerReference.current?.contains(document.activeElement)) {\n this.tabRefs[index]?.focus();\n }\n }}\n onClick={disabled ? undefined : this.handleTabClick(index)}\n onKeyDown={this.onKeyDown(index)}\n {...(fullWidthTabs\n ? { style: { width: `${(1 / tabs.length) * 100}%` } }\n : {})}\n >\n {title}\n </Tab>\n );\n })}\n {translateLineX ? (\n <li\n role=\"none\"\n className=\"tabs__line\"\n style={{\n width: this.getTabLineWidth(),\n transform: isRTL\n ? `translateX(-${translateLineX})`\n : `translateX(${translateLineX})`,\n }}\n />\n ) : null}\n </TabList>\n <div\n ref={this.setContainerRefAndWidth}\n className=\"tabs__panel-container\"\n style={{\n overflow: hidePanelOverflow ? 'hidden' : 'visible',\n }}\n >\n <Spring\n from={{\n transform: `translateX(${translateFrom - spacer}px)`,\n }}\n to={{\n transform: `translateX(${translateTo - spacer}px)`,\n }}\n config={{\n precision: isSwiping ? 1 : 0.01,\n velocity: !isSwiping ? restrictedVelocity : 0,\n clamp: true,\n }}\n onRest={() => {\n if (isAnimating) {\n this.setState({\n isAnimating: false,\n lastSwipeVelocity: 0,\n });\n }\n }}\n >\n {(props) => (\n <animated.div\n className=\"tabs__slider\"\n style={{\n width: hidePanelOverflow ? `${sliderWidth}px` : '100%',\n transform: hidePanelOverflow ? props.transform : 'translateX(0px)',\n }}\n >\n {tabs.map(({ content, disabled }, index) =>\n !disabled ? (\n <Fragment key={`${tabs[index].title}-fragment`}>\n {index === selected && <Spacer id=\"left-spacer\" />}\n <TabPanel\n key={tabs[index].title}\n tabId={`${name}-tab-${index}`}\n id={`${name}-panel-${index}`}\n style={{\n width: hidePanelOverflow ? `${this.containerWidth}px` : '100%',\n display: hidePanelOverflow || index === selected ? 'block' : 'none',\n }}\n >\n {content}\n </TabPanel>\n {index === selected && <Spacer id=\"right-spacer\" />}\n </Fragment>\n ) : null,\n )}\n </animated.div>\n )}\n </Spring>\n </div>\n </div>\n );\n }}\n </DirectionContext.Consumer>\n );\n }\n}\n"],"names":["MIN_INDEX","SpacerWidth","default","xs","sm","md","lg","Tabs","Component","defaultProps","changeTabOnSwipe","transitionSpacing","headerWidth","Width","BLOCK","containerReference","createRef","constructor","props","state","start","translateX","translateFrom","translateTo","translateLineX","isAnimating","isSwiping","isScrolling","lastSwipeVelocity","fullWidthTabs","currentSwipe","selectedTabIndex","selected","container","containerWidth","tabRefs","filteredTabsLength","tabs","filter","tab","disabled","length","MAX_INDEX","componentDidMount","setTabWidth","switchTab","clamp","animateToTab","document","body","addEventListener","disableScroll","passive","window","handleResize","componentDidUpdate","previousProps","previousState","currentSelected","previousSelected","currentSelectedTab","currentSelectedTabIsDisabled","previousSelectedTab","previousSelectedTabIsDisabled","currentTabsLength","previousTabsLength","currentDisabledTabsLength","previousDisabledTabsLength","currentHeaderWidth","previousFullHeaderWidth","animatePanelsOnClick","instantOnClick","componentWillUnmount","removeEventListener","setContainerWidth","setState","setContainerRefAndWidth","node","width","getBoundingClientRect","isTabDisabled","index","getAllTabsWidth","map","reference","reduce","a","b","getDistanceToSelectedTab","_","idx","allTabsWidth","AUTO","getTabLineWidth","getTabToSelect","end","nextSelected","swipedLeftToRight","swipedRightToLeft","Math","max","min","swipedOverHalfOfContainer","difference","calculateApplicableDragDifference","getSwipeDifference","elasticDrag","getElasticDragDifference","onTabSelect","getTabIndexWithoutDisabledTabs","slice","instant","animateLine","animatePanel","currentTranslateTo","event","preventDefault","handleTabClick","onKeyDown","key","handleTouchStart","x","nativeEvent","touches","clientX","y","clientY","time","Date","now","persist","handleTouchMove","currentSelectedFromProps","changedTouches","yAxisDifference","dragDifference","handleTouchEnd","velocity","getVelocity","swipeShouldChangeTab","render","name","className","spacer","tabsLength","distanceSwiped","abs","remainingContainerToTravel","restrictedVelocity","Number","isNaN","E","hidePanelOverflow","sliderWidth","Spacer","id","_jsx","style","display","DirectionContext","Consumer","children","direction","isRTL","Direction","RTL","_jsxs","ref","clsx","onTouchStart","undefined","onTouchEnd","onTouchMove","TabList","title","Tab","panelId","focusTab","current","contains","activeElement","focus","onClick","role","transform","overflow","Spring","from","to","config","precision","onRest","animated","div","content","Fragment","TabPanel","tabId"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,SAAS,GAAG,CAAC;AAwCnB,MAAMC,WAAW,GAAG;AAClBC,EAAAA,OAAO,EAAE,CAAC;AACVC,EAAAA,EAAE,EAAE,CAAC;AACLC,EAAAA,EAAE,EAAE,EAAE;AACNC,EAAAA,EAAE,EAAE,EAAE;AACNC,EAAAA,EAAE,EAAE;CAC2C;AAEnC,MAAOC,IAAK,SAAQC,SAA+B,CAAA;AAG/D,EAAA,OAAOC,YAAY,GAAG;AACpBC,IAAAA,gBAAgB,EAAE,IAAI;AACtBC,IAAAA,iBAAiB,EAAE,SAAS;IAC5BC,WAAW,EAAEC,KAAK,CAACC;GACS;EAE9BC,kBAAkB,gBAAGC,SAAS,EAAkB;EAEhDC,WAAAA,CAAYC,KAAoB,EAAA;IAC9B,KAAK,CAACA,KAAK,CAAC;IACZ,IAAI,CAACC,KAAK,GAAG;AACXC,MAAAA,KAAK,EAAE,IAAI;AACXC,MAAAA,UAAU,EAAE,CAAC;AACbC,MAAAA,aAAa,EAAE,CAAC;AAChBC,MAAAA,WAAW,EAAE,CAAC;AACdC,MAAAA,cAAc,EAAE,IAAI;AACpBC,MAAAA,WAAW,EAAE,KAAK;AAClBC,MAAAA,SAAS,EAAE,KAAK;AAChBC,MAAAA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,KAAK,KAAKjD,QAAQ,iBAAI4H,GAAA,CAACF,MAAM,EAAA;AAACC,oBAAAA,EAAE,EAAC;AAAa,mBAAA,CAAG,eAClDC,GAAA,CAACwC,QAAQ,EAAA;AAEPC,oBAAAA,KAAK,EAAE,CAAA,EAAGxD,IAAI,CAAA,KAAA,EAAQ5D,KAAK,CAAA,CAAG;AAC9B0E,oBAAAA,EAAE,EAAE,CAAA,EAAGd,IAAI,CAAA,OAAA,EAAU5D,KAAK,CAAA,CAAG;AAC7B4E,oBAAAA,KAAK,EAAE;sBACL/E,KAAK,EAAE0E,iBAAiB,GAAG,CAAA,EAAG,IAAI,CAACtH,cAAc,CAAA,EAAA,CAAI,GAAG,MAAM;sBAC9D4H,OAAO,EAAEN,iBAAiB,IAAIvE,KAAK,KAAKjD,QAAQ,GAAG,OAAO,GAAG;qBAC7D;AAAAiI,oBAAAA,QAAA,EAEDiC;AAAO,mBAAA,EARH7J,IAAI,CAAC4C,KAAK,CAAC,CAAC6F,KAST,CACV,EAAC7F,KAAK,KAAKjD,QAAQ,iBAAI4H,GAAA,CAACF,MAAM,EAAA;AAACC,oBAAAA,EAAE,EAAC;AAAc,mBAAA,CAAG;iBAAA,EAbtC,CAAA,EAAGtH,IAAI,CAAC4C,KAAK,CAAC,CAAC6F,KAAK,CAAA,SAAA,CAczB,CAAC,GACT,IAAI;eAEE;aAEV;AACV,WAAK,CACP;AAAA,SAAK,CAAC;AAEV,MAAA;AAAC,KACwB,CAAC;AAEhC,EAAA;;;;;"}
|
package/build/tabs/utils.js
CHANGED
|
@@ -32,7 +32,6 @@ function getVelocity(coords) {
|
|
|
32
32
|
return 0;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
|
|
36
35
|
/*
|
|
37
36
|
`elasticDrag` is the translateX value, which slows down as the difference increases
|
|
38
37
|
`1 - Math.E ** (-0.005 * difference)` provides a % value of how far we want to translate (0.005 being the rate)
|
package/build/tabs/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../src/tabs/utils.ts"],"sourcesContent":["const MIN_SWIPE_DISTANCE = 50;\nconst MIN_SWIPE_VELOCITY = 0.1;\n\nconst swipedSignificantDistance = (difference: number) => Math.abs(difference) > MIN_SWIPE_DISTANCE;\n\nconst swipedWithSignificantVelocity = (velocity: number) => velocity > MIN_SWIPE_VELOCITY;\n\nexport interface Swipe {\n x: number;\n y: number;\n time: number;\n}\n\nexport const getSwipeVelocity = (start: Swipe, end: Swipe) => {\n const timePassed = end.time - start.time;\n\n return getSwipeDifference(start, end) / timePassed;\n};\n\nexport const getSwipeDifference = (start: Swipe, end: Swipe, axis: 'x' | 'y' = 'x') => {\n return Math.abs(start[axis] - end[axis]);\n};\n\nexport const swipedLeftToRight = (start: Swipe, end: Swipe) => {\n return end.x > start.x;\n};\n\nexport const swipedRightToLeft = (start: Swipe, end: Swipe) => {\n return start.x > end.x;\n};\n\nexport const swipeShouldChangeTab = (start: Swipe, end: Swipe) => {\n const difference = getSwipeDifference(start, end);\n const velocity = getSwipeVelocity(start, end);\n\n return swipedSignificantDistance(difference) && swipedWithSignificantVelocity(velocity);\n};\n\nexport function getVelocity(coords: Swipe[]) {\n try {\n const relevant = coords.slice(Math.max(coords.length - 5, 1));\n const first = relevant[0];\n const last = relevant[relevant.length - 1];\n\n return Math.abs(first.x - last.x) / (last.time - first.time);\n } catch {\n return 0;\n }\n}\n\n/*\n `elasticDrag` is the translateX value, which slows down as the difference increases\n `1 - Math.E ** (-0.005 * difference)` provides a % value of how far we want to translate (0.005 being the rate)\n `Math.min(150, window.innerWidth / 3)` provides the maximum translate value\n*/\nexport const getElasticDragDifference = (difference: number) =>\n Math.min(150, window.innerWidth / 3) * (1 - Math.E ** (-0.005 * difference));\n"],"names":["MIN_SWIPE_DISTANCE","MIN_SWIPE_VELOCITY","swipedSignificantDistance","difference","Math","abs","swipedWithSignificantVelocity","velocity","getSwipeVelocity","start","end","timePassed","time","getSwipeDifference","axis","swipedLeftToRight","x","swipedRightToLeft","swipeShouldChangeTab","getVelocity","coords","relevant","slice","max","length","first","last","getElasticDragDifference","min","window","innerWidth","E"],"mappings":";;AAAA,MAAMA,kBAAkB,GAAG,EAAE;AAC7B,MAAMC,kBAAkB,GAAG,GAAG;AAE9B,MAAMC,yBAAyB,GAAIC,UAAkB,IAAKC,IAAI,CAACC,GAAG,CAACF,UAAU,CAAC,GAAGH,kBAAkB;AAEnG,MAAMM,6BAA6B,GAAIC,QAAgB,IAAKA,QAAQ,GAAGN,kBAAkB;MAQ5EO,gBAAgB,GAAGA,CAACC,KAAY,EAAEC,GAAU,
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../src/tabs/utils.ts"],"sourcesContent":["const MIN_SWIPE_DISTANCE = 50;\nconst MIN_SWIPE_VELOCITY = 0.1;\n\nconst swipedSignificantDistance = (difference: number) => Math.abs(difference) > MIN_SWIPE_DISTANCE;\n\nconst swipedWithSignificantVelocity = (velocity: number) => velocity > MIN_SWIPE_VELOCITY;\n\nexport interface Swipe {\n x: number;\n y: number;\n time: number;\n}\n\nexport const getSwipeVelocity = (start: Swipe, end: Swipe) => {\n const timePassed = end.time - start.time;\n\n return getSwipeDifference(start, end) / timePassed;\n};\n\nexport const getSwipeDifference = (start: Swipe, end: Swipe, axis: 'x' | 'y' = 'x') => {\n return Math.abs(start[axis] - end[axis]);\n};\n\nexport const swipedLeftToRight = (start: Swipe, end: Swipe) => {\n return end.x > start.x;\n};\n\nexport const swipedRightToLeft = (start: Swipe, end: Swipe) => {\n return start.x > end.x;\n};\n\nexport const swipeShouldChangeTab = (start: Swipe, end: Swipe) => {\n const difference = getSwipeDifference(start, end);\n const velocity = getSwipeVelocity(start, end);\n\n return swipedSignificantDistance(difference) && swipedWithSignificantVelocity(velocity);\n};\n\nexport function getVelocity(coords: Swipe[]) {\n try {\n const relevant = coords.slice(Math.max(coords.length - 5, 1));\n const first = relevant[0];\n const last = relevant[relevant.length - 1];\n\n return Math.abs(first.x - last.x) / (last.time - first.time);\n } catch {\n return 0;\n }\n}\n\n/*\n `elasticDrag` is the translateX value, which slows down as the difference increases\n `1 - Math.E ** (-0.005 * difference)` provides a % value of how far we want to translate (0.005 being the rate)\n `Math.min(150, window.innerWidth / 3)` provides the maximum translate value\n*/\nexport const getElasticDragDifference = (difference: number) =>\n Math.min(150, window.innerWidth / 3) * (1 - Math.E ** (-0.005 * difference));\n"],"names":["MIN_SWIPE_DISTANCE","MIN_SWIPE_VELOCITY","swipedSignificantDistance","difference","Math","abs","swipedWithSignificantVelocity","velocity","getSwipeVelocity","start","end","timePassed","time","getSwipeDifference","axis","swipedLeftToRight","x","swipedRightToLeft","swipeShouldChangeTab","getVelocity","coords","relevant","slice","max","length","first","last","getElasticDragDifference","min","window","innerWidth","E"],"mappings":";;AAAA,MAAMA,kBAAkB,GAAG,EAAE;AAC7B,MAAMC,kBAAkB,GAAG,GAAG;AAE9B,MAAMC,yBAAyB,GAAIC,UAAkB,IAAKC,IAAI,CAACC,GAAG,CAACF,UAAU,CAAC,GAAGH,kBAAkB;AAEnG,MAAMM,6BAA6B,GAAIC,QAAgB,IAAKA,QAAQ,GAAGN,kBAAkB;MAQ5EO,gBAAgB,GAAGA,CAACC,KAAY,EAAEC,GAAU,KAAI;EAC3D,MAAMC,UAAU,GAAGD,GAAG,CAACE,IAAI,GAAGH,KAAK,CAACG,IAAI;AAExC,EAAA,OAAOC,kBAAkB,CAACJ,KAAK,EAAEC,GAAG,CAAC,GAAGC,UAAU;AACpD;AAEO,MAAME,kBAAkB,GAAGA,CAACJ,KAAY,EAAEC,GAAU,EAAEI,IAAA,GAAkB,GAAG,KAAI;AACpF,EAAA,OAAOV,IAAI,CAACC,GAAG,CAACI,KAAK,CAACK,IAAI,CAAC,GAAGJ,GAAG,CAACI,IAAI,CAAC,CAAC;AAC1C;MAEaC,iBAAiB,GAAGA,CAACN,KAAY,EAAEC,GAAU,KAAI;AAC5D,EAAA,OAAOA,GAAG,CAACM,CAAC,GAAGP,KA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+30,6 @@ function getVelocity(coords) {
|
|
|
30
30
|
return 0;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
|
|
34
33
|
/*
|
|
35
34
|
`elasticDrag` is the translateX value, which slows down as the difference increases
|
|
36
35
|
`1 - Math.E ** (-0.005 * difference)` provides a % value of how far we want to translate (0.005 being the rate)
|
package/build/tabs/utils.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.mjs","sources":["../../src/tabs/utils.ts"],"sourcesContent":["const MIN_SWIPE_DISTANCE = 50;\nconst MIN_SWIPE_VELOCITY = 0.1;\n\nconst swipedSignificantDistance = (difference: number) => Math.abs(difference) > MIN_SWIPE_DISTANCE;\n\nconst swipedWithSignificantVelocity = (velocity: number) => velocity > MIN_SWIPE_VELOCITY;\n\nexport interface Swipe {\n x: number;\n y: number;\n time: number;\n}\n\nexport const getSwipeVelocity = (start: Swipe, end: Swipe) => {\n const timePassed = end.time - start.time;\n\n return getSwipeDifference(start, end) / timePassed;\n};\n\nexport const getSwipeDifference = (start: Swipe, end: Swipe, axis: 'x' | 'y' = 'x') => {\n return Math.abs(start[axis] - end[axis]);\n};\n\nexport const swipedLeftToRight = (start: Swipe, end: Swipe) => {\n return end.x > start.x;\n};\n\nexport const swipedRightToLeft = (start: Swipe, end: Swipe) => {\n return start.x > end.x;\n};\n\nexport const swipeShouldChangeTab = (start: Swipe, end: Swipe) => {\n const difference = getSwipeDifference(start, end);\n const velocity = getSwipeVelocity(start, end);\n\n return swipedSignificantDistance(difference) && swipedWithSignificantVelocity(velocity);\n};\n\nexport function getVelocity(coords: Swipe[]) {\n try {\n const relevant = coords.slice(Math.max(coords.length - 5, 1));\n const first = relevant[0];\n const last = relevant[relevant.length - 1];\n\n return Math.abs(first.x - last.x) / (last.time - first.time);\n } catch {\n return 0;\n }\n}\n\n/*\n `elasticDrag` is the translateX value, which slows down as the difference increases\n `1 - Math.E ** (-0.005 * difference)` provides a % value of how far we want to translate (0.005 being the rate)\n `Math.min(150, window.innerWidth / 3)` provides the maximum translate value\n*/\nexport const getElasticDragDifference = (difference: number) =>\n Math.min(150, window.innerWidth / 3) * (1 - Math.E ** (-0.005 * difference));\n"],"names":["MIN_SWIPE_DISTANCE","MIN_SWIPE_VELOCITY","swipedSignificantDistance","difference","Math","abs","swipedWithSignificantVelocity","velocity","getSwipeVelocity","start","end","timePassed","time","getSwipeDifference","axis","swipedLeftToRight","x","swipedRightToLeft","swipeShouldChangeTab","getVelocity","coords","relevant","slice","max","length","first","last","getElasticDragDifference","min","window","innerWidth","E"],"mappings":"AAAA,MAAMA,kBAAkB,GAAG,EAAE;AAC7B,MAAMC,kBAAkB,GAAG,GAAG;AAE9B,MAAMC,yBAAyB,GAAIC,UAAkB,IAAKC,IAAI,CAACC,GAAG,CAACF,UAAU,CAAC,GAAGH,kBAAkB;AAEnG,MAAMM,6BAA6B,GAAIC,QAAgB,IAAKA,QAAQ,GAAGN,kBAAkB;MAQ5EO,gBAAgB,GAAGA,CAACC,KAAY,EAAEC,GAAU,
|
|
1
|
+
{"version":3,"file":"utils.mjs","sources":["../../src/tabs/utils.ts"],"sourcesContent":["const MIN_SWIPE_DISTANCE = 50;\nconst MIN_SWIPE_VELOCITY = 0.1;\n\nconst swipedSignificantDistance = (difference: number) => Math.abs(difference) > MIN_SWIPE_DISTANCE;\n\nconst swipedWithSignificantVelocity = (velocity: number) => velocity > MIN_SWIPE_VELOCITY;\n\nexport interface Swipe {\n x: number;\n y: number;\n time: number;\n}\n\nexport const getSwipeVelocity = (start: Swipe, end: Swipe) => {\n const timePassed = end.time - start.time;\n\n return getSwipeDifference(start, end) / timePassed;\n};\n\nexport const getSwipeDifference = (start: Swipe, end: Swipe, axis: 'x' | 'y' = 'x') => {\n return Math.abs(start[axis] - end[axis]);\n};\n\nexport const swipedLeftToRight = (start: Swipe, end: Swipe) => {\n return end.x > start.x;\n};\n\nexport const swipedRightToLeft = (start: Swipe, end: Swipe) => {\n return start.x > end.x;\n};\n\nexport const swipeShouldChangeTab = (start: Swipe, end: Swipe) => {\n const difference = getSwipeDifference(start, end);\n const velocity = getSwipeVelocity(start, end);\n\n return swipedSignificantDistance(difference) && swipedWithSignificantVelocity(velocity);\n};\n\nexport function getVelocity(coords: Swipe[]) {\n try {\n const relevant = coords.slice(Math.max(coords.length - 5, 1));\n const first = relevant[0];\n const last = relevant[relevant.length - 1];\n\n return Math.abs(first.x - last.x) / (last.time - first.time);\n } catch {\n return 0;\n }\n}\n\n/*\n `elasticDrag` is the translateX value, which slows down as the difference increases\n `1 - Math.E ** (-0.005 * difference)` provides a % value of how far we want to translate (0.005 being the rate)\n `Math.min(150, window.innerWidth / 3)` provides the maximum translate value\n*/\nexport const getElasticDragDifference = (difference: number) =>\n Math.min(150, window.innerWidth / 3) * (1 - Math.E ** (-0.005 * difference));\n"],"names":["MIN_SWIPE_DISTANCE","MIN_SWIPE_VELOCITY","swipedSignificantDistance","difference","Math","abs","swipedWithSignificantVelocity","velocity","getSwipeVelocity","start","end","timePassed","time","getSwipeDifference","axis","swipedLeftToRight","x","swipedRightToLeft","swipeShouldChangeTab","getVelocity","coords","relevant","slice","max","length","first","last","getElasticDragDifference","min","window","innerWidth","E"],"mappings":"AAAA,MAAMA,kBAAkB,GAAG,EAAE;AAC7B,MAAMC,kBAAkB,GAAG,GAAG;AAE9B,MAAMC,yBAAyB,GAAIC,UAAkB,IAAKC,IAAI,CAACC,GAAG,CAACF,UAAU,CAAC,GAAGH,kBAAkB;AAEnG,MAAMM,6BAA6B,GAAIC,QAAgB,IAAKA,QAAQ,GAAGN,kBAAkB;MAQ5EO,gBAAgB,GAAGA,CAACC,KAAY,EAAEC,GAAU,KAAI;EAC3D,MAAMC,UAAU,GAAGD,GAAG,CAACE,IAAI,GAAGH,KAAK,CAACG,IAAI;AAExC,EAAA,OAAOC,kBAAkB,CAACJ,KAAK,EAAEC,GAAG,CAAC,GAAGC,UAAU;AACpD;AAEO,MAAME,kBAAkB,GAAGA,CAACJ,KAAY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;AAEA;;;;AAIE;AACK,MAAMe,wBAAwB,GAAIxB,UAAkB,IACzDC,IAAI,CAACwB,GAAG,CAAC,GAAG,EAAEC,MAAM,CAACC,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG1B,IAAI,CAAC2B,CAAC,KAAK,KAAM,GAAG5B,UAAU,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaWithDisplayFormat.js","sources":["../../src/textareaWithDisplayFormat/TextareaWithDisplayFormat.tsx"],"sourcesContent":["import { TextArea, type TextAreaProps } from '../inputs/TextArea';\nimport WithDisplayFormat, { type WithDisplayFormatProps } from '../withDisplayFormat';\n\nexport interface TextareaWithDisplayFormatProps extends Omit<WithDisplayFormatProps, 'render'> {}\n\nconst TextareaWithDisplayFormat = (props: TextareaWithDisplayFormatProps) => (\n <WithDisplayFormat<TextAreaProps>\n {...props}\n render={(renderProps) => <TextArea {...renderProps} />}\n />\n);\n\nexport default TextareaWithDisplayFormat;\n"],"names":["TextareaWithDisplayFormat","props","_jsx","WithDisplayFormat","render","renderProps","TextArea"],"mappings":";;;;;;;;AAKA,MAAMA,yBAAyB,GAAIC,KAAqC,iBACtEC,cAAA,CAACC,yBAAiB,EAAA;AAAA,EAAA,GACZF,KAAK;AACTG,EAAAA,MAAM,EAAGC,WAAW,iBAAKH,cAAA,CAACI,iBAAQ,EAAA;IAAA,GAAKD;
|
|
1
|
+
{"version":3,"file":"TextareaWithDisplayFormat.js","sources":["../../src/textareaWithDisplayFormat/TextareaWithDisplayFormat.tsx"],"sourcesContent":["import { TextArea, type TextAreaProps } from '../inputs/TextArea';\nimport WithDisplayFormat, { type WithDisplayFormatProps } from '../withDisplayFormat';\n\nexport interface TextareaWithDisplayFormatProps extends Omit<WithDisplayFormatProps, 'render'> {}\n\nconst TextareaWithDisplayFormat = (props: TextareaWithDisplayFormatProps) => (\n <WithDisplayFormat<TextAreaProps>\n {...props}\n render={(renderProps) => <TextArea {...renderProps} />}\n />\n);\n\nexport default TextareaWithDisplayFormat;\n"],"names":["TextareaWithDisplayFormat","props","_jsx","WithDisplayFormat","render","renderProps","TextArea"],"mappings":";;;;;;;;AAKA,MAAMA,yBAAyB,GAAIC,KAAqC,iBACtEC,cAAA,CAACC,yBAAiB,EAAA;AAAA,EAAA,GACZF,KAAK;AACTG,EAAAA,MAAM,EAAGC,WAAW,iBAAKH,cAAA,CAACI,iBAAQ,EAAA;IAAA,GAAKD;GAAY;AAAI,CAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaWithDisplayFormat.mjs","sources":["../../src/textareaWithDisplayFormat/TextareaWithDisplayFormat.tsx"],"sourcesContent":["import { TextArea, type TextAreaProps } from '../inputs/TextArea';\nimport WithDisplayFormat, { type WithDisplayFormatProps } from '../withDisplayFormat';\n\nexport interface TextareaWithDisplayFormatProps extends Omit<WithDisplayFormatProps, 'render'> {}\n\nconst TextareaWithDisplayFormat = (props: TextareaWithDisplayFormatProps) => (\n <WithDisplayFormat<TextAreaProps>\n {...props}\n render={(renderProps) => <TextArea {...renderProps} />}\n />\n);\n\nexport default TextareaWithDisplayFormat;\n"],"names":["TextareaWithDisplayFormat","props","_jsx","WithDisplayFormat","render","renderProps","TextArea"],"mappings":";;;;AAKA,MAAMA,yBAAyB,GAAIC,KAAqC,iBACtEC,GAAA,CAACC,iBAAiB,EAAA;AAAA,EAAA,GACZF,KAAK;AACTG,EAAAA,MAAM,EAAGC,WAAW,iBAAKH,GAAA,CAACI,QAAQ,EAAA;IAAA,GAAKD;
|
|
1
|
+
{"version":3,"file":"TextareaWithDisplayFormat.mjs","sources":["../../src/textareaWithDisplayFormat/TextareaWithDisplayFormat.tsx"],"sourcesContent":["import { TextArea, type TextAreaProps } from '../inputs/TextArea';\nimport WithDisplayFormat, { type WithDisplayFormatProps } from '../withDisplayFormat';\n\nexport interface TextareaWithDisplayFormatProps extends Omit<WithDisplayFormatProps, 'render'> {}\n\nconst TextareaWithDisplayFormat = (props: TextareaWithDisplayFormatProps) => (\n <WithDisplayFormat<TextAreaProps>\n {...props}\n render={(renderProps) => <TextArea {...renderProps} />}\n />\n);\n\nexport default TextareaWithDisplayFormat;\n"],"names":["TextareaWithDisplayFormat","props","_jsx","WithDisplayFormat","render","renderProps","TextArea"],"mappings":";;;;AAKA,MAAMA,yBAAyB,GAAIC,KAAqC,iBACtEC,GAAA,CAACC,iBAAiB,EAAA;AAAA,EAAA,GACZF,KAAK;AACTG,EAAAA,MAAM,EAAGC,WAAW,iBAAKH,GAAA,CAACI,QAAQ,EAAA;IAAA,GAAKD;GAAY;AAAI,CAAA;;;;"}
|
package/build/tile/Tile.js
CHANGED
|
@@ -4,7 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var Body = require('../body/Body.js');
|
|
7
|
+
require('../common/theme.js');
|
|
8
|
+
require('../common/direction.js');
|
|
9
|
+
require('../common/propsValues/control.js');
|
|
10
|
+
require('../common/propsValues/breakpoint.js');
|
|
11
|
+
require('../common/propsValues/size.js');
|
|
7
12
|
var typography = require('../common/propsValues/typography.js');
|
|
13
|
+
require('../common/propsValues/width.js');
|
|
14
|
+
require('../common/propsValues/type.js');
|
|
15
|
+
require('../common/propsValues/dateMode.js');
|
|
16
|
+
require('../common/propsValues/monthFormat.js');
|
|
17
|
+
require('../common/propsValues/position.js');
|
|
18
|
+
require('../common/propsValues/layouts.js');
|
|
19
|
+
require('../common/propsValues/status.js');
|
|
20
|
+
require('../common/propsValues/sentiment.js');
|
|
21
|
+
require('../common/propsValues/profileType.js');
|
|
22
|
+
require('../common/propsValues/variant.js');
|
|
23
|
+
require('../common/propsValues/scroll.js');
|
|
24
|
+
require('../common/propsValues/markdownNodeType.js');
|
|
25
|
+
require('../common/fileType.js');
|
|
8
26
|
require('@transferwise/icons');
|
|
9
27
|
require('react');
|
|
10
28
|
require('react-intl');
|
package/build/tile/Tile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.js","sources":["../../src/tile/Tile.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport Body from '../body';\nimport { Size, Typography } from '../common';\nimport Title from '../title';\n\nexport interface TileProps {\n /** Classes to apply to the Tile container */\n /** A label for the accordion item, used for accessibility purposes. */\n 'aria-label'?: string;\n className?: string;\n description?: React.ReactNode;\n disabled?: boolean;\n href?: string;\n target?: React.HTMLAttributeAnchorTarget;\n /** Accepts only Avatar and images */\n media: React.ReactNode;\n /** Function called onClick or onKeyDown */\n onClick?: (event?: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;\n /** The size applied to Tile */\n size?: `${Size.SMALL | Size.MEDIUM}`;\n title: React.ReactNode;\n}\n\nexport default function Tile({\n 'aria-label': ariaLabel,\n className,\n description,\n disabled,\n href,\n target,\n media,\n onClick,\n size = 'md',\n title,\n}: TileProps) {\n const isSmall = size === 'sm';\n const Element = href ? 'a' : 'button';\n\n return (\n <Element\n className={clsx(\n 'decision',\n 'flex-column',\n 'np-tile',\n 'text-no-decoration',\n 'text-xs-center',\n className,\n {\n 'p-a-3': !isSmall,\n 'p-a-2 np-tile--small': isSmall,\n },\n disabled && 'disabled',\n )}\n href={href}\n target={target}\n aria-label={ariaLabel}\n onClick={disabled ? undefined : onClick}\n onKeyDown={\n disabled\n ? undefined\n : ({ key }) => {\n if (key === 'Enter' || key === ' ') {\n onClick?.();\n }\n }\n }\n >\n <div className=\"np-tile__media d-flex justify-content-center\">{media}</div>\n <Title type={Typography.TITLE_SUBSECTION} className={clsx(isSmall ? 'm-t-1' : 'm-t-2')}>\n {title}\n </Title>\n {description ? (\n <Body as=\"span\" type={Typography.BODY_DEFAULT} className=\"m-t-1\">\n {description}\n </Body>\n ) : null}\n </Element>\n );\n}\n"],"names":["Tile","ariaLabel","className","description","disabled","href","target","media","onClick","size","title","isSmall","Element","_jsxs","clsx","undefined","onKeyDown","key","children","_jsx","Title","type","Typography","TITLE_SUBSECTION","Body","as","BODY_DEFAULT"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tile.js","sources":["../../src/tile/Tile.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport Body from '../body';\nimport { Size, Typography } from '../common';\nimport Title from '../title';\n\nexport interface TileProps {\n /** Classes to apply to the Tile container */\n /** A label for the accordion item, used for accessibility purposes. */\n 'aria-label'?: string;\n className?: string;\n description?: React.ReactNode;\n disabled?: boolean;\n href?: string;\n target?: React.HTMLAttributeAnchorTarget;\n /** Accepts only Avatar and images */\n media: React.ReactNode;\n /** Function called onClick or onKeyDown */\n onClick?: (event?: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;\n /** The size applied to Tile */\n size?: `${Size.SMALL | Size.MEDIUM}`;\n title: React.ReactNode;\n}\n\nexport default function Tile({\n 'aria-label': ariaLabel,\n className,\n description,\n disabled,\n href,\n target,\n media,\n onClick,\n size = 'md',\n title,\n}: TileProps) {\n const isSmall = size === 'sm';\n const Element = href ? 'a' : 'button';\n\n return (\n <Element\n className={clsx(\n 'decision',\n 'flex-column',\n 'np-tile',\n 'text-no-decoration',\n 'text-xs-center',\n className,\n {\n 'p-a-3': !isSmall,\n 'p-a-2 np-tile--small': isSmall,\n },\n disabled && 'disabled',\n )}\n href={href}\n target={target}\n aria-label={ariaLabel}\n onClick={disabled ? undefined : onClick}\n onKeyDown={\n disabled\n ? undefined\n : ({ key }) => {\n if (key === 'Enter' || key === ' ') {\n onClick?.();\n }\n }\n }\n >\n <div className=\"np-tile__media d-flex justify-content-center\">{media}</div>\n <Title type={Typography.TITLE_SUBSECTION} className={clsx(isSmall ? 'm-t-1' : 'm-t-2')}>\n {title}\n </Title>\n {description ? (\n <Body as=\"span\" type={Typography.BODY_DEFAULT} className=\"m-t-1\">\n {description}\n </Body>\n ) : null}\n </Element>\n );\n}\n"],"names":["Tile","ariaLabel","className","description","disabled","href","target","media","onClick","size","title","isSmall","Element","_jsxs","clsx","und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EAAEC,qBAAU,CAACC,gBAAiB;MAACrB,SAAS,EAAEY,SAAI,CAACH,OAAO,GAAG,OAAO,GAAG,OAAO,CAAE;AAAAO,MAAAA,QAAA,EACpFR;AAAK,KACD,CACP,EAACP,WAAW,gBACVgB,cAAA,CAACK,YAAI,EAAA;AAACC,MAAAA,EAAE,EAAC,MAAM;MAACJ,IAAI,EAAEC,qBAAU,CAACI,YAAa;AAACxB,MAAAA,SAAS,EAAC,OAAO;AAAAgB,MAAAA,QAAA,EAC7Df;KACG,CAAC,GACL,IAAI;AAAA,GACD,CAAC;AAEd;;;;"}
|
package/build/tile/Tile.mjs
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import Body from '../body/Body.mjs';
|
|
3
|
+
import '../common/theme.mjs';
|
|
4
|
+
import '../common/direction.mjs';
|
|
5
|
+
import '../common/propsValues/control.mjs';
|
|
6
|
+
import '../common/propsValues/breakpoint.mjs';
|
|
7
|
+
import '../common/propsValues/size.mjs';
|
|
3
8
|
import { Typography } from '../common/propsValues/typography.mjs';
|
|
9
|
+
import '../common/propsValues/width.mjs';
|
|
10
|
+
import '../common/propsValues/type.mjs';
|
|
11
|
+
import '../common/propsValues/dateMode.mjs';
|
|
12
|
+
import '../common/propsValues/monthFormat.mjs';
|
|
13
|
+
import '../common/propsValues/position.mjs';
|
|
14
|
+
import '../common/propsValues/layouts.mjs';
|
|
15
|
+
import '../common/propsValues/status.mjs';
|
|
16
|
+
import '../common/propsValues/sentiment.mjs';
|
|
17
|
+
import '../common/propsValues/profileType.mjs';
|
|
18
|
+
import '../common/propsValues/variant.mjs';
|
|
19
|
+
import '../common/propsValues/scroll.mjs';
|
|
20
|
+
import '../common/propsValues/markdownNodeType.mjs';
|
|
21
|
+
import '../common/fileType.mjs';
|
|
4
22
|
import '@transferwise/icons';
|
|
5
23
|
import 'react';
|
|
6
24
|
import 'react-intl';
|
package/build/tile/Tile.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.mjs","sources":["../../src/tile/Tile.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport Body from '../body';\nimport { Size, Typography } from '../common';\nimport Title from '../title';\n\nexport interface TileProps {\n /** Classes to apply to the Tile container */\n /** A label for the accordion item, used for accessibility purposes. */\n 'aria-label'?: string;\n className?: string;\n description?: React.ReactNode;\n disabled?: boolean;\n href?: string;\n target?: React.HTMLAttributeAnchorTarget;\n /** Accepts only Avatar and images */\n media: React.ReactNode;\n /** Function called onClick or onKeyDown */\n onClick?: (event?: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;\n /** The size applied to Tile */\n size?: `${Size.SMALL | Size.MEDIUM}`;\n title: React.ReactNode;\n}\n\nexport default function Tile({\n 'aria-label': ariaLabel,\n className,\n description,\n disabled,\n href,\n target,\n media,\n onClick,\n size = 'md',\n title,\n}: TileProps) {\n const isSmall = size === 'sm';\n const Element = href ? 'a' : 'button';\n\n return (\n <Element\n className={clsx(\n 'decision',\n 'flex-column',\n 'np-tile',\n 'text-no-decoration',\n 'text-xs-center',\n className,\n {\n 'p-a-3': !isSmall,\n 'p-a-2 np-tile--small': isSmall,\n },\n disabled && 'disabled',\n )}\n href={href}\n target={target}\n aria-label={ariaLabel}\n onClick={disabled ? undefined : onClick}\n onKeyDown={\n disabled\n ? undefined\n : ({ key }) => {\n if (key === 'Enter' || key === ' ') {\n onClick?.();\n }\n }\n }\n >\n <div className=\"np-tile__media d-flex justify-content-center\">{media}</div>\n <Title type={Typography.TITLE_SUBSECTION} className={clsx(isSmall ? 'm-t-1' : 'm-t-2')}>\n {title}\n </Title>\n {description ? (\n <Body as=\"span\" type={Typography.BODY_DEFAULT} className=\"m-t-1\">\n {description}\n </Body>\n ) : null}\n </Element>\n );\n}\n"],"names":["Tile","ariaLabel","className","description","disabled","href","target","media","onClick","size","title","isSmall","Element","_jsxs","clsx","undefined","onKeyDown","key","children","_jsx","Title","type","Typography","TITLE_SUBSECTION","Body","as","BODY_DEFAULT"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tile.mjs","sources":["../../src/tile/Tile.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport Body from '../body';\nimport { Size, Typography } from '../common';\nimport Title from '../title';\n\nexport interface TileProps {\n /** Classes to apply to the Tile container */\n /** A label for the accordion item, used for accessibility purposes. */\n 'aria-label'?: string;\n className?: string;\n description?: React.ReactNode;\n disabled?: boolean;\n href?: string;\n target?: React.HTMLAttributeAnchorTarget;\n /** Accepts only Avatar and images */\n media: React.ReactNode;\n /** Function called onClick or onKeyDown */\n onClick?: (event?: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;\n /** The size applied to Tile */\n size?: `${Size.SMALL | Size.MEDIUM}`;\n title: React.ReactNode;\n}\n\nexport default function Tile({\n 'aria-label': ariaLabel,\n className,\n description,\n disabled,\n href,\n target,\n media,\n onClick,\n size = 'md',\n title,\n}: TileProps) {\n const isSmall = size === 'sm';\n const Element = href ? 'a' : 'button';\n\n return (\n <Element\n className={clsx(\n 'decision',\n 'flex-column',\n 'np-tile',\n 'text-no-decoration',\n 'text-xs-center',\n className,\n {\n 'p-a-3': !isSmall,\n 'p-a-2 np-tile--small': isSmall,\n },\n disabled && 'disabled',\n )}\n href={href}\n target={target}\n aria-label={ariaLabel}\n onClick={disabled ? undefined : onClick}\n onKeyDown={\n disabled\n ? undefined\n : ({ key }) => {\n if (key === 'Enter' || key === ' ') {\n onClick?.();\n }\n }\n }\n >\n <div className=\"np-tile__media d-flex justify-content-center\">{media}</div>\n <Title type={Typography.TITLE_SUBSECTION} className={clsx(isSmall ? 'm-t-1' : 'm-t-2')}>\n {title}\n </Title>\n {description ? (\n <Body as=\"span\" type={Typography.BODY_DEFAULT} className=\"m-t-1\">\n {description}\n </Body>\n ) : null}\n </Element>\n );\n}\n"],"names":["Tile","ariaLabel","className","description","disabled","href","target","media","onClick","size","title","isSmall","Element","_jsxs","clsx","undefined","onKe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,CAACC,gBAAiB;MAACrB,SAAS,EAAEY,IAAI,CAACH,OAAO,GAAG,OAAO,GAAG,OAAO,CAAE;AAAAO,MAAAA,QAAA,EACpFR;AAAK,KACD,CACP,EAACP,WAAW,gBACVgB,GAAA,CAACK,IAAI,EAAA;AAACC,MAAAA,EAAE,EAAC,MAAM;MAACJ,IAAI,EAAEC,UAAU,CAACI,YAAa;AAACxB,MAAAA,SAAS,EAAC,OAAO;AAAAgB,MAAAA,QAAA,EAC7Df;KACG,CAAC,GACL,IAAI;AAAA,GACD,CAAC;AAEd;;;;"}
|
package/build/title/Title.js
CHANGED
|
@@ -4,7 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var React = require('react');
|
|
7
|
+
require('../common/theme.js');
|
|
8
|
+
require('../common/direction.js');
|
|
9
|
+
require('../common/propsValues/control.js');
|
|
10
|
+
require('../common/propsValues/breakpoint.js');
|
|
11
|
+
require('../common/propsValues/size.js');
|
|
7
12
|
var typography = require('../common/propsValues/typography.js');
|
|
13
|
+
require('../common/propsValues/width.js');
|
|
14
|
+
require('../common/propsValues/type.js');
|
|
15
|
+
require('../common/propsValues/dateMode.js');
|
|
16
|
+
require('../common/propsValues/monthFormat.js');
|
|
17
|
+
require('../common/propsValues/position.js');
|
|
18
|
+
require('../common/propsValues/layouts.js');
|
|
19
|
+
require('../common/propsValues/status.js');
|
|
20
|
+
require('../common/propsValues/sentiment.js');
|
|
21
|
+
require('../common/propsValues/profileType.js');
|
|
22
|
+
require('../common/propsValues/variant.js');
|
|
23
|
+
require('../common/propsValues/scroll.js');
|
|
24
|
+
require('../common/propsValues/markdownNodeType.js');
|
|
25
|
+
require('../common/fileType.js');
|
|
8
26
|
require('@transferwise/icons');
|
|
9
27
|
require('react-intl');
|
|
10
28
|
require('../common/closeButton/CloseButton.messages.js');
|
package/build/title/Title.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","sources":["../../src/title/Title.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { forwardRef, LabelHTMLAttributes, LiHTMLAttributes } from 'react';\n\nimport { TitleTypes, Typography, Heading } from '../common';\n\nconst DEFAULT_TYPE = Typography.TITLE_GROUP;\n\nconst titleTypeMapping = {\n [Typography.TITLE_SCREEN]: 'h1',\n [Typography.TITLE_SECTION]: 'h2',\n [Typography.TITLE_SUBSECTION]: 'h3',\n [Typography.TITLE_BODY]: 'h4',\n [Typography.TITLE_GROUP]: 'h5',\n} as const;\n\ntype Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement> &\n LiHTMLAttributes<HTMLLIElement> & {\n /**\n * Default value will based one `type` prop\n */\n as?: 'span' | 'label' | 'li' | 'legend' | 'header' | Heading;\n /**\n * Default value: {@link DEFAULT_TYPE}\n */\n type?: TitleTypes;\n };\n\nconst Title = React.forwardRef<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement, Props>(\n ({ as, type = DEFAULT_TYPE, className, ...props }, ref) => {\n const mapping = titleTypeMapping[type as keyof typeof titleTypeMapping];\n const isTypeSupported = mapping !== undefined;\n if (isTypeSupported) {\n const HeaderTag = as ?? mapping;\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${type}`, className)}\n />\n );\n }\n const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${DEFAULT_TYPE}`, className)}\n />\n );\n },\n);\n\nexport default Title;\n"],"names":["DEFAULT_TYPE","Typography","TITLE_GROUP","titleTypeMapping","TITLE_SCREEN","TITLE_SECTION","TITLE_SUBSECTION","TITLE_BODY","Title","React","forwardRef","as","type","className","props","ref","mapping","isTypeSupported","undefined","HeaderTag","_jsx","clsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Title.js","sources":["../../src/title/Title.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { forwardRef, LabelHTMLAttributes, LiHTMLAttributes } from 'react';\n\nimport { TitleTypes, Typography, Heading } from '../common';\n\nconst DEFAULT_TYPE = Typography.TITLE_GROUP;\n\nconst titleTypeMapping = {\n [Typography.TITLE_SCREEN]: 'h1',\n [Typography.TITLE_SECTION]: 'h2',\n [Typography.TITLE_SUBSECTION]: 'h3',\n [Typography.TITLE_BODY]: 'h4',\n [Typography.TITLE_GROUP]: 'h5',\n} as const;\n\ntype Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement> &\n LiHTMLAttributes<HTMLLIElement> & {\n /**\n * Default value will based one `type` prop\n */\n as?: 'span' | 'label' | 'li' | 'legend' | 'header' | Heading;\n /**\n * Default value: {@link DEFAULT_TYPE}\n */\n type?: TitleTypes;\n };\n\nconst Title = React.forwardRef<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement, Props>(\n ({ as, type = DEFAULT_TYPE, className, ...props }, ref) => {\n const mapping = titleTypeMapping[type as keyof typeof titleTypeMapping];\n const isTypeSupported = mapping !== undefined;\n if (isTypeSupported) {\n const HeaderTag = as ?? mapping;\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${type}`, className)}\n />\n );\n }\n const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${DEFAULT_TYPE}`, className)}\n />\n );\n },\n);\n\nexport default Title;\n"],"names":["DEFAULT_TYPE","Typography","TITLE_GROUP","titleTypeMapping","TITLE_SCREEN","TITLE_SECTION","TITLE_SUBSECTION","TITLE_BODY","Title","React","forwardRef","as","type","className","props","ref","mapping","isTypeSupported","undefined","HeaderTag","_jsx","clsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAMA,YAAY,GAAGC,qBAAU,CAACC,WAAW;AAE3C,MAAM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import '../common/theme.mjs';
|
|
4
|
+
import '../common/direction.mjs';
|
|
5
|
+
import '../common/propsValues/control.mjs';
|
|
6
|
+
import '../common/propsValues/breakpoint.mjs';
|
|
7
|
+
import '../common/propsValues/size.mjs';
|
|
3
8
|
import { Typography } from '../common/propsValues/typography.mjs';
|
|
9
|
+
import '../common/propsValues/width.mjs';
|
|
10
|
+
import '../common/propsValues/type.mjs';
|
|
11
|
+
import '../common/propsValues/dateMode.mjs';
|
|
12
|
+
import '../common/propsValues/monthFormat.mjs';
|
|
13
|
+
import '../common/propsValues/position.mjs';
|
|
14
|
+
import '../common/propsValues/layouts.mjs';
|
|
15
|
+
import '../common/propsValues/status.mjs';
|
|
16
|
+
import '../common/propsValues/sentiment.mjs';
|
|
17
|
+
import '../common/propsValues/profileType.mjs';
|
|
18
|
+
import '../common/propsValues/variant.mjs';
|
|
19
|
+
import '../common/propsValues/scroll.mjs';
|
|
20
|
+
import '../common/propsValues/markdownNodeType.mjs';
|
|
21
|
+
import '../common/fileType.mjs';
|
|
4
22
|
import '@transferwise/icons';
|
|
5
23
|
import 'react-intl';
|
|
6
24
|
import '../common/closeButton/CloseButton.messages.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.mjs","sources":["../../src/title/Title.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { forwardRef, LabelHTMLAttributes, LiHTMLAttributes } from 'react';\n\nimport { TitleTypes, Typography, Heading } from '../common';\n\nconst DEFAULT_TYPE = Typography.TITLE_GROUP;\n\nconst titleTypeMapping = {\n [Typography.TITLE_SCREEN]: 'h1',\n [Typography.TITLE_SECTION]: 'h2',\n [Typography.TITLE_SUBSECTION]: 'h3',\n [Typography.TITLE_BODY]: 'h4',\n [Typography.TITLE_GROUP]: 'h5',\n} as const;\n\ntype Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement> &\n LiHTMLAttributes<HTMLLIElement> & {\n /**\n * Default value will based one `type` prop\n */\n as?: 'span' | 'label' | 'li' | 'legend' | 'header' | Heading;\n /**\n * Default value: {@link DEFAULT_TYPE}\n */\n type?: TitleTypes;\n };\n\nconst Title = React.forwardRef<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement, Props>(\n ({ as, type = DEFAULT_TYPE, className, ...props }, ref) => {\n const mapping = titleTypeMapping[type as keyof typeof titleTypeMapping];\n const isTypeSupported = mapping !== undefined;\n if (isTypeSupported) {\n const HeaderTag = as ?? mapping;\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${type}`, className)}\n />\n );\n }\n const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${DEFAULT_TYPE}`, className)}\n />\n );\n },\n);\n\nexport default Title;\n"],"names":["DEFAULT_TYPE","Typography","TITLE_GROUP","titleTypeMapping","TITLE_SCREEN","TITLE_SECTION","TITLE_SUBSECTION","TITLE_BODY","Title","React","forwardRef","as","type","className","props","ref","mapping","isTypeSupported","undefined","HeaderTag","_jsx","clsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Title.mjs","sources":["../../src/title/Title.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { forwardRef, LabelHTMLAttributes, LiHTMLAttributes } from 'react';\n\nimport { TitleTypes, Typography, Heading } from '../common';\n\nconst DEFAULT_TYPE = Typography.TITLE_GROUP;\n\nconst titleTypeMapping = {\n [Typography.TITLE_SCREEN]: 'h1',\n [Typography.TITLE_SECTION]: 'h2',\n [Typography.TITLE_SUBSECTION]: 'h3',\n [Typography.TITLE_BODY]: 'h4',\n [Typography.TITLE_GROUP]: 'h5',\n} as const;\n\ntype Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement> &\n LiHTMLAttributes<HTMLLIElement> & {\n /**\n * Default value will based one `type` prop\n */\n as?: 'span' | 'label' | 'li' | 'legend' | 'header' | Heading;\n /**\n * Default value: {@link DEFAULT_TYPE}\n */\n type?: TitleTypes;\n };\n\nconst Title = React.forwardRef<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement, Props>(\n ({ as, type = DEFAULT_TYPE, className, ...props }, ref) => {\n const mapping = titleTypeMapping[type as keyof typeof titleTypeMapping];\n const isTypeSupported = mapping !== undefined;\n if (isTypeSupported) {\n const HeaderTag = as ?? mapping;\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${type}`, className)}\n />\n );\n }\n const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${DEFAULT_TYPE}`, className)}\n />\n );\n },\n);\n\nexport default Title;\n"],"names":["DEFAULT_TYPE","Typography","TITLE_GROUP","titleTypeMapping","TITLE_SCREEN","TITLE_SECTION","TITLE_SUBSECTION","TITLE_BODY","Title","React","forwardRef","as","type","className","props","ref","mapping","isTypeSupported","undefined","HeaderTag","_jsx","clsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAMA,YAAY,GAAGC,UAAU,CAACC,WAAW;AAE3C,MAAMC,gBAAgB,GAAG;AACvB,EAAA,CAACF,UAAU,CAACG,YAAY,GAAG,IAAI;AAC/B,EAAA,CAACH,UAAU,CAACI,aAAa,GAAG,IAAI;AAChC,EAAA,CAACJ,UAAU,CAACK,gBAAgB,GAAG,IAAI;AACnC,EAAA,CAACL,UAAU,CAACM,UAAU,GAAG,IAAI;EAC7B,CAACN,UAAU,CAACC,WAAW,GAAG;CAClB;AAcV,MAAMM,KAAK,gBAAGC,cAAK,CAACC,UAAU,CAC5B,CAAC;EAAEC,EAAE;AAAEC,EAAAA,IAAI,GAAGZ,YAAY;EAAEa,SAAS;EAAE,GAAGC;AAAK,CAAE,EAAEC,GAAG,KAAI;AACxD,EAAA,MAAMC,OAAO,GAAGb,gBAAgB,CAACS,IAAqC,CAAC;AACvE,EAAA,MAAMK,eAAe,GAAGD,OAAO,KAAKE,SAAS;AAC7C,EAAA,IAAID,eAAe,EAAE;AACnB,IAAA,MAAME,SAAS,GAAGR,EAAE,IAAIK,OAAO;IAC/B,oBACEI,GAAA,CAACD,SAAS,EAAA;AACRJ,MAAAA,GAAG,EAAEA,GAAsB;AAAA,MAAA,GACvBD,KAAK;AACTD,MAAAA,SAAS,EAAEQ,IAAI,CAAC,WAAWT,IAAI,CAAA,CAAE,EAAEC,SAAS;AAAE,KAAA,CAC9C;AAEN,EAAA;AACA,EAAA,MAAMM,SAAS,GAAGR,EAAE,IAAIR,gBAAgB,CAACH,YAAY,CAAC;EACtD,oBACEoB,GAAA,CAACD,SAAS,EAAA;AACRJ,IAAAA,GAAG,EAAEA,GAAsB;AAAA,IAAA,GACvBD,KAAK;AACTD,IAAAA,SAAS,EAAEQ,IAAI,CAAC,WAAWrB,YAAY,CAAA,CAAE,EAAEa,SAAS;AAAE,GAAA,CACtD;AAEN,CAAC;;;;"}
|
package/build/tooltip/Tooltip.js
CHANGED
|
@@ -5,7 +5,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var reactPopper = require('react-popper');
|
|
8
|
+
require('../common/theme.js');
|
|
9
|
+
require('../common/direction.js');
|
|
10
|
+
require('../common/propsValues/control.js');
|
|
11
|
+
require('../common/propsValues/breakpoint.js');
|
|
12
|
+
require('../common/propsValues/size.js');
|
|
13
|
+
require('../common/propsValues/typography.js');
|
|
14
|
+
require('../common/propsValues/width.js');
|
|
15
|
+
require('../common/propsValues/type.js');
|
|
16
|
+
require('../common/propsValues/dateMode.js');
|
|
17
|
+
require('../common/propsValues/monthFormat.js');
|
|
8
18
|
var position = require('../common/propsValues/position.js');
|
|
19
|
+
require('../common/propsValues/layouts.js');
|
|
20
|
+
require('../common/propsValues/status.js');
|
|
21
|
+
require('../common/propsValues/sentiment.js');
|
|
22
|
+
require('../common/propsValues/profileType.js');
|
|
23
|
+
require('../common/propsValues/variant.js');
|
|
24
|
+
require('../common/propsValues/scroll.js');
|
|
25
|
+
require('../common/propsValues/markdownNodeType.js');
|
|
26
|
+
require('../common/fileType.js');
|
|
9
27
|
require('@transferwise/icons');
|
|
10
28
|
require('react-intl');
|
|
11
29
|
require('../common/closeButton/CloseButton.messages.js');
|
|
@@ -56,7 +74,6 @@ const Tooltip = ({
|
|
|
56
74
|
placement: position$1,
|
|
57
75
|
modifiers
|
|
58
76
|
});
|
|
59
|
-
|
|
60
77
|
// If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),
|
|
61
78
|
// it is most simple just to always position before opening
|
|
62
79
|
React.useEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sources":["../../src/tooltip/Tooltip.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/ban-ts-comment */\nimport { clsx } from 'clsx';\nimport {\n AriaAttributes,\n PropsWithChildren,\n ReactElement,\n ReactNode,\n cloneElement,\n useEffect,\n useId,\n useRef,\n useState,\n} from 'react';\nimport { usePopper } from 'react-popper';\n\nimport { CommonProps, Position } from '../common';\nimport {\n PositionBottom,\n PositionLeft,\n PositionRight,\n PositionTop,\n} from '../common/propsValues/position';\n\nexport type TooltipProps = PropsWithChildren<{\n position?: PositionTop | PositionRight | PositionBottom | PositionLeft;\n label: ReactNode;\n id?: string;\n}> &\n CommonProps;\n\nconst Tooltip = ({\n position = Position.TOP,\n children = undefined,\n label,\n id,\n className,\n}: TooltipProps) => {\n const [open, setOpen] = useState(false);\n const anchorReference = useRef(null);\n const [arrowElement, setArrowElement] = useState(null);\n const [popperElement, setPopperElement] = useState(null);\n\n const fallbackId = useId();\n const tooltipId = id ?? fallbackId;\n const modifiers = [];\n\n modifiers.push({\n name: 'arrow',\n options: {\n element: arrowElement,\n options: {\n padding: 8, // 8px from the edges of the popper\n },\n },\n });\n // This lets you displace a popper element from its reference element.\n modifiers.push({ name: 'offset', options: { offset: [0, 16] } });\n modifiers.push({\n name: 'flip',\n options: {\n fallbackPlacements: Position.TOP,\n },\n });\n\n const { styles, attributes, forceUpdate } = usePopper(anchorReference.current, popperElement, {\n placement: position,\n modifiers,\n });\n\n // If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),\n // it is most simple just to always position before opening\n useEffect(() => {\n if (open && forceUpdate) {\n forceUpdate();\n }\n }, [open]);\n\n return (\n <span\n ref={anchorReference}\n className=\"tw-tooltip-container\"\n onMouseOver={() => setOpen(true)}\n onFocus={() => setOpen(true)}\n onMouseOut={() => setOpen(false)}\n onBlur={() => setOpen(false)}\n >\n {children\n ? cloneElement(children as ReactElement<Pick<AriaAttributes, 'aria-describedby'>>, {\n 'aria-describedby': `${tooltipId}-tooltip`,\n })\n : null}\n <div\n // @ts-expect-error\n ref={setPopperElement}\n className={clsx(\n 'np-tooltip',\n 'np-panel',\n open ? `np-panel--open np-tooltip--open` : null,\n className,\n )}\n style={{ ...styles.popper }}\n {...attributes.popper}\n aria-hidden={!open}\n role=\"tooltip\"\n id={`${tooltipId}-tooltip`}\n >\n <div className=\"np-panel__content tooltip-inner\">\n {label}\n <div\n // @ts-expect-error\n ref={setArrowElement}\n className={clsx('np-panel__arrow')}\n style={styles.arrow}\n />\n </div>\n </div>\n </span>\n );\n};\n\nexport default Tooltip;\n"],"names":["Tooltip","position","Position","TOP","children","undefined","label","id","className","open","setOpen","useState","anchorReference","useRef","arrowElement","setArrowElement","popperElement","setPopperElement","fallbackId","useId","tooltipId","modifiers","push","name","options","element","padding","offset","fallbackPlacements","styles","attributes","forceUpdate","usePopper","current","placement","useEffect","_jsxs","ref","onMouseOver","onFocus","onMouseOut","onBlur","cloneElement","_jsx","clsx","style","popper","role","arrow"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sources":["../../src/tooltip/Tooltip.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/ban-ts-comment */\nimport { clsx } from 'clsx';\nimport {\n AriaAttributes,\n PropsWithChildren,\n ReactElement,\n ReactNode,\n cloneElement,\n useEffect,\n useId,\n useRef,\n useState,\n} from 'react';\nimport { usePopper } from 'react-popper';\n\nimport { CommonProps, Position } from '../common';\nimport {\n PositionBottom,\n PositionLeft,\n PositionRight,\n PositionTop,\n} from '../common/propsValues/position';\n\nexport type TooltipProps = PropsWithChildren<{\n position?: PositionTop | PositionRight | PositionBottom | PositionLeft;\n label: ReactNode;\n id?: string;\n}> &\n CommonProps;\n\nconst Tooltip = ({\n position = Position.TOP,\n children = undefined,\n label,\n id,\n className,\n}: TooltipProps) => {\n const [open, setOpen] = useState(false);\n const anchorReference = useRef(null);\n const [arrowElement, setArrowElement] = useState(null);\n const [popperElement, setPopperElement] = useState(null);\n\n const fallbackId = useId();\n const tooltipId = id ?? fallbackId;\n const modifiers = [];\n\n modifiers.push({\n name: 'arrow',\n options: {\n element: arrowElement,\n options: {\n padding: 8, // 8px from the edges of the popper\n },\n },\n });\n // This lets you displace a popper element from its reference element.\n modifiers.push({ name: 'offset', options: { offset: [0, 16] } });\n modifiers.push({\n name: 'flip',\n options: {\n fallbackPlacements: Position.TOP,\n },\n });\n\n const { styles, attributes, forceUpdate } = usePopper(anchorReference.current, popperElement, {\n placement: position,\n modifiers,\n });\n\n // If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),\n // it is most simple just to always position before opening\n useEffect(() => {\n if (open && forceUpdate) {\n forceUpdate();\n }\n }, [open]);\n\n return (\n <span\n ref={anchorReference}\n className=\"tw-tooltip-container\"\n onMouseOver={() => setOpen(true)}\n onFocus={() => setOpen(true)}\n onMouseOut={() => setOpen(false)}\n onBlur={() => setOpen(false)}\n >\n {children\n ? cloneElement(children as ReactElement<Pick<AriaAttributes, 'aria-describedby'>>, {\n 'aria-describedby': `${tooltipId}-tooltip`,\n })\n : null}\n <div\n // @ts-expect-error\n ref={setPopperElement}\n className={clsx(\n 'np-tooltip',\n 'np-panel',\n open ? `np-panel--open np-tooltip--open` : null,\n className,\n )}\n style={{ ...styles.popper }}\n {...attributes.popper}\n aria-hidden={!open}\n role=\"tooltip\"\n id={`${tooltipId}-tooltip`}\n >\n <div className=\"np-panel__content tooltip-inner\">\n {label}\n <div\n // @ts-expect-error\n ref={setArrowElement}\n className={clsx('np-panel__arrow')}\n style={styles.arrow}\n />\n </div>\n </div>\n </span>\n );\n};\n\nexport default Tooltip;\n"],"names":["Tooltip","position","Position","TOP","children","undefined","label","id","className","open","setOpen","useState","anchorReference","useRef","arrowElement","setArrowElement","popperElement","setPopperElement","fallbackId","useId","tooltipId","modifiers","push","name","options","element","padding","offset","fallbackPlacements","styles","attributes","forceUpdate","usePopper","current","placement","useEffect","_jsxs","ref","onMouseOver","onFocus","onMouseOut","onBlur","cloneElement","_jsx","clsx","style","popper","role","arrow"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AA8BA,MAAMA,OAAO,GAAGA,CAAC;YACfC,UAAQ,GAAGC,iBAAQ,CAACC,GAAG;AACvBC,EAAAA,QAAQ,GAAGC,SAAS;EACpBC,KAAK;EACLC,EAAE;AACFC,EAAAA;AAAS,CACI,KAAI;EACjB,MAAM,CAACC,IAAI,EAAEC,OAAO,CAAC,GAAGC,cAAQ,CAAC,KAAK,CAAC;AACvC,EAAA,MAAMC,eAAe,GAAGC,YAAM,CAAC,IAAI,CAAC;EACpC,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAGJ,cAAQ,CAAC,IAAI,CAAC;EACtD,MAAM,CAACK,aAAa,EAAEC,gBAAgB,CAAC,GAAGN,cAAQ,CAAC,IAAI,CAAC;AAExD,EAAA,MAAMO,UAAU,GAAGC,WAAK,EAAE;AAC1B,EAAA,MAAMC,SAAS,GAAGb,EAAE,IAAIW,UAAU;EAClC,MAAMG,SAAS,GAAG,EAAE;EAEpBA,SAAS,CAACC,IAAI,CAAC;AACbC,IAAAA,IAAI,EAA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AY,CAACtC,QAAkE,EAAE;MAC/E,kBAAkB,EAAE,GAAGgB,SAAS,CAAA,QAAA;KACjC,CAAC,GACF,IAAI,eACRuB,cAAA,CAAA,KAAA,EAAA;AACE;AACAN,MAAAA,GAAG,EAAEpB,gBAAiB;AACtBT,MAAAA,SAAS,EAAEoC,SAAI,CACb,YAAY,EACZ,UAAU,EACVnC,IAAI,GAAG,CAAA,+BAAA,CAAiC,GAAG,IAAI,EAC/CD,SAAS,CACT;AACFqC,MAAAA,KAAK,EAAE;AAAE,QAAA,GAAGhB,MAAM,CAACiB;OAAS;MAAA,GACxBhB,UAAU,CAACgB,MAAM;AACrB,MAAA,aAAA,EAAa,CAACrC,IAAK;AACnBsC,MAAAA,IAAI,EAAC,SAAS;MACdxC,EAAE,EAAE,CAAA,EAAGa,SAAS,CAAA,QAAA,CAAW;AAAAhB,MAAAA,QAAA,eAE3BgC,eAAA,CAAA,KAAA,EAAA;AAAK5B,QAAAA,SAAS,EAAC,iCAAiC;QAAAJ,QAAA,EAAA,CAC7CE,KAAK,eACNqC,cAAA,CAAA,KAAA,EAAA;AACE;AACAN,UAAAA,GAAG,EAAEtB,eAAgB;AACrBP,UAAAA,SAAS,EAAEoC,SAAI,CAAC,iBAAiB,CAAE;UACnCC,KAAK,EAAEhB,MAAM,CAACmB;AAAM,SAAA,CAExB;OAAK;AACP,KAAK,CACP;AAAA,GAAM,CAAC;AAEX;;;;"}
|
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import { useState, useRef, useId, useEffect, cloneElement } from 'react';
|
|
3
3
|
import { usePopper } from 'react-popper';
|
|
4
|
+
import '../common/theme.mjs';
|
|
5
|
+
import '../common/direction.mjs';
|
|
6
|
+
import '../common/propsValues/control.mjs';
|
|
7
|
+
import '../common/propsValues/breakpoint.mjs';
|
|
8
|
+
import '../common/propsValues/size.mjs';
|
|
9
|
+
import '../common/propsValues/typography.mjs';
|
|
10
|
+
import '../common/propsValues/width.mjs';
|
|
11
|
+
import '../common/propsValues/type.mjs';
|
|
12
|
+
import '../common/propsValues/dateMode.mjs';
|
|
13
|
+
import '../common/propsValues/monthFormat.mjs';
|
|
4
14
|
import { Position } from '../common/propsValues/position.mjs';
|
|
15
|
+
import '../common/propsValues/layouts.mjs';
|
|
16
|
+
import '../common/propsValues/status.mjs';
|
|
17
|
+
import '../common/propsValues/sentiment.mjs';
|
|
18
|
+
import '../common/propsValues/profileType.mjs';
|
|
19
|
+
import '../common/propsValues/variant.mjs';
|
|
20
|
+
import '../common/propsValues/scroll.mjs';
|
|
21
|
+
import '../common/propsValues/markdownNodeType.mjs';
|
|
22
|
+
import '../common/fileType.mjs';
|
|
5
23
|
import '@transferwise/icons';
|
|
6
24
|
import 'react-intl';
|
|
7
25
|
import '../common/closeButton/CloseButton.messages.mjs';
|
|
@@ -52,7 +70,6 @@ const Tooltip = ({
|
|
|
52
70
|
placement: position,
|
|
53
71
|
modifiers
|
|
54
72
|
});
|
|
55
|
-
|
|
56
73
|
// If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),
|
|
57
74
|
// it is most simple just to always position before opening
|
|
58
75
|
useEffect(() => {
|