@transferwise/components 46.120.0 → 46.120.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/accordion/Accordion.js +0 -43
- package/build/accordion/Accordion.js.map +1 -1
- package/build/accordion/Accordion.mjs +0 -43
- package/build/accordion/Accordion.mjs.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.js +16 -39
- package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.mjs +16 -39
- package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
- package/build/actionButton/ActionButton.js +18 -3
- package/build/actionButton/ActionButton.js.map +1 -1
- package/build/actionButton/ActionButton.mjs +18 -3
- package/build/actionButton/ActionButton.mjs.map +1 -1
- package/build/actionOption/ActionOption.js +18 -8
- package/build/actionOption/ActionOption.js.map +1 -1
- package/build/actionOption/ActionOption.mjs +18 -8
- package/build/actionOption/ActionOption.mjs.map +1 -1
- package/build/alert/Alert.js +20 -5
- package/build/alert/Alert.js.map +1 -1
- package/build/alert/Alert.mjs +20 -4
- package/build/alert/Alert.mjs.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.js +18 -0
- package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs +18 -0
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
- package/build/avatar/Avatar.js +18 -1
- package/build/avatar/Avatar.js.map +1 -1
- package/build/avatar/Avatar.mjs +18 -1
- package/build/avatar/Avatar.mjs.map +1 -1
- package/build/avatar/avatarTypes.js +3 -5
- package/build/avatar/avatarTypes.js.map +1 -1
- package/build/avatar/avatarTypes.mjs +3 -3
- package/build/avatar/avatarTypes.mjs.map +1 -1
- package/build/avatarLayout/AvatarLayout.js +1 -2
- package/build/avatarLayout/AvatarLayout.js.map +1 -1
- package/build/avatarLayout/AvatarLayout.mjs +1 -2
- package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/avatarView/AvatarView.js +18 -3
- package/build/avatarView/AvatarView.js.map +1 -1
- package/build/avatarView/AvatarView.mjs +18 -3
- package/build/avatarView/AvatarView.mjs.map +1 -1
- package/build/avatarView/Dot.js +0 -3
- package/build/avatarView/Dot.js.map +1 -1
- package/build/avatarView/Dot.mjs +0 -3
- package/build/avatarView/Dot.mjs.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.js +17 -1
- package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs +17 -1
- package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
- package/build/badge/Badge.js +17 -1
- package/build/badge/Badge.js.map +1 -1
- package/build/badge/Badge.mjs +17 -1
- package/build/badge/Badge.mjs.map +1 -1
- package/build/badge/BadgeAssets.js +0 -3
- package/build/badge/BadgeAssets.js.map +1 -1
- package/build/badge/BadgeAssets.mjs +0 -3
- package/build/badge/BadgeAssets.mjs.map +1 -1
- package/build/body/Body.js.map +1 -1
- package/build/body/Body.mjs.map +1 -1
- package/build/button/Button.js +18 -4
- package/build/button/Button.js.map +1 -1
- package/build/button/Button.mjs +18 -4
- package/build/button/Button.mjs.map +1 -1
- package/build/button/Button.resolver.js.map +1 -1
- package/build/button/Button.resolver.mjs.map +1 -1
- package/build/button/LegacyButton.js +17 -4
- package/build/button/LegacyButton.js.map +1 -1
- package/build/button/LegacyButton.mjs +18 -5
- package/build/button/LegacyButton.mjs.map +1 -1
- package/build/button/classMap.js +18 -0
- package/build/button/classMap.js.map +1 -1
- package/build/button/classMap.mjs +18 -0
- package/build/button/classMap.mjs.map +1 -1
- package/build/button/legacyUtils/legacyUtils.js +16 -1
- package/build/button/legacyUtils/legacyUtils.js.map +1 -1
- package/build/button/legacyUtils/legacyUtils.mjs +16 -1
- package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
- package/build/card/Card.js +17 -4
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs +17 -4
- package/build/card/Card.mjs.map +1 -1
- package/build/carousel/Carousel.js.map +1 -1
- package/build/carousel/Carousel.mjs.map +1 -1
- package/build/checkbox/Checkbox.js +18 -0
- package/build/checkbox/Checkbox.js.map +1 -1
- package/build/checkbox/Checkbox.mjs +18 -0
- package/build/checkbox/Checkbox.mjs.map +1 -1
- package/build/checkboxButton/CheckboxButton.js.map +1 -1
- package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
- package/build/checkboxOption/CheckboxOption.js +0 -8
- package/build/checkboxOption/CheckboxOption.js.map +1 -1
- package/build/checkboxOption/CheckboxOption.mjs +0 -8
- package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
- package/build/chevron/Chevron.js +17 -0
- package/build/chevron/Chevron.js.map +1 -1
- package/build/chevron/Chevron.mjs +17 -0
- package/build/chevron/Chevron.mjs.map +1 -1
- package/build/chips/Chip.js +18 -0
- package/build/chips/Chip.js.map +1 -1
- package/build/chips/Chip.mjs +18 -0
- package/build/chips/Chip.mjs.map +1 -1
- package/build/chips/Chips.js.map +1 -1
- package/build/chips/Chips.messages.js.map +1 -1
- package/build/chips/Chips.messages.mjs.map +1 -1
- package/build/chips/Chips.mjs.map +1 -1
- package/build/circularButton/CircularButton.js +16 -0
- package/build/circularButton/CircularButton.js.map +1 -1
- package/build/circularButton/CircularButton.mjs +16 -0
- package/build/circularButton/CircularButton.mjs.map +1 -1
- package/build/common/DOMOperations/DOMOperations.js +0 -2
- package/build/common/DOMOperations/DOMOperations.js.map +1 -1
- package/build/common/DOMOperations/DOMOperations.mjs +0 -2
- package/build/common/DOMOperations/DOMOperations.mjs.map +1 -1
- package/build/common/Option/Option.js.map +1 -1
- package/build/common/Option/Option.mjs.map +1 -1
- package/build/common/RadioButton/RadioButton.js.map +1 -1
- package/build/common/RadioButton/RadioButton.mjs.map +1 -1
- package/build/common/bottomSheet/BottomSheet.js +0 -5
- package/build/common/bottomSheet/BottomSheet.js.map +1 -1
- package/build/common/bottomSheet/BottomSheet.mjs +0 -5
- package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
- package/build/common/card/Card.js +0 -21
- package/build/common/card/Card.js.map +1 -1
- package/build/common/card/Card.mjs +0 -21
- package/build/common/card/Card.mjs.map +1 -1
- package/build/common/circle/Circle.js +0 -4
- package/build/common/circle/Circle.js.map +1 -1
- package/build/common/circle/Circle.mjs +0 -4
- package/build/common/circle/Circle.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.js +0 -3
- package/build/common/closeButton/CloseButton.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.mjs +0 -3
- package/build/common/closeButton/CloseButton.mjs.map +1 -1
- package/build/common/colors.js +0 -1
- package/build/common/colors.js.map +1 -1
- package/build/common/colors.mjs +0 -1
- package/build/common/colors.mjs.map +1 -1
- package/build/common/constants.js +0 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/constants.mjs +0 -1
- package/build/common/constants.mjs.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.js.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.mjs.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.js.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.mjs.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.js.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.mjs.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.js.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.mjs.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.js.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.mjs.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.js.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.mjs.map +1 -1
- package/build/common/deviceDetection/deviceDetection.js.map +1 -1
- package/build/common/deviceDetection/deviceDetection.mjs.map +1 -1
- package/build/common/direction.js +3 -5
- package/build/common/direction.js.map +1 -1
- package/build/common/direction.mjs +3 -3
- package/build/common/direction.mjs.map +1 -1
- package/build/common/domHelpers/documentIosClick.js +2 -3
- package/build/common/domHelpers/documentIosClick.js.map +1 -1
- package/build/common/domHelpers/documentIosClick.mjs +2 -3
- package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
- package/build/common/fileType.js +3 -5
- package/build/common/fileType.js.map +1 -1
- package/build/common/fileType.mjs +3 -3
- package/build/common/fileType.mjs.map +1 -1
- package/build/common/flowHeader/FlowHeader.js +14 -14
- package/build/common/flowHeader/FlowHeader.js.map +1 -1
- package/build/common/flowHeader/FlowHeader.mjs.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.js.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.mjs.map +1 -1
- package/build/common/historyNavigator/historyNavigator.js.map +1 -1
- package/build/common/historyNavigator/historyNavigator.mjs.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.js.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.mjs.map +1 -1
- package/build/common/hooks/useDirection/useDirection.js.map +1 -1
- package/build/common/hooks/useDirection/useDirection.mjs.map +1 -1
- package/build/common/hooks/useEffectEvent.js +0 -1
- package/build/common/hooks/useEffectEvent.js.map +1 -1
- package/build/common/hooks/useEffectEvent.mjs +0 -1
- package/build/common/hooks/useEffectEvent.mjs.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.js +0 -2
- package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs +0 -2
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs.map +1 -1
- package/build/common/hooks/useLayout/useLayout.js.map +1 -1
- package/build/common/hooks/useLayout/useLayout.mjs.map +1 -1
- package/build/common/hooks/useMedia.js.map +1 -1
- package/build/common/hooks/useMedia.mjs.map +1 -1
- package/build/common/hooks/useResizeObserver.js.map +1 -1
- package/build/common/hooks/useResizeObserver.mjs.map +1 -1
- package/build/common/hooks/useScreenSize.js.map +1 -1
- package/build/common/hooks/useScreenSize.mjs.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.js.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.mjs.map +1 -1
- package/build/common/initials.js +0 -3
- package/build/common/initials.js.map +1 -1
- package/build/common/initials.mjs +0 -3
- package/build/common/initials.mjs.map +1 -1
- package/build/common/locale/index.js +0 -6
- package/build/common/locale/index.js.map +1 -1
- package/build/common/locale/index.mjs +0 -6
- package/build/common/locale/index.mjs.map +1 -1
- package/build/common/panel/Panel.js +18 -2
- package/build/common/panel/Panel.js.map +1 -1
- package/build/common/panel/Panel.mjs +18 -2
- package/build/common/panel/Panel.mjs.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js +0 -3
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs +0 -3
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs.map +1 -1
- package/build/common/preventScroll/PreventScroll.js.map +1 -1
- package/build/common/preventScroll/PreventScroll.mjs.map +1 -1
- package/build/common/propsValues/breakpoint.js +3 -5
- package/build/common/propsValues/breakpoint.js.map +1 -1
- package/build/common/propsValues/breakpoint.mjs +3 -3
- package/build/common/propsValues/breakpoint.mjs.map +1 -1
- package/build/common/propsValues/control.js +6 -9
- package/build/common/propsValues/control.js.map +1 -1
- package/build/common/propsValues/control.mjs +6 -6
- package/build/common/propsValues/control.mjs.map +1 -1
- package/build/common/propsValues/dateMode.js +3 -5
- package/build/common/propsValues/dateMode.js.map +1 -1
- package/build/common/propsValues/dateMode.mjs +3 -3
- package/build/common/propsValues/dateMode.mjs.map +1 -1
- package/build/common/propsValues/layouts.js +3 -5
- package/build/common/propsValues/layouts.js.map +1 -1
- package/build/common/propsValues/layouts.mjs +3 -3
- package/build/common/propsValues/layouts.mjs.map +1 -1
- package/build/common/propsValues/markdownNodeType.js +3 -5
- package/build/common/propsValues/markdownNodeType.js.map +1 -1
- package/build/common/propsValues/markdownNodeType.mjs +3 -3
- package/build/common/propsValues/markdownNodeType.mjs.map +1 -1
- package/build/common/propsValues/monthFormat.js +3 -5
- package/build/common/propsValues/monthFormat.js.map +1 -1
- package/build/common/propsValues/monthFormat.mjs +3 -3
- package/build/common/propsValues/monthFormat.mjs.map +1 -1
- package/build/common/propsValues/position.js +3 -5
- package/build/common/propsValues/position.js.map +1 -1
- package/build/common/propsValues/position.mjs +3 -3
- package/build/common/propsValues/position.mjs.map +1 -1
- package/build/common/propsValues/profileType.js +3 -5
- package/build/common/propsValues/profileType.js.map +1 -1
- package/build/common/propsValues/profileType.mjs +3 -3
- package/build/common/propsValues/profileType.mjs.map +1 -1
- package/build/common/propsValues/scroll.js +3 -5
- package/build/common/propsValues/scroll.js.map +1 -1
- package/build/common/propsValues/scroll.mjs +3 -3
- package/build/common/propsValues/scroll.mjs.map +1 -1
- package/build/common/propsValues/sentiment.js +3 -5
- package/build/common/propsValues/sentiment.js.map +1 -1
- package/build/common/propsValues/sentiment.mjs +3 -3
- package/build/common/propsValues/sentiment.mjs.map +1 -1
- package/build/common/propsValues/size.js +3 -5
- package/build/common/propsValues/size.js.map +1 -1
- package/build/common/propsValues/size.mjs +3 -3
- package/build/common/propsValues/size.mjs.map +1 -1
- package/build/common/propsValues/status.js +3 -5
- package/build/common/propsValues/status.js.map +1 -1
- package/build/common/propsValues/status.mjs +3 -3
- package/build/common/propsValues/status.mjs.map +1 -1
- package/build/common/propsValues/type.js +3 -5
- package/build/common/propsValues/type.js.map +1 -1
- package/build/common/propsValues/type.mjs +3 -3
- package/build/common/propsValues/type.mjs.map +1 -1
- package/build/common/propsValues/typography.js +3 -9
- package/build/common/propsValues/typography.js.map +1 -1
- package/build/common/propsValues/typography.mjs +3 -7
- package/build/common/propsValues/typography.mjs.map +1 -1
- package/build/common/propsValues/variant.js +3 -5
- package/build/common/propsValues/variant.js.map +1 -1
- package/build/common/propsValues/variant.mjs +3 -3
- package/build/common/propsValues/variant.mjs.map +1 -1
- package/build/common/propsValues/width.js +3 -5
- package/build/common/propsValues/width.js.map +1 -1
- package/build/common/propsValues/width.mjs +3 -3
- package/build/common/propsValues/width.mjs.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.js +18 -0
- package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.mjs +18 -0
- package/build/common/responsivePanel/ResponsivePanel.mjs.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.js.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.mjs.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.mjs.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.mjs.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.mjs.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.mjs.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.js.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.mjs.map +1 -1
- package/build/common/theme.js +3 -5
- package/build/common/theme.js.map +1 -1
- package/build/common/theme.mjs +3 -3
- package/build/common/theme.mjs.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- package/build/dateInput/DateInput.js +15 -5
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.messages.js.map +1 -1
- package/build/dateInput/DateInput.messages.mjs.map +1 -1
- package/build/dateInput/DateInput.mjs +15 -5
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +0 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs +0 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
- package/build/dateLookup/DateLookup.js +15 -0
- package/build/dateLookup/DateLookup.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.mjs.map +1 -1
- package/build/dateLookup/DateLookup.mjs +15 -0
- package/build/dateLookup/DateLookup.mjs.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.js +18 -0
- package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.mjs +18 -0
- package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.js +16 -0
- package/build/dateLookup/dateTrigger/DateTrigger.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.mjs +16 -0
- package/build/dateLookup/dateTrigger/DateTrigger.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.js.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js +0 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs +0 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.js.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.mjs.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.js.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.js.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.js.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.mjs.map +1 -1
- package/build/dateLookup/tableLink/TableLink.js.map +1 -1
- package/build/dateLookup/tableLink/TableLink.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.js.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.js.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.mjs.map +1 -1
- package/build/decision/Decision.js +28 -13
- package/build/decision/Decision.js.map +1 -1
- package/build/decision/Decision.mjs +23 -6
- package/build/decision/Decision.mjs.map +1 -1
- package/build/definitionList/DefinitionList.js +18 -0
- package/build/definitionList/DefinitionList.js.map +1 -1
- package/build/definitionList/DefinitionList.mjs +18 -0
- package/build/definitionList/DefinitionList.mjs.map +1 -1
- package/build/dimmer/Dimmer.js +19 -1
- package/build/dimmer/Dimmer.js.map +1 -1
- package/build/dimmer/Dimmer.mjs +19 -1
- package/build/dimmer/Dimmer.mjs.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.js.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.mjs.map +1 -1
- package/build/display/Display.js +18 -0
- package/build/display/Display.js.map +1 -1
- package/build/display/Display.mjs +18 -0
- package/build/display/Display.mjs.map +1 -1
- package/build/divider/Divider.js +0 -9
- package/build/divider/Divider.js.map +1 -1
- package/build/divider/Divider.mjs +0 -9
- package/build/divider/Divider.mjs.map +1 -1
- package/build/drawer/Drawer.js +17 -0
- package/build/drawer/Drawer.js.map +1 -1
- package/build/drawer/Drawer.mjs +17 -0
- package/build/drawer/Drawer.mjs.map +1 -1
- package/build/dropFade/DropFade.js.map +1 -1
- package/build/dropFade/DropFade.mjs.map +1 -1
- package/build/emphasis/Emphasis.js.map +1 -1
- package/build/emphasis/Emphasis.mjs.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.js +0 -1
- package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs +0 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js +0 -15
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs +0 -15
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.js +0 -5
- package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs +0 -5
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.js +0 -2
- package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.mjs +0 -2
- package/build/expressiveMoneyInput/amountInput/utils.mjs.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.js.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.mjs.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.js.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.mjs.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
- package/build/field/Field.js +18 -1
- package/build/field/Field.js.map +1 -1
- package/build/field/Field.mjs +18 -1
- package/build/field/Field.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.js +17 -0
- package/build/flowNavigation/FlowNavigation.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.mjs +17 -0
- package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs.map +1 -1
- package/build/header/Header.js +18 -8
- package/build/header/Header.js.map +1 -1
- package/build/header/Header.mjs +18 -8
- package/build/header/Header.mjs.map +1 -1
- package/build/i18n/commonMessages/Button.messages.js.map +1 -1
- package/build/i18n/commonMessages/Button.messages.mjs.map +1 -1
- package/build/i18n/index.js.map +1 -1
- package/build/i18n/index.mjs.map +1 -1
- package/build/iconButton/IconButton.js.map +1 -1
- package/build/iconButton/IconButton.mjs.map +1 -1
- package/build/image/Image.js +1 -1
- package/build/image/Image.js.map +1 -1
- package/build/image/Image.mjs +1 -1
- package/build/image/Image.mjs.map +1 -1
- package/build/index.js +108 -27
- package/build/index.js.map +1 -1
- package/build/info/Info.js +17 -0
- package/build/info/Info.js.map +1 -1
- package/build/info/Info.messages.js.map +1 -1
- package/build/info/Info.messages.mjs.map +1 -1
- package/build/info/Info.mjs +17 -0
- package/build/info/Info.mjs.map +1 -1
- package/build/info/infoPresentations.js +3 -5
- package/build/info/infoPresentations.js.map +1 -1
- package/build/info/infoPresentations.mjs +3 -3
- package/build/info/infoPresentations.mjs.map +1 -1
- package/build/inlineAlert/InlineAlert.js +17 -1
- package/build/inlineAlert/InlineAlert.js.map +1 -1
- package/build/inlineAlert/InlineAlert.mjs +17 -1
- package/build/inlineAlert/InlineAlert.mjs.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.js.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.mjs.map +1 -1
- package/build/inputs/Input.js.map +1 -1
- package/build/inputs/Input.mjs.map +1 -1
- package/build/inputs/InputGroup.js.map +1 -1
- package/build/inputs/InputGroup.mjs.map +1 -1
- package/build/inputs/SearchInput.js +18 -0
- package/build/inputs/SearchInput.js.map +1 -1
- package/build/inputs/SearchInput.mjs +18 -0
- package/build/inputs/SearchInput.mjs.map +1 -1
- package/build/inputs/SelectInput.js +0 -5
- package/build/inputs/SelectInput.js.map +1 -1
- package/build/inputs/SelectInput.messages.js.map +1 -1
- package/build/inputs/SelectInput.messages.mjs.map +1 -1
- package/build/inputs/SelectInput.mjs +0 -5
- package/build/inputs/SelectInput.mjs.map +1 -1
- package/build/inputs/TextArea.js.map +1 -1
- package/build/inputs/TextArea.mjs.map +1 -1
- package/build/inputs/_BottomSheet.js.map +1 -1
- package/build/inputs/_BottomSheet.mjs.map +1 -1
- package/build/inputs/_ButtonInput.js.map +1 -1
- package/build/inputs/_ButtonInput.mjs.map +1 -1
- package/build/inputs/_Popover.js.map +1 -1
- package/build/inputs/_Popover.mjs.map +1 -1
- package/build/inputs/_common.js.map +1 -1
- package/build/inputs/_common.mjs.map +1 -1
- package/build/inputs/contexts.js.map +1 -1
- package/build/inputs/contexts.mjs.map +1 -1
- package/build/instructionsList/InstructionsList.js +18 -0
- package/build/instructionsList/InstructionsList.js.map +1 -1
- package/build/instructionsList/InstructionsList.mjs +18 -0
- package/build/instructionsList/InstructionsList.mjs.map +1 -1
- package/build/label/Label.js +0 -10
- package/build/label/Label.js.map +1 -1
- package/build/label/Label.messages.js.map +1 -1
- package/build/label/Label.messages.mjs.map +1 -1
- package/build/label/Label.mjs +0 -10
- package/build/label/Label.mjs.map +1 -1
- package/build/legacylistItem/LegacyListItem.js +0 -8
- package/build/legacylistItem/LegacyListItem.js.map +1 -1
- package/build/legacylistItem/LegacyListItem.mjs +0 -8
- package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
- package/build/link/Link.js +18 -5
- package/build/link/Link.js.map +1 -1
- package/build/link/Link.messages.js.map +1 -1
- package/build/link/Link.messages.mjs.map +1 -1
- package/build/link/Link.mjs +18 -5
- package/build/link/Link.mjs.map +1 -1
- package/build/list/List.js.map +1 -1
- package/build/list/List.mjs.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +18 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +18 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +0 -7
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +0 -7
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.js +0 -7
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.mjs +0 -7
- package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
- package/build/listItem/Button/ListItemButton.js +0 -7
- package/build/listItem/Button/ListItemButton.js.map +1 -1
- package/build/listItem/Button/ListItemButton.mjs +0 -7
- package/build/listItem/Button/ListItemButton.mjs.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.js +0 -7
- package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.mjs +0 -7
- package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.js +0 -7
- package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.mjs +0 -7
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
- package/build/listItem/Image/ListItemImage.js +0 -9
- package/build/listItem/Image/ListItemImage.js.map +1 -1
- package/build/listItem/Image/ListItemImage.mjs +0 -9
- package/build/listItem/Image/ListItemImage.mjs.map +1 -1
- package/build/listItem/ListItem.js +17 -7
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs +17 -7
- package/build/listItem/ListItem.mjs.map +1 -1
- package/build/listItem/ListItemContext.js.map +1 -1
- package/build/listItem/ListItemContext.mjs.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.js +0 -8
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs +0 -8
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.js +18 -6
- package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs +18 -6
- package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
- package/build/listItem/Radio/ListItemRadio.js +0 -7
- package/build/listItem/Radio/ListItemRadio.js.map +1 -1
- package/build/listItem/Radio/ListItemRadio.mjs +0 -7
- package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.js +0 -7
- package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.mjs +0 -7
- package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -1
- package/build/listItem/useListItemControl.js.map +1 -1
- package/build/listItem/useListItemControl.mjs.map +1 -1
- package/build/listItem/useListItemMedia.js.map +1 -1
- package/build/listItem/useListItemMedia.mjs.map +1 -1
- package/build/loader/Loader.js +18 -10
- package/build/loader/Loader.js.map +1 -1
- package/build/loader/Loader.mjs +18 -10
- package/build/loader/Loader.mjs.map +1 -1
- package/build/logo/Logo.js +3 -4
- package/build/logo/Logo.js.map +1 -1
- package/build/logo/Logo.mjs +3 -3
- package/build/logo/Logo.mjs.map +1 -1
- package/build/logo/logo-assets.js.map +1 -1
- package/build/logo/logo-assets.mjs.map +1 -1
- package/build/markdown/Markdown.js +32 -14
- package/build/markdown/Markdown.js.map +1 -1
- package/build/markdown/Markdown.mjs +18 -0
- package/build/markdown/Markdown.mjs.map +1 -1
- package/build/mocks.js.map +1 -1
- package/build/mocks.mjs.map +1 -1
- package/build/modal/Modal.js +15 -0
- package/build/modal/Modal.js.map +1 -1
- package/build/modal/Modal.mjs +15 -0
- package/build/modal/Modal.mjs.map +1 -1
- package/build/money/Money.js.map +1 -1
- package/build/money/Money.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.js +17 -0
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +17 -0
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/moneyInput/currencyFormatting.js +2 -2
- package/build/moneyInput/currencyFormatting.js.map +1 -1
- package/build/moneyInput/currencyFormatting.mjs.map +1 -1
- package/build/navigationOption/NavigationOption.js +18 -8
- package/build/navigationOption/NavigationOption.js.map +1 -1
- package/build/navigationOption/NavigationOption.mjs +18 -8
- package/build/navigationOption/NavigationOption.mjs.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.js +0 -9
- package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.mjs +0 -9
- package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
- package/build/nudge/Nudge.js +18 -1
- package/build/nudge/Nudge.js.map +1 -1
- package/build/nudge/Nudge.mjs +18 -1
- package/build/nudge/Nudge.mjs.map +1 -1
- package/build/overlayHeader/OverlayHeader.js +18 -0
- package/build/overlayHeader/OverlayHeader.js.map +1 -1
- package/build/overlayHeader/OverlayHeader.mjs +18 -0
- package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +19 -3
- package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs +19 -3
- package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/phoneNumberInput/data/countries.js.map +1 -1
- package/build/phoneNumberInput/data/countries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js +0 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs +0 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.js.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.mjs.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js +0 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs +0 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.mjs.map +1 -1
- package/build/popover/Popover.js +17 -0
- package/build/popover/Popover.js.map +1 -1
- package/build/popover/Popover.mjs +17 -0
- package/build/popover/Popover.mjs.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js +0 -10
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs +0 -10
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.js +0 -10
- package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs +0 -10
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
- package/build/processIndicator/ProcessIndicator.js +18 -3
- package/build/processIndicator/ProcessIndicator.js.map +1 -1
- package/build/processIndicator/ProcessIndicator.mjs +18 -3
- package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
- package/build/progress/Progress.js.map +1 -1
- package/build/progress/Progress.mjs.map +1 -1
- package/build/progressBar/ProgressBar.js +18 -0
- package/build/progressBar/ProgressBar.js.map +1 -1
- package/build/progressBar/ProgressBar.mjs +18 -0
- package/build/progressBar/ProgressBar.mjs.map +1 -1
- package/build/promoCard/PromoCard.js +18 -47
- package/build/promoCard/PromoCard.js.map +1 -1
- package/build/promoCard/PromoCard.mjs +18 -47
- package/build/promoCard/PromoCard.mjs.map +1 -1
- package/build/promoCard/PromoCardContext.js +0 -11
- package/build/promoCard/PromoCardContext.js.map +1 -1
- package/build/promoCard/PromoCardContext.mjs +0 -11
- package/build/promoCard/PromoCardContext.mjs.map +1 -1
- package/build/promoCard/PromoCardGroup.js +0 -21
- package/build/promoCard/PromoCardGroup.js.map +1 -1
- package/build/promoCard/PromoCardGroup.mjs +0 -21
- package/build/promoCard/PromoCardGroup.mjs.map +1 -1
- package/build/promoCard/PromoCardIndicator.js +18 -16
- package/build/promoCard/PromoCardIndicator.js.map +1 -1
- package/build/promoCard/PromoCardIndicator.mjs +18 -16
- package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js +18 -6
- package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs +18 -6
- package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
- package/build/provider/Provider.js +19 -0
- package/build/provider/Provider.js.map +1 -1
- package/build/provider/Provider.mjs +19 -0
- package/build/provider/Provider.mjs.map +1 -1
- package/build/provider/direction/DirectionProvider.js.map +1 -1
- package/build/provider/direction/DirectionProvider.mjs.map +1 -1
- package/build/provider/language/LanguageProvider.js.map +1 -1
- package/build/provider/language/LanguageProvider.mjs.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.js.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.mjs.map +1 -1
- package/build/radio/Radio.js +18 -0
- package/build/radio/Radio.js.map +1 -1
- package/build/radio/Radio.mjs +18 -0
- package/build/radio/Radio.mjs.map +1 -1
- package/build/radioGroup/RadioGroup.js.map +1 -1
- package/build/radioGroup/RadioGroup.mjs.map +1 -1
- package/build/radioOption/RadioOption.js +0 -8
- package/build/radioOption/RadioOption.js.map +1 -1
- package/build/radioOption/RadioOption.mjs +0 -8
- package/build/radioOption/RadioOption.mjs.map +1 -1
- package/build/section/Section.js +0 -5
- package/build/section/Section.js.map +1 -1
- package/build/section/Section.mjs +0 -5
- package/build/section/Section.mjs.map +1 -1
- package/build/segmentedControl/SegmentedControl.js +18 -2
- package/build/segmentedControl/SegmentedControl.js.map +1 -1
- package/build/segmentedControl/SegmentedControl.mjs +18 -2
- package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
- package/build/select/Select.js +18 -3
- package/build/select/Select.js.map +1 -1
- package/build/select/Select.messages.js.map +1 -1
- package/build/select/Select.messages.mjs.map +1 -1
- package/build/select/Select.mjs +18 -3
- package/build/select/Select.mjs.map +1 -1
- package/build/select/option/Option.js +18 -0
- package/build/select/option/Option.js.map +1 -1
- package/build/select/option/Option.mjs +18 -0
- package/build/select/option/Option.mjs.map +1 -1
- package/build/select/searchBox/SearchBox.js.map +1 -1
- package/build/select/searchBox/SearchBox.mjs.map +1 -1
- package/build/sentimentSurface/SentimentSurface.js +0 -28
- package/build/sentimentSurface/SentimentSurface.js.map +1 -1
- package/build/sentimentSurface/SentimentSurface.mjs +0 -28
- package/build/sentimentSurface/SentimentSurface.mjs.map +1 -1
- package/build/slidingPanel/SlidingPanel.js.map +1 -1
- package/build/slidingPanel/SlidingPanel.mjs.map +1 -1
- package/build/snackbar/Snackbar.js.map +1 -1
- package/build/snackbar/Snackbar.mjs.map +1 -1
- package/build/snackbar/SnackbarContext.js.map +1 -1
- package/build/snackbar/SnackbarContext.mjs.map +1 -1
- package/build/snackbar/SnackbarProvider.js.map +1 -1
- package/build/snackbar/SnackbarProvider.mjs.map +1 -1
- package/build/snackbar/useSnackbar.js.map +1 -1
- package/build/snackbar/useSnackbar.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.js +15 -0
- package/build/statusIcon/StatusIcon.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.mjs +15 -0
- package/build/statusIcon/StatusIcon.mjs.map +1 -1
- package/build/stepper/Stepper.js +18 -0
- package/build/stepper/Stepper.js.map +1 -1
- package/build/stepper/Stepper.mjs +18 -0
- package/build/stepper/Stepper.mjs.map +1 -1
- package/build/stepper/deviceDetection.js.map +1 -1
- package/build/stepper/deviceDetection.mjs.map +1 -1
- package/build/sticky/Sticky.js +18 -22
- package/build/sticky/Sticky.js.map +1 -1
- package/build/sticky/Sticky.mjs +18 -22
- package/build/sticky/Sticky.mjs.map +1 -1
- package/build/summary/Summary.js +16 -0
- package/build/summary/Summary.js.map +1 -1
- package/build/summary/Summary.messages.js.map +1 -1
- package/build/summary/Summary.messages.mjs.map +1 -1
- package/build/summary/Summary.mjs +16 -0
- package/build/summary/Summary.mjs.map +1 -1
- package/build/switch/Switch.js.map +1 -1
- package/build/switch/Switch.mjs.map +1 -1
- package/build/switchOption/SwitchOption.js +0 -1
- package/build/switchOption/SwitchOption.js.map +1 -1
- package/build/switchOption/SwitchOption.mjs +0 -1
- package/build/switchOption/SwitchOption.mjs.map +1 -1
- package/build/table/Table.js +17 -1
- package/build/table/Table.js.map +1 -1
- package/build/table/Table.messages.js.map +1 -1
- package/build/table/Table.messages.mjs.map +1 -1
- package/build/table/Table.mjs +17 -1
- package/build/table/Table.mjs.map +1 -1
- package/build/table/TableCell.js.map +1 -1
- package/build/table/TableCell.mjs.map +1 -1
- package/build/table/TableHeader.js +0 -1
- package/build/table/TableHeader.js.map +1 -1
- package/build/table/TableHeader.mjs +0 -1
- package/build/table/TableHeader.mjs.map +1 -1
- package/build/table/TableRow.js +18 -0
- package/build/table/TableRow.js.map +1 -1
- package/build/table/TableRow.mjs +18 -0
- package/build/table/TableRow.mjs.map +1 -1
- package/build/table/TableStatusText.js +18 -0
- package/build/table/TableStatusText.js.map +1 -1
- package/build/table/TableStatusText.mjs +18 -0
- package/build/table/TableStatusText.mjs.map +1 -1
- package/build/tabs/Tab.js.map +1 -1
- package/build/tabs/Tab.mjs.map +1 -1
- package/build/tabs/TabList.js.map +1 -1
- package/build/tabs/TabList.mjs.map +1 -1
- package/build/tabs/TabPanel.js.map +1 -1
- package/build/tabs/TabPanel.mjs.map +1 -1
- package/build/tabs/Tabs.js +17 -3
- package/build/tabs/Tabs.js.map +1 -1
- package/build/tabs/Tabs.mjs +17 -3
- package/build/tabs/Tabs.mjs.map +1 -1
- package/build/tabs/utils.js +0 -1
- package/build/tabs/utils.js.map +1 -1
- package/build/tabs/utils.mjs +0 -1
- package/build/tabs/utils.mjs.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.mjs.map +1 -1
- package/build/tile/Tile.js +18 -0
- package/build/tile/Tile.js.map +1 -1
- package/build/tile/Tile.mjs +18 -0
- package/build/tile/Tile.mjs.map +1 -1
- package/build/title/Title.js +18 -0
- package/build/title/Title.js.map +1 -1
- package/build/title/Title.mjs +18 -0
- package/build/title/Title.mjs.map +1 -1
- package/build/tooltip/Tooltip.js +18 -1
- package/build/tooltip/Tooltip.js.map +1 -1
- package/build/tooltip/Tooltip.mjs +18 -1
- package/build/tooltip/Tooltip.mjs.map +1 -1
- package/build/typeahead/Typeahead.js +17 -0
- package/build/typeahead/Typeahead.js.map +1 -1
- package/build/typeahead/Typeahead.messages.js.map +1 -1
- package/build/typeahead/Typeahead.messages.mjs.map +1 -1
- package/build/typeahead/Typeahead.mjs +17 -0
- package/build/typeahead/Typeahead.mjs.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.js.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.mjs.map +1 -1
- package/build/typeahead/util/highlight.js.map +1 -1
- package/build/typeahead/util/highlight.mjs.map +1 -1
- package/build/types/accordion/Accordion.d.ts.map +1 -0
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/build/types/accordion/AccordionItem/index.d.ts.map +1 -0
- package/build/types/accordion/index.d.ts.map +1 -0
- package/build/types/actionButton/ActionButton.d.ts.map +1 -0
- package/build/types/actionButton/index.d.ts.map +1 -0
- package/build/types/actionOption/ActionOption.d.ts.map +1 -0
- package/build/types/actionOption/index.d.ts.map +1 -0
- package/build/types/alert/Alert.d.ts.map +1 -0
- package/build/types/alert/index.d.ts.map +1 -0
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
- package/build/types/alert/inlineMarkdown/index.d.ts.map +1 -0
- package/build/types/avatar/Avatar.d.ts.map +1 -0
- package/build/types/avatar/avatarTypes.d.ts.map +1 -0
- package/build/types/avatar/index.d.ts.map +1 -0
- package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -0
- package/build/types/avatarLayout/index.d.ts.map +1 -0
- package/build/types/avatarView/AvatarView.d.ts.map +1 -0
- package/build/types/avatarView/Dot.d.ts.map +1 -0
- package/build/types/avatarView/index.d.ts.map +1 -0
- package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
- package/build/types/avatarWrapper/index.d.ts.map +1 -0
- package/build/types/badge/Badge.d.ts.map +1 -0
- package/build/types/badge/BadgeAssets.d.ts.map +1 -0
- package/build/types/badge/index.d.ts.map +1 -0
- package/build/types/body/Body.d.ts.map +1 -0
- package/build/types/body/index.d.ts.map +1 -0
- package/build/types/button/Button.d.ts.map +1 -0
- package/build/types/button/Button.resolver.d.ts.map +1 -0
- package/build/types/button/Button.types.d.ts.map +1 -0
- package/build/types/button/LegacyButton.d.ts.map +1 -0
- package/build/types/button/_stories/helpers.d.ts.map +1 -0
- package/build/types/button/classMap.d.ts.map +1 -0
- package/build/types/button/index.d.ts.map +1 -0
- package/build/types/button/legacyUtils/index.d.ts.map +1 -0
- package/build/types/button/legacyUtils/legacyUtils.d.ts.map +1 -0
- package/build/types/card/Card.d.ts.map +1 -0
- package/build/types/card/index.d.ts.map +1 -0
- package/build/types/carousel/Carousel.d.ts.map +1 -0
- package/build/types/carousel/index.d.ts.map +1 -0
- package/build/types/checkbox/Checkbox.d.ts.map +1 -0
- package/build/types/checkbox/index.d.ts.map +1 -0
- package/build/types/checkboxButton/CheckboxButton.d.ts.map +1 -0
- package/build/types/checkboxButton/index.d.ts.map +1 -0
- package/build/types/checkboxOption/CheckboxOption.d.ts.map +1 -0
- package/build/types/checkboxOption/index.d.ts.map +1 -0
- package/build/types/chevron/Chevron.d.ts.map +1 -0
- package/build/types/chevron/index.d.ts.map +1 -0
- package/build/types/chips/Chip.d.ts.map +1 -0
- package/build/types/chips/Chips.d.ts.map +1 -0
- package/build/types/chips/Chips.messages.d.ts.map +1 -0
- package/build/types/chips/index.d.ts.map +1 -0
- package/build/types/circularButton/CircularButton.d.ts.map +1 -0
- package/build/types/circularButton/index.d.ts.map +1 -0
- package/build/types/common/DOMOperations/DOMOperations.d.ts.map +1 -0
- package/build/types/common/DOMOperations/index.d.ts.map +1 -0
- package/build/types/common/Option/Option.d.ts.map +1 -0
- package/build/types/common/Option/index.d.ts.map +1 -0
- package/build/types/common/RadioButton/RadioButton.d.ts.map +1 -0
- package/build/types/common/RadioButton/index.d.ts.map +1 -0
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -0
- package/build/types/common/bottomSheet/index.d.ts.map +1 -0
- package/build/types/common/card/Card.d.ts.map +1 -0
- package/build/types/common/card/index.d.ts.map +1 -0
- package/build/types/common/circle/Circle.d.ts.map +1 -0
- package/build/types/common/circle/index.d.ts.map +1 -0
- package/build/types/common/closeButton/CloseButton.d.ts.map +1 -0
- package/build/types/common/closeButton/CloseButton.messages.d.ts.map +1 -0
- package/build/types/common/closeButton/index.d.ts.map +1 -0
- package/build/types/common/colors.d.ts.map +1 -0
- package/build/types/common/commonProps.d.ts.map +1 -0
- package/build/types/common/constants.d.ts.map +1 -0
- package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
- package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
- package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
- package/build/types/common/dateUtils/index.d.ts.map +1 -0
- package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
- package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
- package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
- package/build/types/common/deviceDetection/deviceDetection.d.ts.map +1 -0
- package/build/types/common/deviceDetection/index.d.ts.map +1 -0
- package/build/types/common/direction.d.ts.map +1 -0
- package/build/types/common/domHelpers/documentIosClick.d.ts.map +1 -0
- package/build/types/common/domHelpers/index.d.ts.map +1 -0
- package/build/types/common/fakeEvents.d.ts.map +1 -0
- package/build/types/common/fileType.d.ts.map +1 -0
- package/build/types/common/flowHeader/FlowHeader.d.ts.map +1 -0
- package/build/types/common/flowHeader/index.d.ts.map +1 -0
- package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
- package/build/types/common/focusBoundary/index.d.ts.map +1 -0
- package/build/types/common/historyNavigator/historyNavigator.d.ts.map +1 -0
- package/build/types/common/historyNavigator/index.d.ts.map +1 -0
- package/build/types/common/hooks/index.d.ts.map +1 -0
- package/build/types/common/hooks/useConditionalListener/index.d.ts.map +1 -0
- package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
- package/build/types/common/hooks/useDirection/index.d.ts.map +1 -0
- package/build/types/common/hooks/useDirection/useDirection.d.ts.map +1 -0
- package/build/types/common/hooks/useEffectEvent.d.ts.map +1 -0
- package/build/types/common/hooks/useHasIntersected/index.d.ts.map +1 -0
- package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
- package/build/types/common/hooks/useLayout/index.d.ts.map +1 -0
- package/build/types/common/hooks/useLayout/useLayout.d.ts.map +1 -0
- package/build/types/common/hooks/useMedia.d.ts.map +1 -0
- package/build/types/common/hooks/useResizeObserver.d.ts.map +1 -0
- package/build/types/common/hooks/useScreenSize.d.ts.map +1 -0
- package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
- package/build/types/common/index.d.ts.map +1 -0
- package/build/types/common/initials.d.ts.map +1 -0
- package/build/types/common/locale/index.d.ts.map +1 -0
- package/build/types/common/panel/Panel.d.ts.map +1 -0
- package/build/types/common/panel/index.d.ts.map +1 -0
- package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
- package/build/types/common/preventScroll/PreventScroll.d.ts.map +1 -0
- package/build/types/common/propsValues/breakpoint.d.ts.map +1 -0
- package/build/types/common/propsValues/control.d.ts.map +1 -0
- package/build/types/common/propsValues/dateMode.d.ts.map +1 -0
- package/build/types/common/propsValues/layouts.d.ts.map +1 -0
- package/build/types/common/propsValues/markdownNodeType.d.ts.map +1 -0
- package/build/types/common/propsValues/monthFormat.d.ts.map +1 -0
- package/build/types/common/propsValues/position.d.ts.map +1 -0
- package/build/types/common/propsValues/profileType.d.ts.map +1 -0
- package/build/types/common/propsValues/scroll.d.ts.map +1 -0
- package/build/types/common/propsValues/sentiment.d.ts.map +1 -0
- package/build/types/common/propsValues/size.d.ts.map +1 -0
- package/build/types/common/propsValues/status.d.ts.map +1 -0
- package/build/types/common/propsValues/type.d.ts.map +1 -0
- package/build/types/common/propsValues/typography.d.ts.map +1 -0
- package/build/types/common/propsValues/variant.d.ts.map +1 -0
- package/build/types/common/propsValues/width.d.ts.map +1 -0
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
- package/build/types/common/responsivePanel/index.d.ts.map +1 -0
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
- package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
- package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
- package/build/types/common/textFormat/index.d.ts.map +1 -0
- package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
- package/build/types/common/theme.d.ts.map +1 -0
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
- package/build/types/criticalBanner/index.d.ts.map +1 -0
- package/build/types/dateInput/DateInput.d.ts.map +1 -0
- package/build/types/dateInput/DateInput.messages.d.ts.map +1 -0
- package/build/types/dateInput/index.d.ts.map +1 -0
- package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
- package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
- package/build/types/dateInput/utils/index.d.ts.map +1 -0
- package/build/types/dateLookup/DateLookup.d.ts.map +1 -0
- package/build/types/dateLookup/DateLookup.messages.d.ts.map +1 -0
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
- package/build/types/dateLookup/dateHeader/index.d.ts.map +1 -0
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
- package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
- package/build/types/dateLookup/dateTrigger/index.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/index.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
- package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
- package/build/types/dateLookup/getStartOfDay/index.d.ts.map +1 -0
- package/build/types/dateLookup/index.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/index.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
- package/build/types/dateLookup/tableLink/TableLink.d.ts.map +1 -0
- package/build/types/dateLookup/tableLink/index.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/index.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
- package/build/types/decision/Decision.d.ts.map +1 -0
- package/build/types/decision/index.d.ts.map +1 -0
- package/build/types/definitionList/DefinitionList.d.ts.map +1 -0
- package/build/types/definitionList/index.d.ts.map +1 -0
- package/build/types/dimmer/Dimmer.d.ts.map +1 -0
- package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
- package/build/types/dimmer/dimmerManager/index.d.ts.map +1 -0
- package/build/types/dimmer/index.d.ts.map +1 -0
- package/build/types/display/Display.d.ts.map +1 -0
- package/build/types/display/index.d.ts.map +1 -0
- package/build/types/divider/Divider.d.ts.map +1 -0
- package/build/types/divider/index.d.ts.map +1 -0
- package/build/types/drawer/Drawer.d.ts.map +1 -0
- package/build/types/drawer/index.d.ts.map +1 -0
- package/build/types/dropFade/DropFade.d.ts.map +1 -0
- package/build/types/dropFade/index.d.ts.map +1 -0
- package/build/types/emphasis/Emphasis.d.ts.map +1 -0
- package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
- package/build/types/emphasis/index.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/index.d.ts.map +1 -0
- package/build/types/field/Field.d.ts.map +1 -0
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -0
- package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
- package/build/types/flowNavigation/animatedLabel/index.d.ts.map +1 -0
- package/build/types/header/Header.d.ts.map +1 -0
- package/build/types/header/index.d.ts.map +1 -0
- package/build/types/i18n/commonMessages/Button.messages.d.ts.map +1 -0
- package/build/types/i18n/index.d.ts.map +1 -0
- package/build/types/iconButton/IconButton.d.ts.map +1 -0
- package/build/types/iconButton/index.d.ts.map +1 -0
- package/build/types/image/Image.d.ts.map +1 -0
- package/build/types/image/index.d.ts.map +1 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/info/Info.d.ts.map +1 -0
- package/build/types/info/Info.messages.d.ts.map +1 -0
- package/build/types/info/index.d.ts.map +1 -0
- package/build/types/info/infoPresentations.d.ts.map +1 -0
- package/build/types/inlineAlert/InlineAlert.d.ts.map +1 -0
- package/build/types/inlineAlert/index.d.ts.map +1 -0
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
- package/build/types/inputWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/inputs/Input.d.ts.map +1 -0
- package/build/types/inputs/InputGroup.d.ts.map +1 -0
- package/build/types/inputs/SearchInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput.messages.d.ts.map +1 -0
- package/build/types/inputs/TextArea.d.ts.map +1 -0
- package/build/types/inputs/_BottomSheet.d.ts.map +1 -0
- package/build/types/inputs/_ButtonInput.d.ts.map +1 -0
- package/build/types/inputs/_Popover.d.ts.map +1 -0
- package/build/types/inputs/_common.d.ts.map +1 -0
- package/build/types/inputs/contexts.d.ts.map +1 -0
- package/build/types/instructionsList/InstructionsList.d.ts.map +1 -0
- package/build/types/instructionsList/index.d.ts.map +1 -0
- package/build/types/label/Label.d.ts.map +1 -0
- package/build/types/label/Label.messages.d.ts.map +1 -0
- package/build/types/label/index.d.ts.map +1 -0
- package/build/types/legacylistItem/LegacyListItem.d.ts.map +1 -0
- package/build/types/legacylistItem/index.d.ts.map +1 -0
- package/build/types/link/Link.d.ts.map +1 -0
- package/build/types/link/Link.messages.d.ts.map +1 -0
- package/build/types/link/index.d.ts.map +1 -0
- package/build/types/list/List.d.ts.map +1 -0
- package/build/types/list/index.d.ts.map +1 -0
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/listItem/AdditionalInfo/index.d.ts.map +1 -0
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
- package/build/types/listItem/AvatarLayout/index.d.ts.map +1 -0
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
- package/build/types/listItem/AvatarView/index.d.ts.map +1 -0
- package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -0
- package/build/types/listItem/Button/index.d.ts.map +1 -0
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/listItem/Checkbox/index.d.ts.map +1 -0
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
- package/build/types/listItem/IconButton/index.d.ts.map +1 -0
- package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -0
- package/build/types/listItem/Image/index.d.ts.map +1 -0
- package/build/types/listItem/ListItem.d.ts.map +1 -0
- package/build/types/listItem/ListItemContext.d.ts.map +1 -0
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
- package/build/types/listItem/Navigation/index.d.ts.map +1 -0
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
- package/build/types/listItem/Prompt/index.d.ts.map +1 -0
- package/build/types/listItem/Radio/ListItemRadio.d.ts.map +1 -0
- package/build/types/listItem/Radio/index.d.ts.map +1 -0
- package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
- package/build/types/listItem/Switch/index.d.ts.map +1 -0
- package/build/types/listItem/_stories/helpers.d.ts.map +1 -0
- package/build/types/listItem/_stories/subcomponents.d.ts.map +1 -0
- package/build/types/listItem/_stories/variants/helpers.d.ts.map +1 -0
- package/build/types/listItem/constants.d.ts.map +1 -0
- package/build/types/listItem/index.d.ts.map +1 -0
- package/build/types/listItem/test-utils.d.ts.map +1 -0
- package/build/types/listItem/useListItemControl.d.ts.map +1 -0
- package/build/types/listItem/useListItemMedia.d.ts.map +1 -0
- package/build/types/loader/Loader.d.ts.map +1 -0
- package/build/types/loader/index.d.ts.map +1 -0
- package/build/types/logo/Logo.d.ts.map +1 -0
- package/build/types/logo/index.d.ts.map +1 -0
- package/build/types/logo/logo-assets.d.ts.map +1 -0
- package/build/types/markdown/Markdown.d.ts.map +1 -0
- package/build/types/markdown/index.d.ts.map +1 -0
- package/build/types/mocks.d.ts.map +1 -0
- package/build/types/modal/Modal.d.ts.map +1 -0
- package/build/types/modal/index.d.ts.map +1 -0
- package/build/types/money/Money.d.ts.map +1 -0
- package/build/types/money/index.d.ts.map +1 -0
- package/build/types/moneyInput/MoneyInput.d.ts.map +1 -0
- package/build/types/moneyInput/MoneyInput.messages.d.ts.map +1 -0
- package/build/types/moneyInput/currencyFormatting.d.ts.map +1 -0
- package/build/types/moneyInput/index.d.ts.map +1 -0
- package/build/types/navigationOption/NavigationOption.d.ts.map +1 -0
- package/build/types/navigationOption/index.d.ts.map +1 -0
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
- package/build/types/navigationOptionsList/index.d.ts.map +1 -0
- package/build/types/nudge/Nudge.d.ts.map +1 -0
- package/build/types/nudge/index.d.ts.map +1 -0
- package/build/types/overlayHeader/OverlayHeader.d.ts.map +1 -0
- package/build/types/overlayHeader/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
- package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
- package/build/types/phoneNumberInput/data/countries.d.ts.map +1 -0
- package/build/types/phoneNumberInput/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
- package/build/types/popover/Popover.d.ts.map +1 -0
- package/build/types/popover/index.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveButton/index.d.ts.map +1 -0
- package/build/types/primitives/index.d.ts.map +1 -0
- package/build/types/primitives/types.d.ts.map +1 -0
- package/build/types/processIndicator/ProcessIndicator.d.ts.map +1 -0
- package/build/types/processIndicator/index.d.ts.map +1 -0
- package/build/types/progress/Progress.d.ts.map +1 -0
- package/build/types/progress/index.d.ts.map +1 -0
- package/build/types/progressBar/ProgressBar.d.ts.map +1 -0
- package/build/types/progressBar/index.d.ts.map +1 -0
- package/build/types/promoCard/PromoCard.d.ts.map +1 -0
- package/build/types/promoCard/PromoCardContext.d.ts.map +1 -0
- package/build/types/promoCard/PromoCardGroup.d.ts.map +1 -0
- package/build/types/promoCard/PromoCardIndicator.d.ts.map +1 -0
- package/build/types/promoCard/index.d.ts.map +1 -0
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
- package/build/types/prompt/InlinePrompt/index.d.ts.map +1 -0
- package/build/types/prompt/index.d.ts.map +1 -0
- package/build/types/provider/Provider.d.ts.map +1 -0
- package/build/types/provider/direction/DirectionProvider.d.ts.map +1 -0
- package/build/types/provider/direction/index.d.ts.map +1 -0
- package/build/types/provider/index.d.ts.map +1 -0
- package/build/types/provider/language/LanguageProvider.d.ts.map +1 -0
- package/build/types/provider/language/index.d.ts.map +1 -0
- package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
- package/build/types/radio/Radio.d.ts.map +1 -0
- package/build/types/radio/index.d.ts.map +1 -0
- package/build/types/radioGroup/RadioGroup.d.ts.map +1 -0
- package/build/types/radioGroup/index.d.ts.map +1 -0
- package/build/types/radioOption/RadioOption.d.ts.map +1 -0
- package/build/types/radioOption/index.d.ts.map +1 -0
- package/build/types/section/Section.d.ts.map +1 -0
- package/build/types/section/index.d.ts.map +1 -0
- package/build/types/segmentedControl/SegmentedControl.d.ts.map +1 -0
- package/build/types/segmentedControl/index.d.ts.map +1 -0
- package/build/types/select/Select.d.ts.map +1 -0
- package/build/types/select/Select.messages.d.ts.map +1 -0
- package/build/types/select/index.d.ts.map +1 -0
- package/build/types/select/option/Option.d.ts.map +1 -0
- package/build/types/select/option/index.d.ts.map +1 -0
- package/build/types/select/searchBox/SearchBox.d.ts.map +1 -0
- package/build/types/select/searchBox/index.d.ts.map +1 -0
- package/build/types/sentimentSurface/SentimentSurface.d.ts.map +1 -0
- package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
- package/build/types/sentimentSurface/index.d.ts.map +1 -0
- package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -0
- package/build/types/slidingPanel/index.d.ts.map +1 -0
- package/build/types/snackbar/Snackbar.d.ts.map +1 -0
- package/build/types/snackbar/SnackbarContext.d.ts.map +1 -0
- package/build/types/snackbar/SnackbarProvider.d.ts.map +1 -0
- package/build/types/snackbar/index.d.ts.map +1 -0
- package/build/types/snackbar/useSnackbar.d.ts.map +1 -0
- package/build/types/statusIcon/StatusIcon.d.ts.map +1 -0
- package/build/types/statusIcon/StatusIcon.messages.d.ts.map +1 -0
- package/build/types/statusIcon/index.d.ts.map +1 -0
- package/build/types/stepper/Stepper.d.ts.map +1 -0
- package/build/types/stepper/deviceDetection.d.ts.map +1 -0
- package/build/types/sticky/Sticky.d.ts.map +1 -0
- package/build/types/sticky/index.d.ts.map +1 -0
- package/build/types/summary/Summary.d.ts.map +1 -0
- package/build/types/summary/Summary.messages.d.ts.map +1 -0
- package/build/types/summary/index.d.ts.map +1 -0
- package/build/types/switch/Switch.d.ts.map +1 -0
- package/build/types/switch/index.d.ts.map +1 -0
- package/build/types/switchOption/SwitchOption.d.ts.map +1 -0
- package/build/types/switchOption/index.d.ts.map +1 -0
- package/build/types/table/Table.d.ts.map +1 -0
- package/build/types/table/Table.messages.d.ts.map +1 -0
- package/build/types/table/TableCell.d.ts.map +1 -0
- package/build/types/table/TableHeader.d.ts.map +1 -0
- package/build/types/table/TableRow.d.ts.map +1 -0
- package/build/types/table/TableStatusText.d.ts.map +1 -0
- package/build/types/table/index.d.ts.map +1 -0
- package/build/types/tabs/Tab.d.ts.map +1 -0
- package/build/types/tabs/TabList.d.ts.map +1 -0
- package/build/types/tabs/TabPanel.d.ts.map +1 -0
- package/build/types/tabs/Tabs.d.ts.map +1 -0
- package/build/types/tabs/index.d.ts.map +1 -0
- package/build/types/tabs/utils.d.ts.map +1 -0
- package/build/types/test-utils/fake-data.d.ts.map +1 -0
- package/build/types/test-utils/index.d.ts.map +1 -0
- package/build/types/test-utils/jest.setup.d.ts.map +1 -0
- package/build/types/test-utils/style-mock.d.ts.map +1 -0
- package/build/types/test-utils/wait.d.ts.map +1 -0
- package/build/types/test-utils/window-mock.d.ts.map +1 -0
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
- package/build/types/textareaWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/tile/Tile.d.ts.map +1 -0
- package/build/types/tile/index.d.ts.map +1 -0
- package/build/types/title/Title.d.ts.map +1 -0
- package/build/types/title/index.d.ts.map +1 -0
- package/build/types/tooltip/Tooltip.d.ts.map +1 -0
- package/build/types/tooltip/index.d.ts.map +1 -0
- package/build/types/typeahead/Typeahead.d.ts.map +1 -0
- package/build/types/typeahead/Typeahead.messages.d.ts.map +1 -0
- package/build/types/typeahead/index.d.ts.map +1 -0
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
- package/build/types/typeahead/util/highlight.d.ts.map +1 -0
- package/build/types/upload/Upload.d.ts.map +1 -0
- package/build/types/upload/Upload.messages.d.ts.map +1 -0
- package/build/types/upload/index.d.ts.map +1 -0
- package/build/types/upload/steps/completeStep/completeStep.d.ts.map +1 -0
- package/build/types/upload/steps/completeStep/index.d.ts.map +1 -0
- package/build/types/upload/steps/index.d.ts.map +1 -0
- package/build/types/upload/steps/processingStep/index.d.ts.map +1 -0
- package/build/types/upload/steps/processingStep/processingStep.d.ts.map +1 -0
- package/build/types/upload/steps/uploadImageStep/index.d.ts.map +1 -0
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
- package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
- package/build/types/upload/utils/asyncFileRead/index.d.ts.map +1 -0
- package/build/types/upload/utils/getFileType/getFileType.d.ts.map +1 -0
- package/build/types/upload/utils/getFileType/index.d.ts.map +1 -0
- package/build/types/upload/utils/index.d.ts.map +1 -0
- package/build/types/upload/utils/isSizeValid/index.d.ts.map +1 -0
- package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
- package/build/types/upload/utils/isTypeValid/index.d.ts.map +1 -0
- package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
- package/build/types/upload/utils/postData/index.d.ts.map +1 -0
- package/build/types/upload/utils/postData/postData.d.ts.map +1 -0
- package/build/types/uploadInput/UploadInput.d.ts.map +1 -0
- package/build/types/uploadInput/UploadInput.messages.d.ts.map +1 -0
- package/build/types/uploadInput/index.d.ts.map +1 -0
- package/build/types/uploadInput/types.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/defaults.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
- package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
- package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
- package/build/types/utilities/cssValueWithUnit.d.ts.map +1 -0
- package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
- package/build/types/utilities/deprecatedProperty/index.d.ts.map +1 -0
- package/build/types/utilities/index.d.ts.map +1 -0
- package/build/types/utilities/logActionRequired.d.ts.map +1 -0
- package/build/types/utils.d.ts.map +1 -0
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
- package/build/types/withDisplayFormat/index.d.ts.map +1 -0
- package/build/types/withId/index.d.ts.map +1 -0
- package/build/types/withId/story/source.d.ts.map +1 -0
- package/build/types/withId/withId.d.ts.map +1 -0
- package/build/types/withNextPortal/withNextPortal.d.ts.map +1 -0
- package/build/upload/Upload.js +21 -4
- package/build/upload/Upload.js.map +1 -1
- package/build/upload/Upload.messages.js.map +1 -1
- package/build/upload/Upload.messages.mjs.map +1 -1
- package/build/upload/Upload.mjs +21 -3
- package/build/upload/Upload.mjs.map +1 -1
- package/build/upload/steps/completeStep/completeStep.js +18 -0
- package/build/upload/steps/completeStep/completeStep.js.map +1 -1
- package/build/upload/steps/completeStep/completeStep.mjs +18 -0
- package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
- package/build/upload/steps/processingStep/processingStep.js +17 -0
- package/build/upload/steps/processingStep/processingStep.js.map +1 -1
- package/build/upload/steps/processingStep/processingStep.mjs +17 -0
- package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js +17 -0
- package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +17 -0
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.js.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.mjs.map +1 -1
- package/build/upload/utils/getFileType/getFileType.js.map +1 -1
- package/build/upload/utils/getFileType/getFileType.mjs.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.js.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.mjs.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.js.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.mjs.map +1 -1
- package/build/upload/utils/postData/postData.js.map +1 -1
- package/build/upload/utils/postData/postData.mjs.map +1 -1
- package/build/uploadInput/UploadInput.js +17 -8
- package/build/uploadInput/UploadInput.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.mjs.map +1 -1
- package/build/uploadInput/UploadInput.mjs +17 -8
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js +23 -6
- package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs +21 -3
- package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
- package/build/uploadInput/uploadButton/defaults.js +18 -0
- package/build/uploadInput/uploadButton/defaults.js.map +1 -1
- package/build/uploadInput/uploadButton/defaults.mjs +18 -0
- package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js +0 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs +0 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.js +23 -9
- package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.mjs +19 -4
- package/build/uploadInput/uploadItem/UploadItem.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.mjs.map +1 -1
- package/build/utilities/cssValueWithUnit.js.map +1 -1
- package/build/utilities/cssValueWithUnit.mjs.map +1 -1
- package/build/utilities/logActionRequired.js.map +1 -1
- package/build/utilities/logActionRequired.mjs.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.js +33 -17
- package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs +19 -3
- package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
- package/build/withId/withId.js +0 -4
- package/build/withId/withId.js.map +1 -1
- package/build/withId/withId.mjs +0 -4
- package/build/withId/withId.mjs.map +1 -1
- package/build/withNextPortal/withNextPortal.js.map +1 -1
- package/build/withNextPortal/withNextPortal.mjs.map +1 -1
- package/package.json +3 -3
- package/src/provider/theme/ThemeProvider.story.tsx +1 -0
- package/build/types/components/src/accordion/Accordion.d.ts.map +0 -1
- package/build/types/components/src/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
- package/build/types/components/src/accordion/AccordionItem/index.d.ts.map +0 -1
- package/build/types/components/src/accordion/index.d.ts.map +0 -1
- package/build/types/components/src/actionButton/ActionButton.d.ts.map +0 -1
- package/build/types/components/src/actionButton/index.d.ts.map +0 -1
- package/build/types/components/src/actionOption/ActionOption.d.ts.map +0 -1
- package/build/types/components/src/actionOption/index.d.ts.map +0 -1
- package/build/types/components/src/alert/Alert.d.ts.map +0 -1
- package/build/types/components/src/alert/index.d.ts.map +0 -1
- package/build/types/components/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
- package/build/types/components/src/alert/inlineMarkdown/index.d.ts.map +0 -1
- package/build/types/components/src/avatar/Avatar.d.ts.map +0 -1
- package/build/types/components/src/avatar/avatarTypes.d.ts.map +0 -1
- package/build/types/components/src/avatar/index.d.ts.map +0 -1
- package/build/types/components/src/avatarLayout/AvatarLayout.d.ts.map +0 -1
- package/build/types/components/src/avatarLayout/index.d.ts.map +0 -1
- package/build/types/components/src/avatarView/AvatarView.d.ts.map +0 -1
- package/build/types/components/src/avatarView/Dot.d.ts.map +0 -1
- package/build/types/components/src/avatarView/index.d.ts.map +0 -1
- package/build/types/components/src/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
- package/build/types/components/src/avatarWrapper/index.d.ts.map +0 -1
- package/build/types/components/src/badge/Badge.d.ts.map +0 -1
- package/build/types/components/src/badge/BadgeAssets.d.ts.map +0 -1
- package/build/types/components/src/badge/index.d.ts.map +0 -1
- package/build/types/components/src/body/Body.d.ts.map +0 -1
- package/build/types/components/src/body/index.d.ts.map +0 -1
- package/build/types/components/src/button/Button.d.ts.map +0 -1
- package/build/types/components/src/button/Button.resolver.d.ts.map +0 -1
- package/build/types/components/src/button/Button.types.d.ts.map +0 -1
- package/build/types/components/src/button/LegacyButton.d.ts.map +0 -1
- package/build/types/components/src/button/_stories/helpers.d.ts.map +0 -1
- package/build/types/components/src/button/classMap.d.ts.map +0 -1
- package/build/types/components/src/button/index.d.ts.map +0 -1
- package/build/types/components/src/button/legacyUtils/index.d.ts.map +0 -1
- package/build/types/components/src/button/legacyUtils/legacyUtils.d.ts.map +0 -1
- package/build/types/components/src/card/Card.d.ts.map +0 -1
- package/build/types/components/src/card/index.d.ts.map +0 -1
- package/build/types/components/src/carousel/Carousel.d.ts.map +0 -1
- package/build/types/components/src/carousel/index.d.ts.map +0 -1
- package/build/types/components/src/checkbox/Checkbox.d.ts.map +0 -1
- package/build/types/components/src/checkbox/index.d.ts.map +0 -1
- package/build/types/components/src/checkboxButton/CheckboxButton.d.ts.map +0 -1
- package/build/types/components/src/checkboxButton/index.d.ts.map +0 -1
- package/build/types/components/src/checkboxOption/CheckboxOption.d.ts.map +0 -1
- package/build/types/components/src/checkboxOption/index.d.ts.map +0 -1
- package/build/types/components/src/chevron/Chevron.d.ts.map +0 -1
- package/build/types/components/src/chevron/index.d.ts.map +0 -1
- package/build/types/components/src/chips/Chip.d.ts.map +0 -1
- package/build/types/components/src/chips/Chips.d.ts.map +0 -1
- package/build/types/components/src/chips/Chips.messages.d.ts.map +0 -1
- package/build/types/components/src/chips/index.d.ts.map +0 -1
- package/build/types/components/src/circularButton/CircularButton.d.ts.map +0 -1
- package/build/types/components/src/circularButton/index.d.ts.map +0 -1
- package/build/types/components/src/common/DOMOperations/DOMOperations.d.ts.map +0 -1
- package/build/types/components/src/common/DOMOperations/index.d.ts.map +0 -1
- package/build/types/components/src/common/Option/Option.d.ts.map +0 -1
- package/build/types/components/src/common/Option/index.d.ts.map +0 -1
- package/build/types/components/src/common/RadioButton/RadioButton.d.ts.map +0 -1
- package/build/types/components/src/common/RadioButton/index.d.ts.map +0 -1
- package/build/types/components/src/common/bottomSheet/BottomSheet.d.ts.map +0 -1
- package/build/types/components/src/common/bottomSheet/index.d.ts.map +0 -1
- package/build/types/components/src/common/card/Card.d.ts.map +0 -1
- package/build/types/components/src/common/card/index.d.ts.map +0 -1
- package/build/types/components/src/common/circle/Circle.d.ts.map +0 -1
- package/build/types/components/src/common/circle/index.d.ts.map +0 -1
- package/build/types/components/src/common/closeButton/CloseButton.d.ts.map +0 -1
- package/build/types/components/src/common/closeButton/CloseButton.messages.d.ts.map +0 -1
- package/build/types/components/src/common/closeButton/index.d.ts.map +0 -1
- package/build/types/components/src/common/colors.d.ts.map +0 -1
- package/build/types/components/src/common/commonProps.d.ts.map +0 -1
- package/build/types/components/src/common/constants.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/index.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
- package/build/types/components/src/common/deviceDetection/deviceDetection.d.ts.map +0 -1
- package/build/types/components/src/common/deviceDetection/index.d.ts.map +0 -1
- package/build/types/components/src/common/direction.d.ts.map +0 -1
- package/build/types/components/src/common/domHelpers/documentIosClick.d.ts.map +0 -1
- package/build/types/components/src/common/domHelpers/index.d.ts.map +0 -1
- package/build/types/components/src/common/fakeEvents.d.ts.map +0 -1
- package/build/types/components/src/common/fileType.d.ts.map +0 -1
- package/build/types/components/src/common/flowHeader/FlowHeader.d.ts.map +0 -1
- package/build/types/components/src/common/flowHeader/index.d.ts.map +0 -1
- package/build/types/components/src/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
- package/build/types/components/src/common/focusBoundary/index.d.ts.map +0 -1
- package/build/types/components/src/common/historyNavigator/historyNavigator.d.ts.map +0 -1
- package/build/types/components/src/common/historyNavigator/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useConditionalListener/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useDirection/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useDirection/useDirection.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useEffectEvent.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useHasIntersected/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useLayout/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useLayout/useLayout.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useMedia.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useResizeObserver.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useScreenSize.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
- package/build/types/components/src/common/index.d.ts.map +0 -1
- package/build/types/components/src/common/initials.d.ts.map +0 -1
- package/build/types/components/src/common/locale/index.d.ts.map +0 -1
- package/build/types/components/src/common/panel/Panel.d.ts.map +0 -1
- package/build/types/components/src/common/panel/index.d.ts.map +0 -1
- package/build/types/components/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
- package/build/types/components/src/common/preventScroll/PreventScroll.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/breakpoint.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/control.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/dateMode.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/layouts.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/markdownNodeType.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/monthFormat.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/position.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/profileType.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/scroll.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/sentiment.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/size.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/status.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/type.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/typography.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/variant.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/width.d.ts.map +0 -1
- package/build/types/components/src/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
- package/build/types/components/src/common/responsivePanel/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
- package/build/types/components/src/common/theme.d.ts.map +0 -1
- package/build/types/components/src/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
- package/build/types/components/src/criticalBanner/index.d.ts.map +0 -1
- package/build/types/components/src/dateInput/DateInput.d.ts.map +0 -1
- package/build/types/components/src/dateInput/DateInput.messages.d.ts.map +0 -1
- package/build/types/components/src/dateInput/index.d.ts.map +0 -1
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
- package/build/types/components/src/dateInput/utils/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/DateLookup.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/DateLookup.messages.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateHeader/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateTrigger/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/getStartOfDay/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/tableLink/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
- package/build/types/components/src/decision/Decision.d.ts.map +0 -1
- package/build/types/components/src/decision/index.d.ts.map +0 -1
- package/build/types/components/src/definitionList/DefinitionList.d.ts.map +0 -1
- package/build/types/components/src/definitionList/index.d.ts.map +0 -1
- package/build/types/components/src/dimmer/Dimmer.d.ts.map +0 -1
- package/build/types/components/src/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
- package/build/types/components/src/dimmer/dimmerManager/index.d.ts.map +0 -1
- package/build/types/components/src/dimmer/index.d.ts.map +0 -1
- package/build/types/components/src/display/Display.d.ts.map +0 -1
- package/build/types/components/src/display/index.d.ts.map +0 -1
- package/build/types/components/src/divider/Divider.d.ts.map +0 -1
- package/build/types/components/src/divider/index.d.ts.map +0 -1
- package/build/types/components/src/drawer/Drawer.d.ts.map +0 -1
- package/build/types/components/src/drawer/index.d.ts.map +0 -1
- package/build/types/components/src/dropFade/DropFade.d.ts.map +0 -1
- package/build/types/components/src/dropFade/index.d.ts.map +0 -1
- package/build/types/components/src/emphasis/Emphasis.d.ts.map +0 -1
- package/build/types/components/src/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
- package/build/types/components/src/emphasis/index.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/index.d.ts.map +0 -1
- package/build/types/components/src/field/Field.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/FlowNavigation.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/animatedLabel/index.d.ts.map +0 -1
- package/build/types/components/src/header/Header.d.ts.map +0 -1
- package/build/types/components/src/header/index.d.ts.map +0 -1
- package/build/types/components/src/i18n/commonMessages/Button.messages.d.ts.map +0 -1
- package/build/types/components/src/i18n/index.d.ts.map +0 -1
- package/build/types/components/src/iconButton/IconButton.d.ts.map +0 -1
- package/build/types/components/src/iconButton/index.d.ts.map +0 -1
- package/build/types/components/src/image/Image.d.ts.map +0 -1
- package/build/types/components/src/image/index.d.ts.map +0 -1
- package/build/types/components/src/index.d.ts.map +0 -1
- package/build/types/components/src/info/Info.d.ts.map +0 -1
- package/build/types/components/src/info/Info.messages.d.ts.map +0 -1
- package/build/types/components/src/info/index.d.ts.map +0 -1
- package/build/types/components/src/info/infoPresentations.d.ts.map +0 -1
- package/build/types/components/src/inlineAlert/InlineAlert.d.ts.map +0 -1
- package/build/types/components/src/inlineAlert/index.d.ts.map +0 -1
- package/build/types/components/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
- package/build/types/components/src/inputWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/components/src/inputs/Input.d.ts.map +0 -1
- package/build/types/components/src/inputs/InputGroup.d.ts.map +0 -1
- package/build/types/components/src/inputs/SearchInput.d.ts.map +0 -1
- package/build/types/components/src/inputs/SelectInput.d.ts.map +0 -1
- package/build/types/components/src/inputs/SelectInput.messages.d.ts.map +0 -1
- package/build/types/components/src/inputs/TextArea.d.ts.map +0 -1
- package/build/types/components/src/inputs/_BottomSheet.d.ts.map +0 -1
- package/build/types/components/src/inputs/_ButtonInput.d.ts.map +0 -1
- package/build/types/components/src/inputs/_Popover.d.ts.map +0 -1
- package/build/types/components/src/inputs/_common.d.ts.map +0 -1
- package/build/types/components/src/inputs/contexts.d.ts.map +0 -1
- package/build/types/components/src/instructionsList/InstructionsList.d.ts.map +0 -1
- package/build/types/components/src/instructionsList/index.d.ts.map +0 -1
- package/build/types/components/src/label/Label.d.ts.map +0 -1
- package/build/types/components/src/label/Label.messages.d.ts.map +0 -1
- package/build/types/components/src/label/index.d.ts.map +0 -1
- package/build/types/components/src/legacylistItem/LegacyListItem.d.ts.map +0 -1
- package/build/types/components/src/legacylistItem/index.d.ts.map +0 -1
- package/build/types/components/src/link/Link.d.ts.map +0 -1
- package/build/types/components/src/link/Link.messages.d.ts.map +0 -1
- package/build/types/components/src/link/index.d.ts.map +0 -1
- package/build/types/components/src/list/List.d.ts.map +0 -1
- package/build/types/components/src/list/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/components/src/listItem/AdditionalInfo/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarLayout/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarView/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Button/ListItemButton.d.ts.map +0 -1
- package/build/types/components/src/listItem/Button/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
- package/build/types/components/src/listItem/Checkbox/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
- package/build/types/components/src/listItem/IconButton/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Image/ListItemImage.d.ts.map +0 -1
- package/build/types/components/src/listItem/Image/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/ListItem.d.ts.map +0 -1
- package/build/types/components/src/listItem/ListItemContext.d.ts.map +0 -1
- package/build/types/components/src/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
- package/build/types/components/src/listItem/Navigation/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
- package/build/types/components/src/listItem/Prompt/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Radio/ListItemRadio.d.ts.map +0 -1
- package/build/types/components/src/listItem/Radio/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
- package/build/types/components/src/listItem/Switch/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/_stories/helpers.d.ts.map +0 -1
- package/build/types/components/src/listItem/_stories/subcomponents.d.ts.map +0 -1
- package/build/types/components/src/listItem/_stories/variants/helpers.d.ts.map +0 -1
- package/build/types/components/src/listItem/constants.d.ts.map +0 -1
- package/build/types/components/src/listItem/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/test-utils.d.ts.map +0 -1
- package/build/types/components/src/listItem/useListItemControl.d.ts.map +0 -1
- package/build/types/components/src/listItem/useListItemMedia.d.ts.map +0 -1
- package/build/types/components/src/loader/Loader.d.ts.map +0 -1
- package/build/types/components/src/loader/index.d.ts.map +0 -1
- package/build/types/components/src/logo/Logo.d.ts.map +0 -1
- package/build/types/components/src/logo/index.d.ts.map +0 -1
- package/build/types/components/src/logo/logo-assets.d.ts.map +0 -1
- package/build/types/components/src/markdown/Markdown.d.ts.map +0 -1
- package/build/types/components/src/markdown/index.d.ts.map +0 -1
- package/build/types/components/src/mocks.d.ts.map +0 -1
- package/build/types/components/src/modal/Modal.d.ts.map +0 -1
- package/build/types/components/src/modal/index.d.ts.map +0 -1
- package/build/types/components/src/money/Money.d.ts.map +0 -1
- package/build/types/components/src/money/index.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/MoneyInput.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/MoneyInput.messages.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/currencyFormatting.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/index.d.ts.map +0 -1
- package/build/types/components/src/navigationOption/NavigationOption.d.ts.map +0 -1
- package/build/types/components/src/navigationOption/index.d.ts.map +0 -1
- package/build/types/components/src/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
- package/build/types/components/src/navigationOptionsList/index.d.ts.map +0 -1
- package/build/types/components/src/nudge/Nudge.d.ts.map +0 -1
- package/build/types/components/src/nudge/index.d.ts.map +0 -1
- package/build/types/components/src/overlayHeader/OverlayHeader.d.ts.map +0 -1
- package/build/types/components/src/overlayHeader/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/data/countries.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
- package/build/types/components/src/popover/Popover.d.ts.map +0 -1
- package/build/types/components/src/popover/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveButton/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/types.d.ts.map +0 -1
- package/build/types/components/src/processIndicator/ProcessIndicator.d.ts.map +0 -1
- package/build/types/components/src/processIndicator/index.d.ts.map +0 -1
- package/build/types/components/src/progress/Progress.d.ts.map +0 -1
- package/build/types/components/src/progress/index.d.ts.map +0 -1
- package/build/types/components/src/progressBar/ProgressBar.d.ts.map +0 -1
- package/build/types/components/src/progressBar/index.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCard.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCardContext.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCardGroup.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCardIndicator.d.ts.map +0 -1
- package/build/types/components/src/promoCard/index.d.ts.map +0 -1
- package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
- package/build/types/components/src/prompt/InlinePrompt/index.d.ts.map +0 -1
- package/build/types/components/src/prompt/index.d.ts.map +0 -1
- package/build/types/components/src/provider/Provider.d.ts.map +0 -1
- package/build/types/components/src/provider/direction/DirectionProvider.d.ts.map +0 -1
- package/build/types/components/src/provider/direction/index.d.ts.map +0 -1
- package/build/types/components/src/provider/index.d.ts.map +0 -1
- package/build/types/components/src/provider/language/LanguageProvider.d.ts.map +0 -1
- package/build/types/components/src/provider/language/index.d.ts.map +0 -1
- package/build/types/components/src/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
- package/build/types/components/src/radio/Radio.d.ts.map +0 -1
- package/build/types/components/src/radio/index.d.ts.map +0 -1
- package/build/types/components/src/radioGroup/RadioGroup.d.ts.map +0 -1
- package/build/types/components/src/radioGroup/index.d.ts.map +0 -1
- package/build/types/components/src/radioOption/RadioOption.d.ts.map +0 -1
- package/build/types/components/src/radioOption/index.d.ts.map +0 -1
- package/build/types/components/src/section/Section.d.ts.map +0 -1
- package/build/types/components/src/section/index.d.ts.map +0 -1
- package/build/types/components/src/segmentedControl/SegmentedControl.d.ts.map +0 -1
- package/build/types/components/src/segmentedControl/index.d.ts.map +0 -1
- package/build/types/components/src/select/Select.d.ts.map +0 -1
- package/build/types/components/src/select/Select.messages.d.ts.map +0 -1
- package/build/types/components/src/select/index.d.ts.map +0 -1
- package/build/types/components/src/select/option/Option.d.ts.map +0 -1
- package/build/types/components/src/select/option/index.d.ts.map +0 -1
- package/build/types/components/src/select/searchBox/SearchBox.d.ts.map +0 -1
- package/build/types/components/src/select/searchBox/index.d.ts.map +0 -1
- package/build/types/components/src/sentimentSurface/SentimentSurface.d.ts.map +0 -1
- package/build/types/components/src/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
- package/build/types/components/src/sentimentSurface/index.d.ts.map +0 -1
- package/build/types/components/src/slidingPanel/SlidingPanel.d.ts.map +0 -1
- package/build/types/components/src/slidingPanel/index.d.ts.map +0 -1
- package/build/types/components/src/snackbar/Snackbar.d.ts.map +0 -1
- package/build/types/components/src/snackbar/SnackbarContext.d.ts.map +0 -1
- package/build/types/components/src/snackbar/SnackbarProvider.d.ts.map +0 -1
- package/build/types/components/src/snackbar/index.d.ts.map +0 -1
- package/build/types/components/src/snackbar/useSnackbar.d.ts.map +0 -1
- package/build/types/components/src/statusIcon/StatusIcon.d.ts.map +0 -1
- package/build/types/components/src/statusIcon/StatusIcon.messages.d.ts.map +0 -1
- package/build/types/components/src/statusIcon/index.d.ts.map +0 -1
- package/build/types/components/src/stepper/Stepper.d.ts.map +0 -1
- package/build/types/components/src/stepper/deviceDetection.d.ts.map +0 -1
- package/build/types/components/src/sticky/Sticky.d.ts.map +0 -1
- package/build/types/components/src/sticky/index.d.ts.map +0 -1
- package/build/types/components/src/summary/Summary.d.ts.map +0 -1
- package/build/types/components/src/summary/Summary.messages.d.ts.map +0 -1
- package/build/types/components/src/summary/index.d.ts.map +0 -1
- package/build/types/components/src/switch/Switch.d.ts.map +0 -1
- package/build/types/components/src/switch/index.d.ts.map +0 -1
- package/build/types/components/src/switchOption/SwitchOption.d.ts.map +0 -1
- package/build/types/components/src/switchOption/index.d.ts.map +0 -1
- package/build/types/components/src/table/Table.d.ts.map +0 -1
- package/build/types/components/src/table/Table.messages.d.ts.map +0 -1
- package/build/types/components/src/table/TableCell.d.ts.map +0 -1
- package/build/types/components/src/table/TableHeader.d.ts.map +0 -1
- package/build/types/components/src/table/TableRow.d.ts.map +0 -1
- package/build/types/components/src/table/TableStatusText.d.ts.map +0 -1
- package/build/types/components/src/table/index.d.ts.map +0 -1
- package/build/types/components/src/tabs/Tab.d.ts.map +0 -1
- package/build/types/components/src/tabs/TabList.d.ts.map +0 -1
- package/build/types/components/src/tabs/TabPanel.d.ts.map +0 -1
- package/build/types/components/src/tabs/Tabs.d.ts.map +0 -1
- package/build/types/components/src/tabs/index.d.ts.map +0 -1
- package/build/types/components/src/tabs/utils.d.ts.map +0 -1
- package/build/types/components/src/test-utils/fake-data.d.ts.map +0 -1
- package/build/types/components/src/test-utils/index.d.ts.map +0 -1
- package/build/types/components/src/test-utils/jest.setup.d.ts.map +0 -1
- package/build/types/components/src/test-utils/style-mock.d.ts.map +0 -1
- package/build/types/components/src/test-utils/wait.d.ts.map +0 -1
- package/build/types/components/src/test-utils/window-mock.d.ts.map +0 -1
- package/build/types/components/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
- package/build/types/components/src/textareaWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/components/src/tile/Tile.d.ts.map +0 -1
- package/build/types/components/src/tile/index.d.ts.map +0 -1
- package/build/types/components/src/title/Title.d.ts.map +0 -1
- package/build/types/components/src/title/index.d.ts.map +0 -1
- package/build/types/components/src/tooltip/Tooltip.d.ts.map +0 -1
- package/build/types/components/src/tooltip/index.d.ts.map +0 -1
- package/build/types/components/src/typeahead/Typeahead.d.ts.map +0 -1
- package/build/types/components/src/typeahead/Typeahead.messages.d.ts.map +0 -1
- package/build/types/components/src/typeahead/index.d.ts.map +0 -1
- package/build/types/components/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
- package/build/types/components/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
- package/build/types/components/src/typeahead/util/highlight.d.ts.map +0 -1
- package/build/types/components/src/upload/Upload.d.ts.map +0 -1
- package/build/types/components/src/upload/Upload.messages.d.ts.map +0 -1
- package/build/types/components/src/upload/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/completeStep/completeStep.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/completeStep/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/processingStep/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/processingStep/processingStep.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/uploadImageStep/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/asyncFileRead/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/getFileType/getFileType.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/getFileType/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isSizeValid/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isTypeValid/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/postData/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/postData/postData.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/UploadInput.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/UploadInput.messages.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/index.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/types.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/defaults.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
- package/build/types/components/src/utilities/cssValueWithUnit.d.ts.map +0 -1
- package/build/types/components/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
- package/build/types/components/src/utilities/deprecatedProperty/index.d.ts.map +0 -1
- package/build/types/components/src/utilities/index.d.ts.map +0 -1
- package/build/types/components/src/utilities/logActionRequired.d.ts.map +0 -1
- package/build/types/components/src/utils.d.ts.map +0 -1
- package/build/types/components/src/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
- package/build/types/components/src/withDisplayFormat/index.d.ts.map +0 -1
- package/build/types/components/src/withId/index.d.ts.map +0 -1
- package/build/types/components/src/withId/story/source.d.ts.map +0 -1
- package/build/types/components/src/withId/withId.d.ts.map +0 -1
- package/build/types/components/src/withNextPortal/withNextPortal.d.ts.map +0 -1
- package/build/types/components-theming/src/ThemeProvider.d.ts +0 -7
- package/build/types/components-theming/src/ThemeProvider.d.ts.map +0 -1
- package/build/types/components-theming/src/ThemeProviderContext.d.ts +0 -8
- package/build/types/components-theming/src/ThemeProviderContext.d.ts.map +0 -1
- package/build/types/components-theming/src/ThemedChildren.d.ts +0 -8
- package/build/types/components-theming/src/ThemedChildren.d.ts.map +0 -1
- package/build/types/components-theming/src/const.d.ts +0 -35
- package/build/types/components-theming/src/const.d.ts.map +0 -1
- package/build/types/components-theming/src/helpers.d.ts +0 -11
- package/build/types/components-theming/src/helpers.d.ts.map +0 -1
- package/build/types/components-theming/src/index.d.ts +0 -5
- package/build/types/components-theming/src/index.d.ts.map +0 -1
- package/build/types/components-theming/src/useTheme.d.ts +0 -17
- package/build/types/components-theming/src/useTheme.d.ts.map +0 -1
- /package/build/types/{components/src/accordion → accordion}/Accordion.d.ts +0 -0
- /package/build/types/{components/src/accordion → accordion}/AccordionItem/AccordionItem.d.ts +0 -0
- /package/build/types/{components/src/accordion → accordion}/AccordionItem/index.d.ts +0 -0
- /package/build/types/{components/src/accordion → accordion}/index.d.ts +0 -0
- /package/build/types/{components/src/actionButton → actionButton}/ActionButton.d.ts +0 -0
- /package/build/types/{components/src/actionButton → actionButton}/index.d.ts +0 -0
- /package/build/types/{components/src/actionOption → actionOption}/ActionOption.d.ts +0 -0
- /package/build/types/{components/src/actionOption → actionOption}/index.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/Alert.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/index.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/inlineMarkdown/index.d.ts +0 -0
- /package/build/types/{components/src/avatar → avatar}/Avatar.d.ts +0 -0
- /package/build/types/{components/src/avatar → avatar}/avatarTypes.d.ts +0 -0
- /package/build/types/{components/src/avatar → avatar}/index.d.ts +0 -0
- /package/build/types/{components/src/avatarLayout → avatarLayout}/AvatarLayout.d.ts +0 -0
- /package/build/types/{components/src/avatarLayout → avatarLayout}/index.d.ts +0 -0
- /package/build/types/{components/src/avatarView → avatarView}/AvatarView.d.ts +0 -0
- /package/build/types/{components/src/avatarView → avatarView}/Dot.d.ts +0 -0
- /package/build/types/{components/src/avatarView → avatarView}/index.d.ts +0 -0
- /package/build/types/{components/src/avatarWrapper → avatarWrapper}/AvatarWrapper.d.ts +0 -0
- /package/build/types/{components/src/avatarWrapper → avatarWrapper}/index.d.ts +0 -0
- /package/build/types/{components/src/badge → badge}/Badge.d.ts +0 -0
- /package/build/types/{components/src/badge → badge}/BadgeAssets.d.ts +0 -0
- /package/build/types/{components/src/badge → badge}/index.d.ts +0 -0
- /package/build/types/{components/src/body → body}/Body.d.ts +0 -0
- /package/build/types/{components/src/body → body}/index.d.ts +0 -0
- /package/build/types/{components/src/button → button}/Button.d.ts +0 -0
- /package/build/types/{components/src/button → button}/Button.resolver.d.ts +0 -0
- /package/build/types/{components/src/button → button}/Button.types.d.ts +0 -0
- /package/build/types/{components/src/button → button}/LegacyButton.d.ts +0 -0
- /package/build/types/{components/src/button → button}/_stories/helpers.d.ts +0 -0
- /package/build/types/{components/src/button → button}/classMap.d.ts +0 -0
- /package/build/types/{components/src/button → button}/index.d.ts +0 -0
- /package/build/types/{components/src/button → button}/legacyUtils/index.d.ts +0 -0
- /package/build/types/{components/src/button → button}/legacyUtils/legacyUtils.d.ts +0 -0
- /package/build/types/{components/src/card → card}/Card.d.ts +0 -0
- /package/build/types/{components/src/card → card}/index.d.ts +0 -0
- /package/build/types/{components/src/carousel → carousel}/Carousel.d.ts +0 -0
- /package/build/types/{components/src/carousel → carousel}/index.d.ts +0 -0
- /package/build/types/{components/src/checkbox → checkbox}/Checkbox.d.ts +0 -0
- /package/build/types/{components/src/checkbox → checkbox}/index.d.ts +0 -0
- /package/build/types/{components/src/checkboxButton → checkboxButton}/CheckboxButton.d.ts +0 -0
- /package/build/types/{components/src/checkboxButton → checkboxButton}/index.d.ts +0 -0
- /package/build/types/{components/src/checkboxOption → checkboxOption}/CheckboxOption.d.ts +0 -0
- /package/build/types/{components/src/checkboxOption → checkboxOption}/index.d.ts +0 -0
- /package/build/types/{components/src/chevron → chevron}/Chevron.d.ts +0 -0
- /package/build/types/{components/src/chevron → chevron}/index.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/Chip.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/Chips.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/Chips.messages.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/index.d.ts +0 -0
- /package/build/types/{components/src/circularButton → circularButton}/CircularButton.d.ts +0 -0
- /package/build/types/{components/src/circularButton → circularButton}/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/DOMOperations/DOMOperations.d.ts +0 -0
- /package/build/types/{components/src/common → common}/DOMOperations/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/Option/Option.d.ts +0 -0
- /package/build/types/{components/src/common → common}/Option/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/RadioButton/RadioButton.d.ts +0 -0
- /package/build/types/{components/src/common → common}/RadioButton/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/bottomSheet/BottomSheet.d.ts +0 -0
- /package/build/types/{components/src/common → common}/bottomSheet/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/card/Card.d.ts +0 -0
- /package/build/types/{components/src/common → common}/card/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/circle/Circle.d.ts +0 -0
- /package/build/types/{components/src/common → common}/circle/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/closeButton/CloseButton.d.ts +0 -0
- /package/build/types/{components/src/common → common}/closeButton/CloseButton.messages.d.ts +0 -0
- /package/build/types/{components/src/common → common}/closeButton/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/colors.d.ts +0 -0
- /package/build/types/{components/src/common → common}/commonProps.d.ts +0 -0
- /package/build/types/{components/src/common → common}/constants.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getDateView/getDateView.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
- /package/build/types/{components/src/common → common}/deviceDetection/deviceDetection.d.ts +0 -0
- /package/build/types/{components/src/common → common}/deviceDetection/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/direction.d.ts +0 -0
- /package/build/types/{components/src/common → common}/domHelpers/documentIosClick.d.ts +0 -0
- /package/build/types/{components/src/common → common}/domHelpers/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/fakeEvents.d.ts +0 -0
- /package/build/types/{components/src/common → common}/fileType.d.ts +0 -0
- /package/build/types/{components/src/common → common}/flowHeader/FlowHeader.d.ts +0 -0
- /package/build/types/{components/src/common → common}/flowHeader/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/focusBoundary/FocusBoundary.d.ts +0 -0
- /package/build/types/{components/src/common → common}/focusBoundary/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/historyNavigator/historyNavigator.d.ts +0 -0
- /package/build/types/{components/src/common → common}/historyNavigator/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useConditionalListener/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useDirection/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useDirection/useDirection.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useEffectEvent.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useHasIntersected/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useLayout/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useLayout/useLayout.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useMedia.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useResizeObserver.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useScreenSize.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useVirtualKeyboard.d.ts +0 -0
- /package/build/types/{components/src/common → common}/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/initials.d.ts +0 -0
- /package/build/types/{components/src/common → common}/locale/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/panel/Panel.d.ts +0 -0
- /package/build/types/{components/src/common → common}/panel/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
- /package/build/types/{components/src/common → common}/preventScroll/PreventScroll.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/breakpoint.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/control.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/dateMode.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/layouts.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/markdownNodeType.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/monthFormat.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/position.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/profileType.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/scroll.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/sentiment.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/size.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/status.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/type.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/typography.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/variant.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/width.d.ts +0 -0
- /package/build/types/{components/src/common → common}/responsivePanel/ResponsivePanel.d.ts +0 -0
- /package/build/types/{components/src/common → common}/responsivePanel/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/formatWithPattern/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/unformatWithPattern/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
- /package/build/types/{components/src/common → common}/theme.d.ts +0 -0
- /package/build/types/{components/src/criticalBanner → criticalBanner}/CriticalCommsBanner.d.ts +0 -0
- /package/build/types/{components/src/criticalBanner → criticalBanner}/index.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/DateInput.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/DateInput.messages.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/index.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/utils/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/DateLookup.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/DateLookup.messages.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateHeader/DateHeader.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateHeader/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/table/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/getStartOfDay/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/table/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/tableLink/TableLink.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/tableLink/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/table/index.d.ts +0 -0
- /package/build/types/{components/src/decision → decision}/Decision.d.ts +0 -0
- /package/build/types/{components/src/decision → decision}/index.d.ts +0 -0
- /package/build/types/{components/src/definitionList → definitionList}/DefinitionList.d.ts +0 -0
- /package/build/types/{components/src/definitionList → definitionList}/index.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/Dimmer.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/dimmerManager/index.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/index.d.ts +0 -0
- /package/build/types/{components/src/display → display}/Display.d.ts +0 -0
- /package/build/types/{components/src/display → display}/index.d.ts +0 -0
- /package/build/types/{components/src/divider → divider}/Divider.d.ts +0 -0
- /package/build/types/{components/src/divider → divider}/index.d.ts +0 -0
- /package/build/types/{components/src/drawer → drawer}/Drawer.d.ts +0 -0
- /package/build/types/{components/src/drawer → drawer}/index.d.ts +0 -0
- /package/build/types/{components/src/dropFade → dropFade}/DropFade.d.ts +0 -0
- /package/build/types/{components/src/dropFade → dropFade}/index.d.ts +0 -0
- /package/build/types/{components/src/emphasis → emphasis}/Emphasis.d.ts +0 -0
- /package/build/types/{components/src/emphasis → emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
- /package/build/types/{components/src/emphasis → emphasis}/index.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/index.d.ts +0 -0
- /package/build/types/{components/src/field → field}/Field.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/FlowNavigation.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/FlowNavigation.messages.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/animatedLabel/index.d.ts +0 -0
- /package/build/types/{components/src/header → header}/Header.d.ts +0 -0
- /package/build/types/{components/src/header → header}/index.d.ts +0 -0
- /package/build/types/{components/src/i18n → i18n}/commonMessages/Button.messages.d.ts +0 -0
- /package/build/types/{components/src/i18n → i18n}/index.d.ts +0 -0
- /package/build/types/{components/src/iconButton → iconButton}/IconButton.d.ts +0 -0
- /package/build/types/{components/src/iconButton → iconButton}/index.d.ts +0 -0
- /package/build/types/{components/src/image → image}/Image.d.ts +0 -0
- /package/build/types/{components/src/image → image}/index.d.ts +0 -0
- /package/build/types/{components/src/index.d.ts → index.d.ts} +0 -0
- /package/build/types/{components/src/info → info}/Info.d.ts +0 -0
- /package/build/types/{components/src/info → info}/Info.messages.d.ts +0 -0
- /package/build/types/{components/src/info → info}/index.d.ts +0 -0
- /package/build/types/{components/src/info → info}/infoPresentations.d.ts +0 -0
- /package/build/types/{components/src/inlineAlert → inlineAlert}/InlineAlert.d.ts +0 -0
- /package/build/types/{components/src/inlineAlert → inlineAlert}/index.d.ts +0 -0
- /package/build/types/{components/src/inputWithDisplayFormat → inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
- /package/build/types/{components/src/inputWithDisplayFormat → inputWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/Input.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/InputGroup.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/SearchInput.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/SelectInput.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/SelectInput.messages.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/TextArea.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_BottomSheet.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_ButtonInput.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_Popover.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_common.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/contexts.d.ts +0 -0
- /package/build/types/{components/src/instructionsList → instructionsList}/InstructionsList.d.ts +0 -0
- /package/build/types/{components/src/instructionsList → instructionsList}/index.d.ts +0 -0
- /package/build/types/{components/src/label → label}/Label.d.ts +0 -0
- /package/build/types/{components/src/label → label}/Label.messages.d.ts +0 -0
- /package/build/types/{components/src/label → label}/index.d.ts +0 -0
- /package/build/types/{components/src/legacylistItem → legacylistItem}/LegacyListItem.d.ts +0 -0
- /package/build/types/{components/src/legacylistItem → legacylistItem}/index.d.ts +0 -0
- /package/build/types/{components/src/link → link}/Link.d.ts +0 -0
- /package/build/types/{components/src/link → link}/Link.messages.d.ts +0 -0
- /package/build/types/{components/src/link → link}/index.d.ts +0 -0
- /package/build/types/{components/src/list → list}/List.d.ts +0 -0
- /package/build/types/{components/src/list → list}/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AdditionalInfo/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarLayout/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarView/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Button/ListItemButton.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Button/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Checkbox/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/IconButton/ListItemIconButton.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/IconButton/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Image/ListItemImage.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Image/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/ListItem.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/ListItemContext.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Navigation/ListItemNavigation.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Navigation/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Prompt/ListItemPrompt.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Prompt/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Radio/ListItemRadio.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Radio/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Switch/ListItemSwitch.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Switch/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/_stories/helpers.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/_stories/subcomponents.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/_stories/variants/helpers.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/constants.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/test-utils.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/useListItemControl.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/useListItemMedia.d.ts +0 -0
- /package/build/types/{components/src/loader → loader}/Loader.d.ts +0 -0
- /package/build/types/{components/src/loader → loader}/index.d.ts +0 -0
- /package/build/types/{components/src/logo → logo}/Logo.d.ts +0 -0
- /package/build/types/{components/src/logo → logo}/index.d.ts +0 -0
- /package/build/types/{components/src/logo → logo}/logo-assets.d.ts +0 -0
- /package/build/types/{components/src/markdown → markdown}/Markdown.d.ts +0 -0
- /package/build/types/{components/src/markdown → markdown}/index.d.ts +0 -0
- /package/build/types/{components/src/mocks.d.ts → mocks.d.ts} +0 -0
- /package/build/types/{components/src/modal → modal}/Modal.d.ts +0 -0
- /package/build/types/{components/src/modal → modal}/index.d.ts +0 -0
- /package/build/types/{components/src/money → money}/Money.d.ts +0 -0
- /package/build/types/{components/src/money → money}/index.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/MoneyInput.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/MoneyInput.messages.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/currencyFormatting.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/index.d.ts +0 -0
- /package/build/types/{components/src/navigationOption → navigationOption}/NavigationOption.d.ts +0 -0
- /package/build/types/{components/src/navigationOption → navigationOption}/index.d.ts +0 -0
- /package/build/types/{components/src/navigationOptionsList → navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
- /package/build/types/{components/src/navigationOptionsList → navigationOptionsList}/index.d.ts +0 -0
- /package/build/types/{components/src/nudge → nudge}/Nudge.d.ts +0 -0
- /package/build/types/{components/src/nudge → nudge}/index.d.ts +0 -0
- /package/build/types/{components/src/overlayHeader → overlayHeader}/OverlayHeader.d.ts +0 -0
- /package/build/types/{components/src/overlayHeader → overlayHeader}/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/data/countries.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
- /package/build/types/{components/src/popover → popover}/Popover.d.ts +0 -0
- /package/build/types/{components/src/popover → popover}/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/types.d.ts +0 -0
- /package/build/types/{components/src/processIndicator → processIndicator}/ProcessIndicator.d.ts +0 -0
- /package/build/types/{components/src/processIndicator → processIndicator}/index.d.ts +0 -0
- /package/build/types/{components/src/progress → progress}/Progress.d.ts +0 -0
- /package/build/types/{components/src/progress → progress}/index.d.ts +0 -0
- /package/build/types/{components/src/progressBar → progressBar}/ProgressBar.d.ts +0 -0
- /package/build/types/{components/src/progressBar → progressBar}/index.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCard.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCardContext.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCardGroup.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCardIndicator.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/index.d.ts +0 -0
- /package/build/types/{components/src/prompt → prompt}/InlinePrompt/InlinePrompt.d.ts +0 -0
- /package/build/types/{components/src/prompt → prompt}/InlinePrompt/index.d.ts +0 -0
- /package/build/types/{components/src/prompt → prompt}/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/Provider.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/direction/DirectionProvider.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/direction/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/language/LanguageProvider.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/language/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/overlay/OverlayIdProvider.d.ts +0 -0
- /package/build/types/{components/src/radio → radio}/Radio.d.ts +0 -0
- /package/build/types/{components/src/radio → radio}/index.d.ts +0 -0
- /package/build/types/{components/src/radioGroup → radioGroup}/RadioGroup.d.ts +0 -0
- /package/build/types/{components/src/radioGroup → radioGroup}/index.d.ts +0 -0
- /package/build/types/{components/src/radioOption → radioOption}/RadioOption.d.ts +0 -0
- /package/build/types/{components/src/radioOption → radioOption}/index.d.ts +0 -0
- /package/build/types/{components/src/section → section}/Section.d.ts +0 -0
- /package/build/types/{components/src/section → section}/index.d.ts +0 -0
- /package/build/types/{components/src/segmentedControl → segmentedControl}/SegmentedControl.d.ts +0 -0
- /package/build/types/{components/src/segmentedControl → segmentedControl}/index.d.ts +0 -0
- /package/build/types/{components/src/select → select}/Select.d.ts +0 -0
- /package/build/types/{components/src/select → select}/Select.messages.d.ts +0 -0
- /package/build/types/{components/src/select → select}/index.d.ts +0 -0
- /package/build/types/{components/src/select → select}/option/Option.d.ts +0 -0
- /package/build/types/{components/src/select → select}/option/index.d.ts +0 -0
- /package/build/types/{components/src/select → select}/searchBox/SearchBox.d.ts +0 -0
- /package/build/types/{components/src/select → select}/searchBox/index.d.ts +0 -0
- /package/build/types/{components/src/sentimentSurface → sentimentSurface}/SentimentSurface.d.ts +0 -0
- /package/build/types/{components/src/sentimentSurface → sentimentSurface}/SentimentSurface.types.d.ts +0 -0
- /package/build/types/{components/src/sentimentSurface → sentimentSurface}/index.d.ts +0 -0
- /package/build/types/{components/src/slidingPanel → slidingPanel}/SlidingPanel.d.ts +0 -0
- /package/build/types/{components/src/slidingPanel → slidingPanel}/index.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/Snackbar.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/SnackbarContext.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/SnackbarProvider.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/index.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/useSnackbar.d.ts +0 -0
- /package/build/types/{components/src/statusIcon → statusIcon}/StatusIcon.d.ts +0 -0
- /package/build/types/{components/src/statusIcon → statusIcon}/StatusIcon.messages.d.ts +0 -0
- /package/build/types/{components/src/statusIcon → statusIcon}/index.d.ts +0 -0
- /package/build/types/{components/src/stepper → stepper}/Stepper.d.ts +0 -0
- /package/build/types/{components/src/stepper → stepper}/deviceDetection.d.ts +0 -0
- /package/build/types/{components/src/sticky → sticky}/Sticky.d.ts +0 -0
- /package/build/types/{components/src/sticky → sticky}/index.d.ts +0 -0
- /package/build/types/{components/src/summary → summary}/Summary.d.ts +0 -0
- /package/build/types/{components/src/summary → summary}/Summary.messages.d.ts +0 -0
- /package/build/types/{components/src/summary → summary}/index.d.ts +0 -0
- /package/build/types/{components/src/switch → switch}/Switch.d.ts +0 -0
- /package/build/types/{components/src/switch → switch}/index.d.ts +0 -0
- /package/build/types/{components/src/switchOption → switchOption}/SwitchOption.d.ts +0 -0
- /package/build/types/{components/src/switchOption → switchOption}/index.d.ts +0 -0
- /package/build/types/{components/src/table → table}/Table.d.ts +0 -0
- /package/build/types/{components/src/table → table}/Table.messages.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableCell.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableHeader.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableRow.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableStatusText.d.ts +0 -0
- /package/build/types/{components/src/table → table}/index.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/Tab.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/TabList.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/TabPanel.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/Tabs.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/index.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/utils.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/fake-data.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/index.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/jest.setup.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/style-mock.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/wait.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/window-mock.d.ts +0 -0
- /package/build/types/{components/src/textareaWithDisplayFormat → textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
- /package/build/types/{components/src/textareaWithDisplayFormat → textareaWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{components/src/tile → tile}/Tile.d.ts +0 -0
- /package/build/types/{components/src/tile → tile}/index.d.ts +0 -0
- /package/build/types/{components/src/title → title}/Title.d.ts +0 -0
- /package/build/types/{components/src/title → title}/index.d.ts +0 -0
- /package/build/types/{components/src/tooltip → tooltip}/Tooltip.d.ts +0 -0
- /package/build/types/{components/src/tooltip → tooltip}/index.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/Typeahead.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/Typeahead.messages.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/index.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/util/highlight.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/Upload.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/Upload.messages.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/completeStep/completeStep.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/completeStep/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/processingStep/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/processingStep/processingStep.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/uploadImageStep/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/asyncFileRead/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/getFileType/getFileType.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/getFileType/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isSizeValid/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isTypeValid/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/postData/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/postData/postData.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/UploadInput.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/UploadInput.messages.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/index.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/types.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/UploadButton.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/defaults.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItem.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/cssValueWithUnit.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/deprecatedProperty/index.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/index.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/logActionRequired.d.ts +0 -0
- /package/build/types/{components/src/utils.d.ts → utils.d.ts} +0 -0
- /package/build/types/{components/src/withDisplayFormat → withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
- /package/build/types/{components/src/withDisplayFormat → withDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{components/src/withId → withId}/index.d.ts +0 -0
- /package/build/types/{components/src/withId → withId}/story/source.d.ts +0 -0
- /package/build/types/{components/src/withId → withId}/withId.d.ts +0 -0
- /package/build/types/{components/src/withNextPortal → withNextPortal}/withNextPortal.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploadImageStep.js","sources":["../../../../src/upload/steps/uploadImageStep/uploadImageStep.tsx"],"sourcesContent":["import { Upload as UploadIcon } from '@transferwise/icons';\nimport { createRef, PureComponent } from 'react';\nimport StatusIcon from '../../../statusIcon';\nimport { Sentiment, Size } from '../../../common';\nimport { InlinePrompt } from '../../../prompt/InlinePrompt/InlinePrompt';\n\nexport interface UploadImageStepProps {\n fileDropped: (file: File) => void;\n isComplete: boolean;\n usAccept: string;\n usButtonText: string;\n usDisabled: boolean;\n usHelpImage: React.ReactNode;\n usLabel: string;\n usPlaceholder: string;\n errorMessage?: string | string[];\n errorIconLabel?: string;\n}\n\nexport default class UploadImageStep extends PureComponent<UploadImageStepProps> {\n uploadInputRef = createRef<HTMLInputElement>();\n\n onManualUpload = () => {\n const { fileDropped } = this.props;\n const file = this.uploadInputRef.current?.files?.[0];\n if (file != null) {\n fileDropped(file);\n }\n };\n\n onKeyDown = (event: React.KeyboardEvent<HTMLLabelElement>) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.uploadInputRef.current?.click();\n }\n };\n\n getImage = () => {\n const { usHelpImage, usLabel } = this.props;\n const { errorMessage } = this.props;\n\n if (errorMessage) {\n return (\n <div className=\"d-flex flex-column align-items-center\">\n <StatusIcon size={Size.LARGE} sentiment={Sentiment.NEGATIVE} iconLabel={null} />\n </div>\n );\n }\n\n if (!usHelpImage) {\n return (\n <div className=\"circle circle-sm circle-inverse p-t-1\">\n <UploadIcon size={24} />\n </div>\n );\n }\n\n if (typeof usHelpImage === 'string') {\n return <img src={usHelpImage} alt={usLabel} className=\"thumbnail text-xs-center\" />;\n }\n\n return usHelpImage;\n };\n\n render() {\n const {\n errorMessage,\n isComplete,\n errorIconLabel,\n usAccept,\n usButtonText,\n usDisabled,\n usLabel,\n usPlaceholder,\n } = this.props;\n\n return (\n <div className=\"droppable-default-card\" aria-hidden={isComplete}>\n <div className=\"droppable-card-content\">\n <div className=\"m-b-3\">{this.getImage()}</div>\n {usLabel && <h4 className=\"np-text-title-body m-b-1\">{usLabel}</h4>}\n {usPlaceholder && <p className=\"np-text-body-large m-b-3\">{String(usPlaceholder)}</p>}\n <label\n className={`btn btn-primary btn-md ${usDisabled ? 'disabled' : ''}`}\n role=\"button\"\n aria-disabled={usDisabled}\n tabIndex={0}\n onKeyDown={this.onKeyDown}\n >\n {usButtonText ? (\n <span>{usButtonText}</span>\n ) : (\n <UploadIcon size={24} className=\"m-r-0\" />\n )}\n <input\n ref={this.uploadInputRef}\n type=\"file\"\n accept={usAccept === '*' ? undefined : usAccept}\n className=\"tw-droppable-input hidden\"\n disabled={usDisabled}\n name=\"file-upload\"\n onChange={() => this.onManualUpload()}\n />\n </label>\n {errorMessage && (\n <div className=\"upload-error-message\">\n <div className=\"m-t-3 has-error\">\n <InlinePrompt\n sentiment={Sentiment.NEGATIVE}\n mediaLabel={errorIconLabel}\n width=\"full\"\n >\n {errorMessage}\n </InlinePrompt>\n </div>\n </div>\n )}\n </div>\n </div>\n );\n }\n}\n"],"names":["UploadImageStep","PureComponent","uploadInputRef","createRef","onManualUpload","fileDropped","props","file","current","files","onKeyDown","event","key","preventDefault","click","getImage","usHelpImage","usLabel","errorMessage","_jsx","className","children","StatusIcon","size","Size","LARGE","sentiment","Sentiment","NEGATIVE","iconLabel","UploadIcon","src","alt","render","isComplete","errorIconLabel","usAccept","usButtonText","usDisabled","usPlaceholder","_jsxs","String","role","tabIndex","ref","type","accept","undefined","disabled","name","onChange","InlinePrompt","mediaLabel","width"],"mappings":"
|
|
1
|
+
{"version":3,"file":"uploadImageStep.js","sources":["../../../../src/upload/steps/uploadImageStep/uploadImageStep.tsx"],"sourcesContent":["import { Upload as UploadIcon } from '@transferwise/icons';\nimport { createRef, PureComponent } from 'react';\nimport StatusIcon from '../../../statusIcon';\nimport { Sentiment, Size } from '../../../common';\nimport { InlinePrompt } from '../../../prompt/InlinePrompt/InlinePrompt';\n\nexport interface UploadImageStepProps {\n fileDropped: (file: File) => void;\n isComplete: boolean;\n usAccept: string;\n usButtonText: string;\n usDisabled: boolean;\n usHelpImage: React.ReactNode;\n usLabel: string;\n usPlaceholder: string;\n errorMessage?: string | string[];\n errorIconLabel?: string;\n}\n\nexport default class UploadImageStep extends PureComponent<UploadImageStepProps> {\n uploadInputRef = createRef<HTMLInputElement>();\n\n onManualUpload = () => {\n const { fileDropped } = this.props;\n const file = this.uploadInputRef.current?.files?.[0];\n if (file != null) {\n fileDropped(file);\n }\n };\n\n onKeyDown = (event: React.KeyboardEvent<HTMLLabelElement>) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.uploadInputRef.current?.click();\n }\n };\n\n getImage = () => {\n const { usHelpImage, usLabel } = this.props;\n const { errorMessage } = this.props;\n\n if (errorMessage) {\n return (\n <div className=\"d-flex flex-column align-items-center\">\n <StatusIcon size={Size.LARGE} sentiment={Sentiment.NEGATIVE} iconLabel={null} />\n </div>\n );\n }\n\n if (!usHelpImage) {\n return (\n <div className=\"circle circle-sm circle-inverse p-t-1\">\n <UploadIcon size={24} />\n </div>\n );\n }\n\n if (typeof usHelpImage === 'string') {\n return <img src={usHelpImage} alt={usLabel} className=\"thumbnail text-xs-center\" />;\n }\n\n return usHelpImage;\n };\n\n render() {\n const {\n errorMessage,\n isComplete,\n errorIconLabel,\n usAccept,\n usButtonText,\n usDisabled,\n usLabel,\n usPlaceholder,\n } = this.props;\n\n return (\n <div className=\"droppable-default-card\" aria-hidden={isComplete}>\n <div className=\"droppable-card-content\">\n <div className=\"m-b-3\">{this.getImage()}</div>\n {usLabel && <h4 className=\"np-text-title-body m-b-1\">{usLabel}</h4>}\n {usPlaceholder && <p className=\"np-text-body-large m-b-3\">{String(usPlaceholder)}</p>}\n <label\n className={`btn btn-primary btn-md ${usDisabled ? 'disabled' : ''}`}\n role=\"button\"\n aria-disabled={usDisabled}\n tabIndex={0}\n onKeyDown={this.onKeyDown}\n >\n {usButtonText ? (\n <span>{usButtonText}</span>\n ) : (\n <UploadIcon size={24} className=\"m-r-0\" />\n )}\n <input\n ref={this.uploadInputRef}\n type=\"file\"\n accept={usAccept === '*' ? undefined : usAccept}\n className=\"tw-droppable-input hidden\"\n disabled={usDisabled}\n name=\"file-upload\"\n onChange={() => this.onManualUpload()}\n />\n </label>\n {errorMessage && (\n <div className=\"upload-error-message\">\n <div className=\"m-t-3 has-error\">\n <InlinePrompt\n sentiment={Sentiment.NEGATIVE}\n mediaLabel={errorIconLabel}\n width=\"full\"\n >\n {errorMessage}\n </InlinePrompt>\n </div>\n </div>\n )}\n </div>\n </div>\n );\n }\n}\n"],"names":["UploadImageStep","PureComponent","uploadInputRef","createRef","onManualUpload","fileDropped","props","file","current","files","onKeyDown","event","key","preventDefault","click","getImage","usHelpImage","usLabel","errorMessage","_jsx","className","children","StatusIcon","size","Size","LARGE","sentiment","Sentiment","NEGATIVE","iconLabel","UploadIcon","src","alt","render","isComplete","errorIconLabel","usAccept","usButtonText","usDisabled","usPlaceholder","_jsxs","String","role","tabIndex","ref","type","accept","undefined","disabled","name","onCh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PureComponent, createRef } from 'react';
|
|
3
3
|
import StatusIcon from '../../../statusIcon/StatusIcon.mjs';
|
|
4
|
+
import '../../../common/theme.mjs';
|
|
5
|
+
import '../../../common/direction.mjs';
|
|
6
|
+
import '../../../common/propsValues/control.mjs';
|
|
7
|
+
import '../../../common/propsValues/breakpoint.mjs';
|
|
4
8
|
import { Size } from '../../../common/propsValues/size.mjs';
|
|
9
|
+
import '../../../common/propsValues/typography.mjs';
|
|
10
|
+
import '../../../common/propsValues/width.mjs';
|
|
11
|
+
import '../../../common/propsValues/type.mjs';
|
|
12
|
+
import '../../../common/propsValues/dateMode.mjs';
|
|
13
|
+
import '../../../common/propsValues/monthFormat.mjs';
|
|
14
|
+
import '../../../common/propsValues/position.mjs';
|
|
15
|
+
import '../../../common/propsValues/layouts.mjs';
|
|
16
|
+
import '../../../common/propsValues/status.mjs';
|
|
5
17
|
import { Sentiment } from '../../../common/propsValues/sentiment.mjs';
|
|
18
|
+
import '../../../common/propsValues/profileType.mjs';
|
|
19
|
+
import '../../../common/propsValues/variant.mjs';
|
|
20
|
+
import '../../../common/propsValues/scroll.mjs';
|
|
21
|
+
import '../../../common/propsValues/markdownNodeType.mjs';
|
|
22
|
+
import '../../../common/fileType.mjs';
|
|
6
23
|
import 'clsx';
|
|
7
24
|
import 'react-intl';
|
|
8
25
|
import '../../../common/closeButton/CloseButton.messages.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploadImageStep.mjs","sources":["../../../../src/upload/steps/uploadImageStep/uploadImageStep.tsx"],"sourcesContent":["import { Upload as UploadIcon } from '@transferwise/icons';\nimport { createRef, PureComponent } from 'react';\nimport StatusIcon from '../../../statusIcon';\nimport { Sentiment, Size } from '../../../common';\nimport { InlinePrompt } from '../../../prompt/InlinePrompt/InlinePrompt';\n\nexport interface UploadImageStepProps {\n fileDropped: (file: File) => void;\n isComplete: boolean;\n usAccept: string;\n usButtonText: string;\n usDisabled: boolean;\n usHelpImage: React.ReactNode;\n usLabel: string;\n usPlaceholder: string;\n errorMessage?: string | string[];\n errorIconLabel?: string;\n}\n\nexport default class UploadImageStep extends PureComponent<UploadImageStepProps> {\n uploadInputRef = createRef<HTMLInputElement>();\n\n onManualUpload = () => {\n const { fileDropped } = this.props;\n const file = this.uploadInputRef.current?.files?.[0];\n if (file != null) {\n fileDropped(file);\n }\n };\n\n onKeyDown = (event: React.KeyboardEvent<HTMLLabelElement>) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.uploadInputRef.current?.click();\n }\n };\n\n getImage = () => {\n const { usHelpImage, usLabel } = this.props;\n const { errorMessage } = this.props;\n\n if (errorMessage) {\n return (\n <div className=\"d-flex flex-column align-items-center\">\n <StatusIcon size={Size.LARGE} sentiment={Sentiment.NEGATIVE} iconLabel={null} />\n </div>\n );\n }\n\n if (!usHelpImage) {\n return (\n <div className=\"circle circle-sm circle-inverse p-t-1\">\n <UploadIcon size={24} />\n </div>\n );\n }\n\n if (typeof usHelpImage === 'string') {\n return <img src={usHelpImage} alt={usLabel} className=\"thumbnail text-xs-center\" />;\n }\n\n return usHelpImage;\n };\n\n render() {\n const {\n errorMessage,\n isComplete,\n errorIconLabel,\n usAccept,\n usButtonText,\n usDisabled,\n usLabel,\n usPlaceholder,\n } = this.props;\n\n return (\n <div className=\"droppable-default-card\" aria-hidden={isComplete}>\n <div className=\"droppable-card-content\">\n <div className=\"m-b-3\">{this.getImage()}</div>\n {usLabel && <h4 className=\"np-text-title-body m-b-1\">{usLabel}</h4>}\n {usPlaceholder && <p className=\"np-text-body-large m-b-3\">{String(usPlaceholder)}</p>}\n <label\n className={`btn btn-primary btn-md ${usDisabled ? 'disabled' : ''}`}\n role=\"button\"\n aria-disabled={usDisabled}\n tabIndex={0}\n onKeyDown={this.onKeyDown}\n >\n {usButtonText ? (\n <span>{usButtonText}</span>\n ) : (\n <UploadIcon size={24} className=\"m-r-0\" />\n )}\n <input\n ref={this.uploadInputRef}\n type=\"file\"\n accept={usAccept === '*' ? undefined : usAccept}\n className=\"tw-droppable-input hidden\"\n disabled={usDisabled}\n name=\"file-upload\"\n onChange={() => this.onManualUpload()}\n />\n </label>\n {errorMessage && (\n <div className=\"upload-error-message\">\n <div className=\"m-t-3 has-error\">\n <InlinePrompt\n sentiment={Sentiment.NEGATIVE}\n mediaLabel={errorIconLabel}\n width=\"full\"\n >\n {errorMessage}\n </InlinePrompt>\n </div>\n </div>\n )}\n </div>\n </div>\n );\n }\n}\n"],"names":["UploadImageStep","PureComponent","uploadInputRef","createRef","onManualUpload","fileDropped","props","file","current","files","onKeyDown","event","key","preventDefault","click","getImage","usHelpImage","usLabel","errorMessage","_jsx","className","children","StatusIcon","size","Size","LARGE","sentiment","Sentiment","NEGATIVE","iconLabel","UploadIcon","src","alt","render","isComplete","errorIconLabel","usAccept","usButtonText","usDisabled","usPlaceholder","_jsxs","String","role","tabIndex","ref","type","accept","undefined","disabled","name","onChange","InlinePrompt","mediaLabel","width"],"mappings":"
|
|
1
|
+
{"version":3,"file":"uploadImageStep.mjs","sources":["../../../../src/upload/steps/uploadImageStep/uploadImageStep.tsx"],"sourcesContent":["import { Upload as UploadIcon } from '@transferwise/icons';\nimport { createRef, PureComponent } from 'react';\nimport StatusIcon from '../../../statusIcon';\nimport { Sentiment, Size } from '../../../common';\nimport { InlinePrompt } from '../../../prompt/InlinePrompt/InlinePrompt';\n\nexport interface UploadImageStepProps {\n fileDropped: (file: File) => void;\n isComplete: boolean;\n usAccept: string;\n usButtonText: string;\n usDisabled: boolean;\n usHelpImage: React.ReactNode;\n usLabel: string;\n usPlaceholder: string;\n errorMessage?: string | string[];\n errorIconLabel?: string;\n}\n\nexport default class UploadImageStep extends PureComponent<UploadImageStepProps> {\n uploadInputRef = createRef<HTMLInputElement>();\n\n onManualUpload = () => {\n const { fileDropped } = this.props;\n const file = this.uploadInputRef.current?.files?.[0];\n if (file != null) {\n fileDropped(file);\n }\n };\n\n onKeyDown = (event: React.KeyboardEvent<HTMLLabelElement>) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.uploadInputRef.current?.click();\n }\n };\n\n getImage = () => {\n const { usHelpImage, usLabel } = this.props;\n const { errorMessage } = this.props;\n\n if (errorMessage) {\n return (\n <div className=\"d-flex flex-column align-items-center\">\n <StatusIcon size={Size.LARGE} sentiment={Sentiment.NEGATIVE} iconLabel={null} />\n </div>\n );\n }\n\n if (!usHelpImage) {\n return (\n <div className=\"circle circle-sm circle-inverse p-t-1\">\n <UploadIcon size={24} />\n </div>\n );\n }\n\n if (typeof usHelpImage === 'string') {\n return <img src={usHelpImage} alt={usLabel} className=\"thumbnail text-xs-center\" />;\n }\n\n return usHelpImage;\n };\n\n render() {\n const {\n errorMessage,\n isComplete,\n errorIconLabel,\n usAccept,\n usButtonText,\n usDisabled,\n usLabel,\n usPlaceholder,\n } = this.props;\n\n return (\n <div className=\"droppable-default-card\" aria-hidden={isComplete}>\n <div className=\"droppable-card-content\">\n <div className=\"m-b-3\">{this.getImage()}</div>\n {usLabel && <h4 className=\"np-text-title-body m-b-1\">{usLabel}</h4>}\n {usPlaceholder && <p className=\"np-text-body-large m-b-3\">{String(usPlaceholder)}</p>}\n <label\n className={`btn btn-primary btn-md ${usDisabled ? 'disabled' : ''}`}\n role=\"button\"\n aria-disabled={usDisabled}\n tabIndex={0}\n onKeyDown={this.onKeyDown}\n >\n {usButtonText ? (\n <span>{usButtonText}</span>\n ) : (\n <UploadIcon size={24} className=\"m-r-0\" />\n )}\n <input\n ref={this.uploadInputRef}\n type=\"file\"\n accept={usAccept === '*' ? undefined : usAccept}\n className=\"tw-droppable-input hidden\"\n disabled={usDisabled}\n name=\"file-upload\"\n onChange={() => this.onManualUpload()}\n />\n </label>\n {errorMessage && (\n <div className=\"upload-error-message\">\n <div className=\"m-t-3 has-error\">\n <InlinePrompt\n sentiment={Sentiment.NEGATIVE}\n mediaLabel={errorIconLabel}\n width=\"full\"\n >\n {errorMessage}\n </InlinePrompt>\n </div>\n </div>\n )}\n </div>\n </div>\n );\n }\n}\n"],"names":["UploadImageStep","PureComponent","uploadInputRef","createRef","onManualUpload","fileDropped","props","file","current","files","onKeyDown","event","key","preventDefault","click","getImage","usHelpImage","usLabel","errorMessage","_jsx","className","children","StatusIcon","size","Size","LARGE","sentiment","Sentiment","NEGATIVE","iconLabel","UploadIcon","src","alt","render","isComplete","errorIconLabel","usAccept","usButtonText","usDisabled","usPlaceholder","_jsxs","String","role","tabIndex","ref","type","accept","undefined","disabled","name","onChange","InlinePrompt","mediaLabel","width"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBc,MAAOA,eAAgB,SAAQC,aAAmC,CAAA;EAC9EC,cAAc,gBAAGC,SAAS,EAAoB;EAE9CC,cAAc,GAAGA,MAAK;IACpB,MAAM;AAAEC,MAAAA;KAAa,GAAG,IAAI,CAACC,KAAK;IAClC,MAAMC,IAAI,GAAG,IAAI,CAACL,cAAc,CAACM,OAAO,EAAEC,KAAK,GAAG,CAAC,CAAC;IACpD,IAAIF,IAAI,IAAI,IAAI,EAAE;MAChBF,WAAW,CAACE,IAAI,CAAC;AACnB,IAAA;EACF,CAAC;EAEDG,SAAS,GAAIC,KAA4C,IAAI;IAC3D,IAAIA,KAAK,CAACC,GAAG,KAAK,OAAO,IAAID,KAAK,CAACC,GAAG,KAAK,GAAG,EAAE;MAC9CD,KAAK,CAACE,cAAc,EAAE;AACtB,MAAA,IAAI,CAACX,cAAc,CAACM,OAAO,EAAEM,KAAK,EAAE;AACtC,IAAA;EACF,CAAC;EAEDC,QAAQ,GAAGA,MAAK;IACd,MAAM;MAAEC,WAAW;AAAEC,MAAAA;KAAS,GAAG,IAAI,CAACX,KAAK;IAC3C,MAAM;AAAEY,MAAAA;KAAc,GAAG,IAAI,CAACZ,KAAK;AAEnC,IAAA,IAAIY,YAAY,EAAE;AAChB,MAAA,oBACEC,GAAA,CAAA,KAAA,EAAA;AAAKC,QAAAA,SAAS,EAAC,uCAAuC;QAAAC,QAAA,eACpDF,GA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EAAA;cACXzB,SAAS,EAAEC,SAAS,CAACC,QAAS;AAC9BwB,cAAAA,UAAU,EAAEjB,cAAe;AAC3BkB,cAAAA,KAAK,EAAC,MAAM;AAAAhC,cAAAA,QAAA,EAEXH;aACW;WACX;AACP,SAAK,CACN;OACE;AACP,KAAK,CAAC;AAEV,EAAA;AACD;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asyncFileRead.js","sources":["../../../../src/upload/utils/asyncFileRead/asyncFileRead.ts"],"sourcesContent":["export async function asyncFileRead(file: Blob) {\n return new Promise<string>((resolve, reject) => {\n const reader = new FileReader();\n reader.addEventListener('load', () => {\n resolve(reader.result as string);\n });\n reader.addEventListener('error', () => {\n reject(reader.error ?? new Error('Cannot read file'));\n });\n reader.readAsDataURL(file);\n });\n}\n"],"names":["asyncFileRead","file","Promise","resolve","reject","reader","FileReader","addEventListener","result","error","Error","readAsDataURL"],"mappings":";;AAAO,eAAeA,aAAaA,CAACC,IAAU,
|
|
1
|
+
{"version":3,"file":"asyncFileRead.js","sources":["../../../../src/upload/utils/asyncFileRead/asyncFileRead.ts"],"sourcesContent":["export async function asyncFileRead(file: Blob) {\n return new Promise<string>((resolve, reject) => {\n const reader = new FileReader();\n reader.addEventListener('load', () => {\n resolve(reader.result as string);\n });\n reader.addEventListener('error', () => {\n reject(reader.error ?? new Error('Cannot read file'));\n });\n reader.readAsDataURL(file);\n });\n}\n"],"names":["asyncFileRead","file","Promise","resolve","reject","reader","FileReader","addEventListener","result","error","Error","readAsDataURL"],"mappings":";;AAAO,eAAeA,aAAaA,CAACC,IAAU,EAAA;AAC5C,EAAA,OAAO,IAAIC,OAAO,CAAS,CAACC,OAAO,EAAEC,MAAM,KAAI;AAC7C,IAAA,MAAMC,MAAM,GAAG,IAAIC,UAAU,EAAE;AAC/BD,IAAAA,MAAM,CAACE,gBAAgB,CAAC,MAAM,EAAE,MAAK;AACnCJ,MAAAA,OAAO,CAACE,MAAM,CAACG,MAAgB,CAAC;AAClC,IAAA,CAAC,CAAC;AACFH,IAAAA,MAAM,CAACE,gBAAgB,CAAC,OAAO,EAAE,MAAK;MACpCH,MAAM,CAACC,MAAM,CAACI,KAAK,IAAI,IAAIC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AACvD,IAAA,CAAC,CAAC;AACFL,IAAAA,MAAM,CAACM,aAAa,CAACV,IAAI,CAAC;AAC5B,EAAA,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asyncFileRead.mjs","sources":["../../../../src/upload/utils/asyncFileRead/asyncFileRead.ts"],"sourcesContent":["export async function asyncFileRead(file: Blob) {\n return new Promise<string>((resolve, reject) => {\n const reader = new FileReader();\n reader.addEventListener('load', () => {\n resolve(reader.result as string);\n });\n reader.addEventListener('error', () => {\n reject(reader.error ?? new Error('Cannot read file'));\n });\n reader.readAsDataURL(file);\n });\n}\n"],"names":["asyncFileRead","file","Promise","resolve","reject","reader","FileReader","addEventListener","result","error","Error","readAsDataURL"],"mappings":"AAAO,eAAeA,aAAaA,CAACC,IAAU,
|
|
1
|
+
{"version":3,"file":"asyncFileRead.mjs","sources":["../../../../src/upload/utils/asyncFileRead/asyncFileRead.ts"],"sourcesContent":["export async function asyncFileRead(file: Blob) {\n return new Promise<string>((resolve, reject) => {\n const reader = new FileReader();\n reader.addEventListener('load', () => {\n resolve(reader.result as string);\n });\n reader.addEventListener('error', () => {\n reject(reader.error ?? new Error('Cannot read file'));\n });\n reader.readAsDataURL(file);\n });\n}\n"],"names":["asyncFileRead","file","Promise","resolve","reject","reader","FileReader","addEventListener","result","error","Error","readAsDataURL"],"mappings":"AAAO,eAAeA,aAAaA,CAACC,IAAU,EAAA;AAC5C,EAAA,OAAO,IAAIC,OAAO,CAAS,CAACC,OAAO,EAAEC,MAAM,KAAI;AAC7C,IAAA,MAAMC,MAAM,GAAG,IAAIC,UAAU,EAAE;AAC/BD,IAAAA,MAAM,CAACE,gBAAgB,CAAC,MAAM,EAAE,MAAK;AACnCJ,MAAAA,OAAO,CAACE,MAAM,CAACG,MAAgB,CAAC;AAClC,IAAA,CAAC,CAAC;AACFH,IAAAA,MAAM,CAACE,gBAAgB,CAAC,OAAO,EAAE,MAAK;MACpCH,MAAM,CAACC,MAAM,CAACI,KAAK,IAAI,IAAIC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AACvD,IAAA,CAAC,CAAC;AACFL,IAAAA,MAAM,CAACM,aAAa,CAACV,IAAI,CAAC;AAC5B,EAAA,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFileType.js","sources":["../../../../src/upload/utils/getFileType/getFileType.ts"],"sourcesContent":["export function getFileType(file: Blob, file64?: string) {\n if (file.type) {\n return file.type;\n }\n\n if (file64) {\n const regex = /^data:([a-z]+\\/[a-z]+);/;\n const typeFromEncoded = regex.exec(file64);\n\n if (typeFromEncoded?.[1]) {\n return typeFromEncoded[1];\n }\n }\n\n return '';\n}\n"],"names":["getFileType","file","file64","type","regex","typeFromEncoded","exec"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getFileType.js","sources":["../../../../src/upload/utils/getFileType/getFileType.ts"],"sourcesContent":["export function getFileType(file: Blob, file64?: string) {\n if (file.type) {\n return file.type;\n }\n\n if (file64) {\n const regex = /^data:([a-z]+\\/[a-z]+);/;\n const typeFromEncoded = regex.exec(file64);\n\n if (typeFromEncoded?.[1]) {\n return typeFromEncoded[1];\n }\n }\n\n return '';\n}\n"],"names":["getFileType","file","file64","type","regex","typeFromEncoded","exec"],"mappings":";;AAAM,SAAUA,WAAWA,CAACC,IAAU,EAAEC,MAAe,EAAA;EACrD,IAAID,IAAI,CAACE,IAAI,EAAE;IACb,OAAOF,IAAI,CAACE,IAAI;AAClB,EAAA;AAEA,EAAA,IAAID,MAAM,EAAE;IACV,MAAME,KAAK,GAAG,yBAAyB;AACvC,IAAA,MAAMC,eAAe,GAAGD,KAAK,CAACE,IAAI,CAACJ,MAAM,CAAC;AAE1C,IAAA,IAAIG,eAAe,GAAG,CAAC,CAAC,EAAE;MACxB,OAAOA,eAAe,CAAC,CAAC,CAAC;AAC3B,IAAA;AACF,EAAA;AAEA,EAAA,OAAO,EAAE;AACX;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFileType.mjs","sources":["../../../../src/upload/utils/getFileType/getFileType.ts"],"sourcesContent":["export function getFileType(file: Blob, file64?: string) {\n if (file.type) {\n return file.type;\n }\n\n if (file64) {\n const regex = /^data:([a-z]+\\/[a-z]+);/;\n const typeFromEncoded = regex.exec(file64);\n\n if (typeFromEncoded?.[1]) {\n return typeFromEncoded[1];\n }\n }\n\n return '';\n}\n"],"names":["getFileType","file","file64","type","regex","typeFromEncoded","exec"],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFileType.mjs","sources":["../../../../src/upload/utils/getFileType/getFileType.ts"],"sourcesContent":["export function getFileType(file: Blob, file64?: string) {\n if (file.type) {\n return file.type;\n }\n\n if (file64) {\n const regex = /^data:([a-z]+\\/[a-z]+);/;\n const typeFromEncoded = regex.exec(file64);\n\n if (typeFromEncoded?.[1]) {\n return typeFromEncoded[1];\n }\n }\n\n return '';\n}\n"],"names":["getFileType","file","file64","type","regex","typeFromEncoded","exec"],"mappings":"AAAM,SAAUA,WAAWA,CAACC,IAAU,EAAEC,MAAe,EAAA;EACrD,IAAID,IAAI,CAACE,IAAI,EAAE;IACb,OAAOF,IAAI,CAACE,IAAI;AAClB,EAAA;AAEA,EAAA,IAAID,MAAM,EAAE;IACV,MAAME,KAAK,GAAG,yBAAyB;AACvC,IAAA,MAAMC,eAAe,GAAGD,KAAK,CAACE,IAAI,CAACJ,MAAM,CAAC;AAE1C,IAAA,IAAIG,eAAe,GAAG,CAAC,CAAC,EAAE;MACxB,OAAOA,eAAe,CAAC,CAAC,CAAC;AAC3B,IAAA;AACF,EAAA;AAEA,EAAA,OAAO,EAAE;AACX;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isSizeValid.js","sources":["../../../../src/upload/utils/isSizeValid/isSizeValid.ts"],"sourcesContent":["export function isSizeValid(file: Blob, maxSize: number) {\n return Number.isInteger(maxSize) && file.size <= maxSize;\n}\n"],"names":["isSizeValid","file","maxSize","Number","isInteger","size"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"isSizeValid.js","sources":["../../../../src/upload/utils/isSizeValid/isSizeValid.ts"],"sourcesContent":["export function isSizeValid(file: Blob, maxSize: number) {\n return Number.isInteger(maxSize) && file.size <= maxSize;\n}\n"],"names":["isSizeValid","file","maxSize","Number","isInteger","size"],"mappings":";;AAAM,SAAUA,WAAWA,CAACC,IAAU,EAAEC,OAAe,EAAA;EACrD,OAAOC,MAAM,CAACC,SAAS,CAACF,OAAO,CAAC,IAAID,IAAI,CAACI,IAAI,IAAIH,OAAO;AAC1D;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isSizeValid.mjs","sources":["../../../../src/upload/utils/isSizeValid/isSizeValid.ts"],"sourcesContent":["export function isSizeValid(file: Blob, maxSize: number) {\n return Number.isInteger(maxSize) && file.size <= maxSize;\n}\n"],"names":["isSizeValid","file","maxSize","Number","isInteger","size"],"mappings":"
|
|
1
|
+
{"version":3,"file":"isSizeValid.mjs","sources":["../../../../src/upload/utils/isSizeValid/isSizeValid.ts"],"sourcesContent":["export function isSizeValid(file: Blob, maxSize: number) {\n return Number.isInteger(maxSize) && file.size <= maxSize;\n}\n"],"names":["isSizeValid","file","maxSize","Number","isInteger","size"],"mappings":"AAAM,SAAUA,WAAWA,CAACC,IAAU,EAAEC,OAAe,EAAA;EACrD,OAAOC,MAAM,CAACC,SAAS,CAACF,OAAO,CAAC,IAAID,IAAI,CAACI,IAAI,IAAIH,OAAO;AAC1D;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isTypeValid.js","sources":["../../../../src/upload/utils/isTypeValid/isTypeValid.ts"],"sourcesContent":["import { getFileType } from '../getFileType';\n\nexport function isTypeValid(file: Blob, rule: string, file64?: string) {\n if (!rule) {\n return false;\n }\n\n const allowedTypes = rule.replace(/\\s/g, '').split(',');\n const fileType = getFileType(file, file64);\n\n if (rule === '*' || allowedTypes.includes(fileType)) {\n return true;\n }\n\n return allowedTypes.some((type) => {\n const [typeAllowed, extensionAllowed] = type.split('/');\n return extensionAllowed === '*' && fileType.includes(typeAllowed);\n });\n}\n"],"names":["isTypeValid","file","rule","file64","allowedTypes","replace","split","fileType","getFileType","includes","some","type","typeAllowed","extensionAllowed"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"isTypeValid.js","sources":["../../../../src/upload/utils/isTypeValid/isTypeValid.ts"],"sourcesContent":["import { getFileType } from '../getFileType';\n\nexport function isTypeValid(file: Blob, rule: string, file64?: string) {\n if (!rule) {\n return false;\n }\n\n const allowedTypes = rule.replace(/\\s/g, '').split(',');\n const fileType = getFileType(file, file64);\n\n if (rule === '*' || allowedTypes.includes(fileType)) {\n return true;\n }\n\n return allowedTypes.some((type) => {\n const [typeAllowed, extensionAllowed] = type.split('/');\n return extensionAllowed === '*' && fileType.includes(typeAllowed);\n });\n}\n"],"names":["isTypeValid","file","rule","file64","allowedTypes","replace","split","fileType","getFileType","includes","some","type","typeAllowed","extensionAllowed"],"mappings":";;;;SAEgBA,WAAWA,CAACC,IAAU,EAAEC,IAAY,EAAEC,MAAe,EAAA;EACnE,IAAI,CAACD,IAAI,EAAE;AACT,IAAA,OAAO,KAAK;AACd,EAAA;AAEA,EAAA,MAAME,YAAY,GAAGF,IAAI,CAACG,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAACC,KAAK,CAAC,GAAG,CAAC;AACvD,EAAA,MAAMC,QAAQ,GAAGC,uBAAW,CAACP,IAAI,EAAEE,MAAM,CAAC;EAE1C,IAAID,IAAI,KAAK,GAAG,IAAIE,YAAY,CAACK,QAAQ,CAACF,QAAQ,CAAC,EAAE;AACnD,IAAA,OAAO,IAAI;AACb,EAAA;AAEA,EAAA,OAAOH,YAAY,CAACM,IAAI,CAAEC,IAAI,IAAI;IAChC,MAAM,CAACC,WAAW,EAAEC,gBAAgB,CAAC,GAAGF,IAAI,CAACL,KAAK,CAAC,GAAG,CAAC;IACvD,OAAOO,gBAAgB,KAAK,GAAG,IAAIN,QAAQ,CAACE,QAAQ,CAACG,WAAW,CAAC;AACnE,EAAA,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isTypeValid.mjs","sources":["../../../../src/upload/utils/isTypeValid/isTypeValid.ts"],"sourcesContent":["import { getFileType } from '../getFileType';\n\nexport function isTypeValid(file: Blob, rule: string, file64?: string) {\n if (!rule) {\n return false;\n }\n\n const allowedTypes = rule.replace(/\\s/g, '').split(',');\n const fileType = getFileType(file, file64);\n\n if (rule === '*' || allowedTypes.includes(fileType)) {\n return true;\n }\n\n return allowedTypes.some((type) => {\n const [typeAllowed, extensionAllowed] = type.split('/');\n return extensionAllowed === '*' && fileType.includes(typeAllowed);\n });\n}\n"],"names":["isTypeValid","file","rule","file64","allowedTypes","replace","split","fileType","getFileType","includes","some","type","typeAllowed","extensionAllowed"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"isTypeValid.mjs","sources":["../../../../src/upload/utils/isTypeValid/isTypeValid.ts"],"sourcesContent":["import { getFileType } from '../getFileType';\n\nexport function isTypeValid(file: Blob, rule: string, file64?: string) {\n if (!rule) {\n return false;\n }\n\n const allowedTypes = rule.replace(/\\s/g, '').split(',');\n const fileType = getFileType(file, file64);\n\n if (rule === '*' || allowedTypes.includes(fileType)) {\n return true;\n }\n\n return allowedTypes.some((type) => {\n const [typeAllowed, extensionAllowed] = type.split('/');\n return extensionAllowed === '*' && fileType.includes(typeAllowed);\n });\n}\n"],"names":["isTypeValid","file","rule","file64","allowedTypes","replace","split","fileType","getFileType","includes","some","type","typeAllowed","extensionAllowed"],"mappings":";;SAEgBA,WAAWA,CAACC,IAAU,EAAEC,IAAY,EAAEC,MAAe,EAAA;EACnE,IAAI,CAACD,IAAI,EAAE;AACT,IAAA,OAAO,KAAK;AACd,EAAA;AAEA,EAAA,MAAME,YAAY,GAAGF,IAAI,CAACG,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAACC,KAAK,CAAC,GAAG,CAAC;AACvD,EAAA,MAAMC,QAAQ,GAAGC,WAAW,CAACP,IAAI,EAAEE,MAAM,CAAC;EAE1C,IAAID,IAAI,KAAK,GAAG,IAAIE,YAAY,CAACK,QAAQ,CAACF,QAAQ,CAAC,EAAE;AACnD,IAAA,OAAO,IAAI;AACb,EAAA;AAEA,EAAA,OAAOH,YAAY,CAACM,IAAI,CAAEC,IAAI,IAAI;IAChC,MAAM,CAACC,WAAW,EAAEC,gBAAgB,CAAC,GAAGF,IAAI,CAACL,KAAK,CAAC,GAAG,CAAC;IACvD,OAAOO,gBAAgB,KAAK,GAAG,IAAIN,QAAQ,CAACE,QAAQ,CAACG,WAAW,CAAC;AACnE,EAAA,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postData.js","sources":["../../../../src/upload/utils/postData/postData.ts"],"sourcesContent":["export class ResponseError extends Error {\n response: Response;\n status: number;\n\n constructor(response: Response, message?: string) {\n super(message);\n this.name = 'ResponseError';\n this.response = response;\n this.status = response.status;\n }\n}\n\nexport interface PostDataHTTPOptions extends Omit<RequestInit, 'body'> {\n url: string;\n method?: 'POST' | 'PUT' | 'PATCH';\n}\n\nexport type PostDataFetcher = (input: string, init: RequestInit) => Promise<Response>;\n\nexport async function postData(\n { url, method = 'POST', ...httpOptions }: PostDataHTTPOptions,\n data: RequestInit['body'],\n fetcher: PostDataFetcher = fetch,\n) {\n const response = await fetcher(url, {\n method,\n body: data,\n ...httpOptions,\n });\n\n if (!response.ok) {\n throw new ResponseError(response, response.statusText);\n }\n\n return response;\n}\n"],"names":["ResponseError","Error","response","status","constructor","message","name","postData","url","method","httpOptions","data","fetcher","fetch","body","ok","statusText"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"postData.js","sources":["../../../../src/upload/utils/postData/postData.ts"],"sourcesContent":["export class ResponseError extends Error {\n response: Response;\n status: number;\n\n constructor(response: Response, message?: string) {\n super(message);\n this.name = 'ResponseError';\n this.response = response;\n this.status = response.status;\n }\n}\n\nexport interface PostDataHTTPOptions extends Omit<RequestInit, 'body'> {\n url: string;\n method?: 'POST' | 'PUT' | 'PATCH';\n}\n\nexport type PostDataFetcher = (input: string, init: RequestInit) => Promise<Response>;\n\nexport async function postData(\n { url, method = 'POST', ...httpOptions }: PostDataHTTPOptions,\n data: RequestInit['body'],\n fetcher: PostDataFetcher = fetch,\n) {\n const response = await fetcher(url, {\n method,\n body: data,\n ...httpOptions,\n });\n\n if (!response.ok) {\n throw new ResponseError(response, response.statusText);\n }\n\n return response;\n}\n"],"names":["ResponseError","Error","response","status","constructor","message","name","postData","url","method","httpOptions","data","fetcher","fetch","body","ok","statusText"],"mappings":";;AAAM,MAAOA,aAAc,SAAQC,KAAK,CAAA;EACtCC,QAAQ;EACRC,MAAM;AAENC,EAAAA,WAAAA,CAAYF,QAAkB,EAAEG,OAAgB,EAAA;IAC9C,KAAK,CAACA,OAAO,CAAC;IACd,IAAI,CAACC,IAAI,GAAG,eAAe;IAC3B,IAAI,CAACJ,QAAQ,GAAGA,QAAQ;AACxB,IAAA,IAAI,CAACC,MAAM,GAAGD,QAAQ,CAACC,MAAM;AAC/B,EAAA;AACD;AASM,eAAeI,QAAQA,CAC5B;EAAEC,GAAG;AAAEC,EAAAA,MAAM,GAAG,MAAM;EAAE,GAAGC;AAAW,CAAuB,EAC7DC,IAAyB,EACzBC,UAA2BC,KAAK,EAAA;AAEhC,EAAA,MAAMX,QAAQ,GAAG,MAAMU,OAAO,CAACJ,GAAG,EAAE;IAClCC,MAAM;AACNK,IAAAA,IAAI,EAAEH,IAAI;IACV,GAAGD;AACJ,GAAA,CAAC;AAEF,EAAA,IAAI,CAACR,QAAQ,CAACa,EAAE,EAAE;IAChB,MAAM,IAAIf,aAAa,CAACE,QAAQ,EAAEA,QAAQ,CAACc,UAAU,CAAC;AACxD,EAAA;AAEA,EAAA,OAAOd,QAAQ;AACjB;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postData.mjs","sources":["../../../../src/upload/utils/postData/postData.ts"],"sourcesContent":["export class ResponseError extends Error {\n response: Response;\n status: number;\n\n constructor(response: Response, message?: string) {\n super(message);\n this.name = 'ResponseError';\n this.response = response;\n this.status = response.status;\n }\n}\n\nexport interface PostDataHTTPOptions extends Omit<RequestInit, 'body'> {\n url: string;\n method?: 'POST' | 'PUT' | 'PATCH';\n}\n\nexport type PostDataFetcher = (input: string, init: RequestInit) => Promise<Response>;\n\nexport async function postData(\n { url, method = 'POST', ...httpOptions }: PostDataHTTPOptions,\n data: RequestInit['body'],\n fetcher: PostDataFetcher = fetch,\n) {\n const response = await fetcher(url, {\n method,\n body: data,\n ...httpOptions,\n });\n\n if (!response.ok) {\n throw new ResponseError(response, response.statusText);\n }\n\n return response;\n}\n"],"names":["ResponseError","Error","response","status","constructor","message","name","postData","url","method","httpOptions","data","fetcher","fetch","body","ok","statusText"],"mappings":"
|
|
1
|
+
{"version":3,"file":"postData.mjs","sources":["../../../../src/upload/utils/postData/postData.ts"],"sourcesContent":["export class ResponseError extends Error {\n response: Response;\n status: number;\n\n constructor(response: Response, message?: string) {\n super(message);\n this.name = 'ResponseError';\n this.response = response;\n this.status = response.status;\n }\n}\n\nexport interface PostDataHTTPOptions extends Omit<RequestInit, 'body'> {\n url: string;\n method?: 'POST' | 'PUT' | 'PATCH';\n}\n\nexport type PostDataFetcher = (input: string, init: RequestInit) => Promise<Response>;\n\nexport async function postData(\n { url, method = 'POST', ...httpOptions }: PostDataHTTPOptions,\n data: RequestInit['body'],\n fetcher: PostDataFetcher = fetch,\n) {\n const response = await fetcher(url, {\n method,\n body: data,\n ...httpOptions,\n });\n\n if (!response.ok) {\n throw new ResponseError(response, response.statusText);\n }\n\n return response;\n}\n"],"names":["ResponseError","Error","response","status","constructor","message","name","postData","url","method","httpOptions","data","fetcher","fetch","body","ok","statusText"],"mappings":"AAAM,MAAOA,aAAc,SAAQC,KAAK,CAAA;EACtCC,QAAQ;EACRC,MAAM;AAENC,EAAAA,WAAAA,CAAYF,QAAkB,EAAEG,OAAgB,EAAA;IAC9C,KAAK,CAACA,OAAO,CAAC;IACd,IAAI,CAACC,IAAI,GAAG,eAAe;IAC3B,IAAI,CAACJ,QAAQ,GAAGA,QAAQ;AACxB,IAAA,IAAI,CAACC,MAAM,GAAGD,QAAQ,CAACC,MAAM;AAC/B,EAAA;AACD;AASM,eAAeI,QAAQA,CAC5B;EAAEC,GAAG;AAAEC,EAAAA,MAAM,GAAG,MAAM;EAAE,GAAGC;AAAW,CAAuB,EAC7DC,IAAyB,EACzBC,UAA2BC,KAAK,EAAA;AAEhC,EAAA,MAAMX,QAAQ,GAAG,MAAMU,OAAO,CAACJ,GAAG,EAAE;IAClCC,MAAM;AACNK,IAAAA,IAAI,EAAEH,IAAI;IACV,GAAGD;AACJ,GAAA,CAAC;AAEF,EAAA,IAAI,CAACR,QAAQ,CAACa,EAAE,EAAE;IAChB,MAAM,IAAIf,aAAa,CAACE,QAAQ,EAAEA,QAAQ,CAACc,UAAU,CAAC;AACxD,EAAA;AAEA,EAAA,OAAOd,QAAQ;AACjB;;;;"}
|
|
@@ -6,8 +6,25 @@ var clsx = require('clsx');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var reactIntl = require('react-intl');
|
|
8
8
|
var Button_resolver = require('../button/Button.resolver.js');
|
|
9
|
+
require('../common/theme.js');
|
|
10
|
+
require('../common/direction.js');
|
|
9
11
|
var control = require('../common/propsValues/control.js');
|
|
12
|
+
require('../common/propsValues/breakpoint.js');
|
|
13
|
+
require('../common/propsValues/size.js');
|
|
14
|
+
require('../common/propsValues/typography.js');
|
|
15
|
+
require('../common/propsValues/width.js');
|
|
16
|
+
require('../common/propsValues/type.js');
|
|
17
|
+
require('../common/propsValues/dateMode.js');
|
|
18
|
+
require('../common/propsValues/monthFormat.js');
|
|
19
|
+
require('../common/propsValues/position.js');
|
|
20
|
+
require('../common/propsValues/layouts.js');
|
|
10
21
|
var status = require('../common/propsValues/status.js');
|
|
22
|
+
require('../common/propsValues/sentiment.js');
|
|
23
|
+
require('../common/propsValues/profileType.js');
|
|
24
|
+
require('../common/propsValues/variant.js');
|
|
25
|
+
require('../common/propsValues/scroll.js');
|
|
26
|
+
require('../common/propsValues/markdownNodeType.js');
|
|
27
|
+
require('../common/fileType.js');
|
|
11
28
|
require('@transferwise/icons');
|
|
12
29
|
require('../common/closeButton/CloseButton.messages.js');
|
|
13
30
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -20,9 +37,6 @@ var UploadButton = require('./uploadButton/UploadButton.js');
|
|
|
20
37
|
var defaults = require('./uploadButton/defaults.js');
|
|
21
38
|
var UploadItem = require('./uploadItem/UploadItem.js');
|
|
22
39
|
|
|
23
|
-
/**
|
|
24
|
-
* Generates a unique ID for a file based on its name, size, and the current timestamp
|
|
25
|
-
*/
|
|
26
40
|
function generateFileId(file) {
|
|
27
41
|
const {
|
|
28
42
|
name,
|
|
@@ -31,7 +45,6 @@ function generateFileId(file) {
|
|
|
31
45
|
const uploadTimeStamp = new Date().getTime();
|
|
32
46
|
return `${name}_${size}_${uploadTimeStamp}`;
|
|
33
47
|
}
|
|
34
|
-
|
|
35
48
|
/**
|
|
36
49
|
* The component allows users to upload files, manage the list of uploaded files,
|
|
37
50
|
* and handle file validation and deletion.
|
|
@@ -208,7 +221,6 @@ const UploadInput = ({
|
|
|
208
221
|
onFilesChange([...uploadedFiles]);
|
|
209
222
|
}
|
|
210
223
|
}, [onFilesChange, uploadedFiles]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
211
|
-
|
|
212
224
|
const [nextFocusable, setNextFocusable] = React.useState(uploadInputRef.current);
|
|
213
225
|
const handleFocus = fileId => {
|
|
214
226
|
fileRefs = fileRefs.filter(ref => {
|
|
@@ -217,7 +229,6 @@ const UploadInput = ({
|
|
|
217
229
|
const filesCount = fileRefs.length;
|
|
218
230
|
let next = uploadInputRef.current;
|
|
219
231
|
let focusTarget = 'button';
|
|
220
|
-
|
|
221
232
|
// If there will be no files left after deletion, focus the upload button
|
|
222
233
|
if (filesCount === 1) {
|
|
223
234
|
next = uploadInputRef.current;
|
|
@@ -228,14 +239,12 @@ const UploadInput = ({
|
|
|
228
239
|
const currentFileIndex = fileRefs.findIndex(file => file?.id === fileId);
|
|
229
240
|
const currentFileId = fileRefs?.[currentFileIndex]?.id;
|
|
230
241
|
const lastFileId = fileRefs?.[filesCount - 1]?.id;
|
|
231
|
-
|
|
232
242
|
// if last file, select a previous one
|
|
233
243
|
if (currentFileId === lastFileId) {
|
|
234
244
|
next = fileRefs[filesCount - 2];
|
|
235
245
|
} else {
|
|
236
246
|
next = fileRefs[currentFileIndex + 1];
|
|
237
247
|
}
|
|
238
|
-
|
|
239
248
|
// If next is an UploadItemRef, check if it has a URL (succeeded)
|
|
240
249
|
if (next && 'status' in next) {
|
|
241
250
|
// Find the file object for this ref
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadInput.js","sources":["../../src/uploadInput/UploadInput.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useEffect, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Button from '../button';\nimport { CommonProps, ControlType, Priority, Status } from '../common';\nimport { useInputAttributes } from '../inputs/contexts';\nimport Modal from '../modal';\nimport { isSizeValid } from '../upload/utils/isSizeValid';\nimport { isTypeValid } from '../upload/utils/isTypeValid';\n\nimport MESSAGES from './UploadInput.messages';\nimport { UploadedFile, UploadError, UploadResponse } from './types';\nimport UploadButton, { UploadButtonProps } from './uploadButton/UploadButton';\nimport { DEFAULT_SIZE_LIMIT, imageFileTypes } from './uploadButton/defaults';\nimport UploadItem, { UploadItemProps } from './uploadItem/UploadItem';\n\nexport type UploadInputProps = {\n /**\n * List of already existing, failed or in progress files\n */\n files?: readonly UploadedFile[];\n\n /**\n * The key of the file in the returned FormData object (default: file)\n */\n fileInputName?: string;\n\n /**\n * Callback that handles form submission\n *\n * @param formData\n */\n onUploadFile: (formData: FormData) => Promise<UploadResponse>;\n\n /**\n * Provide a callback if the file can be removed/deleted from the server\n * Your app is responsible for reloading the uploaded files list and updating the component to ensure that the file has in fact been deleted successfully\n *\n * @param id\n */\n onDeleteFile?: (id: string | number) => Promise<any>;\n\n /**\n * Provide a callback to trigger on validation error\n *\n * @param file\n */\n onValidationError?: (file: UploadedFile) => void;\n\n /**\n * Provide a callback to trigger on change whenever the files are updated\n *\n * @param files\n */\n onFilesChange?: (files: UploadedFile[]) => void;\n\n /**\n * Confirmation modal displayed on delete\n */\n deleteConfirm?: {\n /**\n * The title of the confirmation modal on delete\n */\n title?: string;\n\n /**\n * The body of the confirmation modal on delete\n */\n body?: React.ReactNode;\n\n /**\n * The confirm button text of the confirmation modal on delete\n */\n confirmText?: string;\n\n /**\n * The cancel button text of the confirmation modal on delete\n */\n cancelText?: string;\n };\n\n /**\n * Maximum number of files allowed, if provided, shows error below file item\n */\n maxFiles?: number;\n\n /**\n * Error message to show when the maximum number of files are uploaded already\n */\n maxFilesErrorMessage?: string;\n\n /**\n * Error message to show when files over allowed size limit are uploaded\n */\n sizeLimitErrorMessage?: string;\n} & Pick<\n UploadButtonProps,\n 'disabled' | 'multiple' | 'fileTypes' | 'sizeLimit' | 'description' | 'id' | 'uploadButtonTitle'\n> & { onDownload?: UploadItemProps['onDownload'] } & CommonProps;\n\n/**\n * Interface representing a reference to an UploadItem component.\n * Provides a method to focus the UploadItem.\n */\ninterface UploadItemRef {\n /**\n * Focuses the UploadItem component.\n */\n focus: () => void;\n\n /**\n * Required id of the UploadItem component.\n */\n id: string | number;\n\n /**\n * Optional status of the UploadItem component.\n */\n status?: string;\n}\n\n/**\n * Generates a unique ID for a file based on its name, size, and the current timestamp\n */\nfunction generateFileId(file: File) {\n const { name, size } = file;\n const uploadTimeStamp = new Date().getTime();\n return `${name}_${size}_${uploadTimeStamp}`;\n}\n\n/**\n * The component allows users to upload files, manage the list of uploaded files,\n * and handle file validation and deletion.\n *\n * @param {UploadInputProps} props - The properties for the UploadInput component.\n *\n * @see {@link UploadInput} for further information.\n * @see {@link https://storybook.wise.design/?path=/docs/forms-uploadinput--docs|Storybook Wise Design}\n */\nconst UploadInput = ({\n files = [],\n fileInputName = 'file',\n className,\n deleteConfirm,\n disabled,\n multiple = false,\n fileTypes = imageFileTypes,\n sizeLimit = DEFAULT_SIZE_LIMIT,\n description,\n onUploadFile,\n onDeleteFile,\n onValidationError,\n onFilesChange,\n onDownload,\n maxFiles,\n maxFilesErrorMessage,\n id,\n sizeLimitErrorMessage,\n uploadButtonTitle,\n}: UploadInputProps) => {\n const inputAttributes = useInputAttributes({ nonLabelable: true });\n const [markedFileForDelete, setMarkedFileForDelete] = useState<UploadedFile | null>(null);\n const [lastAttemptedDeleteId, setLastAttemptedDeleteId] = useState<string | number | null>(null);\n const [mounted, setMounted] = useState(false);\n const { formatMessage } = useIntl();\n const uploadInputRef = useRef<HTMLInputElement | null>(null);\n let fileRefs: (HTMLDivElement | UploadItemRef | null)[] = [];\n\n const PROGRESS_STATUSES = new Set([Status.PENDING, Status.PROCESSING]);\n\n const [uploadedFiles, setUploadedFiles] = useState<readonly UploadedFile[]>(\n multiple || files.length === 0 ? files : [files[0]],\n );\n\n const uploadedFilesListReference = useRef(multiple || files.length === 0 ? files : [files[0]]);\n\n function updateFileList(updateFn: (list: readonly UploadedFile[]) => readonly UploadedFile[]) {\n setUploadedFiles(updateFn);\n uploadedFilesListReference.current = updateFn(uploadedFilesListReference.current);\n }\n\n function addFileToList(recentUploadedFile: UploadedFile) {\n updateFileList((list) => [...list, recentUploadedFile]);\n }\n\n function removeFileFromList(file: UploadedFile) {\n updateFileList((list) =>\n list.filter((fileInList) => file !== fileInList && file.id !== fileInList.id),\n );\n fileRefs = fileRefs.filter((ref) => ref && ref.id !== file.id);\n }\n\n function modifyFileInList(file: UploadedFile, updates: Partial<UploadedFile>) {\n updateFileList((list) =>\n list.map((fileInList) =>\n fileInList === file || fileInList.id === file.id ? { ...file, ...updates } : fileInList,\n ),\n );\n }\n\n const removeFile = async (file: UploadedFile) => {\n const { id, status } = file;\n fileRefs = fileRefs.filter((item) => item && item.id !== file.id);\n\n if (status === Status.FAILED) {\n removeFileFromList(file);\n return Promise.resolve();\n }\n\n if (onDeleteFile && id) {\n modifyFileInList(file, { status: Status.PROCESSING, error: undefined });\n\n return onDeleteFile(id)\n .then(() => {\n removeFileFromList(file);\n })\n .catch((error) => {\n modifyFileInList(file, { error: error as UploadError });\n });\n }\n };\n\n function handleFileUploadFailure(file: File, failureMessage: string) {\n const { name } = file;\n\n const failedUpload = {\n id: generateFileId(file),\n filename: name,\n status: Status.FAILED,\n error: failureMessage,\n };\n\n addFileToList(failedUpload);\n\n if (onValidationError) {\n onValidationError(failedUpload);\n }\n }\n\n function getNumberOfFilesUploaded() {\n const uploadInitiatedStatus = new Set([Status.SUCCEEDED, Status.PENDING]);\n const validFiles = uploadedFilesListReference.current.filter(\n (file) => file.status && uploadInitiatedStatus.has(file.status),\n );\n return validFiles.length;\n }\n\n function areMaximumFilesUploadedAlready() {\n if (!maxFiles) {\n return false;\n }\n\n const numberOfValidFiles = getNumberOfFilesUploaded();\n return numberOfValidFiles >= maxFiles;\n }\n\n const addFiles = (selectedFiles: FileList) => {\n for (let i = 0; i < selectedFiles.length; i += 1) {\n const file = selectedFiles.item(i);\n\n const formData = new FormData();\n\n if (file) {\n const allowedFileTypes = typeof fileTypes === 'string' ? fileTypes : fileTypes.join(',');\n\n if (!isTypeValid(file, allowedFileTypes)) {\n handleFileUploadFailure(file, formatMessage(MESSAGES.fileTypeNotSupported));\n continue;\n }\n\n if (typeof sizeLimit === 'number' && !isSizeValid(file, sizeLimit * 1000)) {\n const failureMessage = sizeLimitErrorMessage || formatMessage(MESSAGES.fileIsTooLarge);\n handleFileUploadFailure(file, failureMessage);\n continue;\n }\n\n if (areMaximumFilesUploadedAlready()) {\n const failureMessage =\n maxFilesErrorMessage ||\n formatMessage(MESSAGES.maximumFilesAlreadyUploaded, { maxFilesAllowed: maxFiles });\n handleFileUploadFailure(file, failureMessage);\n continue;\n }\n\n const existingFile = uploadedFiles.find((f) => f.filename === file.name);\n if (existingFile) {\n removeFileFromList(existingFile);\n }\n\n formData.append(fileInputName, file);\n const pendingFile = {\n id: generateFileId(file),\n filename: file.name,\n status: Status.PENDING,\n };\n\n addFileToList(pendingFile);\n\n onUploadFile(formData)\n .then(({ id, url, error }: UploadResponse) => {\n modifyFileInList(pendingFile, { id, url, error, status: Status.SUCCEEDED });\n })\n .catch((error) => {\n modifyFileInList(pendingFile, { error: error as UploadError, status: Status.FAILED });\n });\n\n if (!multiple) {\n break;\n }\n }\n }\n };\n\n useEffect(() => {\n setMounted(true);\n }, []);\n\n useEffect(() => {\n if (onFilesChange && mounted) {\n onFilesChange([...uploadedFiles]);\n }\n }, [onFilesChange, uploadedFiles]); // eslint-disable-line react-hooks/exhaustive-deps\n\n type NextFocusable =\n | HTMLDivElement\n | UploadItemRef\n | { ref: HTMLDivElement | UploadItemRef; target: 'button' | 'link' }\n | null;\n\n const [nextFocusable, setNextFocusable] = useState<NextFocusable>(uploadInputRef.current);\n\n const handleFocus = (fileId: string | number) => {\n fileRefs = fileRefs.filter((ref) => {\n return ref && ref.id !== markedFileForDelete?.id;\n });\n\n const filesCount = fileRefs.length;\n let next: UploadItemRef | HTMLDivElement | null = uploadInputRef.current;\n let focusTarget: 'button' | 'link' = 'button';\n\n // If there will be no files left after deletion, focus the upload button\n if (filesCount === 1) {\n next = uploadInputRef.current;\n setNextFocusable(next);\n return;\n }\n\n if (filesCount > 1) {\n const currentFileIndex = fileRefs.findIndex((file) => file?.id === fileId);\n const currentFileId = fileRefs?.[currentFileIndex]?.id;\n const lastFileId = fileRefs?.[filesCount - 1]?.id;\n\n // if last file, select a previous one\n if (currentFileId === lastFileId) {\n next = fileRefs[filesCount - 2];\n } else {\n next = fileRefs[currentFileIndex + 1];\n }\n\n // If next is an UploadItemRef, check if it has a URL (succeeded)\n if (next && 'status' in next) {\n // Find the file object for this ref\n const fileObj = uploadedFiles.find((f) => f.id === next?.id);\n if (\n fileObj &&\n (fileObj.status === Status.SUCCEEDED || fileObj.status === Status.DONE) &&\n fileObj.url\n ) {\n focusTarget = 'link';\n }\n }\n setNextFocusable(() => {\n if (next && typeof (next as UploadItemRef).focus === 'function') {\n return { ref: next, target: focusTarget };\n }\n return next;\n });\n }\n };\n\n const handleRefocus = () => {\n const focusTarget = nextFocusable;\n if (lastAttemptedDeleteId) {\n setLastAttemptedDeleteId(null);\n return;\n }\n if (focusTarget) {\n // If there are no files left, focus the upload button\n if (\n uploadedFiles.length === 0 &&\n uploadInputRef.current &&\n typeof uploadInputRef.current.focus === 'function'\n ) {\n setTimeout(() => {\n uploadInputRef.current!.focus();\n }, 0);\n } else if (\n typeof focusTarget === 'object' &&\n 'ref' in focusTarget &&\n focusTarget.ref &&\n typeof focusTarget.ref.focus === 'function'\n ) {\n setTimeout(() => {\n if (focusTarget.ref && typeof (focusTarget.ref as UploadItemRef).focus === 'function') {\n // @ts-expect-error: focus may not exist on all possible ref types, but is safe here\n (focusTarget.ref as UploadItemRef).focus(focusTarget.target);\n }\n }, 0);\n } else if (focusTarget && typeof (focusTarget as UploadItemRef).focus === 'function') {\n setTimeout(() => {\n (focusTarget as UploadItemRef).focus();\n }, 0);\n }\n }\n };\n\n return (\n <>\n <div\n role=\"group\"\n className={clsx('np-upload-input', className, { disabled })}\n {...inputAttributes}\n >\n <div\n className=\"np-upload-input__section\"\n aria-live=\"polite\"\n aria-relevant=\"all\"\n role=\"region\"\n >\n {uploadedFiles.map((file, index) => (\n <UploadItem\n key={file.id}\n ref={(el: UploadItemRef | null) => {\n if (\n el &&\n el.id !== markedFileForDelete?.id &&\n !fileRefs.some((ref) => ref && ref.id === el.id) &&\n el.status !== 'processing'\n ) {\n fileRefs.push(el);\n }\n }}\n file={file}\n singleFileUpload={!multiple}\n canDelete={\n (!!onDeleteFile || file.status === Status.FAILED) &&\n (!file.status || !PROGRESS_STATUSES.has(file.status))\n }\n onDelete={\n file.status === Status.FAILED\n ? async () => {\n setLastAttemptedDeleteId(file.id);\n await removeFile(file);\n handleRefocus();\n }\n : () => {\n setLastAttemptedDeleteId(file.id);\n setMarkedFileForDelete(file);\n }\n }\n onDownload={onDownload}\n onFocus={() => handleFocus(file.id)}\n />\n ))}\n </div>\n {(multiple || (!multiple && !uploadedFiles.length)) && (\n <div className=\"np-upload-input__section np-upload-input__section--uploader\">\n <UploadButton\n ref={uploadInputRef}\n id={id}\n uploadButtonTitle={uploadButtonTitle}\n disabled={areMaximumFilesUploadedAlready() || disabled}\n multiple={multiple}\n fileTypes={fileTypes}\n sizeLimit={sizeLimit}\n description={description}\n maxFiles={maxFiles}\n withEntries={Boolean(uploadedFiles.length)}\n onChange={addFiles}\n />\n </div>\n )}\n </div>\n <Modal\n title={\n deleteConfirm?.title !== undefined\n ? deleteConfirm.title\n : formatMessage(MESSAGES.deleteModalTitle)\n }\n body={\n deleteConfirm?.body !== undefined\n ? deleteConfirm.body\n : formatMessage(MESSAGES.deleteModalBody)\n }\n open={!!markedFileForDelete}\n footer={\n <>\n <Button\n block\n onClick={() => {\n setMarkedFileForDelete(null);\n }}\n >\n {deleteConfirm?.cancelText || formatMessage(MESSAGES.deleteModalCancelButtonText)}\n </Button>\n <Button\n block\n priority={Priority.SECONDARY}\n type={ControlType.NEGATIVE}\n tabIndex={markedFileForDelete ? 0 : -1}\n onClick={() => {\n if (markedFileForDelete) {\n void removeFile(markedFileForDelete);\n }\n setMarkedFileForDelete(null);\n setLastAttemptedDeleteId(null);\n }}\n >\n {deleteConfirm?.confirmText || formatMessage(MESSAGES.deleteModalConfirmButtonText)}\n </Button>\n </>\n }\n onUnmount={handleRefocus}\n onClose={() => {\n setMarkedFileForDelete(null);\n }}\n />\n </>\n );\n};\n\nexport default UploadInput;\n"],"names":["generateFileId","file","name","size","uploadTimeStamp","Date","getTime","UploadInput","files","fileInputName","className","deleteConfirm","disabled","multiple","fileTypes","imageFileTypes","sizeLimit","DEFAULT_SIZE_LIMIT","description","onUploadFile","onDeleteFile","onValidationError","onFilesChange","onDownload","maxFiles","maxFilesErrorMessage","id","sizeLimitErrorMessage","uploadButtonTitle","inputAttributes","useInputAttributes","nonLabelable","markedFileForDelete","setMarkedFileForDelete","useState","lastAttemptedDeleteId","setLastAttemptedDeleteId","mounted","setMounted","formatMessage","useIntl","uploadInputRef","useRef","fileRefs","PROGRESS_STATUSES","Set","Status","PENDING","PROCESSING","uploadedFiles","setUploadedFiles","length","uploadedFilesListReference","updateFileList","updateFn","current","addFileToList","recentUploadedFile","list","removeFileFromList","filter","fileInList","ref","modifyFileInList","updates","map","removeFile","status","item","FAILED","Promise","resolve","error","undefined","then","catch","handleFileUploadFailure","failureMessage","failedUpload","filename","getNumberOfFilesUploaded","uploadInitiatedStatus","SUCCEEDED","validFiles","has","areMaximumFilesUploadedAlready","numberOfValidFiles","addFiles","selectedFiles","i","formData","FormData","allowedFileTypes","join","isTypeValid","MESSAGES","fileTypeNotSupported","isSizeValid","fileIsTooLarge","maximumFilesAlreadyUploaded","maxFilesAllowed","existingFile","find","f","append","pendingFile","url","useEffect","nextFocusable","setNextFocusable","handleFocus","fileId","filesCount","next","focusTarget","currentFileIndex","findIndex","currentFileId","lastFileId","fileObj","DONE","focus","target","handleRefocus","setTimeout","_jsxs","_Fragment","children","role","clsx","_jsx","index","UploadItem","el","some","push","singleFileUpload","canDelete","onDelete","onFocus","UploadButton","withEntries","Boolean","onChange","Modal","title","deleteModalTitle","body","deleteModalBody","open","footer","Button","block","onClick","cancelText","deleteModalCancelButtonText","priority","Priority","SECONDARY","type","ControlType","NEGATIVE","tabIndex","confirmText","deleteModalConfirmButtonText","onUnmount","onClose"],"mappings":";;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KACH,CAAC;AAAA,GACF,CAAC;AAEP;;;;"}
|
|
1
|
+
{"version":3,"file":"UploadInput.js","sources":["../../src/uploadInput/UploadInput.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useEffect, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Button from '../button';\nimport { CommonProps, ControlType, Priority, Status } from '../common';\nimport { useInputAttributes } from '../inputs/contexts';\nimport Modal from '../modal';\nimport { isSizeValid } from '../upload/utils/isSizeValid';\nimport { isTypeValid } from '../upload/utils/isTypeValid';\n\nimport MESSAGES from './UploadInput.messages';\nimport { UploadedFile, UploadError, UploadResponse } from './types';\nimport UploadButton, { UploadButtonProps } from './uploadButton/UploadButton';\nimport { DEFAULT_SIZE_LIMIT, imageFileTypes } from './uploadButton/defaults';\nimport UploadItem, { UploadItemProps } from './uploadItem/UploadItem';\n\nexport type UploadInputProps = {\n /**\n * List of already existing, failed or in progress files\n */\n files?: readonly UploadedFile[];\n\n /**\n * The key of the file in the returned FormData object (default: file)\n */\n fileInputName?: string;\n\n /**\n * Callback that handles form submission\n *\n * @param formData\n */\n onUploadFile: (formData: FormData) => Promise<UploadResponse>;\n\n /**\n * Provide a callback if the file can be removed/deleted from the server\n * Your app is responsible for reloading the uploaded files list and updating the component to ensure that the file has in fact been deleted successfully\n *\n * @param id\n */\n onDeleteFile?: (id: string | number) => Promise<any>;\n\n /**\n * Provide a callback to trigger on validation error\n *\n * @param file\n */\n onValidationError?: (file: UploadedFile) => void;\n\n /**\n * Provide a callback to trigger on change whenever the files are updated\n *\n * @param files\n */\n onFilesChange?: (files: UploadedFile[]) => void;\n\n /**\n * Confirmation modal displayed on delete\n */\n deleteConfirm?: {\n /**\n * The title of the confirmation modal on delete\n */\n title?: string;\n\n /**\n * The body of the confirmation modal on delete\n */\n body?: React.ReactNode;\n\n /**\n * The confirm button text of the confirmation modal on delete\n */\n confirmText?: string;\n\n /**\n * The cancel button text of the confirmation modal on delete\n */\n cancelText?: string;\n };\n\n /**\n * Maximum number of files allowed, if provided, shows error below file item\n */\n maxFiles?: number;\n\n /**\n * Error message to show when the maximum number of files are uploaded already\n */\n maxFilesErrorMessage?: string;\n\n /**\n * Error message to show when files over allowed size limit are uploaded\n */\n sizeLimitErrorMessage?: string;\n} & Pick<\n UploadButtonProps,\n 'disabled' | 'multiple' | 'fileTypes' | 'sizeLimit' | 'description' | 'id' | 'uploadButtonTitle'\n> & { onDownload?: UploadItemProps['onDownload'] } & CommonProps;\n\n/**\n * Interface representing a reference to an UploadItem component.\n * Provides a method to focus the UploadItem.\n */\ninterface UploadItemRef {\n /**\n * Focuses the UploadItem component.\n */\n focus: () => void;\n\n /**\n * Required id of the UploadItem component.\n */\n id: string | number;\n\n /**\n * Optional status of the UploadItem component.\n */\n status?: string;\n}\n\n/**\n * Generates a unique ID for a file based on its name, size, and the current timestamp\n */\nfunction generateFileId(file: File) {\n const { name, size } = file;\n const uploadTimeStamp = new Date().getTime();\n return `${name}_${size}_${uploadTimeStamp}`;\n}\n\n/**\n * The component allows users to upload files, manage the list of uploaded files,\n * and handle file validation and deletion.\n *\n * @param {UploadInputProps} props - The properties for the UploadInput component.\n *\n * @see {@link UploadInput} for further information.\n * @see {@link https://storybook.wise.design/?path=/docs/forms-uploadinput--docs|Storybook Wise Design}\n */\nconst UploadInput = ({\n files = [],\n fileInputName = 'file',\n className,\n deleteConfirm,\n disabled,\n multiple = false,\n fileTypes = imageFileTypes,\n sizeLimit = DEFAULT_SIZE_LIMIT,\n description,\n onUploadFile,\n onDeleteFile,\n onValidationError,\n onFilesChange,\n onDownload,\n maxFiles,\n maxFilesErrorMessage,\n id,\n sizeLimitErrorMessage,\n uploadButtonTitle,\n}: UploadInputProps) => {\n const inputAttributes = useInputAttributes({ nonLabelable: true });\n const [markedFileForDelete, setMarkedFileForDelete] = useState<UploadedFile | null>(null);\n const [lastAttemptedDeleteId, setLastAttemptedDeleteId] = useState<string | number | null>(null);\n const [mounted, setMounted] = useState(false);\n const { formatMessage } = useIntl();\n const uploadInputRef = useRef<HTMLInputElement | null>(null);\n let fileRefs: (HTMLDivElement | UploadItemRef | null)[] = [];\n\n const PROGRESS_STATUSES = new Set([Status.PENDING, Status.PROCESSING]);\n\n const [uploadedFiles, setUploadedFiles] = useState<readonly UploadedFile[]>(\n multiple || files.length === 0 ? files : [files[0]],\n );\n\n const uploadedFilesListReference = useRef(multiple || files.length === 0 ? files : [files[0]]);\n\n function updateFileList(updateFn: (list: readonly UploadedFile[]) => readonly UploadedFile[]) {\n setUploadedFiles(updateFn);\n uploadedFilesListReference.current = updateFn(uploadedFilesListReference.current);\n }\n\n function addFileToList(recentUploadedFile: UploadedFile) {\n updateFileList((list) => [...list, recentUploadedFile]);\n }\n\n function removeFileFromList(file: UploadedFile) {\n updateFileList((list) =>\n list.filter((fileInList) => file !== fileInList && file.id !== fileInList.id),\n );\n fileRefs = fileRefs.filter((ref) => ref && ref.id !== file.id);\n }\n\n function modifyFileInList(file: UploadedFile, updates: Partial<UploadedFile>) {\n updateFileList((list) =>\n list.map((fileInList) =>\n fileInList === file || fileInList.id === file.id ? { ...file, ...updates } : fileInList,\n ),\n );\n }\n\n const removeFile = async (file: UploadedFile) => {\n const { id, status } = file;\n fileRefs = fileRefs.filter((item) => item && item.id !== file.id);\n\n if (status === Status.FAILED) {\n removeFileFromList(file);\n return Promise.resolve();\n }\n\n if (onDeleteFile && id) {\n modifyFileInList(file, { status: Status.PROCESSING, error: undefined });\n\n return onDeleteFile(id)\n .then(() => {\n removeFileFromList(file);\n })\n .catch((error) => {\n modifyFileInList(file, { error: error as UploadError });\n });\n }\n };\n\n function handleFileUploadFailure(file: File, failureMessage: string) {\n const { name } = file;\n\n const failedUpload = {\n id: generateFileId(file),\n filename: name,\n status: Status.FAILED,\n error: failureMessage,\n };\n\n addFileToList(failedUpload);\n\n if (onValidationError) {\n onValidationError(failedUpload);\n }\n }\n\n function getNumberOfFilesUploaded() {\n const uploadInitiatedStatus = new Set([Status.SUCCEEDED, Status.PENDING]);\n const validFiles = uploadedFilesListReference.current.filter(\n (file) => file.status && uploadInitiatedStatus.has(file.status),\n );\n return validFiles.length;\n }\n\n function areMaximumFilesUploadedAlready() {\n if (!maxFiles) {\n return false;\n }\n\n const numberOfValidFiles = getNumberOfFilesUploaded();\n return numberOfValidFiles >= maxFiles;\n }\n\n const addFiles = (selectedFiles: FileList) => {\n for (let i = 0; i < selectedFiles.length; i += 1) {\n const file = selectedFiles.item(i);\n\n const formData = new FormData();\n\n if (file) {\n const allowedFileTypes = typeof fileTypes === 'string' ? fileTypes : fileTypes.join(',');\n\n if (!isTypeValid(file, allowedFileTypes)) {\n handleFileUploadFailure(file, formatMessage(MESSAGES.fileTypeNotSupported));\n continue;\n }\n\n if (typeof sizeLimit === 'number' && !isSizeValid(file, sizeLimit * 1000)) {\n const failureMessage = sizeLimitErrorMessage || formatMessage(MESSAGES.fileIsTooLarge);\n handleFileUploadFailure(file, failureMessage);\n continue;\n }\n\n if (areMaximumFilesUploadedAlready()) {\n const failureMessage =\n maxFilesErrorMessage ||\n formatMessage(MESSAGES.maximumFilesAlreadyUploaded, { maxFilesAllowed: maxFiles });\n handleFileUploadFailure(file, failureMessage);\n continue;\n }\n\n const existingFile = uploadedFiles.find((f) => f.filename === file.name);\n if (existingFile) {\n removeFileFromList(existingFile);\n }\n\n formData.append(fileInputName, file);\n const pendingFile = {\n id: generateFileId(file),\n filename: file.name,\n status: Status.PENDING,\n };\n\n addFileToList(pendingFile);\n\n onUploadFile(formData)\n .then(({ id, url, error }: UploadResponse) => {\n modifyFileInList(pendingFile, { id, url, error, status: Status.SUCCEEDED });\n })\n .catch((error) => {\n modifyFileInList(pendingFile, { error: error as UploadError, status: Status.FAILED });\n });\n\n if (!multiple) {\n break;\n }\n }\n }\n };\n\n useEffect(() => {\n setMounted(true);\n }, []);\n\n useEffect(() => {\n if (onFilesChange && mounted) {\n onFilesChange([...uploadedFiles]);\n }\n }, [onFilesChange, uploadedFiles]); // eslint-disable-line react-hooks/exhaustive-deps\n\n type NextFocusable =\n | HTMLDivElement\n | UploadItemRef\n | { ref: HTMLDivElement | UploadItemRef; target: 'button' | 'link' }\n | null;\n\n const [nextFocusable, setNextFocusable] = useState<NextFocusable>(uploadInputRef.current);\n\n const handleFocus = (fileId: string | number) => {\n fileRefs = fileRefs.filter((ref) => {\n return ref && ref.id !== markedFileForDelete?.id;\n });\n\n const filesCount = fileRefs.length;\n let next: UploadItemRef | HTMLDivElement | null = uploadInputRef.current;\n let focusTarget: 'button' | 'link' = 'button';\n\n // If there will be no files left after deletion, focus the upload button\n if (filesCount === 1) {\n next = uploadInputRef.current;\n setNextFocusable(next);\n return;\n }\n\n if (filesCount > 1) {\n const currentFileIndex = fileRefs.findIndex((file) => file?.id === fileId);\n const currentFileId = fileRefs?.[currentFileIndex]?.id;\n const lastFileId = fileRefs?.[filesCount - 1]?.id;\n\n // if last file, select a previous one\n if (currentFileId === lastFileId) {\n next = fileRefs[filesCount - 2];\n } else {\n next = fileRefs[currentFileIndex + 1];\n }\n\n // If next is an UploadItemRef, check if it has a URL (succeeded)\n if (next && 'status' in next) {\n // Find the file object for this ref\n const fileObj = uploadedFiles.find((f) => f.id === next?.id);\n if (\n fileObj &&\n (fileObj.status === Status.SUCCEEDED || fileObj.status === Status.DONE) &&\n fileObj.url\n ) {\n focusTarget = 'link';\n }\n }\n setNextFocusable(() => {\n if (next && typeof (next as UploadItemRef).focus === 'function') {\n return { ref: next, target: focusTarget };\n }\n return next;\n });\n }\n };\n\n const handleRefocus = () => {\n const focusTarget = nextFocusable;\n if (lastAttemptedDeleteId) {\n setLastAttemptedDeleteId(null);\n return;\n }\n if (focusTarget) {\n // If there are no files left, focus the upload button\n if (\n uploadedFiles.length === 0 &&\n uploadInputRef.current &&\n typeof uploadInputRef.current.focus === 'function'\n ) {\n setTimeout(() => {\n uploadInputRef.current!.focus();\n }, 0);\n } else if (\n typeof focusTarget === 'object' &&\n 'ref' in focusTarget &&\n focusTarget.ref &&\n typeof focusTarget.ref.focus === 'function'\n ) {\n setTimeout(() => {\n if (focusTarget.ref && typeof (focusTarget.ref as UploadItemRef).focus === 'function') {\n // @ts-expect-error: focus may not exist on all possible ref types, but is safe here\n (focusTarget.ref as UploadItemRef).focus(focusTarget.target);\n }\n }, 0);\n } else if (focusTarget && typeof (focusTarget as UploadItemRef).focus === 'function') {\n setTimeout(() => {\n (focusTarget as UploadItemRef).focus();\n }, 0);\n }\n }\n };\n\n return (\n <>\n <div\n role=\"group\"\n className={clsx('np-upload-input', className, { disabled })}\n {...inputAttributes}\n >\n <div\n className=\"np-upload-input__section\"\n aria-live=\"polite\"\n aria-relevant=\"all\"\n role=\"region\"\n >\n {uploadedFiles.map((file, index) => (\n <UploadItem\n key={file.id}\n ref={(el: UploadItemRef | null) => {\n if (\n el &&\n el.id !== markedFileForDelete?.id &&\n !fileRefs.some((ref) => ref && ref.id === el.id) &&\n el.status !== 'processing'\n ) {\n fileRefs.push(el);\n }\n }}\n file={file}\n singleFileUpload={!multiple}\n canDelete={\n (!!onDeleteFile || file.status === Status.FAILED) &&\n (!file.status || !PROGRESS_STATUSES.has(file.status))\n }\n onDelete={\n file.status === Status.FAILED\n ? async () => {\n setLastAttemptedDeleteId(file.id);\n await removeFile(file);\n handleRefocus();\n }\n : () => {\n setLastAttemptedDeleteId(file.id);\n setMarkedFileForDelete(file);\n }\n }\n onDownload={onDownload}\n onFocus={() => handleFocus(file.id)}\n />\n ))}\n </div>\n {(multiple || (!multiple && !uploadedFiles.length)) && (\n <div className=\"np-upload-input__section np-upload-input__section--uploader\">\n <UploadButton\n ref={uploadInputRef}\n id={id}\n uploadButtonTitle={uploadButtonTitle}\n disabled={areMaximumFilesUploadedAlready() || disabled}\n multiple={multiple}\n fileTypes={fileTypes}\n sizeLimit={sizeLimit}\n description={description}\n maxFiles={maxFiles}\n withEntries={Boolean(uploadedFiles.length)}\n onChange={addFiles}\n />\n </div>\n )}\n </div>\n <Modal\n title={\n deleteConfirm?.title !== undefined\n ? deleteConfirm.title\n : formatMessage(MESSAGES.deleteModalTitle)\n }\n body={\n deleteConfirm?.body !== undefined\n ? deleteConfirm.body\n : formatMessage(MESSAGES.deleteModalBody)\n }\n open={!!markedFileForDelete}\n footer={\n <>\n <Button\n block\n onClick={() => {\n setMarkedFileForDelete(null);\n }}\n >\n {deleteConfirm?.cancelText || formatMessage(MESSAGES.deleteModalCancelButtonText)}\n </Button>\n <Button\n block\n priority={Priority.SECONDARY}\n type={ControlType.NEGATIVE}\n tabIndex={markedFileForDelete ? 0 : -1}\n onClick={() => {\n if (markedFileForDelete) {\n void removeFile(markedFileForDelete);\n }\n setMarkedFileForDelete(null);\n setLastAttemptedDeleteId(null);\n }}\n >\n {deleteConfirm?.confirmText || formatMessage(MESSAGES.deleteModalConfirmButtonText)}\n </Button>\n </>\n }\n onUnmount={handleRefocus}\n onClose={() => {\n setMarkedFileForDelete(null);\n }}\n />\n </>\n );\n};\n\nexport default UploadInput;\n"],"names":["generateFileId","file","name","size","uploadTimeStamp","Date","getTime","UploadInput","files","fileInputName","className","deleteConfirm","disabled","multiple","fileTypes","imageFileTypes","sizeLimit","DEFAULT_SIZE_LIMIT","description","onUploadFile","onDeleteFile","onValidationError","onFilesChange","onDownload","maxFiles","maxFilesErrorMessage","id","sizeLimitErrorMessage","uploadButtonTitle","inputAttributes","useInputAttributes","nonLabelable","markedFileForDelete","setMarkedFileForDelete","useState","lastAttemptedDeleteId","setLastAttemptedDeleteId","mounted","setMounted","formatMessage","useIntl","uploadInputRef","useRef","fileRefs","PROGRESS_STATUSES","Set","Status","PENDING","PROCESSING","uploadedFiles","setUploadedFiles","length","uploadedFilesListReference","updateFileList","updateFn","current","addFileToList","recentUploadedFile","list","removeFileFromList","filter","fileInList","ref","modifyFileInList","updates","map","removeFile","status","item","FAILED","Promise","resolve","error","undefined","then","catch","handleFileUploadFailure","failureMessage","failedUpload","filename","getNumberOfFilesUploaded","uploadInitiatedStatus","SUCCEEDED","validFiles","has","areMaximumFilesUploadedAlready","numberOfValidFiles","addFiles","selectedFiles","i","formData","FormData","allowedFileTypes","join","isTypeValid","MESSAGES","fileTypeNotSupported","isSizeValid","fileIsTooLarge","maximumFilesAlreadyUploaded","maxFilesAllowed","existingFile","find","f","append","pendingFile","url","useEffect","nextFocusable","setNextFocusable","handleFocus","fileId","filesCount","next","focusTarget","currentFileIndex","findIndex","currentFileId","lastFileId","fileObj","DONE","focus","target","handleRefocus","setTimeout","_jsxs","_Fragment","children","role","clsx","_jsx","index","UploadItem","el","some","push","singleFileUpload","canDelete","onDelete","onFocus","UploadButton","withEntries","Boolean","onChange","Modal","title","deleteModalTitle","body","deleteModalBody","open","footer","Button","block","onClick","cancelText","deleteModalCancelButtonText","priority","Priority","SECONDARY","type","ControlType","NEGATIVE","tabIndex","confirmText","deleteModalConfirmButtonText","onUnmount","onClose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HA,SAASA,cAAcA,CAACC,IAAU,EAAA;EAChC,MAAM;IAAEC,IAAI;AAAEC,IAAAA;AAAI,GAAE,GAAGF,IAAI;EAC3B,MAAMG,eAAe,GAAG,IAAIC,IAAI,EAAE,CAACC,OAAO,EAAE;AAC5C,EAAA,OAAO,GAAGJ,IAAI,CAAA,CAAA,EAAIC,IAAI,CAAA,CAAA,EAAIC,eAAe,CAAA,CAAE;AAC7C;AAEA;;;;;;;;AAQG;AACH,MAAMG,WAAW,GAAGA,CAAC;AACnBC,EAAAA,KAAK,GAAG,EAAE;AACVC,EAAAA,aAAa,GAAG,MAAM;EACtBC,SAAS;EACTC,aAAa;EACbC,QAAQ;AACRC,EAAAA,QAAQ,GAAG,KAAK;AAChBC,EAAAA,SAAS,GAAGC,uBAAc;AAC1BC,EAAAA,SAAS,GAAGC,2BAAkB;EAC9BC,WAAW;EACXC,YAAY;EACZC,YAAY;EACZC,iBAAiB;EACjBC,aAAa;EACbC,UAAU;EACVC,QAAQ;EACRC,oBAAoB;EACpBC,EAAE;EACFC,qBAAqB;AACrBC,EAAA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BC,UAAAA,QAAQ,EAAElI,mBAAmB,GAAG,CAAC,GAAG,EAAG;UACvCyH,OAAO,EAAEA,MAAK;AACZ,YAAA,IAAIzH,mBAAmB,EAAE;cACvB,KAAKkC,UAAU,CAAClC,mBAAmB,CAAC;AACtC,YAAA;YACAC,sBAAsB,CAAC,IAAI,CAAC;YAC5BG,wBAAwB,CAAC,IAAI,CAAC;UAChC,CAAE;UAAA2F,QAAA,EAEDpH,aAAa,EAAEwJ,WAAW,IAAI5H,aAAa,CAACwD,4BAAQ,CAACqE,4BAA4B;AAAC,SAC7E,CACV;AAAA,OAAA,CACD;AACDC,MAAAA,SAAS,EAAE1C,aAAc;MACzB2C,OAAO,EAAEA,MAAK;QACZrI,sBAAsB,CAAC,IAAI,CAAC;AAC9B,MAAA;AAAE,KAAA,CAEN;AAAA,GAAA,CAAG;AAEP;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadInput.messages.js","sources":["../../src/uploadInput/UploadInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n fileIsTooLarge: {\n id: 'neptune.UploadInput.fileIsTooLarge',\n defaultMessage: 'File is too large',\n description: 'Error message when the selected file size exceeds the limit',\n },\n fileTypeNotSupported: {\n id: 'neptune.UploadInput.fileTypeNotSupported',\n defaultMessage: 'File type not supported',\n description: 'Error message when the selected file is not one of the supported types',\n },\n deleteModalTitle: {\n id: 'neptune.UploadInput.deleteModalTitle',\n defaultMessage: 'Sure you want to remove this file?',\n description: 'Title to display on delete confirmation modal',\n },\n deleteModalBody: {\n id: 'neptune.UploadInput.deleteModalBody',\n defaultMessage: 'Removing this file will delete it from our system.',\n description: 'Body copy to display on delete confirmation modal',\n },\n deleteModalCancelButtonText: {\n id: 'neptune.UploadInput.deleteModalCancelButtonText',\n defaultMessage: 'Cancel',\n description: 'Cancel button text to display on delete confirmation modal',\n },\n deleteModalConfirmButtonText: {\n id: 'neptune.UploadInput.deleteModalConfirmButtonText',\n defaultMessage: 'Remove',\n description: 'Confirm button text to display on delete confirmation modal',\n },\n maximumFilesAlreadyUploaded: {\n id: 'neptune.UploadInput.maximumFilesAlreadyUploaded',\n defaultMessage:\n 'Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.',\n description:\n 'When number of files to be uploaded is restricted, this message is displayed below the files that are extra',\n },\n});\n"],"names":["defineMessages","fileIsTooLarge","id","fileTypeNotSupported","deleteModalTitle","deleteModalBody","deleteModalCancelButtonText","deleteModalConfirmButtonText","maximumFilesAlreadyUploaded"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,cAAc,EAAE;IACdC,EAAE,EAAA;GAGH;AACDC,EAAAA,oBAAoB,EAAE;IACpBD,EAAE,EAAA;GAGH;AACDE,EAAAA,gBAAgB,EAAE;IAChBF,EAAE,EAAA;GAGH;AACDG,EAAAA,eAAe,EAAE;IACfH,EAAE,EAAA;GAGH;AACDI,EAAAA,2BAA2B,EAAE;IAC3BJ,EAAE,EAAA;GAGH;AACDK,EAAAA,4BAA4B,EAAE;IAC5BL,EAAE,EAAA;GAGH;AACDM,EAAAA,2BAA2B,EAAE;IAC3BN,EAAE,EAAA;
|
|
1
|
+
{"version":3,"file":"UploadInput.messages.js","sources":["../../src/uploadInput/UploadInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n fileIsTooLarge: {\n id: 'neptune.UploadInput.fileIsTooLarge',\n defaultMessage: 'File is too large',\n description: 'Error message when the selected file size exceeds the limit',\n },\n fileTypeNotSupported: {\n id: 'neptune.UploadInput.fileTypeNotSupported',\n defaultMessage: 'File type not supported',\n description: 'Error message when the selected file is not one of the supported types',\n },\n deleteModalTitle: {\n id: 'neptune.UploadInput.deleteModalTitle',\n defaultMessage: 'Sure you want to remove this file?',\n description: 'Title to display on delete confirmation modal',\n },\n deleteModalBody: {\n id: 'neptune.UploadInput.deleteModalBody',\n defaultMessage: 'Removing this file will delete it from our system.',\n description: 'Body copy to display on delete confirmation modal',\n },\n deleteModalCancelButtonText: {\n id: 'neptune.UploadInput.deleteModalCancelButtonText',\n defaultMessage: 'Cancel',\n description: 'Cancel button text to display on delete confirmation modal',\n },\n deleteModalConfirmButtonText: {\n id: 'neptune.UploadInput.deleteModalConfirmButtonText',\n defaultMessage: 'Remove',\n description: 'Confirm button text to display on delete confirmation modal',\n },\n maximumFilesAlreadyUploaded: {\n id: 'neptune.UploadInput.maximumFilesAlreadyUploaded',\n defaultMessage:\n 'Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.',\n description:\n 'When number of files to be uploaded is restricted, this message is displayed below the files that are extra',\n },\n});\n"],"names":["defineMessages","fileIsTooLarge","id","fileTypeNotSupported","deleteModalTitle","deleteModalBody","deleteModalCancelButtonText","deleteModalConfirmButtonText","maximumFilesAlreadyUploaded"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,cAAc,EAAE;IACdC,EAAE,EAAA;GAGH;AACDC,EAAAA,oBAAoB,EAAE;IACpBD,EAAE,EAAA;GAGH;AACDE,EAAAA,gBAAgB,EAAE;IAChBF,EAAE,EAAA;GAGH;AACDG,EAAAA,eAAe,EAAE;IACfH,EAAE,EAAA;GAGH;AACDI,EAAAA,2BAA2B,EAAE;IAC3BJ,EAAE,EAAA;GAGH;AACDK,EAAAA,4BAA4B,EAAE;IAC5BL,EAAE,EAAA;GAGH;AACDM,EAAAA,2BAA2B,EAAE;IAC3BN,EAAE,EAAA;AAKH;AACF,CAAA,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadInput.messages.mjs","sources":["../../src/uploadInput/UploadInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n fileIsTooLarge: {\n id: 'neptune.UploadInput.fileIsTooLarge',\n defaultMessage: 'File is too large',\n description: 'Error message when the selected file size exceeds the limit',\n },\n fileTypeNotSupported: {\n id: 'neptune.UploadInput.fileTypeNotSupported',\n defaultMessage: 'File type not supported',\n description: 'Error message when the selected file is not one of the supported types',\n },\n deleteModalTitle: {\n id: 'neptune.UploadInput.deleteModalTitle',\n defaultMessage: 'Sure you want to remove this file?',\n description: 'Title to display on delete confirmation modal',\n },\n deleteModalBody: {\n id: 'neptune.UploadInput.deleteModalBody',\n defaultMessage: 'Removing this file will delete it from our system.',\n description: 'Body copy to display on delete confirmation modal',\n },\n deleteModalCancelButtonText: {\n id: 'neptune.UploadInput.deleteModalCancelButtonText',\n defaultMessage: 'Cancel',\n description: 'Cancel button text to display on delete confirmation modal',\n },\n deleteModalConfirmButtonText: {\n id: 'neptune.UploadInput.deleteModalConfirmButtonText',\n defaultMessage: 'Remove',\n description: 'Confirm button text to display on delete confirmation modal',\n },\n maximumFilesAlreadyUploaded: {\n id: 'neptune.UploadInput.maximumFilesAlreadyUploaded',\n defaultMessage:\n 'Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.',\n description:\n 'When number of files to be uploaded is restricted, this message is displayed below the files that are extra',\n },\n});\n"],"names":["defineMessages","fileIsTooLarge","id","fileTypeNotSupported","deleteModalTitle","deleteModalBody","deleteModalCancelButtonText","deleteModalConfirmButtonText","maximumFilesAlreadyUploaded"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,cAAc,EAAE;IACdC,EAAE,EAAA;GAGH;AACDC,EAAAA,oBAAoB,EAAE;IACpBD,EAAE,EAAA;GAGH;AACDE,EAAAA,gBAAgB,EAAE;IAChBF,EAAE,EAAA;GAGH;AACDG,EAAAA,eAAe,EAAE;IACfH,EAAE,EAAA;GAGH;AACDI,EAAAA,2BAA2B,EAAE;IAC3BJ,EAAE,EAAA;GAGH;AACDK,EAAAA,4BAA4B,EAAE;IAC5BL,EAAE,EAAA;GAGH;AACDM,EAAAA,2BAA2B,EAAE;IAC3BN,EAAE,EAAA;
|
|
1
|
+
{"version":3,"file":"UploadInput.messages.mjs","sources":["../../src/uploadInput/UploadInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n fileIsTooLarge: {\n id: 'neptune.UploadInput.fileIsTooLarge',\n defaultMessage: 'File is too large',\n description: 'Error message when the selected file size exceeds the limit',\n },\n fileTypeNotSupported: {\n id: 'neptune.UploadInput.fileTypeNotSupported',\n defaultMessage: 'File type not supported',\n description: 'Error message when the selected file is not one of the supported types',\n },\n deleteModalTitle: {\n id: 'neptune.UploadInput.deleteModalTitle',\n defaultMessage: 'Sure you want to remove this file?',\n description: 'Title to display on delete confirmation modal',\n },\n deleteModalBody: {\n id: 'neptune.UploadInput.deleteModalBody',\n defaultMessage: 'Removing this file will delete it from our system.',\n description: 'Body copy to display on delete confirmation modal',\n },\n deleteModalCancelButtonText: {\n id: 'neptune.UploadInput.deleteModalCancelButtonText',\n defaultMessage: 'Cancel',\n description: 'Cancel button text to display on delete confirmation modal',\n },\n deleteModalConfirmButtonText: {\n id: 'neptune.UploadInput.deleteModalConfirmButtonText',\n defaultMessage: 'Remove',\n description: 'Confirm button text to display on delete confirmation modal',\n },\n maximumFilesAlreadyUploaded: {\n id: 'neptune.UploadInput.maximumFilesAlreadyUploaded',\n defaultMessage:\n 'Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.',\n description:\n 'When number of files to be uploaded is restricted, this message is displayed below the files that are extra',\n },\n});\n"],"names":["defineMessages","fileIsTooLarge","id","fileTypeNotSupported","deleteModalTitle","deleteModalBody","deleteModalCancelButtonText","deleteModalConfirmButtonText","maximumFilesAlreadyUploaded"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,cAAc,EAAE;IACdC,EAAE,EAAA;GAGH;AACDC,EAAAA,oBAAoB,EAAE;IACpBD,EAAE,EAAA;GAGH;AACDE,EAAAA,gBAAgB,EAAE;IAChBF,EAAE,EAAA;GAGH;AACDG,EAAAA,eAAe,EAAE;IACfH,EAAE,EAAA;GAGH;AACDI,EAAAA,2BAA2B,EAAE;IAC3BJ,EAAE,EAAA;GAGH;AACDK,EAAAA,4BAA4B,EAAE;IAC5BL,EAAE,EAAA;GAGH;AACDM,EAAAA,2BAA2B,EAAE;IAC3BN,EAAE,EAAA;AAKH;AACF,CAAA,CAAC;;;;"}
|
|
@@ -2,8 +2,25 @@ import { clsx } from 'clsx';
|
|
|
2
2
|
import { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import { useIntl } from 'react-intl';
|
|
4
4
|
import Button from '../button/Button.resolver.mjs';
|
|
5
|
+
import '../common/theme.mjs';
|
|
6
|
+
import '../common/direction.mjs';
|
|
5
7
|
import { ControlType, Priority } from '../common/propsValues/control.mjs';
|
|
8
|
+
import '../common/propsValues/breakpoint.mjs';
|
|
9
|
+
import '../common/propsValues/size.mjs';
|
|
10
|
+
import '../common/propsValues/typography.mjs';
|
|
11
|
+
import '../common/propsValues/width.mjs';
|
|
12
|
+
import '../common/propsValues/type.mjs';
|
|
13
|
+
import '../common/propsValues/dateMode.mjs';
|
|
14
|
+
import '../common/propsValues/monthFormat.mjs';
|
|
15
|
+
import '../common/propsValues/position.mjs';
|
|
16
|
+
import '../common/propsValues/layouts.mjs';
|
|
6
17
|
import { Status } from '../common/propsValues/status.mjs';
|
|
18
|
+
import '../common/propsValues/sentiment.mjs';
|
|
19
|
+
import '../common/propsValues/profileType.mjs';
|
|
20
|
+
import '../common/propsValues/variant.mjs';
|
|
21
|
+
import '../common/propsValues/scroll.mjs';
|
|
22
|
+
import '../common/propsValues/markdownNodeType.mjs';
|
|
23
|
+
import '../common/fileType.mjs';
|
|
7
24
|
import '@transferwise/icons';
|
|
8
25
|
import '../common/closeButton/CloseButton.messages.mjs';
|
|
9
26
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -16,9 +33,6 @@ import UploadButton from './uploadButton/UploadButton.mjs';
|
|
|
16
33
|
import { DEFAULT_SIZE_LIMIT, imageFileTypes } from './uploadButton/defaults.mjs';
|
|
17
34
|
import UploadItem from './uploadItem/UploadItem.mjs';
|
|
18
35
|
|
|
19
|
-
/**
|
|
20
|
-
* Generates a unique ID for a file based on its name, size, and the current timestamp
|
|
21
|
-
*/
|
|
22
36
|
function generateFileId(file) {
|
|
23
37
|
const {
|
|
24
38
|
name,
|
|
@@ -27,7 +41,6 @@ function generateFileId(file) {
|
|
|
27
41
|
const uploadTimeStamp = new Date().getTime();
|
|
28
42
|
return `${name}_${size}_${uploadTimeStamp}`;
|
|
29
43
|
}
|
|
30
|
-
|
|
31
44
|
/**
|
|
32
45
|
* The component allows users to upload files, manage the list of uploaded files,
|
|
33
46
|
* and handle file validation and deletion.
|
|
@@ -204,7 +217,6 @@ const UploadInput = ({
|
|
|
204
217
|
onFilesChange([...uploadedFiles]);
|
|
205
218
|
}
|
|
206
219
|
}, [onFilesChange, uploadedFiles]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
207
|
-
|
|
208
220
|
const [nextFocusable, setNextFocusable] = useState(uploadInputRef.current);
|
|
209
221
|
const handleFocus = fileId => {
|
|
210
222
|
fileRefs = fileRefs.filter(ref => {
|
|
@@ -213,7 +225,6 @@ const UploadInput = ({
|
|
|
213
225
|
const filesCount = fileRefs.length;
|
|
214
226
|
let next = uploadInputRef.current;
|
|
215
227
|
let focusTarget = 'button';
|
|
216
|
-
|
|
217
228
|
// If there will be no files left after deletion, focus the upload button
|
|
218
229
|
if (filesCount === 1) {
|
|
219
230
|
next = uploadInputRef.current;
|
|
@@ -224,14 +235,12 @@ const UploadInput = ({
|
|
|
224
235
|
const currentFileIndex = fileRefs.findIndex(file => file?.id === fileId);
|
|
225
236
|
const currentFileId = fileRefs?.[currentFileIndex]?.id;
|
|
226
237
|
const lastFileId = fileRefs?.[filesCount - 1]?.id;
|
|
227
|
-
|
|
228
238
|
// if last file, select a previous one
|
|
229
239
|
if (currentFileId === lastFileId) {
|
|
230
240
|
next = fileRefs[filesCount - 2];
|
|
231
241
|
} else {
|
|
232
242
|
next = fileRefs[currentFileIndex + 1];
|
|
233
243
|
}
|
|
234
|
-
|
|
235
244
|
// If next is an UploadItemRef, check if it has a URL (succeeded)
|
|
236
245
|
if (next && 'status' in next) {
|
|
237
246
|
// Find the file object for this ref
|