@transferwise/components 46.119.4 → 46.120.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/accordion/Accordion.js +43 -0
- package/build/accordion/Accordion.js.map +1 -1
- package/build/accordion/Accordion.mjs +43 -0
- package/build/accordion/Accordion.mjs.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.js +39 -16
- package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.mjs +39 -16
- package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
- package/build/actionButton/ActionButton.js +3 -18
- package/build/actionButton/ActionButton.js.map +1 -1
- package/build/actionButton/ActionButton.mjs +3 -18
- package/build/actionButton/ActionButton.mjs.map +1 -1
- package/build/actionOption/ActionOption.js +8 -18
- package/build/actionOption/ActionOption.js.map +1 -1
- package/build/actionOption/ActionOption.mjs +8 -18
- package/build/actionOption/ActionOption.mjs.map +1 -1
- package/build/alert/Alert.js +6 -21
- package/build/alert/Alert.js.map +1 -1
- package/build/alert/Alert.mjs +5 -21
- package/build/alert/Alert.mjs.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.js +0 -18
- package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs +0 -18
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
- package/build/avatar/Avatar.js +1 -18
- package/build/avatar/Avatar.js.map +1 -1
- package/build/avatar/Avatar.mjs +1 -18
- package/build/avatar/Avatar.mjs.map +1 -1
- package/build/avatar/avatarTypes.js +5 -3
- 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 +2 -1
- package/build/avatarLayout/AvatarLayout.js.map +1 -1
- package/build/avatarLayout/AvatarLayout.mjs +2 -1
- package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/avatarView/AvatarView.js +3 -18
- package/build/avatarView/AvatarView.js.map +1 -1
- package/build/avatarView/AvatarView.mjs +3 -18
- package/build/avatarView/AvatarView.mjs.map +1 -1
- package/build/avatarView/Dot.js +3 -0
- package/build/avatarView/Dot.js.map +1 -1
- package/build/avatarView/Dot.mjs +3 -0
- package/build/avatarView/Dot.mjs.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.js +1 -17
- package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs +1 -17
- package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
- package/build/badge/Badge.js +1 -17
- package/build/badge/Badge.js.map +1 -1
- package/build/badge/Badge.mjs +1 -17
- package/build/badge/Badge.mjs.map +1 -1
- package/build/badge/BadgeAssets.js +3 -0
- package/build/badge/BadgeAssets.js.map +1 -1
- package/build/badge/BadgeAssets.mjs +3 -0
- 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 +4 -18
- package/build/button/Button.js.map +1 -1
- package/build/button/Button.mjs +4 -18
- 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 +4 -17
- package/build/button/LegacyButton.js.map +1 -1
- package/build/button/LegacyButton.mjs +5 -18
- package/build/button/LegacyButton.mjs.map +1 -1
- package/build/button/classMap.js +0 -18
- package/build/button/classMap.js.map +1 -1
- package/build/button/classMap.mjs +0 -18
- package/build/button/classMap.mjs.map +1 -1
- package/build/button/legacyUtils/legacyUtils.js +1 -16
- package/build/button/legacyUtils/legacyUtils.js.map +1 -1
- package/build/button/legacyUtils/legacyUtils.mjs +1 -16
- package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
- package/build/card/Card.js +4 -17
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs +4 -17
- package/build/card/Card.mjs.map +1 -1
- package/build/carousel/Carousel.js.map +1 -1
- package/build/carousel/Carousel.mjs.map +1 -1
- package/build/checkbox/Checkbox.js +1 -19
- package/build/checkbox/Checkbox.js.map +1 -1
- package/build/checkbox/Checkbox.mjs +1 -19
- 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 +8 -0
- package/build/checkboxOption/CheckboxOption.js.map +1 -1
- package/build/checkboxOption/CheckboxOption.mjs +8 -0
- package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
- package/build/chevron/Chevron.js +0 -17
- package/build/chevron/Chevron.js.map +1 -1
- package/build/chevron/Chevron.mjs +0 -17
- package/build/chevron/Chevron.mjs.map +1 -1
- package/build/chips/Chip.js +0 -18
- package/build/chips/Chip.js.map +1 -1
- package/build/chips/Chip.mjs +0 -18
- 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 +0 -16
- package/build/circularButton/CircularButton.js.map +1 -1
- package/build/circularButton/CircularButton.mjs +0 -16
- package/build/circularButton/CircularButton.mjs.map +1 -1
- package/build/common/DOMOperations/DOMOperations.js +2 -0
- package/build/common/DOMOperations/DOMOperations.js.map +1 -1
- package/build/common/DOMOperations/DOMOperations.mjs +2 -0
- 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 +5 -0
- package/build/common/bottomSheet/BottomSheet.js.map +1 -1
- package/build/common/bottomSheet/BottomSheet.mjs +5 -0
- package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
- package/build/common/card/Card.js +21 -0
- package/build/common/card/Card.js.map +1 -1
- package/build/common/card/Card.mjs +21 -0
- package/build/common/card/Card.mjs.map +1 -1
- package/build/common/circle/Circle.js +4 -0
- package/build/common/circle/Circle.js.map +1 -1
- package/build/common/circle/Circle.mjs +4 -0
- package/build/common/circle/Circle.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.js +3 -0
- 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 +3 -0
- package/build/common/closeButton/CloseButton.mjs.map +1 -1
- package/build/common/colors.js +1 -0
- package/build/common/colors.js.map +1 -1
- package/build/common/colors.mjs +1 -0
- package/build/common/colors.mjs.map +1 -1
- package/build/common/constants.js +1 -0
- package/build/common/constants.js.map +1 -1
- package/build/common/constants.mjs +1 -0
- 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 +5 -3
- 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 +3 -2
- package/build/common/domHelpers/documentIosClick.js.map +1 -1
- package/build/common/domHelpers/documentIosClick.mjs +3 -2
- package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
- package/build/common/fileType.js +5 -3
- 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 +1 -0
- package/build/common/hooks/useEffectEvent.js.map +1 -1
- package/build/common/hooks/useEffectEvent.mjs +1 -0
- package/build/common/hooks/useEffectEvent.mjs.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.js +2 -0
- package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs +2 -0
- 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 +20 -7
- package/build/common/initials.js.map +1 -1
- package/build/common/initials.mjs +20 -7
- package/build/common/initials.mjs.map +1 -1
- package/build/common/locale/index.js +6 -0
- package/build/common/locale/index.js.map +1 -1
- package/build/common/locale/index.mjs +6 -0
- package/build/common/locale/index.mjs.map +1 -1
- package/build/common/panel/Panel.js +2 -18
- package/build/common/panel/Panel.js.map +1 -1
- package/build/common/panel/Panel.mjs +2 -18
- package/build/common/panel/Panel.mjs.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js +3 -0
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs +3 -0
- 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 +5 -3
- 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 +9 -6
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +9 -3
- package/build/common/propsValues/typography.js.map +1 -1
- package/build/common/propsValues/typography.mjs +7 -3
- package/build/common/propsValues/typography.mjs.map +1 -1
- package/build/common/propsValues/variant.js +5 -3
- 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 +5 -3
- 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 +0 -18
- package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.mjs +0 -18
- 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 +5 -3
- 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 +5 -15
- 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 +5 -15
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +1 -0
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs +1 -0
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
- package/build/dateLookup/DateLookup.js +0 -15
- 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 +0 -15
- package/build/dateLookup/DateLookup.mjs.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.js +0 -18
- package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.mjs +0 -18
- package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.js +0 -16
- 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 +0 -16
- 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 +1 -0
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs +1 -0
- 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 +13 -28
- package/build/decision/Decision.js.map +1 -1
- package/build/decision/Decision.mjs +6 -23
- package/build/decision/Decision.mjs.map +1 -1
- package/build/definitionList/DefinitionList.js +0 -18
- package/build/definitionList/DefinitionList.js.map +1 -1
- package/build/definitionList/DefinitionList.mjs +0 -18
- package/build/definitionList/DefinitionList.mjs.map +1 -1
- package/build/dimmer/Dimmer.js +1 -19
- package/build/dimmer/Dimmer.js.map +1 -1
- package/build/dimmer/Dimmer.mjs +1 -19
- 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 +0 -18
- package/build/display/Display.js.map +1 -1
- package/build/display/Display.mjs +0 -18
- package/build/display/Display.mjs.map +1 -1
- package/build/divider/Divider.js +9 -0
- package/build/divider/Divider.js.map +1 -1
- package/build/divider/Divider.mjs +9 -0
- package/build/divider/Divider.mjs.map +1 -1
- package/build/drawer/Drawer.js +0 -17
- package/build/drawer/Drawer.js.map +1 -1
- package/build/drawer/Drawer.mjs +0 -17
- 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 +1 -0
- package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs +1 -0
- package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js +15 -0
- 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 +15 -0
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.js +5 -0
- package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs +5 -0
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.js +2 -0
- package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.mjs +2 -0
- 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 +9 -22
- package/build/field/Field.js.map +1 -1
- package/build/field/Field.mjs +9 -22
- package/build/field/Field.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.js +0 -17
- 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 +0 -17
- 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 +8 -18
- package/build/header/Header.js.map +1 -1
- package/build/header/Header.mjs +8 -18
- 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 +27 -108
- package/build/index.js.map +1 -1
- package/build/info/Info.js +0 -17
- 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 +0 -17
- package/build/info/Info.mjs.map +1 -1
- package/build/info/infoPresentations.js +5 -3
- 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 +2 -24
- package/build/inlineAlert/InlineAlert.js.map +1 -1
- package/build/inlineAlert/InlineAlert.mjs +2 -24
- 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 +0 -18
- package/build/inputs/SearchInput.js.map +1 -1
- package/build/inputs/SearchInput.mjs +0 -18
- package/build/inputs/SearchInput.mjs.map +1 -1
- package/build/inputs/SelectInput.js +5 -0
- 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 +5 -0
- 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 +0 -18
- package/build/instructionsList/InstructionsList.js.map +1 -1
- package/build/instructionsList/InstructionsList.mjs +0 -18
- package/build/instructionsList/InstructionsList.mjs.map +1 -1
- package/build/label/Label.js +10 -0
- 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 +10 -0
- package/build/label/Label.mjs.map +1 -1
- package/build/legacylistItem/LegacyListItem.js +8 -0
- package/build/legacylistItem/LegacyListItem.js.map +1 -1
- package/build/legacylistItem/LegacyListItem.mjs +8 -0
- package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
- package/build/link/Link.js +5 -18
- 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 +5 -18
- 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 +0 -18
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +0 -18
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +7 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +7 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.js +7 -0
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.mjs +7 -0
- package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
- package/build/listItem/Button/ListItemButton.js +7 -0
- package/build/listItem/Button/ListItemButton.js.map +1 -1
- package/build/listItem/Button/ListItemButton.mjs +7 -0
- package/build/listItem/Button/ListItemButton.mjs.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.js +7 -0
- package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.mjs +7 -0
- package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.js +7 -0
- package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.mjs +7 -0
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
- package/build/listItem/Image/ListItemImage.js +9 -0
- package/build/listItem/Image/ListItemImage.js.map +1 -1
- package/build/listItem/Image/ListItemImage.mjs +9 -0
- package/build/listItem/Image/ListItemImage.mjs.map +1 -1
- package/build/listItem/ListItem.js +7 -17
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs +7 -17
- 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 +8 -0
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs +8 -0
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.js +8 -20
- package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs +8 -20
- package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
- package/build/listItem/Radio/ListItemRadio.js +7 -0
- package/build/listItem/Radio/ListItemRadio.js.map +1 -1
- package/build/listItem/Radio/ListItemRadio.mjs +7 -0
- package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.js +7 -0
- package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.mjs +7 -0
- 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 +10 -18
- package/build/loader/Loader.js.map +1 -1
- package/build/loader/Loader.mjs +10 -18
- package/build/loader/Loader.mjs.map +1 -1
- package/build/logo/Logo.js +4 -3
- 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/main.css +20 -1
- package/build/markdown/Markdown.js +14 -32
- package/build/markdown/Markdown.js.map +1 -1
- package/build/markdown/Markdown.mjs +0 -18
- 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 +0 -15
- package/build/modal/Modal.js.map +1 -1
- package/build/modal/Modal.mjs +0 -15
- 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 +0 -17
- 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 +0 -17
- 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 +8 -18
- package/build/navigationOption/NavigationOption.js.map +1 -1
- package/build/navigationOption/NavigationOption.mjs +8 -18
- package/build/navigationOption/NavigationOption.mjs.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.js +9 -0
- package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.mjs +9 -0
- package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
- package/build/nudge/Nudge.js +1 -18
- package/build/nudge/Nudge.js.map +1 -1
- package/build/nudge/Nudge.mjs +1 -18
- package/build/nudge/Nudge.mjs.map +1 -1
- package/build/overlayHeader/OverlayHeader.js +0 -18
- package/build/overlayHeader/OverlayHeader.js.map +1 -1
- package/build/overlayHeader/OverlayHeader.mjs +0 -18
- package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +3 -19
- 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 +3 -19
- 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 +1 -0
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs +1 -0
- 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 +1 -0
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs +1 -0
- 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 +0 -17
- package/build/popover/Popover.js.map +1 -1
- package/build/popover/Popover.mjs +0 -17
- package/build/popover/Popover.mjs.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js +10 -0
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs +10 -0
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.js +10 -0
- package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs +10 -0
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
- package/build/processIndicator/ProcessIndicator.js +3 -18
- package/build/processIndicator/ProcessIndicator.js.map +1 -1
- package/build/processIndicator/ProcessIndicator.mjs +3 -18
- 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 +0 -18
- package/build/progressBar/ProgressBar.js.map +1 -1
- package/build/progressBar/ProgressBar.mjs +0 -18
- package/build/progressBar/ProgressBar.mjs.map +1 -1
- package/build/promoCard/PromoCard.js +47 -18
- package/build/promoCard/PromoCard.js.map +1 -1
- package/build/promoCard/PromoCard.mjs +47 -18
- package/build/promoCard/PromoCard.mjs.map +1 -1
- package/build/promoCard/PromoCardContext.js +11 -0
- package/build/promoCard/PromoCardContext.js.map +1 -1
- package/build/promoCard/PromoCardContext.mjs +11 -0
- package/build/promoCard/PromoCardContext.mjs.map +1 -1
- package/build/promoCard/PromoCardGroup.js +21 -0
- package/build/promoCard/PromoCardGroup.js.map +1 -1
- package/build/promoCard/PromoCardGroup.mjs +21 -0
- package/build/promoCard/PromoCardGroup.mjs.map +1 -1
- package/build/promoCard/PromoCardIndicator.js +16 -18
- package/build/promoCard/PromoCardIndicator.js.map +1 -1
- package/build/promoCard/PromoCardIndicator.mjs +16 -18
- package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js +12 -22
- package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs +12 -22
- package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
- package/build/provider/Provider.js +0 -19
- package/build/provider/Provider.js.map +1 -1
- package/build/provider/Provider.mjs +0 -19
- 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 +0 -18
- package/build/radio/Radio.js.map +1 -1
- package/build/radio/Radio.mjs +0 -18
- package/build/radio/Radio.mjs.map +1 -1
- package/build/radioGroup/RadioGroup.js +1 -0
- package/build/radioGroup/RadioGroup.js.map +1 -1
- package/build/radioGroup/RadioGroup.mjs +1 -0
- package/build/radioGroup/RadioGroup.mjs.map +1 -1
- package/build/radioOption/RadioOption.js +8 -0
- package/build/radioOption/RadioOption.js.map +1 -1
- package/build/radioOption/RadioOption.mjs +8 -0
- package/build/radioOption/RadioOption.mjs.map +1 -1
- package/build/section/Section.js +5 -0
- package/build/section/Section.js.map +1 -1
- package/build/section/Section.mjs +5 -0
- package/build/section/Section.mjs.map +1 -1
- package/build/segmentedControl/SegmentedControl.js +2 -18
- package/build/segmentedControl/SegmentedControl.js.map +1 -1
- package/build/segmentedControl/SegmentedControl.mjs +2 -18
- package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
- package/build/select/Select.js +3 -18
- 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 +3 -18
- package/build/select/Select.mjs.map +1 -1
- package/build/select/option/Option.js +0 -18
- package/build/select/option/Option.js.map +1 -1
- package/build/select/option/Option.mjs +0 -18
- 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 +28 -0
- package/build/sentimentSurface/SentimentSurface.js.map +1 -1
- package/build/sentimentSurface/SentimentSurface.mjs +28 -0
- 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 +0 -15
- 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 +0 -15
- package/build/statusIcon/StatusIcon.mjs.map +1 -1
- package/build/stepper/Stepper.js +0 -18
- package/build/stepper/Stepper.js.map +1 -1
- package/build/stepper/Stepper.mjs +0 -18
- 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 +22 -18
- package/build/sticky/Sticky.js.map +1 -1
- package/build/sticky/Sticky.mjs +22 -18
- package/build/sticky/Sticky.mjs.map +1 -1
- package/build/styles/field/Field.css +10 -1
- package/build/styles/main.css +20 -1
- package/build/styles/prompt/InlinePrompt/InlinePrompt.css +3 -0
- package/build/styles/radioGroup/RadioGroup.css +3 -0
- package/build/styles/typeahead/Typeahead.css +4 -0
- package/build/summary/Summary.js +0 -16
- 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 +0 -16
- 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 +1 -0
- package/build/switchOption/SwitchOption.js.map +1 -1
- package/build/switchOption/SwitchOption.mjs +1 -0
- package/build/switchOption/SwitchOption.mjs.map +1 -1
- package/build/table/Table.js +1 -17
- package/build/table/Table.js.map +1 -1
- package/build/table/Table.messages.js.map +1 -1
- package/build/table/Table.messages.mjs.map +1 -1
- package/build/table/Table.mjs +1 -17
- 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 +1 -0
- package/build/table/TableHeader.js.map +1 -1
- package/build/table/TableHeader.mjs +1 -0
- package/build/table/TableHeader.mjs.map +1 -1
- package/build/table/TableRow.js +0 -18
- package/build/table/TableRow.js.map +1 -1
- package/build/table/TableRow.mjs +0 -18
- package/build/table/TableRow.mjs.map +1 -1
- package/build/table/TableStatusText.js +0 -18
- package/build/table/TableStatusText.js.map +1 -1
- package/build/table/TableStatusText.mjs +0 -18
- 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 +3 -17
- package/build/tabs/Tabs.js.map +1 -1
- package/build/tabs/Tabs.mjs +3 -17
- package/build/tabs/Tabs.mjs.map +1 -1
- package/build/tabs/utils.js +1 -0
- package/build/tabs/utils.js.map +1 -1
- package/build/tabs/utils.mjs +1 -0
- 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 +0 -18
- package/build/tile/Tile.js.map +1 -1
- package/build/tile/Tile.mjs +0 -18
- package/build/tile/Tile.mjs.map +1 -1
- package/build/title/Title.js +0 -18
- package/build/title/Title.js.map +1 -1
- package/build/title/Title.mjs +0 -18
- package/build/title/Title.mjs.map +1 -1
- package/build/tooltip/Tooltip.js +1 -18
- package/build/tooltip/Tooltip.js.map +1 -1
- package/build/tooltip/Tooltip.mjs +1 -18
- package/build/tooltip/Tooltip.mjs.map +1 -1
- package/build/typeahead/Typeahead.js +20 -24
- 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 +20 -24
- 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/components/src/accordion/Accordion.d.ts.map +1 -0
- package/build/types/components/src/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/build/types/components/src/accordion/AccordionItem/index.d.ts.map +1 -0
- package/build/types/components/src/accordion/index.d.ts.map +1 -0
- package/build/types/components/src/actionButton/ActionButton.d.ts.map +1 -0
- package/build/types/components/src/actionButton/index.d.ts.map +1 -0
- package/build/types/components/src/actionOption/ActionOption.d.ts.map +1 -0
- package/build/types/components/src/actionOption/index.d.ts.map +1 -0
- package/build/types/components/src/alert/Alert.d.ts +51 -0
- package/build/types/components/src/alert/Alert.d.ts.map +1 -0
- package/build/types/components/src/alert/index.d.ts.map +1 -0
- package/build/types/components/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
- package/build/types/components/src/alert/inlineMarkdown/index.d.ts.map +1 -0
- package/build/types/components/src/avatar/Avatar.d.ts.map +1 -0
- package/build/types/components/src/avatar/avatarTypes.d.ts.map +1 -0
- package/build/types/components/src/avatar/index.d.ts.map +1 -0
- package/build/types/components/src/avatarLayout/AvatarLayout.d.ts.map +1 -0
- package/build/types/components/src/avatarLayout/index.d.ts.map +1 -0
- package/build/types/components/src/avatarView/AvatarView.d.ts.map +1 -0
- package/build/types/components/src/avatarView/Dot.d.ts.map +1 -0
- package/build/types/components/src/avatarView/index.d.ts.map +1 -0
- package/build/types/components/src/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
- package/build/types/components/src/avatarWrapper/index.d.ts.map +1 -0
- package/build/types/components/src/badge/Badge.d.ts.map +1 -0
- package/build/types/components/src/badge/BadgeAssets.d.ts.map +1 -0
- package/build/types/components/src/badge/index.d.ts.map +1 -0
- package/build/types/components/src/body/Body.d.ts.map +1 -0
- package/build/types/components/src/body/index.d.ts.map +1 -0
- package/build/types/components/src/button/Button.d.ts.map +1 -0
- package/build/types/components/src/button/Button.resolver.d.ts.map +1 -0
- package/build/types/components/src/button/Button.types.d.ts.map +1 -0
- package/build/types/components/src/button/LegacyButton.d.ts.map +1 -0
- package/build/types/components/src/button/_stories/helpers.d.ts.map +1 -0
- package/build/types/components/src/button/classMap.d.ts.map +1 -0
- package/build/types/components/src/button/index.d.ts.map +1 -0
- package/build/types/components/src/button/legacyUtils/index.d.ts.map +1 -0
- package/build/types/components/src/button/legacyUtils/legacyUtils.d.ts.map +1 -0
- package/build/types/components/src/card/Card.d.ts.map +1 -0
- package/build/types/components/src/card/index.d.ts.map +1 -0
- package/build/types/components/src/carousel/Carousel.d.ts.map +1 -0
- package/build/types/components/src/carousel/index.d.ts.map +1 -0
- package/build/types/components/src/checkbox/Checkbox.d.ts.map +1 -0
- package/build/types/components/src/checkbox/index.d.ts.map +1 -0
- package/build/types/components/src/checkboxButton/CheckboxButton.d.ts.map +1 -0
- package/build/types/components/src/checkboxButton/index.d.ts.map +1 -0
- package/build/types/components/src/checkboxOption/CheckboxOption.d.ts.map +1 -0
- package/build/types/components/src/checkboxOption/index.d.ts.map +1 -0
- package/build/types/components/src/chevron/Chevron.d.ts.map +1 -0
- package/build/types/components/src/chevron/index.d.ts.map +1 -0
- package/build/types/components/src/chips/Chip.d.ts.map +1 -0
- package/build/types/components/src/chips/Chips.d.ts.map +1 -0
- package/build/types/components/src/chips/Chips.messages.d.ts.map +1 -0
- package/build/types/components/src/chips/index.d.ts.map +1 -0
- package/build/types/components/src/circularButton/CircularButton.d.ts.map +1 -0
- package/build/types/components/src/circularButton/index.d.ts.map +1 -0
- package/build/types/components/src/common/DOMOperations/DOMOperations.d.ts.map +1 -0
- package/build/types/components/src/common/DOMOperations/index.d.ts.map +1 -0
- package/build/types/components/src/common/Option/Option.d.ts.map +1 -0
- package/build/types/components/src/common/Option/index.d.ts.map +1 -0
- package/build/types/components/src/common/RadioButton/RadioButton.d.ts.map +1 -0
- package/build/types/components/src/common/RadioButton/index.d.ts.map +1 -0
- package/build/types/components/src/common/bottomSheet/BottomSheet.d.ts.map +1 -0
- package/build/types/components/src/common/bottomSheet/index.d.ts.map +1 -0
- package/build/types/components/src/common/card/Card.d.ts.map +1 -0
- package/build/types/components/src/common/card/index.d.ts.map +1 -0
- package/build/types/components/src/common/circle/Circle.d.ts.map +1 -0
- package/build/types/components/src/common/circle/index.d.ts.map +1 -0
- package/build/types/components/src/common/closeButton/CloseButton.d.ts.map +1 -0
- package/build/types/components/src/common/closeButton/CloseButton.messages.d.ts.map +1 -0
- package/build/types/components/src/common/closeButton/index.d.ts.map +1 -0
- package/build/types/components/src/common/colors.d.ts.map +1 -0
- package/build/types/components/src/common/commonProps.d.ts.map +1 -0
- package/build/types/components/src/common/constants.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/index.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
- package/build/types/components/src/common/deviceDetection/deviceDetection.d.ts.map +1 -0
- package/build/types/components/src/common/deviceDetection/index.d.ts.map +1 -0
- package/build/types/components/src/common/direction.d.ts.map +1 -0
- package/build/types/components/src/common/domHelpers/documentIosClick.d.ts.map +1 -0
- package/build/types/components/src/common/domHelpers/index.d.ts.map +1 -0
- package/build/types/components/src/common/fakeEvents.d.ts.map +1 -0
- package/build/types/components/src/common/fileType.d.ts.map +1 -0
- package/build/types/components/src/common/flowHeader/FlowHeader.d.ts.map +1 -0
- package/build/types/components/src/common/flowHeader/index.d.ts.map +1 -0
- package/build/types/components/src/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
- package/build/types/components/src/common/focusBoundary/index.d.ts.map +1 -0
- package/build/types/components/src/common/historyNavigator/historyNavigator.d.ts.map +1 -0
- package/build/types/components/src/common/historyNavigator/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useConditionalListener/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useDirection/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useDirection/useDirection.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useEffectEvent.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useHasIntersected/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useLayout/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useLayout/useLayout.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useMedia.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useResizeObserver.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useScreenSize.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
- package/build/types/components/src/common/index.d.ts.map +1 -0
- package/build/types/components/src/common/initials.d.ts.map +1 -0
- package/build/types/components/src/common/locale/index.d.ts.map +1 -0
- package/build/types/components/src/common/panel/Panel.d.ts.map +1 -0
- package/build/types/components/src/common/panel/index.d.ts.map +1 -0
- package/build/types/components/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
- package/build/types/components/src/common/preventScroll/PreventScroll.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/breakpoint.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/control.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/dateMode.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/layouts.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/markdownNodeType.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/monthFormat.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/position.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/profileType.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/scroll.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/sentiment.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/size.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/status.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/type.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/typography.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/variant.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/width.d.ts.map +1 -0
- package/build/types/components/src/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
- package/build/types/components/src/common/responsivePanel/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
- package/build/types/components/src/common/theme.d.ts.map +1 -0
- package/build/types/components/src/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
- package/build/types/components/src/criticalBanner/index.d.ts.map +1 -0
- package/build/types/components/src/dateInput/DateInput.d.ts.map +1 -0
- package/build/types/components/src/dateInput/DateInput.messages.d.ts.map +1 -0
- package/build/types/components/src/dateInput/index.d.ts.map +1 -0
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
- package/build/types/components/src/dateInput/utils/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/DateLookup.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/DateLookup.messages.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateHeader/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateTrigger/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dayCalendar/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/getStartOfDay/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/monthCalendar/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/tableLink/TableLink.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/tableLink/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/yearCalendar/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
- package/build/types/components/src/decision/Decision.d.ts.map +1 -0
- package/build/types/components/src/decision/index.d.ts.map +1 -0
- package/build/types/components/src/definitionList/DefinitionList.d.ts.map +1 -0
- package/build/types/components/src/definitionList/index.d.ts.map +1 -0
- package/build/types/components/src/dimmer/Dimmer.d.ts.map +1 -0
- package/build/types/components/src/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
- package/build/types/components/src/dimmer/dimmerManager/index.d.ts.map +1 -0
- package/build/types/components/src/dimmer/index.d.ts.map +1 -0
- package/build/types/components/src/display/Display.d.ts.map +1 -0
- package/build/types/components/src/display/index.d.ts.map +1 -0
- package/build/types/components/src/divider/Divider.d.ts.map +1 -0
- package/build/types/components/src/divider/index.d.ts.map +1 -0
- package/build/types/components/src/drawer/Drawer.d.ts.map +1 -0
- package/build/types/components/src/drawer/index.d.ts.map +1 -0
- package/build/types/components/src/dropFade/DropFade.d.ts.map +1 -0
- package/build/types/components/src/dropFade/index.d.ts.map +1 -0
- package/build/types/components/src/emphasis/Emphasis.d.ts.map +1 -0
- package/build/types/components/src/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
- package/build/types/components/src/emphasis/index.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/index.d.ts.map +1 -0
- package/build/types/components/src/field/Field.d.ts +28 -0
- package/build/types/components/src/field/Field.d.ts.map +1 -0
- package/build/types/components/src/flowNavigation/FlowNavigation.d.ts.map +1 -0
- package/build/types/components/src/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
- package/build/types/components/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
- package/build/types/components/src/flowNavigation/animatedLabel/index.d.ts.map +1 -0
- package/build/types/components/src/header/Header.d.ts.map +1 -0
- package/build/types/components/src/header/index.d.ts.map +1 -0
- package/build/types/components/src/i18n/commonMessages/Button.messages.d.ts.map +1 -0
- package/build/types/components/src/i18n/index.d.ts.map +1 -0
- package/build/types/components/src/iconButton/IconButton.d.ts.map +1 -0
- package/build/types/components/src/iconButton/index.d.ts.map +1 -0
- package/build/types/components/src/image/Image.d.ts.map +1 -0
- package/build/types/components/src/image/index.d.ts.map +1 -0
- package/build/types/components/src/index.d.ts.map +1 -0
- package/build/types/components/src/info/Info.d.ts.map +1 -0
- package/build/types/components/src/info/Info.messages.d.ts.map +1 -0
- package/build/types/components/src/info/index.d.ts.map +1 -0
- package/build/types/components/src/info/infoPresentations.d.ts.map +1 -0
- package/build/types/components/src/inlineAlert/InlineAlert.d.ts +14 -0
- package/build/types/components/src/inlineAlert/InlineAlert.d.ts.map +1 -0
- package/build/types/components/src/inlineAlert/index.d.ts.map +1 -0
- package/build/types/components/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
- package/build/types/components/src/inputWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/components/src/inputs/Input.d.ts.map +1 -0
- package/build/types/components/src/inputs/InputGroup.d.ts.map +1 -0
- package/build/types/components/src/inputs/SearchInput.d.ts.map +1 -0
- package/build/types/components/src/inputs/SelectInput.d.ts.map +1 -0
- package/build/types/components/src/inputs/SelectInput.messages.d.ts.map +1 -0
- package/build/types/components/src/inputs/TextArea.d.ts.map +1 -0
- package/build/types/components/src/inputs/_BottomSheet.d.ts.map +1 -0
- package/build/types/components/src/inputs/_ButtonInput.d.ts.map +1 -0
- package/build/types/components/src/inputs/_Popover.d.ts.map +1 -0
- package/build/types/components/src/inputs/_common.d.ts.map +1 -0
- package/build/types/components/src/inputs/contexts.d.ts.map +1 -0
- package/build/types/components/src/instructionsList/InstructionsList.d.ts.map +1 -0
- package/build/types/components/src/instructionsList/index.d.ts.map +1 -0
- package/build/types/components/src/label/Label.d.ts.map +1 -0
- package/build/types/components/src/label/Label.messages.d.ts.map +1 -0
- package/build/types/components/src/label/index.d.ts.map +1 -0
- package/build/types/components/src/legacylistItem/LegacyListItem.d.ts.map +1 -0
- package/build/types/components/src/legacylistItem/index.d.ts.map +1 -0
- package/build/types/components/src/link/Link.d.ts.map +1 -0
- package/build/types/components/src/link/Link.messages.d.ts.map +1 -0
- package/build/types/components/src/link/index.d.ts.map +1 -0
- package/build/types/components/src/list/List.d.ts.map +1 -0
- package/build/types/components/src/list/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/components/src/listItem/AdditionalInfo/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
- package/build/types/components/src/listItem/AvatarLayout/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
- package/build/types/components/src/listItem/AvatarView/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Button/ListItemButton.d.ts.map +1 -0
- package/build/types/components/src/listItem/Button/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/components/src/listItem/Checkbox/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
- package/build/types/components/src/listItem/IconButton/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Image/ListItemImage.d.ts.map +1 -0
- package/build/types/components/src/listItem/Image/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/ListItem.d.ts +120 -0
- package/build/types/components/src/listItem/ListItem.d.ts.map +1 -0
- package/build/types/components/src/listItem/ListItemContext.d.ts.map +1 -0
- package/build/types/components/src/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
- package/build/types/components/src/listItem/Navigation/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts +14 -0
- package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
- package/build/types/components/src/listItem/Prompt/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Radio/ListItemRadio.d.ts.map +1 -0
- package/build/types/components/src/listItem/Radio/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
- package/build/types/components/src/listItem/Switch/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/_stories/helpers.d.ts.map +1 -0
- package/build/types/components/src/listItem/_stories/subcomponents.d.ts.map +1 -0
- package/build/types/components/src/listItem/_stories/variants/helpers.d.ts +11 -0
- package/build/types/components/src/listItem/_stories/variants/helpers.d.ts.map +1 -0
- package/build/types/components/src/listItem/constants.d.ts.map +1 -0
- package/build/types/components/src/listItem/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/test-utils.d.ts.map +1 -0
- package/build/types/components/src/listItem/useListItemControl.d.ts.map +1 -0
- package/build/types/components/src/listItem/useListItemMedia.d.ts.map +1 -0
- package/build/types/components/src/loader/Loader.d.ts.map +1 -0
- package/build/types/components/src/loader/index.d.ts.map +1 -0
- package/build/types/components/src/logo/Logo.d.ts.map +1 -0
- package/build/types/components/src/logo/index.d.ts.map +1 -0
- package/build/types/components/src/logo/logo-assets.d.ts.map +1 -0
- package/build/types/components/src/markdown/Markdown.d.ts.map +1 -0
- package/build/types/components/src/markdown/index.d.ts.map +1 -0
- package/build/types/components/src/mocks.d.ts.map +1 -0
- package/build/types/components/src/modal/Modal.d.ts.map +1 -0
- package/build/types/components/src/modal/index.d.ts.map +1 -0
- package/build/types/components/src/money/Money.d.ts.map +1 -0
- package/build/types/components/src/money/index.d.ts.map +1 -0
- package/build/types/components/src/moneyInput/MoneyInput.d.ts.map +1 -0
- package/build/types/components/src/moneyInput/MoneyInput.messages.d.ts.map +1 -0
- package/build/types/components/src/moneyInput/currencyFormatting.d.ts.map +1 -0
- package/build/types/components/src/moneyInput/index.d.ts.map +1 -0
- package/build/types/components/src/navigationOption/NavigationOption.d.ts.map +1 -0
- package/build/types/components/src/navigationOption/index.d.ts.map +1 -0
- package/build/types/components/src/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
- package/build/types/components/src/navigationOptionsList/index.d.ts.map +1 -0
- package/build/types/components/src/nudge/Nudge.d.ts.map +1 -0
- package/build/types/components/src/nudge/index.d.ts.map +1 -0
- package/build/types/components/src/overlayHeader/OverlayHeader.d.ts.map +1 -0
- package/build/types/components/src/overlayHeader/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/data/countries.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
- package/build/types/components/src/popover/Popover.d.ts.map +1 -0
- package/build/types/components/src/popover/index.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveButton/index.d.ts.map +1 -0
- package/build/types/components/src/primitives/index.d.ts.map +1 -0
- package/build/types/components/src/primitives/types.d.ts.map +1 -0
- package/build/types/components/src/processIndicator/ProcessIndicator.d.ts.map +1 -0
- package/build/types/components/src/processIndicator/index.d.ts.map +1 -0
- package/build/types/components/src/progress/Progress.d.ts.map +1 -0
- package/build/types/components/src/progress/index.d.ts.map +1 -0
- package/build/types/components/src/progressBar/ProgressBar.d.ts.map +1 -0
- package/build/types/components/src/progressBar/index.d.ts.map +1 -0
- package/build/types/components/src/promoCard/PromoCard.d.ts.map +1 -0
- package/build/types/components/src/promoCard/PromoCardContext.d.ts.map +1 -0
- package/build/types/components/src/promoCard/PromoCardGroup.d.ts.map +1 -0
- package/build/types/components/src/promoCard/PromoCardIndicator.d.ts.map +1 -0
- package/build/types/components/src/promoCard/index.d.ts.map +1 -0
- package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts +44 -0
- package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
- package/build/types/components/src/prompt/InlinePrompt/index.d.ts.map +1 -0
- package/build/types/components/src/prompt/index.d.ts.map +1 -0
- package/build/types/components/src/provider/Provider.d.ts.map +1 -0
- package/build/types/components/src/provider/direction/DirectionProvider.d.ts.map +1 -0
- package/build/types/components/src/provider/direction/index.d.ts.map +1 -0
- package/build/types/components/src/provider/index.d.ts.map +1 -0
- package/build/types/components/src/provider/language/LanguageProvider.d.ts.map +1 -0
- package/build/types/components/src/provider/language/index.d.ts.map +1 -0
- package/build/types/components/src/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
- package/build/types/components/src/radio/Radio.d.ts.map +1 -0
- package/build/types/components/src/radio/index.d.ts.map +1 -0
- package/build/types/components/src/radioGroup/RadioGroup.d.ts.map +1 -0
- package/build/types/components/src/radioGroup/index.d.ts.map +1 -0
- package/build/types/components/src/radioOption/RadioOption.d.ts.map +1 -0
- package/build/types/components/src/radioOption/index.d.ts.map +1 -0
- package/build/types/components/src/section/Section.d.ts.map +1 -0
- package/build/types/components/src/section/index.d.ts.map +1 -0
- package/build/types/components/src/segmentedControl/SegmentedControl.d.ts.map +1 -0
- package/build/types/components/src/segmentedControl/index.d.ts.map +1 -0
- package/build/types/components/src/select/Select.d.ts.map +1 -0
- package/build/types/components/src/select/Select.messages.d.ts.map +1 -0
- package/build/types/components/src/select/index.d.ts.map +1 -0
- package/build/types/components/src/select/option/Option.d.ts.map +1 -0
- package/build/types/components/src/select/option/index.d.ts.map +1 -0
- package/build/types/components/src/select/searchBox/SearchBox.d.ts.map +1 -0
- package/build/types/components/src/select/searchBox/index.d.ts.map +1 -0
- package/build/types/components/src/sentimentSurface/SentimentSurface.d.ts.map +1 -0
- package/build/types/components/src/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
- package/build/types/components/src/sentimentSurface/index.d.ts.map +1 -0
- package/build/types/components/src/slidingPanel/SlidingPanel.d.ts.map +1 -0
- package/build/types/components/src/slidingPanel/index.d.ts.map +1 -0
- package/build/types/components/src/snackbar/Snackbar.d.ts.map +1 -0
- package/build/types/components/src/snackbar/SnackbarContext.d.ts.map +1 -0
- package/build/types/components/src/snackbar/SnackbarProvider.d.ts.map +1 -0
- package/build/types/components/src/snackbar/index.d.ts.map +1 -0
- package/build/types/components/src/snackbar/useSnackbar.d.ts.map +1 -0
- package/build/types/components/src/statusIcon/StatusIcon.d.ts.map +1 -0
- package/build/types/components/src/statusIcon/StatusIcon.messages.d.ts.map +1 -0
- package/build/types/components/src/statusIcon/index.d.ts.map +1 -0
- package/build/types/components/src/stepper/Stepper.d.ts.map +1 -0
- package/build/types/components/src/stepper/deviceDetection.d.ts.map +1 -0
- package/build/types/components/src/sticky/Sticky.d.ts.map +1 -0
- package/build/types/components/src/sticky/index.d.ts.map +1 -0
- package/build/types/components/src/summary/Summary.d.ts.map +1 -0
- package/build/types/components/src/summary/Summary.messages.d.ts.map +1 -0
- package/build/types/components/src/summary/index.d.ts.map +1 -0
- package/build/types/components/src/switch/Switch.d.ts.map +1 -0
- package/build/types/components/src/switch/index.d.ts.map +1 -0
- package/build/types/components/src/switchOption/SwitchOption.d.ts.map +1 -0
- package/build/types/components/src/switchOption/index.d.ts.map +1 -0
- package/build/types/components/src/table/Table.d.ts.map +1 -0
- package/build/types/components/src/table/Table.messages.d.ts.map +1 -0
- package/build/types/components/src/table/TableCell.d.ts.map +1 -0
- package/build/types/components/src/table/TableHeader.d.ts.map +1 -0
- package/build/types/components/src/table/TableRow.d.ts.map +1 -0
- package/build/types/components/src/table/TableStatusText.d.ts.map +1 -0
- package/build/types/components/src/table/index.d.ts.map +1 -0
- package/build/types/components/src/tabs/Tab.d.ts.map +1 -0
- package/build/types/components/src/tabs/TabList.d.ts.map +1 -0
- package/build/types/components/src/tabs/TabPanel.d.ts.map +1 -0
- package/build/types/components/src/tabs/Tabs.d.ts.map +1 -0
- package/build/types/components/src/tabs/index.d.ts.map +1 -0
- package/build/types/components/src/tabs/utils.d.ts.map +1 -0
- package/build/types/components/src/test-utils/fake-data.d.ts.map +1 -0
- package/build/types/components/src/test-utils/index.d.ts +179 -0
- package/build/types/components/src/test-utils/index.d.ts.map +1 -0
- package/build/types/components/src/test-utils/jest.setup.d.ts.map +1 -0
- package/build/types/components/src/test-utils/style-mock.d.ts.map +1 -0
- package/build/types/components/src/test-utils/wait.d.ts.map +1 -0
- package/build/types/components/src/test-utils/window-mock.d.ts.map +1 -0
- package/build/types/components/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
- package/build/types/components/src/textareaWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/components/src/tile/Tile.d.ts.map +1 -0
- package/build/types/components/src/tile/index.d.ts.map +1 -0
- package/build/types/components/src/title/Title.d.ts.map +1 -0
- package/build/types/components/src/title/index.d.ts.map +1 -0
- package/build/types/components/src/tooltip/Tooltip.d.ts.map +1 -0
- package/build/types/components/src/tooltip/index.d.ts.map +1 -0
- package/build/types/components/src/typeahead/Typeahead.d.ts +51 -0
- package/build/types/components/src/typeahead/Typeahead.d.ts.map +1 -0
- package/build/types/components/src/typeahead/Typeahead.messages.d.ts.map +1 -0
- package/build/types/components/src/typeahead/index.d.ts.map +1 -0
- package/build/types/components/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
- package/build/types/components/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
- package/build/types/components/src/typeahead/util/highlight.d.ts.map +1 -0
- package/build/types/components/src/upload/Upload.d.ts +100 -0
- package/build/types/components/src/upload/Upload.d.ts.map +1 -0
- package/build/types/components/src/upload/Upload.messages.d.ts.map +1 -0
- package/build/types/components/src/upload/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/completeStep/completeStep.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/completeStep/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/processingStep/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/processingStep/processingStep.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/uploadImageStep/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/asyncFileRead/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/getFileType/getFileType.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/getFileType/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/isSizeValid/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/isTypeValid/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/postData/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/postData/postData.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/UploadInput.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/UploadInput.messages.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/index.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/types.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadButton/defaults.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
- package/build/types/components/src/utilities/cssValueWithUnit.d.ts.map +1 -0
- package/build/types/components/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
- package/build/types/components/src/utilities/deprecatedProperty/index.d.ts.map +1 -0
- package/build/types/components/src/utilities/index.d.ts.map +1 -0
- package/build/types/components/src/utilities/logActionRequired.d.ts.map +1 -0
- package/build/types/components/src/utils.d.ts.map +1 -0
- package/build/types/components/src/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
- package/build/types/components/src/withDisplayFormat/index.d.ts.map +1 -0
- package/build/types/components/src/withId/index.d.ts.map +1 -0
- package/build/types/components/src/withId/story/source.d.ts.map +1 -0
- package/build/types/components/src/withId/withId.d.ts.map +1 -0
- package/build/types/components/src/withNextPortal/withNextPortal.d.ts.map +1 -0
- package/build/types/components-theming/src/ThemeProvider.d.ts +7 -0
- package/build/types/components-theming/src/ThemeProvider.d.ts.map +1 -0
- package/build/types/components-theming/src/ThemeProviderContext.d.ts +8 -0
- package/build/types/components-theming/src/ThemeProviderContext.d.ts.map +1 -0
- package/build/types/components-theming/src/ThemedChildren.d.ts +8 -0
- package/build/types/components-theming/src/ThemedChildren.d.ts.map +1 -0
- package/build/types/components-theming/src/const.d.ts +35 -0
- package/build/types/components-theming/src/const.d.ts.map +1 -0
- package/build/types/components-theming/src/helpers.d.ts +11 -0
- package/build/types/components-theming/src/helpers.d.ts.map +1 -0
- package/build/types/components-theming/src/index.d.ts +5 -0
- package/build/types/components-theming/src/index.d.ts.map +1 -0
- package/build/types/components-theming/src/useTheme.d.ts +17 -0
- package/build/types/components-theming/src/useTheme.d.ts.map +1 -0
- package/build/upload/Upload.js +4 -21
- 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 +3 -21
- package/build/upload/Upload.mjs.map +1 -1
- package/build/upload/steps/completeStep/completeStep.js +0 -18
- package/build/upload/steps/completeStep/completeStep.js.map +1 -1
- package/build/upload/steps/completeStep/completeStep.mjs +0 -18
- package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
- package/build/upload/steps/processingStep/processingStep.js +0 -17
- package/build/upload/steps/processingStep/processingStep.js.map +1 -1
- package/build/upload/steps/processingStep/processingStep.mjs +0 -17
- package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js +5 -21
- package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +5 -21
- 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 +8 -17
- 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 +8 -17
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js +6 -23
- 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 +3 -21
- package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
- package/build/uploadInput/uploadButton/defaults.js +0 -18
- package/build/uploadInput/uploadButton/defaults.js.map +1 -1
- package/build/uploadInput/uploadButton/defaults.mjs +0 -18
- package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js +1 -0
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs +1 -0
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.js +9 -23
- 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 +4 -19
- 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 +17 -33
- package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs +3 -19
- package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
- package/build/withId/withId.js +4 -0
- package/build/withId/withId.js.map +1 -1
- package/build/withId/withId.mjs +4 -0
- 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 +9 -8
- package/src/DisabledComponents.story.tsx +1 -3
- package/src/actionButton/ActionButton.story.tsx +42 -45
- package/src/alert/Alert.spec.tsx +1 -1
- package/src/alert/Alert.tsx +2 -2
- package/src/avatar/Avatar.story.tsx +192 -188
- package/src/button/_stories/Button.tests.story.tsx +122 -119
- package/src/carousel/Carousel.story.tsx +4 -7
- package/src/checkbox/Checkbox.story.tsx +42 -21
- package/src/checkbox/Checkbox.tsx +1 -1
- package/src/checkbox/__snapshots__/Checkbox.spec.tsx.snap +1 -1
- package/src/circularButton/CircularButton.story.tsx +10 -2
- package/src/common/bottomSheet/BottomSheet.story.tsx +48 -14
- package/src/common/circle/Circle.story.tsx +62 -55
- package/src/common/initials.spec.tsx +31 -0
- package/src/common/initials.ts +19 -8
- package/src/criticalBanner/CriticalCommsBanner.story.tsx +30 -19
- package/src/dateInput/DateInput.tests.story.tsx +101 -74
- package/src/dateLookup/DateLookup.story.tsx +69 -59
- package/src/field/Field.css +10 -1
- package/src/field/Field.less +13 -2
- package/src/field/Field.spec.tsx +19 -3
- package/src/field/Field.story.tsx +18 -0
- package/src/field/Field.tsx +17 -5
- package/src/header/Header.story.tsx +5 -16
- package/src/header/Header.tests.story.tsx +95 -69
- package/src/info/Info.story.tsx +27 -11
- package/src/inlineAlert/InlineAlert.story.tsx +4 -0
- package/src/inlineAlert/InlineAlert.tsx +1 -7
- package/src/instructionsList/InstructionsList.story.tsx +0 -1
- package/src/listItem/Prompt/ListItemPrompt.spec.tsx +9 -9
- package/src/listItem/Prompt/ListItemPrompt.story.tsx +1 -1
- package/src/listItem/Prompt/ListItemPrompt.tsx +3 -4
- package/src/listItem/_stories/ListItem.layout.test.story.tsx +1 -3
- package/src/listItem/_stories/variants/ListItem.brightGreen.test.story.tsx +77 -35
- package/src/listItem/_stories/variants/ListItem.dark.test.story.tsx +65 -29
- package/src/listItem/_stories/variants/ListItem.forestGreen.test.story.tsx +77 -35
- package/src/listItem/_stories/variants/ListItem.medium.test.story.tsx +38 -18
- package/src/listItem/_stories/variants/ListItem.neutral.test.story.tsx +0 -1
- package/src/listItem/_stories/variants/ListItem.personal.test.story.tsx +38 -18
- package/src/listItem/_stories/variants/ListItem.rtl.test.story.tsx +77 -29
- package/src/listItem/_stories/variants/ListItem.small.test.story.tsx +65 -18
- package/src/listItem/_stories/variants/helpers.tsx +136 -133
- package/src/main.css +20 -1
- package/src/main.less +1 -0
- package/src/modal/Modal.story.tsx +47 -8
- package/src/moneyInput/MoneyInput.story.tsx +2 -2
- package/src/primitives/PrimitiveAnchor/stories/PrimitiveAnchor.story.tsx +1 -0
- package/src/primitives/PrimitiveAnchor/stories/PrimitiveAnchor.tests.story.tsx +1 -0
- package/src/primitives/PrimitiveButton/stories/PrimitiveButton.story.tsx +1 -0
- package/src/primitives/PrimitiveButton/stories/PrimitiveButton.tests.story.tsx +1 -0
- package/src/prompt/InlinePrompt/InlinePrompt.css +3 -0
- package/src/prompt/InlinePrompt/InlinePrompt.less +5 -1
- package/src/prompt/InlinePrompt/InlinePrompt.spec.tsx +23 -6
- package/src/prompt/InlinePrompt/InlinePrompt.story.tsx +37 -2
- package/src/prompt/InlinePrompt/InlinePrompt.tsx +12 -5
- package/src/radioGroup/RadioGroup.css +3 -0
- package/src/radioGroup/RadioGroup.less +3 -0
- package/src/radioGroup/RadioGroup.story.tsx +2 -0
- package/src/radioGroup/RadioGroup.test.story.tsx +62 -0
- package/src/radioGroup/RadioGroup.tsx +6 -1
- package/src/segmentedControl/SegmentedControl.story.tsx +71 -67
- package/src/snackbar/Snackbar.tests.story.tsx +116 -114
- package/src/statusIcon/StatusIcon.story.tsx +41 -38
- package/src/test-utils/index.tsx +0 -2
- package/src/tokens/tokens.story.tsx +1 -1
- package/src/tooltip/Tooltip.story.tsx +10 -2
- package/src/typeahead/Typeahead.css +4 -0
- package/src/typeahead/Typeahead.less +5 -1
- package/src/typeahead/Typeahead.spec.tsx +1 -1
- package/src/typeahead/Typeahead.story.tsx +151 -3
- package/src/typeahead/Typeahead.tsx +33 -9
- package/src/upload/Upload.story.tsx +1 -1
- package/src/upload/Upload.tests.story.tsx +36 -1
- package/src/upload/Upload.tsx +1 -1
- package/src/upload/steps/uploadImageStep/uploadImageStep.tsx +7 -3
- package/src/withId/withId.story.tsx +1 -1
- package/build/types/accordion/Accordion.d.ts.map +0 -1
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
- package/build/types/accordion/AccordionItem/index.d.ts.map +0 -1
- package/build/types/accordion/index.d.ts.map +0 -1
- package/build/types/actionButton/ActionButton.d.ts.map +0 -1
- package/build/types/actionButton/index.d.ts.map +0 -1
- package/build/types/actionOption/ActionOption.d.ts.map +0 -1
- package/build/types/actionOption/index.d.ts.map +0 -1
- package/build/types/alert/Alert.d.ts +0 -51
- package/build/types/alert/Alert.d.ts.map +0 -1
- package/build/types/alert/index.d.ts.map +0 -1
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
- package/build/types/alert/inlineMarkdown/index.d.ts.map +0 -1
- package/build/types/avatar/Avatar.d.ts.map +0 -1
- package/build/types/avatar/avatarTypes.d.ts.map +0 -1
- package/build/types/avatar/index.d.ts.map +0 -1
- package/build/types/avatarLayout/AvatarLayout.d.ts.map +0 -1
- package/build/types/avatarLayout/index.d.ts.map +0 -1
- package/build/types/avatarView/AvatarView.d.ts.map +0 -1
- package/build/types/avatarView/Dot.d.ts.map +0 -1
- package/build/types/avatarView/index.d.ts.map +0 -1
- package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
- package/build/types/avatarWrapper/index.d.ts.map +0 -1
- package/build/types/badge/Badge.d.ts.map +0 -1
- package/build/types/badge/BadgeAssets.d.ts.map +0 -1
- package/build/types/badge/index.d.ts.map +0 -1
- package/build/types/body/Body.d.ts.map +0 -1
- package/build/types/body/index.d.ts.map +0 -1
- package/build/types/button/Button.d.ts.map +0 -1
- package/build/types/button/Button.resolver.d.ts.map +0 -1
- package/build/types/button/Button.types.d.ts.map +0 -1
- package/build/types/button/LegacyButton.d.ts.map +0 -1
- package/build/types/button/_stories/helpers.d.ts.map +0 -1
- package/build/types/button/classMap.d.ts.map +0 -1
- package/build/types/button/index.d.ts.map +0 -1
- package/build/types/button/legacyUtils/index.d.ts.map +0 -1
- package/build/types/button/legacyUtils/legacyUtils.d.ts.map +0 -1
- package/build/types/card/Card.d.ts.map +0 -1
- package/build/types/card/index.d.ts.map +0 -1
- package/build/types/carousel/Carousel.d.ts.map +0 -1
- package/build/types/carousel/index.d.ts.map +0 -1
- package/build/types/checkbox/Checkbox.d.ts.map +0 -1
- package/build/types/checkbox/index.d.ts.map +0 -1
- package/build/types/checkboxButton/CheckboxButton.d.ts.map +0 -1
- package/build/types/checkboxButton/index.d.ts.map +0 -1
- package/build/types/checkboxOption/CheckboxOption.d.ts.map +0 -1
- package/build/types/checkboxOption/index.d.ts.map +0 -1
- package/build/types/chevron/Chevron.d.ts.map +0 -1
- package/build/types/chevron/index.d.ts.map +0 -1
- package/build/types/chips/Chip.d.ts.map +0 -1
- package/build/types/chips/Chips.d.ts.map +0 -1
- package/build/types/chips/Chips.messages.d.ts.map +0 -1
- package/build/types/chips/index.d.ts.map +0 -1
- package/build/types/circularButton/CircularButton.d.ts.map +0 -1
- package/build/types/circularButton/index.d.ts.map +0 -1
- package/build/types/common/DOMOperations/DOMOperations.d.ts.map +0 -1
- package/build/types/common/DOMOperations/index.d.ts.map +0 -1
- package/build/types/common/Option/Option.d.ts.map +0 -1
- package/build/types/common/Option/index.d.ts.map +0 -1
- package/build/types/common/RadioButton/RadioButton.d.ts.map +0 -1
- package/build/types/common/RadioButton/index.d.ts.map +0 -1
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +0 -1
- package/build/types/common/bottomSheet/index.d.ts.map +0 -1
- package/build/types/common/card/Card.d.ts.map +0 -1
- package/build/types/common/card/index.d.ts.map +0 -1
- package/build/types/common/circle/Circle.d.ts.map +0 -1
- package/build/types/common/circle/index.d.ts.map +0 -1
- package/build/types/common/closeButton/CloseButton.d.ts.map +0 -1
- package/build/types/common/closeButton/CloseButton.messages.d.ts.map +0 -1
- package/build/types/common/closeButton/index.d.ts.map +0 -1
- package/build/types/common/colors.d.ts.map +0 -1
- package/build/types/common/commonProps.d.ts.map +0 -1
- package/build/types/common/constants.d.ts.map +0 -1
- package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
- package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
- package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
- package/build/types/common/dateUtils/index.d.ts.map +0 -1
- package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
- package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
- package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
- package/build/types/common/deviceDetection/deviceDetection.d.ts.map +0 -1
- package/build/types/common/deviceDetection/index.d.ts.map +0 -1
- package/build/types/common/direction.d.ts.map +0 -1
- package/build/types/common/domHelpers/documentIosClick.d.ts.map +0 -1
- package/build/types/common/domHelpers/index.d.ts.map +0 -1
- package/build/types/common/fakeEvents.d.ts.map +0 -1
- package/build/types/common/fileType.d.ts.map +0 -1
- package/build/types/common/flowHeader/FlowHeader.d.ts.map +0 -1
- package/build/types/common/flowHeader/index.d.ts.map +0 -1
- package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
- package/build/types/common/focusBoundary/index.d.ts.map +0 -1
- package/build/types/common/historyNavigator/historyNavigator.d.ts.map +0 -1
- package/build/types/common/historyNavigator/index.d.ts.map +0 -1
- package/build/types/common/hooks/index.d.ts.map +0 -1
- package/build/types/common/hooks/useConditionalListener/index.d.ts.map +0 -1
- package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
- package/build/types/common/hooks/useDirection/index.d.ts.map +0 -1
- package/build/types/common/hooks/useDirection/useDirection.d.ts.map +0 -1
- package/build/types/common/hooks/useEffectEvent.d.ts.map +0 -1
- package/build/types/common/hooks/useHasIntersected/index.d.ts.map +0 -1
- package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
- package/build/types/common/hooks/useLayout/index.d.ts.map +0 -1
- package/build/types/common/hooks/useLayout/useLayout.d.ts.map +0 -1
- package/build/types/common/hooks/useMedia.d.ts.map +0 -1
- package/build/types/common/hooks/useResizeObserver.d.ts.map +0 -1
- package/build/types/common/hooks/useScreenSize.d.ts.map +0 -1
- package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
- package/build/types/common/index.d.ts.map +0 -1
- package/build/types/common/initials.d.ts.map +0 -1
- package/build/types/common/locale/index.d.ts.map +0 -1
- package/build/types/common/panel/Panel.d.ts.map +0 -1
- package/build/types/common/panel/index.d.ts.map +0 -1
- package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
- package/build/types/common/preventScroll/PreventScroll.d.ts.map +0 -1
- package/build/types/common/propsValues/breakpoint.d.ts.map +0 -1
- package/build/types/common/propsValues/control.d.ts.map +0 -1
- package/build/types/common/propsValues/dateMode.d.ts.map +0 -1
- package/build/types/common/propsValues/layouts.d.ts.map +0 -1
- package/build/types/common/propsValues/markdownNodeType.d.ts.map +0 -1
- package/build/types/common/propsValues/monthFormat.d.ts.map +0 -1
- package/build/types/common/propsValues/position.d.ts.map +0 -1
- package/build/types/common/propsValues/profileType.d.ts.map +0 -1
- package/build/types/common/propsValues/scroll.d.ts.map +0 -1
- package/build/types/common/propsValues/sentiment.d.ts.map +0 -1
- package/build/types/common/propsValues/size.d.ts.map +0 -1
- package/build/types/common/propsValues/status.d.ts.map +0 -1
- package/build/types/common/propsValues/type.d.ts.map +0 -1
- package/build/types/common/propsValues/typography.d.ts.map +0 -1
- package/build/types/common/propsValues/variant.d.ts.map +0 -1
- package/build/types/common/propsValues/width.d.ts.map +0 -1
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
- package/build/types/common/responsivePanel/index.d.ts.map +0 -1
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
- package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
- package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
- package/build/types/common/textFormat/index.d.ts.map +0 -1
- package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
- package/build/types/common/theme.d.ts.map +0 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
- package/build/types/criticalBanner/index.d.ts.map +0 -1
- package/build/types/dateInput/DateInput.d.ts.map +0 -1
- package/build/types/dateInput/DateInput.messages.d.ts.map +0 -1
- package/build/types/dateInput/index.d.ts.map +0 -1
- package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
- package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
- package/build/types/dateInput/utils/index.d.ts.map +0 -1
- package/build/types/dateLookup/DateLookup.d.ts.map +0 -1
- package/build/types/dateLookup/DateLookup.messages.d.ts.map +0 -1
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
- package/build/types/dateLookup/dateHeader/index.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/index.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
- package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
- package/build/types/dateLookup/getStartOfDay/index.d.ts.map +0 -1
- package/build/types/dateLookup/index.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
- package/build/types/dateLookup/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/dateLookup/tableLink/index.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
- package/build/types/decision/Decision.d.ts.map +0 -1
- package/build/types/decision/index.d.ts.map +0 -1
- package/build/types/definitionList/DefinitionList.d.ts.map +0 -1
- package/build/types/definitionList/index.d.ts.map +0 -1
- package/build/types/dimmer/Dimmer.d.ts.map +0 -1
- package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
- package/build/types/dimmer/dimmerManager/index.d.ts.map +0 -1
- package/build/types/dimmer/index.d.ts.map +0 -1
- package/build/types/display/Display.d.ts.map +0 -1
- package/build/types/display/index.d.ts.map +0 -1
- package/build/types/divider/Divider.d.ts.map +0 -1
- package/build/types/divider/index.d.ts.map +0 -1
- package/build/types/drawer/Drawer.d.ts.map +0 -1
- package/build/types/drawer/index.d.ts.map +0 -1
- package/build/types/dropFade/DropFade.d.ts.map +0 -1
- package/build/types/dropFade/index.d.ts.map +0 -1
- package/build/types/emphasis/Emphasis.d.ts.map +0 -1
- package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
- package/build/types/emphasis/index.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/index.d.ts.map +0 -1
- package/build/types/field/Field.d.ts +0 -24
- package/build/types/field/Field.d.ts.map +0 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +0 -1
- package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
- package/build/types/flowNavigation/animatedLabel/index.d.ts.map +0 -1
- package/build/types/header/Header.d.ts.map +0 -1
- package/build/types/header/index.d.ts.map +0 -1
- package/build/types/i18n/commonMessages/Button.messages.d.ts.map +0 -1
- package/build/types/i18n/index.d.ts.map +0 -1
- package/build/types/iconButton/IconButton.d.ts.map +0 -1
- package/build/types/iconButton/index.d.ts.map +0 -1
- package/build/types/image/Image.d.ts.map +0 -1
- package/build/types/image/index.d.ts.map +0 -1
- package/build/types/index.d.ts.map +0 -1
- package/build/types/info/Info.d.ts.map +0 -1
- package/build/types/info/Info.messages.d.ts.map +0 -1
- package/build/types/info/index.d.ts.map +0 -1
- package/build/types/info/infoPresentations.d.ts.map +0 -1
- package/build/types/inlineAlert/InlineAlert.d.ts +0 -20
- package/build/types/inlineAlert/InlineAlert.d.ts.map +0 -1
- package/build/types/inlineAlert/index.d.ts.map +0 -1
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
- package/build/types/inputWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/inputs/Input.d.ts.map +0 -1
- package/build/types/inputs/InputGroup.d.ts.map +0 -1
- package/build/types/inputs/SearchInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
- package/build/types/inputs/TextArea.d.ts.map +0 -1
- package/build/types/inputs/_BottomSheet.d.ts.map +0 -1
- package/build/types/inputs/_ButtonInput.d.ts.map +0 -1
- package/build/types/inputs/_Popover.d.ts.map +0 -1
- package/build/types/inputs/_common.d.ts.map +0 -1
- package/build/types/inputs/contexts.d.ts.map +0 -1
- package/build/types/instructionsList/InstructionsList.d.ts.map +0 -1
- package/build/types/instructionsList/index.d.ts.map +0 -1
- package/build/types/label/Label.d.ts.map +0 -1
- package/build/types/label/Label.messages.d.ts.map +0 -1
- package/build/types/label/index.d.ts.map +0 -1
- package/build/types/legacylistItem/LegacyListItem.d.ts.map +0 -1
- package/build/types/legacylistItem/index.d.ts.map +0 -1
- package/build/types/link/Link.d.ts.map +0 -1
- package/build/types/link/Link.messages.d.ts.map +0 -1
- package/build/types/link/index.d.ts.map +0 -1
- package/build/types/list/List.d.ts.map +0 -1
- package/build/types/list/index.d.ts.map +0 -1
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/listItem/AdditionalInfo/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/index.d.ts.map +0 -1
- package/build/types/listItem/Button/ListItemButton.d.ts.map +0 -1
- package/build/types/listItem/Button/index.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/index.d.ts.map +0 -1
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
- package/build/types/listItem/IconButton/index.d.ts.map +0 -1
- package/build/types/listItem/Image/ListItemImage.d.ts.map +0 -1
- package/build/types/listItem/Image/index.d.ts.map +0 -1
- package/build/types/listItem/ListItem.d.ts +0 -120
- package/build/types/listItem/ListItem.d.ts.map +0 -1
- package/build/types/listItem/ListItemContext.d.ts.map +0 -1
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
- package/build/types/listItem/Navigation/index.d.ts.map +0 -1
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts +0 -14
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
- package/build/types/listItem/Prompt/index.d.ts.map +0 -1
- package/build/types/listItem/Radio/ListItemRadio.d.ts.map +0 -1
- package/build/types/listItem/Radio/index.d.ts.map +0 -1
- package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
- package/build/types/listItem/Switch/index.d.ts.map +0 -1
- package/build/types/listItem/_stories/helpers.d.ts.map +0 -1
- package/build/types/listItem/_stories/subcomponents.d.ts.map +0 -1
- package/build/types/listItem/_stories/variants/helpers.d.ts +0 -8
- package/build/types/listItem/_stories/variants/helpers.d.ts.map +0 -1
- package/build/types/listItem/constants.d.ts.map +0 -1
- package/build/types/listItem/index.d.ts.map +0 -1
- package/build/types/listItem/test-utils.d.ts.map +0 -1
- package/build/types/listItem/useListItemControl.d.ts.map +0 -1
- package/build/types/listItem/useListItemMedia.d.ts.map +0 -1
- package/build/types/loader/Loader.d.ts.map +0 -1
- package/build/types/loader/index.d.ts.map +0 -1
- package/build/types/logo/Logo.d.ts.map +0 -1
- package/build/types/logo/index.d.ts.map +0 -1
- package/build/types/logo/logo-assets.d.ts.map +0 -1
- package/build/types/markdown/Markdown.d.ts.map +0 -1
- package/build/types/markdown/index.d.ts.map +0 -1
- package/build/types/mocks.d.ts.map +0 -1
- package/build/types/modal/Modal.d.ts.map +0 -1
- package/build/types/modal/index.d.ts.map +0 -1
- package/build/types/money/Money.d.ts.map +0 -1
- package/build/types/money/index.d.ts.map +0 -1
- package/build/types/moneyInput/MoneyInput.d.ts.map +0 -1
- package/build/types/moneyInput/MoneyInput.messages.d.ts.map +0 -1
- package/build/types/moneyInput/currencyFormatting.d.ts.map +0 -1
- package/build/types/moneyInput/index.d.ts.map +0 -1
- package/build/types/navigationOption/NavigationOption.d.ts.map +0 -1
- package/build/types/navigationOption/index.d.ts.map +0 -1
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
- package/build/types/navigationOptionsList/index.d.ts.map +0 -1
- package/build/types/nudge/Nudge.d.ts.map +0 -1
- package/build/types/nudge/index.d.ts.map +0 -1
- package/build/types/overlayHeader/OverlayHeader.d.ts.map +0 -1
- package/build/types/overlayHeader/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
- package/build/types/phoneNumberInput/data/countries.d.ts.map +0 -1
- package/build/types/phoneNumberInput/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
- package/build/types/popover/Popover.d.ts.map +0 -1
- package/build/types/popover/index.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/index.d.ts.map +0 -1
- package/build/types/primitives/index.d.ts.map +0 -1
- package/build/types/primitives/types.d.ts.map +0 -1
- package/build/types/processIndicator/ProcessIndicator.d.ts.map +0 -1
- package/build/types/processIndicator/index.d.ts.map +0 -1
- package/build/types/progress/Progress.d.ts.map +0 -1
- package/build/types/progress/index.d.ts.map +0 -1
- package/build/types/progressBar/ProgressBar.d.ts.map +0 -1
- package/build/types/progressBar/index.d.ts.map +0 -1
- package/build/types/promoCard/PromoCard.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardContext.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardGroup.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardIndicator.d.ts.map +0 -1
- package/build/types/promoCard/index.d.ts.map +0 -1
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts +0 -39
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
- package/build/types/prompt/InlinePrompt/index.d.ts.map +0 -1
- package/build/types/prompt/index.d.ts.map +0 -1
- package/build/types/provider/Provider.d.ts.map +0 -1
- package/build/types/provider/direction/DirectionProvider.d.ts.map +0 -1
- package/build/types/provider/direction/index.d.ts.map +0 -1
- package/build/types/provider/index.d.ts.map +0 -1
- package/build/types/provider/language/LanguageProvider.d.ts.map +0 -1
- package/build/types/provider/language/index.d.ts.map +0 -1
- package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
- package/build/types/radio/Radio.d.ts.map +0 -1
- package/build/types/radio/index.d.ts.map +0 -1
- package/build/types/radioGroup/RadioGroup.d.ts.map +0 -1
- package/build/types/radioGroup/index.d.ts.map +0 -1
- package/build/types/radioOption/RadioOption.d.ts.map +0 -1
- package/build/types/radioOption/index.d.ts.map +0 -1
- package/build/types/section/Section.d.ts.map +0 -1
- package/build/types/section/index.d.ts.map +0 -1
- package/build/types/segmentedControl/SegmentedControl.d.ts.map +0 -1
- package/build/types/segmentedControl/index.d.ts.map +0 -1
- package/build/types/select/Select.d.ts.map +0 -1
- package/build/types/select/Select.messages.d.ts.map +0 -1
- package/build/types/select/index.d.ts.map +0 -1
- package/build/types/select/option/Option.d.ts.map +0 -1
- package/build/types/select/option/index.d.ts.map +0 -1
- package/build/types/select/searchBox/SearchBox.d.ts.map +0 -1
- package/build/types/select/searchBox/index.d.ts.map +0 -1
- package/build/types/sentimentSurface/SentimentSurface.d.ts.map +0 -1
- package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
- package/build/types/sentimentSurface/index.d.ts.map +0 -1
- package/build/types/slidingPanel/SlidingPanel.d.ts.map +0 -1
- package/build/types/slidingPanel/index.d.ts.map +0 -1
- package/build/types/snackbar/Snackbar.d.ts.map +0 -1
- package/build/types/snackbar/SnackbarContext.d.ts.map +0 -1
- package/build/types/snackbar/SnackbarProvider.d.ts.map +0 -1
- package/build/types/snackbar/index.d.ts.map +0 -1
- package/build/types/snackbar/useSnackbar.d.ts.map +0 -1
- package/build/types/statusIcon/StatusIcon.d.ts.map +0 -1
- package/build/types/statusIcon/StatusIcon.messages.d.ts.map +0 -1
- package/build/types/statusIcon/index.d.ts.map +0 -1
- package/build/types/stepper/Stepper.d.ts.map +0 -1
- package/build/types/stepper/deviceDetection.d.ts.map +0 -1
- package/build/types/sticky/Sticky.d.ts.map +0 -1
- package/build/types/sticky/index.d.ts.map +0 -1
- package/build/types/summary/Summary.d.ts.map +0 -1
- package/build/types/summary/Summary.messages.d.ts.map +0 -1
- package/build/types/summary/index.d.ts.map +0 -1
- package/build/types/switch/Switch.d.ts.map +0 -1
- package/build/types/switch/index.d.ts.map +0 -1
- package/build/types/switchOption/SwitchOption.d.ts.map +0 -1
- package/build/types/switchOption/index.d.ts.map +0 -1
- package/build/types/table/Table.d.ts.map +0 -1
- package/build/types/table/Table.messages.d.ts.map +0 -1
- package/build/types/table/TableCell.d.ts.map +0 -1
- package/build/types/table/TableHeader.d.ts.map +0 -1
- package/build/types/table/TableRow.d.ts.map +0 -1
- package/build/types/table/TableStatusText.d.ts.map +0 -1
- package/build/types/table/index.d.ts.map +0 -1
- package/build/types/tabs/Tab.d.ts.map +0 -1
- package/build/types/tabs/TabList.d.ts.map +0 -1
- package/build/types/tabs/TabPanel.d.ts.map +0 -1
- package/build/types/tabs/Tabs.d.ts.map +0 -1
- package/build/types/tabs/index.d.ts.map +0 -1
- package/build/types/tabs/utils.d.ts.map +0 -1
- package/build/types/test-utils/fake-data.d.ts.map +0 -1
- package/build/types/test-utils/index.d.ts +0 -180
- package/build/types/test-utils/index.d.ts.map +0 -1
- package/build/types/test-utils/jest.setup.d.ts.map +0 -1
- package/build/types/test-utils/story-config.d.ts +0 -64
- package/build/types/test-utils/story-config.d.ts.map +0 -1
- package/build/types/test-utils/style-mock.d.ts.map +0 -1
- package/build/types/test-utils/wait.d.ts.map +0 -1
- package/build/types/test-utils/window-mock.d.ts.map +0 -1
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
- package/build/types/textareaWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/tile/Tile.d.ts.map +0 -1
- package/build/types/tile/index.d.ts.map +0 -1
- package/build/types/title/Title.d.ts.map +0 -1
- package/build/types/title/index.d.ts.map +0 -1
- package/build/types/tooltip/Tooltip.d.ts.map +0 -1
- package/build/types/tooltip/index.d.ts.map +0 -1
- package/build/types/typeahead/Typeahead.d.ts +0 -47
- package/build/types/typeahead/Typeahead.d.ts.map +0 -1
- package/build/types/typeahead/Typeahead.messages.d.ts.map +0 -1
- package/build/types/typeahead/index.d.ts.map +0 -1
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
- package/build/types/typeahead/util/highlight.d.ts.map +0 -1
- package/build/types/upload/Upload.d.ts +0 -100
- package/build/types/upload/Upload.d.ts.map +0 -1
- package/build/types/upload/Upload.messages.d.ts.map +0 -1
- package/build/types/upload/index.d.ts.map +0 -1
- package/build/types/upload/steps/completeStep/completeStep.d.ts.map +0 -1
- package/build/types/upload/steps/completeStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/index.d.ts.map +0 -1
- package/build/types/upload/steps/processingStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/processingStep/processingStep.d.ts.map +0 -1
- package/build/types/upload/steps/uploadImageStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
- package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
- package/build/types/upload/utils/asyncFileRead/index.d.ts.map +0 -1
- package/build/types/upload/utils/getFileType/getFileType.d.ts.map +0 -1
- package/build/types/upload/utils/getFileType/index.d.ts.map +0 -1
- package/build/types/upload/utils/index.d.ts.map +0 -1
- package/build/types/upload/utils/isSizeValid/index.d.ts.map +0 -1
- package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
- package/build/types/upload/utils/isTypeValid/index.d.ts.map +0 -1
- package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
- package/build/types/upload/utils/postData/index.d.ts.map +0 -1
- package/build/types/upload/utils/postData/postData.d.ts.map +0 -1
- package/build/types/uploadInput/UploadInput.d.ts.map +0 -1
- package/build/types/uploadInput/UploadInput.messages.d.ts.map +0 -1
- package/build/types/uploadInput/index.d.ts.map +0 -1
- package/build/types/uploadInput/types.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/defaults.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
- package/build/types/utilities/cssValueWithUnit.d.ts.map +0 -1
- package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
- package/build/types/utilities/deprecatedProperty/index.d.ts.map +0 -1
- package/build/types/utilities/index.d.ts.map +0 -1
- package/build/types/utilities/logActionRequired.d.ts.map +0 -1
- package/build/types/utils.d.ts.map +0 -1
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
- package/build/types/withDisplayFormat/index.d.ts.map +0 -1
- package/build/types/withId/index.d.ts.map +0 -1
- package/build/types/withId/story/source.d.ts.map +0 -1
- package/build/types/withId/withId.d.ts.map +0 -1
- package/build/types/withNextPortal/withNextPortal.d.ts.map +0 -1
- package/src/test-utils/story-config.ts +0 -95
- /package/build/types/{accordion → components/src/accordion}/Accordion.d.ts +0 -0
- /package/build/types/{accordion → components/src/accordion}/AccordionItem/AccordionItem.d.ts +0 -0
- /package/build/types/{accordion → components/src/accordion}/AccordionItem/index.d.ts +0 -0
- /package/build/types/{accordion → components/src/accordion}/index.d.ts +0 -0
- /package/build/types/{actionButton → components/src/actionButton}/ActionButton.d.ts +0 -0
- /package/build/types/{actionButton → components/src/actionButton}/index.d.ts +0 -0
- /package/build/types/{actionOption → components/src/actionOption}/ActionOption.d.ts +0 -0
- /package/build/types/{actionOption → components/src/actionOption}/index.d.ts +0 -0
- /package/build/types/{alert → components/src/alert}/index.d.ts +0 -0
- /package/build/types/{alert → components/src/alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
- /package/build/types/{alert → components/src/alert}/inlineMarkdown/index.d.ts +0 -0
- /package/build/types/{avatar → components/src/avatar}/Avatar.d.ts +0 -0
- /package/build/types/{avatar → components/src/avatar}/avatarTypes.d.ts +0 -0
- /package/build/types/{avatar → components/src/avatar}/index.d.ts +0 -0
- /package/build/types/{avatarLayout → components/src/avatarLayout}/AvatarLayout.d.ts +0 -0
- /package/build/types/{avatarLayout → components/src/avatarLayout}/index.d.ts +0 -0
- /package/build/types/{avatarView → components/src/avatarView}/AvatarView.d.ts +0 -0
- /package/build/types/{avatarView → components/src/avatarView}/Dot.d.ts +0 -0
- /package/build/types/{avatarView → components/src/avatarView}/index.d.ts +0 -0
- /package/build/types/{avatarWrapper → components/src/avatarWrapper}/AvatarWrapper.d.ts +0 -0
- /package/build/types/{avatarWrapper → components/src/avatarWrapper}/index.d.ts +0 -0
- /package/build/types/{badge → components/src/badge}/Badge.d.ts +0 -0
- /package/build/types/{badge → components/src/badge}/BadgeAssets.d.ts +0 -0
- /package/build/types/{badge → components/src/badge}/index.d.ts +0 -0
- /package/build/types/{body → components/src/body}/Body.d.ts +0 -0
- /package/build/types/{body → components/src/body}/index.d.ts +0 -0
- /package/build/types/{button → components/src/button}/Button.d.ts +0 -0
- /package/build/types/{button → components/src/button}/Button.resolver.d.ts +0 -0
- /package/build/types/{button → components/src/button}/Button.types.d.ts +0 -0
- /package/build/types/{button → components/src/button}/LegacyButton.d.ts +0 -0
- /package/build/types/{button → components/src/button}/_stories/helpers.d.ts +0 -0
- /package/build/types/{button → components/src/button}/classMap.d.ts +0 -0
- /package/build/types/{button → components/src/button}/index.d.ts +0 -0
- /package/build/types/{button → components/src/button}/legacyUtils/index.d.ts +0 -0
- /package/build/types/{button → components/src/button}/legacyUtils/legacyUtils.d.ts +0 -0
- /package/build/types/{card → components/src/card}/Card.d.ts +0 -0
- /package/build/types/{card → components/src/card}/index.d.ts +0 -0
- /package/build/types/{carousel → components/src/carousel}/Carousel.d.ts +0 -0
- /package/build/types/{carousel → components/src/carousel}/index.d.ts +0 -0
- /package/build/types/{checkbox → components/src/checkbox}/Checkbox.d.ts +0 -0
- /package/build/types/{checkbox → components/src/checkbox}/index.d.ts +0 -0
- /package/build/types/{checkboxButton → components/src/checkboxButton}/CheckboxButton.d.ts +0 -0
- /package/build/types/{checkboxButton → components/src/checkboxButton}/index.d.ts +0 -0
- /package/build/types/{checkboxOption → components/src/checkboxOption}/CheckboxOption.d.ts +0 -0
- /package/build/types/{checkboxOption → components/src/checkboxOption}/index.d.ts +0 -0
- /package/build/types/{chevron → components/src/chevron}/Chevron.d.ts +0 -0
- /package/build/types/{chevron → components/src/chevron}/index.d.ts +0 -0
- /package/build/types/{chips → components/src/chips}/Chip.d.ts +0 -0
- /package/build/types/{chips → components/src/chips}/Chips.d.ts +0 -0
- /package/build/types/{chips → components/src/chips}/Chips.messages.d.ts +0 -0
- /package/build/types/{chips → components/src/chips}/index.d.ts +0 -0
- /package/build/types/{circularButton → components/src/circularButton}/CircularButton.d.ts +0 -0
- /package/build/types/{circularButton → components/src/circularButton}/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/DOMOperations/DOMOperations.d.ts +0 -0
- /package/build/types/{common → components/src/common}/DOMOperations/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/Option/Option.d.ts +0 -0
- /package/build/types/{common → components/src/common}/Option/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/RadioButton/RadioButton.d.ts +0 -0
- /package/build/types/{common → components/src/common}/RadioButton/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/bottomSheet/BottomSheet.d.ts +0 -0
- /package/build/types/{common → components/src/common}/bottomSheet/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/card/Card.d.ts +0 -0
- /package/build/types/{common → components/src/common}/card/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/circle/Circle.d.ts +0 -0
- /package/build/types/{common → components/src/common}/circle/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/closeButton/CloseButton.d.ts +0 -0
- /package/build/types/{common → components/src/common}/closeButton/CloseButton.messages.d.ts +0 -0
- /package/build/types/{common → components/src/common}/closeButton/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/colors.d.ts +0 -0
- /package/build/types/{common → components/src/common}/commonProps.d.ts +0 -0
- /package/build/types/{common → components/src/common}/constants.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/getDateView/getDateView.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
- /package/build/types/{common → components/src/common}/deviceDetection/deviceDetection.d.ts +0 -0
- /package/build/types/{common → components/src/common}/deviceDetection/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/direction.d.ts +0 -0
- /package/build/types/{common → components/src/common}/domHelpers/documentIosClick.d.ts +0 -0
- /package/build/types/{common → components/src/common}/domHelpers/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/fakeEvents.d.ts +0 -0
- /package/build/types/{common → components/src/common}/fileType.d.ts +0 -0
- /package/build/types/{common → components/src/common}/flowHeader/FlowHeader.d.ts +0 -0
- /package/build/types/{common → components/src/common}/flowHeader/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/focusBoundary/FocusBoundary.d.ts +0 -0
- /package/build/types/{common → components/src/common}/focusBoundary/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/historyNavigator/historyNavigator.d.ts +0 -0
- /package/build/types/{common → components/src/common}/historyNavigator/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useConditionalListener/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useDirection/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useDirection/useDirection.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useEffectEvent.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useHasIntersected/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useLayout/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useLayout/useLayout.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useMedia.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useResizeObserver.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useScreenSize.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useVirtualKeyboard.d.ts +0 -0
- /package/build/types/{common → components/src/common}/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/initials.d.ts +0 -0
- /package/build/types/{common → components/src/common}/locale/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/panel/Panel.d.ts +0 -0
- /package/build/types/{common → components/src/common}/panel/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
- /package/build/types/{common → components/src/common}/preventScroll/PreventScroll.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/breakpoint.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/control.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/dateMode.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/layouts.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/markdownNodeType.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/monthFormat.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/position.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/profileType.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/scroll.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/sentiment.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/size.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/status.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/type.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/typography.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/variant.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/width.d.ts +0 -0
- /package/build/types/{common → components/src/common}/responsivePanel/ResponsivePanel.d.ts +0 -0
- /package/build/types/{common → components/src/common}/responsivePanel/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/formatWithPattern/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/unformatWithPattern/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
- /package/build/types/{common → components/src/common}/theme.d.ts +0 -0
- /package/build/types/{criticalBanner → components/src/criticalBanner}/CriticalCommsBanner.d.ts +0 -0
- /package/build/types/{criticalBanner → components/src/criticalBanner}/index.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/DateInput.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/DateInput.messages.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/index.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/utils/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/DateLookup.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/DateLookup.messages.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateHeader/DateHeader.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateHeader/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateTrigger/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/table/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/getStartOfDay/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/table/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/tableLink/TableLink.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/tableLink/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/table/index.d.ts +0 -0
- /package/build/types/{decision → components/src/decision}/Decision.d.ts +0 -0
- /package/build/types/{decision → components/src/decision}/index.d.ts +0 -0
- /package/build/types/{definitionList → components/src/definitionList}/DefinitionList.d.ts +0 -0
- /package/build/types/{definitionList → components/src/definitionList}/index.d.ts +0 -0
- /package/build/types/{dimmer → components/src/dimmer}/Dimmer.d.ts +0 -0
- /package/build/types/{dimmer → components/src/dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
- /package/build/types/{dimmer → components/src/dimmer}/dimmerManager/index.d.ts +0 -0
- /package/build/types/{dimmer → components/src/dimmer}/index.d.ts +0 -0
- /package/build/types/{display → components/src/display}/Display.d.ts +0 -0
- /package/build/types/{display → components/src/display}/index.d.ts +0 -0
- /package/build/types/{divider → components/src/divider}/Divider.d.ts +0 -0
- /package/build/types/{divider → components/src/divider}/index.d.ts +0 -0
- /package/build/types/{drawer → components/src/drawer}/Drawer.d.ts +0 -0
- /package/build/types/{drawer → components/src/drawer}/index.d.ts +0 -0
- /package/build/types/{dropFade → components/src/dropFade}/DropFade.d.ts +0 -0
- /package/build/types/{dropFade → components/src/dropFade}/index.d.ts +0 -0
- /package/build/types/{emphasis → components/src/emphasis}/Emphasis.d.ts +0 -0
- /package/build/types/{emphasis → components/src/emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
- /package/build/types/{emphasis → components/src/emphasis}/index.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/index.d.ts +0 -0
- /package/build/types/{flowNavigation → components/src/flowNavigation}/FlowNavigation.d.ts +0 -0
- /package/build/types/{flowNavigation → components/src/flowNavigation}/FlowNavigation.messages.d.ts +0 -0
- /package/build/types/{flowNavigation → components/src/flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
- /package/build/types/{flowNavigation → components/src/flowNavigation}/animatedLabel/index.d.ts +0 -0
- /package/build/types/{header → components/src/header}/Header.d.ts +0 -0
- /package/build/types/{header → components/src/header}/index.d.ts +0 -0
- /package/build/types/{i18n → components/src/i18n}/commonMessages/Button.messages.d.ts +0 -0
- /package/build/types/{i18n → components/src/i18n}/index.d.ts +0 -0
- /package/build/types/{iconButton → components/src/iconButton}/IconButton.d.ts +0 -0
- /package/build/types/{iconButton → components/src/iconButton}/index.d.ts +0 -0
- /package/build/types/{image → components/src/image}/Image.d.ts +0 -0
- /package/build/types/{image → components/src/image}/index.d.ts +0 -0
- /package/build/types/{index.d.ts → components/src/index.d.ts} +0 -0
- /package/build/types/{info → components/src/info}/Info.d.ts +0 -0
- /package/build/types/{info → components/src/info}/Info.messages.d.ts +0 -0
- /package/build/types/{info → components/src/info}/index.d.ts +0 -0
- /package/build/types/{info → components/src/info}/infoPresentations.d.ts +0 -0
- /package/build/types/{inlineAlert → components/src/inlineAlert}/index.d.ts +0 -0
- /package/build/types/{inputWithDisplayFormat → components/src/inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
- /package/build/types/{inputWithDisplayFormat → components/src/inputWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/Input.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/InputGroup.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/SearchInput.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/SelectInput.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/SelectInput.messages.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/TextArea.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/_BottomSheet.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/_ButtonInput.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/_Popover.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/_common.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/contexts.d.ts +0 -0
- /package/build/types/{instructionsList → components/src/instructionsList}/InstructionsList.d.ts +0 -0
- /package/build/types/{instructionsList → components/src/instructionsList}/index.d.ts +0 -0
- /package/build/types/{label → components/src/label}/Label.d.ts +0 -0
- /package/build/types/{label → components/src/label}/Label.messages.d.ts +0 -0
- /package/build/types/{label → components/src/label}/index.d.ts +0 -0
- /package/build/types/{legacylistItem → components/src/legacylistItem}/LegacyListItem.d.ts +0 -0
- /package/build/types/{legacylistItem → components/src/legacylistItem}/index.d.ts +0 -0
- /package/build/types/{link → components/src/link}/Link.d.ts +0 -0
- /package/build/types/{link → components/src/link}/Link.messages.d.ts +0 -0
- /package/build/types/{link → components/src/link}/index.d.ts +0 -0
- /package/build/types/{list → components/src/list}/List.d.ts +0 -0
- /package/build/types/{list → components/src/list}/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AdditionalInfo/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AvatarLayout/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AvatarView/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Button/ListItemButton.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Button/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Checkbox/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/IconButton/ListItemIconButton.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/IconButton/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Image/ListItemImage.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Image/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/ListItemContext.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Navigation/ListItemNavigation.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Navigation/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Prompt/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Radio/ListItemRadio.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Radio/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Switch/ListItemSwitch.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Switch/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/_stories/helpers.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/_stories/subcomponents.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/constants.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/test-utils.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/useListItemControl.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/useListItemMedia.d.ts +0 -0
- /package/build/types/{loader → components/src/loader}/Loader.d.ts +0 -0
- /package/build/types/{loader → components/src/loader}/index.d.ts +0 -0
- /package/build/types/{logo → components/src/logo}/Logo.d.ts +0 -0
- /package/build/types/{logo → components/src/logo}/index.d.ts +0 -0
- /package/build/types/{logo → components/src/logo}/logo-assets.d.ts +0 -0
- /package/build/types/{markdown → components/src/markdown}/Markdown.d.ts +0 -0
- /package/build/types/{markdown → components/src/markdown}/index.d.ts +0 -0
- /package/build/types/{mocks.d.ts → components/src/mocks.d.ts} +0 -0
- /package/build/types/{modal → components/src/modal}/Modal.d.ts +0 -0
- /package/build/types/{modal → components/src/modal}/index.d.ts +0 -0
- /package/build/types/{money → components/src/money}/Money.d.ts +0 -0
- /package/build/types/{money → components/src/money}/index.d.ts +0 -0
- /package/build/types/{moneyInput → components/src/moneyInput}/MoneyInput.d.ts +0 -0
- /package/build/types/{moneyInput → components/src/moneyInput}/MoneyInput.messages.d.ts +0 -0
- /package/build/types/{moneyInput → components/src/moneyInput}/currencyFormatting.d.ts +0 -0
- /package/build/types/{moneyInput → components/src/moneyInput}/index.d.ts +0 -0
- /package/build/types/{navigationOption → components/src/navigationOption}/NavigationOption.d.ts +0 -0
- /package/build/types/{navigationOption → components/src/navigationOption}/index.d.ts +0 -0
- /package/build/types/{navigationOptionsList → components/src/navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
- /package/build/types/{navigationOptionsList → components/src/navigationOptionsList}/index.d.ts +0 -0
- /package/build/types/{nudge → components/src/nudge}/Nudge.d.ts +0 -0
- /package/build/types/{nudge → components/src/nudge}/index.d.ts +0 -0
- /package/build/types/{overlayHeader → components/src/overlayHeader}/OverlayHeader.d.ts +0 -0
- /package/build/types/{overlayHeader → components/src/overlayHeader}/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/data/countries.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
- /package/build/types/{popover → components/src/popover}/Popover.d.ts +0 -0
- /package/build/types/{popover → components/src/popover}/index.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveAnchor/index.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveButton/index.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/index.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/types.d.ts +0 -0
- /package/build/types/{processIndicator → components/src/processIndicator}/ProcessIndicator.d.ts +0 -0
- /package/build/types/{processIndicator → components/src/processIndicator}/index.d.ts +0 -0
- /package/build/types/{progress → components/src/progress}/Progress.d.ts +0 -0
- /package/build/types/{progress → components/src/progress}/index.d.ts +0 -0
- /package/build/types/{progressBar → components/src/progressBar}/ProgressBar.d.ts +0 -0
- /package/build/types/{progressBar → components/src/progressBar}/index.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/PromoCard.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/PromoCardContext.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/PromoCardGroup.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/PromoCardIndicator.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/index.d.ts +0 -0
- /package/build/types/{prompt → components/src/prompt}/InlinePrompt/index.d.ts +0 -0
- /package/build/types/{prompt → components/src/prompt}/index.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/Provider.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/direction/DirectionProvider.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/direction/index.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/index.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/language/LanguageProvider.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/language/index.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/overlay/OverlayIdProvider.d.ts +0 -0
- /package/build/types/{radio → components/src/radio}/Radio.d.ts +0 -0
- /package/build/types/{radio → components/src/radio}/index.d.ts +0 -0
- /package/build/types/{radioGroup → components/src/radioGroup}/RadioGroup.d.ts +0 -0
- /package/build/types/{radioGroup → components/src/radioGroup}/index.d.ts +0 -0
- /package/build/types/{radioOption → components/src/radioOption}/RadioOption.d.ts +0 -0
- /package/build/types/{radioOption → components/src/radioOption}/index.d.ts +0 -0
- /package/build/types/{section → components/src/section}/Section.d.ts +0 -0
- /package/build/types/{section → components/src/section}/index.d.ts +0 -0
- /package/build/types/{segmentedControl → components/src/segmentedControl}/SegmentedControl.d.ts +0 -0
- /package/build/types/{segmentedControl → components/src/segmentedControl}/index.d.ts +0 -0
- /package/build/types/{select → components/src/select}/Select.d.ts +0 -0
- /package/build/types/{select → components/src/select}/Select.messages.d.ts +0 -0
- /package/build/types/{select → components/src/select}/index.d.ts +0 -0
- /package/build/types/{select → components/src/select}/option/Option.d.ts +0 -0
- /package/build/types/{select → components/src/select}/option/index.d.ts +0 -0
- /package/build/types/{select → components/src/select}/searchBox/SearchBox.d.ts +0 -0
- /package/build/types/{select → components/src/select}/searchBox/index.d.ts +0 -0
- /package/build/types/{sentimentSurface → components/src/sentimentSurface}/SentimentSurface.d.ts +0 -0
- /package/build/types/{sentimentSurface → components/src/sentimentSurface}/SentimentSurface.types.d.ts +0 -0
- /package/build/types/{sentimentSurface → components/src/sentimentSurface}/index.d.ts +0 -0
- /package/build/types/{slidingPanel → components/src/slidingPanel}/SlidingPanel.d.ts +0 -0
- /package/build/types/{slidingPanel → components/src/slidingPanel}/index.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/Snackbar.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/SnackbarContext.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/SnackbarProvider.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/index.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/useSnackbar.d.ts +0 -0
- /package/build/types/{statusIcon → components/src/statusIcon}/StatusIcon.d.ts +0 -0
- /package/build/types/{statusIcon → components/src/statusIcon}/StatusIcon.messages.d.ts +0 -0
- /package/build/types/{statusIcon → components/src/statusIcon}/index.d.ts +0 -0
- /package/build/types/{stepper → components/src/stepper}/Stepper.d.ts +0 -0
- /package/build/types/{stepper → components/src/stepper}/deviceDetection.d.ts +0 -0
- /package/build/types/{sticky → components/src/sticky}/Sticky.d.ts +0 -0
- /package/build/types/{sticky → components/src/sticky}/index.d.ts +0 -0
- /package/build/types/{summary → components/src/summary}/Summary.d.ts +0 -0
- /package/build/types/{summary → components/src/summary}/Summary.messages.d.ts +0 -0
- /package/build/types/{summary → components/src/summary}/index.d.ts +0 -0
- /package/build/types/{switch → components/src/switch}/Switch.d.ts +0 -0
- /package/build/types/{switch → components/src/switch}/index.d.ts +0 -0
- /package/build/types/{switchOption → components/src/switchOption}/SwitchOption.d.ts +0 -0
- /package/build/types/{switchOption → components/src/switchOption}/index.d.ts +0 -0
- /package/build/types/{table → components/src/table}/Table.d.ts +0 -0
- /package/build/types/{table → components/src/table}/Table.messages.d.ts +0 -0
- /package/build/types/{table → components/src/table}/TableCell.d.ts +0 -0
- /package/build/types/{table → components/src/table}/TableHeader.d.ts +0 -0
- /package/build/types/{table → components/src/table}/TableRow.d.ts +0 -0
- /package/build/types/{table → components/src/table}/TableStatusText.d.ts +0 -0
- /package/build/types/{table → components/src/table}/index.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/Tab.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/TabList.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/TabPanel.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/Tabs.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/index.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/utils.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/fake-data.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/jest.setup.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/style-mock.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/wait.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/window-mock.d.ts +0 -0
- /package/build/types/{textareaWithDisplayFormat → components/src/textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
- /package/build/types/{textareaWithDisplayFormat → components/src/textareaWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{tile → components/src/tile}/Tile.d.ts +0 -0
- /package/build/types/{tile → components/src/tile}/index.d.ts +0 -0
- /package/build/types/{title → components/src/title}/Title.d.ts +0 -0
- /package/build/types/{title → components/src/title}/index.d.ts +0 -0
- /package/build/types/{tooltip → components/src/tooltip}/Tooltip.d.ts +0 -0
- /package/build/types/{tooltip → components/src/tooltip}/index.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/Typeahead.messages.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/index.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/util/highlight.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/Upload.messages.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/completeStep/completeStep.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/completeStep/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/processingStep/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/processingStep/processingStep.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/uploadImageStep/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/asyncFileRead/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/getFileType/getFileType.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/getFileType/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/isSizeValid/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/isTypeValid/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/postData/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/postData/postData.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/UploadInput.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/UploadInput.messages.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/index.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/types.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/UploadButton.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/defaults.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadItem/UploadItem.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/cssValueWithUnit.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/deprecatedProperty/index.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/index.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/logActionRequired.d.ts +0 -0
- /package/build/types/{utils.d.ts → components/src/utils.d.ts} +0 -0
- /package/build/types/{withDisplayFormat → components/src/withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
- /package/build/types/{withDisplayFormat → components/src/withDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{withId → components/src/withId}/index.d.ts +0 -0
- /package/build/types/{withId → components/src/withId}/story/source.d.ts +0 -0
- /package/build/types/{withId → components/src/withId}/withId.d.ts +0 -0
- /package/build/types/{withNextPortal → components/src/withNextPortal}/withNextPortal.d.ts +0 -0
|
@@ -2,6 +2,15 @@ import { clsx } from 'clsx';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* @param {boolean} [isContent=false] - If `true`, uses a semantic `<hr>` for accessible separation; otherwise uses `<div role="presentation">`.
|
|
7
|
+
* @param {string} [className] - Optional class names for adding custom styling to the divider.
|
|
8
|
+
* @param {string} [testId] - Provides a `data-testid` for testing frameworks.
|
|
9
|
+
* @param {'section' | 'subsection' | 'content'} [level='section'] - Defines the visual style for the divider.
|
|
10
|
+
*
|
|
11
|
+
* @see {@link Divider} for further information.
|
|
12
|
+
* @see {@link https://storybook.wise.design/?path=/docs/layouts-divider--docs|Storybook Wise Design}
|
|
13
|
+
*/
|
|
5
14
|
const Divider = ({
|
|
6
15
|
className,
|
|
7
16
|
isContent = false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.mjs","sources":["../../src/divider/Divider.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { FunctionComponent } from 'react';\n\nexport interface DividerProps {\n /**\n * If `true`, renders the Divider as a semantic `<hr>`, providing clear separation to assistive technologies.\n * Otherwise, a non-semantic `<div role=\"presentation\">` is used for purely visual separation.\n * @default false\n */\n isContent?: boolean;\n\n /**\n * Alters the visual style of the divider, accommodating different types\n * of separated content. Accepts `'section'`, `'subsection'`, or `'content'`.\n * @default 'section'\n */\n level?: 'section' | 'subsection' | 'content';\n\n className?: string;\n testId?: string;\n}\n\n/**\n * @param {boolean} [isContent=false] - If `true`, uses a semantic `<hr>` for accessible separation; otherwise uses `<div role=\"presentation\">`.\n * @param {string} [className] - Optional class names for adding custom styling to the divider.\n * @param {string} [testId] - Provides a `data-testid` for testing frameworks.\n * @param {'section' | 'subsection' | 'content'} [level='section'] - Defines the visual style for the divider.\n *\n * @see {@link Divider} for further information.\n * @see {@link https://storybook.wise.design/?path=/docs/layouts-divider--docs|Storybook Wise Design}\n */\nconst Divider: FunctionComponent<DividerProps> = ({\n className,\n isContent = false,\n testId,\n level = 'section',\n ...props\n}) => {\n const levelClass = level && level !== 'section' ? `wds-Divider--${level}` : '';\n\n const commonProps = {\n className: clsx('wds-Divider', levelClass, className),\n 'data-testid': testId,\n };\n\n const divProps = {\n ...commonProps,\n role: 'presentation',\n };\n\n return isContent ? <hr {...commonProps} {...props} /> : <div {...divProps} {...props} />;\n};\n\nexport default Divider;\n"],"names":["Divider","className","isContent","testId","level","props","levelClass","commonProps","clsx","divProps","role","_jsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"Divider.mjs","sources":["../../src/divider/Divider.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { FunctionComponent } from 'react';\n\nexport interface DividerProps {\n /**\n * If `true`, renders the Divider as a semantic `<hr>`, providing clear separation to assistive technologies.\n * Otherwise, a non-semantic `<div role=\"presentation\">` is used for purely visual separation.\n * @default false\n */\n isContent?: boolean;\n\n /**\n * Alters the visual style of the divider, accommodating different types\n * of separated content. Accepts `'section'`, `'subsection'`, or `'content'`.\n * @default 'section'\n */\n level?: 'section' | 'subsection' | 'content';\n\n className?: string;\n testId?: string;\n}\n\n/**\n * @param {boolean} [isContent=false] - If `true`, uses a semantic `<hr>` for accessible separation; otherwise uses `<div role=\"presentation\">`.\n * @param {string} [className] - Optional class names for adding custom styling to the divider.\n * @param {string} [testId] - Provides a `data-testid` for testing frameworks.\n * @param {'section' | 'subsection' | 'content'} [level='section'] - Defines the visual style for the divider.\n *\n * @see {@link Divider} for further information.\n * @see {@link https://storybook.wise.design/?path=/docs/layouts-divider--docs|Storybook Wise Design}\n */\nconst Divider: FunctionComponent<DividerProps> = ({\n className,\n isContent = false,\n testId,\n level = 'section',\n ...props\n}) => {\n const levelClass = level && level !== 'section' ? `wds-Divider--${level}` : '';\n\n const commonProps = {\n className: clsx('wds-Divider', levelClass, className),\n 'data-testid': testId,\n };\n\n const divProps = {\n ...commonProps,\n role: 'presentation',\n };\n\n return isContent ? <hr {...commonProps} {...props} /> : <div {...divProps} {...props} />;\n};\n\nexport default Divider;\n"],"names":["Divider","className","isContent","testId","level","props","levelClass","commonProps","clsx","divProps","role","_jsx"],"mappings":";;;;AAsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,OAAwC,GAAGA,CAAC;EAChDC,SAAS;AACTC,EAAAA,SAAS,GAAG,KAAK;EACjBC,MAAM;AACNC,EAAAA,KAAK,GAAG,SAAS;EACjB,GAAGC;AACL,CAAC,KAAK;AACJ,EAAA,MAAMC,UAAU,GAAGF,KAAK,IAAIA,KAAK,KAAK,SAAS,GAAG,CAAA,aAAA,EAAgBA,KAAK,CAAA,CAAE,GAAG,EAAE;AAE9E,EAAA,MAAMG,WAAW,GAAG;IAClBN,SAAS,EAAEO,IAAI,CAAC,aAAa,EAAEF,UAAU,EAAEL,SAAS,CAAC;AACrD,IAAA,aAAa,EAAEE;GAChB;AAED,EAAA,MAAMM,QAAQ,GAAG;AACf,IAAA,GAAGF,WAAW;AACdG,IAAAA,IAAI,EAAE;GACP;EAED,OAAOR,SAAS,gBAAGS,GAAA,CAAA,IAAA,EAAA;AAAA,IAAA,GAAQJ,WAAW;IAAA,GAAMF;GAAQ,CAAC,gBAAGM,GAAA,CAAA,KAAA,EAAA;AAAA,IAAA,GAASF,QAAQ;IAAA,GAAMJ;AAAK,GAAG,CAAC;AAC1F;;;;"}
|
package/build/drawer/Drawer.js
CHANGED
|
@@ -4,25 +4,8 @@ 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');
|
|
12
7
|
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
8
|
var position = 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');
|
|
26
9
|
var icons = require('@transferwise/icons');
|
|
27
10
|
var reactIntl = require('react-intl');
|
|
28
11
|
var CloseButton_messages = require('../common/closeButton/CloseButton.messages.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.js","sources":["../../src/drawer/Drawer.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { HTMLAttributes, useContext, useId } from 'react';\n\nimport { Position, Typography } from '../common';\nimport { useLayout } from '../common/hooks';\nimport Dimmer from '../dimmer';\nimport { OverlayIdContext } from '../provider/overlay/OverlayIdProvider';\nimport SlidingPanel from '../slidingPanel';\nimport Title from '../title';\nimport { logActionRequiredIf } from '../utilities';\nimport IconButton from '../iconButton';\nimport closeBtnMessages from '../common/closeButton/CloseButton.messages';\nimport { useIntl } from 'react-intl';\nimport { Cross } from '@transferwise/icons';\n\nexport type DrawerProps = {\n /** The content to appear in the drawer body. */\n children?: React.ReactNode;\n className?: string;\n /** The content to appear in the drawer footer. */\n footerContent?: React.ReactNode;\n /** The content to appear in the drawer header. */\n headerTitle?: React.ReactNode;\n /** The status of Drawer either open or not. */\n open?: boolean;\n /** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */\n position?: `${Position.LEFT | Position.RIGHT | Position.BOTTOM}`;\n /** The action to perform on close click. */\n onClose?: (event: KeyboardEvent | React.MouseEvent) => void;\n onUnmount?: () => void;\n} & Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-labelledby'>;\n\nexport default function Drawer({\n children,\n className,\n footerContent,\n headerTitle,\n onClose,\n onUnmount,\n open = false,\n position = 'right',\n role = 'dialog',\n 'aria-labelledby': ariaLabelledBy,\n}: DrawerProps) {\n const intl = useIntl();\n logActionRequiredIf(\n 'Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.',\n !onClose,\n );\n\n const { isMobile } = useLayout();\n const titleId = useId();\n\n const overlayId = useContext(OverlayIdContext);\n\n return (\n <Dimmer open={open} onClose={onClose} onExited={onUnmount}>\n <SlidingPanel open={open} position={isMobile ? Position.BOTTOM : position}>\n <div\n id={overlayId}\n role={role}\n aria-modal\n aria-labelledby={ariaLabelledBy || (headerTitle ? titleId : undefined)}\n className={clsx('np-drawer', className)}\n >\n <div\n className={clsx(\n 'np-drawer-header',\n 'd-flex',\n 'align-items-center',\n headerTitle ? 'justify-content-between' : 'justify-content-end',\n 'flex-wrap',\n )}\n >\n {headerTitle && (\n <Title id={titleId} type={Typography.TITLE_SUBSECTION} className=\"np-drawer-title\">\n {headerTitle}\n </Title>\n )}\n <IconButton\n size={40}\n priority=\"tertiary\"\n aria-label={intl.formatMessage(closeBtnMessages.ariaLabel)}\n onClick={onClose}\n >\n <Cross />\n </IconButton>\n </div>\n {children && <div className={clsx('np-drawer-content')}>{children}</div>}\n {footerContent ? (\n <div className={clsx('np-drawer-footer')}>{footerContent}</div>\n ) : (\n <div className=\"m-t-3\" />\n )}\n </div>\n </SlidingPanel>\n </Dimmer>\n );\n}\n"],"names":["Drawer","children","className","footerContent","headerTitle","onClose","onUnmount","open","position","role","ariaLabelledBy","intl","useIntl","logActionRequiredIf","isMobile","useLayout","titleId","useId","overlayId","useContext","OverlayIdContext","_jsx","Dimmer","onExited","SlidingPanel","Position","BOTTOM","_jsxs","id","undefined","clsx","Title","type","Typography","TITLE_SUBSECTION","IconButton","size","priority","formatMessage","closeBtnMessages","ariaLabel","onClick","Cross"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Drawer.js","sources":["../../src/drawer/Drawer.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { HTMLAttributes, useContext, useId } from 'react';\n\nimport { Position, Typography } from '../common';\nimport { useLayout } from '../common/hooks';\nimport Dimmer from '../dimmer';\nimport { OverlayIdContext } from '../provider/overlay/OverlayIdProvider';\nimport SlidingPanel from '../slidingPanel';\nimport Title from '../title';\nimport { logActionRequiredIf } from '../utilities';\nimport IconButton from '../iconButton';\nimport closeBtnMessages from '../common/closeButton/CloseButton.messages';\nimport { useIntl } from 'react-intl';\nimport { Cross } from '@transferwise/icons';\n\nexport type DrawerProps = {\n /** The content to appear in the drawer body. */\n children?: React.ReactNode;\n className?: string;\n /** The content to appear in the drawer footer. */\n footerContent?: React.ReactNode;\n /** The content to appear in the drawer header. */\n headerTitle?: React.ReactNode;\n /** The status of Drawer either open or not. */\n open?: boolean;\n /** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */\n position?: `${Position.LEFT | Position.RIGHT | Position.BOTTOM}`;\n /** The action to perform on close click. */\n onClose?: (event: KeyboardEvent | React.MouseEvent) => void;\n onUnmount?: () => void;\n} & Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-labelledby'>;\n\nexport default function Drawer({\n children,\n className,\n footerContent,\n headerTitle,\n onClose,\n onUnmount,\n open = false,\n position = 'right',\n role = 'dialog',\n 'aria-labelledby': ariaLabelledBy,\n}: DrawerProps) {\n const intl = useIntl();\n logActionRequiredIf(\n 'Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.',\n !onClose,\n );\n\n const { isMobile } = useLayout();\n const titleId = useId();\n\n const overlayId = useContext(OverlayIdContext);\n\n return (\n <Dimmer open={open} onClose={onClose} onExited={onUnmount}>\n <SlidingPanel open={open} position={isMobile ? Position.BOTTOM : position}>\n <div\n id={overlayId}\n role={role}\n aria-modal\n aria-labelledby={ariaLabelledBy || (headerTitle ? titleId : undefined)}\n className={clsx('np-drawer', className)}\n >\n <div\n className={clsx(\n 'np-drawer-header',\n 'd-flex',\n 'align-items-center',\n headerTitle ? 'justify-content-between' : 'justify-content-end',\n 'flex-wrap',\n )}\n >\n {headerTitle && (\n <Title id={titleId} type={Typography.TITLE_SUBSECTION} className=\"np-drawer-title\">\n {headerTitle}\n </Title>\n )}\n <IconButton\n size={40}\n priority=\"tertiary\"\n aria-label={intl.formatMessage(closeBtnMessages.ariaLabel)}\n onClick={onClose}\n >\n <Cross />\n </IconButton>\n </div>\n {children && <div className={clsx('np-drawer-content')}>{children}</div>}\n {footerContent ? (\n <div className={clsx('np-drawer-footer')}>{footerContent}</div>\n ) : (\n <div className=\"m-t-3\" />\n )}\n </div>\n </SlidingPanel>\n </Dimmer>\n );\n}\n"],"names":["Drawer","children","className","footerContent","headerTitle","onClose","onUnmount","open","position","role","ariaLabelledBy","intl","useIntl","logActionRequiredIf","isMobile","useLayout","titleId","useId","overlayId","useContext","OverlayIdContext","_jsx","Dimmer","onExited","SlidingPanel","Position","BOTTOM","_jsxs","id","undefined","clsx","Title","type","Typography","TITLE_SUBSECTION","IconButton","size","priority","formatMessage","closeBtnMessages","ariaLabel","onClick","Cross"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAgCe,SAASA,MAAMA,CAAC;EAC7BC,QAAQ;EACRC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,OAAO;EACPC,SAAS;AACTC,EAAAA,IAAI,GAAG,KAAK;AACZC,YAAAA,UAAQ,GAAG,OAAO;AAClBC,EAAAA,IAAI,GAAG,QAAQ;AACf,EAAA,iBAAiB,EAAEC;AACR,CAAC,EAAE;AACd,EAAA,MAAMC,IAAI,GAAGC,iBAAO,EAAE;AACtBC,EAAAA,qCAAmB,CACjB,8GAA8G,EAC9G,CAACR,OACH,CAAC;EAED,MAAM;AAAES,IAAAA;GAAU,GAAGC,mBAAS,EAAE;AAChC,EAAA,MAAMC,OA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AACC,4BAAgB,CAACC,SAAS,CAAE;AAC3DC,YAAAA,OAAO,EAAEpC,OAAQ;AAAAJ,YAAAA,QAAA,eAEjBoB,cAAA,CAACqB,WAAK,EAAA,EAAE;AAAC,WACC,CAAC;AAAA,SACV,CAAC,EACLzC,QAAQ,iBAAIoB,cAAA,CAAA,KAAA,EAAA;AAAKnB,UAAAA,SAAS,EAAE4B,SAAI,CAAC,mBAAmB,CAAE;AAAA7B,UAAAA,QAAA,EAAEA;AAAQ,SAAM,CAAC,EACvEE,aAAa,gBACZkB,cAAA,CAAA,KAAA,EAAA;AAAKnB,UAAAA,SAAS,EAAE4B,SAAI,CAAC,kBAAkB,CAAE;AAAA7B,UAAAA,QAAA,EAAEE;SAAmB,CAAC,gBAE/DkB,cAAA,CAAA,KAAA,EAAA;AAAKnB,UAAAA,SAAS,EAAC;AAAO,SAAE,CACzB;OACE;KACO;AAAC,GACT,CAAC;AAEb;;;;"}
|
package/build/drawer/Drawer.mjs
CHANGED
|
@@ -1,24 +1,7 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import { useId, useContext } from 'react';
|
|
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';
|
|
8
3
|
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
4
|
import { Position } from '../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';
|
|
22
5
|
import { Cross } from '@transferwise/icons';
|
|
23
6
|
import { useIntl } from 'react-intl';
|
|
24
7
|
import closeBtnMessages from '../common/closeButton/CloseButton.messages.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.mjs","sources":["../../src/drawer/Drawer.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { HTMLAttributes, useContext, useId } from 'react';\n\nimport { Position, Typography } from '../common';\nimport { useLayout } from '../common/hooks';\nimport Dimmer from '../dimmer';\nimport { OverlayIdContext } from '../provider/overlay/OverlayIdProvider';\nimport SlidingPanel from '../slidingPanel';\nimport Title from '../title';\nimport { logActionRequiredIf } from '../utilities';\nimport IconButton from '../iconButton';\nimport closeBtnMessages from '../common/closeButton/CloseButton.messages';\nimport { useIntl } from 'react-intl';\nimport { Cross } from '@transferwise/icons';\n\nexport type DrawerProps = {\n /** The content to appear in the drawer body. */\n children?: React.ReactNode;\n className?: string;\n /** The content to appear in the drawer footer. */\n footerContent?: React.ReactNode;\n /** The content to appear in the drawer header. */\n headerTitle?: React.ReactNode;\n /** The status of Drawer either open or not. */\n open?: boolean;\n /** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */\n position?: `${Position.LEFT | Position.RIGHT | Position.BOTTOM}`;\n /** The action to perform on close click. */\n onClose?: (event: KeyboardEvent | React.MouseEvent) => void;\n onUnmount?: () => void;\n} & Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-labelledby'>;\n\nexport default function Drawer({\n children,\n className,\n footerContent,\n headerTitle,\n onClose,\n onUnmount,\n open = false,\n position = 'right',\n role = 'dialog',\n 'aria-labelledby': ariaLabelledBy,\n}: DrawerProps) {\n const intl = useIntl();\n logActionRequiredIf(\n 'Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.',\n !onClose,\n );\n\n const { isMobile } = useLayout();\n const titleId = useId();\n\n const overlayId = useContext(OverlayIdContext);\n\n return (\n <Dimmer open={open} onClose={onClose} onExited={onUnmount}>\n <SlidingPanel open={open} position={isMobile ? Position.BOTTOM : position}>\n <div\n id={overlayId}\n role={role}\n aria-modal\n aria-labelledby={ariaLabelledBy || (headerTitle ? titleId : undefined)}\n className={clsx('np-drawer', className)}\n >\n <div\n className={clsx(\n 'np-drawer-header',\n 'd-flex',\n 'align-items-center',\n headerTitle ? 'justify-content-between' : 'justify-content-end',\n 'flex-wrap',\n )}\n >\n {headerTitle && (\n <Title id={titleId} type={Typography.TITLE_SUBSECTION} className=\"np-drawer-title\">\n {headerTitle}\n </Title>\n )}\n <IconButton\n size={40}\n priority=\"tertiary\"\n aria-label={intl.formatMessage(closeBtnMessages.ariaLabel)}\n onClick={onClose}\n >\n <Cross />\n </IconButton>\n </div>\n {children && <div className={clsx('np-drawer-content')}>{children}</div>}\n {footerContent ? (\n <div className={clsx('np-drawer-footer')}>{footerContent}</div>\n ) : (\n <div className=\"m-t-3\" />\n )}\n </div>\n </SlidingPanel>\n </Dimmer>\n );\n}\n"],"names":["Drawer","children","className","footerContent","headerTitle","onClose","onUnmount","open","position","role","ariaLabelledBy","intl","useIntl","logActionRequiredIf","isMobile","useLayout","titleId","useId","overlayId","useContext","OverlayIdContext","_jsx","Dimmer","onExited","SlidingPanel","Position","BOTTOM","_jsxs","id","undefined","clsx","Title","type","Typography","TITLE_SUBSECTION","IconButton","size","priority","formatMessage","closeBtnMessages","ariaLabel","onClick","Cross"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Drawer.mjs","sources":["../../src/drawer/Drawer.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { HTMLAttributes, useContext, useId } from 'react';\n\nimport { Position, Typography } from '../common';\nimport { useLayout } from '../common/hooks';\nimport Dimmer from '../dimmer';\nimport { OverlayIdContext } from '../provider/overlay/OverlayIdProvider';\nimport SlidingPanel from '../slidingPanel';\nimport Title from '../title';\nimport { logActionRequiredIf } from '../utilities';\nimport IconButton from '../iconButton';\nimport closeBtnMessages from '../common/closeButton/CloseButton.messages';\nimport { useIntl } from 'react-intl';\nimport { Cross } from '@transferwise/icons';\n\nexport type DrawerProps = {\n /** The content to appear in the drawer body. */\n children?: React.ReactNode;\n className?: string;\n /** The content to appear in the drawer footer. */\n footerContent?: React.ReactNode;\n /** The content to appear in the drawer header. */\n headerTitle?: React.ReactNode;\n /** The status of Drawer either open or not. */\n open?: boolean;\n /** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */\n position?: `${Position.LEFT | Position.RIGHT | Position.BOTTOM}`;\n /** The action to perform on close click. */\n onClose?: (event: KeyboardEvent | React.MouseEvent) => void;\n onUnmount?: () => void;\n} & Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-labelledby'>;\n\nexport default function Drawer({\n children,\n className,\n footerContent,\n headerTitle,\n onClose,\n onUnmount,\n open = false,\n position = 'right',\n role = 'dialog',\n 'aria-labelledby': ariaLabelledBy,\n}: DrawerProps) {\n const intl = useIntl();\n logActionRequiredIf(\n 'Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.',\n !onClose,\n );\n\n const { isMobile } = useLayout();\n const titleId = useId();\n\n const overlayId = useContext(OverlayIdContext);\n\n return (\n <Dimmer open={open} onClose={onClose} onExited={onUnmount}>\n <SlidingPanel open={open} position={isMobile ? Position.BOTTOM : position}>\n <div\n id={overlayId}\n role={role}\n aria-modal\n aria-labelledby={ariaLabelledBy || (headerTitle ? titleId : undefined)}\n className={clsx('np-drawer', className)}\n >\n <div\n className={clsx(\n 'np-drawer-header',\n 'd-flex',\n 'align-items-center',\n headerTitle ? 'justify-content-between' : 'justify-content-end',\n 'flex-wrap',\n )}\n >\n {headerTitle && (\n <Title id={titleId} type={Typography.TITLE_SUBSECTION} className=\"np-drawer-title\">\n {headerTitle}\n </Title>\n )}\n <IconButton\n size={40}\n priority=\"tertiary\"\n aria-label={intl.formatMessage(closeBtnMessages.ariaLabel)}\n onClick={onClose}\n >\n <Cross />\n </IconButton>\n </div>\n {children && <div className={clsx('np-drawer-content')}>{children}</div>}\n {footerContent ? (\n <div className={clsx('np-drawer-footer')}>{footerContent}</div>\n ) : (\n <div className=\"m-t-3\" />\n )}\n </div>\n </SlidingPanel>\n </Dimmer>\n );\n}\n"],"names":["Drawer","children","className","footerContent","headerTitle","onClose","onUnmount","open","position","role","ariaLabelledBy","intl","useIntl","logActionRequiredIf","isMobile","useLayout","titleId","useId","overlayId","useContext","OverlayIdContext","_jsx","Dimmer","onExited","SlidingPanel","Position","BOTTOM","_jsxs","id","undefined","clsx","Title","type","Typography","TITLE_SUBSECTION","IconButton","size","priority","formatMessage","closeBtnMessages","ariaLabel","onClick","Cross"],"mappings":";;;;;;;;;;;;;;;;;;AAgCe,SAASA,MAAMA,CAAC;EAC7BC,QAAQ;EACRC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,OAAO;EACPC,SAAS;AACTC,EAAAA,IAAI,GAAG,KAAK;AACZC,EAAAA,QAAQ,GAAG,OAAO;AAClBC,EAAAA,IAAI,GAAG,QAAQ;AACf,EAAA,iBAAiB,EAAEC;AACR,CAAC,EAAE;AACd,EAAA,MAAMC,IAAI,GAAGC,OAAO,EAAE;AACtBC,EAAAA,mBAAmB,CACjB,8GAA8G,EAC9G,CAACR,OACH,CAAC;EAED,MAAM;AAAES,IAAAA;GAAU,GAAGC,SAAS,EAAE;AAChC,EAAA,MAAMC,OAAO,GAAGC,KAAK,EAAE;AAEvB,EAAA,MAAMC,SAAS,GAAGC,UAAU,CAACC,gBAAgB,CAAC;EAE9C,oBACEC,GAAA,CAACC,MAAM,EAAA;AAACf,IAAAA,IAAI,EAAEA,IAAK;AAACF,IAAAA,OAAO,EAAEA,OAAQ;AAACkB,IAAAA,QAAQ,EAAEjB,SAAU;IAAAL,QAAA,eACxDoB,GAAA,CAACG,YAAY,EAAA;AAACjB,MAAAA,IAAI,EAAEA,IAA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AAM,CAAC,EACvEE,aAAa,gBACZkB,GAAA,CAAA,KAAA,EAAA;AAAKnB,UAAAA,SAAS,EAAE4B,IAAI,CAAC,kBAAkB,CAAE;AAAA7B,UAAAA,QAAA,EAAEE;SAAmB,CAAC,gBAE/DkB,GAAA,CAAA,KAAA,EAAA;AAAKnB,UAAAA,SAAS,EAAC;AAAO,SAAE,CACzB;OACE;KACO;AAAC,GACT,CAAC;AAEb;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropFade.js","sources":["../../src/dropFade/DropFade.tsx"],"sourcesContent":["import React, { useRef, useState, ReactElement } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nconst DropFade = ({ children, show }: { children: ReactElement; show: boolean }) => {\n const reference = useRef<HTMLDivElement>(null);\n const [height, setHeight] = useState<number | undefined>(0);\n\n const clonedChild = React.cloneElement(children);\n\n return (\n <CSSTransition\n nodeRef={reference}\n in={show}\n timeout={300}\n classNames=\"np-dropfade\"\n onEntering={() => {\n // Set height so we can animate to the correct height\n setHeight(reference.current?.scrollHeight || 0);\n }}\n // Un-set height, as we don't want to presume it should be that height forever\n onEntered={() => setHeight(undefined)}\n onExit={() => {\n setHeight(reference.current?.scrollHeight || 0);\n }}\n onExiting={() => {\n setHeight(0);\n }}\n >\n <div ref={reference} style={{ height }} className=\"np-dropfade\">\n {clonedChild}\n </div>\n </CSSTransition>\n );\n};\n\nexport default DropFade;\n"],"names":["DropFade","children","show","reference","useRef","height","setHeight","useState","clonedChild","React","cloneElement","_jsx","CSSTransition","nodeRef","in","timeout","classNames","onEntering","current","scrollHeight","onEntered","undefined","onExit","onExiting","ref","style","className"],"mappings":";;;;;;;;;;;;AAGA,MAAMA,QAAQ,GAAGA,CAAC;EAAEC,QAAQ;AAAEC,EAAAA;
|
|
1
|
+
{"version":3,"file":"DropFade.js","sources":["../../src/dropFade/DropFade.tsx"],"sourcesContent":["import React, { useRef, useState, ReactElement } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nconst DropFade = ({ children, show }: { children: ReactElement; show: boolean }) => {\n const reference = useRef<HTMLDivElement>(null);\n const [height, setHeight] = useState<number | undefined>(0);\n\n const clonedChild = React.cloneElement(children);\n\n return (\n <CSSTransition\n nodeRef={reference}\n in={show}\n timeout={300}\n classNames=\"np-dropfade\"\n onEntering={() => {\n // Set height so we can animate to the correct height\n setHeight(reference.current?.scrollHeight || 0);\n }}\n // Un-set height, as we don't want to presume it should be that height forever\n onEntered={() => setHeight(undefined)}\n onExit={() => {\n setHeight(reference.current?.scrollHeight || 0);\n }}\n onExiting={() => {\n setHeight(0);\n }}\n >\n <div ref={reference} style={{ height }} className=\"np-dropfade\">\n {clonedChild}\n </div>\n </CSSTransition>\n );\n};\n\nexport default DropFade;\n"],"names":["DropFade","children","show","reference","useRef","height","setHeight","useState","clonedChild","React","cloneElement","_jsx","CSSTransition","nodeRef","in","timeout","classNames","onEntering","current","scrollHeight","onEntered","undefined","onExit","onExiting","ref","style","className"],"mappings":";;;;;;;;;;;;AAGA,MAAMA,QAAQ,GAAGA,CAAC;EAAEC,QAAQ;AAAEC,EAAAA;AAAgD,CAAC,KAAK;AAClF,EAAA,MAAMC,SAAS,GAAGC,YAAM,CAAiB,IAAI,CAAC;EAC9C,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGC,cAAQ,CAAqB,CAAC,CAAC;AAE3D,EAAA,MAAMC,WAAW,gBAAGC,sBAAK,CAACC,YAAY,CAACT,QAAQ,CAAC;EAEhD,oBACEU,cAAA,CAACC,kCAAa,EAAA;AACZC,IAAAA,OAAO,EAAEV,SAAU;AACnBW,IAAAA,EAAE,EAAEZ,IAAK;AACTa,IAAAA,OAAO,EAAE,GAAI;AACbC,IAAAA,UAAU,EAAC,aAAa;IACxBC,UAAU,EAAEA,MAAM;AAChB;MACAX,SAAS,CAACH,SAAS,CAACe,OAAO,EAAEC,YAAY,IAAI,CAAC,CAAC;AACjD,IAAA;AACA;AAAA;AACAC,IAAAA,SAAS,EAAEA,MAAMd,SAAS,CAACe,SAAS,CAAE;IACtCC,MAAM,EAAEA,MAAM;MACZhB,SAAS,CAACH,SAAS,CAACe,OAAO,EAAEC,YAAY,IAAI,CAAC,CAAC;IACjD,CAAE;IACFI,SAAS,EAAEA,MAAM;MACfjB,SAAS,CAAC,CAAC,CAAC;IACd,CAAE;AAAAL,IAAAA,QAAA,eAEFU,cAAA,CAAA,KAAA,EAAA;AAAKa,MAAAA,GAAG,EAAErB,SAAU;AAACsB,MAAAA,KAAK,EAAE;AAAEpB,QAAAA;OAAS;AAACqB,MAAAA,SAAS,EAAC,aAAa;AAAAzB,MAAAA,QAAA,EAC5DO;KACE;AAAC,GACO,CAAC;AAEpB;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropFade.mjs","sources":["../../src/dropFade/DropFade.tsx"],"sourcesContent":["import React, { useRef, useState, ReactElement } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nconst DropFade = ({ children, show }: { children: ReactElement; show: boolean }) => {\n const reference = useRef<HTMLDivElement>(null);\n const [height, setHeight] = useState<number | undefined>(0);\n\n const clonedChild = React.cloneElement(children);\n\n return (\n <CSSTransition\n nodeRef={reference}\n in={show}\n timeout={300}\n classNames=\"np-dropfade\"\n onEntering={() => {\n // Set height so we can animate to the correct height\n setHeight(reference.current?.scrollHeight || 0);\n }}\n // Un-set height, as we don't want to presume it should be that height forever\n onEntered={() => setHeight(undefined)}\n onExit={() => {\n setHeight(reference.current?.scrollHeight || 0);\n }}\n onExiting={() => {\n setHeight(0);\n }}\n >\n <div ref={reference} style={{ height }} className=\"np-dropfade\">\n {clonedChild}\n </div>\n </CSSTransition>\n );\n};\n\nexport default DropFade;\n"],"names":["DropFade","children","show","reference","useRef","height","setHeight","useState","clonedChild","React","cloneElement","_jsx","CSSTransition","nodeRef","in","timeout","classNames","onEntering","current","scrollHeight","onEntered","undefined","onExit","onExiting","ref","style","className"],"mappings":";;;;AAGA,MAAMA,QAAQ,GAAGA,CAAC;EAAEC,QAAQ;AAAEC,EAAAA;
|
|
1
|
+
{"version":3,"file":"DropFade.mjs","sources":["../../src/dropFade/DropFade.tsx"],"sourcesContent":["import React, { useRef, useState, ReactElement } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nconst DropFade = ({ children, show }: { children: ReactElement; show: boolean }) => {\n const reference = useRef<HTMLDivElement>(null);\n const [height, setHeight] = useState<number | undefined>(0);\n\n const clonedChild = React.cloneElement(children);\n\n return (\n <CSSTransition\n nodeRef={reference}\n in={show}\n timeout={300}\n classNames=\"np-dropfade\"\n onEntering={() => {\n // Set height so we can animate to the correct height\n setHeight(reference.current?.scrollHeight || 0);\n }}\n // Un-set height, as we don't want to presume it should be that height forever\n onEntered={() => setHeight(undefined)}\n onExit={() => {\n setHeight(reference.current?.scrollHeight || 0);\n }}\n onExiting={() => {\n setHeight(0);\n }}\n >\n <div ref={reference} style={{ height }} className=\"np-dropfade\">\n {clonedChild}\n </div>\n </CSSTransition>\n );\n};\n\nexport default DropFade;\n"],"names":["DropFade","children","show","reference","useRef","height","setHeight","useState","clonedChild","React","cloneElement","_jsx","CSSTransition","nodeRef","in","timeout","classNames","onEntering","current","scrollHeight","onEntered","undefined","onExit","onExiting","ref","style","className"],"mappings":";;;;AAGA,MAAMA,QAAQ,GAAGA,CAAC;EAAEC,QAAQ;AAAEC,EAAAA;AAAgD,CAAC,KAAK;AAClF,EAAA,MAAMC,SAAS,GAAGC,MAAM,CAAiB,IAAI,CAAC;EAC9C,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGC,QAAQ,CAAqB,CAAC,CAAC;AAE3D,EAAA,MAAMC,WAAW,gBAAGC,cAAK,CAACC,YAAY,CAACT,QAAQ,CAAC;EAEhD,oBACEU,GAAA,CAACC,aAAa,EAAA;AACZC,IAAAA,OAAO,EAAEV,SAAU;AACnBW,IAAAA,EAAE,EAAEZ,IAAK;AACTa,IAAAA,OAAO,EAAE,GAAI;AACbC,IAAAA,UAAU,EAAC,aAAa;IACxBC,UAAU,EAAEA,MAAM;AAChB;MACAX,SAAS,CAACH,SAAS,CAACe,OAAO,EAAEC,YAAY,IAAI,CAAC,CAAC;AACjD,IAAA;AACA;AAAA;AACAC,IAAAA,SAAS,EAAEA,MAAMd,SAAS,CAACe,SAAS,CAAE;IACtCC,MAAM,EAAEA,MAAM;MACZhB,SAAS,CAACH,SAAS,CAACe,OAAO,EAAEC,YAAY,IAAI,CAAC,CAAC;IACjD,CAAE;IACFI,SAAS,EAAEA,MAAM;MACfjB,SAAS,CAAC,CAAC,CAAC;IACd,CAAE;AAAAL,IAAAA,QAAA,eAEFU,GAAA,CAAA,KAAA,EAAA;AAAKa,MAAAA,GAAG,EAAErB,SAAU;AAACsB,MAAAA,KAAK,EAAE;AAAEpB,QAAAA;OAAS;AAACqB,MAAAA,SAAS,EAAC,aAAa;AAAAzB,MAAAA,QAAA,EAC5DO;KACE;AAAC,GACO,CAAC;AAEpB;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Emphasis.js","sources":["../../src/emphasis/Emphasis.tsx"],"sourcesContent":["import EmphasisHtmlTransformer from './EmphasisHtmlTransformer';\n\nconst SUPPORTED_TAGS = ['important', 'positive', 'negative', 'warning'];\nconst emphasisHtmlTransformer = new EmphasisHtmlTransformer(SUPPORTED_TAGS);\n\nexport type EmphasisProps = {\n text?: string;\n};\n\nconst Emphasis = ({ text = undefined }: EmphasisProps) => {\n if (!text) {\n return null;\n }\n\n const transformedText = emphasisHtmlTransformer.transform(text);\n // eslint-disable-next-line react/no-danger\n return transformedText ? <span dangerouslySetInnerHTML={{ __html: transformedText }} /> : null;\n};\n\nexport default Emphasis;\n"],"names":["SUPPORTED_TAGS","emphasisHtmlTransformer","EmphasisHtmlTransformer","Emphasis","text","undefined","transformedText","transform","_jsx","dangerouslySetInnerHTML","__html"],"mappings":";;;;;;;AAEA,MAAMA,cAAc,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC;AACvE,MAAMC,uBAAuB,GAAG,IAAIC,+BAAuB,CAACF,cAAc,CAAC;AAM3E,MAAMG,QAAQ,GAAGA,CAAC;AAAEC,EAAAA,IAAI,GAAGC;
|
|
1
|
+
{"version":3,"file":"Emphasis.js","sources":["../../src/emphasis/Emphasis.tsx"],"sourcesContent":["import EmphasisHtmlTransformer from './EmphasisHtmlTransformer';\n\nconst SUPPORTED_TAGS = ['important', 'positive', 'negative', 'warning'];\nconst emphasisHtmlTransformer = new EmphasisHtmlTransformer(SUPPORTED_TAGS);\n\nexport type EmphasisProps = {\n text?: string;\n};\n\nconst Emphasis = ({ text = undefined }: EmphasisProps) => {\n if (!text) {\n return null;\n }\n\n const transformedText = emphasisHtmlTransformer.transform(text);\n // eslint-disable-next-line react/no-danger\n return transformedText ? <span dangerouslySetInnerHTML={{ __html: transformedText }} /> : null;\n};\n\nexport default Emphasis;\n"],"names":["SUPPORTED_TAGS","emphasisHtmlTransformer","EmphasisHtmlTransformer","Emphasis","text","undefined","transformedText","transform","_jsx","dangerouslySetInnerHTML","__html"],"mappings":";;;;;;;AAEA,MAAMA,cAAc,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC;AACvE,MAAMC,uBAAuB,GAAG,IAAIC,+BAAuB,CAACF,cAAc,CAAC;AAM3E,MAAMG,QAAQ,GAAGA,CAAC;AAAEC,EAAAA,IAAI,GAAGC;AAAyB,CAAC,KAAK;EACxD,IAAI,CAACD,IAAI,EAAE;AACT,IAAA,OAAO,IAAI;AACb,EAAA;AAEA,EAAA,MAAME,eAAe,GAAGL,uBAAuB,CAACM,SAAS,CAACH,IAAI,CAAC;AAC/D;EACA,OAAOE,eAAe,gBAAGE,cAAA,CAAA,MAAA,EAAA;AAAMC,IAAAA,uBAAuB,EAAE;AAAEC,MAAAA,MAAM,EAAEJ;AAAgB;GAAI,CAAC,GAAG,IAAI;AAChG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Emphasis.mjs","sources":["../../src/emphasis/Emphasis.tsx"],"sourcesContent":["import EmphasisHtmlTransformer from './EmphasisHtmlTransformer';\n\nconst SUPPORTED_TAGS = ['important', 'positive', 'negative', 'warning'];\nconst emphasisHtmlTransformer = new EmphasisHtmlTransformer(SUPPORTED_TAGS);\n\nexport type EmphasisProps = {\n text?: string;\n};\n\nconst Emphasis = ({ text = undefined }: EmphasisProps) => {\n if (!text) {\n return null;\n }\n\n const transformedText = emphasisHtmlTransformer.transform(text);\n // eslint-disable-next-line react/no-danger\n return transformedText ? <span dangerouslySetInnerHTML={{ __html: transformedText }} /> : null;\n};\n\nexport default Emphasis;\n"],"names":["SUPPORTED_TAGS","emphasisHtmlTransformer","EmphasisHtmlTransformer","Emphasis","text","undefined","transformedText","transform","_jsx","dangerouslySetInnerHTML","__html"],"mappings":";;;AAEA,MAAMA,cAAc,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC;AACvE,MAAMC,uBAAuB,GAAG,IAAIC,uBAAuB,CAACF,cAAc,CAAC;AAM3E,MAAMG,QAAQ,GAAGA,CAAC;AAAEC,EAAAA,IAAI,GAAGC;
|
|
1
|
+
{"version":3,"file":"Emphasis.mjs","sources":["../../src/emphasis/Emphasis.tsx"],"sourcesContent":["import EmphasisHtmlTransformer from './EmphasisHtmlTransformer';\n\nconst SUPPORTED_TAGS = ['important', 'positive', 'negative', 'warning'];\nconst emphasisHtmlTransformer = new EmphasisHtmlTransformer(SUPPORTED_TAGS);\n\nexport type EmphasisProps = {\n text?: string;\n};\n\nconst Emphasis = ({ text = undefined }: EmphasisProps) => {\n if (!text) {\n return null;\n }\n\n const transformedText = emphasisHtmlTransformer.transform(text);\n // eslint-disable-next-line react/no-danger\n return transformedText ? <span dangerouslySetInnerHTML={{ __html: transformedText }} /> : null;\n};\n\nexport default Emphasis;\n"],"names":["SUPPORTED_TAGS","emphasisHtmlTransformer","EmphasisHtmlTransformer","Emphasis","text","undefined","transformedText","transform","_jsx","dangerouslySetInnerHTML","__html"],"mappings":";;;AAEA,MAAMA,cAAc,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC;AACvE,MAAMC,uBAAuB,GAAG,IAAIC,uBAAuB,CAACF,cAAc,CAAC;AAM3E,MAAMG,QAAQ,GAAGA,CAAC;AAAEC,EAAAA,IAAI,GAAGC;AAAyB,CAAC,KAAK;EACxD,IAAI,CAACD,IAAI,EAAE;AACT,IAAA,OAAO,IAAI;AACb,EAAA;AAEA,EAAA,MAAME,eAAe,GAAGL,uBAAuB,CAACM,SAAS,CAACH,IAAI,CAAC;AAC/D;EACA,OAAOE,eAAe,gBAAGE,GAAA,CAAA,MAAA,EAAA;AAAMC,IAAAA,uBAAuB,EAAE;AAAEC,MAAAA,MAAM,EAAEJ;AAAgB;GAAI,CAAC,GAAG,IAAI;AAChG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmphasisHtmlTransformer.js","sources":["../../src/emphasis/EmphasisHtmlTransformer.ts"],"sourcesContent":["const ESCAPED_OPENING_CHEVRON = '<';\nconst ESCAPED_CLOSING_CHEVRON = '>';\n\ntype Tags = {\n transformed: {\n opening: string;\n closing: string;\n };\n escapedRegex: {\n opening: RegExp;\n closing: RegExp;\n };\n};\n\nclass EmphasisHtmlTransformer {\n tags: Tags[];\n\n constructor(whitelistedTags?: string[]) {\n this.tags = (whitelistedTags || []).map((tag) => {\n return {\n transformed: {\n opening: `<em class=\"emphasis emphasis--${tag}\">`,\n closing: '</em>',\n },\n escapedRegex: {\n opening: new RegExp(`${ESCAPED_OPENING_CHEVRON}${tag}${ESCAPED_CLOSING_CHEVRON}`, 'g'),\n closing: new RegExp(`${ESCAPED_OPENING_CHEVRON}/${tag}${ESCAPED_CLOSING_CHEVRON}`, 'g'),\n },\n };\n });\n }\n\n // Algorithm:\n // 1) Escape all dangerous characters (<,>,&)\n // 2) Replace all escaped, whitelisted tags with styled spans.\n // 3) Transform new line characters to `<br />`s\n //\n // Note: for simplicity this doesn't support tags with non-standard whitespaces, e.g. <positive></ positive>\n transform(unsafe: string): string | null {\n if (!unsafe) {\n return null;\n }\n\n const safe = unsafe.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');\n\n return this.tags\n .reduce((accumulator, tag) => {\n return accumulator\n .replace(tag.escapedRegex.opening, tag.transformed.opening)\n .replace(tag.escapedRegex.closing, tag.transformed.closing);\n }, safe)\n .replace(/\\\\n|\\n/g, '<br />');\n }\n}\n\nexport default EmphasisHtmlTransformer;\n"],"names":["ESCAPED_OPENING_CHEVRON","ESCAPED_CLOSING_CHEVRON","EmphasisHtmlTransformer","tags","constructor","whitelistedTags","map","tag","transformed","opening","closing","escapedRegex","RegExp","transform","unsafe","safe","replace","reduce","accumulator"],"mappings":";;;;AAAA,MAAMA,uBAAuB,GAAG,MAAM;AACtC,MAAMC,uBAAuB,GAAG,MAAM;AAatC,MAAMC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"EmphasisHtmlTransformer.js","sources":["../../src/emphasis/EmphasisHtmlTransformer.ts"],"sourcesContent":["const ESCAPED_OPENING_CHEVRON = '<';\nconst ESCAPED_CLOSING_CHEVRON = '>';\n\ntype Tags = {\n transformed: {\n opening: string;\n closing: string;\n };\n escapedRegex: {\n opening: RegExp;\n closing: RegExp;\n };\n};\n\nclass EmphasisHtmlTransformer {\n tags: Tags[];\n\n constructor(whitelistedTags?: string[]) {\n this.tags = (whitelistedTags || []).map((tag) => {\n return {\n transformed: {\n opening: `<em class=\"emphasis emphasis--${tag}\">`,\n closing: '</em>',\n },\n escapedRegex: {\n opening: new RegExp(`${ESCAPED_OPENING_CHEVRON}${tag}${ESCAPED_CLOSING_CHEVRON}`, 'g'),\n closing: new RegExp(`${ESCAPED_OPENING_CHEVRON}/${tag}${ESCAPED_CLOSING_CHEVRON}`, 'g'),\n },\n };\n });\n }\n\n // Algorithm:\n // 1) Escape all dangerous characters (<,>,&)\n // 2) Replace all escaped, whitelisted tags with styled spans.\n // 3) Transform new line characters to `<br />`s\n //\n // Note: for simplicity this doesn't support tags with non-standard whitespaces, e.g. <positive></ positive>\n transform(unsafe: string): string | null {\n if (!unsafe) {\n return null;\n }\n\n const safe = unsafe.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');\n\n return this.tags\n .reduce((accumulator, tag) => {\n return accumulator\n .replace(tag.escapedRegex.opening, tag.transformed.opening)\n .replace(tag.escapedRegex.closing, tag.transformed.closing);\n }, safe)\n .replace(/\\\\n|\\n/g, '<br />');\n }\n}\n\nexport default EmphasisHtmlTransformer;\n"],"names":["ESCAPED_OPENING_CHEVRON","ESCAPED_CLOSING_CHEVRON","EmphasisHtmlTransformer","tags","constructor","whitelistedTags","map","tag","transformed","opening","closing","escapedRegex","RegExp","transform","unsafe","safe","replace","reduce","accumulator"],"mappings":";;;;AAAA,MAAMA,uBAAuB,GAAG,MAAM;AACtC,MAAMC,uBAAuB,GAAG,MAAM;AAatC,MAAMC,uBAAuB,CAAC;EAC5BC,IAAI;EAEJC,WAAWA,CAACC,eAA0B,EAAE;IACtC,IAAI,CAACF,IAAI,GAAG,CAACE,eAAe,IAAI,EAAE,EAAEC,GAAG,CAAEC,GAAG,IAAK;MAC/C,OAAO;AACLC,QAAAA,WAAW,EAAE;UACXC,OAAO,EAAE,CAAA,8BAAA,EAAiCF,GAAG,CAAA,EAAA,CAAI;AACjDG,UAAAA,OAAO,EAAE;SACV;AACDC,QAAAA,YAAY,EAAE;AACZF,UAAAA,OAAO,EAAE,IAAIG,MAAM,CAAC,CAAA,EAAGZ,uBAAuB,CAAA,EAAGO,GAAG,CAAA,EAAGN,uBAAuB,CAAA,CAAE,EAAE,GAAG,CAAC;AACtFS,UAAAA,OAAO,EAAE,IAAIE,MAAM,CAAC,CAAA,EAAGZ,uBAAuB,CAAA,CAAA,EAAIO,GAAG,CAAA,EAAGN,uBAAuB,CAAA,CAAE,EAAE,GAAG;AACxF;OACD;AACH,IAAA,CAAC,CAAC;AACJ,EAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;EACAY,SAASA,CAACC,MAAc,EAAiB;IACvC,IAAI,CAACA,MAAM,EAAE;AACX,MAAA,OAAO,IAAI;AACb,IAAA;IAEA,MAAMC,IAAI,GAAGD,MAAM,CAACE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAACA,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAACA,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtF,OAAO,IAAI,CAACb,IAAI,CACbc,MAAM,CAAC,CAACC,WAAW,EAAEX,GAAG,KAAK;AAC5B,MAAA,OAAOW,WAAW,CACfF,OAAO,CAACT,GAAG,CAACI,YAAY,CAACF,OAAO,EAAEF,GAAG,CAACC,WAAW,CAACC,OAAO,CAAC,CAC1DO,OAAO,CAACT,GAAG,CAACI,YAAY,CAACD,OAAO,EAAEH,GAAG,CAACC,WAAW,CAACE,OAAO,CAAC;IAC/D,CAAC,EAAEK,IAAI,CAAC,CACPC,OAAO,CAAC,SAAS,EAAE,QAAQ,CAAC;AACjC,EAAA;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmphasisHtmlTransformer.mjs","sources":["../../src/emphasis/EmphasisHtmlTransformer.ts"],"sourcesContent":["const ESCAPED_OPENING_CHEVRON = '<';\nconst ESCAPED_CLOSING_CHEVRON = '>';\n\ntype Tags = {\n transformed: {\n opening: string;\n closing: string;\n };\n escapedRegex: {\n opening: RegExp;\n closing: RegExp;\n };\n};\n\nclass EmphasisHtmlTransformer {\n tags: Tags[];\n\n constructor(whitelistedTags?: string[]) {\n this.tags = (whitelistedTags || []).map((tag) => {\n return {\n transformed: {\n opening: `<em class=\"emphasis emphasis--${tag}\">`,\n closing: '</em>',\n },\n escapedRegex: {\n opening: new RegExp(`${ESCAPED_OPENING_CHEVRON}${tag}${ESCAPED_CLOSING_CHEVRON}`, 'g'),\n closing: new RegExp(`${ESCAPED_OPENING_CHEVRON}/${tag}${ESCAPED_CLOSING_CHEVRON}`, 'g'),\n },\n };\n });\n }\n\n // Algorithm:\n // 1) Escape all dangerous characters (<,>,&)\n // 2) Replace all escaped, whitelisted tags with styled spans.\n // 3) Transform new line characters to `<br />`s\n //\n // Note: for simplicity this doesn't support tags with non-standard whitespaces, e.g. <positive></ positive>\n transform(unsafe: string): string | null {\n if (!unsafe) {\n return null;\n }\n\n const safe = unsafe.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');\n\n return this.tags\n .reduce((accumulator, tag) => {\n return accumulator\n .replace(tag.escapedRegex.opening, tag.transformed.opening)\n .replace(tag.escapedRegex.closing, tag.transformed.closing);\n }, safe)\n .replace(/\\\\n|\\n/g, '<br />');\n }\n}\n\nexport default EmphasisHtmlTransformer;\n"],"names":["ESCAPED_OPENING_CHEVRON","ESCAPED_CLOSING_CHEVRON","EmphasisHtmlTransformer","tags","constructor","whitelistedTags","map","tag","transformed","opening","closing","escapedRegex","RegExp","transform","unsafe","safe","replace","reduce","accumulator"],"mappings":"AAAA,MAAMA,uBAAuB,GAAG,MAAM;AACtC,MAAMC,uBAAuB,GAAG,MAAM;AAatC,MAAMC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"EmphasisHtmlTransformer.mjs","sources":["../../src/emphasis/EmphasisHtmlTransformer.ts"],"sourcesContent":["const ESCAPED_OPENING_CHEVRON = '<';\nconst ESCAPED_CLOSING_CHEVRON = '>';\n\ntype Tags = {\n transformed: {\n opening: string;\n closing: string;\n };\n escapedRegex: {\n opening: RegExp;\n closing: RegExp;\n };\n};\n\nclass EmphasisHtmlTransformer {\n tags: Tags[];\n\n constructor(whitelistedTags?: string[]) {\n this.tags = (whitelistedTags || []).map((tag) => {\n return {\n transformed: {\n opening: `<em class=\"emphasis emphasis--${tag}\">`,\n closing: '</em>',\n },\n escapedRegex: {\n opening: new RegExp(`${ESCAPED_OPENING_CHEVRON}${tag}${ESCAPED_CLOSING_CHEVRON}`, 'g'),\n closing: new RegExp(`${ESCAPED_OPENING_CHEVRON}/${tag}${ESCAPED_CLOSING_CHEVRON}`, 'g'),\n },\n };\n });\n }\n\n // Algorithm:\n // 1) Escape all dangerous characters (<,>,&)\n // 2) Replace all escaped, whitelisted tags with styled spans.\n // 3) Transform new line characters to `<br />`s\n //\n // Note: for simplicity this doesn't support tags with non-standard whitespaces, e.g. <positive></ positive>\n transform(unsafe: string): string | null {\n if (!unsafe) {\n return null;\n }\n\n const safe = unsafe.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');\n\n return this.tags\n .reduce((accumulator, tag) => {\n return accumulator\n .replace(tag.escapedRegex.opening, tag.transformed.opening)\n .replace(tag.escapedRegex.closing, tag.transformed.closing);\n }, safe)\n .replace(/\\\\n|\\n/g, '<br />');\n }\n}\n\nexport default EmphasisHtmlTransformer;\n"],"names":["ESCAPED_OPENING_CHEVRON","ESCAPED_CLOSING_CHEVRON","EmphasisHtmlTransformer","tags","constructor","whitelistedTags","map","tag","transformed","opening","closing","escapedRegex","RegExp","transform","unsafe","safe","replace","reduce","accumulator"],"mappings":"AAAA,MAAMA,uBAAuB,GAAG,MAAM;AACtC,MAAMC,uBAAuB,GAAG,MAAM;AAatC,MAAMC,uBAAuB,CAAC;EAC5BC,IAAI;EAEJC,WAAWA,CAACC,eAA0B,EAAE;IACtC,IAAI,CAACF,IAAI,GAAG,CAACE,eAAe,IAAI,EAAE,EAAEC,GAAG,CAAEC,GAAG,IAAK;MAC/C,OAAO;AACLC,QAAAA,WAAW,EAAE;UACXC,OAAO,EAAE,CAAA,8BAAA,EAAiCF,GAAG,CAAA,EAAA,CAAI;AACjDG,UAAAA,OAAO,EAAE;SACV;AACDC,QAAAA,YAAY,EAAE;AACZF,UAAAA,OAAO,EAAE,IAAIG,MAAM,CAAC,CAAA,EAAGZ,uBAAuB,CAAA,EAAGO,GAAG,CAAA,EAAGN,uBAAuB,CAAA,CAAE,EAAE,GAAG,CAAC;AACtFS,UAAAA,OAAO,EAAE,IAAIE,MAAM,CAAC,CAAA,EAAGZ,uBAAuB,CAAA,CAAA,EAAIO,GAAG,CAAA,EAAGN,uBAAuB,CAAA,CAAE,EAAE,GAAG;AACxF;OACD;AACH,IAAA,CAAC,CAAC;AACJ,EAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;EACAY,SAASA,CAACC,MAAc,EAAiB;IACvC,IAAI,CAACA,MAAM,EAAE;AACX,MAAA,OAAO,IAAI;AACb,IAAA;IAEA,MAAMC,IAAI,GAAGD,MAAM,CAACE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAACA,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAACA,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtF,OAAO,IAAI,CAACb,IAAI,CACbc,MAAM,CAAC,CAACC,WAAW,EAAEX,GAAG,KAAK;AAC5B,MAAA,OAAOW,WAAW,CACfF,OAAO,CAACT,GAAG,CAACI,YAAY,CAACF,OAAO,EAAEF,GAAG,CAACC,WAAW,CAACC,OAAO,CAAC,CAC1DO,OAAO,CAACT,GAAG,CAACI,YAAY,CAACD,OAAO,EAAEH,GAAG,CAACC,WAAW,CAACE,OAAO,CAAC;IAC/D,CAAC,EAAEK,IAAI,CAAC,CACPC,OAAO,CAAC,SAAS,EAAE,QAAQ,CAAC;AACjC,EAAA;AACF;;;;"}
|
|
@@ -13,6 +13,21 @@ var Chevron = require('./chevron/Chevron.js');
|
|
|
13
13
|
var InlinePrompt = require('../prompt/InlinePrompt/InlinePrompt.js');
|
|
14
14
|
var jsxRuntime = require('react/jsx-runtime');
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
* This component has been kindly contributed by our friends at the `Send` team 🎉.
|
|
18
|
+
*
|
|
19
|
+
* Some patterns and implementation details used in this component may differ
|
|
20
|
+
* from what's commonly used in the Design System. The overall build and QA was managed
|
|
21
|
+
* by the contributing team directly, and such did not follow a typical DS lifecycle.
|
|
22
|
+
*
|
|
23
|
+
* While we house this component and will help facilitate its future iterations,
|
|
24
|
+
* direct contributions by consuming product teams are highly encouraged.
|
|
25
|
+
*
|
|
26
|
+
* > ⚠️ **Prerequisite:** <br />The component depends on the
|
|
27
|
+
* [framer-motion](https://www.npmjs.com/package/framer-motion) package, which has been
|
|
28
|
+
* deliberately excluded from the Design System bundle and kept as an opt-in only.
|
|
29
|
+
* **Make sure to add it to your project dependencies.**
|
|
30
|
+
*/
|
|
16
31
|
function ExpressiveMoneyInput({
|
|
17
32
|
label,
|
|
18
33
|
currency,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpressiveMoneyInput.js","sources":["../../src/expressiveMoneyInput/ExpressiveMoneyInput.tsx"],"sourcesContent":["import Body from '../body';\nimport { Label } from '../label/Label';\nimport { clsx } from 'clsx';\nimport { AnimatePresence, motion } from 'framer-motion';\nimport { useId, type ReactNode } from 'react';\n\nimport {\n type Props as CurrencySelectorProps,\n CurrencySelector,\n} from './currencySelector/CurrencySelector';\nimport { CommonProps } from '../common';\nimport { AmountInput } from './amountInput/AmountInput';\nimport { Chevron } from './chevron/Chevron';\nimport { InlinePrompt, type InlinePromptProps } from '../prompt/InlinePrompt';\n\ntype AmountType = number | null;\nexport type CurrencyType = string;\n\ntype DefaultCurrencySelectorInstanceType = Pick<\n CurrencySelectorProps,\n 'addons' | 'options' | 'onChange' | 'onOpen' | 'onSearchChange'\n>;\ntype CustomCurrencySelectorInstanceType = {\n customRender?: (props: { id: string; labelId: string }) => ReactNode;\n};\ntype CurrencySelectorType = DefaultCurrencySelectorInstanceType &\n CustomCurrencySelectorInstanceType;\n\nexport type Props = {\n label?: ReactNode;\n currencySelector?: CurrencySelectorType;\n amount?: AmountType;\n /**\n * The currency code, e.g. `USD`, `EUR`, `GBP`, etc. Governs the flag rendered in the currency selector.\n */\n currency: CurrencyType;\n inlinePrompt?: {\n sentiment?: InlinePromptProps['sentiment'];\n message: InlinePromptProps['children'];\n media?: InlinePromptProps['media'];\n };\n showChevron?: boolean;\n /**\n * If set, it auto-focuses the amount input upon component mount.<br />\n * ⚠️ **Use with caution**, as it may impact user experience and\n * fail [WCAG 2.4.3 requirements](https://www.w3.org/WAI/WCAG21/Understanding/focus-order.html)\n */\n autoFocus?: boolean;\n /**\n * Dims the input to indicate a loading state. Does not disable it.\n */\n loading?: boolean;\n onAmountChange: (amount: AmountType) => void;\n onFocusChange?: (focused: boolean) => void;\n} & CommonProps;\n\n/**\n * This component has been kindly contributed by our friends at the `Send` team 🎉.\n *\n * Some patterns and implementation details used in this component may differ\n * from what's commonly used in the Design System. The overall build and QA was managed\n * by the contributing team directly, and such did not follow a typical DS lifecycle.\n *\n * While we house this component and will help facilitate its future iterations,\n * direct contributions by consuming product teams are highly encouraged.\n *\n * > ⚠️ **Prerequisite:** <br />The component depends on the\n * [framer-motion](https://www.npmjs.com/package/framer-motion) package, which has been\n * deliberately excluded from the Design System bundle and kept as an opt-in only.\n * **Make sure to add it to your project dependencies.**\n */\nexport default function ExpressiveMoneyInput({\n label,\n currency,\n currencySelector = { options: [] } as DefaultCurrencySelectorInstanceType,\n amount,\n onAmountChange,\n className,\n inlinePrompt,\n showChevron,\n autoFocus,\n loading,\n onFocusChange,\n}: Props) {\n const inputId = useId();\n const labelId = useId();\n const customAlertId = useId();\n const currencyId = useId();\n\n return (\n <div className={clsx('wds-expressive-money-input', className)}>\n <Label id={labelId} htmlFor={inputId} className={clsx('m-b-1', 'font-weight-normal')}>\n {label}\n </Label>\n <div\n className={clsx('d-flex')}\n role=\"group\"\n aria-labelledby={labelId}\n {...(inlinePrompt ? { 'aria-describedby': customAlertId } : {})}\n >\n <div className=\"wds-expressive-money-input-currency-selector\">\n {currencySelector.customRender?.({ id: currencyId, labelId }) ?? (\n <CurrencySelector\n id={currencyId}\n labelId={labelId}\n currency={currency}\n {...currencySelector}\n />\n )}\n </div>\n <AmountInput\n id={inputId}\n describedById={currencyId}\n amount={amount}\n currency={currency}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n loading={loading}\n onChange={onAmountChange}\n onFocusChange={onFocusChange}\n />\n <div className={clsx('d-flex align-items-center', 'wds-expressive-money-input-chevron')}>\n <Chevron shouldShow={Boolean(showChevron)} />\n </div>\n </div>\n <AnimatePresence initial={false}>\n {inlinePrompt && (\n <div className={clsx('d-flex justify-content-end', inlinePrompt && 'm-t-1')}>\n <motion.div\n key={customAlertId}\n initial={{ opacity: 0, height: 0 }}\n animate={{\n opacity: 1,\n height: 'auto',\n transition: { delay: 0.75, duration: 0.3 },\n }}\n exit={{ opacity: 0, height: 0 }}\n >\n {inlinePrompt.sentiment && Object.keys(inlinePrompt.sentiment).length > 0 ? (\n <InlinePrompt\n id={customAlertId}\n media={inlinePrompt.media}\n sentiment={inlinePrompt.sentiment}\n >\n {inlinePrompt.message}\n </InlinePrompt>\n ) : (\n <Body>{inlinePrompt.message}</Body>\n )}\n </motion.div>\n </div>\n )}\n </AnimatePresence>\n </div>\n );\n}\n"],"names":["ExpressiveMoneyInput","label","currency","currencySelector","options","amount","onAmountChange","className","inlinePrompt","showChevron","autoFocus","loading","onFocusChange","inputId","useId","labelId","customAlertId","currencyId","_jsxs","clsx","children","_jsx","Label","id","htmlFor","role","customRender","CurrencySelector","AmountInput","describedById","onChange","Chevron","shouldShow","Boolean","AnimatePresence","initial","motion","div","opacity","height","animate","transition","delay","duration","exit","sentiment","Object","keys","length","InlinePrompt","media","message","Body"],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ExpressiveMoneyInput.js","sources":["../../src/expressiveMoneyInput/ExpressiveMoneyInput.tsx"],"sourcesContent":["import Body from '../body';\nimport { Label } from '../label/Label';\nimport { clsx } from 'clsx';\nimport { AnimatePresence, motion } from 'framer-motion';\nimport { useId, type ReactNode } from 'react';\n\nimport {\n type Props as CurrencySelectorProps,\n CurrencySelector,\n} from './currencySelector/CurrencySelector';\nimport { CommonProps } from '../common';\nimport { AmountInput } from './amountInput/AmountInput';\nimport { Chevron } from './chevron/Chevron';\nimport { InlinePrompt, type InlinePromptProps } from '../prompt/InlinePrompt';\n\ntype AmountType = number | null;\nexport type CurrencyType = string;\n\ntype DefaultCurrencySelectorInstanceType = Pick<\n CurrencySelectorProps,\n 'addons' | 'options' | 'onChange' | 'onOpen' | 'onSearchChange'\n>;\ntype CustomCurrencySelectorInstanceType = {\n customRender?: (props: { id: string; labelId: string }) => ReactNode;\n};\ntype CurrencySelectorType = DefaultCurrencySelectorInstanceType &\n CustomCurrencySelectorInstanceType;\n\nexport type Props = {\n label?: ReactNode;\n currencySelector?: CurrencySelectorType;\n amount?: AmountType;\n /**\n * The currency code, e.g. `USD`, `EUR`, `GBP`, etc. Governs the flag rendered in the currency selector.\n */\n currency: CurrencyType;\n inlinePrompt?: {\n sentiment?: InlinePromptProps['sentiment'];\n message: InlinePromptProps['children'];\n media?: InlinePromptProps['media'];\n };\n showChevron?: boolean;\n /**\n * If set, it auto-focuses the amount input upon component mount.<br />\n * ⚠️ **Use with caution**, as it may impact user experience and\n * fail [WCAG 2.4.3 requirements](https://www.w3.org/WAI/WCAG21/Understanding/focus-order.html)\n */\n autoFocus?: boolean;\n /**\n * Dims the input to indicate a loading state. Does not disable it.\n */\n loading?: boolean;\n onAmountChange: (amount: AmountType) => void;\n onFocusChange?: (focused: boolean) => void;\n} & CommonProps;\n\n/**\n * This component has been kindly contributed by our friends at the `Send` team 🎉.\n *\n * Some patterns and implementation details used in this component may differ\n * from what's commonly used in the Design System. The overall build and QA was managed\n * by the contributing team directly, and such did not follow a typical DS lifecycle.\n *\n * While we house this component and will help facilitate its future iterations,\n * direct contributions by consuming product teams are highly encouraged.\n *\n * > ⚠️ **Prerequisite:** <br />The component depends on the\n * [framer-motion](https://www.npmjs.com/package/framer-motion) package, which has been\n * deliberately excluded from the Design System bundle and kept as an opt-in only.\n * **Make sure to add it to your project dependencies.**\n */\nexport default function ExpressiveMoneyInput({\n label,\n currency,\n currencySelector = { options: [] } as DefaultCurrencySelectorInstanceType,\n amount,\n onAmountChange,\n className,\n inlinePrompt,\n showChevron,\n autoFocus,\n loading,\n onFocusChange,\n}: Props) {\n const inputId = useId();\n const labelId = useId();\n const customAlertId = useId();\n const currencyId = useId();\n\n return (\n <div className={clsx('wds-expressive-money-input', className)}>\n <Label id={labelId} htmlFor={inputId} className={clsx('m-b-1', 'font-weight-normal')}>\n {label}\n </Label>\n <div\n className={clsx('d-flex')}\n role=\"group\"\n aria-labelledby={labelId}\n {...(inlinePrompt ? { 'aria-describedby': customAlertId } : {})}\n >\n <div className=\"wds-expressive-money-input-currency-selector\">\n {currencySelector.customRender?.({ id: currencyId, labelId }) ?? (\n <CurrencySelector\n id={currencyId}\n labelId={labelId}\n currency={currency}\n {...currencySelector}\n />\n )}\n </div>\n <AmountInput\n id={inputId}\n describedById={currencyId}\n amount={amount}\n currency={currency}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n loading={loading}\n onChange={onAmountChange}\n onFocusChange={onFocusChange}\n />\n <div className={clsx('d-flex align-items-center', 'wds-expressive-money-input-chevron')}>\n <Chevron shouldShow={Boolean(showChevron)} />\n </div>\n </div>\n <AnimatePresence initial={false}>\n {inlinePrompt && (\n <div className={clsx('d-flex justify-content-end', inlinePrompt && 'm-t-1')}>\n <motion.div\n key={customAlertId}\n initial={{ opacity: 0, height: 0 }}\n animate={{\n opacity: 1,\n height: 'auto',\n transition: { delay: 0.75, duration: 0.3 },\n }}\n exit={{ opacity: 0, height: 0 }}\n >\n {inlinePrompt.sentiment && Object.keys(inlinePrompt.sentiment).length > 0 ? (\n <InlinePrompt\n id={customAlertId}\n media={inlinePrompt.media}\n sentiment={inlinePrompt.sentiment}\n >\n {inlinePrompt.message}\n </InlinePrompt>\n ) : (\n <Body>{inlinePrompt.message}</Body>\n )}\n </motion.div>\n </div>\n )}\n </AnimatePresence>\n </div>\n );\n}\n"],"names":["ExpressiveMoneyInput","label","currency","currencySelector","options","amount","onAmountChange","className","inlinePrompt","showChevron","autoFocus","loading","onFocusChange","inputId","useId","labelId","customAlertId","currencyId","_jsxs","clsx","children","_jsx","Label","id","htmlFor","role","customRender","CurrencySelector","AmountInput","describedById","onChange","Chevron","shouldShow","Boolean","AnimatePresence","initial","motion","div","opacity","height","animate","transition","delay","duration","exit","sentiment","Object","keys","length","InlinePrompt","media","message","Body"],"mappings":";;;;;;;;;;;;;;;AAwDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAASA,oBAAoBA,CAAC;EAC3CC,KAAK;EACLC,QAAQ;AACRC,EAAAA,gBAAgB,GAAG;AAAEC,IAAAA,OAAO,EAAE;GAA2C;EACzEC,MAAM;EACNC,cAAc;EACdC,SAAS;EACTC,YAAY;EACZC,WAAW;EACXC,SAAS;EACTC,OAAO;AACPC,EAAAA;AACK,CAAC,EAAE;AACR,EAAA,MAAMC,OAAO,GAAGC,WAAK,EAAE;AACvB,EAAA,MAAMC,OAAO,GAAGD,WAAK,EAAE;AACvB,EAAA,MAAME,aAAa,GAAGF,WAAK,EAAE;AAC7B,EAAA,MAAMG,UAAU,GAAGH,WAAK,EAAE;AAE1B,EAAA,oBACEI,eAAA,CAAA,KAAA,EAAA;AAAKX,IAAAA,SAAS,EAAEY,SAAI,CAAC,4BAA4B,EAAEZ,SAAS,CAAE;IAAAa,QAAA,EAAA,cAC5DC,cAAA,CAACC,WAAK,EAAA;AAACC,MAAAA,EAAE,EAAER,OAAQ;AAACS,MAAAA,OAAO,EAAEX,OAAQ;AAACN,MAAAA,SAAS,EAAEY,SAAI,CAAC,OAAO,EAAE,oBAAoB,CAAE;AAAAC,MAAAA,QAAA,EAClFnB;KACI,CAAC,eACRiB,eAAA,CAAA,KAAA,EAAA;AACEX,MAAAA,SAAS,EAAEY,SAAI,CAAC,QAAQ,CAAE;AAC1BM,MAAAA,IAAI,EAAC,OAAO;AACZ,MAAA,iBAAA,EAAiBV,OAAQ;AAAA,MAAA,IACpBP,YAAY,GA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C,GAAG,EAAA;AAETF,UAAAA,OAAO,EAAE;AAAEG,YAAAA,OAAO,EAAE,CAAC;AAAEC,YAAAA,MAAM,EAAE;WAAI;AACnCC,UAAAA,OAAO,EAAE;AACPF,YAAAA,OAAO,EAAE,CAAC;AACVC,YAAAA,MAAM,EAAE,MAAM;AACdE,YAAAA,UAAU,EAAE;AAAEC,cAAAA,KAAK,EAAE,IAAI;AAAEC,cAAAA,QAAQ,EAAE;AAAI;WACzC;AACFC,UAAAA,IAAI,EAAE;AAAEN,YAAAA,OAAO,EAAE,CAAC;AAAEC,YAAAA,MAAM,EAAE;WAAI;UAAAnB,QAAA,EAE/BZ,YAAY,CAACqC,SAAS,IAAIC,MAAM,CAACC,IAAI,CAACvC,YAAY,CAACqC,SAAS,CAAC,CAACG,MAAM,GAAG,CAAC,gBACvE3B,cAAA,CAAC4B,yBAAY,EAAA;AACX1B,YAAAA,EAAE,EAAEP,aAAc;YAClBkC,KAAK,EAAE1C,YAAY,CAAC0C,KAAM;YAC1BL,SAAS,EAAErC,YAAY,CAACqC,SAAU;YAAAzB,QAAA,EAEjCZ,YAAY,CAAC2C;AAAO,WACT,CAAC,gBAEf9B,cAAA,CAAC+B,YAAI,EAAA;YAAAhC,QAAA,EAAEZ,YAAY,CAAC2C;WAAc;AACnC,SAAA,EAnBInC,aAoBK;OACT;AACN,KACc,CAAC;AAAA,GACf,CAAC;AAEV;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpressiveMoneyInput.messages.js","sources":["../../src/expressiveMoneyInput/ExpressiveMoneyInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n currencySelectorSearchPlaceholder: {\n id: 'neptune.ExpressiveMoneyInput.currency.search.placeholder',\n defaultMessage: 'Type a currency / country',\n },\n\n currencySelectorSelectCurrency: {\n id: 'neptune.ExpressiveMoneyInput.currency.select.currency',\n defaultMessage: 'Select currency',\n },\n});\n"],"names":["defineMessages","currencySelectorSearchPlaceholder","id","currencySelectorSelectCurrency"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,iCAAiC,EAAE;IACjCC,EAAE,EAAA;GAEH;AAEDC,EAAAA,8BAA8B,EAAE;IAC9BD,EAAE,EAAA;
|
|
1
|
+
{"version":3,"file":"ExpressiveMoneyInput.messages.js","sources":["../../src/expressiveMoneyInput/ExpressiveMoneyInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n currencySelectorSearchPlaceholder: {\n id: 'neptune.ExpressiveMoneyInput.currency.search.placeholder',\n defaultMessage: 'Type a currency / country',\n },\n\n currencySelectorSelectCurrency: {\n id: 'neptune.ExpressiveMoneyInput.currency.select.currency',\n defaultMessage: 'Select currency',\n },\n});\n"],"names":["defineMessages","currencySelectorSearchPlaceholder","id","currencySelectorSelectCurrency"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,iCAAiC,EAAE;IACjCC,EAAE,EAAA;GAEH;AAEDC,EAAAA,8BAA8B,EAAE;IAC9BD,EAAE,EAAA;AAEJ;AACF,CAAC,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpressiveMoneyInput.messages.mjs","sources":["../../src/expressiveMoneyInput/ExpressiveMoneyInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n currencySelectorSearchPlaceholder: {\n id: 'neptune.ExpressiveMoneyInput.currency.search.placeholder',\n defaultMessage: 'Type a currency / country',\n },\n\n currencySelectorSelectCurrency: {\n id: 'neptune.ExpressiveMoneyInput.currency.select.currency',\n defaultMessage: 'Select currency',\n },\n});\n"],"names":["defineMessages","currencySelectorSearchPlaceholder","id","currencySelectorSelectCurrency"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,iCAAiC,EAAE;IACjCC,EAAE,EAAA;GAEH;AAEDC,EAAAA,8BAA8B,EAAE;IAC9BD,EAAE,EAAA;
|
|
1
|
+
{"version":3,"file":"ExpressiveMoneyInput.messages.mjs","sources":["../../src/expressiveMoneyInput/ExpressiveMoneyInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n currencySelectorSearchPlaceholder: {\n id: 'neptune.ExpressiveMoneyInput.currency.search.placeholder',\n defaultMessage: 'Type a currency / country',\n },\n\n currencySelectorSelectCurrency: {\n id: 'neptune.ExpressiveMoneyInput.currency.select.currency',\n defaultMessage: 'Select currency',\n },\n});\n"],"names":["defineMessages","currencySelectorSearchPlaceholder","id","currencySelectorSelectCurrency"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,iCAAiC,EAAE;IACjCC,EAAE,EAAA;GAEH;AAEDC,EAAAA,8BAA8B,EAAE;IAC9BD,EAAE,EAAA;AAEJ;AACF,CAAC,CAAC;;;;"}
|
|
@@ -9,6 +9,21 @@ import { Chevron } from './chevron/Chevron.mjs';
|
|
|
9
9
|
import { InlinePrompt } from '../prompt/InlinePrompt/InlinePrompt.mjs';
|
|
10
10
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* This component has been kindly contributed by our friends at the `Send` team 🎉.
|
|
14
|
+
*
|
|
15
|
+
* Some patterns and implementation details used in this component may differ
|
|
16
|
+
* from what's commonly used in the Design System. The overall build and QA was managed
|
|
17
|
+
* by the contributing team directly, and such did not follow a typical DS lifecycle.
|
|
18
|
+
*
|
|
19
|
+
* While we house this component and will help facilitate its future iterations,
|
|
20
|
+
* direct contributions by consuming product teams are highly encouraged.
|
|
21
|
+
*
|
|
22
|
+
* > ⚠️ **Prerequisite:** <br />The component depends on the
|
|
23
|
+
* [framer-motion](https://www.npmjs.com/package/framer-motion) package, which has been
|
|
24
|
+
* deliberately excluded from the Design System bundle and kept as an opt-in only.
|
|
25
|
+
* **Make sure to add it to your project dependencies.**
|
|
26
|
+
*/
|
|
12
27
|
function ExpressiveMoneyInput({
|
|
13
28
|
label,
|
|
14
29
|
currency,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpressiveMoneyInput.mjs","sources":["../../src/expressiveMoneyInput/ExpressiveMoneyInput.tsx"],"sourcesContent":["import Body from '../body';\nimport { Label } from '../label/Label';\nimport { clsx } from 'clsx';\nimport { AnimatePresence, motion } from 'framer-motion';\nimport { useId, type ReactNode } from 'react';\n\nimport {\n type Props as CurrencySelectorProps,\n CurrencySelector,\n} from './currencySelector/CurrencySelector';\nimport { CommonProps } from '../common';\nimport { AmountInput } from './amountInput/AmountInput';\nimport { Chevron } from './chevron/Chevron';\nimport { InlinePrompt, type InlinePromptProps } from '../prompt/InlinePrompt';\n\ntype AmountType = number | null;\nexport type CurrencyType = string;\n\ntype DefaultCurrencySelectorInstanceType = Pick<\n CurrencySelectorProps,\n 'addons' | 'options' | 'onChange' | 'onOpen' | 'onSearchChange'\n>;\ntype CustomCurrencySelectorInstanceType = {\n customRender?: (props: { id: string; labelId: string }) => ReactNode;\n};\ntype CurrencySelectorType = DefaultCurrencySelectorInstanceType &\n CustomCurrencySelectorInstanceType;\n\nexport type Props = {\n label?: ReactNode;\n currencySelector?: CurrencySelectorType;\n amount?: AmountType;\n /**\n * The currency code, e.g. `USD`, `EUR`, `GBP`, etc. Governs the flag rendered in the currency selector.\n */\n currency: CurrencyType;\n inlinePrompt?: {\n sentiment?: InlinePromptProps['sentiment'];\n message: InlinePromptProps['children'];\n media?: InlinePromptProps['media'];\n };\n showChevron?: boolean;\n /**\n * If set, it auto-focuses the amount input upon component mount.<br />\n * ⚠️ **Use with caution**, as it may impact user experience and\n * fail [WCAG 2.4.3 requirements](https://www.w3.org/WAI/WCAG21/Understanding/focus-order.html)\n */\n autoFocus?: boolean;\n /**\n * Dims the input to indicate a loading state. Does not disable it.\n */\n loading?: boolean;\n onAmountChange: (amount: AmountType) => void;\n onFocusChange?: (focused: boolean) => void;\n} & CommonProps;\n\n/**\n * This component has been kindly contributed by our friends at the `Send` team 🎉.\n *\n * Some patterns and implementation details used in this component may differ\n * from what's commonly used in the Design System. The overall build and QA was managed\n * by the contributing team directly, and such did not follow a typical DS lifecycle.\n *\n * While we house this component and will help facilitate its future iterations,\n * direct contributions by consuming product teams are highly encouraged.\n *\n * > ⚠️ **Prerequisite:** <br />The component depends on the\n * [framer-motion](https://www.npmjs.com/package/framer-motion) package, which has been\n * deliberately excluded from the Design System bundle and kept as an opt-in only.\n * **Make sure to add it to your project dependencies.**\n */\nexport default function ExpressiveMoneyInput({\n label,\n currency,\n currencySelector = { options: [] } as DefaultCurrencySelectorInstanceType,\n amount,\n onAmountChange,\n className,\n inlinePrompt,\n showChevron,\n autoFocus,\n loading,\n onFocusChange,\n}: Props) {\n const inputId = useId();\n const labelId = useId();\n const customAlertId = useId();\n const currencyId = useId();\n\n return (\n <div className={clsx('wds-expressive-money-input', className)}>\n <Label id={labelId} htmlFor={inputId} className={clsx('m-b-1', 'font-weight-normal')}>\n {label}\n </Label>\n <div\n className={clsx('d-flex')}\n role=\"group\"\n aria-labelledby={labelId}\n {...(inlinePrompt ? { 'aria-describedby': customAlertId } : {})}\n >\n <div className=\"wds-expressive-money-input-currency-selector\">\n {currencySelector.customRender?.({ id: currencyId, labelId }) ?? (\n <CurrencySelector\n id={currencyId}\n labelId={labelId}\n currency={currency}\n {...currencySelector}\n />\n )}\n </div>\n <AmountInput\n id={inputId}\n describedById={currencyId}\n amount={amount}\n currency={currency}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n loading={loading}\n onChange={onAmountChange}\n onFocusChange={onFocusChange}\n />\n <div className={clsx('d-flex align-items-center', 'wds-expressive-money-input-chevron')}>\n <Chevron shouldShow={Boolean(showChevron)} />\n </div>\n </div>\n <AnimatePresence initial={false}>\n {inlinePrompt && (\n <div className={clsx('d-flex justify-content-end', inlinePrompt && 'm-t-1')}>\n <motion.div\n key={customAlertId}\n initial={{ opacity: 0, height: 0 }}\n animate={{\n opacity: 1,\n height: 'auto',\n transition: { delay: 0.75, duration: 0.3 },\n }}\n exit={{ opacity: 0, height: 0 }}\n >\n {inlinePrompt.sentiment && Object.keys(inlinePrompt.sentiment).length > 0 ? (\n <InlinePrompt\n id={customAlertId}\n media={inlinePrompt.media}\n sentiment={inlinePrompt.sentiment}\n >\n {inlinePrompt.message}\n </InlinePrompt>\n ) : (\n <Body>{inlinePrompt.message}</Body>\n )}\n </motion.div>\n </div>\n )}\n </AnimatePresence>\n </div>\n );\n}\n"],"names":["ExpressiveMoneyInput","label","currency","currencySelector","options","amount","onAmountChange","className","inlinePrompt","showChevron","autoFocus","loading","onFocusChange","inputId","useId","labelId","customAlertId","currencyId","_jsxs","clsx","children","_jsx","Label","id","htmlFor","role","customRender","CurrencySelector","AmountInput","describedById","onChange","Chevron","shouldShow","Boolean","AnimatePresence","initial","motion","div","opacity","height","animate","transition","delay","duration","exit","sentiment","Object","keys","length","InlinePrompt","media","message","Body"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ExpressiveMoneyInput.mjs","sources":["../../src/expressiveMoneyInput/ExpressiveMoneyInput.tsx"],"sourcesContent":["import Body from '../body';\nimport { Label } from '../label/Label';\nimport { clsx } from 'clsx';\nimport { AnimatePresence, motion } from 'framer-motion';\nimport { useId, type ReactNode } from 'react';\n\nimport {\n type Props as CurrencySelectorProps,\n CurrencySelector,\n} from './currencySelector/CurrencySelector';\nimport { CommonProps } from '../common';\nimport { AmountInput } from './amountInput/AmountInput';\nimport { Chevron } from './chevron/Chevron';\nimport { InlinePrompt, type InlinePromptProps } from '../prompt/InlinePrompt';\n\ntype AmountType = number | null;\nexport type CurrencyType = string;\n\ntype DefaultCurrencySelectorInstanceType = Pick<\n CurrencySelectorProps,\n 'addons' | 'options' | 'onChange' | 'onOpen' | 'onSearchChange'\n>;\ntype CustomCurrencySelectorInstanceType = {\n customRender?: (props: { id: string; labelId: string }) => ReactNode;\n};\ntype CurrencySelectorType = DefaultCurrencySelectorInstanceType &\n CustomCurrencySelectorInstanceType;\n\nexport type Props = {\n label?: ReactNode;\n currencySelector?: CurrencySelectorType;\n amount?: AmountType;\n /**\n * The currency code, e.g. `USD`, `EUR`, `GBP`, etc. Governs the flag rendered in the currency selector.\n */\n currency: CurrencyType;\n inlinePrompt?: {\n sentiment?: InlinePromptProps['sentiment'];\n message: InlinePromptProps['children'];\n media?: InlinePromptProps['media'];\n };\n showChevron?: boolean;\n /**\n * If set, it auto-focuses the amount input upon component mount.<br />\n * ⚠️ **Use with caution**, as it may impact user experience and\n * fail [WCAG 2.4.3 requirements](https://www.w3.org/WAI/WCAG21/Understanding/focus-order.html)\n */\n autoFocus?: boolean;\n /**\n * Dims the input to indicate a loading state. Does not disable it.\n */\n loading?: boolean;\n onAmountChange: (amount: AmountType) => void;\n onFocusChange?: (focused: boolean) => void;\n} & CommonProps;\n\n/**\n * This component has been kindly contributed by our friends at the `Send` team 🎉.\n *\n * Some patterns and implementation details used in this component may differ\n * from what's commonly used in the Design System. The overall build and QA was managed\n * by the contributing team directly, and such did not follow a typical DS lifecycle.\n *\n * While we house this component and will help facilitate its future iterations,\n * direct contributions by consuming product teams are highly encouraged.\n *\n * > ⚠️ **Prerequisite:** <br />The component depends on the\n * [framer-motion](https://www.npmjs.com/package/framer-motion) package, which has been\n * deliberately excluded from the Design System bundle and kept as an opt-in only.\n * **Make sure to add it to your project dependencies.**\n */\nexport default function ExpressiveMoneyInput({\n label,\n currency,\n currencySelector = { options: [] } as DefaultCurrencySelectorInstanceType,\n amount,\n onAmountChange,\n className,\n inlinePrompt,\n showChevron,\n autoFocus,\n loading,\n onFocusChange,\n}: Props) {\n const inputId = useId();\n const labelId = useId();\n const customAlertId = useId();\n const currencyId = useId();\n\n return (\n <div className={clsx('wds-expressive-money-input', className)}>\n <Label id={labelId} htmlFor={inputId} className={clsx('m-b-1', 'font-weight-normal')}>\n {label}\n </Label>\n <div\n className={clsx('d-flex')}\n role=\"group\"\n aria-labelledby={labelId}\n {...(inlinePrompt ? { 'aria-describedby': customAlertId } : {})}\n >\n <div className=\"wds-expressive-money-input-currency-selector\">\n {currencySelector.customRender?.({ id: currencyId, labelId }) ?? (\n <CurrencySelector\n id={currencyId}\n labelId={labelId}\n currency={currency}\n {...currencySelector}\n />\n )}\n </div>\n <AmountInput\n id={inputId}\n describedById={currencyId}\n amount={amount}\n currency={currency}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n loading={loading}\n onChange={onAmountChange}\n onFocusChange={onFocusChange}\n />\n <div className={clsx('d-flex align-items-center', 'wds-expressive-money-input-chevron')}>\n <Chevron shouldShow={Boolean(showChevron)} />\n </div>\n </div>\n <AnimatePresence initial={false}>\n {inlinePrompt && (\n <div className={clsx('d-flex justify-content-end', inlinePrompt && 'm-t-1')}>\n <motion.div\n key={customAlertId}\n initial={{ opacity: 0, height: 0 }}\n animate={{\n opacity: 1,\n height: 'auto',\n transition: { delay: 0.75, duration: 0.3 },\n }}\n exit={{ opacity: 0, height: 0 }}\n >\n {inlinePrompt.sentiment && Object.keys(inlinePrompt.sentiment).length > 0 ? (\n <InlinePrompt\n id={customAlertId}\n media={inlinePrompt.media}\n sentiment={inlinePrompt.sentiment}\n >\n {inlinePrompt.message}\n </InlinePrompt>\n ) : (\n <Body>{inlinePrompt.message}</Body>\n )}\n </motion.div>\n </div>\n )}\n </AnimatePresence>\n </div>\n );\n}\n"],"names":["ExpressiveMoneyInput","label","currency","currencySelector","options","amount","onAmountChange","className","inlinePrompt","showChevron","autoFocus","loading","onFocusChange","inputId","useId","labelId","customAlertId","currencyId","_jsxs","clsx","children","_jsx","Label","id","htmlFor","role","customRender","CurrencySelector","AmountInput","describedById","onChange","Chevron","shouldShow","Boolean","AnimatePresence","initial","motion","div","opacity","height","animate","transition","delay","duration","exit","sentiment","Object","keys","length","InlinePrompt","media","message","Body"],"mappings":";;;;;;;;;;;AAwDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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I;WACzC;AACFC,UAAAA,IAAI,EAAE;AAAEN,YAAAA,OAAO,EAAE,CAAC;AAAEC,YAAAA,MAAM,EAAE;WAAI;UAAAnB,QAAA,EAE/BZ,YAAY,CAACqC,SAAS,IAAIC,MAAM,CAACC,IAAI,CAACvC,YAAY,CAACqC,SAAS,CAAC,CAACG,MAAM,GAAG,CAAC,gBACvE3B,GAAA,CAAC4B,YAAY,EAAA;AACX1B,YAAAA,EAAE,EAAEP,aAAc;YAClBkC,KAAK,EAAE1C,YAAY,CAAC0C,KAAM;YAC1BL,SAAS,EAAErC,YAAY,CAACqC,SAAU;YAAAzB,QAAA,EAEjCZ,YAAY,CAAC2C;AAAO,WACT,CAAC,gBAEf9B,GAAA,CAAC+B,IAAI,EAAA;YAAAhC,QAAA,EAAEZ,YAAY,CAAC2C;WAAc;AACnC,SAAA,EAnBInC,aAoBK;OACT;AACN,KACc,CAAC;AAAA,GACf,CAAC;AAEV;;;;"}
|
|
@@ -80,6 +80,7 @@ const AmountInput = ({
|
|
|
80
80
|
}
|
|
81
81
|
const endsWithDecimalSeparator = decimalSeparator && newValue.endsWith(decimalSeparator);
|
|
82
82
|
const endsWithGroupSeparator = groupSeparator && newValue.endsWith(groupSeparator);
|
|
83
|
+
|
|
83
84
|
// if the user has entered a seperator to the end, formatting would delete it
|
|
84
85
|
if (endsWithDecimalSeparator || endsWithGroupSeparator) {
|
|
85
86
|
return false;
|
|
@@ -133,6 +134,7 @@ const AmountInput = ({
|
|
|
133
134
|
if (!clipboardData) {
|
|
134
135
|
return;
|
|
135
136
|
}
|
|
137
|
+
|
|
136
138
|
// need to sanitise the pasted value otherwise other validation logic will ignore the input entirely
|
|
137
139
|
const sanitisedValue = reformatValue(clipboardData);
|
|
138
140
|
handleChange(sanitisedValue);
|
|
@@ -151,6 +153,7 @@ const AmountInput = ({
|
|
|
151
153
|
} = input;
|
|
152
154
|
if (selectionStart === selectionEnd && selectionStart && selectionStart > 0) {
|
|
153
155
|
const charBeforeCursor = currentValue[selectionStart - 1];
|
|
156
|
+
|
|
154
157
|
// if the user deletes a thousands separator, remove the digit before it as well
|
|
155
158
|
if (charBeforeCursor === groupSeparator) {
|
|
156
159
|
e.preventDefault();
|
|
@@ -199,6 +202,7 @@ const AmountInput = ({
|
|
|
199
202
|
if (!decimalSeparator || !value) {
|
|
200
203
|
return null;
|
|
201
204
|
}
|
|
205
|
+
|
|
202
206
|
// if the user has typed a decimal separator, show the full decimal part as a placeholder
|
|
203
207
|
// this returns a string even if there is no content, typing should replace the placeholder immediately without animation
|
|
204
208
|
// otherwise there is an ugly animation when going from 1.23 to 1.2 due to AnimatePresence
|
|
@@ -208,6 +212,7 @@ const AmountInput = ({
|
|
|
208
212
|
// show only the characters that are not already displayed by the input
|
|
209
213
|
return fullDecimalPart?.slice(decimalPart?.length);
|
|
210
214
|
}
|
|
215
|
+
|
|
211
216
|
// in unfocused state, always show the full decimal part unless the user has already entered decimals
|
|
212
217
|
if (!focus && !decimalMode) {
|
|
213
218
|
const [_, decimalPlaceholder] = placeholder.split(decimalSeparator);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountInput.js","sources":["../../../src/expressiveMoneyInput/amountInput/AmountInput.tsx"],"sourcesContent":["import { formatAmount } from '@transferwise/formatting';\nimport { clsx } from 'clsx';\nimport { AnimatePresence } from 'framer-motion';\nimport { type ChangeEvent, type KeyboardEvent, useEffect, useMemo, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport { Props as ExpressiveMoneyInputProps } from '../ExpressiveMoneyInput';\nimport { AnimatedNumber } from '../animatedNumber/AnimatedNumber';\nimport { useFocus } from '../hooks/useFocus';\nimport { useInputStyle } from '../hooks/useInputStyle';\nimport {\n getDecimalCount,\n getDecimalSeparator,\n getEnteredDecimalsCount,\n getFormattedString,\n getGroupSeparator,\n getUnformattedNumber,\n isAllowedInputKey,\n isInputPossiblyOverflowing,\n} from './utils';\n\ntype Props = {\n id: string;\n describedById?: string;\n amount?: number | null;\n currency: string;\n autoFocus?: boolean;\n onChange: (amount: number | null) => void;\n onFocusChange?: (focused: boolean) => void;\n} & Pick<ExpressiveMoneyInputProps, 'loading'>;\n\nexport const AmountInput = ({\n id,\n describedById,\n amount,\n currency,\n autoFocus,\n onChange,\n onFocusChange,\n loading,\n}: Props) => {\n const intl = useIntl();\n const { focus, setFocus, visualFocus, setVisualFocus } = useFocus();\n\n const [value, setValue] = useState<string>(\n amount\n ? getFormattedString({\n value: amount,\n currency,\n locale: intl.locale,\n })\n : '',\n );\n const numericValue = useMemo(() => {\n return getUnformattedNumber({\n value,\n currency,\n locale: intl.locale,\n });\n }, [value, currency, intl.locale]);\n\n const valueWithFullDecimals = useMemo(() => {\n return getFormattedString({\n value: numericValue ?? 0,\n currency,\n locale: intl.locale,\n alwaysShowDecimals: true,\n });\n }, [numericValue, currency, intl.locale]);\n\n const ref = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n if (autoFocus) {\n ref.current?.focus();\n }\n }, []);\n\n const placeholder = getPlaceholder(currency, intl.locale);\n const groupSeparator = getGroupSeparator(currency, intl.locale);\n const decimalSeparator = getDecimalSeparator(currency, intl.locale);\n const maxDecimalCount = getDecimalCount(currency, intl.locale);\n\n const decimalPart = getDecimalPart(value, decimalSeparator);\n const decimalMode = decimalSeparator && value.includes(decimalSeparator);\n\n useEffect(() => {\n if (!focus) {\n setValue(\n amount\n ? getFormattedString({\n value: amount,\n currency,\n locale: intl.locale,\n })\n : '',\n );\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [amount]);\n\n useEffect(() => {\n onFocusChange?.(visualFocus);\n }, [visualFocus]);\n\n const shouldReformatAfterUserInput = (newValue: string) => {\n // don't reformat if formatting would wipe out user's input\n if (reformatValue(newValue) === '') {\n return false;\n }\n\n const endsWithDecimalSeparator = decimalSeparator && newValue.endsWith(decimalSeparator);\n const endsWithGroupSeparator = groupSeparator && newValue.endsWith(groupSeparator);\n\n // if the user has entered a seperator to the end, formatting would delete it\n if (endsWithDecimalSeparator || endsWithGroupSeparator) {\n return false;\n }\n\n const containsDecimalSeparator = decimalSeparator && newValue.includes(decimalSeparator);\n\n if (containsDecimalSeparator) {\n const enteredDecimalsCount = getEnteredDecimalsCount(newValue, decimalSeparator);\n // don't reformat until user has entered all the allowed decimals\n // for example, we don't want 1.1 to be reformatted to 1.10 immediately\n if (enteredDecimalsCount < maxDecimalCount) {\n return false;\n }\n }\n\n return true;\n };\n\n const reformatValue = (newValue: string) => {\n const unformattedValue = getUnformattedNumber({\n value: newValue,\n currency,\n locale: intl.locale,\n });\n const formattedValue = unformattedValue\n ? getFormattedString({\n value: unformattedValue,\n currency,\n locale: intl.locale,\n })\n : '';\n return formattedValue;\n };\n\n const handleChange = (newValue: string) => {\n const oldCursorPosition = ref.current?.selectionStart ?? 0;\n\n const newFormattedString = shouldReformatAfterUserInput(newValue)\n ? reformatValue(newValue)\n : newValue;\n setValue(newFormattedString);\n\n const newNumber = getUnformattedNumber({\n value: newFormattedString,\n currency,\n locale: intl.locale,\n });\n\n if (newNumber !== numericValue) {\n if (numericValue || newNumber) {\n onChange(newNumber);\n }\n }\n\n const newCursorPosition = oldCursorPosition + (newFormattedString.length - newValue.length);\n requestAnimationFrame(() => {\n ref?.current?.setSelectionRange(newCursorPosition, newCursorPosition);\n });\n };\n\n const handlePaste = (e: React.ClipboardEvent<HTMLInputElement>) => {\n e.preventDefault();\n\n const clipboardData = e.clipboardData?.getData('text/plain');\n if (!clipboardData) {\n return;\n }\n\n // need to sanitise the pasted value otherwise other validation logic will ignore the input entirely\n const sanitisedValue = reformatValue(clipboardData);\n\n handleChange(sanitisedValue);\n };\n\n const handleBlur = () => {\n setFocus(false);\n setValue(reformatValue(value));\n };\n\n const handleBackspace = (e: KeyboardEvent<HTMLInputElement>) => {\n const input = e.target as HTMLInputElement;\n // using the updated selection range after the backspace key has been processed, instead of the current selection range in state\n const { value: currentValue, selectionStart, selectionEnd } = input;\n\n if (selectionStart === selectionEnd && selectionStart && selectionStart > 0) {\n const charBeforeCursor = currentValue[selectionStart - 1];\n\n // if the user deletes a thousands separator, remove the digit before it as well\n if (charBeforeCursor === groupSeparator) {\n e.preventDefault();\n const beforeCursor = currentValue.slice(0, selectionStart - 2);\n const afterCursor = currentValue.slice(selectionStart);\n const newValue = `${beforeCursor}${afterCursor}`;\n input.setSelectionRange(beforeCursor.length, beforeCursor.length);\n handleChange(newValue);\n }\n }\n };\n\n const handleKeyDown = (e: KeyboardEvent<HTMLInputElement>) => {\n setFocus(true);\n if (!isAllowedInputKey(e)) {\n e.preventDefault();\n }\n\n if (e.key === 'Backspace') {\n handleBackspace(e);\n }\n };\n\n const isAllowedInput = (e: ChangeEvent<HTMLInputElement>) => {\n const hasMultipleDecimalSeparators =\n decimalSeparator && e.target.value.split(decimalSeparator).length > 2;\n if (hasMultipleDecimalSeparators) {\n return false;\n }\n\n const newNumericValue = getUnformattedNumber({\n value: e.target.value,\n currency,\n locale: intl.locale,\n });\n const maxLength = Number.MAX_SAFE_INTEGER.toString().length;\n if (String(newNumericValue).length > maxLength) {\n return false;\n }\n\n return true;\n };\n\n const addonContent = useMemo((): string | null | undefined => {\n // because we're using a separate \"addon\" element for the placeholder decimals, there is a possibility that the input itself will become scrollable\n // and the decimals will appear on top of the input. Safest thing to do is to just hide the addon if there is not enough room\n if (isInputPossiblyOverflowing({ ref, value })) {\n return null;\n }\n if (!decimalSeparator || !value) {\n return null;\n }\n\n // if the user has typed a decimal separator, show the full decimal part as a placeholder\n // this returns a string even if there is no content, typing should replace the placeholder immediately without animation\n // otherwise there is an ugly animation when going from 1.23 to 1.2 due to AnimatePresence\n if (focus && decimalMode) {\n // reuse getDecimalPart\n const fullDecimalPart = getDecimalPart(valueWithFullDecimals, decimalSeparator);\n // show only the characters that are not already displayed by the input\n return fullDecimalPart?.slice(decimalPart?.length);\n }\n\n // in unfocused state, always show the full decimal part unless the user has already entered decimals\n if (!focus && !decimalMode) {\n const [_, decimalPlaceholder] = placeholder.split(decimalSeparator);\n return decimalSeparator + decimalPlaceholder;\n }\n\n return null;\n }, [\n decimalMode,\n decimalPart?.length,\n decimalSeparator,\n focus,\n placeholder,\n value,\n valueWithFullDecimals,\n ]);\n\n const style = useInputStyle({\n // whenever decimals are shown, we need to account for the full decimal part for the font size calculation\n value: addonContent ? valueWithFullDecimals : value,\n focus: visualFocus,\n inputElement: ref.current,\n loading,\n });\n\n return (\n <div className=\"wds-amount-input-container\">\n <div\n className={clsx('wds-amount-input-input-container', 'np-text-display-large')}\n style={style}\n >\n <input\n ref={ref}\n className=\"wds-amount-input-input\"\n id={id}\n autoComplete=\"off\"\n inputMode=\"decimal\"\n value={value}\n type=\"text\"\n placeholder={placeholder}\n aria-describedby={describedById}\n /* without this, the input tries to keep an aspect ratio and doesn't respect CSS width rules */\n size={1}\n onChange={(e) => {\n if (isAllowedInput(e)) {\n handleChange(e.target.value);\n }\n }}\n onBlurCapture={() => handleBlur()}\n onPaste={(e) => handlePaste(e)}\n onFocus={() => {\n setFocus(true);\n }}\n onBlur={() => {\n setTimeout(() => setVisualFocus(false), 30);\n }}\n onKeyDown={(e) => handleKeyDown(e)}\n />\n <AnimatePresence initial={false}>\n {addonContent !== null && (\n <AnimatedNumber\n className={clsx(\n 'wds-amount-input-placeholder',\n visualFocus && 'wds-amount-input-placeholder-focus',\n )}\n onClick={() => ref.current?.focus()}\n >\n {addonContent}\n </AnimatedNumber>\n )}\n </AnimatePresence>\n </div>\n </div>\n );\n};\n\nconst getPlaceholder = (currency: string, locale: string) => {\n return formatAmount(0, currency, locale, { alwaysShowDecimals: true });\n};\n\nconst getDecimalPart = (value: string, decimalSeparator: string | null) => {\n if (!value || !decimalSeparator) {\n return undefined;\n }\n\n const [_, decimalPart] = value.split(decimalSeparator);\n return decimalPart ?? undefined;\n};\n"],"names":["AmountInput","id","describedById","amount","currency","autoFocus","onChange","onFocusChange","loading","intl","useIntl","focus","setFocus","visualFocus","setVisualFocus","useFocus","value","setValue","useState","getFormattedString","locale","numericValue","useMemo","getUnformattedNumber","valueWithFullDecimals","alwaysShowDecimals","ref","useRef","useEffect","current","placeholder","getPlaceholder","groupSeparator","getGroupSeparator","decimalSeparator","getDecimalSeparator","maxDecimalCount","getDecimalCount","decimalPart","getDecimalPart","decimalMode","includes","shouldReformatAfterUserInput","newValue","reformatValue","endsWithDecimalSeparator","endsWith","endsWithGroupSeparator","containsDecimalSeparator","enteredDecimalsCount","getEnteredDecimalsCount","unformattedValue","formattedValue","handleChange","oldCursorPosition","selectionStart","newFormattedString","newNumber","newCursorPosition","length","requestAnimationFrame","setSelectionRange","handlePaste","e","preventDefault","clipboardData","getData","sanitisedValue","handleBlur","handleBackspace","input","target","currentValue","selectionEnd","charBeforeCursor","beforeCursor","slice","afterCursor","handleKeyDown","isAllowedInputKey","key","isAllowedInput","hasMultipleDecimalSeparators","split","newNumericValue","maxLength","Number","MAX_SAFE_INTEGER","toString","String","addonContent","isInputPossiblyOverflowing","fullDecimalPart","_","decimalPlaceholder","style","useInputStyle","inputElement","_jsx","className","children","_jsxs","clsx","autoComplete","inputMode","type","size","onBlurCapture","onPaste","onFocus","onBlur","setTimeout","onKeyDown","AnimatePresence","initial","AnimatedNumber","onClick","formatAmount","undefined"],"mappings":";;;;;;;;;;;;;AA+BO,MAAMA,WAAW,GAAGA,CAAC;EAC1BC,EAAE;EACFC,aAAa;EACbC,MAAM;EACNC,QAAQ;EACRC,SAAS;EACTC,QAAQ;EACRC,aAAa;AACbC,EAAAA;AAAO,CACD,KAAI;AACV,EAAA,MAAMC,IAAI,GAAGC,iBAAO,EAAE;EACtB,MAAM;IAAEC,KAAK;IAAEC,QAAQ;IAAEC,WAAW;AAAEC,IAAAA;GAAgB,GAAGC,iBAAQ,EAAE;EAEnE,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGC,cAAQ,CAChCf,MAAM,GACFgB,wBAAkB,CAAC;AACjBH,IAAAA,KAAK,EAAEb,MAAM;IACbC,QAAQ;IACRgB,MAAM,EAAEX,IAAI,CAACW;G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K,IAAAA,kBAAkB,EAAE;AAAI,GAAE,CAAC;AACxE,CAAC;AAED,MAAMc,cAAc,GAAGA,CAACvB,KAAa,EAAEkB,gBAA+B,KAAI;AACxE,EAAA,IAAI,CAAClB,KAAK,IAAI,CAACkB,gBAAgB,EAAE;AAC/B,IAAA,OAAOoF,SAAS;AAClB,EAAA;EAEA,MAAM,CAACzB,CAAC,EAAEvD,WAAW,CAAC,GAAGtB,KAAK,CAACmE,KAAK,CAACjD,gBAAgB,CAAC;EACtD,OAAOI,WAAW,IAAIgF,SAAS;AACjC,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"AmountInput.js","sources":["../../../src/expressiveMoneyInput/amountInput/AmountInput.tsx"],"sourcesContent":["import { formatAmount } from '@transferwise/formatting';\nimport { clsx } from 'clsx';\nimport { AnimatePresence } from 'framer-motion';\nimport { type ChangeEvent, type KeyboardEvent, useEffect, useMemo, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport { Props as ExpressiveMoneyInputProps } from '../ExpressiveMoneyInput';\nimport { AnimatedNumber } from '../animatedNumber/AnimatedNumber';\nimport { useFocus } from '../hooks/useFocus';\nimport { useInputStyle } from '../hooks/useInputStyle';\nimport {\n getDecimalCount,\n getDecimalSeparator,\n getEnteredDecimalsCount,\n getFormattedString,\n getGroupSeparator,\n getUnformattedNumber,\n isAllowedInputKey,\n isInputPossiblyOverflowing,\n} from './utils';\n\ntype Props = {\n id: string;\n describedById?: string;\n amount?: number | null;\n currency: string;\n autoFocus?: boolean;\n onChange: (amount: number | null) => void;\n onFocusChange?: (focused: boolean) => void;\n} & Pick<ExpressiveMoneyInputProps, 'loading'>;\n\nexport const AmountInput = ({\n id,\n describedById,\n amount,\n currency,\n autoFocus,\n onChange,\n onFocusChange,\n loading,\n}: Props) => {\n const intl = useIntl();\n const { focus, setFocus, visualFocus, setVisualFocus } = useFocus();\n\n const [value, setValue] = useState<string>(\n amount\n ? getFormattedString({\n value: amount,\n currency,\n locale: intl.locale,\n })\n : '',\n );\n const numericValue = useMemo(() => {\n return getUnformattedNumber({\n value,\n currency,\n locale: intl.locale,\n });\n }, [value, currency, intl.locale]);\n\n const valueWithFullDecimals = useMemo(() => {\n return getFormattedString({\n value: numericValue ?? 0,\n currency,\n locale: intl.locale,\n alwaysShowDecimals: true,\n });\n }, [numericValue, currency, intl.locale]);\n\n const ref = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n if (autoFocus) {\n ref.current?.focus();\n }\n }, []);\n\n const placeholder = getPlaceholder(currency, intl.locale);\n const groupSeparator = getGroupSeparator(currency, intl.locale);\n const decimalSeparator = getDecimalSeparator(currency, intl.locale);\n const maxDecimalCount = getDecimalCount(currency, intl.locale);\n\n const decimalPart = getDecimalPart(value, decimalSeparator);\n const decimalMode = decimalSeparator && value.includes(decimalSeparator);\n\n useEffect(() => {\n if (!focus) {\n setValue(\n amount\n ? getFormattedString({\n value: amount,\n currency,\n locale: intl.locale,\n })\n : '',\n );\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [amount]);\n\n useEffect(() => {\n onFocusChange?.(visualFocus);\n }, [visualFocus]);\n\n const shouldReformatAfterUserInput = (newValue: string) => {\n // don't reformat if formatting would wipe out user's input\n if (reformatValue(newValue) === '') {\n return false;\n }\n\n const endsWithDecimalSeparator = decimalSeparator && newValue.endsWith(decimalSeparator);\n const endsWithGroupSeparator = groupSeparator && newValue.endsWith(groupSeparator);\n\n // if the user has entered a seperator to the end, formatting would delete it\n if (endsWithDecimalSeparator || endsWithGroupSeparator) {\n return false;\n }\n\n const containsDecimalSeparator = decimalSeparator && newValue.includes(decimalSeparator);\n\n if (containsDecimalSeparator) {\n const enteredDecimalsCount = getEnteredDecimalsCount(newValue, decimalSeparator);\n // don't reformat until user has entered all the allowed decimals\n // for example, we don't want 1.1 to be reformatted to 1.10 immediately\n if (enteredDecimalsCount < maxDecimalCount) {\n return false;\n }\n }\n\n return true;\n };\n\n const reformatValue = (newValue: string) => {\n const unformattedValue = getUnformattedNumber({\n value: newValue,\n currency,\n locale: intl.locale,\n });\n const formattedValue = unformattedValue\n ? getFormattedString({\n value: unformattedValue,\n currency,\n locale: intl.locale,\n })\n : '';\n return formattedValue;\n };\n\n const handleChange = (newValue: string) => {\n const oldCursorPosition = ref.current?.selectionStart ?? 0;\n\n const newFormattedString = shouldReformatAfterUserInput(newValue)\n ? reformatValue(newValue)\n : newValue;\n setValue(newFormattedString);\n\n const newNumber = getUnformattedNumber({\n value: newFormattedString,\n currency,\n locale: intl.locale,\n });\n\n if (newNumber !== numericValue) {\n if (numericValue || newNumber) {\n onChange(newNumber);\n }\n }\n\n const newCursorPosition = oldCursorPosition + (newFormattedString.length - newValue.length);\n requestAnimationFrame(() => {\n ref?.current?.setSelectionRange(newCursorPosition, newCursorPosition);\n });\n };\n\n const handlePaste = (e: React.ClipboardEvent<HTMLInputElement>) => {\n e.preventDefault();\n\n const clipboardData = e.clipboardData?.getData('text/plain');\n if (!clipboardData) {\n return;\n }\n\n // need to sanitise the pasted value otherwise other validation logic will ignore the input entirely\n const sanitisedValue = reformatValue(clipboardData);\n\n handleChange(sanitisedValue);\n };\n\n const handleBlur = () => {\n setFocus(false);\n setValue(reformatValue(value));\n };\n\n const handleBackspace = (e: KeyboardEvent<HTMLInputElement>) => {\n const input = e.target as HTMLInputElement;\n // using the updated selection range after the backspace key has been processed, instead of the current selection range in state\n const { value: currentValue, selectionStart, selectionEnd } = input;\n\n if (selectionStart === selectionEnd && selectionStart && selectionStart > 0) {\n const charBeforeCursor = currentValue[selectionStart - 1];\n\n // if the user deletes a thousands separator, remove the digit before it as well\n if (charBeforeCursor === groupSeparator) {\n e.preventDefault();\n const beforeCursor = currentValue.slice(0, selectionStart - 2);\n const afterCursor = currentValue.slice(selectionStart);\n const newValue = `${beforeCursor}${afterCursor}`;\n input.setSelectionRange(beforeCursor.length, beforeCursor.length);\n handleChange(newValue);\n }\n }\n };\n\n const handleKeyDown = (e: KeyboardEvent<HTMLInputElement>) => {\n setFocus(true);\n if (!isAllowedInputKey(e)) {\n e.preventDefault();\n }\n\n if (e.key === 'Backspace') {\n handleBackspace(e);\n }\n };\n\n const isAllowedInput = (e: ChangeEvent<HTMLInputElement>) => {\n const hasMultipleDecimalSeparators =\n decimalSeparator && e.target.value.split(decimalSeparator).length > 2;\n if (hasMultipleDecimalSeparators) {\n return false;\n }\n\n const newNumericValue = getUnformattedNumber({\n value: e.target.value,\n currency,\n locale: intl.locale,\n });\n const maxLength = Number.MAX_SAFE_INTEGER.toString().length;\n if (String(newNumericValue).length > maxLength) {\n return false;\n }\n\n return true;\n };\n\n const addonContent = useMemo((): string | null | undefined => {\n // because we're using a separate \"addon\" element for the placeholder decimals, there is a possibility that the input itself will become scrollable\n // and the decimals will appear on top of the input. Safest thing to do is to just hide the addon if there is not enough room\n if (isInputPossiblyOverflowing({ ref, value })) {\n return null;\n }\n if (!decimalSeparator || !value) {\n return null;\n }\n\n // if the user has typed a decimal separator, show the full decimal part as a placeholder\n // this returns a string even if there is no content, typing should replace the placeholder immediately without animation\n // otherwise there is an ugly animation when going from 1.23 to 1.2 due to AnimatePresence\n if (focus && decimalMode) {\n // reuse getDecimalPart\n const fullDecimalPart = getDecimalPart(valueWithFullDecimals, decimalSeparator);\n // show only the characters that are not already displayed by the input\n return fullDecimalPart?.slice(decimalPart?.length);\n }\n\n // in unfocused state, always show the full decimal part unless the user has already entered decimals\n if (!focus && !decimalMode) {\n const [_, decimalPlaceholder] = placeholder.split(decimalSeparator);\n return decimalSeparator + decimalPlaceholder;\n }\n\n return null;\n }, [\n decimalMode,\n decimalPart?.length,\n decimalSeparator,\n focus,\n placeholder,\n value,\n valueWithFullDecimals,\n ]);\n\n const style = useInputStyle({\n // whenever decimals are shown, we need to account for the full decimal part for the font size calculation\n value: addonContent ? valueWithFullDecimals : value,\n focus: visualFocus,\n inputElement: ref.current,\n loading,\n });\n\n return (\n <div className=\"wds-amount-input-container\">\n <div\n className={clsx('wds-amount-input-input-container', 'np-text-display-large')}\n style={style}\n >\n <input\n ref={ref}\n className=\"wds-amount-input-input\"\n id={id}\n autoComplete=\"off\"\n inputMode=\"decimal\"\n value={value}\n type=\"text\"\n placeholder={placeholder}\n aria-describedby={describedById}\n /* without this, the input tries to keep an aspect ratio and doesn't respect CSS width rules */\n size={1}\n onChange={(e) => {\n if (isAllowedInput(e)) {\n handleChange(e.target.value);\n }\n }}\n onBlurCapture={() => handleBlur()}\n onPaste={(e) => handlePaste(e)}\n onFocus={() => {\n setFocus(true);\n }}\n onBlur={() => {\n setTimeout(() => setVisualFocus(false), 30);\n }}\n onKeyDown={(e) => handleKeyDown(e)}\n />\n <AnimatePresence initial={false}>\n {addonContent !== null && (\n <AnimatedNumber\n className={clsx(\n 'wds-amount-input-placeholder',\n visualFocus && 'wds-amount-input-placeholder-focus',\n )}\n onClick={() => ref.current?.focus()}\n >\n {addonContent}\n </AnimatedNumber>\n )}\n </AnimatePresence>\n </div>\n </div>\n );\n};\n\nconst getPlaceholder = (currency: string, locale: string) => {\n return formatAmount(0, currency, locale, { alwaysShowDecimals: true });\n};\n\nconst getDecimalPart = (value: string, decimalSeparator: string | null) => {\n if (!value || !decimalSeparator) {\n return undefined;\n }\n\n const [_, decimalPart] = value.split(decimalSeparator);\n return decimalPart ?? undefined;\n};\n"],"names":["AmountInput","id","describedById","amount","currency","autoFocus","onChange","onFocusChange","loading","intl","useIntl","focus","setFocus","visualFocus","setVisualFocus","useFocus","value","setValue","useState","getFormattedString","locale","numericValue","useMemo","getUnformattedNumber","valueWithFullDecimals","alwaysShowDecimals","ref","useRef","useEffect","current","placeholder","getPlaceholder","groupSeparator","getGroupSeparator","decimalSeparator","getDecimalSeparator","maxDecimalCount","getDecimalCount","decimalPart","getDecimalPart","decimalMode","includes","shouldReformatAfterUserInput","newValue","reformatValue","endsWithDecimalSeparator","endsWith","endsWithGroupSeparator","containsDecimalSeparator","enteredDecimalsCount","getEnteredDecimalsCount","unformattedValue","formattedValue","handleChange","oldCursorPosition","selectionStart","newFormattedString","newNumber","newCursorPosition","length","requestAnimationFrame","setSelectionRange","handlePaste","e","preventDefault","clipboardData","getData","sanitisedValue","handleBlur","handleBackspace","input","target","currentValue","selectionEnd","charBeforeCursor","beforeCursor","slice","afterCursor","handleKeyDown","isAllowedInputKey","key","isAllowedInput","hasMultipleDecimalSeparators","split","newNumericValue","maxLength","Number","MAX_SAFE_INTEGER","toString","String","addonContent","isInputPossiblyOverflowing","fullDecimalPart","_","decimalPlaceholder","style","useInputStyle","inputElement","_jsx","className","children","_jsxs","clsx","autoComplete","inputMode","type","size","onBlurCapture","onPaste","onFocus","onBlur","setTimeout","onKeyDown","AnimatePresence","initial","AnimatedNumber","onClick","formatAmount","undefined"],"mappings":";;;;;;;;;;;;;AA+BO,MAAMA,WAAW,GAAGA,CAAC;EAC1BC,EAAE;EACFC,aAAa;EACbC,MAAM;EACNC,QAAQ;EACRC,SAAS;EACTC,QAAQ;EACRC,aAAa;AACbC,EAAAA;AACK,CAAC,KAAK;AACX,EAAA,MAAMC,IAAI,GAAGC,iBAAO,EAAE;EACtB,MAAM;IAAEC,KAAK;IAAEC,QAAQ;IAAEC,WAAW;AAAEC,IAAAA;GAAgB,GAAGC,iBAAQ,EAAE;EAEnE,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGC,cAAQ,CAChCf,MAAM,GACFgB,wBAAkB,CAAC;AACjBH,IAAAA,KAAK,EAAEb,MAAM;IACbC,QAAQ;IACRgB,MAAM,EAAEX,IAAI,CAACW;GACd,CAAC,GACF,EACN,CAAC;AACD,EAAA,MAAMC,YAAY,GAAGC,aAAO,CAAC,MAAM;AACjC,IAAA,OAAOC,0BAAoB,CAAC;MAC1BP,KAAK;MACLZ,QAAQ;MACRgB,MAAM,EAAEX,IAAI,CAACW;AACf,KAAC,CAAC;EACJ,CAAC,EAAE,CAACJ,KAAK,EAAEZ,QAAQ,EAAEK,IAAI,CAACW,MAAM,CAAC,CAAC;AAElC,EAAA,MAAMI,qBAAqB,GAAGF,aAAO,CA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