@transferwise/components 0.0.0-experimental-4b28665 → 0.0.0-experimental-b15bafb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/accordion/Accordion.js.map +1 -1
- package/build/accordion/Accordion.mjs.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.js +1 -1
- package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.mjs +1 -1
- package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
- package/build/actionButton/ActionButton.js +1 -1
- package/build/actionButton/ActionButton.js.map +1 -1
- package/build/actionButton/ActionButton.mjs +1 -1
- package/build/actionButton/ActionButton.mjs.map +1 -1
- package/build/actionOption/ActionOption.js +1 -1
- package/build/actionOption/ActionOption.js.map +1 -1
- package/build/actionOption/ActionOption.mjs +1 -1
- package/build/actionOption/ActionOption.mjs.map +1 -1
- package/build/alert/Alert.js +1 -1
- package/build/alert/Alert.js.map +1 -1
- package/build/alert/Alert.mjs +1 -1
- package/build/alert/Alert.mjs.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.js +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
- package/build/avatar/Avatar.js +1 -1
- package/build/avatar/Avatar.js.map +1 -1
- package/build/avatar/Avatar.mjs +1 -1
- package/build/avatar/Avatar.mjs.map +1 -1
- package/build/avatar/avatarTypes.js.map +1 -1
- package/build/avatar/avatarTypes.mjs.map +1 -1
- package/build/avatarLayout/AvatarLayout.js +1 -1
- package/build/avatarLayout/AvatarLayout.js.map +1 -1
- package/build/avatarLayout/AvatarLayout.mjs +1 -1
- package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/avatarView/AvatarView.js +1 -1
- package/build/avatarView/AvatarView.js.map +1 -1
- package/build/avatarView/AvatarView.mjs +1 -1
- package/build/avatarView/AvatarView.mjs.map +1 -1
- package/build/avatarView/Dot.js.map +1 -1
- package/build/avatarView/Dot.mjs.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.js +1 -1
- package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
- package/build/badge/Badge.js +1 -1
- package/build/badge/Badge.js.map +1 -1
- package/build/badge/Badge.mjs +1 -1
- package/build/badge/Badge.mjs.map +1 -1
- package/build/badge/BadgeAssets.js.map +1 -1
- package/build/badge/BadgeAssets.mjs.map +1 -1
- package/build/body/Body.js.map +1 -1
- package/build/body/Body.mjs.map +1 -1
- package/build/button/Button.js +1 -1
- package/build/button/Button.js.map +1 -1
- package/build/button/Button.mjs +1 -1
- package/build/button/Button.mjs.map +1 -1
- package/build/button/Button.resolver.js.map +1 -1
- package/build/button/Button.resolver.mjs.map +1 -1
- package/build/button/LegacyButton.js +1 -1
- package/build/button/LegacyButton.js.map +1 -1
- package/build/button/LegacyButton.mjs +1 -1
- package/build/button/LegacyButton.mjs.map +1 -1
- package/build/button/classMap.js +1 -1
- package/build/button/classMap.js.map +1 -1
- package/build/button/classMap.mjs +1 -1
- package/build/button/classMap.mjs.map +1 -1
- package/build/button/legacyUtils/legacyUtils.js +1 -1
- package/build/button/legacyUtils/legacyUtils.js.map +1 -1
- package/build/button/legacyUtils/legacyUtils.mjs +1 -1
- package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
- package/build/card/Card.js +1 -1
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs +1 -1
- package/build/card/Card.mjs.map +1 -1
- package/build/carousel/Carousel.js.map +1 -1
- package/build/carousel/Carousel.mjs.map +1 -1
- package/build/checkbox/Checkbox.js +1 -1
- package/build/checkbox/Checkbox.js.map +1 -1
- package/build/checkbox/Checkbox.mjs +1 -1
- package/build/checkbox/Checkbox.mjs.map +1 -1
- package/build/checkboxButton/CheckboxButton.js.map +1 -1
- package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
- package/build/checkboxOption/CheckboxOption.js.map +1 -1
- package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
- package/build/chevron/Chevron.js +1 -1
- package/build/chevron/Chevron.js.map +1 -1
- package/build/chevron/Chevron.mjs +1 -1
- package/build/chevron/Chevron.mjs.map +1 -1
- package/build/chips/Chip.js +1 -1
- package/build/chips/Chip.js.map +1 -1
- package/build/chips/Chip.mjs +1 -1
- package/build/chips/Chip.mjs.map +1 -1
- package/build/chips/Chips.js.map +1 -1
- package/build/chips/Chips.messages.js.map +1 -1
- package/build/chips/Chips.messages.mjs.map +1 -1
- package/build/chips/Chips.mjs.map +1 -1
- package/build/circularButton/CircularButton.js +2 -2
- package/build/circularButton/CircularButton.js.map +1 -1
- package/build/circularButton/CircularButton.mjs +2 -2
- package/build/circularButton/CircularButton.mjs.map +1 -1
- package/build/common/DOMOperations/DOMOperations.js.map +1 -1
- package/build/common/DOMOperations/DOMOperations.mjs.map +1 -1
- package/build/common/Option/Option.js.map +1 -1
- package/build/common/Option/Option.mjs.map +1 -1
- package/build/common/RadioButton/RadioButton.js.map +1 -1
- package/build/common/RadioButton/RadioButton.mjs.map +1 -1
- package/build/common/baseCard/BaseCard.js.map +1 -1
- package/build/common/baseCard/BaseCard.mjs.map +1 -1
- package/build/common/bottomSheet/BottomSheet.js +2 -2
- package/build/common/bottomSheet/BottomSheet.js.map +1 -1
- package/build/common/bottomSheet/BottomSheet.mjs +2 -2
- package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
- package/build/common/circle/Circle.js +2 -2
- package/build/common/circle/Circle.js.map +1 -1
- package/build/common/circle/Circle.mjs +2 -2
- package/build/common/circle/Circle.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.mjs.map +1 -1
- package/build/common/colors.js.map +1 -1
- package/build/common/colors.mjs.map +1 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/constants.mjs.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.js.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.mjs.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.js.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.mjs.map +1 -1
- package/build/common/dateUtils/getFormatForLocale/getFormatForLocale.js.map +1 -1
- package/build/common/dateUtils/getFormatForLocale/getFormatForLocale.mjs.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.js.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.mjs.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.js.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.mjs.map +1 -1
- package/build/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js.map +1 -1
- package/build/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.mjs.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.js.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.mjs.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.js.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.mjs.map +1 -1
- package/build/common/deviceDetection/deviceDetection.js.map +1 -1
- package/build/common/deviceDetection/deviceDetection.mjs.map +1 -1
- package/build/common/direction.js.map +1 -1
- package/build/common/direction.mjs.map +1 -1
- package/build/common/domHelpers/documentIosClick.js.map +1 -1
- package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
- package/build/common/fileType.js.map +1 -1
- package/build/common/fileType.mjs.map +1 -1
- package/build/common/flowHeader/FlowHeader.js.map +1 -1
- package/build/common/flowHeader/FlowHeader.mjs.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.js.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.mjs.map +1 -1
- package/build/common/historyNavigator/historyNavigator.js.map +1 -1
- package/build/common/historyNavigator/historyNavigator.mjs.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.js.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.mjs.map +1 -1
- package/build/common/hooks/useContainerSize.js.map +1 -1
- package/build/common/hooks/useContainerSize.mjs.map +1 -1
- package/build/common/hooks/useDirection/useDirection.js.map +1 -1
- package/build/common/hooks/useDirection/useDirection.mjs.map +1 -1
- package/build/common/hooks/useEffectEvent.js.map +1 -1
- package/build/common/hooks/useEffectEvent.mjs.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs.map +1 -1
- package/build/common/hooks/useLayout/useLayout.js +6 -6
- package/build/common/hooks/useLayout/useLayout.js.map +1 -1
- package/build/common/hooks/useLayout/useLayout.mjs +1 -1
- package/build/common/hooks/useLayout/useLayout.mjs.map +1 -1
- package/build/common/hooks/useMedia.js.map +1 -1
- package/build/common/hooks/useMedia.mjs.map +1 -1
- package/build/common/hooks/useResizeObserver.js.map +1 -1
- package/build/common/hooks/useResizeObserver.mjs.map +1 -1
- package/build/common/hooks/useScreenSize.js.map +1 -1
- package/build/common/hooks/useScreenSize.mjs.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.js.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.mjs.map +1 -1
- package/build/common/initials.js.map +1 -1
- package/build/common/initials.mjs.map +1 -1
- package/build/common/liveRegion/LiveRegion.js.map +1 -1
- package/build/common/liveRegion/LiveRegion.mjs.map +1 -1
- package/build/common/locale/index.js.map +1 -1
- package/build/common/locale/index.mjs.map +1 -1
- package/build/common/panel/Panel.js +1 -1
- package/build/common/panel/Panel.js.map +1 -1
- package/build/common/panel/Panel.mjs +1 -1
- package/build/common/panel/Panel.mjs.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs.map +1 -1
- package/build/common/preventScroll/PreventScroll.js.map +1 -1
- package/build/common/preventScroll/PreventScroll.mjs.map +1 -1
- package/build/common/propsValues/breakpoint.js +12 -0
- package/build/common/propsValues/breakpoint.js.map +1 -0
- package/build/common/propsValues/breakpoint.mjs +12 -0
- package/build/common/propsValues/breakpoint.mjs.map +1 -0
- package/build/common/propsValues/control.js.map +1 -1
- package/build/common/propsValues/control.mjs.map +1 -1
- package/build/common/propsValues/dateMode.js.map +1 -1
- package/build/common/propsValues/dateMode.mjs.map +1 -1
- package/build/common/propsValues/layouts.js.map +1 -1
- package/build/common/propsValues/layouts.mjs.map +1 -1
- package/build/common/propsValues/markdownNodeType.js.map +1 -1
- package/build/common/propsValues/markdownNodeType.mjs.map +1 -1
- package/build/common/propsValues/monthFormat.js.map +1 -1
- package/build/common/propsValues/monthFormat.mjs.map +1 -1
- package/build/common/propsValues/position.js.map +1 -1
- package/build/common/propsValues/position.mjs.map +1 -1
- package/build/common/propsValues/profileType.js.map +1 -1
- package/build/common/propsValues/profileType.mjs.map +1 -1
- package/build/common/propsValues/scroll.js.map +1 -1
- package/build/common/propsValues/scroll.mjs.map +1 -1
- package/build/common/propsValues/sentiment.js.map +1 -1
- package/build/common/propsValues/sentiment.mjs.map +1 -1
- package/build/common/propsValues/size.js.map +1 -1
- package/build/common/propsValues/size.mjs.map +1 -1
- package/build/common/propsValues/status.js.map +1 -1
- package/build/common/propsValues/status.mjs.map +1 -1
- package/build/common/propsValues/type.js.map +1 -1
- package/build/common/propsValues/type.mjs.map +1 -1
- package/build/common/propsValues/typography.js.map +1 -1
- package/build/common/propsValues/typography.mjs.map +1 -1
- package/build/common/propsValues/variant.js.map +1 -1
- package/build/common/propsValues/variant.mjs.map +1 -1
- package/build/common/propsValues/width.js.map +1 -1
- package/build/common/propsValues/width.mjs.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.js +1 -1
- package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.mjs +1 -1
- package/build/common/responsivePanel/ResponsivePanel.mjs.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.js.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.mjs.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.mjs.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.mjs.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.mjs.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.mjs.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.js.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.mjs.map +1 -1
- package/build/common/theme.js.map +1 -1
- package/build/common/theme.mjs.map +1 -1
- package/build/container/Container.js.map +1 -1
- package/build/container/Container.mjs.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- package/build/dateInput/DateInput.js +1 -1
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.messages.js.map +1 -1
- package/build/dateInput/DateInput.messages.mjs.map +1 -1
- package/build/dateInput/DateInput.mjs +1 -1
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
- package/build/dateLookup/DateLookup.js +2 -2
- package/build/dateLookup/DateLookup.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.mjs.map +1 -1
- package/build/dateLookup/DateLookup.mjs +1 -1
- package/build/dateLookup/DateLookup.mjs.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.js +1 -1
- package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.mjs +1 -1
- package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.js +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.mjs +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.js.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.js.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.mjs.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.js.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.js.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.js.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.mjs.map +1 -1
- package/build/dateLookup/tableLink/TableLink.js.map +1 -1
- package/build/dateLookup/tableLink/TableLink.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.js.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.js.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.mjs.map +1 -1
- package/build/decision/Decision.js +3 -3
- package/build/decision/Decision.js.map +1 -1
- package/build/decision/Decision.mjs +1 -1
- package/build/decision/Decision.mjs.map +1 -1
- package/build/definitionList/DefinitionList.js +1 -1
- package/build/definitionList/DefinitionList.js.map +1 -1
- package/build/definitionList/DefinitionList.mjs +1 -1
- package/build/definitionList/DefinitionList.mjs.map +1 -1
- package/build/dimmer/Dimmer.js +1 -1
- package/build/dimmer/Dimmer.js.map +1 -1
- package/build/dimmer/Dimmer.mjs +1 -1
- package/build/dimmer/Dimmer.mjs.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.js.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.mjs.map +1 -1
- package/build/display/Display.js +1 -1
- package/build/display/Display.js.map +1 -1
- package/build/display/Display.mjs +1 -1
- package/build/display/Display.mjs.map +1 -1
- package/build/divider/Divider.js.map +1 -1
- package/build/divider/Divider.mjs.map +1 -1
- package/build/drawer/Drawer.js +1 -1
- package/build/drawer/Drawer.js.map +1 -1
- package/build/drawer/Drawer.mjs +1 -1
- package/build/drawer/Drawer.mjs.map +1 -1
- package/build/dropFade/DropFade.js.map +1 -1
- package/build/dropFade/DropFade.mjs.map +1 -1
- package/build/emphasis/Emphasis.js.map +1 -1
- package/build/emphasis/Emphasis.mjs.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.mjs.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.js.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.mjs.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.js.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.mjs.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
- package/build/field/Field.js +1 -1
- package/build/field/Field.js.map +1 -1
- package/build/field/Field.mjs +1 -1
- package/build/field/Field.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.js +3 -3
- package/build/flowNavigation/FlowNavigation.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.mjs +1 -1
- package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs.map +1 -1
- package/build/header/Header.js +1 -1
- package/build/header/Header.js.map +1 -1
- package/build/header/Header.mjs +1 -1
- package/build/header/Header.mjs.map +1 -1
- package/build/i18n/commonMessages/Button.messages.js.map +1 -1
- package/build/i18n/commonMessages/Button.messages.mjs.map +1 -1
- package/build/i18n/index.js.map +1 -1
- package/build/i18n/index.mjs.map +1 -1
- package/build/iconButton/IconButton.js.map +1 -1
- package/build/iconButton/IconButton.mjs.map +1 -1
- package/build/image/Image.js +1 -1
- package/build/image/Image.js.map +1 -1
- package/build/image/Image.mjs +1 -1
- package/build/image/Image.mjs.map +1 -1
- package/build/index.js +2 -2
- package/build/index.mjs +1 -1
- package/build/info/Info.js +1 -1
- package/build/info/Info.js.map +1 -1
- package/build/info/Info.messages.js.map +1 -1
- package/build/info/Info.messages.mjs.map +1 -1
- package/build/info/Info.mjs +1 -1
- package/build/info/Info.mjs.map +1 -1
- package/build/info/infoPresentations.js.map +1 -1
- package/build/info/infoPresentations.mjs.map +1 -1
- package/build/inlineAlert/InlineAlert.js +1 -1
- package/build/inlineAlert/InlineAlert.js.map +1 -1
- package/build/inlineAlert/InlineAlert.mjs +1 -1
- package/build/inlineAlert/InlineAlert.mjs.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.js.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.mjs.map +1 -1
- package/build/inputs/Input.js.map +1 -1
- package/build/inputs/Input.mjs.map +1 -1
- package/build/inputs/InputGroup.js.map +1 -1
- package/build/inputs/InputGroup.mjs.map +1 -1
- package/build/inputs/SearchInput.js +1 -1
- package/build/inputs/SearchInput.js.map +1 -1
- package/build/inputs/SearchInput.mjs +1 -1
- package/build/inputs/SearchInput.mjs.map +1 -1
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +1 -1
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +1 -1
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -1
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +1 -1
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +1 -1
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +1 -1
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +1 -1
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +1 -1
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +1 -1
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +1 -1
- package/build/inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
- package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +1 -1
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +1 -1
- package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +1 -1
- package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +1 -1
- package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
- package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
- package/build/inputs/SelectInput/SelectInput.contexts.js.map +1 -1
- package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +1 -1
- package/build/inputs/SelectInput/SelectInput.js +2 -2
- package/build/inputs/SelectInput/SelectInput.js.map +1 -1
- package/build/inputs/SelectInput/SelectInput.messages.js.map +1 -1
- package/build/inputs/SelectInput/SelectInput.messages.mjs.map +1 -1
- package/build/inputs/SelectInput/SelectInput.mjs +1 -1
- package/build/inputs/SelectInput/SelectInput.mjs.map +1 -1
- package/build/inputs/SelectInput/SelectInput.utils.js.map +1 -1
- package/build/inputs/SelectInput/SelectInput.utils.mjs.map +1 -1
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +1 -1
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +1 -1
- package/build/inputs/TextArea.js.map +1 -1
- package/build/inputs/TextArea.mjs.map +1 -1
- package/build/inputs/_common.js.map +1 -1
- package/build/inputs/_common.mjs.map +1 -1
- package/build/inputs/contexts.js.map +1 -1
- package/build/inputs/contexts.mjs.map +1 -1
- package/build/instructionsList/InstructionsList.js +1 -1
- package/build/instructionsList/InstructionsList.js.map +1 -1
- package/build/instructionsList/InstructionsList.mjs +1 -1
- package/build/instructionsList/InstructionsList.mjs.map +1 -1
- package/build/label/Label.js.map +1 -1
- package/build/label/Label.messages.js.map +1 -1
- package/build/label/Label.messages.mjs.map +1 -1
- package/build/label/Label.mjs.map +1 -1
- package/build/legacylistItem/LegacyListItem.js.map +1 -1
- package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
- package/build/link/Link.js +1 -1
- package/build/link/Link.js.map +1 -1
- package/build/link/Link.messages.js.map +1 -1
- package/build/link/Link.messages.mjs.map +1 -1
- package/build/link/Link.mjs +1 -1
- package/build/link/Link.mjs.map +1 -1
- package/build/list/List.js.map +1 -1
- package/build/list/List.mjs.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
- package/build/listItem/Button/ListItemButton.js.map +1 -1
- package/build/listItem/Button/ListItemButton.mjs.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
- package/build/listItem/Image/ListItemImage.js.map +1 -1
- package/build/listItem/Image/ListItemImage.mjs.map +1 -1
- package/build/listItem/ListItem.js +1 -1
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs +1 -1
- package/build/listItem/ListItem.mjs.map +1 -1
- package/build/listItem/ListItemContext.js.map +1 -1
- package/build/listItem/ListItemContext.mjs.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.js +1 -1
- package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs +1 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
- package/build/listItem/Radio/ListItemRadio.js.map +1 -1
- package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -1
- package/build/listItem/useListItemControl.js.map +1 -1
- package/build/listItem/useListItemControl.mjs.map +1 -1
- package/build/listItem/useListItemMedia.js.map +1 -1
- package/build/listItem/useListItemMedia.mjs.map +1 -1
- package/build/loader/Loader.js +1 -1
- package/build/loader/Loader.js.map +1 -1
- package/build/loader/Loader.mjs +1 -1
- package/build/loader/Loader.mjs.map +1 -1
- package/build/logo/Logo.js +3 -3
- package/build/logo/Logo.js.map +1 -1
- package/build/logo/Logo.mjs +2 -2
- package/build/logo/Logo.mjs.map +1 -1
- package/build/logo/logo-assets.js.map +1 -1
- package/build/logo/logo-assets.mjs.map +1 -1
- package/build/main.css +309 -307
- package/build/markdown/Markdown.js +1 -1
- package/build/markdown/Markdown.js.map +1 -1
- package/build/markdown/Markdown.mjs +1 -1
- package/build/markdown/Markdown.mjs.map +1 -1
- package/build/mocks.js.map +1 -1
- package/build/mocks.mjs.map +1 -1
- package/build/modal/Modal.js +1 -1
- package/build/modal/Modal.js.map +1 -1
- package/build/modal/Modal.mjs +1 -1
- package/build/modal/Modal.mjs.map +1 -1
- package/build/money/Money.js.map +1 -1
- package/build/money/Money.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.js +1 -1
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +1 -1
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/moneyInput/currencyFormatting.js.map +1 -1
- package/build/moneyInput/currencyFormatting.mjs.map +1 -1
- package/build/navigationOption/NavigationOption.js +1 -1
- package/build/navigationOption/NavigationOption.js.map +1 -1
- package/build/navigationOption/NavigationOption.mjs +1 -1
- package/build/navigationOption/NavigationOption.mjs.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
- package/build/nudge/Nudge.js +1 -1
- package/build/nudge/Nudge.js.map +1 -1
- package/build/nudge/Nudge.mjs +1 -1
- package/build/nudge/Nudge.mjs.map +1 -1
- package/build/overlayHeader/OverlayHeader.js +1 -1
- package/build/overlayHeader/OverlayHeader.js.map +1 -1
- package/build/overlayHeader/OverlayHeader.mjs +1 -1
- package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/phoneNumberInput/data/countries.js.map +1 -1
- package/build/phoneNumberInput/data/countries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/cleanNumber/cleanNumber.js.map +1 -1
- package/build/phoneNumberInput/utils/cleanNumber/cleanNumber.mjs.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.js.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.mjs.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs.map +1 -1
- package/build/phoneNumberInput/utils/longestMatchingPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/longestMatchingPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.mjs.map +1 -1
- package/build/popover/Popover.js +1 -1
- package/build/popover/Popover.js.map +1 -1
- package/build/popover/Popover.mjs +1 -1
- package/build/popover/Popover.mjs.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
- package/build/processIndicator/ProcessIndicator.js +1 -1
- package/build/processIndicator/ProcessIndicator.js.map +1 -1
- package/build/processIndicator/ProcessIndicator.mjs +1 -1
- package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
- package/build/progress/Progress.js.map +1 -1
- package/build/progress/Progress.mjs.map +1 -1
- package/build/progressBar/ProgressBar.js +1 -1
- package/build/progressBar/ProgressBar.js.map +1 -1
- package/build/progressBar/ProgressBar.mjs +1 -1
- package/build/progressBar/ProgressBar.mjs.map +1 -1
- package/build/promoCard/PromoCard.js +1 -1
- package/build/promoCard/PromoCard.js.map +1 -1
- package/build/promoCard/PromoCard.mjs +1 -1
- package/build/promoCard/PromoCard.mjs.map +1 -1
- package/build/promoCard/PromoCardContext.js.map +1 -1
- package/build/promoCard/PromoCardContext.mjs.map +1 -1
- package/build/promoCard/PromoCardGroup.js.map +1 -1
- package/build/promoCard/PromoCardGroup.mjs.map +1 -1
- package/build/promoCard/PromoCardIndicator.js +1 -1
- package/build/promoCard/PromoCardIndicator.js.map +1 -1
- package/build/promoCard/PromoCardIndicator.mjs +1 -1
- package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
- package/build/prompt/ActionPrompt/ActionPrompt.js +2 -2
- package/build/prompt/ActionPrompt/ActionPrompt.js.map +1 -1
- package/build/prompt/ActionPrompt/ActionPrompt.mjs +1 -1
- package/build/prompt/ActionPrompt/ActionPrompt.mjs.map +1 -1
- package/build/prompt/CriticalBanner/CriticalBanner.js +2 -2
- package/build/prompt/CriticalBanner/CriticalBanner.js.map +1 -1
- package/build/prompt/CriticalBanner/CriticalBanner.mjs +1 -1
- package/build/prompt/CriticalBanner/CriticalBanner.mjs.map +1 -1
- package/build/prompt/CriticalBanner/helpers.js.map +1 -1
- package/build/prompt/CriticalBanner/helpers.mjs.map +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.js +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.js.map +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.mjs +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.mjs.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
- package/build/prompt/PrimitivePrompt/PrimitivePrompt.js.map +1 -1
- package/build/prompt/PrimitivePrompt/PrimitivePrompt.mjs.map +1 -1
- package/build/prompt/common/Expander/Expander.js.map +1 -1
- package/build/prompt/common/Expander/Expander.messages.js.map +1 -1
- package/build/prompt/common/Expander/Expander.messages.mjs.map +1 -1
- package/build/prompt/common/Expander/Expander.mjs.map +1 -1
- package/build/prompt/helpers/promptMedia.js.map +1 -1
- package/build/prompt/helpers/promptMedia.mjs.map +1 -1
- package/build/provider/Provider.js +1 -1
- package/build/provider/Provider.js.map +1 -1
- package/build/provider/Provider.mjs +1 -1
- package/build/provider/Provider.mjs.map +1 -1
- package/build/provider/direction/DirectionProvider.js.map +1 -1
- package/build/provider/direction/DirectionProvider.mjs.map +1 -1
- package/build/provider/language/LanguageProvider.js.map +1 -1
- package/build/provider/language/LanguageProvider.mjs.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.js.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.mjs.map +1 -1
- package/build/radio/Radio.js +1 -1
- package/build/radio/Radio.js.map +1 -1
- package/build/radio/Radio.mjs +1 -1
- package/build/radio/Radio.mjs.map +1 -1
- package/build/radioGroup/RadioGroup.js.map +1 -1
- package/build/radioGroup/RadioGroup.mjs.map +1 -1
- package/build/radioOption/RadioOption.js.map +1 -1
- package/build/radioOption/RadioOption.mjs.map +1 -1
- package/build/section/Section.js.map +1 -1
- package/build/section/Section.mjs.map +1 -1
- package/build/segmentedControl/SegmentedControl.js +1 -1
- package/build/segmentedControl/SegmentedControl.js.map +1 -1
- package/build/segmentedControl/SegmentedControl.mjs +1 -1
- package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
- package/build/select/Select.js +1 -1
- package/build/select/Select.js.map +1 -1
- package/build/select/Select.messages.js.map +1 -1
- package/build/select/Select.messages.mjs.map +1 -1
- package/build/select/Select.mjs +1 -1
- package/build/select/Select.mjs.map +1 -1
- package/build/select/option/Option.js +1 -1
- package/build/select/option/Option.js.map +1 -1
- package/build/select/option/Option.mjs +1 -1
- package/build/select/option/Option.mjs.map +1 -1
- package/build/select/searchBox/SearchBox.js.map +1 -1
- package/build/select/searchBox/SearchBox.mjs.map +1 -1
- package/build/sentimentSurface/SentimentSurface.js.map +1 -1
- package/build/sentimentSurface/SentimentSurface.mjs.map +1 -1
- package/build/slidingPanel/SlidingPanel.js.map +1 -1
- package/build/slidingPanel/SlidingPanel.mjs.map +1 -1
- package/build/snackbar/Snackbar.js.map +1 -1
- package/build/snackbar/Snackbar.mjs.map +1 -1
- package/build/snackbar/SnackbarContext.js.map +1 -1
- package/build/snackbar/SnackbarContext.mjs.map +1 -1
- package/build/snackbar/SnackbarProvider.js.map +1 -1
- package/build/snackbar/SnackbarProvider.mjs.map +1 -1
- package/build/snackbar/useSnackbar.js.map +1 -1
- package/build/snackbar/useSnackbar.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.js +2 -2
- package/build/statusIcon/StatusIcon.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.mjs +2 -2
- package/build/statusIcon/StatusIcon.mjs.map +1 -1
- package/build/stepper/Stepper.js +1 -1
- package/build/stepper/Stepper.js.map +1 -1
- package/build/stepper/Stepper.mjs +1 -1
- package/build/stepper/Stepper.mjs.map +1 -1
- package/build/stepper/deviceDetection.js.map +1 -1
- package/build/stepper/deviceDetection.mjs.map +1 -1
- package/build/sticky/Sticky.js +1 -1
- package/build/sticky/Sticky.js.map +1 -1
- package/build/sticky/Sticky.mjs +1 -1
- package/build/sticky/Sticky.mjs.map +1 -1
- package/build/styles/accordion/Accordion.css +1 -1
- package/build/styles/card/Card.css +2 -2
- package/build/styles/carousel/Carousel.css +5 -5
- package/build/styles/common/Option/Option.css +4 -2
- package/build/styles/common/baseCard/BaseCard.css +1 -1
- package/build/styles/container/Container.css +3 -3
- package/build/styles/criticalBanner/CriticalCommsBanner.css +1 -1
- package/build/styles/css/accordion.css +4 -4
- package/build/styles/css/button-groups.css +6 -6
- package/build/styles/css/buttons.css +1 -1
- package/build/styles/css/circles.css +1 -1
- package/build/styles/css/column-layout.css +4 -4
- package/build/styles/css/decision.css +4 -4
- package/build/styles/css/dropdowns.css +10 -10
- package/build/styles/css/droppable.css +8 -8
- package/build/styles/css/flex.css +14 -14
- package/build/styles/css/footer.css +3 -3
- package/build/styles/css/grid.css +19 -19
- package/build/styles/css/input-groups.css +12 -12
- package/build/styles/css/list-group.css +8 -8
- package/build/styles/css/modals.css +6 -6
- package/build/styles/css/navbar.css +62 -62
- package/build/styles/css/navs.css +2 -2
- package/build/styles/css/neptune.css +261 -262
- package/build/styles/css/panels.css +9 -9
- package/build/styles/css/popovers.css +13 -13
- package/build/styles/css/select.css +1 -1
- package/build/styles/css/sequences.css +6 -6
- package/build/styles/css/table.css +6 -6
- package/build/styles/css/utilities.css +4 -4
- package/build/styles/css/wells.css +4 -4
- package/build/styles/dateInput/DateInput.css +1 -1
- package/build/styles/definitionList/DefinitionList.css +2 -2
- package/build/styles/drawer/Drawer.css +2 -2
- package/build/styles/flowNavigation/FlowNavigation.css +1 -1
- package/build/styles/inputs/Input.css +3 -3
- package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +2 -2
- package/build/styles/inputs/SelectInput/SelectInput.css +2 -2
- package/build/styles/inputs/TextArea.css +3 -3
- package/build/styles/less/legacy-variables.less +47 -34
- package/build/styles/less/neptune-tokens.less +2 -2
- package/build/styles/main.css +309 -307
- package/build/styles/modal/Modal.css +5 -5
- package/build/styles/popover/Popover.css +3 -3
- package/build/styles/promoCard/PromoCard.css +1 -1
- package/build/styles/prompt/ActionPrompt/ActionPrompt.css +1 -1
- package/build/styles/prompt/PrimitivePrompt/PrimitivePrompt.css +1 -1
- package/build/styles/props/custom-media.css +11 -23
- package/build/styles/props/neptune-tokens.css +1 -1
- package/build/styles/snackbar/Snackbar.css +2 -2
- package/build/styles/stepper/Stepper.css +2 -2
- package/build/styles/styles/less/accordion.css +4 -4
- package/build/styles/styles/less/button-groups.css +6 -6
- package/build/styles/styles/less/buttons.css +1 -1
- package/build/styles/styles/less/circles.css +1 -1
- package/build/styles/styles/less/column-layout.css +4 -4
- package/build/styles/styles/less/decision.css +4 -4
- package/build/styles/styles/less/dropdowns.css +10 -10
- package/build/styles/styles/less/droppable.css +8 -8
- package/build/styles/styles/less/flex.css +14 -14
- package/build/styles/styles/less/footer.css +3 -3
- package/build/styles/styles/less/forms/bootstrap-forms.css +9 -9
- package/build/styles/styles/less/grid.css +19 -19
- package/build/styles/styles/less/input-groups.css +12 -12
- package/build/styles/styles/less/list-group.css +8 -8
- package/build/styles/styles/less/modals.css +6 -6
- package/build/styles/styles/less/navbar.css +62 -62
- package/build/styles/styles/less/navs.css +2 -2
- package/build/styles/styles/less/neptune.css +261 -262
- package/build/styles/styles/less/panels.css +9 -9
- package/build/styles/styles/less/popovers.css +13 -13
- package/build/styles/styles/less/select.css +1 -1
- package/build/styles/styles/less/sequences.css +6 -6
- package/build/styles/styles/less/table.css +6 -6
- package/build/styles/styles/less/utilities.css +4 -4
- package/build/styles/styles/less/wells.css +4 -4
- package/build/styles/styles/props/custom-media.css +11 -1
- package/build/styles/table/Table.css +1 -1
- package/build/styles/tabs/Tabs.css +2 -2
- package/build/styles/typeahead/Typeahead.css +1 -1
- package/build/summary/Summary.js +1 -1
- package/build/summary/Summary.js.map +1 -1
- package/build/summary/Summary.messages.js.map +1 -1
- package/build/summary/Summary.messages.mjs.map +1 -1
- package/build/summary/Summary.mjs +1 -1
- package/build/summary/Summary.mjs.map +1 -1
- package/build/switch/Switch.js.map +1 -1
- package/build/switch/Switch.mjs.map +1 -1
- package/build/switchOption/SwitchOption.js.map +1 -1
- package/build/switchOption/SwitchOption.mjs.map +1 -1
- package/build/table/Table.js +1 -1
- package/build/table/Table.js.map +1 -1
- package/build/table/Table.messages.js.map +1 -1
- package/build/table/Table.messages.mjs.map +1 -1
- package/build/table/Table.mjs +1 -1
- package/build/table/Table.mjs.map +1 -1
- package/build/table/TableCell.js.map +1 -1
- package/build/table/TableCell.mjs.map +1 -1
- package/build/table/TableHeader.js.map +1 -1
- package/build/table/TableHeader.mjs.map +1 -1
- package/build/table/TableRow.js +1 -1
- package/build/table/TableRow.js.map +1 -1
- package/build/table/TableRow.mjs +1 -1
- package/build/table/TableRow.mjs.map +1 -1
- package/build/table/TableStatusText.js +1 -1
- package/build/table/TableStatusText.js.map +1 -1
- package/build/table/TableStatusText.mjs +1 -1
- package/build/table/TableStatusText.mjs.map +1 -1
- package/build/tabs/Tab.js.map +1 -1
- package/build/tabs/Tab.mjs.map +1 -1
- package/build/tabs/TabList.js.map +1 -1
- package/build/tabs/TabList.mjs.map +1 -1
- package/build/tabs/TabPanel.js.map +1 -1
- package/build/tabs/TabPanel.mjs.map +1 -1
- package/build/tabs/Tabs.js +1 -1
- package/build/tabs/Tabs.js.map +1 -1
- package/build/tabs/Tabs.mjs +1 -1
- package/build/tabs/Tabs.mjs.map +1 -1
- package/build/tabs/utils.js.map +1 -1
- package/build/tabs/utils.mjs.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.mjs.map +1 -1
- package/build/tile/Tile.js +1 -1
- package/build/tile/Tile.js.map +1 -1
- package/build/tile/Tile.mjs +1 -1
- package/build/tile/Tile.mjs.map +1 -1
- package/build/title/Title.js +1 -1
- package/build/title/Title.js.map +1 -1
- package/build/title/Title.mjs +1 -1
- package/build/title/Title.mjs.map +1 -1
- package/build/tooltip/Tooltip.js +1 -1
- package/build/tooltip/Tooltip.js.map +1 -1
- package/build/tooltip/Tooltip.mjs +1 -1
- package/build/tooltip/Tooltip.mjs.map +1 -1
- package/build/typeahead/Typeahead.js +1 -1
- package/build/typeahead/Typeahead.js.map +1 -1
- package/build/typeahead/Typeahead.messages.js.map +1 -1
- package/build/typeahead/Typeahead.messages.mjs.map +1 -1
- package/build/typeahead/Typeahead.mjs +1 -1
- package/build/typeahead/Typeahead.mjs.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.js.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.mjs.map +1 -1
- package/build/typeahead/util/highlight.js.map +1 -1
- package/build/typeahead/util/highlight.mjs.map +1 -1
- package/build/types/src/accordion/Accordion.d.ts.map +1 -0
- package/build/types/src/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/build/types/src/accordion/AccordionItem/index.d.ts.map +1 -0
- package/build/types/src/accordion/index.d.ts.map +1 -0
- package/build/types/src/actionButton/ActionButton.d.ts.map +1 -0
- package/build/types/src/actionButton/index.d.ts.map +1 -0
- package/build/types/src/actionOption/ActionOption.d.ts.map +1 -0
- package/build/types/src/actionOption/index.d.ts.map +1 -0
- package/build/types/src/alert/Alert.d.ts.map +1 -0
- package/build/types/src/alert/index.d.ts.map +1 -0
- package/build/types/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
- package/build/types/src/alert/inlineMarkdown/index.d.ts.map +1 -0
- package/build/types/src/avatar/Avatar.d.ts.map +1 -0
- package/build/types/src/avatar/avatarTypes.d.ts.map +1 -0
- package/build/types/src/avatar/index.d.ts.map +1 -0
- package/build/types/src/avatarLayout/AvatarLayout.d.ts.map +1 -0
- package/build/types/src/avatarLayout/index.d.ts.map +1 -0
- package/build/types/src/avatarView/AvatarView.d.ts.map +1 -0
- package/build/types/src/avatarView/Dot.d.ts.map +1 -0
- package/build/types/src/avatarView/index.d.ts.map +1 -0
- package/build/types/src/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
- package/build/types/src/avatarWrapper/index.d.ts.map +1 -0
- package/build/types/src/badge/Badge.d.ts.map +1 -0
- package/build/types/src/badge/BadgeAssets.d.ts.map +1 -0
- package/build/types/src/badge/index.d.ts.map +1 -0
- package/build/types/src/body/Body.d.ts.map +1 -0
- package/build/types/src/body/index.d.ts.map +1 -0
- package/build/types/src/button/Button.d.ts.map +1 -0
- package/build/types/src/button/Button.resolver.d.ts.map +1 -0
- package/build/types/src/button/Button.types.d.ts.map +1 -0
- package/build/types/src/button/LegacyButton.d.ts.map +1 -0
- package/build/types/src/button/_stories/helpers.d.ts.map +1 -0
- package/build/types/src/button/classMap.d.ts.map +1 -0
- package/build/types/src/button/index.d.ts.map +1 -0
- package/build/types/src/button/legacyUtils/index.d.ts.map +1 -0
- package/build/types/src/button/legacyUtils/legacyUtils.d.ts.map +1 -0
- package/build/types/src/card/Card.d.ts.map +1 -0
- package/build/types/src/card/index.d.ts.map +1 -0
- package/build/types/src/carousel/Carousel.d.ts.map +1 -0
- package/build/types/src/carousel/index.d.ts.map +1 -0
- package/build/types/src/checkbox/Checkbox.d.ts.map +1 -0
- package/build/types/src/checkbox/index.d.ts.map +1 -0
- package/build/types/src/checkboxButton/CheckboxButton.d.ts.map +1 -0
- package/build/types/src/checkboxButton/index.d.ts.map +1 -0
- package/build/types/src/checkboxOption/CheckboxOption.d.ts.map +1 -0
- package/build/types/src/checkboxOption/index.d.ts.map +1 -0
- package/build/types/src/chevron/Chevron.d.ts.map +1 -0
- package/build/types/src/chevron/index.d.ts.map +1 -0
- package/build/types/src/chips/Chip.d.ts.map +1 -0
- package/build/types/src/chips/Chips.d.ts.map +1 -0
- package/build/types/src/chips/Chips.messages.d.ts.map +1 -0
- package/build/types/src/chips/index.d.ts.map +1 -0
- package/build/types/src/circularButton/CircularButton.d.ts.map +1 -0
- package/build/types/src/circularButton/index.d.ts.map +1 -0
- package/build/types/src/common/DOMOperations/DOMOperations.d.ts.map +1 -0
- package/build/types/src/common/DOMOperations/index.d.ts.map +1 -0
- package/build/types/src/common/Option/Option.d.ts.map +1 -0
- package/build/types/src/common/Option/index.d.ts.map +1 -0
- package/build/types/src/common/RadioButton/RadioButton.d.ts.map +1 -0
- package/build/types/src/common/RadioButton/index.d.ts.map +1 -0
- package/build/types/src/common/baseCard/BaseCard.d.ts.map +1 -0
- package/build/types/src/common/baseCard/index.d.ts.map +1 -0
- package/build/types/src/common/bottomSheet/BottomSheet.d.ts.map +1 -0
- package/build/types/src/common/bottomSheet/index.d.ts.map +1 -0
- package/build/types/src/common/circle/Circle.d.ts.map +1 -0
- package/build/types/src/common/circle/index.d.ts.map +1 -0
- package/build/types/src/common/closeButton/CloseButton.d.ts.map +1 -0
- package/build/types/src/common/closeButton/CloseButton.messages.d.ts.map +1 -0
- package/build/types/src/common/closeButton/index.d.ts.map +1 -0
- package/build/types/src/common/colors.d.ts.map +1 -0
- package/build/types/src/common/commonProps.d.ts.map +1 -0
- package/build/types/src/common/constants.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/index.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
- package/build/types/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
- package/build/types/src/common/deviceDetection/deviceDetection.d.ts.map +1 -0
- package/build/types/src/common/deviceDetection/index.d.ts.map +1 -0
- package/build/types/src/common/direction.d.ts.map +1 -0
- package/build/types/src/common/domHelpers/documentIosClick.d.ts.map +1 -0
- package/build/types/src/common/domHelpers/index.d.ts.map +1 -0
- package/build/types/src/common/fakeEvents.d.ts.map +1 -0
- package/build/types/src/common/fileType.d.ts.map +1 -0
- package/build/types/src/common/flowHeader/FlowHeader.d.ts.map +1 -0
- package/build/types/src/common/flowHeader/index.d.ts.map +1 -0
- package/build/types/src/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
- package/build/types/src/common/focusBoundary/index.d.ts.map +1 -0
- package/build/types/src/common/historyNavigator/historyNavigator.d.ts.map +1 -0
- package/build/types/src/common/historyNavigator/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useConditionalListener/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
- package/build/types/src/common/hooks/useContainerSize.d.ts.map +1 -0
- package/build/types/src/common/hooks/useDirection/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useDirection/useDirection.d.ts.map +1 -0
- package/build/types/src/common/hooks/useEffectEvent.d.ts.map +1 -0
- package/build/types/src/common/hooks/useHasIntersected/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
- package/build/types/src/common/hooks/useLayout/index.d.ts.map +1 -0
- package/build/types/src/common/hooks/useLayout/useLayout.d.ts.map +1 -0
- package/build/types/src/common/hooks/useMedia.d.ts.map +1 -0
- package/build/types/src/common/hooks/useResizeObserver.d.ts.map +1 -0
- package/build/types/src/common/hooks/useScreenSize.d.ts +3 -0
- package/build/types/src/common/hooks/useScreenSize.d.ts.map +1 -0
- package/build/types/src/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
- package/build/types/src/common/index.d.ts +31 -0
- package/build/types/src/common/index.d.ts.map +1 -0
- package/build/types/src/common/initials.d.ts.map +1 -0
- package/build/types/src/common/liveRegion/LiveRegion.d.ts.map +1 -0
- package/build/types/src/common/liveRegion/index.d.ts.map +1 -0
- package/build/types/src/common/locale/index.d.ts.map +1 -0
- package/build/types/src/common/panel/Panel.d.ts.map +1 -0
- package/build/types/src/common/panel/index.d.ts.map +1 -0
- package/build/types/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
- package/build/types/src/common/preventScroll/PreventScroll.d.ts.map +1 -0
- package/build/types/src/common/propsValues/breakpoint.d.ts +9 -0
- package/build/types/src/common/propsValues/breakpoint.d.ts.map +1 -0
- package/build/types/src/common/propsValues/control.d.ts.map +1 -0
- package/build/types/src/common/propsValues/dateMode.d.ts.map +1 -0
- package/build/types/src/common/propsValues/layouts.d.ts.map +1 -0
- package/build/types/src/common/propsValues/markdownNodeType.d.ts.map +1 -0
- package/build/types/src/common/propsValues/monthFormat.d.ts.map +1 -0
- package/build/types/src/common/propsValues/position.d.ts.map +1 -0
- package/build/types/src/common/propsValues/profileType.d.ts.map +1 -0
- package/build/types/src/common/propsValues/scroll.d.ts.map +1 -0
- package/build/types/src/common/propsValues/sentiment.d.ts.map +1 -0
- package/build/types/src/common/propsValues/size.d.ts.map +1 -0
- package/build/types/src/common/propsValues/status.d.ts.map +1 -0
- package/build/types/src/common/propsValues/type.d.ts.map +1 -0
- package/build/types/src/common/propsValues/typography.d.ts.map +1 -0
- package/build/types/src/common/propsValues/variant.d.ts.map +1 -0
- package/build/types/src/common/propsValues/width.d.ts.map +1 -0
- package/build/types/src/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
- package/build/types/src/common/responsivePanel/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
- package/build/types/src/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
- package/build/types/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
- package/build/types/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
- package/build/types/src/common/theme.d.ts.map +1 -0
- package/build/types/src/container/Container.d.ts.map +1 -0
- package/build/types/src/container/index.d.ts.map +1 -0
- package/build/types/src/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
- package/build/types/src/criticalBanner/index.d.ts.map +1 -0
- package/build/types/src/dateInput/DateInput.d.ts.map +1 -0
- package/build/types/src/dateInput/DateInput.messages.d.ts.map +1 -0
- package/build/types/src/dateInput/index.d.ts.map +1 -0
- package/build/types/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
- package/build/types/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
- package/build/types/src/dateInput/utils/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/DateLookup.d.ts.map +1 -0
- package/build/types/src/dateLookup/DateLookup.messages.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateHeader/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
- package/build/types/src/dateLookup/dateTrigger/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
- package/build/types/src/dateLookup/dayCalendar/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
- package/build/types/src/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
- package/build/types/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
- package/build/types/src/dateLookup/getStartOfDay/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
- package/build/types/src/dateLookup/monthCalendar/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
- package/build/types/src/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/tableLink/TableLink.d.ts.map +1 -0
- package/build/types/src/dateLookup/tableLink/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
- package/build/types/src/dateLookup/yearCalendar/index.d.ts.map +1 -0
- package/build/types/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
- package/build/types/src/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
- package/build/types/src/decision/Decision.d.ts.map +1 -0
- package/build/types/src/decision/index.d.ts.map +1 -0
- package/build/types/src/definitionList/DefinitionList.d.ts.map +1 -0
- package/build/types/src/definitionList/index.d.ts.map +1 -0
- package/build/types/src/dimmer/Dimmer.d.ts.map +1 -0
- package/build/types/src/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
- package/build/types/src/dimmer/dimmerManager/index.d.ts.map +1 -0
- package/build/types/src/dimmer/index.d.ts.map +1 -0
- package/build/types/src/display/Display.d.ts.map +1 -0
- package/build/types/src/display/index.d.ts.map +1 -0
- package/build/types/src/divider/Divider.d.ts.map +1 -0
- package/build/types/src/divider/index.d.ts.map +1 -0
- package/build/types/src/drawer/Drawer.d.ts.map +1 -0
- package/build/types/src/drawer/index.d.ts.map +1 -0
- package/build/types/src/dropFade/DropFade.d.ts.map +1 -0
- package/build/types/src/dropFade/index.d.ts.map +1 -0
- package/build/types/src/emphasis/Emphasis.d.ts.map +1 -0
- package/build/types/src/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
- package/build/types/src/emphasis/index.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
- package/build/types/src/expressiveMoneyInput/index.d.ts.map +1 -0
- package/build/types/src/field/Field.d.ts.map +1 -0
- package/build/types/src/flowNavigation/FlowNavigation.d.ts.map +1 -0
- package/build/types/src/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
- package/build/types/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
- package/build/types/src/flowNavigation/animatedLabel/index.d.ts.map +1 -0
- package/build/types/src/header/Header.d.ts.map +1 -0
- package/build/types/src/header/index.d.ts.map +1 -0
- package/build/types/src/i18n/commonMessages/Button.messages.d.ts.map +1 -0
- package/build/types/src/i18n/index.d.ts.map +1 -0
- package/build/types/src/iconButton/IconButton.d.ts.map +1 -0
- package/build/types/src/iconButton/index.d.ts.map +1 -0
- package/build/types/src/image/Image.d.ts.map +1 -0
- package/build/types/src/image/index.d.ts.map +1 -0
- package/build/types/src/index.d.ts +213 -0
- package/build/types/src/index.d.ts.map +1 -0
- package/build/types/src/info/Info.d.ts.map +1 -0
- package/build/types/src/info/Info.messages.d.ts.map +1 -0
- package/build/types/src/info/index.d.ts.map +1 -0
- package/build/types/src/info/infoPresentations.d.ts.map +1 -0
- package/build/types/src/inlineAlert/InlineAlert.d.ts.map +1 -0
- package/build/types/src/inlineAlert/index.d.ts.map +1 -0
- package/build/types/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
- package/build/types/src/inputWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/src/inputs/Input.d.ts.map +1 -0
- package/build/types/src/inputs/InputGroup.d.ts.map +1 -0
- package/build/types/src/inputs/SearchInput.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/BottomSheet/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ButtonInput/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ClearButton/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/ItemView/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Option/SelectInputOption.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Option/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/OptionContent/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Options/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/Popover/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.contexts.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.messages.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.types.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/SelectInput.utils.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/TriggerButton/index.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/components.d.ts.map +1 -0
- package/build/types/src/inputs/SelectInput/index.d.ts.map +1 -0
- package/build/types/src/inputs/TextArea.d.ts.map +1 -0
- package/build/types/src/inputs/_common.d.ts.map +1 -0
- package/build/types/src/inputs/contexts.d.ts.map +1 -0
- package/build/types/src/instructionsList/InstructionsList.d.ts.map +1 -0
- package/build/types/src/instructionsList/index.d.ts.map +1 -0
- package/build/types/src/label/Label.d.ts.map +1 -0
- package/build/types/src/label/Label.messages.d.ts.map +1 -0
- package/build/types/src/label/index.d.ts.map +1 -0
- package/build/types/src/legacylistItem/LegacyListItem.d.ts.map +1 -0
- package/build/types/src/legacylistItem/index.d.ts.map +1 -0
- package/build/types/src/link/Link.d.ts.map +1 -0
- package/build/types/src/link/Link.messages.d.ts.map +1 -0
- package/build/types/src/link/index.d.ts.map +1 -0
- package/build/types/src/list/List.d.ts.map +1 -0
- package/build/types/src/list/index.d.ts.map +1 -0
- package/build/types/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/src/listItem/AdditionalInfo/index.d.ts.map +1 -0
- package/build/types/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
- package/build/types/src/listItem/AvatarLayout/index.d.ts.map +1 -0
- package/build/types/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
- package/build/types/src/listItem/AvatarView/index.d.ts.map +1 -0
- package/build/types/src/listItem/Button/ListItemButton.d.ts.map +1 -0
- package/build/types/src/listItem/Button/index.d.ts.map +1 -0
- package/build/types/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/src/listItem/Checkbox/index.d.ts.map +1 -0
- package/build/types/src/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
- package/build/types/src/listItem/IconButton/index.d.ts.map +1 -0
- package/build/types/src/listItem/Image/ListItemImage.d.ts.map +1 -0
- package/build/types/src/listItem/Image/index.d.ts.map +1 -0
- package/build/types/src/listItem/ListItem.d.ts.map +1 -0
- package/build/types/src/listItem/ListItemContext.d.ts.map +1 -0
- package/build/types/src/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
- package/build/types/src/listItem/Navigation/index.d.ts.map +1 -0
- package/build/types/src/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
- package/build/types/src/listItem/Prompt/index.d.ts.map +1 -0
- package/build/types/src/listItem/Radio/ListItemRadio.d.ts.map +1 -0
- package/build/types/src/listItem/Radio/index.d.ts.map +1 -0
- package/build/types/src/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
- package/build/types/src/listItem/Switch/index.d.ts.map +1 -0
- package/build/types/src/listItem/_stories/helpers.d.ts.map +1 -0
- package/build/types/src/listItem/_stories/subcomponents.d.ts.map +1 -0
- package/build/types/src/listItem/_stories/variants/helpers.d.ts.map +1 -0
- package/build/types/src/listItem/constants.d.ts.map +1 -0
- package/build/types/src/listItem/index.d.ts.map +1 -0
- package/build/types/src/listItem/test-utils.d.ts.map +1 -0
- package/build/types/src/listItem/useListItemControl.d.ts.map +1 -0
- package/build/types/src/listItem/useListItemMedia.d.ts.map +1 -0
- package/build/types/src/loader/Loader.d.ts.map +1 -0
- package/build/types/src/loader/index.d.ts.map +1 -0
- package/build/types/src/logo/Logo.d.ts +59 -0
- package/build/types/src/logo/Logo.d.ts.map +1 -0
- package/build/types/src/logo/index.d.ts.map +1 -0
- package/build/types/src/logo/logo-assets.d.ts.map +1 -0
- package/build/types/src/markdown/Markdown.d.ts.map +1 -0
- package/build/types/src/markdown/index.d.ts.map +1 -0
- package/build/types/src/mocks.d.ts.map +1 -0
- package/build/types/src/modal/Modal.d.ts.map +1 -0
- package/build/types/src/modal/index.d.ts.map +1 -0
- package/build/types/src/money/Money.d.ts.map +1 -0
- package/build/types/src/money/index.d.ts.map +1 -0
- package/build/types/src/moneyInput/MoneyInput.d.ts.map +1 -0
- package/build/types/src/moneyInput/MoneyInput.messages.d.ts.map +1 -0
- package/build/types/src/moneyInput/currencyFormatting.d.ts.map +1 -0
- package/build/types/src/moneyInput/index.d.ts.map +1 -0
- package/build/types/src/navigationOption/NavigationOption.d.ts.map +1 -0
- package/build/types/src/navigationOption/index.d.ts.map +1 -0
- package/build/types/src/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
- package/build/types/src/navigationOptionsList/index.d.ts.map +1 -0
- package/build/types/src/nudge/Nudge.d.ts.map +1 -0
- package/build/types/src/nudge/index.d.ts.map +1 -0
- package/build/types/src/overlayHeader/OverlayHeader.d.ts.map +1 -0
- package/build/types/src/overlayHeader/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/data/countries.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
- package/build/types/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
- package/build/types/src/popover/Popover.d.ts.map +1 -0
- package/build/types/src/popover/index.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
- package/build/types/src/primitives/PrimitiveButton/index.d.ts.map +1 -0
- package/build/types/src/primitives/index.d.ts.map +1 -0
- package/build/types/src/primitives/types.d.ts.map +1 -0
- package/build/types/src/processIndicator/ProcessIndicator.d.ts.map +1 -0
- package/build/types/src/processIndicator/index.d.ts.map +1 -0
- package/build/types/src/progress/Progress.d.ts.map +1 -0
- package/build/types/src/progress/index.d.ts.map +1 -0
- package/build/types/src/progressBar/ProgressBar.d.ts.map +1 -0
- package/build/types/src/progressBar/index.d.ts.map +1 -0
- package/build/types/src/promoCard/PromoCard.d.ts.map +1 -0
- package/build/types/src/promoCard/PromoCardContext.d.ts.map +1 -0
- package/build/types/src/promoCard/PromoCardGroup.d.ts.map +1 -0
- package/build/types/src/promoCard/PromoCardIndicator.d.ts.map +1 -0
- package/build/types/src/promoCard/index.d.ts.map +1 -0
- package/build/types/src/prompt/ActionPrompt/ActionPrompt.d.ts.map +1 -0
- package/build/types/src/prompt/ActionPrompt/index.d.ts.map +1 -0
- package/build/types/src/prompt/CriticalBanner/CriticalBanner.d.ts.map +1 -0
- package/build/types/src/prompt/CriticalBanner/helpers.d.ts.map +1 -0
- package/build/types/src/prompt/CriticalBanner/index.d.ts.map +1 -0
- package/build/types/src/prompt/InfoPrompt/InfoPrompt.d.ts.map +1 -0
- package/build/types/src/prompt/InfoPrompt/index.d.ts.map +1 -0
- package/build/types/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
- package/build/types/src/prompt/InlinePrompt/index.d.ts.map +1 -0
- package/build/types/src/prompt/PrimitivePrompt/PrimitivePrompt.d.ts.map +1 -0
- package/build/types/src/prompt/PrimitivePrompt/index.d.ts.map +1 -0
- package/build/types/src/prompt/common/Expander/Expander.d.ts.map +1 -0
- package/build/types/src/prompt/common/Expander/Expander.messages.d.ts.map +1 -0
- package/build/types/src/prompt/helpers/promptMedia.d.ts.map +1 -0
- package/build/types/src/prompt/index.d.ts.map +1 -0
- package/build/types/src/provider/Provider.d.ts.map +1 -0
- package/build/types/src/provider/direction/DirectionProvider.d.ts.map +1 -0
- package/build/types/src/provider/direction/index.d.ts.map +1 -0
- package/build/types/src/provider/index.d.ts.map +1 -0
- package/build/types/src/provider/language/LanguageProvider.d.ts.map +1 -0
- package/build/types/src/provider/language/index.d.ts.map +1 -0
- package/build/types/src/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
- package/build/types/src/radio/Radio.d.ts.map +1 -0
- package/build/types/src/radio/index.d.ts.map +1 -0
- package/build/types/src/radioGroup/RadioGroup.d.ts.map +1 -0
- package/build/types/src/radioGroup/index.d.ts.map +1 -0
- package/build/types/src/radioOption/RadioOption.d.ts.map +1 -0
- package/build/types/src/radioOption/index.d.ts.map +1 -0
- package/build/types/src/section/Section.d.ts.map +1 -0
- package/build/types/src/section/index.d.ts.map +1 -0
- package/build/types/src/segmentedControl/SegmentedControl.d.ts.map +1 -0
- package/build/types/src/segmentedControl/index.d.ts.map +1 -0
- package/build/types/src/select/Select.d.ts.map +1 -0
- package/build/types/src/select/Select.messages.d.ts.map +1 -0
- package/build/types/src/select/index.d.ts.map +1 -0
- package/build/types/src/select/option/Option.d.ts.map +1 -0
- package/build/types/src/select/option/index.d.ts.map +1 -0
- package/build/types/src/select/searchBox/SearchBox.d.ts.map +1 -0
- package/build/types/src/select/searchBox/index.d.ts.map +1 -0
- package/build/types/src/sentimentSurface/SentimentSurface.d.ts.map +1 -0
- package/build/types/src/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
- package/build/types/src/sentimentSurface/index.d.ts.map +1 -0
- package/build/types/src/slidingPanel/SlidingPanel.d.ts.map +1 -0
- package/build/types/src/slidingPanel/index.d.ts.map +1 -0
- package/build/types/src/snackbar/Snackbar.d.ts.map +1 -0
- package/build/types/src/snackbar/SnackbarContext.d.ts.map +1 -0
- package/build/types/src/snackbar/SnackbarProvider.d.ts.map +1 -0
- package/build/types/src/snackbar/index.d.ts.map +1 -0
- package/build/types/src/snackbar/useSnackbar.d.ts.map +1 -0
- package/build/types/src/statusIcon/StatusIcon.d.ts.map +1 -0
- package/build/types/src/statusIcon/StatusIcon.messages.d.ts.map +1 -0
- package/build/types/src/statusIcon/index.d.ts.map +1 -0
- package/build/types/src/stepper/Stepper.d.ts.map +1 -0
- package/build/types/src/stepper/deviceDetection.d.ts.map +1 -0
- package/build/types/src/sticky/Sticky.d.ts.map +1 -0
- package/build/types/src/sticky/index.d.ts.map +1 -0
- package/build/types/src/summary/Summary.d.ts.map +1 -0
- package/build/types/src/summary/Summary.messages.d.ts.map +1 -0
- package/build/types/src/summary/index.d.ts.map +1 -0
- package/build/types/src/switch/Switch.d.ts.map +1 -0
- package/build/types/src/switch/index.d.ts.map +1 -0
- package/build/types/src/switchOption/SwitchOption.d.ts.map +1 -0
- package/build/types/src/switchOption/index.d.ts.map +1 -0
- package/build/types/src/table/Table.d.ts.map +1 -0
- package/build/types/src/table/Table.messages.d.ts.map +1 -0
- package/build/types/src/table/TableCell.d.ts.map +1 -0
- package/build/types/src/table/TableHeader.d.ts.map +1 -0
- package/build/types/src/table/TableRow.d.ts.map +1 -0
- package/build/types/src/table/TableStatusText.d.ts.map +1 -0
- package/build/types/src/table/index.d.ts.map +1 -0
- package/build/types/src/tabs/Tab.d.ts.map +1 -0
- package/build/types/src/tabs/TabList.d.ts.map +1 -0
- package/build/types/src/tabs/TabPanel.d.ts.map +1 -0
- package/build/types/src/tabs/Tabs.d.ts.map +1 -0
- package/build/types/src/tabs/index.d.ts.map +1 -0
- package/build/types/src/tabs/utils.d.ts.map +1 -0
- package/build/types/src/test-utils/fake-data.d.ts.map +1 -0
- package/build/types/src/test-utils/index.d.ts.map +1 -0
- package/build/types/src/test-utils/jest.setup.d.ts.map +1 -0
- package/build/types/src/test-utils/style-mock.d.ts.map +1 -0
- package/build/types/src/test-utils/wait.d.ts.map +1 -0
- package/build/types/src/test-utils/window-mock.d.ts.map +1 -0
- package/build/types/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
- package/build/types/src/textareaWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/src/tile/Tile.d.ts.map +1 -0
- package/build/types/src/tile/index.d.ts.map +1 -0
- package/build/types/src/title/Title.d.ts.map +1 -0
- package/build/types/src/title/index.d.ts.map +1 -0
- package/build/types/src/tooltip/Tooltip.d.ts.map +1 -0
- package/build/types/src/tooltip/index.d.ts.map +1 -0
- package/build/types/src/typeahead/Typeahead.d.ts.map +1 -0
- package/build/types/src/typeahead/Typeahead.messages.d.ts.map +1 -0
- package/build/types/src/typeahead/index.d.ts.map +1 -0
- package/build/types/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
- package/build/types/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
- package/build/types/src/typeahead/util/highlight.d.ts.map +1 -0
- package/build/types/src/upload/Upload.d.ts.map +1 -0
- package/build/types/src/upload/Upload.messages.d.ts.map +1 -0
- package/build/types/src/upload/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/completeStep/completeStep.d.ts.map +1 -0
- package/build/types/src/upload/steps/completeStep/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/processingStep/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/processingStep/processingStep.d.ts.map +1 -0
- package/build/types/src/upload/steps/uploadImageStep/index.d.ts.map +1 -0
- package/build/types/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
- package/build/types/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
- package/build/types/src/upload/utils/asyncFileRead/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/getFileType/getFileType.d.ts.map +1 -0
- package/build/types/src/upload/utils/getFileType/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/isSizeValid/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
- package/build/types/src/upload/utils/isTypeValid/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
- package/build/types/src/upload/utils/postData/index.d.ts.map +1 -0
- package/build/types/src/upload/utils/postData/postData.d.ts.map +1 -0
- package/build/types/src/uploadInput/UploadInput.d.ts.map +1 -0
- package/build/types/src/uploadInput/UploadInput.messages.d.ts.map +1 -0
- package/build/types/src/uploadInput/index.d.ts.map +1 -0
- package/build/types/src/uploadInput/types.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadButton/defaults.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
- package/build/types/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
- package/build/types/src/utilities/cssValueWithUnit.d.ts.map +1 -0
- package/build/types/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
- package/build/types/src/utilities/deprecatedProperty/index.d.ts.map +1 -0
- package/build/types/src/utilities/index.d.ts.map +1 -0
- package/build/types/src/utilities/logActionRequired.d.ts.map +1 -0
- package/build/types/src/utils.d.ts.map +1 -0
- package/build/types/src/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
- package/build/types/src/withDisplayFormat/index.d.ts.map +1 -0
- package/build/types/src/withId/index.d.ts.map +1 -0
- package/build/types/src/withId/story/source.d.ts.map +1 -0
- package/build/types/src/withId/withId.d.ts.map +1 -0
- package/build/types/src/withNextPortal/withNextPortal.d.ts.map +1 -0
- package/build/upload/Upload.js +1 -1
- package/build/upload/Upload.js.map +1 -1
- package/build/upload/Upload.messages.js.map +1 -1
- package/build/upload/Upload.messages.mjs.map +1 -1
- package/build/upload/Upload.mjs +1 -1
- package/build/upload/Upload.mjs.map +1 -1
- package/build/upload/steps/completeStep/completeStep.js +1 -1
- package/build/upload/steps/completeStep/completeStep.js.map +1 -1
- package/build/upload/steps/completeStep/completeStep.mjs +1 -1
- package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
- package/build/upload/steps/processingStep/processingStep.js +1 -1
- package/build/upload/steps/processingStep/processingStep.js.map +1 -1
- package/build/upload/steps/processingStep/processingStep.mjs +1 -1
- package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.js.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.mjs.map +1 -1
- package/build/upload/utils/getFileType/getFileType.js.map +1 -1
- package/build/upload/utils/getFileType/getFileType.mjs.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.js.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.mjs.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.js.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.mjs.map +1 -1
- package/build/upload/utils/postData/postData.js.map +1 -1
- package/build/upload/utils/postData/postData.mjs.map +1 -1
- package/build/uploadInput/UploadInput.js +1 -1
- package/build/uploadInput/UploadInput.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.mjs.map +1 -1
- package/build/uploadInput/UploadInput.mjs +1 -1
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs +1 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
- package/build/uploadInput/uploadButton/defaults.js +1 -1
- package/build/uploadInput/uploadButton/defaults.js.map +1 -1
- package/build/uploadInput/uploadButton/defaults.mjs +1 -1
- package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.js +1 -1
- package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.mjs +1 -1
- package/build/uploadInput/uploadItem/UploadItem.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.mjs.map +1 -1
- package/build/utilities/cssValueWithUnit.js.map +1 -1
- package/build/utilities/cssValueWithUnit.mjs.map +1 -1
- package/build/utilities/logActionRequired.js.map +1 -1
- package/build/utilities/logActionRequired.mjs.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.js +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
- package/build/withId/withId.js.map +1 -1
- package/build/withId/withId.mjs.map +1 -1
- package/build/withNextPortal/withNextPortal.js.map +1 -1
- package/build/withNextPortal/withNextPortal.mjs.map +1 -1
- package/package.json +8 -8
- package/src/accordion/Accordion.css +1 -1
- package/src/card/Card.css +2 -2
- package/src/carousel/Carousel.css +5 -5
- package/src/circularButton/CircularButton.tsx +2 -3
- package/src/common/Option/Option.css +4 -2
- package/src/common/Option/Option.less +4 -2
- package/src/common/baseCard/BaseCard.css +1 -1
- package/src/common/bottomSheet/BottomSheet.tsx +2 -2
- package/src/common/circle/Circle.tsx +2 -2
- package/src/common/hooks/useLayout/useLayout.ts +1 -1
- package/src/common/hooks/useScreenSize.ts +1 -1
- package/src/common/index.ts +1 -1
- package/src/common/propsValues/breakpoint.ts +8 -0
- package/src/common/responsivePanel/ResponsivePanel.test.js +2 -3
- package/src/container/Container.css +3 -3
- package/src/criticalBanner/CriticalCommsBanner.css +1 -1
- package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +85 -0
- package/src/dateInput/DateInput.css +1 -1
- package/src/dateLookup/DateLookup.tsx +1 -1
- package/src/decision/Decision.test.tsx +1 -2
- package/src/decision/Decision.tsx +1 -2
- package/src/definitionList/DefinitionList.css +2 -2
- package/src/definitionList/DefinitionList.less +2 -2
- package/src/drawer/Drawer.css +2 -2
- package/src/drawer/Drawer.less +3 -4
- package/src/flowNavigation/FlowNavigation.css +1 -1
- package/src/flowNavigation/FlowNavigation.less +1 -1
- package/src/flowNavigation/FlowNavigation.story.tsx +0 -3
- package/src/flowNavigation/FlowNavigation.test.js +1 -1
- package/src/flowNavigation/FlowNavigation.tsx +1 -2
- package/src/index.ts +1 -1
- package/src/inputs/Input.css +3 -3
- package/src/inputs/SelectInput/Options/SelectInputOptions.css +2 -2
- package/src/inputs/SelectInput/SelectInput.css +2 -2
- package/src/inputs/SelectInput/SelectInput.tsx +1 -1
- package/src/inputs/TextArea.css +3 -3
- package/src/logo/Logo.tsx +1 -1
- package/src/main.css +309 -307
- package/src/modal/Modal.css +5 -5
- package/src/popover/Popover.css +3 -3
- package/src/popover/Popover.test.tsx +1 -2
- package/src/promoCard/PromoCard.css +1 -1
- package/src/prompt/ActionPrompt/ActionPrompt.css +1 -1
- package/src/prompt/ActionPrompt/ActionPrompt.test.tsx +3 -3
- package/src/prompt/ActionPrompt/ActionPrompt.tsx +1 -2
- package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +1 -1
- package/src/select/Select.test.tsx +1 -1
- package/src/snackbar/Snackbar.css +2 -2
- package/src/statusIcon/StatusIcon.tsx +2 -3
- package/src/stepper/Stepper.css +2 -2
- package/src/styles/less/accordion.css +4 -4
- package/src/styles/less/button-groups.css +6 -6
- package/src/styles/less/buttons.css +1 -1
- package/src/styles/less/circles.css +1 -1
- package/src/styles/less/column-layout.css +4 -4
- package/src/styles/less/decision.css +4 -4
- package/src/styles/less/dropdowns.css +10 -10
- package/src/styles/less/droppable.css +8 -8
- package/src/styles/less/flex.css +14 -14
- package/src/styles/less/footer.css +3 -3
- package/src/styles/less/forms/bootstrap-forms.css +9 -9
- package/src/styles/less/forms/bootstrap-forms.less +1 -1
- package/src/styles/less/grid.css +19 -19
- package/src/styles/less/input-groups.css +12 -12
- package/src/styles/less/list-group.css +8 -8
- package/src/styles/less/modals.css +6 -6
- package/src/styles/less/modals.less +4 -4
- package/src/styles/less/navbar.css +62 -62
- package/src/styles/less/navbar.less +2 -2
- package/src/styles/less/navs.css +2 -2
- package/src/styles/less/neptune.bundle.less +0 -1
- package/src/styles/less/neptune.css +261 -262
- package/src/styles/less/panels.css +9 -9
- package/src/styles/less/popovers.css +13 -13
- package/src/styles/less/select.css +1 -1
- package/src/styles/less/sequences.css +6 -6
- package/src/styles/less/table.css +6 -6
- package/src/styles/less/table.less +1 -1
- package/src/styles/less/utilities.css +4 -4
- package/src/styles/less/wells.css +4 -4
- package/src/styles/props/custom-media.css +11 -1
- package/src/styles/variables/legacy-variables.less +47 -4
- package/src/table/Table.css +1 -1
- package/src/tabs/Tabs.css +2 -2
- package/src/typeahead/Typeahead.css +1 -1
- package/src/uploadInput/uploadItem/UploadItem.less +2 -2
- package/build/types/accordion/Accordion.d.ts.map +0 -1
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
- package/build/types/accordion/AccordionItem/index.d.ts.map +0 -1
- package/build/types/accordion/index.d.ts.map +0 -1
- package/build/types/actionButton/ActionButton.d.ts.map +0 -1
- package/build/types/actionButton/index.d.ts.map +0 -1
- package/build/types/actionOption/ActionOption.d.ts.map +0 -1
- package/build/types/actionOption/index.d.ts.map +0 -1
- package/build/types/alert/Alert.d.ts.map +0 -1
- package/build/types/alert/index.d.ts.map +0 -1
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
- package/build/types/alert/inlineMarkdown/index.d.ts.map +0 -1
- package/build/types/avatar/Avatar.d.ts.map +0 -1
- package/build/types/avatar/avatarTypes.d.ts.map +0 -1
- package/build/types/avatar/index.d.ts.map +0 -1
- package/build/types/avatarLayout/AvatarLayout.d.ts.map +0 -1
- package/build/types/avatarLayout/index.d.ts.map +0 -1
- package/build/types/avatarView/AvatarView.d.ts.map +0 -1
- package/build/types/avatarView/Dot.d.ts.map +0 -1
- package/build/types/avatarView/index.d.ts.map +0 -1
- package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
- package/build/types/avatarWrapper/index.d.ts.map +0 -1
- package/build/types/badge/Badge.d.ts.map +0 -1
- package/build/types/badge/BadgeAssets.d.ts.map +0 -1
- package/build/types/badge/index.d.ts.map +0 -1
- package/build/types/body/Body.d.ts.map +0 -1
- package/build/types/body/index.d.ts.map +0 -1
- package/build/types/button/Button.d.ts.map +0 -1
- package/build/types/button/Button.resolver.d.ts.map +0 -1
- package/build/types/button/Button.types.d.ts.map +0 -1
- package/build/types/button/LegacyButton.d.ts.map +0 -1
- package/build/types/button/_stories/helpers.d.ts.map +0 -1
- package/build/types/button/classMap.d.ts.map +0 -1
- package/build/types/button/index.d.ts.map +0 -1
- package/build/types/button/legacyUtils/index.d.ts.map +0 -1
- package/build/types/button/legacyUtils/legacyUtils.d.ts.map +0 -1
- package/build/types/card/Card.d.ts.map +0 -1
- package/build/types/card/index.d.ts.map +0 -1
- package/build/types/carousel/Carousel.d.ts.map +0 -1
- package/build/types/carousel/index.d.ts.map +0 -1
- package/build/types/checkbox/Checkbox.d.ts.map +0 -1
- package/build/types/checkbox/index.d.ts.map +0 -1
- package/build/types/checkboxButton/CheckboxButton.d.ts.map +0 -1
- package/build/types/checkboxButton/index.d.ts.map +0 -1
- package/build/types/checkboxOption/CheckboxOption.d.ts.map +0 -1
- package/build/types/checkboxOption/index.d.ts.map +0 -1
- package/build/types/chevron/Chevron.d.ts.map +0 -1
- package/build/types/chevron/index.d.ts.map +0 -1
- package/build/types/chips/Chip.d.ts.map +0 -1
- package/build/types/chips/Chips.d.ts.map +0 -1
- package/build/types/chips/Chips.messages.d.ts.map +0 -1
- package/build/types/chips/index.d.ts.map +0 -1
- package/build/types/circularButton/CircularButton.d.ts.map +0 -1
- package/build/types/circularButton/index.d.ts.map +0 -1
- package/build/types/common/DOMOperations/DOMOperations.d.ts.map +0 -1
- package/build/types/common/DOMOperations/index.d.ts.map +0 -1
- package/build/types/common/Option/Option.d.ts.map +0 -1
- package/build/types/common/Option/index.d.ts.map +0 -1
- package/build/types/common/RadioButton/RadioButton.d.ts.map +0 -1
- package/build/types/common/RadioButton/index.d.ts.map +0 -1
- package/build/types/common/baseCard/BaseCard.d.ts.map +0 -1
- package/build/types/common/baseCard/index.d.ts.map +0 -1
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +0 -1
- package/build/types/common/bottomSheet/index.d.ts.map +0 -1
- package/build/types/common/circle/Circle.d.ts.map +0 -1
- package/build/types/common/circle/index.d.ts.map +0 -1
- package/build/types/common/closeButton/CloseButton.d.ts.map +0 -1
- package/build/types/common/closeButton/CloseButton.messages.d.ts.map +0 -1
- package/build/types/common/closeButton/index.d.ts.map +0 -1
- package/build/types/common/colors.d.ts.map +0 -1
- package/build/types/common/commonProps.d.ts.map +0 -1
- package/build/types/common/constants.d.ts.map +0 -1
- package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
- package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
- package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
- package/build/types/common/dateUtils/index.d.ts.map +0 -1
- package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
- package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
- package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
- package/build/types/common/deviceDetection/deviceDetection.d.ts.map +0 -1
- package/build/types/common/deviceDetection/index.d.ts.map +0 -1
- package/build/types/common/direction.d.ts.map +0 -1
- package/build/types/common/domHelpers/documentIosClick.d.ts.map +0 -1
- package/build/types/common/domHelpers/index.d.ts.map +0 -1
- package/build/types/common/fakeEvents.d.ts.map +0 -1
- package/build/types/common/fileType.d.ts.map +0 -1
- package/build/types/common/flowHeader/FlowHeader.d.ts.map +0 -1
- package/build/types/common/flowHeader/index.d.ts.map +0 -1
- package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
- package/build/types/common/focusBoundary/index.d.ts.map +0 -1
- package/build/types/common/historyNavigator/historyNavigator.d.ts.map +0 -1
- package/build/types/common/historyNavigator/index.d.ts.map +0 -1
- package/build/types/common/hooks/index.d.ts.map +0 -1
- package/build/types/common/hooks/useConditionalListener/index.d.ts.map +0 -1
- package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
- package/build/types/common/hooks/useContainerSize.d.ts.map +0 -1
- package/build/types/common/hooks/useDirection/index.d.ts.map +0 -1
- package/build/types/common/hooks/useDirection/useDirection.d.ts.map +0 -1
- package/build/types/common/hooks/useEffectEvent.d.ts.map +0 -1
- package/build/types/common/hooks/useHasIntersected/index.d.ts.map +0 -1
- package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
- package/build/types/common/hooks/useLayout/index.d.ts.map +0 -1
- package/build/types/common/hooks/useLayout/useLayout.d.ts.map +0 -1
- package/build/types/common/hooks/useMedia.d.ts.map +0 -1
- package/build/types/common/hooks/useResizeObserver.d.ts.map +0 -1
- package/build/types/common/hooks/useScreenSize.d.ts +0 -3
- package/build/types/common/hooks/useScreenSize.d.ts.map +0 -1
- package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
- package/build/types/common/index.d.ts +0 -31
- package/build/types/common/index.d.ts.map +0 -1
- package/build/types/common/initials.d.ts.map +0 -1
- package/build/types/common/liveRegion/LiveRegion.d.ts.map +0 -1
- package/build/types/common/liveRegion/index.d.ts.map +0 -1
- package/build/types/common/locale/index.d.ts.map +0 -1
- package/build/types/common/panel/Panel.d.ts.map +0 -1
- package/build/types/common/panel/index.d.ts.map +0 -1
- package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
- package/build/types/common/preventScroll/PreventScroll.d.ts.map +0 -1
- package/build/types/common/propsValues/control.d.ts.map +0 -1
- package/build/types/common/propsValues/dateMode.d.ts.map +0 -1
- package/build/types/common/propsValues/layouts.d.ts.map +0 -1
- package/build/types/common/propsValues/markdownNodeType.d.ts.map +0 -1
- package/build/types/common/propsValues/monthFormat.d.ts.map +0 -1
- package/build/types/common/propsValues/position.d.ts.map +0 -1
- package/build/types/common/propsValues/profileType.d.ts.map +0 -1
- package/build/types/common/propsValues/scroll.d.ts.map +0 -1
- package/build/types/common/propsValues/sentiment.d.ts.map +0 -1
- package/build/types/common/propsValues/size.d.ts.map +0 -1
- package/build/types/common/propsValues/status.d.ts.map +0 -1
- package/build/types/common/propsValues/type.d.ts.map +0 -1
- package/build/types/common/propsValues/typography.d.ts.map +0 -1
- package/build/types/common/propsValues/variant.d.ts.map +0 -1
- package/build/types/common/propsValues/width.d.ts.map +0 -1
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
- package/build/types/common/responsivePanel/index.d.ts.map +0 -1
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
- package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
- package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
- package/build/types/common/textFormat/index.d.ts.map +0 -1
- package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
- package/build/types/common/theme.d.ts.map +0 -1
- package/build/types/container/Container.d.ts.map +0 -1
- package/build/types/container/index.d.ts.map +0 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
- package/build/types/criticalBanner/index.d.ts.map +0 -1
- package/build/types/dateInput/DateInput.d.ts.map +0 -1
- package/build/types/dateInput/DateInput.messages.d.ts.map +0 -1
- package/build/types/dateInput/index.d.ts.map +0 -1
- package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
- package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
- package/build/types/dateInput/utils/index.d.ts.map +0 -1
- package/build/types/dateLookup/DateLookup.d.ts.map +0 -1
- package/build/types/dateLookup/DateLookup.messages.d.ts.map +0 -1
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
- package/build/types/dateLookup/dateHeader/index.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/index.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
- package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
- package/build/types/dateLookup/getStartOfDay/index.d.ts.map +0 -1
- package/build/types/dateLookup/index.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
- package/build/types/dateLookup/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/dateLookup/tableLink/index.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
- package/build/types/decision/Decision.d.ts.map +0 -1
- package/build/types/decision/index.d.ts.map +0 -1
- package/build/types/definitionList/DefinitionList.d.ts.map +0 -1
- package/build/types/definitionList/index.d.ts.map +0 -1
- package/build/types/dimmer/Dimmer.d.ts.map +0 -1
- package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
- package/build/types/dimmer/dimmerManager/index.d.ts.map +0 -1
- package/build/types/dimmer/index.d.ts.map +0 -1
- package/build/types/display/Display.d.ts.map +0 -1
- package/build/types/display/index.d.ts.map +0 -1
- package/build/types/divider/Divider.d.ts.map +0 -1
- package/build/types/divider/index.d.ts.map +0 -1
- package/build/types/drawer/Drawer.d.ts.map +0 -1
- package/build/types/drawer/index.d.ts.map +0 -1
- package/build/types/dropFade/DropFade.d.ts.map +0 -1
- package/build/types/dropFade/index.d.ts.map +0 -1
- package/build/types/emphasis/Emphasis.d.ts.map +0 -1
- package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
- package/build/types/emphasis/index.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/index.d.ts.map +0 -1
- package/build/types/field/Field.d.ts.map +0 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +0 -1
- package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
- package/build/types/flowNavigation/animatedLabel/index.d.ts.map +0 -1
- package/build/types/header/Header.d.ts.map +0 -1
- package/build/types/header/index.d.ts.map +0 -1
- package/build/types/i18n/commonMessages/Button.messages.d.ts.map +0 -1
- package/build/types/i18n/index.d.ts.map +0 -1
- package/build/types/iconButton/IconButton.d.ts.map +0 -1
- package/build/types/iconButton/index.d.ts.map +0 -1
- package/build/types/image/Image.d.ts.map +0 -1
- package/build/types/image/index.d.ts.map +0 -1
- package/build/types/index.d.ts +0 -214
- package/build/types/index.d.ts.map +0 -1
- package/build/types/info/Info.d.ts.map +0 -1
- package/build/types/info/Info.messages.d.ts.map +0 -1
- package/build/types/info/index.d.ts.map +0 -1
- package/build/types/info/infoPresentations.d.ts.map +0 -1
- package/build/types/inlineAlert/InlineAlert.d.ts.map +0 -1
- package/build/types/inlineAlert/index.d.ts.map +0 -1
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
- package/build/types/inputWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/inputs/Input.d.ts.map +0 -1
- package/build/types/inputs/InputGroup.d.ts.map +0 -1
- package/build/types/inputs/SearchInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Option/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Popover/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/components.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/index.d.ts.map +0 -1
- package/build/types/inputs/TextArea.d.ts.map +0 -1
- package/build/types/inputs/_common.d.ts.map +0 -1
- package/build/types/inputs/contexts.d.ts.map +0 -1
- package/build/types/instructionsList/InstructionsList.d.ts.map +0 -1
- package/build/types/instructionsList/index.d.ts.map +0 -1
- package/build/types/label/Label.d.ts.map +0 -1
- package/build/types/label/Label.messages.d.ts.map +0 -1
- package/build/types/label/index.d.ts.map +0 -1
- package/build/types/legacylistItem/LegacyListItem.d.ts.map +0 -1
- package/build/types/legacylistItem/index.d.ts.map +0 -1
- package/build/types/link/Link.d.ts.map +0 -1
- package/build/types/link/Link.messages.d.ts.map +0 -1
- package/build/types/link/index.d.ts.map +0 -1
- package/build/types/list/List.d.ts.map +0 -1
- package/build/types/list/index.d.ts.map +0 -1
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/listItem/AdditionalInfo/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/index.d.ts.map +0 -1
- package/build/types/listItem/Button/ListItemButton.d.ts.map +0 -1
- package/build/types/listItem/Button/index.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/index.d.ts.map +0 -1
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
- package/build/types/listItem/IconButton/index.d.ts.map +0 -1
- package/build/types/listItem/Image/ListItemImage.d.ts.map +0 -1
- package/build/types/listItem/Image/index.d.ts.map +0 -1
- package/build/types/listItem/ListItem.d.ts.map +0 -1
- package/build/types/listItem/ListItemContext.d.ts.map +0 -1
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
- package/build/types/listItem/Navigation/index.d.ts.map +0 -1
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
- package/build/types/listItem/Prompt/index.d.ts.map +0 -1
- package/build/types/listItem/Radio/ListItemRadio.d.ts.map +0 -1
- package/build/types/listItem/Radio/index.d.ts.map +0 -1
- package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
- package/build/types/listItem/Switch/index.d.ts.map +0 -1
- package/build/types/listItem/_stories/helpers.d.ts.map +0 -1
- package/build/types/listItem/_stories/subcomponents.d.ts.map +0 -1
- package/build/types/listItem/_stories/variants/helpers.d.ts.map +0 -1
- package/build/types/listItem/constants.d.ts.map +0 -1
- package/build/types/listItem/index.d.ts.map +0 -1
- package/build/types/listItem/test-utils.d.ts.map +0 -1
- package/build/types/listItem/useListItemControl.d.ts.map +0 -1
- package/build/types/listItem/useListItemMedia.d.ts.map +0 -1
- package/build/types/loader/Loader.d.ts.map +0 -1
- package/build/types/loader/index.d.ts.map +0 -1
- package/build/types/logo/Logo.d.ts +0 -59
- package/build/types/logo/Logo.d.ts.map +0 -1
- package/build/types/logo/index.d.ts.map +0 -1
- package/build/types/logo/logo-assets.d.ts.map +0 -1
- package/build/types/markdown/Markdown.d.ts.map +0 -1
- package/build/types/markdown/index.d.ts.map +0 -1
- package/build/types/mocks.d.ts.map +0 -1
- package/build/types/modal/Modal.d.ts.map +0 -1
- package/build/types/modal/index.d.ts.map +0 -1
- package/build/types/money/Money.d.ts.map +0 -1
- package/build/types/money/index.d.ts.map +0 -1
- package/build/types/moneyInput/MoneyInput.d.ts.map +0 -1
- package/build/types/moneyInput/MoneyInput.messages.d.ts.map +0 -1
- package/build/types/moneyInput/currencyFormatting.d.ts.map +0 -1
- package/build/types/moneyInput/index.d.ts.map +0 -1
- package/build/types/navigationOption/NavigationOption.d.ts.map +0 -1
- package/build/types/navigationOption/index.d.ts.map +0 -1
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
- package/build/types/navigationOptionsList/index.d.ts.map +0 -1
- package/build/types/nudge/Nudge.d.ts.map +0 -1
- package/build/types/nudge/index.d.ts.map +0 -1
- package/build/types/overlayHeader/OverlayHeader.d.ts.map +0 -1
- package/build/types/overlayHeader/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
- package/build/types/phoneNumberInput/data/countries.d.ts.map +0 -1
- package/build/types/phoneNumberInput/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
- package/build/types/popover/Popover.d.ts.map +0 -1
- package/build/types/popover/index.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/index.d.ts.map +0 -1
- package/build/types/primitives/index.d.ts.map +0 -1
- package/build/types/primitives/types.d.ts.map +0 -1
- package/build/types/processIndicator/ProcessIndicator.d.ts.map +0 -1
- package/build/types/processIndicator/index.d.ts.map +0 -1
- package/build/types/progress/Progress.d.ts.map +0 -1
- package/build/types/progress/index.d.ts.map +0 -1
- package/build/types/progressBar/ProgressBar.d.ts.map +0 -1
- package/build/types/progressBar/index.d.ts.map +0 -1
- package/build/types/promoCard/PromoCard.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardContext.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardGroup.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardIndicator.d.ts.map +0 -1
- package/build/types/promoCard/index.d.ts.map +0 -1
- package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts.map +0 -1
- package/build/types/prompt/ActionPrompt/index.d.ts.map +0 -1
- package/build/types/prompt/CriticalBanner/CriticalBanner.d.ts.map +0 -1
- package/build/types/prompt/CriticalBanner/helpers.d.ts.map +0 -1
- package/build/types/prompt/CriticalBanner/index.d.ts.map +0 -1
- package/build/types/prompt/InfoPrompt/InfoPrompt.d.ts.map +0 -1
- package/build/types/prompt/InfoPrompt/index.d.ts.map +0 -1
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
- package/build/types/prompt/InlinePrompt/index.d.ts.map +0 -1
- package/build/types/prompt/PrimitivePrompt/PrimitivePrompt.d.ts.map +0 -1
- package/build/types/prompt/PrimitivePrompt/index.d.ts.map +0 -1
- package/build/types/prompt/common/Expander/Expander.d.ts.map +0 -1
- package/build/types/prompt/common/Expander/Expander.messages.d.ts.map +0 -1
- package/build/types/prompt/helpers/promptMedia.d.ts.map +0 -1
- package/build/types/prompt/index.d.ts.map +0 -1
- package/build/types/provider/Provider.d.ts.map +0 -1
- package/build/types/provider/direction/DirectionProvider.d.ts.map +0 -1
- package/build/types/provider/direction/index.d.ts.map +0 -1
- package/build/types/provider/index.d.ts.map +0 -1
- package/build/types/provider/language/LanguageProvider.d.ts.map +0 -1
- package/build/types/provider/language/index.d.ts.map +0 -1
- package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
- package/build/types/radio/Radio.d.ts.map +0 -1
- package/build/types/radio/index.d.ts.map +0 -1
- package/build/types/radioGroup/RadioGroup.d.ts.map +0 -1
- package/build/types/radioGroup/index.d.ts.map +0 -1
- package/build/types/radioOption/RadioOption.d.ts.map +0 -1
- package/build/types/radioOption/index.d.ts.map +0 -1
- package/build/types/section/Section.d.ts.map +0 -1
- package/build/types/section/index.d.ts.map +0 -1
- package/build/types/segmentedControl/SegmentedControl.d.ts.map +0 -1
- package/build/types/segmentedControl/index.d.ts.map +0 -1
- package/build/types/select/Select.d.ts.map +0 -1
- package/build/types/select/Select.messages.d.ts.map +0 -1
- package/build/types/select/index.d.ts.map +0 -1
- package/build/types/select/option/Option.d.ts.map +0 -1
- package/build/types/select/option/index.d.ts.map +0 -1
- package/build/types/select/searchBox/SearchBox.d.ts.map +0 -1
- package/build/types/select/searchBox/index.d.ts.map +0 -1
- package/build/types/sentimentSurface/SentimentSurface.d.ts.map +0 -1
- package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
- package/build/types/sentimentSurface/index.d.ts.map +0 -1
- package/build/types/slidingPanel/SlidingPanel.d.ts.map +0 -1
- package/build/types/slidingPanel/index.d.ts.map +0 -1
- package/build/types/snackbar/Snackbar.d.ts.map +0 -1
- package/build/types/snackbar/SnackbarContext.d.ts.map +0 -1
- package/build/types/snackbar/SnackbarProvider.d.ts.map +0 -1
- package/build/types/snackbar/index.d.ts.map +0 -1
- package/build/types/snackbar/useSnackbar.d.ts.map +0 -1
- package/build/types/statusIcon/StatusIcon.d.ts.map +0 -1
- package/build/types/statusIcon/StatusIcon.messages.d.ts.map +0 -1
- package/build/types/statusIcon/index.d.ts.map +0 -1
- package/build/types/stepper/Stepper.d.ts.map +0 -1
- package/build/types/stepper/deviceDetection.d.ts.map +0 -1
- package/build/types/sticky/Sticky.d.ts.map +0 -1
- package/build/types/sticky/index.d.ts.map +0 -1
- package/build/types/summary/Summary.d.ts.map +0 -1
- package/build/types/summary/Summary.messages.d.ts.map +0 -1
- package/build/types/summary/index.d.ts.map +0 -1
- package/build/types/switch/Switch.d.ts.map +0 -1
- package/build/types/switch/index.d.ts.map +0 -1
- package/build/types/switchOption/SwitchOption.d.ts.map +0 -1
- package/build/types/switchOption/index.d.ts.map +0 -1
- package/build/types/table/Table.d.ts.map +0 -1
- package/build/types/table/Table.messages.d.ts.map +0 -1
- package/build/types/table/TableCell.d.ts.map +0 -1
- package/build/types/table/TableHeader.d.ts.map +0 -1
- package/build/types/table/TableRow.d.ts.map +0 -1
- package/build/types/table/TableStatusText.d.ts.map +0 -1
- package/build/types/table/index.d.ts.map +0 -1
- package/build/types/tabs/Tab.d.ts.map +0 -1
- package/build/types/tabs/TabList.d.ts.map +0 -1
- package/build/types/tabs/TabPanel.d.ts.map +0 -1
- package/build/types/tabs/Tabs.d.ts.map +0 -1
- package/build/types/tabs/index.d.ts.map +0 -1
- package/build/types/tabs/utils.d.ts.map +0 -1
- package/build/types/test-utils/fake-data.d.ts.map +0 -1
- package/build/types/test-utils/index.d.ts.map +0 -1
- package/build/types/test-utils/jest.setup.d.ts.map +0 -1
- package/build/types/test-utils/style-mock.d.ts.map +0 -1
- package/build/types/test-utils/wait.d.ts.map +0 -1
- package/build/types/test-utils/window-mock.d.ts.map +0 -1
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
- package/build/types/textareaWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/tile/Tile.d.ts.map +0 -1
- package/build/types/tile/index.d.ts.map +0 -1
- package/build/types/title/Title.d.ts.map +0 -1
- package/build/types/title/index.d.ts.map +0 -1
- package/build/types/tooltip/Tooltip.d.ts.map +0 -1
- package/build/types/tooltip/index.d.ts.map +0 -1
- package/build/types/typeahead/Typeahead.d.ts.map +0 -1
- package/build/types/typeahead/Typeahead.messages.d.ts.map +0 -1
- package/build/types/typeahead/index.d.ts.map +0 -1
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
- package/build/types/typeahead/util/highlight.d.ts.map +0 -1
- package/build/types/upload/Upload.d.ts.map +0 -1
- package/build/types/upload/Upload.messages.d.ts.map +0 -1
- package/build/types/upload/index.d.ts.map +0 -1
- package/build/types/upload/steps/completeStep/completeStep.d.ts.map +0 -1
- package/build/types/upload/steps/completeStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/index.d.ts.map +0 -1
- package/build/types/upload/steps/processingStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/processingStep/processingStep.d.ts.map +0 -1
- package/build/types/upload/steps/uploadImageStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
- package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
- package/build/types/upload/utils/asyncFileRead/index.d.ts.map +0 -1
- package/build/types/upload/utils/getFileType/getFileType.d.ts.map +0 -1
- package/build/types/upload/utils/getFileType/index.d.ts.map +0 -1
- package/build/types/upload/utils/index.d.ts.map +0 -1
- package/build/types/upload/utils/isSizeValid/index.d.ts.map +0 -1
- package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
- package/build/types/upload/utils/isTypeValid/index.d.ts.map +0 -1
- package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
- package/build/types/upload/utils/postData/index.d.ts.map +0 -1
- package/build/types/upload/utils/postData/postData.d.ts.map +0 -1
- package/build/types/uploadInput/UploadInput.d.ts.map +0 -1
- package/build/types/uploadInput/UploadInput.messages.d.ts.map +0 -1
- package/build/types/uploadInput/index.d.ts.map +0 -1
- package/build/types/uploadInput/types.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/defaults.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
- package/build/types/utilities/cssValueWithUnit.d.ts.map +0 -1
- package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
- package/build/types/utilities/deprecatedProperty/index.d.ts.map +0 -1
- package/build/types/utilities/index.d.ts.map +0 -1
- package/build/types/utilities/logActionRequired.d.ts.map +0 -1
- package/build/types/utils.d.ts.map +0 -1
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
- package/build/types/withDisplayFormat/index.d.ts.map +0 -1
- package/build/types/withId/index.d.ts.map +0 -1
- package/build/types/withId/story/source.d.ts.map +0 -1
- package/build/types/withId/withId.d.ts.map +0 -1
- package/build/types/withNextPortal/withNextPortal.d.ts.map +0 -1
- /package/build/types/{accordion → src/accordion}/Accordion.d.ts +0 -0
- /package/build/types/{accordion → src/accordion}/AccordionItem/AccordionItem.d.ts +0 -0
- /package/build/types/{accordion → src/accordion}/AccordionItem/index.d.ts +0 -0
- /package/build/types/{accordion → src/accordion}/index.d.ts +0 -0
- /package/build/types/{actionButton → src/actionButton}/ActionButton.d.ts +0 -0
- /package/build/types/{actionButton → src/actionButton}/index.d.ts +0 -0
- /package/build/types/{actionOption → src/actionOption}/ActionOption.d.ts +0 -0
- /package/build/types/{actionOption → src/actionOption}/index.d.ts +0 -0
- /package/build/types/{alert → src/alert}/Alert.d.ts +0 -0
- /package/build/types/{alert → src/alert}/index.d.ts +0 -0
- /package/build/types/{alert → src/alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
- /package/build/types/{alert → src/alert}/inlineMarkdown/index.d.ts +0 -0
- /package/build/types/{avatar → src/avatar}/Avatar.d.ts +0 -0
- /package/build/types/{avatar → src/avatar}/avatarTypes.d.ts +0 -0
- /package/build/types/{avatar → src/avatar}/index.d.ts +0 -0
- /package/build/types/{avatarLayout → src/avatarLayout}/AvatarLayout.d.ts +0 -0
- /package/build/types/{avatarLayout → src/avatarLayout}/index.d.ts +0 -0
- /package/build/types/{avatarView → src/avatarView}/AvatarView.d.ts +0 -0
- /package/build/types/{avatarView → src/avatarView}/Dot.d.ts +0 -0
- /package/build/types/{avatarView → src/avatarView}/index.d.ts +0 -0
- /package/build/types/{avatarWrapper → src/avatarWrapper}/AvatarWrapper.d.ts +0 -0
- /package/build/types/{avatarWrapper → src/avatarWrapper}/index.d.ts +0 -0
- /package/build/types/{badge → src/badge}/Badge.d.ts +0 -0
- /package/build/types/{badge → src/badge}/BadgeAssets.d.ts +0 -0
- /package/build/types/{badge → src/badge}/index.d.ts +0 -0
- /package/build/types/{body → src/body}/Body.d.ts +0 -0
- /package/build/types/{body → src/body}/index.d.ts +0 -0
- /package/build/types/{button → src/button}/Button.d.ts +0 -0
- /package/build/types/{button → src/button}/Button.resolver.d.ts +0 -0
- /package/build/types/{button → src/button}/Button.types.d.ts +0 -0
- /package/build/types/{button → src/button}/LegacyButton.d.ts +0 -0
- /package/build/types/{button → src/button}/_stories/helpers.d.ts +0 -0
- /package/build/types/{button → src/button}/classMap.d.ts +0 -0
- /package/build/types/{button → src/button}/index.d.ts +0 -0
- /package/build/types/{button → src/button}/legacyUtils/index.d.ts +0 -0
- /package/build/types/{button → src/button}/legacyUtils/legacyUtils.d.ts +0 -0
- /package/build/types/{card → src/card}/Card.d.ts +0 -0
- /package/build/types/{card → src/card}/index.d.ts +0 -0
- /package/build/types/{carousel → src/carousel}/Carousel.d.ts +0 -0
- /package/build/types/{carousel → src/carousel}/index.d.ts +0 -0
- /package/build/types/{checkbox → src/checkbox}/Checkbox.d.ts +0 -0
- /package/build/types/{checkbox → src/checkbox}/index.d.ts +0 -0
- /package/build/types/{checkboxButton → src/checkboxButton}/CheckboxButton.d.ts +0 -0
- /package/build/types/{checkboxButton → src/checkboxButton}/index.d.ts +0 -0
- /package/build/types/{checkboxOption → src/checkboxOption}/CheckboxOption.d.ts +0 -0
- /package/build/types/{checkboxOption → src/checkboxOption}/index.d.ts +0 -0
- /package/build/types/{chevron → src/chevron}/Chevron.d.ts +0 -0
- /package/build/types/{chevron → src/chevron}/index.d.ts +0 -0
- /package/build/types/{chips → src/chips}/Chip.d.ts +0 -0
- /package/build/types/{chips → src/chips}/Chips.d.ts +0 -0
- /package/build/types/{chips → src/chips}/Chips.messages.d.ts +0 -0
- /package/build/types/{chips → src/chips}/index.d.ts +0 -0
- /package/build/types/{circularButton → src/circularButton}/CircularButton.d.ts +0 -0
- /package/build/types/{circularButton → src/circularButton}/index.d.ts +0 -0
- /package/build/types/{common → src/common}/DOMOperations/DOMOperations.d.ts +0 -0
- /package/build/types/{common → src/common}/DOMOperations/index.d.ts +0 -0
- /package/build/types/{common → src/common}/Option/Option.d.ts +0 -0
- /package/build/types/{common → src/common}/Option/index.d.ts +0 -0
- /package/build/types/{common → src/common}/RadioButton/RadioButton.d.ts +0 -0
- /package/build/types/{common → src/common}/RadioButton/index.d.ts +0 -0
- /package/build/types/{common → src/common}/baseCard/BaseCard.d.ts +0 -0
- /package/build/types/{common → src/common}/baseCard/index.d.ts +0 -0
- /package/build/types/{common → src/common}/bottomSheet/BottomSheet.d.ts +0 -0
- /package/build/types/{common → src/common}/bottomSheet/index.d.ts +0 -0
- /package/build/types/{common → src/common}/circle/Circle.d.ts +0 -0
- /package/build/types/{common → src/common}/circle/index.d.ts +0 -0
- /package/build/types/{common → src/common}/closeButton/CloseButton.d.ts +0 -0
- /package/build/types/{common → src/common}/closeButton/CloseButton.messages.d.ts +0 -0
- /package/build/types/{common → src/common}/closeButton/index.d.ts +0 -0
- /package/build/types/{common → src/common}/colors.d.ts +0 -0
- /package/build/types/{common → src/common}/commonProps.d.ts +0 -0
- /package/build/types/{common → src/common}/constants.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/getDateView/getDateView.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/index.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
- /package/build/types/{common → src/common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
- /package/build/types/{common → src/common}/deviceDetection/deviceDetection.d.ts +0 -0
- /package/build/types/{common → src/common}/deviceDetection/index.d.ts +0 -0
- /package/build/types/{common → src/common}/direction.d.ts +0 -0
- /package/build/types/{common → src/common}/domHelpers/documentIosClick.d.ts +0 -0
- /package/build/types/{common → src/common}/domHelpers/index.d.ts +0 -0
- /package/build/types/{common → src/common}/fakeEvents.d.ts +0 -0
- /package/build/types/{common → src/common}/fileType.d.ts +0 -0
- /package/build/types/{common → src/common}/flowHeader/FlowHeader.d.ts +0 -0
- /package/build/types/{common → src/common}/flowHeader/index.d.ts +0 -0
- /package/build/types/{common → src/common}/focusBoundary/FocusBoundary.d.ts +0 -0
- /package/build/types/{common → src/common}/focusBoundary/index.d.ts +0 -0
- /package/build/types/{common → src/common}/historyNavigator/historyNavigator.d.ts +0 -0
- /package/build/types/{common → src/common}/historyNavigator/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useConditionalListener/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useContainerSize.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useDirection/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useDirection/useDirection.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useEffectEvent.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useHasIntersected/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useLayout/index.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useLayout/useLayout.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useMedia.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useResizeObserver.d.ts +0 -0
- /package/build/types/{common → src/common}/hooks/useVirtualKeyboard.d.ts +0 -0
- /package/build/types/{common → src/common}/initials.d.ts +0 -0
- /package/build/types/{common → src/common}/liveRegion/LiveRegion.d.ts +0 -0
- /package/build/types/{common → src/common}/liveRegion/index.d.ts +0 -0
- /package/build/types/{common → src/common}/locale/index.d.ts +0 -0
- /package/build/types/{common → src/common}/panel/Panel.d.ts +0 -0
- /package/build/types/{common → src/common}/panel/index.d.ts +0 -0
- /package/build/types/{common → src/common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
- /package/build/types/{common → src/common}/preventScroll/PreventScroll.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/control.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/dateMode.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/layouts.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/markdownNodeType.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/monthFormat.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/position.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/profileType.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/scroll.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/sentiment.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/size.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/status.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/type.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/typography.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/variant.d.ts +0 -0
- /package/build/types/{common → src/common}/propsValues/width.d.ts +0 -0
- /package/build/types/{common → src/common}/responsivePanel/ResponsivePanel.d.ts +0 -0
- /package/build/types/{common → src/common}/responsivePanel/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/formatWithPattern/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/unformatWithPattern/index.d.ts +0 -0
- /package/build/types/{common → src/common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
- /package/build/types/{common → src/common}/theme.d.ts +0 -0
- /package/build/types/{container → src/container}/Container.d.ts +0 -0
- /package/build/types/{container → src/container}/index.d.ts +0 -0
- /package/build/types/{criticalBanner → src/criticalBanner}/CriticalCommsBanner.d.ts +0 -0
- /package/build/types/{criticalBanner → src/criticalBanner}/index.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/DateInput.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/DateInput.messages.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/index.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
- /package/build/types/{dateInput → src/dateInput}/utils/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/DateLookup.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/DateLookup.messages.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateHeader/DateHeader.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateHeader/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dateTrigger/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/table/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/getStartOfDay/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/table/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/tableLink/TableLink.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/tableLink/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/table/index.d.ts +0 -0
- /package/build/types/{decision → src/decision}/Decision.d.ts +0 -0
- /package/build/types/{decision → src/decision}/index.d.ts +0 -0
- /package/build/types/{definitionList → src/definitionList}/DefinitionList.d.ts +0 -0
- /package/build/types/{definitionList → src/definitionList}/index.d.ts +0 -0
- /package/build/types/{dimmer → src/dimmer}/Dimmer.d.ts +0 -0
- /package/build/types/{dimmer → src/dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
- /package/build/types/{dimmer → src/dimmer}/dimmerManager/index.d.ts +0 -0
- /package/build/types/{dimmer → src/dimmer}/index.d.ts +0 -0
- /package/build/types/{display → src/display}/Display.d.ts +0 -0
- /package/build/types/{display → src/display}/index.d.ts +0 -0
- /package/build/types/{divider → src/divider}/Divider.d.ts +0 -0
- /package/build/types/{divider → src/divider}/index.d.ts +0 -0
- /package/build/types/{drawer → src/drawer}/Drawer.d.ts +0 -0
- /package/build/types/{drawer → src/drawer}/index.d.ts +0 -0
- /package/build/types/{dropFade → src/dropFade}/DropFade.d.ts +0 -0
- /package/build/types/{dropFade → src/dropFade}/index.d.ts +0 -0
- /package/build/types/{emphasis → src/emphasis}/Emphasis.d.ts +0 -0
- /package/build/types/{emphasis → src/emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
- /package/build/types/{emphasis → src/emphasis}/index.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/index.d.ts +0 -0
- /package/build/types/{field → src/field}/Field.d.ts +0 -0
- /package/build/types/{flowNavigation → src/flowNavigation}/FlowNavigation.d.ts +0 -0
- /package/build/types/{flowNavigation → src/flowNavigation}/FlowNavigation.messages.d.ts +0 -0
- /package/build/types/{flowNavigation → src/flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
- /package/build/types/{flowNavigation → src/flowNavigation}/animatedLabel/index.d.ts +0 -0
- /package/build/types/{header → src/header}/Header.d.ts +0 -0
- /package/build/types/{header → src/header}/index.d.ts +0 -0
- /package/build/types/{i18n → src/i18n}/commonMessages/Button.messages.d.ts +0 -0
- /package/build/types/{i18n → src/i18n}/index.d.ts +0 -0
- /package/build/types/{iconButton → src/iconButton}/IconButton.d.ts +0 -0
- /package/build/types/{iconButton → src/iconButton}/index.d.ts +0 -0
- /package/build/types/{image → src/image}/Image.d.ts +0 -0
- /package/build/types/{image → src/image}/index.d.ts +0 -0
- /package/build/types/{info → src/info}/Info.d.ts +0 -0
- /package/build/types/{info → src/info}/Info.messages.d.ts +0 -0
- /package/build/types/{info → src/info}/index.d.ts +0 -0
- /package/build/types/{info → src/info}/infoPresentations.d.ts +0 -0
- /package/build/types/{inlineAlert → src/inlineAlert}/InlineAlert.d.ts +0 -0
- /package/build/types/{inlineAlert → src/inlineAlert}/index.d.ts +0 -0
- /package/build/types/{inputWithDisplayFormat → src/inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
- /package/build/types/{inputWithDisplayFormat → src/inputWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/Input.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/InputGroup.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SearchInput.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/BottomSheet/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ButtonInput/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ClearButton/SelectInputClearButton.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ClearButton/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/DefaultRenderTrigger/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/GroupItemView/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/SelectInputItemView.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Option/SelectInputOption.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Option/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/OptionContent/SelectInputOptionContent.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/OptionContent/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Options/OptionsContainer/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Options/SelectInputOptions.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Options/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Popover/SelectInputPopover.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/Popover/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.contexts.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.messages.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.types.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.utils.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/TriggerButton/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/components.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/SelectInput/index.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/TextArea.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/_common.d.ts +0 -0
- /package/build/types/{inputs → src/inputs}/contexts.d.ts +0 -0
- /package/build/types/{instructionsList → src/instructionsList}/InstructionsList.d.ts +0 -0
- /package/build/types/{instructionsList → src/instructionsList}/index.d.ts +0 -0
- /package/build/types/{label → src/label}/Label.d.ts +0 -0
- /package/build/types/{label → src/label}/Label.messages.d.ts +0 -0
- /package/build/types/{label → src/label}/index.d.ts +0 -0
- /package/build/types/{legacylistItem → src/legacylistItem}/LegacyListItem.d.ts +0 -0
- /package/build/types/{legacylistItem → src/legacylistItem}/index.d.ts +0 -0
- /package/build/types/{link → src/link}/Link.d.ts +0 -0
- /package/build/types/{link → src/link}/Link.messages.d.ts +0 -0
- /package/build/types/{link → src/link}/index.d.ts +0 -0
- /package/build/types/{list → src/list}/List.d.ts +0 -0
- /package/build/types/{list → src/list}/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AdditionalInfo/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AvatarLayout/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/AvatarView/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Button/ListItemButton.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Button/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Checkbox/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/IconButton/ListItemIconButton.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/IconButton/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Image/ListItemImage.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Image/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/ListItem.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/ListItemContext.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Navigation/ListItemNavigation.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Navigation/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Prompt/ListItemPrompt.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Prompt/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Radio/ListItemRadio.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Radio/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Switch/ListItemSwitch.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/Switch/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/_stories/helpers.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/_stories/subcomponents.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/_stories/variants/helpers.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/constants.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/index.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/test-utils.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/useListItemControl.d.ts +0 -0
- /package/build/types/{listItem → src/listItem}/useListItemMedia.d.ts +0 -0
- /package/build/types/{loader → src/loader}/Loader.d.ts +0 -0
- /package/build/types/{loader → src/loader}/index.d.ts +0 -0
- /package/build/types/{logo → src/logo}/index.d.ts +0 -0
- /package/build/types/{logo → src/logo}/logo-assets.d.ts +0 -0
- /package/build/types/{markdown → src/markdown}/Markdown.d.ts +0 -0
- /package/build/types/{markdown → src/markdown}/index.d.ts +0 -0
- /package/build/types/{mocks.d.ts → src/mocks.d.ts} +0 -0
- /package/build/types/{modal → src/modal}/Modal.d.ts +0 -0
- /package/build/types/{modal → src/modal}/index.d.ts +0 -0
- /package/build/types/{money → src/money}/Money.d.ts +0 -0
- /package/build/types/{money → src/money}/index.d.ts +0 -0
- /package/build/types/{moneyInput → src/moneyInput}/MoneyInput.d.ts +0 -0
- /package/build/types/{moneyInput → src/moneyInput}/MoneyInput.messages.d.ts +0 -0
- /package/build/types/{moneyInput → src/moneyInput}/currencyFormatting.d.ts +0 -0
- /package/build/types/{moneyInput → src/moneyInput}/index.d.ts +0 -0
- /package/build/types/{navigationOption → src/navigationOption}/NavigationOption.d.ts +0 -0
- /package/build/types/{navigationOption → src/navigationOption}/index.d.ts +0 -0
- /package/build/types/{navigationOptionsList → src/navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
- /package/build/types/{navigationOptionsList → src/navigationOptionsList}/index.d.ts +0 -0
- /package/build/types/{nudge → src/nudge}/Nudge.d.ts +0 -0
- /package/build/types/{nudge → src/nudge}/index.d.ts +0 -0
- /package/build/types/{overlayHeader → src/overlayHeader}/OverlayHeader.d.ts +0 -0
- /package/build/types/{overlayHeader → src/overlayHeader}/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/data/countries.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
- /package/build/types/{popover → src/popover}/Popover.d.ts +0 -0
- /package/build/types/{popover → src/popover}/index.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveAnchor/index.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/PrimitiveButton/index.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/index.d.ts +0 -0
- /package/build/types/{primitives → src/primitives}/types.d.ts +0 -0
- /package/build/types/{processIndicator → src/processIndicator}/ProcessIndicator.d.ts +0 -0
- /package/build/types/{processIndicator → src/processIndicator}/index.d.ts +0 -0
- /package/build/types/{progress → src/progress}/Progress.d.ts +0 -0
- /package/build/types/{progress → src/progress}/index.d.ts +0 -0
- /package/build/types/{progressBar → src/progressBar}/ProgressBar.d.ts +0 -0
- /package/build/types/{progressBar → src/progressBar}/index.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/PromoCard.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/PromoCardContext.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/PromoCardGroup.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/PromoCardIndicator.d.ts +0 -0
- /package/build/types/{promoCard → src/promoCard}/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/ActionPrompt/ActionPrompt.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/ActionPrompt/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/CriticalBanner/CriticalBanner.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/CriticalBanner/helpers.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/CriticalBanner/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/InfoPrompt/InfoPrompt.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/InfoPrompt/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/InlinePrompt/InlinePrompt.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/InlinePrompt/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/PrimitivePrompt/PrimitivePrompt.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/PrimitivePrompt/index.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/common/Expander/Expander.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/common/Expander/Expander.messages.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/helpers/promptMedia.d.ts +0 -0
- /package/build/types/{prompt → src/prompt}/index.d.ts +0 -0
- /package/build/types/{provider → src/provider}/Provider.d.ts +0 -0
- /package/build/types/{provider → src/provider}/direction/DirectionProvider.d.ts +0 -0
- /package/build/types/{provider → src/provider}/direction/index.d.ts +0 -0
- /package/build/types/{provider → src/provider}/index.d.ts +0 -0
- /package/build/types/{provider → src/provider}/language/LanguageProvider.d.ts +0 -0
- /package/build/types/{provider → src/provider}/language/index.d.ts +0 -0
- /package/build/types/{provider → src/provider}/overlay/OverlayIdProvider.d.ts +0 -0
- /package/build/types/{radio → src/radio}/Radio.d.ts +0 -0
- /package/build/types/{radio → src/radio}/index.d.ts +0 -0
- /package/build/types/{radioGroup → src/radioGroup}/RadioGroup.d.ts +0 -0
- /package/build/types/{radioGroup → src/radioGroup}/index.d.ts +0 -0
- /package/build/types/{radioOption → src/radioOption}/RadioOption.d.ts +0 -0
- /package/build/types/{radioOption → src/radioOption}/index.d.ts +0 -0
- /package/build/types/{section → src/section}/Section.d.ts +0 -0
- /package/build/types/{section → src/section}/index.d.ts +0 -0
- /package/build/types/{segmentedControl → src/segmentedControl}/SegmentedControl.d.ts +0 -0
- /package/build/types/{segmentedControl → src/segmentedControl}/index.d.ts +0 -0
- /package/build/types/{select → src/select}/Select.d.ts +0 -0
- /package/build/types/{select → src/select}/Select.messages.d.ts +0 -0
- /package/build/types/{select → src/select}/index.d.ts +0 -0
- /package/build/types/{select → src/select}/option/Option.d.ts +0 -0
- /package/build/types/{select → src/select}/option/index.d.ts +0 -0
- /package/build/types/{select → src/select}/searchBox/SearchBox.d.ts +0 -0
- /package/build/types/{select → src/select}/searchBox/index.d.ts +0 -0
- /package/build/types/{sentimentSurface → src/sentimentSurface}/SentimentSurface.d.ts +0 -0
- /package/build/types/{sentimentSurface → src/sentimentSurface}/SentimentSurface.types.d.ts +0 -0
- /package/build/types/{sentimentSurface → src/sentimentSurface}/index.d.ts +0 -0
- /package/build/types/{slidingPanel → src/slidingPanel}/SlidingPanel.d.ts +0 -0
- /package/build/types/{slidingPanel → src/slidingPanel}/index.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/Snackbar.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/SnackbarContext.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/SnackbarProvider.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/index.d.ts +0 -0
- /package/build/types/{snackbar → src/snackbar}/useSnackbar.d.ts +0 -0
- /package/build/types/{statusIcon → src/statusIcon}/StatusIcon.d.ts +0 -0
- /package/build/types/{statusIcon → src/statusIcon}/StatusIcon.messages.d.ts +0 -0
- /package/build/types/{statusIcon → src/statusIcon}/index.d.ts +0 -0
- /package/build/types/{stepper → src/stepper}/Stepper.d.ts +0 -0
- /package/build/types/{stepper → src/stepper}/deviceDetection.d.ts +0 -0
- /package/build/types/{sticky → src/sticky}/Sticky.d.ts +0 -0
- /package/build/types/{sticky → src/sticky}/index.d.ts +0 -0
- /package/build/types/{summary → src/summary}/Summary.d.ts +0 -0
- /package/build/types/{summary → src/summary}/Summary.messages.d.ts +0 -0
- /package/build/types/{summary → src/summary}/index.d.ts +0 -0
- /package/build/types/{switch → src/switch}/Switch.d.ts +0 -0
- /package/build/types/{switch → src/switch}/index.d.ts +0 -0
- /package/build/types/{switchOption → src/switchOption}/SwitchOption.d.ts +0 -0
- /package/build/types/{switchOption → src/switchOption}/index.d.ts +0 -0
- /package/build/types/{table → src/table}/Table.d.ts +0 -0
- /package/build/types/{table → src/table}/Table.messages.d.ts +0 -0
- /package/build/types/{table → src/table}/TableCell.d.ts +0 -0
- /package/build/types/{table → src/table}/TableHeader.d.ts +0 -0
- /package/build/types/{table → src/table}/TableRow.d.ts +0 -0
- /package/build/types/{table → src/table}/TableStatusText.d.ts +0 -0
- /package/build/types/{table → src/table}/index.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/Tab.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/TabList.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/TabPanel.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/Tabs.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/index.d.ts +0 -0
- /package/build/types/{tabs → src/tabs}/utils.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/fake-data.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/index.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/jest.setup.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/style-mock.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/wait.d.ts +0 -0
- /package/build/types/{test-utils → src/test-utils}/window-mock.d.ts +0 -0
- /package/build/types/{textareaWithDisplayFormat → src/textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
- /package/build/types/{textareaWithDisplayFormat → src/textareaWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{tile → src/tile}/Tile.d.ts +0 -0
- /package/build/types/{tile → src/tile}/index.d.ts +0 -0
- /package/build/types/{title → src/title}/Title.d.ts +0 -0
- /package/build/types/{title → src/title}/index.d.ts +0 -0
- /package/build/types/{tooltip → src/tooltip}/Tooltip.d.ts +0 -0
- /package/build/types/{tooltip → src/tooltip}/index.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/Typeahead.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/Typeahead.messages.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/index.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
- /package/build/types/{typeahead → src/typeahead}/util/highlight.d.ts +0 -0
- /package/build/types/{upload → src/upload}/Upload.d.ts +0 -0
- /package/build/types/{upload → src/upload}/Upload.messages.d.ts +0 -0
- /package/build/types/{upload → src/upload}/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/completeStep/completeStep.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/completeStep/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/processingStep/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/processingStep/processingStep.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/uploadImageStep/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/asyncFileRead/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/getFileType/getFileType.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/getFileType/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/isSizeValid/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/isTypeValid/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/postData/index.d.ts +0 -0
- /package/build/types/{upload → src/upload}/utils/postData/postData.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/UploadInput.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/UploadInput.messages.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/index.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/types.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadButton/UploadButton.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadButton/defaults.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadItem/UploadItem.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
- /package/build/types/{uploadInput → src/uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/cssValueWithUnit.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/deprecatedProperty/index.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/index.d.ts +0 -0
- /package/build/types/{utilities → src/utilities}/logActionRequired.d.ts +0 -0
- /package/build/types/{utils.d.ts → src/utils.d.ts} +0 -0
- /package/build/types/{withDisplayFormat → src/withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
- /package/build/types/{withDisplayFormat → src/withDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{withId → src/withId}/index.d.ts +0 -0
- /package/build/types/{withId → src/withId}/story/source.d.ts +0 -0
- /package/build/types/{withId → src/withId}/withId.d.ts +0 -0
- /package/build/types/{withNextPortal → src/withNextPortal}/withNextPortal.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadButton.mjs","sources":["../../../src/uploadInput/uploadButton/UploadButton.tsx"],"sourcesContent":["import { PlusCircle as PlusIcon, Upload as UploadIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport {\n ChangeEvent,\n DragEvent,\n useRef,\n useState,\n forwardRef,\n useImperativeHandle,\n ForwardedRef,\n} from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../../body';\nimport { FileType, Typography } from '../../common';\n\nimport MESSAGES from './UploadButton.messages';\nimport { DEFAULT_SIZE_LIMIT, imageFileTypes } from './defaults';\nimport getAllowedFileTypes from './getAllowedFileTypes';\n\ntype AllowedFileTypes = string | readonly string[] | readonly FileType[];\nexport type UploadButtonProps = {\n /**\n * Disable the upload button if your app is not yet ready to accept uploads\n */\n disabled?: boolean;\n\n /**\n * Should be true, if the UploadInput has at least 1\n * file (valid or invalid) listed.\n */\n withEntries?: boolean;\n\n /**\n * Allow multiple file uploads\n */\n multiple?: boolean;\n\n /**\n * List of allowed filetypes, eg. '*' | '.zip,application/zip' | ['.jpg,.jpeg,image/jpeg', '.png,image/png'] (default: image files + PDF)\n */\n fileTypes?: AllowedFileTypes;\n\n /**\n * Size limit in KBs (1000 KB = 1 MB).\n * If set to `null`, no size limit will be applied.\n * @default 5000\n */\n sizeLimit?: number | null;\n\n /**\n * Description for the upload button\n */\n description?: string | undefined;\n\n /**\n * Maximum number of files allowed, if provided, shows error below file item\n */\n maxFiles?: number;\n\n /**\n * Called when some files were successfully selected\n *\n * @param files\n */\n onChange: (files: FileList) => void;\n\n /**\n * Id for the upload input\n */\n id?: string;\n\n /**\n * Title for the upload button\n */\n uploadButtonTitle?: string;\n};\n\nexport enum TEST_IDS {\n uploadInput = 'uploadInput',\n mediaBody = 'mediaBody',\n}\n\nconst onDragOver = (event: DragEvent): void => {\n event.preventDefault();\n};\n\nconst DEFAULT_FILE_INPUT_ID = 'np-upload-button';\nconst UploadButton = forwardRef<HTMLInputElement | null, UploadButtonProps>(\n (\n {\n disabled,\n withEntries,\n multiple,\n description,\n fileTypes = imageFileTypes,\n sizeLimit = DEFAULT_SIZE_LIMIT,\n maxFiles,\n onChange,\n id = DEFAULT_FILE_INPUT_ID,\n uploadButtonTitle,\n },\n ref: ForwardedRef<HTMLInputElement | null>,\n ) => {\n const { formatMessage } = useIntl();\n const inputRef = useRef<HTMLInputElement | null>(null);\n\n useImperativeHandle(ref, () => {\n if (!inputRef.current) {\n throw new Error('inputRef.current is null');\n }\n return inputRef.current;\n }, []);\n\n const [isDropping, setIsDropping] = useState(false);\n\n const dragCounter = useRef(0);\n\n const reset = (): void => {\n dragCounter.current = 0;\n setIsDropping(false);\n };\n\n const onDragLeave = (event: DragEvent): void => {\n event.preventDefault();\n dragCounter.current -= 1;\n if (dragCounter.current === 0) {\n setIsDropping(false);\n }\n };\n\n const onDragEnter = (event: DragEvent): void => {\n event.preventDefault();\n dragCounter.current += 1;\n if (dragCounter.current === 1) {\n setIsDropping(true);\n }\n };\n\n const onDrop = (event: DragEvent): void => {\n event.preventDefault();\n reset();\n if (event.dataTransfer && event.dataTransfer.files && event.dataTransfer.files[0]) {\n onChange(event.dataTransfer.files);\n }\n };\n\n const filesSelected = (event: ChangeEvent<HTMLInputElement>): void => {\n const { files } = event.target;\n\n if (files) {\n onChange(files);\n\n if (inputRef.current) {\n inputRef.current.value = '';\n }\n }\n };\n\n const getFileTypesDescription = (): string => {\n if (fileTypes === '*') {\n return fileTypes;\n }\n\n return getAllowedFileTypes(Array.isArray(fileTypes) ? fileTypes : [fileTypes]).join(', ');\n };\n\n function getDescription() {\n if (description) {\n return description;\n }\n\n const fileTypesDescription = getFileTypesDescription();\n\n const derivedFileDescription =\n fileTypesDescription === '*' ? formatMessage(MESSAGES.allFileTypes) : fileTypesDescription;\n\n if (typeof sizeLimit === 'number') {\n return formatMessage(MESSAGES.instructions, {\n fileTypes: derivedFileDescription,\n size: Math.round(sizeLimit / 1000),\n });\n }\n\n return derivedFileDescription;\n }\n\n function getAcceptedTypes(): Pick<React.ComponentPropsWithoutRef<'input'>, 'accept'> {\n const areAllFilesAllowed = getFileTypesDescription() === '*';\n\n if (areAllFilesAllowed) {\n return {}; // file input by default allows all files\n }\n\n if (Array.isArray(fileTypes)) {\n return { accept: fileTypes.join(',') };\n }\n\n return { accept: fileTypes as string };\n }\n\n function renderDescription() {\n return (\n <Body className=\"np-upload-input__text\">\n {getDescription()}\n {maxFiles && (\n <>\n <br />\n {formatMessage(MESSAGES.maximumFiles, { maxFiles })}\n </>\n )}\n </Body>\n );\n }\n\n function renderButtonTitle() {\n if (uploadButtonTitle) {\n return uploadButtonTitle;\n }\n return formatMessage(multiple ? MESSAGES.uploadFiles : MESSAGES.uploadFile);\n }\n\n return (\n <label\n className={clsx(\n 'np-upload-input__upload-button',\n `np-upload-input__upload-button--${disabled ? 'disabled' : 'enabled'}`,\n `np-upload-input__upload-button--${withEntries ? 'with-entries' : 'without-entries'}`,\n {\n 'is-dropping': isDropping,\n },\n )}\n htmlFor={id}\n {...(!disabled && { onDragEnter, onDragLeave, onDrop, onDragOver })}\n >\n <span className=\"np-upload-input__icon\">\n <UploadIcon size={24} className=\"text-link\" />\n </span>\n <div className=\"np-upload-input__item-content\" data-testid={TEST_IDS.mediaBody}>\n <Body type={Typography.BODY_LARGE_BOLD} className=\"np-upload-input__title\">\n {renderButtonTitle()}\n </Body>\n {renderDescription()}\n </div>\n <input\n className=\"np-upload-input__upload-button-input sr-only\"\n type=\"file\"\n id={id}\n {...getAcceptedTypes()}\n {...(multiple && { multiple: true })}\n ref={inputRef}\n disabled={disabled}\n name=\"file-upload\"\n data-testid={TEST_IDS.uploadInput}\n onChange={filesSelected}\n />\n {isDropping && (\n <div\n className={clsx(\n 'np-upload-input__drop-file-overlay',\n 'droppable-card',\n 'droppable-dropping-card',\n 'droppable-card-content',\n )}\n >\n <PlusIcon className=\"m-x-1\" size={24} />\n <div>{formatMessage(MESSAGES.dropFile)}</div>\n </div>\n )}\n </label>\n );\n },\n);\n\nUploadButton.displayName = 'UploadButton';\n\nexport default UploadButton;\n"],"names":["TEST_IDS","onDragOver","event","preventDefault","DEFAULT_FILE_INPUT_ID","UploadButton","forwardRef","disabled","withEntries","multiple","description","fileTypes","imageFileTypes","sizeLimit","DEFAULT_SIZE_LIMIT","maxFiles","onChange","id","uploadButtonTitle","ref","formatMessage","useIntl","inputRef","useRef","useImperativeHandle","current","Error","isDropping","setIsDropping","useState","dragCounter","reset","onDragLeave","onDragEnter","onDrop","dataTransfer","files","filesSelected","target","value","getFileTypesDescription","getAllowedFileTypes","Array","isArray","join","getDescription","fileTypesDescription","derivedFileDescription","MESSAGES","allFileTypes","instructions","size","Math","round","getAcceptedTypes","areAllFilesAllowed","accept","renderDescription","_jsxs","Body","className","children","_Fragment","_jsx","maximumFiles","renderButtonTitle","uploadFiles","uploadFile","clsx","htmlFor","UploadIcon","mediaBody","type","Typography","BODY_LARGE_BOLD","name","uploadInput","PlusIcon","dropFile","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8EYA;AAAZ,CAAA,UAAYA,QAAQ,EAAA;AAClBA,EAAAA,QAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAC3BA,EAAAA,QAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACzB,CAAC,EAHWA,QAAQ,KAARA,QAAQ,GAAA,EAAA,CAAA,CAAA;AAKpB,MAAMC,UAAU,GAAIC,KAAgB,IAAU;EAC5CA,KAAK,CAACC,cAAc,EAAE;AACxB,CAAC;AAED,MAAMC,qBAAqB,GAAG,kBAAkB;AAChD,MAAMC,YAAY,gBAAGC,UAAU,CA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A,EAAa3E,QAAQ,CAAC4E,WAAY;AAClC5D,MAAAA,QAAQ,EAAEqB;AAAc,KAAA,CAE1B,EAACV,UAAU,iBACT+B,IAAA,CAAA,KAAA,EAAA;MACEE,SAAS,EAAEQ,IAAI,CACb,oCAAoC,EACpC,gBAAgB,EAChB,yBAAyB,EACzB,wBAAwB,CACxB;MAAAP,QAAA,EAAA,cAEFE,GAAA,CAACc,UAAQ,EAAA;AAACjB,QAAAA,SAAS,EAAC,OAAO;AAACT,QAAAA,IAAI,EAAE;OAAG,CACrC,eAAAY,GAAA,CAAA,KAAA,EAAA;AAAAF,QAAAA,QAAA,EAAMzC,aAAa,CAAC4B,QAAQ,CAAC8B,QAAQ;AAAC,OAAM,CAC9C;AAAA,KAAK,CACN;AAAA,GACI,CAAC;AAEZ,CAAC;AAGHzE,YAAY,CAAC0E,WAAW,GAAG,cAAc;;;;"}
|
|
1
|
+
{"version":3,"file":"UploadButton.mjs","sources":["../../../../src/uploadInput/uploadButton/UploadButton.tsx"],"sourcesContent":["import { PlusCircle as PlusIcon, Upload as UploadIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport {\n ChangeEvent,\n DragEvent,\n useRef,\n useState,\n forwardRef,\n useImperativeHandle,\n ForwardedRef,\n} from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../../body';\nimport { FileType, Typography } from '../../common';\n\nimport MESSAGES from './UploadButton.messages';\nimport { DEFAULT_SIZE_LIMIT, imageFileTypes } from './defaults';\nimport getAllowedFileTypes from './getAllowedFileTypes';\n\ntype AllowedFileTypes = string | readonly string[] | readonly FileType[];\nexport type UploadButtonProps = {\n /**\n * Disable the upload button if your app is not yet ready to accept uploads\n */\n disabled?: boolean;\n\n /**\n * Should be true, if the UploadInput has at least 1\n * file (valid or invalid) listed.\n */\n withEntries?: boolean;\n\n /**\n * Allow multiple file uploads\n */\n multiple?: boolean;\n\n /**\n * List of allowed filetypes, eg. '*' | '.zip,application/zip' | ['.jpg,.jpeg,image/jpeg', '.png,image/png'] (default: image files + PDF)\n */\n fileTypes?: AllowedFileTypes;\n\n /**\n * Size limit in KBs (1000 KB = 1 MB).\n * If set to `null`, no size limit will be applied.\n * @default 5000\n */\n sizeLimit?: number | null;\n\n /**\n * Description for the upload button\n */\n description?: string | undefined;\n\n /**\n * Maximum number of files allowed, if provided, shows error below file item\n */\n maxFiles?: number;\n\n /**\n * Called when some files were successfully selected\n *\n * @param files\n */\n onChange: (files: FileList) => void;\n\n /**\n * Id for the upload input\n */\n id?: string;\n\n /**\n * Title for the upload button\n */\n uploadButtonTitle?: string;\n};\n\nexport enum TEST_IDS {\n uploadInput = 'uploadInput',\n mediaBody = 'mediaBody',\n}\n\nconst onDragOver = (event: DragEvent): void => {\n event.preventDefault();\n};\n\nconst DEFAULT_FILE_INPUT_ID = 'np-upload-button';\nconst UploadButton = forwardRef<HTMLInputElement | null, UploadButtonProps>(\n (\n {\n disabled,\n withEntries,\n multiple,\n description,\n fileTypes = imageFileTypes,\n sizeLimit = DEFAULT_SIZE_LIMIT,\n maxFiles,\n onChange,\n id = DEFAULT_FILE_INPUT_ID,\n uploadButtonTitle,\n },\n ref: ForwardedRef<HTMLInputElement | null>,\n ) => {\n const { formatMessage } = useIntl();\n const inputRef = useRef<HTMLInputElement | null>(null);\n\n useImperativeHandle(ref, () => {\n if (!inputRef.current) {\n throw new Error('inputRef.current is null');\n }\n return inputRef.current;\n }, []);\n\n const [isDropping, setIsDropping] = useState(false);\n\n const dragCounter = useRef(0);\n\n const reset = (): void => {\n dragCounter.current = 0;\n setIsDropping(false);\n };\n\n const onDragLeave = (event: DragEvent): void => {\n event.preventDefault();\n dragCounter.current -= 1;\n if (dragCounter.current === 0) {\n setIsDropping(false);\n }\n };\n\n const onDragEnter = (event: DragEvent): void => {\n event.preventDefault();\n dragCounter.current += 1;\n if (dragCounter.current === 1) {\n setIsDropping(true);\n }\n };\n\n const onDrop = (event: DragEvent): void => {\n event.preventDefault();\n reset();\n if (event.dataTransfer && event.dataTransfer.files && event.dataTransfer.files[0]) {\n onChange(event.dataTransfer.files);\n }\n };\n\n const filesSelected = (event: ChangeEvent<HTMLInputElement>): void => {\n const { files } = event.target;\n\n if (files) {\n onChange(files);\n\n if (inputRef.current) {\n inputRef.current.value = '';\n }\n }\n };\n\n const getFileTypesDescription = (): string => {\n if (fileTypes === '*') {\n return fileTypes;\n }\n\n return getAllowedFileTypes(Array.isArray(fileTypes) ? fileTypes : [fileTypes]).join(', ');\n };\n\n function getDescription() {\n if (description) {\n return description;\n }\n\n const fileTypesDescription = getFileTypesDescription();\n\n const derivedFileDescription =\n fileTypesDescription === '*' ? formatMessage(MESSAGES.allFileTypes) : fileTypesDescription;\n\n if (typeof sizeLimit === 'number') {\n return formatMessage(MESSAGES.instructions, {\n fileTypes: derivedFileDescription,\n size: Math.round(sizeLimit / 1000),\n });\n }\n\n return derivedFileDescription;\n }\n\n function getAcceptedTypes(): Pick<React.ComponentPropsWithoutRef<'input'>, 'accept'> {\n const areAllFilesAllowed = getFileTypesDescription() === '*';\n\n if (areAllFilesAllowed) {\n return {}; // file input by default allows all files\n }\n\n if (Array.isArray(fileTypes)) {\n return { accept: fileTypes.join(',') };\n }\n\n return { accept: fileTypes as string };\n }\n\n function renderDescription() {\n return (\n <Body className=\"np-upload-input__text\">\n {getDescription()}\n {maxFiles && (\n <>\n <br />\n {formatMessage(MESSAGES.maximumFiles, { maxFiles })}\n </>\n )}\n </Body>\n );\n }\n\n function renderButtonTitle() {\n if (uploadButtonTitle) {\n return uploadButtonTitle;\n }\n return formatMessage(multiple ? MESSAGES.uploadFiles : MESSAGES.uploadFile);\n }\n\n return (\n <label\n className={clsx(\n 'np-upload-input__upload-button',\n `np-upload-input__upload-button--${disabled ? 'disabled' : 'enabled'}`,\n `np-upload-input__upload-button--${withEntries ? 'with-entries' : 'without-entries'}`,\n {\n 'is-dropping': isDropping,\n },\n )}\n htmlFor={id}\n {...(!disabled && { onDragEnter, onDragLeave, onDrop, onDragOver })}\n >\n <span className=\"np-upload-input__icon\">\n <UploadIcon size={24} className=\"text-link\" />\n </span>\n <div className=\"np-upload-input__item-content\" data-testid={TEST_IDS.mediaBody}>\n <Body type={Typography.BODY_LARGE_BOLD} className=\"np-upload-input__title\">\n {renderButtonTitle()}\n </Body>\n {renderDescription()}\n </div>\n <input\n className=\"np-upload-input__upload-button-input sr-only\"\n type=\"file\"\n id={id}\n {...getAcceptedTypes()}\n {...(multiple && { multiple: true })}\n ref={inputRef}\n disabled={disabled}\n name=\"file-upload\"\n data-testid={TEST_IDS.uploadInput}\n onChange={filesSelected}\n />\n {isDropping && (\n <div\n className={clsx(\n 'np-upload-input__drop-file-overlay',\n 'droppable-card',\n 'droppable-dropping-card',\n 'droppable-card-content',\n )}\n >\n <PlusIcon className=\"m-x-1\" size={24} />\n <div>{formatMessage(MESSAGES.dropFile)}</div>\n </div>\n )}\n </label>\n );\n },\n);\n\nUploadButton.displayName = 'UploadButton';\n\nexport default UploadButton;\n"],"names":["TEST_IDS","onDragOver","event","preventDefault","DEFAULT_FILE_INPUT_ID","UploadButton","forwardRef","disabled","withEntries","multiple","description","fileTypes","imageFileTypes","sizeLimit","DEFAULT_SIZE_LIMIT","maxFiles","onChange","id","uploadButtonTitle","ref","formatMessage","useIntl","inputRef","useRef","useImperativeHandle","current","Error","isDropping","setIsDropping","useState","dragCounter","reset","onDragLeave","onDragEnter","onDrop","dataTransfer","files","filesSelected","target","value","getFileTypesDescription","getAllowedFileTypes","Array","isArray","join","getDescription","fileTypesDescription","derivedFileDescription","MESSAGES","allFileTypes","instructions","size","Math","round","getAcceptedTypes","areAllFilesAllowed","accept","renderDescription","_jsxs","Body","className","children","_Fragment","_jsx","maximumFiles","renderButtonTitle","uploadFiles","uploadFile","clsx","htmlFor","UploadIcon","mediaBody","type","Typography","BODY_LARGE_BOLD","name","uploadInput","PlusIcon","dropFile","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8EYA;AAAZ,CAAA,UAAYA,QAAQ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AA,CAAA,OAAA,EAAA;AACEH,MAAAA,SAAS,EAAC,8CAA8C;AACxDY,MAAAA,IAAI,EAAC,MAAM;AACXvD,MAAAA,EAAE,EAAEA,EAAG;MAAA,GACHqC,gBAAgB,EAAE;AAAA,MAAA,IACjB7C,QAAQ,IAAI;AAAEA,QAAAA,QAAQ,EAAE;OAAM,CAAA;AACnCU,MAAAA,GAAG,EAAEG,QAAS;AACdf,MAAAA,QAAQ,EAAEA,QAAS;AACnBoE,MAAAA,IAAI,EAAC,aAAa;MAClB,aAAA,EAAa3E,QAAQ,CAAC4E,WAAY;AAClC5D,MAAAA,QAAQ,EAAEqB;AAAc,KAAA,CAE1B,EAACV,UAAU,iBACT+B,IAAA,CAAA,KAAA,EAAA;MACEE,SAAS,EAAEQ,IAAI,CACb,oCAAoC,EACpC,gBAAgB,EAChB,yBAAyB,EACzB,wBAAwB,CACxB;MAAAP,QAAA,EAAA,cAEFE,GAAA,CAACc,UAAQ,EAAA;AAACjB,QAAAA,SAAS,EAAC,OAAO;AAACT,QAAAA,IAAI,EAAE;OAAG,CACrC,eAAAY,GAAA,CAAA,KAAA,EAAA;AAAAF,QAAAA,QAAA,EAAMzC,aAAa,CAAC4B,QAAQ,CAAC8B,QAAQ;AAAC,OAAM,CAC9C;AAAA,KAAK,CACN;AAAA,GACI,CAAC;AAEZ,CAAC;AAGHzE,YAAY,CAAC0E,WAAW,GAAG,cAAc;;;;"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
require('../../common/theme.js');
|
|
4
4
|
require('../../common/direction.js');
|
|
5
|
-
require('@transferwise/neptune-tokens');
|
|
6
5
|
require('../../common/propsValues/control.js');
|
|
6
|
+
require('../../common/propsValues/breakpoint.js');
|
|
7
7
|
require('../../common/propsValues/size.js');
|
|
8
8
|
require('../../common/propsValues/typography.js');
|
|
9
9
|
require('../../common/propsValues/width.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sources":["
|
|
1
|
+
{"version":3,"file":"defaults.js","sources":["../../../../src/uploadInput/uploadButton/defaults.ts"],"sourcesContent":["import { FileType } from '../../common';\n\nexport const DEFAULT_SIZE_LIMIT = 5000;\n\nexport const imageFileTypes = [FileType.PDF, FileType.JPG, FileType.PNG];\n"],"names":["DEFAULT_SIZE_LIMIT","imageFileTypes","FileType","PDF","JPG","PNG"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEO,MAAMA,kBAAkB,GAAG;AAE3B,MAAMC,cAAc,GAAG,CAACC,iBAAQ,CAACC,GAAG,EAAED,iBAAQ,CAACE,GAAG,EAAEF,iBAAQ,CAACG,GAAG;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../common/theme.mjs';
|
|
2
2
|
import '../../common/direction.mjs';
|
|
3
|
-
import '@transferwise/neptune-tokens';
|
|
4
3
|
import '../../common/propsValues/control.mjs';
|
|
4
|
+
import '../../common/propsValues/breakpoint.mjs';
|
|
5
5
|
import '../../common/propsValues/size.mjs';
|
|
6
6
|
import '../../common/propsValues/typography.mjs';
|
|
7
7
|
import '../../common/propsValues/width.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"defaults.mjs","sources":["../../../../src/uploadInput/uploadButton/defaults.ts"],"sourcesContent":["import { FileType } from '../../common';\n\nexport const DEFAULT_SIZE_LIMIT = 5000;\n\nexport const imageFileTypes = [FileType.PDF, FileType.JPG, FileType.PNG];\n"],"names":["DEFAULT_SIZE_LIMIT","imageFileTypes","FileType","PDF","JPG","PNG"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAEO,MAAMA,kBAAkB,GAAG;AAE3B,MAAMC,cAAc,GAAG,CAACC,QAAQ,CAACC,GAAG,EAAED,QAAQ,CAACE,GAAG,EAAEF,QAAQ,CAACG,GAAG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllowedFileTypes.js","sources":["
|
|
1
|
+
{"version":3,"file":"getAllowedFileTypes.js","sources":["../../../../src/uploadInput/uploadButton/getAllowedFileTypes.ts"],"sourcesContent":["import { FileType } from '../../common';\n\nconst parseFileType = (fileType: string): string => {\n if (fileType?.includes('.')) {\n return fileType.replace('.', '').toUpperCase();\n }\n\n const mimeType = fileType?.split('/');\n if (mimeType?.length > 1) {\n let parsedType = mimeType[1];\n\n if (parsedType.toLocaleLowerCase() === 'jpeg') {\n parsedType = 'jpg, '.concat(parsedType).toUpperCase();\n }\n\n return parsedType.toUpperCase();\n }\n\n return fileType;\n};\n\nconst getAllowedFileTypes = (fileTypes: readonly FileType[] | readonly string[]): string[] =>\n fileTypes.map((fileType: string) => {\n const splittedFileTypes = fileType?.split(',');\n\n if (splittedFileTypes?.length > 1) {\n // If `fileType` contains `format` and `mime` types, remove mime types, proceed only with format types\n return splittedFileTypes\n .filter((splittedFileType: string) => !splittedFileType?.includes('/'))\n .map((splittedFileType: string) => parseFileType(splittedFileType))\n .join(', ');\n }\n\n // If `fileType` contains only `format` or `mime` type, parse the type\n return parseFileType(fileType);\n });\n\nexport default getAllowedFileTypes;\n"],"names":["parseFileType","fileType","includes","replace","toUpperCase","mimeType","split","length","parsedType","toLocaleLowerCase","concat","getAllowedFileTypes","fileTypes","map","splittedFileTypes","filter","splittedFileType","join"],"mappings":";;;;AAEA,MAAMA,aAAa,GAAIC,QAAgB,IAAY;AACjD,EAAA,IAAIA,QAAQ,EAAEC,QAAQ,CAAC,GAAG,CAAC,EAAE;IAC3B,OAAOD,QAAQ,CAACE,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAACC,WAAW,EAAE;AAChD,EAAA;AAEA,EAAA,MAAMC,QAAQ,GAAGJ,QAAQ,EAAEK,KAAK,CAAC,GAAG,CAAC;AACrC,EAAA,IAAID,QAAQ,EAAEE,MAAM,GAAG,CAAC,EAAE;AACxB,IAAA,IAAIC,UAAU,GAAGH,QAAQ,CAAC,CAAC,CAAC;AAE5B,IAAA,IAAIG,UAAU,CAACC,iBAAiB,EAAE,KAAK,MAAM,EAAE;MAC7CD,UAAU,GAAG,OAAO,CAACE,MAAM,CAACF,UAAU,CAAC,CAACJ,WAAW,EAAE;AACvD,IAAA;AAEA,IAAA,OAAOI,UAAU,CAACJ,WAAW,EAAE;AACjC,EAAA;AAEA,EAAA,OAAOH,QAAQ;AACjB,CAAC;AAED,MAAMU,mBAAmB,GAAIC,SAAkD,IAC7EA,SAAS,CAACC,GAAG,CAAEZ,QAAgB,IAAI;AACjC,EAAA,MAAMa,iBAAiB,GAAGb,QAAQ,EAAEK,KAAK,CAAC,GAAG,CAAC;AAE9C,EAAA,IAAIQ,iBAAiB,EAAEP,MAAM,GAAG,CAAC,EAAE;AACjC;AACA,IAAA,OAAOO,iBAAiB,CACrBC,MAAM,CAAEC,gBAAwB,IAAK,CAACA,gBAAgB,EAAEd,QAAQ,CAAC,GAAG,CAAC,CAAC,CACtEW,GAAG,CAAEG,gBAAwB,IAAKhB,aAAa,CAACgB,gBAAgB,CAAC,CAAC,CAClEC,IAAI,CAAC,IAAI,CAAC;AACf,EAAA;AAEA;EACA,OAAOjB,aAAa,CAACC,QAAQ,CAAC;AAChC,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllowedFileTypes.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"getAllowedFileTypes.mjs","sources":["../../../../src/uploadInput/uploadButton/getAllowedFileTypes.ts"],"sourcesContent":["import { FileType } from '../../common';\n\nconst parseFileType = (fileType: string): string => {\n if (fileType?.includes('.')) {\n return fileType.replace('.', '').toUpperCase();\n }\n\n const mimeType = fileType?.split('/');\n if (mimeType?.length > 1) {\n let parsedType = mimeType[1];\n\n if (parsedType.toLocaleLowerCase() === 'jpeg') {\n parsedType = 'jpg, '.concat(parsedType).toUpperCase();\n }\n\n return parsedType.toUpperCase();\n }\n\n return fileType;\n};\n\nconst getAllowedFileTypes = (fileTypes: readonly FileType[] | readonly string[]): string[] =>\n fileTypes.map((fileType: string) => {\n const splittedFileTypes = fileType?.split(',');\n\n if (splittedFileTypes?.length > 1) {\n // If `fileType` contains `format` and `mime` types, remove mime types, proceed only with format types\n return splittedFileTypes\n .filter((splittedFileType: string) => !splittedFileType?.includes('/'))\n .map((splittedFileType: string) => parseFileType(splittedFileType))\n .join(', ');\n }\n\n // If `fileType` contains only `format` or `mime` type, parse the type\n return parseFileType(fileType);\n });\n\nexport default getAllowedFileTypes;\n"],"names":["parseFileType","fileType","includes","replace","toUpperCase","mimeType","split","length","parsedType","toLocaleLowerCase","concat","getAllowedFileTypes","fileTypes","map","splittedFileTypes","filter","splittedFileType","join"],"mappings":"AAEA,MAAMA,aAAa,GAAIC,QAAgB,IAAY;AACjD,EAAA,IAAIA,QAAQ,EAAEC,QAAQ,CAAC,GAAG,CAAC,EAAE;IAC3B,OAAOD,QAAQ,CAACE,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAACC,WAAW,EAAE;AAChD,EAAA;AAEA,EAAA,MAAMC,QAAQ,GAAGJ,QAAQ,EAAEK,KAAK,CAAC,GAAG,CAAC;AACrC,EAAA,IAAID,QAAQ,EAAEE,MAAM,GAAG,CAAC,EAAE;AACxB,IAAA,IAAIC,UAAU,GAAGH,QAAQ,CAAC,CAAC,CAAC;AAE5B,IAAA,IAAIG,UAAU,CAACC,iBAAiB,EAAE,KAAK,MAAM,EAAE;MAC7CD,UAAU,GAAG,OAAO,CAACE,MAAM,CAACF,UAAU,CAAC,CAACJ,WAAW,EAAE;AACvD,IAAA;AAEA,IAAA,OAAOI,UAAU,CAACJ,WAAW,EAAE;AACjC,EAAA;AAEA,EAAA,OAAOH,QAAQ;AACjB,CAAC;AAED,MAAMU,mBAAmB,GAAIC,SAAkD,IAC7EA,SAAS,CAACC,GAAG,CAAEZ,QAAgB,IAAI;AACjC,EAAA,MAAMa,iBAAiB,GAAGb,QAAQ,EAAEK,KAAK,CAAC,GAAG,CAAC;AAE9C,EAAA,IAAIQ,iBAAiB,EAAEP,MAAM,GAAG,CAAC,EAAE;AACjC;AACA,IAAA,OAAOO,iBAAiB,CACrBC,MAAM,CAAEC,gBAAwB,IAAK,CAACA,gBAAgB,EAAEd,QAAQ,CAAC,GAAG,CAAC,CAAC,CACtEW,GAAG,CAAEG,gBAAwB,IAAKhB,aAAa,CAACgB,gBAAgB,CAAC,CAAC,CAClEC,IAAI,CAAC,IAAI,CAAC;AACf,EAAA;AAEA;EACA,OAAOjB,aAAa,CAACC,QAAQ,CAAC;AAChC,CAAC;;;;"}
|
|
@@ -9,8 +9,8 @@ var reactIntl = require('react-intl');
|
|
|
9
9
|
var Body = require('../../body/Body.js');
|
|
10
10
|
require('../../common/theme.js');
|
|
11
11
|
require('../../common/direction.js');
|
|
12
|
-
require('@transferwise/neptune-tokens');
|
|
13
12
|
require('../../common/propsValues/control.js');
|
|
13
|
+
require('../../common/propsValues/breakpoint.js');
|
|
14
14
|
var size = require('../../common/propsValues/size.js');
|
|
15
15
|
var typography = require('../../common/propsValues/typography.js');
|
|
16
16
|
require('../../common/propsValues/width.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadItem.js","sources":["../../../src/uploadInput/uploadItem/UploadItem.tsx"],"sourcesContent":["import { Bin, CheckCircleFill, CrossCircleFill } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../../body';\nimport { Size, Status, Typography } from '../../common';\nimport ProcessIndicator from '../../processIndicator/ProcessIndicator';\nimport { UploadedFile, UploadError } from '../types';\n\nimport MESSAGES from './UploadItem.messages';\nimport { UploadItemLink } from './UploadItemLink';\n\nexport type UploadItemProps = React.JSX.IntrinsicAttributes & {\n file: UploadedFile;\n /**\n * Is this Item part of a multiple- or single-file UploadInput\n */\n singleFileUpload: boolean;\n canDelete: boolean;\n onDelete: () => void;\n onFocus: (target?: 'button' | 'link') => void;\n\n /**\n * Callback to be called when the file link is clicked.\n * When provided, you need to manually trigger actions to load/download the file.\n *\n * @param file\n */\n onDownload?: (file: UploadedFile) => void;\n ref?: React.Ref<UploadItemRef>;\n};\ninterface UploadItemRef {\n /**\n * A method to set focus on the upload item.\n * @returns {void}\n */\n focus: () => void;\n\n /**\n * A required unique identifier for the upload item.\n */\n id: string | number;\n\n /**\n * An optional status of the upload item.\n */\n status?: string;\n}\n\nexport enum TEST_IDS {\n uploadItem = 'uploadItem',\n mediaBody = 'mediaBody',\n link = 'link',\n action = 'action',\n}\n\nconst UploadItem = forwardRef<UploadItemRef, UploadItemProps>(\n ({ file, canDelete, onDelete, onDownload, singleFileUpload, onFocus: handleFocus }, ref) => {\n const { formatMessage } = useIntl();\n const { status, filename, error, errors, url } = file;\n const linkRef = useRef<HTMLAnchorElement>(null);\n const buttonRef = useRef<HTMLButtonElement>(null);\n\n useImperativeHandle<UploadItemRef, UploadItemRef>(ref, () => ({\n focus: (target?: 'button' | 'link'): void => {\n if (target === 'button' && buttonRef.current) {\n buttonRef.current.focus();\n } else if (target === 'link' && linkRef.current) {\n linkRef.current.focus();\n } else if (buttonRef.current) {\n buttonRef.current.focus();\n } else if (linkRef.current) {\n linkRef.current.focus();\n }\n },\n id: file.id,\n status: file.status,\n }));\n\n const isSucceeded = [Status.SUCCEEDED, undefined].includes(status) && !!url;\n\n /**\n * We're temporarily reverting to the regular icon components,\n * until the StatusIcon receives 24px sizing. Some misalignment\n * to be expected.\n */\n const getIcon = () => {\n if (error || errors?.length || status === Status.FAILED) {\n return <CrossCircleFill size={24} className=\"emphasis--negative\" />;\n }\n\n let processIndicator: React.ReactNode;\n\n switch (status) {\n case Status.PROCESSING:\n case Status.PENDING:\n processIndicator = (\n <ProcessIndicator size={Size.EXTRA_SMALL} status={Status.PROCESSING} />\n );\n break;\n case Status.SUCCEEDED:\n case Status.DONE:\n default:\n processIndicator = <CheckCircleFill size={24} className=\"emphasis--positive\" />;\n }\n\n return processIndicator;\n };\n\n const getErrorMessage = (error?: UploadError) =>\n typeof error === 'object' ? error.message : error || formatMessage(MESSAGES.uploadingFailed);\n\n const getMultipleErrors = (errors?: UploadError[]) => {\n if (!errors?.length) {\n return null;\n }\n\n if (errors?.length === 1) {\n return getErrorMessage(errors[0]);\n }\n\n return (\n <ul className=\"np-upload-input-errors m-b-0\">\n {errors.map((error, index) => {\n // eslint-disable-next-line react/no-array-index-key\n return <li key={index}>{getErrorMessage(error)}</li>;\n })}\n </ul>\n );\n };\n\n const getDescription = () => {\n if (error || errors?.length || status === Status.FAILED) {\n return (\n <Body type={Typography.BODY_DEFAULT_BOLD} className=\"np-upload-input__text text-negative\">\n {errors?.length ? getMultipleErrors(errors) : getErrorMessage(error)}\n </Body>\n );\n }\n\n switch (status) {\n case Status.PENDING:\n return (\n <Body type={Typography.BODY_DEFAULT} className=\"np-upload-input__text\">\n {formatMessage(MESSAGES.uploading)}\n </Body>\n );\n case Status.PROCESSING:\n return <Body className=\"np-upload-input__text\">{formatMessage(MESSAGES.deleting)}</Body>;\n case Status.SUCCEEDED:\n case Status.DONE:\n default:\n return (\n <Body type={Typography.BODY_DEFAULT_BOLD} className=\"np-upload-input__text\">\n {formatMessage(MESSAGES.uploaded)}\n </Body>\n );\n }\n };\n\n const getTitle = () => {\n return filename || formatMessage(MESSAGES.uploadedFile);\n };\n\n const onDownloadFile = (event: React.MouseEvent): void => {\n if (onDownload) {\n event.preventDefault();\n onDownload(file);\n }\n };\n\n return (\n <div\n className={clsx('np-upload-input__item', { 'is-interactive': isSucceeded && url })}\n data-testid={`${file.id}-${TEST_IDS.uploadItem}`}\n >\n <UploadItemLink\n ref={linkRef}\n url={isSucceeded ? url : undefined}\n singleFileUpload={singleFileUpload}\n data-testid={`${file.id}-${TEST_IDS.link}`}\n onDownload={onDownloadFile}\n >\n <span className=\"np-upload-input__icon\">{getIcon()}</span>\n <div\n className=\"np-upload-input__item-content\"\n data-testid={`${file.id}-${TEST_IDS.mediaBody}`}\n >\n <Body type={Typography.BODY_LARGE} className=\"np-upload-input__title text-word-break\">\n {getTitle()}\n </Body>\n {getDescription()}\n </div>\n </UploadItemLink>\n {canDelete && (\n <div className=\"np-upload-input__item-action\">\n <button\n ref={buttonRef}\n aria-label={formatMessage(MESSAGES.removeFile, { filename })}\n className=\"np-upload-input__item-button\"\n type=\"button\"\n tabIndex={0}\n data-testid={`${file.id}-${TEST_IDS.action}`}\n onClick={() => onDelete()}\n // @ts-expect-error: handleFocus is not a standard FocusEventHandler, but required for parent logic\n onFocus={handleFocus}\n >\n <Bin size={16} />\n </button>\n </div>\n )}\n </div>\n );\n },\n);\n\nUploadItem.displayName = 'UploadItem';\n\nexport default UploadItem;\n"],"names":["TEST_IDS","UploadItem","forwardRef","file","canDelete","onDelete","onDownload","singleFileUpload","onFocus","handleFocus","ref","formatMessage","useIntl","status","filename","error","errors","url","linkRef","useRef","buttonRef","useImperativeHandle","focus","target","current","id","isSucceeded","Status","SUCCEEDED","undefined","includes","getIcon","length","FAILED","_jsx","CrossCircleFill","size","className","processIndicator","PROCESSING","PENDING","ProcessIndicator","Size","EXTRA_SMALL","DONE","CheckCircleFill","getErrorMessage","message","MESSAGES","uploadingFailed","getMultipleErrors","children","map","index","getDescription","Body","type","Typography","BODY_DEFAULT_BOLD","BODY_DEFAULT","uploading","deleting","uploaded","getTitle","uploadedFile","onDownloadFile","event","preventDefault","_jsxs","clsx","uploadItem","UploadItemLink","link","mediaBody","BODY_LARGE","removeFile","tabIndex","action","onClick","Bin","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDYA;AAAZ,CAAA,UAAYA,QAAQ,EAAA;AAClBA,EAAAA,QAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AACzBA,EAAAA,QAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACvBA,EAAAA,QAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACbA,EAAAA,QAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACn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AAA,CAAA,KAAA,EAAA;AACE/B,QAAAA,SAAS,EAAC,+BAA+B;QACzC,aAAA,EAAa,CAAA,EAAGlC,IAAI,CAACsB,EAAE,IAAIzB,gBAAQ,CAACyE,SAAS,CAAA,CAAG;QAAAtB,QAAA,EAAA,cAEhDjB,cAAA,CAACqB,YAAI,EAAA;UAACC,IAAI,EAAEC,qBAAU,CAACiB,UAAW;AAACrC,UAAAA,SAAS,EAAC,wCAAwC;UAAAc,QAAA,EAClFY,QAAQ;AAAE,SACP,CACN,EAACT,cAAc,EAAE;AAAA,OACd,CACP;AAAA,KAAgB,CAChB,EAAClD,SAAS,iBACR8B,cAAA,CAAA,KAAA,EAAA;AAAKG,MAAAA,SAAS,EAAC,8BAA8B;AAAAc,MAAAA,QAAA,eAC3CjB,cAAA,CAAA,QAAA,EAAA;AACExB,QAAAA,GAAG,EAAEU,SAAU;AACf,QAAA,YAAA,EAAYT,aAAa,CAACqC,2BAAQ,CAAC2B,UAAU,EAAE;AAAE7D,UAAAA;AAAQ,SAAE,CAAE;AAC7DuB,QAAAA,SAAS,EAAC,8BAA8B;AACxCmB,QAAAA,IAAI,EAAC,QAAQ;AACboB,QAAAA,QAAQ,EAAE,CAAE;QACZ,aAAA,EAAa,CAAA,EAAGzE,IAAI,CAACsB,EAAE,IAAIzB,gBAAQ,CAAC6E,MAAM,CAAA,CAAG;AAC7CC,QAAAA,OAAO,EAAEA,MAAMzE,QAAQ;AACvB;AAAA;AACAG,QAAAA,OAAO,EAAEC,WAAY;QAAA0C,QAAA,eAErBjB,cAAA,CAAC6C,SAAG,EAAA;AAAC3C,UAAAA,IAAI,EAAE;SAAG;OACR;AACV,KAAK,CACN;AAAA,GACE,CAAC;AAEV,CAAC;AAGHnC,UAAU,CAAC+E,WAAW,GAAG,YAAY;;;;"}
|
|
1
|
+
{"version":3,"file":"UploadItem.js","sources":["../../../../src/uploadInput/uploadItem/UploadItem.tsx"],"sourcesContent":["import { Bin, CheckCircleFill, CrossCircleFill } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../../body';\nimport { Size, Status, Typography } from '../../common';\nimport ProcessIndicator from '../../processIndicator/ProcessIndicator';\nimport { UploadedFile, UploadError } from '../types';\n\nimport MESSAGES from './UploadItem.messages';\nimport { UploadItemLink } from './UploadItemLink';\n\nexport type UploadItemProps = React.JSX.IntrinsicAttributes & {\n file: UploadedFile;\n /**\n * Is this Item part of a multiple- or single-file UploadInput\n */\n singleFileUpload: boolean;\n canDelete: boolean;\n onDelete: () => void;\n onFocus: (target?: 'button' | 'link') => void;\n\n /**\n * Callback to be called when the file link is clicked.\n * When provided, you need to manually trigger actions to load/download the file.\n *\n * @param file\n */\n onDownload?: (file: UploadedFile) => void;\n ref?: React.Ref<UploadItemRef>;\n};\ninterface UploadItemRef {\n /**\n * A method to set focus on the upload item.\n * @returns {void}\n */\n focus: () => void;\n\n /**\n * A required unique identifier for the upload item.\n */\n id: string | number;\n\n /**\n * An optional status of the upload item.\n */\n status?: string;\n}\n\nexport enum TEST_IDS {\n uploadItem = 'uploadItem',\n mediaBody = 'mediaBody',\n link = 'link',\n action = 'action',\n}\n\nconst UploadItem = forwardRef<UploadItemRef, UploadItemProps>(\n ({ file, canDelete, onDelete, onDownload, singleFileUpload, onFocus: handleFocus }, ref) => {\n const { formatMessage } = useIntl();\n const { status, filename, error, errors, url } = file;\n const linkRef = useRef<HTMLAnchorElement>(null);\n const buttonRef = useRef<HTMLButtonElement>(null);\n\n useImperativeHandle<UploadItemRef, UploadItemRef>(ref, () => ({\n focus: (target?: 'button' | 'link'): void => {\n if (target === 'button' && buttonRef.current) {\n buttonRef.current.focus();\n } else if (target === 'link' && linkRef.current) {\n linkRef.current.focus();\n } else if (buttonRef.current) {\n buttonRef.current.focus();\n } else if (linkRef.current) {\n linkRef.current.focus();\n }\n },\n id: file.id,\n status: file.status,\n }));\n\n const isSucceeded = [Status.SUCCEEDED, undefined].includes(status) && !!url;\n\n /**\n * We're temporarily reverting to the regular icon components,\n * until the StatusIcon receives 24px sizing. Some misalignment\n * to be expected.\n */\n const getIcon = () => {\n if (error || errors?.length || status === Status.FAILED) {\n return <CrossCircleFill size={24} className=\"emphasis--negative\" />;\n }\n\n let processIndicator: React.ReactNode;\n\n switch (status) {\n case Status.PROCESSING:\n case Status.PENDING:\n processIndicator = (\n <ProcessIndicator size={Size.EXTRA_SMALL} status={Status.PROCESSING} />\n );\n break;\n case Status.SUCCEEDED:\n case Status.DONE:\n default:\n processIndicator = <CheckCircleFill size={24} className=\"emphasis--positive\" />;\n }\n\n return processIndicator;\n };\n\n const getErrorMessage = (error?: UploadError) =>\n typeof error === 'object' ? error.message : error || formatMessage(MESSAGES.uploadingFailed);\n\n const getMultipleErrors = (errors?: UploadError[]) => {\n if (!errors?.length) {\n return null;\n }\n\n if (errors?.length === 1) {\n return getErrorMessage(errors[0]);\n }\n\n return (\n <ul className=\"np-upload-input-errors m-b-0\">\n {errors.map((error, index) => {\n // eslint-disable-next-line react/no-array-index-key\n return <li key={index}>{getErrorMessage(error)}</li>;\n })}\n </ul>\n );\n };\n\n const getDescription = () => {\n if (error || errors?.length || status === Status.FAILED) {\n return (\n <Body type={Typography.BODY_DEFAULT_BOLD} className=\"np-upload-input__text text-negative\">\n {errors?.length ? getMultipleErrors(errors) : getErrorMessage(error)}\n </Body>\n );\n }\n\n switch (status) {\n case Status.PENDING:\n return (\n <Body type={Typography.BODY_DEFAULT} className=\"np-upload-input__text\">\n {formatMessage(MESSAGES.uploading)}\n </Body>\n );\n case Status.PROCESSING:\n return <Body className=\"np-upload-input__text\">{formatMessage(MESSAGES.deleting)}</Body>;\n case Status.SUCCEEDED:\n case Status.DONE:\n default:\n return (\n <Body type={Typography.BODY_DEFAULT_BOLD} className=\"np-upload-input__text\">\n {formatMessage(MESSAGES.uploaded)}\n </Body>\n );\n }\n };\n\n const getTitle = () => {\n return filename || formatMessage(MESSAGES.uploadedFile);\n };\n\n const onDownloadFile = (event: React.MouseEvent): void => {\n if (onDownload) {\n event.preventDefault();\n onDownload(file);\n }\n };\n\n return (\n <div\n className={clsx('np-upload-input__item', { 'is-interactive': isSucceeded && url })}\n data-testid={`${file.id}-${TEST_IDS.uploadItem}`}\n >\n <UploadItemLink\n ref={linkRef}\n url={isSucceeded ? url : undefined}\n singleFileUpload={singleFileUpload}\n data-testid={`${file.id}-${TEST_IDS.link}`}\n onDownload={onDownloadFile}\n >\n <span className=\"np-upload-input__icon\">{getIcon()}</span>\n <div\n className=\"np-upload-input__item-content\"\n data-testid={`${file.id}-${TEST_IDS.mediaBody}`}\n >\n <Body type={Typography.BODY_LARGE} className=\"np-upload-input__title text-word-break\">\n {getTitle()}\n </Body>\n {getDescription()}\n </div>\n </UploadItemLink>\n {canDelete && (\n <div className=\"np-upload-input__item-action\">\n <button\n ref={buttonRef}\n aria-label={formatMessage(MESSAGES.removeFile, { filename })}\n className=\"np-upload-input__item-button\"\n type=\"button\"\n tabIndex={0}\n data-testid={`${file.id}-${TEST_IDS.action}`}\n onClick={() => onDelete()}\n // @ts-expect-error: handleFocus is not a standard FocusEventHandler, but required for parent logic\n onFocus={handleFocus}\n >\n <Bin size={16} />\n </button>\n </div>\n )}\n </div>\n );\n },\n);\n\nUploadItem.displayName = 'UploadItem';\n\nexport default UploadItem;\n"],"names":["TEST_IDS","UploadItem","forwardRef","file","canDelete","onDelete","onDownload","singleFileUpload","onFocus","handleFocus","ref","formatMessage","useIntl","status","filename","error","errors","url","linkRef","useRef","buttonRef","useImperativeHandle","focus","target","current","id","isSucceeded","Status","SUCCEEDED","undefined","includes","getIcon","length","FAILED","_jsx","CrossCircleFill","size","className","processIndicator","PROCESSING","PENDING","ProcessIndicator","Size","EXTRA_SMALL","DONE","CheckCircleFill","getErrorMessage","message","MESSAGES","uploadingFailed","getMultipleErrors","children","map","index","getDescription","Body","type","Typography","BODY_DEFAULT_BOLD","BODY_DEFAULT","uploading","deleting","uploaded","getTitle","uploadedFile","onDownloadFile","event","preventDefault","_jsxs","clsx","uploadItem","UploadItemLink","link","mediaBody","BODY_LARGE","removeFile","tabIndex","action","onClick","Bin","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDYA;AAAZ,CAAA,UAAYA,QAAQ,EAAA;AAClBA,EAAAA,QAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AACzBA,EAAAA,QAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACvBA,EAAAA,QAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACbA,EAAAA,QAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACnB,CAAC,EALWA,gBAAQ,KAARA,gBAAQ,GAAA,EAAA,CAAA,CAAA;AAOpB,MAAMC,UAAU,gBAAGC,gBAAU,CAC3B,CAAC;EAAEC,IAAI;EAAEC,SAAS;EAAEC,QAAQ;EAAEC,UAAU;EAAEC,gBAAgB;AAAEC,EAAAA,OAAO,EAAEC;AAAW,CAAE,EAAEC,GAAG,KAAI;EACzF,MAAM;AAAEC,IAAAA;GAAe,GAAGC,iBAAO,EAAE;EACnC,MAAM;YAAEC,QAAM;IAAEC,QAAQ;IAAEC,KAAK;IAAEC,MAAM;AAAEC,IAAAA;AAAG,GAAE,GAAGd,IAAI;AACrD,EAAA,MAAMe,OAAO,GAAGC,YAAM,CAAoB,IAAI,CAAC;AAC/C,EAAA,MAAMC,SAAS,GAAGD,YAAM,CAAoB,IAAI,CAAC;EAEjDE,yBAAmB,CAA+BX,GAAG,EAAE,OAAO;IAC5DY,KAAK,EAAGC,MAA0B,IAAU;AAC1C,MAAA,IAAIA,MAAM,KAAK,QAAQ,IAAIH,SAAS,CAACI,OAAO,EAAE;AAC5CJ,QAAAA,SAAS,CAACI,OAAO,CAACF,KAAK,EAAE;MAC3B,CAAC,MAAM,IAAIC,MAAM,KAAK,MAAM,IAAIL,OAAO,CAACM,OAAO,EAAE;AAC/CN,QAAAA,OAAO,CAACM,OAA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6E,MAAM,CAAA,CAAG;AAC7CC,QAAAA,OAAO,EAAEA,MAAMzE,QAAQ;AACvB;AAAA;AACAG,QAAAA,OAAO,EAAEC,WAAY;QAAA0C,QAAA,eAErBjB,cAAA,CAAC6C,SAAG,EAAA;AAAC3C,UAAAA,IAAI,EAAE;SAAG;OACR;AACV,KAAK,CACN;AAAA,GACE,CAAC;AAEV,CAAC;AAGHnC,UAAU,CAAC+E,WAAW,GAAG,YAAY;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadItem.messages.js","sources":["
|
|
1
|
+
{"version":3,"file":"UploadItem.messages.js","sources":["../../../../src/uploadInput/uploadItem/UploadItem.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n uploadingFailed: {\n id: 'neptune.UploadItem.uploadingFailed',\n defaultMessage: 'Uploading failed',\n description: 'Default error message when upload has failed',\n },\n\n uploaded: {\n id: 'neptune.UploadItem.uploaded',\n defaultMessage: 'Uploaded',\n description: 'Success copy when upload was successful',\n },\n\n uploading: {\n id: 'neptune.UploadItem.uploading',\n defaultMessage: 'Uploading...',\n description: 'Copy that is displayed during uploading a file',\n },\n\n deleting: {\n id: 'neptune.UploadItem.deleting',\n defaultMessage: 'Deleting...',\n description: 'Copy that is displayed during deleting a file',\n },\n\n uploadedFile: {\n id: 'neptune.UploadItem.uploadedFile',\n defaultMessage: 'Uploaded file',\n description: 'Default copy when filename is missing',\n },\n\n removeFile: {\n id: 'neptune.UploadItem.removeFile',\n defaultMessage: 'Remove file {filename}',\n description: 'Screenreader text for the delete file button',\n },\n});\n"],"names":["defineMessages","uploadingFailed","id","uploaded","uploading","deleting","uploadedFile","removeFile"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,eAAe,EAAE;IACfC,EAAE,EAAA;GAGH;AAEDC,EAAAA,QAAQ,EAAE;IACRD,EAAE,EAAA;GAGH;AAEDE,EAAAA,SAAS,EAAE;IACTF,EAAE,EAAA;GAGH;AAEDG,EAAAA,QAAQ,EAAE;IACRH,EAAE,EAAA;GAGH;AAEDI,EAAAA,YAAY,EAAE;IACZJ,EAAE,EAAA;GAGH;AAEDK,EAAAA,UAAU,EAAE;IACVL,EAAE,EAAA;AAGH;AACF,CAAA,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadItem.messages.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"UploadItem.messages.mjs","sources":["../../../../src/uploadInput/uploadItem/UploadItem.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n uploadingFailed: {\n id: 'neptune.UploadItem.uploadingFailed',\n defaultMessage: 'Uploading failed',\n description: 'Default error message when upload has failed',\n },\n\n uploaded: {\n id: 'neptune.UploadItem.uploaded',\n defaultMessage: 'Uploaded',\n description: 'Success copy when upload was successful',\n },\n\n uploading: {\n id: 'neptune.UploadItem.uploading',\n defaultMessage: 'Uploading...',\n description: 'Copy that is displayed during uploading a file',\n },\n\n deleting: {\n id: 'neptune.UploadItem.deleting',\n defaultMessage: 'Deleting...',\n description: 'Copy that is displayed during deleting a file',\n },\n\n uploadedFile: {\n id: 'neptune.UploadItem.uploadedFile',\n defaultMessage: 'Uploaded file',\n description: 'Default copy when filename is missing',\n },\n\n removeFile: {\n id: 'neptune.UploadItem.removeFile',\n defaultMessage: 'Remove file {filename}',\n description: 'Screenreader text for the delete file button',\n },\n});\n"],"names":["defineMessages","uploadingFailed","id","uploaded","uploading","deleting","uploadedFile","removeFile"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,eAAe,EAAE;IACfC,EAAE,EAAA;GAGH;AAEDC,EAAAA,QAAQ,EAAE;IACRD,EAAE,EAAA;GAGH;AAEDE,EAAAA,SAAS,EAAE;IACTF,EAAE,EAAA;GAGH;AAEDG,EAAAA,QAAQ,EAAE;IACRH,EAAE,EAAA;GAGH;AAEDI,EAAAA,YAAY,EAAE;IACZJ,EAAE,EAAA;GAGH;AAEDK,EAAAA,UAAU,EAAE;IACVL,EAAE,EAAA;AAGH;AACF,CAAA,CAAC;;;;"}
|
|
@@ -5,8 +5,8 @@ import { useIntl } from 'react-intl';
|
|
|
5
5
|
import Body from '../../body/Body.mjs';
|
|
6
6
|
import '../../common/theme.mjs';
|
|
7
7
|
import '../../common/direction.mjs';
|
|
8
|
-
import '@transferwise/neptune-tokens';
|
|
9
8
|
import '../../common/propsValues/control.mjs';
|
|
9
|
+
import '../../common/propsValues/breakpoint.mjs';
|
|
10
10
|
import { Size } from '../../common/propsValues/size.mjs';
|
|
11
11
|
import { Typography } from '../../common/propsValues/typography.mjs';
|
|
12
12
|
import '../../common/propsValues/width.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadItem.mjs","sources":["../../../src/uploadInput/uploadItem/UploadItem.tsx"],"sourcesContent":["import { Bin, CheckCircleFill, CrossCircleFill } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../../body';\nimport { Size, Status, Typography } from '../../common';\nimport ProcessIndicator from '../../processIndicator/ProcessIndicator';\nimport { UploadedFile, UploadError } from '../types';\n\nimport MESSAGES from './UploadItem.messages';\nimport { UploadItemLink } from './UploadItemLink';\n\nexport type UploadItemProps = React.JSX.IntrinsicAttributes & {\n file: UploadedFile;\n /**\n * Is this Item part of a multiple- or single-file UploadInput\n */\n singleFileUpload: boolean;\n canDelete: boolean;\n onDelete: () => void;\n onFocus: (target?: 'button' | 'link') => void;\n\n /**\n * Callback to be called when the file link is clicked.\n * When provided, you need to manually trigger actions to load/download the file.\n *\n * @param file\n */\n onDownload?: (file: UploadedFile) => void;\n ref?: React.Ref<UploadItemRef>;\n};\ninterface UploadItemRef {\n /**\n * A method to set focus on the upload item.\n * @returns {void}\n */\n focus: () => void;\n\n /**\n * A required unique identifier for the upload item.\n */\n id: string | number;\n\n /**\n * An optional status of the upload item.\n */\n status?: string;\n}\n\nexport enum TEST_IDS {\n uploadItem = 'uploadItem',\n mediaBody = 'mediaBody',\n link = 'link',\n action = 'action',\n}\n\nconst UploadItem = forwardRef<UploadItemRef, UploadItemProps>(\n ({ file, canDelete, onDelete, onDownload, singleFileUpload, onFocus: handleFocus }, ref) => {\n const { formatMessage } = useIntl();\n const { status, filename, error, errors, url } = file;\n const linkRef = useRef<HTMLAnchorElement>(null);\n const buttonRef = useRef<HTMLButtonElement>(null);\n\n useImperativeHandle<UploadItemRef, UploadItemRef>(ref, () => ({\n focus: (target?: 'button' | 'link'): void => {\n if (target === 'button' && buttonRef.current) {\n buttonRef.current.focus();\n } else if (target === 'link' && linkRef.current) {\n linkRef.current.focus();\n } else if (buttonRef.current) {\n buttonRef.current.focus();\n } else if (linkRef.current) {\n linkRef.current.focus();\n }\n },\n id: file.id,\n status: file.status,\n }));\n\n const isSucceeded = [Status.SUCCEEDED, undefined].includes(status) && !!url;\n\n /**\n * We're temporarily reverting to the regular icon components,\n * until the StatusIcon receives 24px sizing. Some misalignment\n * to be expected.\n */\n const getIcon = () => {\n if (error || errors?.length || status === Status.FAILED) {\n return <CrossCircleFill size={24} className=\"emphasis--negative\" />;\n }\n\n let processIndicator: React.ReactNode;\n\n switch (status) {\n case Status.PROCESSING:\n case Status.PENDING:\n processIndicator = (\n <ProcessIndicator size={Size.EXTRA_SMALL} status={Status.PROCESSING} />\n );\n break;\n case Status.SUCCEEDED:\n case Status.DONE:\n default:\n processIndicator = <CheckCircleFill size={24} className=\"emphasis--positive\" />;\n }\n\n return processIndicator;\n };\n\n const getErrorMessage = (error?: UploadError) =>\n typeof error === 'object' ? error.message : error || formatMessage(MESSAGES.uploadingFailed);\n\n const getMultipleErrors = (errors?: UploadError[]) => {\n if (!errors?.length) {\n return null;\n }\n\n if (errors?.length === 1) {\n return getErrorMessage(errors[0]);\n }\n\n return (\n <ul className=\"np-upload-input-errors m-b-0\">\n {errors.map((error, index) => {\n // eslint-disable-next-line react/no-array-index-key\n return <li key={index}>{getErrorMessage(error)}</li>;\n })}\n </ul>\n );\n };\n\n const getDescription = () => {\n if (error || errors?.length || status === Status.FAILED) {\n return (\n <Body type={Typography.BODY_DEFAULT_BOLD} className=\"np-upload-input__text text-negative\">\n {errors?.length ? getMultipleErrors(errors) : getErrorMessage(error)}\n </Body>\n );\n }\n\n switch (status) {\n case Status.PENDING:\n return (\n <Body type={Typography.BODY_DEFAULT} className=\"np-upload-input__text\">\n {formatMessage(MESSAGES.uploading)}\n </Body>\n );\n case Status.PROCESSING:\n return <Body className=\"np-upload-input__text\">{formatMessage(MESSAGES.deleting)}</Body>;\n case Status.SUCCEEDED:\n case Status.DONE:\n default:\n return (\n <Body type={Typography.BODY_DEFAULT_BOLD} className=\"np-upload-input__text\">\n {formatMessage(MESSAGES.uploaded)}\n </Body>\n );\n }\n };\n\n const getTitle = () => {\n return filename || formatMessage(MESSAGES.uploadedFile);\n };\n\n const onDownloadFile = (event: React.MouseEvent): void => {\n if (onDownload) {\n event.preventDefault();\n onDownload(file);\n }\n };\n\n return (\n <div\n className={clsx('np-upload-input__item', { 'is-interactive': isSucceeded && url })}\n data-testid={`${file.id}-${TEST_IDS.uploadItem}`}\n >\n <UploadItemLink\n ref={linkRef}\n url={isSucceeded ? url : undefined}\n singleFileUpload={singleFileUpload}\n data-testid={`${file.id}-${TEST_IDS.link}`}\n onDownload={onDownloadFile}\n >\n <span className=\"np-upload-input__icon\">{getIcon()}</span>\n <div\n className=\"np-upload-input__item-content\"\n data-testid={`${file.id}-${TEST_IDS.mediaBody}`}\n >\n <Body type={Typography.BODY_LARGE} className=\"np-upload-input__title text-word-break\">\n {getTitle()}\n </Body>\n {getDescription()}\n </div>\n </UploadItemLink>\n {canDelete && (\n <div className=\"np-upload-input__item-action\">\n <button\n ref={buttonRef}\n aria-label={formatMessage(MESSAGES.removeFile, { filename })}\n className=\"np-upload-input__item-button\"\n type=\"button\"\n tabIndex={0}\n data-testid={`${file.id}-${TEST_IDS.action}`}\n onClick={() => onDelete()}\n // @ts-expect-error: handleFocus is not a standard FocusEventHandler, but required for parent logic\n onFocus={handleFocus}\n >\n <Bin size={16} />\n </button>\n </div>\n )}\n </div>\n );\n },\n);\n\nUploadItem.displayName = 'UploadItem';\n\nexport default UploadItem;\n"],"names":["TEST_IDS","UploadItem","forwardRef","file","canDelete","onDelete","onDownload","singleFileUpload","onFocus","handleFocus","ref","formatMessage","useIntl","status","filename","error","errors","url","linkRef","useRef","buttonRef","useImperativeHandle","focus","target","current","id","isSucceeded","Status","SUCCEEDED","undefined","includes","getIcon","length","FAILED","_jsx","CrossCircleFill","size","className","processIndicator","PROCESSING","PENDING","ProcessIndicator","Size","EXTRA_SMALL","DONE","CheckCircleFill","getErrorMessage","message","MESSAGES","uploadingFailed","getMultipleErrors","children","map","index","getDescription","Body","type","Typography","BODY_DEFAULT_BOLD","BODY_DEFAULT","uploading","deleting","uploaded","getTitle","uploadedFile","onDownloadFile","event","preventDefault","_jsxs","clsx","uploadItem","UploadItemLink","link","mediaBody","BODY_LARGE","removeFile","tabIndex","action","onClick","Bin","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkDYA;AAAZ,CAAA,UAAYA,QAAQ,EAAA;AAClBA,EAAAA,QAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AACzBA,EAAAA,QAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACvBA,EAAAA,QAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACbA,EAAAA,QAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACnB,CAAC,EALWA,QAAQ,KAARA,QAAQ,GAAA,EAAA,CAAA,CAAA;AAOpB,MAAMC,UAAU,gBAAGC,UAAU,CAC3B,CAAC;EAAEC,IAAI;EAAEC,SAAS;EAAEC,QAAQ;EAAEC,UAAU;EAAEC,gBAAgB;AAAEC,EAAAA,OAAO,EAAEC;AAAW,CAAE,EAAEC,GAAG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C,UAAAA,SAAS,EAAC,wCAAwC;UAAAc,QAAA,EAClFY,QAAQ;AAAE,SACP,CACN,EAACT,cAAc,EAAE;AAAA,OACd,CACP;AAAA,KAAgB,CAChB,EAAClD,SAAS,iBACR8B,GAAA,CAAA,KAAA,EAAA;AAAKG,MAAAA,SAAS,EAAC,8BAA8B;AAAAc,MAAAA,QAAA,eAC3CjB,GAAA,CAAA,QAAA,EAAA;AACExB,QAAAA,GAAG,EAAEU,SAAU;AACf,QAAA,YAAA,EAAYT,aAAa,CAACqC,QAAQ,CAAC2B,UAAU,EAAE;AAAE7D,UAAAA;AAAQ,SAAE,CAAE;AAC7DuB,QAAAA,SAAS,EAAC,8BAA8B;AACxCmB,QAAAA,IAAI,EAAC,QAAQ;AACboB,QAAAA,QAAQ,EAAE,CAAE;QACZ,aAAA,EAAa,CAAA,EAAGzE,IAAI,CAACsB,EAAE,IAAIzB,QAAQ,CAAC6E,MAAM,CAAA,CAAG;AAC7CC,QAAAA,OAAO,EAAEA,MAAMzE,QAAQ;AACvB;AAAA;AACAG,QAAAA,OAAO,EAAEC,WAAY;QAAA0C,QAAA,eAErBjB,GAAA,CAAC6C,GAAG,EAAA;AAAC3C,UAAAA,IAAI,EAAE;SAAG;OACR;AACV,KAAK,CACN;AAAA,GACE,CAAC;AAEV,CAAC;AAGHnC,UAAU,CAAC+E,WAAW,GAAG,YAAY;;;;"}
|
|
1
|
+
{"version":3,"file":"UploadItem.mjs","sources":["../../../../src/uploadInput/uploadItem/UploadItem.tsx"],"sourcesContent":["import { Bin, CheckCircleFill, CrossCircleFill } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../../body';\nimport { Size, Status, Typography } from '../../common';\nimport ProcessIndicator from '../../processIndicator/ProcessIndicator';\nimport { UploadedFile, UploadError } from '../types';\n\nimport MESSAGES from './UploadItem.messages';\nimport { UploadItemLink } from './UploadItemLink';\n\nexport type UploadItemProps = React.JSX.IntrinsicAttributes & {\n file: UploadedFile;\n /**\n * Is this Item part of a multiple- or single-file UploadInput\n */\n singleFileUpload: boolean;\n canDelete: boolean;\n onDelete: () => void;\n onFocus: (target?: 'button' | 'link') => void;\n\n /**\n * Callback to be called when the file link is clicked.\n * When provided, you need to manually trigger actions to load/download the file.\n *\n * @param file\n */\n onDownload?: (file: UploadedFile) => void;\n ref?: React.Ref<UploadItemRef>;\n};\ninterface UploadItemRef {\n /**\n * A method to set focus on the upload item.\n * @returns {void}\n */\n focus: () => void;\n\n /**\n * A required unique identifier for the upload item.\n */\n id: string | number;\n\n /**\n * An optional status of the upload item.\n */\n status?: string;\n}\n\nexport enum TEST_IDS {\n uploadItem = 'uploadItem',\n mediaBody = 'mediaBody',\n link = 'link',\n action = 'action',\n}\n\nconst UploadItem = forwardRef<UploadItemRef, UploadItemProps>(\n ({ file, canDelete, onDelete, onDownload, singleFileUpload, onFocus: handleFocus }, ref) => {\n const { formatMessage } = useIntl();\n const { status, filename, error, errors, url } = file;\n const linkRef = useRef<HTMLAnchorElement>(null);\n const buttonRef = useRef<HTMLButtonElement>(null);\n\n useImperativeHandle<UploadItemRef, UploadItemRef>(ref, () => ({\n focus: (target?: 'button' | 'link'): void => {\n if (target === 'button' && buttonRef.current) {\n buttonRef.current.focus();\n } else if (target === 'link' && linkRef.current) {\n linkRef.current.focus();\n } else if (buttonRef.current) {\n buttonRef.current.focus();\n } else if (linkRef.current) {\n linkRef.current.focus();\n }\n },\n id: file.id,\n status: file.status,\n }));\n\n const isSucceeded = [Status.SUCCEEDED, undefined].includes(status) && !!url;\n\n /**\n * We're temporarily reverting to the regular icon components,\n * until the StatusIcon receives 24px sizing. Some misalignment\n * to be expected.\n */\n const getIcon = () => {\n if (error || errors?.length || status === Status.FAILED) {\n return <CrossCircleFill size={24} className=\"emphasis--negative\" />;\n }\n\n let processIndicator: React.ReactNode;\n\n switch (status) {\n case Status.PROCESSING:\n case Status.PENDING:\n processIndicator = (\n <ProcessIndicator size={Size.EXTRA_SMALL} status={Status.PROCESSING} />\n );\n break;\n case Status.SUCCEEDED:\n case Status.DONE:\n default:\n processIndicator = <CheckCircleFill size={24} className=\"emphasis--positive\" />;\n }\n\n return processIndicator;\n };\n\n const getErrorMessage = (error?: UploadError) =>\n typeof error === 'object' ? error.message : error || formatMessage(MESSAGES.uploadingFailed);\n\n const getMultipleErrors = (errors?: UploadError[]) => {\n if (!errors?.length) {\n return null;\n }\n\n if (errors?.length === 1) {\n return getErrorMessage(errors[0]);\n }\n\n return (\n <ul className=\"np-upload-input-errors m-b-0\">\n {errors.map((error, index) => {\n // eslint-disable-next-line react/no-array-index-key\n return <li key={index}>{getErrorMessage(error)}</li>;\n })}\n </ul>\n );\n };\n\n const getDescription = () => {\n if (error || errors?.length || status === Status.FAILED) {\n return (\n <Body type={Typography.BODY_DEFAULT_BOLD} className=\"np-upload-input__text text-negative\">\n {errors?.length ? getMultipleErrors(errors) : getErrorMessage(error)}\n </Body>\n );\n }\n\n switch (status) {\n case Status.PENDING:\n return (\n <Body type={Typography.BODY_DEFAULT} className=\"np-upload-input__text\">\n {formatMessage(MESSAGES.uploading)}\n </Body>\n );\n case Status.PROCESSING:\n return <Body className=\"np-upload-input__text\">{formatMessage(MESSAGES.deleting)}</Body>;\n case Status.SUCCEEDED:\n case Status.DONE:\n default:\n return (\n <Body type={Typography.BODY_DEFAULT_BOLD} className=\"np-upload-input__text\">\n {formatMessage(MESSAGES.uploaded)}\n </Body>\n );\n }\n };\n\n const getTitle = () => {\n return filename || formatMessage(MESSAGES.uploadedFile);\n };\n\n const onDownloadFile = (event: React.MouseEvent): void => {\n if (onDownload) {\n event.preventDefault();\n onDownload(file);\n }\n };\n\n return (\n <div\n className={clsx('np-upload-input__item', { 'is-interactive': isSucceeded && url })}\n data-testid={`${file.id}-${TEST_IDS.uploadItem}`}\n >\n <UploadItemLink\n ref={linkRef}\n url={isSucceeded ? url : undefined}\n singleFileUpload={singleFileUpload}\n data-testid={`${file.id}-${TEST_IDS.link}`}\n onDownload={onDownloadFile}\n >\n <span className=\"np-upload-input__icon\">{getIcon()}</span>\n <div\n className=\"np-upload-input__item-content\"\n data-testid={`${file.id}-${TEST_IDS.mediaBody}`}\n >\n <Body type={Typography.BODY_LARGE} className=\"np-upload-input__title text-word-break\">\n {getTitle()}\n </Body>\n {getDescription()}\n </div>\n </UploadItemLink>\n {canDelete && (\n <div className=\"np-upload-input__item-action\">\n <button\n ref={buttonRef}\n aria-label={formatMessage(MESSAGES.removeFile, { filename })}\n className=\"np-upload-input__item-button\"\n type=\"button\"\n tabIndex={0}\n data-testid={`${file.id}-${TEST_IDS.action}`}\n onClick={() => onDelete()}\n // @ts-expect-error: handleFocus is not a standard FocusEventHandler, but required for parent logic\n onFocus={handleFocus}\n >\n <Bin size={16} />\n </button>\n </div>\n )}\n </div>\n );\n },\n);\n\nUploadItem.displayName = 'UploadItem';\n\nexport default UploadItem;\n"],"names":["TEST_IDS","UploadItem","forwardRef","file","canDelete","onDelete","onDownload","singleFileUpload","onFocus","handleFocus","ref","formatMessage","useIntl","status","filename","error","errors","url","linkRef","useRef","buttonRef","useImperativeHandle","focus","target","current","id","isSucceeded","Status","SUCCEEDED","undefined","includes","getIcon","length","FAILED","_jsx","CrossCircleFill","size","className","processIndicator","PROCESSING","PENDING","ProcessIndicator","Size","EXTRA_SMALL","DONE","CheckCircleFill","getErrorMessage","message","MESSAGES","uploadingFailed","getMultipleErrors","children","map","index","getDescription","Body","type","Typography","BODY_DEFAULT_BOLD","BODY_DEFAULT","uploading","deleting","uploaded","getTitle","uploadedFile","onDownloadFile","event","preventDefault","_jsxs","clsx","uploadItem","UploadItemLink","link","mediaBody","BODY_LARGE","removeFile","tabIndex","action","onClick","Bin","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkDYA;AAAZ,CAAA,UAAYA,QAAQ,EAAA;AAClBA,EAAAA,QAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AACzB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Y;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadItemLink.js","sources":["
|
|
1
|
+
{"version":3,"file":"UploadItemLink.js","sources":["../../../../src/uploadInput/uploadItem/UploadItemLink.tsx"],"sourcesContent":["import { PropsWithChildren, MouseEvent, forwardRef } from 'react';\nimport { clsx } from 'clsx';\n\ntype UploadItemLinkProps = PropsWithChildren<{\n url?: string;\n onDownload?: (event: MouseEvent) => void;\n singleFileUpload: boolean;\n}>;\n\nexport const UploadItemLink = forwardRef<HTMLAnchorElement | HTMLDivElement, UploadItemLinkProps>(\n ({ children, url, onDownload, singleFileUpload }, ref) => {\n if (!url) {\n return (\n <div\n ref={ref as React.RefObject<HTMLDivElement>}\n className={clsx('np-upload-input__item-container')}\n >\n {children}\n </div>\n );\n }\n\n return (\n <a\n ref={ref as React.RefObject<HTMLAnchorElement>}\n href={url}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className={clsx(\n 'np-upload-input__item-link',\n singleFileUpload ? 'np-upload-input__item-link--single-file' : '',\n )}\n tabIndex={0}\n onClick={onDownload}\n >\n {children}\n </a>\n );\n },\n);\n"],"names":["UploadItemLink","forwardRef","children","url","onDownload","singleFileUpload","ref","_jsx","className","clsx","href","target","rel","tabIndex","onClick"],"mappings":";;;;;;AASO,MAAMA,cAAc,gBAAGC,gBAAU,CACtC,CAAC;EAAEC,QAAQ;EAAEC,GAAG;EAAEC,UAAU;AAAEC,EAAAA;CAAkB,EAAEC,GAAG,KAAI;EACvD,IAAI,CAACH,GAAG,EAAE;AACR,IAAA,oBACEI,cAAA,CAAA,KAAA,EAAA;AACED,MAAAA,GAAG,EAAEA,GAAuC;AAC5CE,MAAAA,SAAS,EAAEC,SAAI,CAAC,iCAAiC,CAAE;AAAAP,MAAAA,QAAA,EAElDA;AAAQ,KACN,CAAC;AAEV,EAAA;AAEA,EAAA,oBACEK,cAAA,CAAA,GAAA,EAAA;AACED,IAAAA,GAAG,EAAEA,GAA0C;AAC/CI,IAAAA,IAAI,EAAEP,GAAI;AACVQ,IAAAA,MAAM,EAAC,QAAQ;AACfC,IAAAA,GAAG,EAAC,qBAAqB;IACzBJ,SAAS,EAAEC,SAAI,CACb,4BAA4B,EAC5BJ,gBAAgB,GAAG,yCAAyC,GAAG,EAAE,CACjE;AACFQ,IAAAA,QAAQ,EAAE,CAAE;AACZC,IAAAA,OAAO,EAAEV,UAAW;AAAAF,IAAAA,QAAA,EAEnBA;AAAQ,GACR,CAAC;AAER,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadItemLink.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"UploadItemLink.mjs","sources":["../../../../src/uploadInput/uploadItem/UploadItemLink.tsx"],"sourcesContent":["import { PropsWithChildren, MouseEvent, forwardRef } from 'react';\nimport { clsx } from 'clsx';\n\ntype UploadItemLinkProps = PropsWithChildren<{\n url?: string;\n onDownload?: (event: MouseEvent) => void;\n singleFileUpload: boolean;\n}>;\n\nexport const UploadItemLink = forwardRef<HTMLAnchorElement | HTMLDivElement, UploadItemLinkProps>(\n ({ children, url, onDownload, singleFileUpload }, ref) => {\n if (!url) {\n return (\n <div\n ref={ref as React.RefObject<HTMLDivElement>}\n className={clsx('np-upload-input__item-container')}\n >\n {children}\n </div>\n );\n }\n\n return (\n <a\n ref={ref as React.RefObject<HTMLAnchorElement>}\n href={url}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className={clsx(\n 'np-upload-input__item-link',\n singleFileUpload ? 'np-upload-input__item-link--single-file' : '',\n )}\n tabIndex={0}\n onClick={onDownload}\n >\n {children}\n </a>\n );\n },\n);\n"],"names":["UploadItemLink","forwardRef","children","url","onDownload","singleFileUpload","ref","_jsx","className","clsx","href","target","rel","tabIndex","onClick"],"mappings":";;;;AASO,MAAMA,cAAc,gBAAGC,UAAU,CACtC,CAAC;EAAEC,QAAQ;EAAEC,GAAG;EAAEC,UAAU;AAAEC,EAAAA;CAAkB,EAAEC,GAAG,KAAI;EACvD,IAAI,CAACH,GAAG,EAAE;AACR,IAAA,oBACEI,GAAA,CAAA,KAAA,EAAA;AACED,MAAAA,GAAG,EAAEA,GAAuC;AAC5CE,MAAAA,SAAS,EAAEC,IAAI,CAAC,iCAAiC,CAAE;AAAAP,MAAAA,QAAA,EAElDA;AAAQ,KACN,CAAC;AAEV,EAAA;AAEA,EAAA,oBACEK,GAAA,CAAA,GAAA,EAAA;AACED,IAAAA,GAAG,EAAEA,GAA0C;AAC/CI,IAAAA,IAAI,EAAEP,GAAI;AACVQ,IAAAA,MAAM,EAAC,QAAQ;AACfC,IAAAA,GAAG,EAAC,qBAAqB;IACzBJ,SAAS,EAAEC,IAAI,CACb,4BAA4B,EAC5BJ,gBAAgB,GAAG,yCAAyC,GAAG,EAAE,CACjE;AACFQ,IAAAA,QAAQ,EAAE,CAAE;AACZC,IAAAA,OAAO,EAAEV,UAAW;AAAAF,IAAAA,QAAA,EAEnBA;AAAQ,GACR,CAAC;AAER,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cssValueWithUnit.js","sources":["
|
|
1
|
+
{"version":3,"file":"cssValueWithUnit.js","sources":["../../../src/utilities/cssValueWithUnit.ts"],"sourcesContent":["export function cssValueWithUnit(value: number | string) {\n return typeof value === 'number' ? `${value}px` : value;\n}\n"],"names":["cssValueWithUnit","value"],"mappings":";;AAAM,SAAUA,gBAAgBA,CAACC,KAAsB,EAAA;EACrD,OAAO,OAAOA,KAAK,KAAK,QAAQ,GAAG,CAAA,EAAGA,KAAK,CAAA,EAAA,CAAI,GAAGA,KAAK;AACzD;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cssValueWithUnit.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"cssValueWithUnit.mjs","sources":["../../../src/utilities/cssValueWithUnit.ts"],"sourcesContent":["export function cssValueWithUnit(value: number | string) {\n return typeof value === 'number' ? `${value}px` : value;\n}\n"],"names":["cssValueWithUnit","value"],"mappings":"AAAM,SAAUA,gBAAgBA,CAACC,KAAsB,EAAA;EACrD,OAAO,OAAOA,KAAK,KAAK,QAAQ,GAAG,CAAA,EAAGA,KAAK,CAAA,EAAA,CAAI,GAAGA,KAAK;AACzD;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logActionRequired.js","sources":["
|
|
1
|
+
{"version":3,"file":"logActionRequired.js","sources":["../../../src/utilities/logActionRequired.ts"],"sourcesContent":["export function logActionRequired(message: string) {\n if (typeof process !== 'undefined' && process.env?.NODE_ENV !== 'production') {\n // eslint-disable-next-line no-console\n console.warn(message);\n }\n}\n\nexport function logActionRequiredIf(message: string, conditional: boolean) {\n if (conditional) {\n logActionRequired(message);\n }\n}\n"],"names":["logActionRequired","message","process","env","NODE_ENV","console","warn","logActionRequiredIf","conditional"],"mappings":";;AAAM,SAAUA,iBAAiBA,CAACC,OAAe,EAAA;AAC/C,EAAA,IAAI,OAAOC,OAAO,KAAK,WAAW,IAAIA,OAAO,CAACC,GAAG,EAAEC,QAAQ,KAAK,YAAY,EAAE;AAC5E;AACAC,IAAAA,OAAO,CAACC,IAAI,CAACL,OAAO,CAAC;AACvB,EAAA;AACF;AAEM,SAAUM,mBAAmBA,CAACN,OAAe,EAAEO,WAAoB,EAAA;AACvE,EAAA,IAAIA,WAAW,EAAE;IACfR,iBAAiB,CAACC,OAAO,CAAC;AAC5B,EAAA;AACF;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logActionRequired.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"logActionRequired.mjs","sources":["../../../src/utilities/logActionRequired.ts"],"sourcesContent":["export function logActionRequired(message: string) {\n if (typeof process !== 'undefined' && process.env?.NODE_ENV !== 'production') {\n // eslint-disable-next-line no-console\n console.warn(message);\n }\n}\n\nexport function logActionRequiredIf(message: string, conditional: boolean) {\n if (conditional) {\n logActionRequired(message);\n }\n}\n"],"names":["logActionRequired","message","process","env","NODE_ENV","console","warn","logActionRequiredIf","conditional"],"mappings":"AAAM,SAAUA,iBAAiBA,CAACC,OAAe,EAAA;AAC/C,EAAA,IAAI,OAAOC,OAAO,KAAK,WAAW,IAAIA,OAAO,CAACC,GAAG,EAAEC,QAAQ,KAAK,YAAY,EAAE;AAC5E;AACAC,IAAAA,OAAO,CAACC,IAAI,CAACL,OAAO,CAAC;AACvB,EAAA;AACF;AAEM,SAAUM,mBAAmBA,CAACN,OAAe,EAAEO,WAAoB,EAAA;AACvE,EAAA,IAAIA,WAAW,EAAE;IACfR,iBAAiB,CAACC,OAAO,CAAC;AAC5B,EAAA;AACF;;;;"}
|
|
@@ -6,8 +6,8 @@ var React = require('react');
|
|
|
6
6
|
var historyNavigator = require('../common/historyNavigator/historyNavigator.js');
|
|
7
7
|
require('../common/theme.js');
|
|
8
8
|
require('../common/direction.js');
|
|
9
|
-
require('@transferwise/neptune-tokens');
|
|
10
9
|
require('../common/propsValues/control.js');
|
|
10
|
+
require('../common/propsValues/breakpoint.js');
|
|
11
11
|
require('../common/propsValues/size.js');
|
|
12
12
|
require('../common/propsValues/typography.js');
|
|
13
13
|
require('../common/propsValues/width.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithDisplayFormat.js","sources":["../../src/withDisplayFormat/WithDisplayFormat.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { HistoryNavigator } from '../common';\nimport {\n formatWithPattern,\n getCountOfSymbolsInSelection,\n getCursorPositionAfterKeystroke,\n unformatWithPattern,\n getDistanceToPreviousSymbol,\n getDistanceToNextSymbol,\n} from '../common/textFormat';\nimport { InputProps } from '../inputs/Input';\nimport { TextAreaProps } from '../inputs/TextArea';\n\ntype HTMLTextElement = HTMLInputElement | HTMLTextAreaElement;\ntype TextElementProps = InputProps | TextAreaProps;\n\nexport type EventType =\n | 'KeyDown'\n | 'Paste'\n | 'Cut'\n | 'Undo'\n | 'Redo'\n | 'Backspace'\n | 'Delete'\n | 'Initial';\n\ninterface WithDisplayFormatState {\n value: string;\n historyNavigator: HistoryNavigator;\n prevDisplayPattern: string;\n triggerType: EventType;\n triggerEvent: React.KeyboardEvent<HTMLTextElement> | null;\n pastedLength: number;\n selectionStart: number;\n selectionEnd: number;\n}\n\nexport interface WithDisplayFormatProps<T extends TextElementProps = TextElementProps> extends Pick<\n TextElementProps,\n | 'className'\n | 'disabled'\n | 'id'\n | 'maxLength'\n | 'minLength'\n | 'name'\n | 'placeholder'\n | 'readOnly'\n | 'required'\n | 'inputMode'\n> {\n /** @default '' */\n value?: string;\n /** @default '' */\n displayPattern: string;\n /**\n * autocomplete hides our form help so we need to disable it when help text\n * is present. Chrome ignores autocomplete=off, the only way to disable it is\n * to provide an 'invalid' value, for which 'disabled' serves.\n * @default 'off'\n */\n autoComplete?: TextElementProps['autoComplete'] | 'disabled';\n onChange?: (value: string) => void;\n onBlur?: (value: string) => void;\n onFocus?: (value: string) => void;\n render: (renderProps: T) => React.JSX.Element;\n}\n\nclass WithDisplayFormat<T extends TextElementProps> extends React.Component<\n WithDisplayFormatProps<T>,\n WithDisplayFormatState\n> {\n declare props: WithDisplayFormatProps<T> &\n Required<Pick<WithDisplayFormatProps<T>, keyof typeof WithDisplayFormat.defaultProps>>;\n static defaultProps = {\n autoComplete: 'off',\n displayPattern: '',\n value: '',\n };\n\n constructor(props: WithDisplayFormatProps) {\n super(props);\n const unformattedValue = unformatWithPattern(props.value ?? '', props.displayPattern);\n this.state = {\n value: formatWithPattern(unformattedValue, props.displayPattern),\n historyNavigator: new HistoryNavigator(),\n prevDisplayPattern: props.displayPattern,\n triggerType: 'Initial',\n triggerEvent: null,\n selectionStart: 0,\n selectionEnd: 0,\n pastedLength: 0,\n };\n }\n\n static getDerivedStateFromProps(\n { displayPattern }: WithDisplayFormatProps,\n { prevDisplayPattern = displayPattern, value, historyNavigator }: WithDisplayFormatState,\n ) {\n if (prevDisplayPattern !== displayPattern) {\n const unFormattedValue = unformatWithPattern(value, prevDisplayPattern);\n historyNavigator.reset();\n\n return {\n prevDisplayPattern: displayPattern,\n value: formatWithPattern(unFormattedValue, displayPattern),\n triggerType: null,\n triggerEvent: null,\n pastedLength: 0,\n };\n }\n return null;\n }\n\n getUserAction = (unformattedValue: string): EventType | string => {\n const { triggerEvent, triggerType, value } = this.state;\n const { displayPattern } = this.props;\n\n if (triggerEvent) {\n if (triggerType === 'Paste' || triggerType === 'Cut') {\n return triggerType;\n }\n\n if ((triggerEvent.ctrlKey || triggerEvent.metaKey) && triggerEvent.key === 'z') {\n return triggerEvent.shiftKey ? 'Redo' : 'Undo';\n }\n\n // Detect mouse event redo\n if (triggerEvent.ctrlKey && triggerEvent.key === 'd') {\n return 'Delete';\n }\n\n // Android Fix.\n if (\n typeof triggerEvent.key === 'undefined' &&\n unformattedValue.length <= unformatWithPattern(value, displayPattern).length\n ) {\n return 'Backspace';\n }\n return triggerEvent.key;\n }\n // triggerEvent can be null only in case of \"autofilling\" (via password manager extension or browser build-in one) events\n return 'Paste';\n };\n\n resetEvent = () => {\n this.setState({\n triggerType: 'Initial',\n triggerEvent: null,\n pastedLength: 0,\n });\n };\n\n detectUndoRedo = (event: React.KeyboardEvent<HTMLTextElement>) => {\n if ((event.ctrlKey || event.metaKey) && event.key === 'z') {\n return event.shiftKey ? 'Redo' : 'Undo';\n }\n return null;\n };\n\n handleOnKeyDown: React.KeyboardEventHandler<HTMLTextElement> = (event) => {\n event.persist();\n const { selectionStart, selectionEnd } = event.currentTarget;\n const { historyNavigator } = this.state;\n const { displayPattern } = this.props;\n\n // Unfortunately Undo and Redo don't trigger OnChange event so we need to handle some value logic here.\n let newFormattedValue = '';\n\n if (this.detectUndoRedo(event) === 'Undo') {\n newFormattedValue = formatWithPattern(historyNavigator.undo().toString(), displayPattern);\n this.setState({ value: newFormattedValue, triggerType: 'Undo' });\n } else if (this.detectUndoRedo(event) === 'Redo') {\n newFormattedValue = formatWithPattern(historyNavigator.redo().toString(), displayPattern);\n this.setState({ value: newFormattedValue, triggerType: 'Redo' });\n } else {\n this.setState({\n triggerEvent: event,\n triggerType: 'KeyDown',\n selectionStart: selectionStart ?? 0,\n selectionEnd: selectionEnd ?? 0,\n });\n }\n };\n\n handleOnPaste: React.ClipboardEventHandler<HTMLTextElement> = (event) => {\n const { displayPattern } = this.props;\n const pastedLength = unformatWithPattern(\n event.clipboardData.getData('Text'),\n displayPattern,\n ).length;\n\n this.setState({ triggerType: 'Paste', pastedLength });\n };\n\n handleOnCut: React.ClipboardEventHandler<HTMLTextElement> = () => {\n this.setState({ triggerType: 'Cut' });\n };\n\n isKeyAllowed = (action: EventType | string) => {\n const { displayPattern } = this.props;\n const symbolsInPattern = displayPattern.split('').filter((character) => character !== '*');\n\n return !symbolsInPattern.includes(action);\n };\n\n handleOnChange: React.ChangeEventHandler<HTMLTextElement> = (event) => {\n const { historyNavigator, triggerType } = this.state;\n const { displayPattern, onChange } = this.props;\n const { value } = event.target;\n let unformattedValue = unformatWithPattern(value, displayPattern);\n const action = this.getUserAction(unformattedValue);\n if (!this.isKeyAllowed(action) || triggerType === 'Undo' || triggerType === 'Redo') {\n return;\n }\n\n if (action === 'Backspace' || action === 'Delete') {\n unformattedValue = this.handleDelete(unformattedValue, action);\n }\n\n const newFormattedValue = formatWithPattern(unformattedValue, displayPattern);\n historyNavigator.add(unformattedValue);\n\n this.handleCursorPositioning(action);\n\n this.setState({ value: newFormattedValue }, () => {\n this.resetEvent();\n if (onChange) {\n const broadcastValue = unformatWithPattern(newFormattedValue, displayPattern);\n onChange(broadcastValue);\n }\n });\n };\n\n handleOnBlur: React.FocusEventHandler<HTMLTextElement> = (event) => {\n this.props.onBlur?.(unformatWithPattern(event.target.value, this.props.displayPattern));\n };\n\n handleOnFocus: React.FocusEventHandler<HTMLTextElement> = (event) => {\n const { displayPattern, onFocus } = this.props;\n if (onFocus) {\n onFocus(unformatWithPattern(event.target.value, displayPattern));\n }\n };\n\n handleDelete = (unformattedValue: string, action: EventType) => {\n const { displayPattern } = this.props;\n const { selectionStart, selectionEnd } = this.state;\n const newStack = [...unformattedValue];\n if (selectionStart === selectionEnd) {\n let startPosition =\n selectionStart - getCountOfSymbolsInSelection(0, selectionStart, displayPattern);\n let toDelete = 0;\n\n let count = getDistanceToNextSymbol(selectionStart, displayPattern);\n if (action === 'Backspace') {\n startPosition -= 1;\n count = getDistanceToPreviousSymbol(selectionStart, displayPattern);\n }\n\n if (startPosition >= 0 && count) {\n toDelete = 1;\n }\n\n newStack.splice(startPosition, toDelete);\n }\n\n return newStack.join('');\n };\n\n handleCursorPositioning = (action: string) => {\n const { displayPattern } = this.props;\n const { triggerEvent, selectionStart, selectionEnd, pastedLength } = this.state;\n\n const cursorPosition = getCursorPositionAfterKeystroke(\n action,\n selectionStart,\n selectionEnd,\n displayPattern,\n pastedLength,\n );\n\n setTimeout(() => {\n if (triggerEvent) {\n (triggerEvent.target as HTMLTextElement).setSelectionRange(cursorPosition, cursorPosition);\n }\n this.setState({ selectionStart: cursorPosition, selectionEnd: cursorPosition });\n }, 0);\n };\n\n render() {\n const {\n inputMode,\n className,\n id,\n name,\n placeholder,\n readOnly,\n required,\n minLength,\n maxLength,\n disabled,\n autoComplete,\n } = this.props;\n const { value } = this.state;\n const renderProps: TextElementProps = {\n inputMode,\n className,\n id,\n name,\n placeholder,\n readOnly,\n required,\n minLength,\n maxLength,\n disabled,\n autoComplete,\n value,\n onFocus: this.handleOnFocus,\n onBlur: this.handleOnBlur,\n onPaste: this.handleOnPaste,\n onKeyDown: this.handleOnKeyDown,\n onChange: this.handleOnChange,\n onCut: this.handleOnCut,\n };\n return this.props.render(renderProps as T);\n }\n}\n\nexport default WithDisplayFormat;\n"],"names":["WithDisplayFormat","React","Component","defaultProps","autoComplete","displayPattern","value","constructor","props","unformattedValue","unformatWithPattern","state","formatWithPattern","historyNavigator","HistoryNavigator","prevDisplayPattern","triggerType","triggerEvent","selectionStart","selectionEnd","pastedLength","getDerivedStateFromProps","unFormattedValue","reset","getUserAction","ctrlKey","metaKey","key","shiftKey","length","resetEvent","setState","detectUndoRedo","event","handleOnKeyDown","persist","currentTarget","newFormattedValue","undo","toString","redo","handleOnPaste","clipboardData","getData","handleOnCut","isKeyAllowed","action","symbolsInPattern","split","filter","character","includes","handleOnChange","onChange","target","handleDelete","add","handleCursorPositioning","broadcastValue","handleOnBlur","onBlur","handleOnFocus","onFocus","newStack","startPosition","getCountOfSymbolsInSelection","toDelete","count","getDistanceToNextSymbol","getDistanceToPreviousSymbol","splice","join","cursorPosition","getCursorPositionAfterKeystroke","setTimeout","setSelectionRange","render","inputMode","className","id","name","placeholder","readOnly","required","minLength","maxLength","disabled","renderProps","onPaste","onKeyDown","onCut"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEA,MAAMA,iBAA8C,SAAQC,gBAAK,CAACC,SAGjE,CAAA;AAGC,EAAA,OAAOC,YAAY,GAAG;AACpBC,IAAAA,YAAY,EAAE,KAAK;AACnBC,IAAAA,cAAc,EAAE,EAAE;AAClBC,IAAAA,KAAK,EAAE;GACR;EAEDC,WAAAA,CAAYC,KAA6B,EAAA;IACvC,KAAK,CAACA,KAAK,CAAC;AACZ,IAAA,MAAMC,gBAAgB,GAAGC,2BAAmB,CAACF,KAAK,CAACF,KAAK,IAAI,EAAE,EAAEE,KAAK,CAACH,cAAc,CAAC;IACrF,IAAI,CAACM,KAAK,GAAG;MACXL,KAAK,EAAEM,yBAAiB,CAACH,gBAAgB,EAAED,KAAK,CAACH,cAAc,CAAC;AAChEQ,MAAAA,gBAAgB,EAAE,IAAIC,wBAAgB,EAAE;MACxCC,kBAAkB,EAAEP,KAAK,CAACH,cAAc;AACxCW,MAAAA,WAAW,EAAE,SAAS;AACtBC,MAAAA,YAAY,EAAE,IAAI;AAClBC,MAAAA,cAAc,EAAE,CAAC;AACjBC,MAAAA,YAAY,EAAE,CAAC;AACfC,MAAAA,YAAY,EAAE;KACf;AACH,EAAA;AAEA,EAAA,OAAOC,wBAAwBA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,EAAE,IAAI,CAACD,aAAa;MAC3BD,MAAM,EAAE,IAAI,CAACD,YAAY;MACzB6B,OAAO,EAAE,IAAI,CAAC/C,aAAa;MAC3BgD,SAAS,EAAE,IAAI,CAACvD,eAAe;MAC/BmB,QAAQ,EAAE,IAAI,CAACD,cAAc;MAC7BsC,KAAK,EAAE,IAAI,CAAC9C;KACb;AACD,IAAA,OAAO,IAAI,CAACpC,KAAK,CAACoE,MAAM,CAACW,WAAgB,CAAC;AAC5C,EAAA;;;;;"}
|
|
1
|
+
{"version":3,"file":"WithDisplayFormat.js","sources":["../../../src/withDisplayFormat/WithDisplayFormat.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { HistoryNavigator } from '../common';\nimport {\n formatWithPattern,\n getCountOfSymbolsInSelection,\n getCursorPositionAfterKeystroke,\n unformatWithPattern,\n getDistanceToPreviousSymbol,\n getDistanceToNextSymbol,\n} from '../common/textFormat';\nimport { InputProps } from '../inputs/Input';\nimport { TextAreaProps } from '../inputs/TextArea';\n\ntype HTMLTextElement = HTMLInputElement | HTMLTextAreaElement;\ntype TextElementProps = InputProps | TextAreaProps;\n\nexport type EventType =\n | 'KeyDown'\n | 'Paste'\n | 'Cut'\n | 'Undo'\n | 'Redo'\n | 'Backspace'\n | 'Delete'\n | 'Initial';\n\ninterface WithDisplayFormatState {\n value: string;\n historyNavigator: HistoryNavigator;\n prevDisplayPattern: string;\n triggerType: EventType;\n triggerEvent: React.KeyboardEvent<HTMLTextElement> | null;\n pastedLength: number;\n selectionStart: number;\n selectionEnd: number;\n}\n\nexport interface WithDisplayFormatProps<T extends TextElementProps = TextElementProps> extends Pick<\n TextElementProps,\n | 'className'\n | 'disabled'\n | 'id'\n | 'maxLength'\n | 'minLength'\n | 'name'\n | 'placeholder'\n | 'readOnly'\n | 'required'\n | 'inputMode'\n> {\n /** @default '' */\n value?: string;\n /** @default '' */\n displayPattern: string;\n /**\n * autocomplete hides our form help so we need to disable it when help text\n * is present. Chrome ignores autocomplete=off, the only way to disable it is\n * to provide an 'invalid' value, for which 'disabled' serves.\n * @default 'off'\n */\n autoComplete?: TextElementProps['autoComplete'] | 'disabled';\n onChange?: (value: string) => void;\n onBlur?: (value: string) => void;\n onFocus?: (value: string) => void;\n render: (renderProps: T) => React.JSX.Element;\n}\n\nclass WithDisplayFormat<T extends TextElementProps> extends React.Component<\n WithDisplayFormatProps<T>,\n WithDisplayFormatState\n> {\n declare props: WithDisplayFormatProps<T> &\n Required<Pick<WithDisplayFormatProps<T>, keyof typeof WithDisplayFormat.defaultProps>>;\n static defaultProps = {\n autoComplete: 'off',\n displayPattern: '',\n value: '',\n };\n\n constructor(props: WithDisplayFormatProps) {\n super(props);\n const unformattedValue = unformatWithPattern(props.value ?? '', props.displayPattern);\n this.state = {\n value: formatWithPattern(unformattedValue, props.displayPattern),\n historyNavigator: new HistoryNavigator(),\n prevDisplayPattern: props.displayPattern,\n triggerType: 'Initial',\n triggerEvent: null,\n selectionStart: 0,\n selectionEnd: 0,\n pastedLength: 0,\n };\n }\n\n static getDerivedStateFromProps(\n { displayPattern }: WithDisplayFormatProps,\n { prevDisplayPattern = displayPattern, value, historyNavigator }: WithDisplayFormatState,\n ) {\n if (prevDisplayPattern !== displayPattern) {\n const unFormattedValue = unformatWithPattern(value, prevDisplayPattern);\n historyNavigator.reset();\n\n return {\n prevDisplayPattern: displayPattern,\n value: formatWithPattern(unFormattedValue, displayPattern),\n triggerType: null,\n triggerEvent: null,\n pastedLength: 0,\n };\n }\n return null;\n }\n\n getUserAction = (unformattedValue: string): EventType | string => {\n const { triggerEvent, triggerType, value } = this.state;\n const { displayPattern } = this.props;\n\n if (triggerEvent) {\n if (triggerType === 'Paste' || triggerType === 'Cut') {\n return triggerType;\n }\n\n if ((triggerEvent.ctrlKey || triggerEvent.metaKey) && triggerEvent.key === 'z') {\n return triggerEvent.shiftKey ? 'Redo' : 'Undo';\n }\n\n // Detect mouse event redo\n if (triggerEvent.ctrlKey && triggerEvent.key === 'd') {\n return 'Delete';\n }\n\n // Android Fix.\n if (\n typeof triggerEvent.key === 'undefined' &&\n unformattedValue.length <= unformatWithPattern(value, displayPattern).length\n ) {\n return 'Backspace';\n }\n return triggerEvent.key;\n }\n // triggerEvent can be null only in case of \"autofilling\" (via password manager extension or browser build-in one) events\n return 'Paste';\n };\n\n resetEvent = () => {\n this.setState({\n triggerType: 'Initial',\n triggerEvent: null,\n pastedLength: 0,\n });\n };\n\n detectUndoRedo = (event: React.KeyboardEvent<HTMLTextElement>) => {\n if ((event.ctrlKey || event.metaKey) && event.key === 'z') {\n return event.shiftKey ? 'Redo' : 'Undo';\n }\n return null;\n };\n\n handleOnKeyDown: React.KeyboardEventHandler<HTMLTextElement> = (event) => {\n event.persist();\n const { selectionStart, selectionEnd } = event.currentTarget;\n const { historyNavigator } = this.state;\n const { displayPattern } = this.props;\n\n // Unfortunately Undo and Redo don't trigger OnChange event so we need to handle some value logic here.\n let newFormattedValue = '';\n\n if (this.detectUndoRedo(event) === 'Undo') {\n newFormattedValue = formatWithPattern(historyNavigator.undo().toString(), displayPattern);\n this.setState({ value: newFormattedValue, triggerType: 'Undo' });\n } else if (this.detectUndoRedo(event) === 'Redo') {\n newFormattedValue = formatWithPattern(historyNavigator.redo().toString(), displayPattern);\n this.setState({ value: newFormattedValue, triggerType: 'Redo' });\n } else {\n this.setState({\n triggerEvent: event,\n triggerType: 'KeyDown',\n selectionStart: selectionStart ?? 0,\n selectionEnd: selectionEnd ?? 0,\n });\n }\n };\n\n handleOnPaste: React.ClipboardEventHandler<HTMLTextElement> = (event) => {\n const { displayPattern } = this.props;\n const pastedLength = unformatWithPattern(\n event.clipboardData.getData('Text'),\n displayPattern,\n ).length;\n\n this.setState({ triggerType: 'Paste', pastedLength });\n };\n\n handleOnCut: React.ClipboardEventHandler<HTMLTextElement> = () => {\n this.setState({ triggerType: 'Cut' });\n };\n\n isKeyAllowed = (action: EventType | string) => {\n const { displayPattern } = this.props;\n const symbolsInPattern = displayPattern.split('').filter((character) => character !== '*');\n\n return !symbolsInPattern.includes(action);\n };\n\n handleOnChange: React.ChangeEventHandler<HTMLTextElement> = (event) => {\n const { historyNavigator, triggerType } = this.state;\n const { displayPattern, onChange } = this.props;\n const { value } = event.target;\n let unformattedValue = unformatWithPattern(value, displayPattern);\n const action = this.getUserAction(unformattedValue);\n if (!this.isKeyAllowed(action) || triggerType === 'Undo' || triggerType === 'Redo') {\n return;\n }\n\n if (action === 'Backspace' || action === 'Delete') {\n unformattedValue = this.handleDelete(unformattedValue, action);\n }\n\n const newFormattedValue = formatWithPattern(unformattedValue, displayPattern);\n historyNavigator.add(unformattedValue);\n\n this.handleCursorPositioning(action);\n\n this.setState({ value: newFormattedValue }, () => {\n this.resetEvent();\n if (onChange) {\n const broadcastValue = unformatWithPattern(newFormattedValue, displayPattern);\n onChange(broadcastValue);\n }\n });\n };\n\n handleOnBlur: React.FocusEventHandler<HTMLTextElement> = (event) => {\n this.props.onBlur?.(unformatWithPattern(event.target.value, this.props.displayPattern));\n };\n\n handleOnFocus: React.FocusEventHandler<HTMLTextElement> = (event) => {\n const { displayPattern, onFocus } = this.props;\n if (onFocus) {\n onFocus(unformatWithPattern(event.target.value, displayPattern));\n }\n };\n\n handleDelete = (unformattedValue: string, action: EventType) => {\n const { displayPattern } = this.props;\n const { selectionStart, selectionEnd } = this.state;\n const newStack = [...unformattedValue];\n if (selectionStart === selectionEnd) {\n let startPosition =\n selectionStart - getCountOfSymbolsInSelection(0, selectionStart, displayPattern);\n let toDelete = 0;\n\n let count = getDistanceToNextSymbol(selectionStart, displayPattern);\n if (action === 'Backspace') {\n startPosition -= 1;\n count = getDistanceToPreviousSymbol(selectionStart, displayPattern);\n }\n\n if (startPosition >= 0 && count) {\n toDelete = 1;\n }\n\n newStack.splice(startPosition, toDelete);\n }\n\n return newStack.join('');\n };\n\n handleCursorPositioning = (action: string) => {\n const { displayPattern } = this.props;\n const { triggerEvent, selectionStart, selectionEnd, pastedLength } = this.state;\n\n const cursorPosition = getCursorPositionAfterKeystroke(\n action,\n selectionStart,\n selectionEnd,\n displayPattern,\n pastedLength,\n );\n\n setTimeout(() => {\n if (triggerEvent) {\n (triggerEvent.target as HTMLTextElement).setSelectionRange(cursorPosition, cursorPosition);\n }\n this.setState({ selectionStart: cursorPosition, selectionEnd: cursorPosition });\n }, 0);\n };\n\n render() {\n const {\n inputMode,\n className,\n id,\n name,\n placeholder,\n readOnly,\n required,\n minLength,\n maxLength,\n disabled,\n autoComplete,\n } = this.props;\n const { value } = this.state;\n const renderProps: TextElementProps = {\n inputMode,\n className,\n id,\n name,\n placeholder,\n readOnly,\n required,\n minLength,\n maxLength,\n disabled,\n autoComplete,\n value,\n onFocus: this.handleOnFocus,\n onBlur: this.handleOnBlur,\n onPaste: this.handleOnPaste,\n onKeyDown: this.handleOnKeyDown,\n onChange: this.handleOnChange,\n onCut: this.handleOnCut,\n };\n return this.props.render(renderProps as T);\n }\n}\n\nexport default WithDisplayFormat;\n"],"names":["WithDisplayFormat","React","Component","defaultProps","autoComplete","displayPattern","value","constructor","props","unformattedValue","unformatWithPattern","state","formatWithPattern","historyNavigator","HistoryNavigator","prevDisplayPattern","triggerType","triggerEvent","selectionStart","selectionEnd","pastedLength","getDerivedStateFromProps","unFormattedValue","reset","getUserAction","ctrlKey","metaKey","key","shiftKey","length","resetEvent","setState","detectUndoRedo","event","handleOnKeyDown","persist","currentTarget","newFormattedValue","undo","toString","redo","handleOnPaste","clipboardData","getData","handleOnCut","isKeyAllowed","action","symbolsInPattern","split","filter","character","includes","handleOnChange","onChange","target","handleDelete","add","handleCursorPositioning","broadcastValue","handleOnBlur","onBlur","handleOnFocus","onFocus","newStack","startPosition","getCountOfSymbolsInSelection","toDelete","count","getDistanceToNextSymbol","getDistanceToPreviousSymbol","splice","join","cursorPosition","getCursorPositionAfterKeystroke","setTimeout","setSelectionRange","render","inputMode","className","id","name","placeholder","readOnly","required","minLength","maxLength","disabled","renderProps","onPaste","onKeyDown","onCut"],"mappings":";;;;;;;;;;;;;;;;;;;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YAAY,EACZd,cAAc,EACde,YAAY,CACb;AAEDsD,IAAAA,UAAU,CAAC,MAAK;AACd,MAAA,IAAIzD,YAAY,EAAE;QACfA,YAAY,CAACqC,MAA0B,CAACqB,iBAAiB,CAACH,cAAc,EAAEA,cAAc,CAAC;AAC5F,MAAA;MACA,IAAI,CAACzC,QAAQ,CAAC;AAAEb,QAAAA,cAAc,EAAEsD,cAAc;AAAErD,QAAAA,YAAY,EAAEqD;AAAc,OAAE,CAAC;IACjF,CAAC,EAAE,CAAC,CAAC;EACP,CAAC;AAEDI,EAAAA,MAAMA,GAAA;IACJ,MAAM;MACJC,SAAS;MACTC,SAAS;MACTC,EAAE;MACFC,IAAI;MACJC,WAAW;MACXC,QAAQ;MACRC,QAAQ;MACRC,SAAS;MACTC,SAAS;MACTC,QAAQ;AACRlF,MAAAA;KACD,GAAG,IAAI,CAACI,KAAK;IACd,MAAM;AAAEF,MAAAA;KAAO,GAAG,IAAI,CAACK,KAAK;AAC5B,IAAA,MAAM4E,WAAW,GAAqB;MACpCV,SAAS;MACTC,SAAS;MACTC,EAAE;MACFC,IAAI;MACJC,WAAW;MACXC,QAAQ;MACRC,QAAQ;MACRC,SAAS;MACTC,SAAS;MACTC,QAAQ;MACRlF,YAAY;MACZE,KAAK;MACLwD,OAAO,EAAE,IAAI,CAACD,aAAa;MAC3BD,MAAM,EAAE,IAAI,CAACD,YAAY;MACzB6B,OAAO,EAAE,IAAI,CAAC/C,aAAa;MAC3BgD,SAAS,EAAE,IAAI,CAACvD,eAAe;MAC/BmB,QAAQ,EAAE,IAAI,CAACD,cAAc;MAC7BsC,KAAK,EAAE,IAAI,CAAC9C;KACb;AACD,IAAA,OAAO,IAAI,CAACpC,KAAK,CAACoE,MAAM,CAACW,WAAgB,CAAC;AAC5C,EAAA;;;;;"}
|
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import HistoryNavigator from '../common/historyNavigator/historyNavigator.mjs';
|
|
3
3
|
import '../common/theme.mjs';
|
|
4
4
|
import '../common/direction.mjs';
|
|
5
|
-
import '@transferwise/neptune-tokens';
|
|
6
5
|
import '../common/propsValues/control.mjs';
|
|
6
|
+
import '../common/propsValues/breakpoint.mjs';
|
|
7
7
|
import '../common/propsValues/size.mjs';
|
|
8
8
|
import '../common/propsValues/typography.mjs';
|
|
9
9
|
import '../common/propsValues/width.mjs';
|