@transferwise/components 46.119.4 → 46.120.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/accordion/Accordion.js +43 -0
- package/build/accordion/Accordion.js.map +1 -1
- package/build/accordion/Accordion.mjs +43 -0
- package/build/accordion/Accordion.mjs.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.js +39 -16
- package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.mjs +39 -16
- package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
- package/build/actionButton/ActionButton.js +3 -18
- package/build/actionButton/ActionButton.js.map +1 -1
- package/build/actionButton/ActionButton.mjs +3 -18
- package/build/actionButton/ActionButton.mjs.map +1 -1
- package/build/actionOption/ActionOption.js +8 -18
- package/build/actionOption/ActionOption.js.map +1 -1
- package/build/actionOption/ActionOption.mjs +8 -18
- package/build/actionOption/ActionOption.mjs.map +1 -1
- package/build/alert/Alert.js +6 -21
- package/build/alert/Alert.js.map +1 -1
- package/build/alert/Alert.mjs +5 -21
- package/build/alert/Alert.mjs.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.js +0 -18
- package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs +0 -18
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
- package/build/avatar/Avatar.js +1 -18
- package/build/avatar/Avatar.js.map +1 -1
- package/build/avatar/Avatar.mjs +1 -18
- package/build/avatar/Avatar.mjs.map +1 -1
- package/build/avatar/avatarTypes.js +5 -3
- package/build/avatar/avatarTypes.js.map +1 -1
- package/build/avatar/avatarTypes.mjs +3 -3
- package/build/avatar/avatarTypes.mjs.map +1 -1
- package/build/avatarLayout/AvatarLayout.js +2 -1
- package/build/avatarLayout/AvatarLayout.js.map +1 -1
- package/build/avatarLayout/AvatarLayout.mjs +2 -1
- package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/avatarView/AvatarView.js +3 -18
- package/build/avatarView/AvatarView.js.map +1 -1
- package/build/avatarView/AvatarView.mjs +3 -18
- package/build/avatarView/AvatarView.mjs.map +1 -1
- package/build/avatarView/Dot.js +3 -0
- package/build/avatarView/Dot.js.map +1 -1
- package/build/avatarView/Dot.mjs +3 -0
- package/build/avatarView/Dot.mjs.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.js +1 -17
- package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs +1 -17
- package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
- package/build/badge/Badge.js +1 -17
- package/build/badge/Badge.js.map +1 -1
- package/build/badge/Badge.mjs +1 -17
- package/build/badge/Badge.mjs.map +1 -1
- package/build/badge/BadgeAssets.js +3 -0
- package/build/badge/BadgeAssets.js.map +1 -1
- package/build/badge/BadgeAssets.mjs +3 -0
- package/build/badge/BadgeAssets.mjs.map +1 -1
- package/build/body/Body.js.map +1 -1
- package/build/body/Body.mjs.map +1 -1
- package/build/button/Button.js +4 -18
- package/build/button/Button.js.map +1 -1
- package/build/button/Button.mjs +4 -18
- package/build/button/Button.mjs.map +1 -1
- package/build/button/Button.resolver.js.map +1 -1
- package/build/button/Button.resolver.mjs.map +1 -1
- package/build/button/LegacyButton.js +4 -17
- package/build/button/LegacyButton.js.map +1 -1
- package/build/button/LegacyButton.mjs +5 -18
- package/build/button/LegacyButton.mjs.map +1 -1
- package/build/button/classMap.js +0 -18
- package/build/button/classMap.js.map +1 -1
- package/build/button/classMap.mjs +0 -18
- package/build/button/classMap.mjs.map +1 -1
- package/build/button/legacyUtils/legacyUtils.js +1 -16
- package/build/button/legacyUtils/legacyUtils.js.map +1 -1
- package/build/button/legacyUtils/legacyUtils.mjs +1 -16
- package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
- package/build/card/Card.js +4 -17
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs +4 -17
- package/build/card/Card.mjs.map +1 -1
- package/build/carousel/Carousel.js.map +1 -1
- package/build/carousel/Carousel.mjs.map +1 -1
- package/build/checkbox/Checkbox.js +1 -19
- package/build/checkbox/Checkbox.js.map +1 -1
- package/build/checkbox/Checkbox.mjs +1 -19
- package/build/checkbox/Checkbox.mjs.map +1 -1
- package/build/checkboxButton/CheckboxButton.js.map +1 -1
- package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
- package/build/checkboxOption/CheckboxOption.js +8 -0
- package/build/checkboxOption/CheckboxOption.js.map +1 -1
- package/build/checkboxOption/CheckboxOption.mjs +8 -0
- package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
- package/build/chevron/Chevron.js +0 -17
- package/build/chevron/Chevron.js.map +1 -1
- package/build/chevron/Chevron.mjs +0 -17
- package/build/chevron/Chevron.mjs.map +1 -1
- package/build/chips/Chip.js +0 -18
- package/build/chips/Chip.js.map +1 -1
- package/build/chips/Chip.mjs +0 -18
- package/build/chips/Chip.mjs.map +1 -1
- package/build/chips/Chips.js.map +1 -1
- package/build/chips/Chips.messages.js.map +1 -1
- package/build/chips/Chips.messages.mjs.map +1 -1
- package/build/chips/Chips.mjs.map +1 -1
- package/build/circularButton/CircularButton.js +0 -16
- package/build/circularButton/CircularButton.js.map +1 -1
- package/build/circularButton/CircularButton.mjs +0 -16
- package/build/circularButton/CircularButton.mjs.map +1 -1
- package/build/common/DOMOperations/DOMOperations.js +2 -0
- package/build/common/DOMOperations/DOMOperations.js.map +1 -1
- package/build/common/DOMOperations/DOMOperations.mjs +2 -0
- package/build/common/DOMOperations/DOMOperations.mjs.map +1 -1
- package/build/common/Option/Option.js.map +1 -1
- package/build/common/Option/Option.mjs.map +1 -1
- package/build/common/RadioButton/RadioButton.js.map +1 -1
- package/build/common/RadioButton/RadioButton.mjs.map +1 -1
- package/build/common/bottomSheet/BottomSheet.js +5 -0
- package/build/common/bottomSheet/BottomSheet.js.map +1 -1
- package/build/common/bottomSheet/BottomSheet.mjs +5 -0
- package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
- package/build/common/card/Card.js +21 -0
- package/build/common/card/Card.js.map +1 -1
- package/build/common/card/Card.mjs +21 -0
- package/build/common/card/Card.mjs.map +1 -1
- package/build/common/circle/Circle.js +4 -0
- package/build/common/circle/Circle.js.map +1 -1
- package/build/common/circle/Circle.mjs +4 -0
- package/build/common/circle/Circle.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.js +3 -0
- package/build/common/closeButton/CloseButton.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.mjs +3 -0
- package/build/common/closeButton/CloseButton.mjs.map +1 -1
- package/build/common/colors.js +1 -0
- package/build/common/colors.js.map +1 -1
- package/build/common/colors.mjs +1 -0
- package/build/common/colors.mjs.map +1 -1
- package/build/common/constants.js +1 -0
- package/build/common/constants.js.map +1 -1
- package/build/common/constants.mjs +1 -0
- package/build/common/constants.mjs.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.js.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.mjs.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.js.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.mjs.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.js.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.mjs.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.js.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.mjs.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.js.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.mjs.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.js.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.mjs.map +1 -1
- package/build/common/deviceDetection/deviceDetection.js.map +1 -1
- package/build/common/deviceDetection/deviceDetection.mjs.map +1 -1
- package/build/common/direction.js +5 -3
- package/build/common/direction.js.map +1 -1
- package/build/common/direction.mjs +3 -3
- package/build/common/direction.mjs.map +1 -1
- package/build/common/domHelpers/documentIosClick.js +3 -2
- package/build/common/domHelpers/documentIosClick.js.map +1 -1
- package/build/common/domHelpers/documentIosClick.mjs +3 -2
- package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
- package/build/common/fileType.js +5 -3
- package/build/common/fileType.js.map +1 -1
- package/build/common/fileType.mjs +3 -3
- package/build/common/fileType.mjs.map +1 -1
- package/build/common/flowHeader/FlowHeader.js +14 -14
- package/build/common/flowHeader/FlowHeader.js.map +1 -1
- package/build/common/flowHeader/FlowHeader.mjs.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.js.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.mjs.map +1 -1
- package/build/common/historyNavigator/historyNavigator.js.map +1 -1
- package/build/common/historyNavigator/historyNavigator.mjs.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.js.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.mjs.map +1 -1
- package/build/common/hooks/useDirection/useDirection.js.map +1 -1
- package/build/common/hooks/useDirection/useDirection.mjs.map +1 -1
- package/build/common/hooks/useEffectEvent.js +1 -0
- package/build/common/hooks/useEffectEvent.js.map +1 -1
- package/build/common/hooks/useEffectEvent.mjs +1 -0
- package/build/common/hooks/useEffectEvent.mjs.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.js +2 -0
- package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs +2 -0
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs.map +1 -1
- package/build/common/hooks/useLayout/useLayout.js.map +1 -1
- package/build/common/hooks/useLayout/useLayout.mjs.map +1 -1
- package/build/common/hooks/useMedia.js.map +1 -1
- package/build/common/hooks/useMedia.mjs.map +1 -1
- package/build/common/hooks/useResizeObserver.js.map +1 -1
- package/build/common/hooks/useResizeObserver.mjs.map +1 -1
- package/build/common/hooks/useScreenSize.js.map +1 -1
- package/build/common/hooks/useScreenSize.mjs.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.js.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.mjs.map +1 -1
- package/build/common/initials.js +20 -7
- package/build/common/initials.js.map +1 -1
- package/build/common/initials.mjs +20 -7
- package/build/common/initials.mjs.map +1 -1
- package/build/common/locale/index.js +6 -0
- package/build/common/locale/index.js.map +1 -1
- package/build/common/locale/index.mjs +6 -0
- package/build/common/locale/index.mjs.map +1 -1
- package/build/common/panel/Panel.js +2 -18
- package/build/common/panel/Panel.js.map +1 -1
- package/build/common/panel/Panel.mjs +2 -18
- package/build/common/panel/Panel.mjs.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js +3 -0
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs +3 -0
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs.map +1 -1
- package/build/common/preventScroll/PreventScroll.js.map +1 -1
- package/build/common/preventScroll/PreventScroll.mjs.map +1 -1
- package/build/common/propsValues/breakpoint.js +5 -3
- package/build/common/propsValues/breakpoint.js.map +1 -1
- package/build/common/propsValues/breakpoint.mjs +3 -3
- package/build/common/propsValues/breakpoint.mjs.map +1 -1
- package/build/common/propsValues/control.js +9 -6
- package/build/common/propsValues/control.js.map +1 -1
- package/build/common/propsValues/control.mjs +6 -6
- package/build/common/propsValues/control.mjs.map +1 -1
- package/build/common/propsValues/dateMode.js +5 -3
- package/build/common/propsValues/dateMode.js.map +1 -1
- package/build/common/propsValues/dateMode.mjs +3 -3
- package/build/common/propsValues/dateMode.mjs.map +1 -1
- package/build/common/propsValues/layouts.js +5 -3
- package/build/common/propsValues/layouts.js.map +1 -1
- package/build/common/propsValues/layouts.mjs +3 -3
- package/build/common/propsValues/layouts.mjs.map +1 -1
- package/build/common/propsValues/markdownNodeType.js +5 -3
- package/build/common/propsValues/markdownNodeType.js.map +1 -1
- package/build/common/propsValues/markdownNodeType.mjs +3 -3
- package/build/common/propsValues/markdownNodeType.mjs.map +1 -1
- package/build/common/propsValues/monthFormat.js +5 -3
- package/build/common/propsValues/monthFormat.js.map +1 -1
- package/build/common/propsValues/monthFormat.mjs +3 -3
- package/build/common/propsValues/monthFormat.mjs.map +1 -1
- package/build/common/propsValues/position.js +5 -3
- package/build/common/propsValues/position.js.map +1 -1
- package/build/common/propsValues/position.mjs +3 -3
- package/build/common/propsValues/position.mjs.map +1 -1
- package/build/common/propsValues/profileType.js +5 -3
- package/build/common/propsValues/profileType.js.map +1 -1
- package/build/common/propsValues/profileType.mjs +3 -3
- package/build/common/propsValues/profileType.mjs.map +1 -1
- package/build/common/propsValues/scroll.js +5 -3
- package/build/common/propsValues/scroll.js.map +1 -1
- package/build/common/propsValues/scroll.mjs +3 -3
- package/build/common/propsValues/scroll.mjs.map +1 -1
- package/build/common/propsValues/sentiment.js +5 -3
- package/build/common/propsValues/sentiment.js.map +1 -1
- package/build/common/propsValues/sentiment.mjs +3 -3
- package/build/common/propsValues/sentiment.mjs.map +1 -1
- package/build/common/propsValues/size.js +5 -3
- package/build/common/propsValues/size.js.map +1 -1
- package/build/common/propsValues/size.mjs +3 -3
- package/build/common/propsValues/size.mjs.map +1 -1
- package/build/common/propsValues/status.js +5 -3
- package/build/common/propsValues/status.js.map +1 -1
- package/build/common/propsValues/status.mjs +3 -3
- package/build/common/propsValues/status.mjs.map +1 -1
- package/build/common/propsValues/type.js +5 -3
- package/build/common/propsValues/type.js.map +1 -1
- package/build/common/propsValues/type.mjs +3 -3
- package/build/common/propsValues/type.mjs.map +1 -1
- package/build/common/propsValues/typography.js +9 -3
- package/build/common/propsValues/typography.js.map +1 -1
- package/build/common/propsValues/typography.mjs +7 -3
- package/build/common/propsValues/typography.mjs.map +1 -1
- package/build/common/propsValues/variant.js +5 -3
- package/build/common/propsValues/variant.js.map +1 -1
- package/build/common/propsValues/variant.mjs +3 -3
- package/build/common/propsValues/variant.mjs.map +1 -1
- package/build/common/propsValues/width.js +5 -3
- package/build/common/propsValues/width.js.map +1 -1
- package/build/common/propsValues/width.mjs +3 -3
- package/build/common/propsValues/width.mjs.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.js +0 -18
- package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.mjs +0 -18
- package/build/common/responsivePanel/ResponsivePanel.mjs.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.js.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.mjs.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.mjs.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.mjs.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.mjs.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.mjs.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.js.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.mjs.map +1 -1
- package/build/common/theme.js +5 -3
- package/build/common/theme.js.map +1 -1
- package/build/common/theme.mjs +3 -3
- package/build/common/theme.mjs.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- package/build/dateInput/DateInput.js +5 -15
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.messages.js.map +1 -1
- package/build/dateInput/DateInput.messages.mjs.map +1 -1
- package/build/dateInput/DateInput.mjs +5 -15
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +1 -0
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs +1 -0
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
- package/build/dateLookup/DateLookup.js +0 -15
- package/build/dateLookup/DateLookup.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.mjs.map +1 -1
- package/build/dateLookup/DateLookup.mjs +0 -15
- package/build/dateLookup/DateLookup.mjs.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.js +0 -18
- package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.mjs +0 -18
- package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.js +0 -16
- package/build/dateLookup/dateTrigger/DateTrigger.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.mjs +0 -16
- package/build/dateLookup/dateTrigger/DateTrigger.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.js.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js +1 -0
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs +1 -0
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.js.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.mjs.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.js.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.js.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.js.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.mjs.map +1 -1
- package/build/dateLookup/tableLink/TableLink.js.map +1 -1
- package/build/dateLookup/tableLink/TableLink.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.js.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.js.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.mjs.map +1 -1
- package/build/decision/Decision.js +13 -28
- package/build/decision/Decision.js.map +1 -1
- package/build/decision/Decision.mjs +6 -23
- package/build/decision/Decision.mjs.map +1 -1
- package/build/definitionList/DefinitionList.js +0 -18
- package/build/definitionList/DefinitionList.js.map +1 -1
- package/build/definitionList/DefinitionList.mjs +0 -18
- package/build/definitionList/DefinitionList.mjs.map +1 -1
- package/build/dimmer/Dimmer.js +1 -19
- package/build/dimmer/Dimmer.js.map +1 -1
- package/build/dimmer/Dimmer.mjs +1 -19
- package/build/dimmer/Dimmer.mjs.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.js.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.mjs.map +1 -1
- package/build/display/Display.js +0 -18
- package/build/display/Display.js.map +1 -1
- package/build/display/Display.mjs +0 -18
- package/build/display/Display.mjs.map +1 -1
- package/build/divider/Divider.js +9 -0
- package/build/divider/Divider.js.map +1 -1
- package/build/divider/Divider.mjs +9 -0
- package/build/divider/Divider.mjs.map +1 -1
- package/build/drawer/Drawer.js +0 -17
- package/build/drawer/Drawer.js.map +1 -1
- package/build/drawer/Drawer.mjs +0 -17
- package/build/drawer/Drawer.mjs.map +1 -1
- package/build/dropFade/DropFade.js.map +1 -1
- package/build/dropFade/DropFade.mjs.map +1 -1
- package/build/emphasis/Emphasis.js.map +1 -1
- package/build/emphasis/Emphasis.mjs.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.js +1 -0
- package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs +1 -0
- package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js +15 -0
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs +15 -0
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.js +5 -0
- package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs +5 -0
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.js +2 -0
- package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.mjs +2 -0
- package/build/expressiveMoneyInput/amountInput/utils.mjs.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.js.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.mjs.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.js.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.mjs.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
- package/build/field/Field.js +9 -22
- package/build/field/Field.js.map +1 -1
- package/build/field/Field.mjs +9 -22
- package/build/field/Field.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.js +0 -17
- package/build/flowNavigation/FlowNavigation.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.mjs +0 -17
- package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs.map +1 -1
- package/build/header/Header.js +8 -18
- package/build/header/Header.js.map +1 -1
- package/build/header/Header.mjs +8 -18
- package/build/header/Header.mjs.map +1 -1
- package/build/i18n/commonMessages/Button.messages.js.map +1 -1
- package/build/i18n/commonMessages/Button.messages.mjs.map +1 -1
- package/build/i18n/index.js.map +1 -1
- package/build/i18n/index.mjs.map +1 -1
- package/build/iconButton/IconButton.js.map +1 -1
- package/build/iconButton/IconButton.mjs.map +1 -1
- package/build/image/Image.js +1 -1
- package/build/image/Image.js.map +1 -1
- package/build/image/Image.mjs +1 -1
- package/build/image/Image.mjs.map +1 -1
- package/build/index.js +27 -108
- package/build/index.js.map +1 -1
- package/build/info/Info.js +0 -17
- package/build/info/Info.js.map +1 -1
- package/build/info/Info.messages.js.map +1 -1
- package/build/info/Info.messages.mjs.map +1 -1
- package/build/info/Info.mjs +0 -17
- package/build/info/Info.mjs.map +1 -1
- package/build/info/infoPresentations.js +5 -3
- package/build/info/infoPresentations.js.map +1 -1
- package/build/info/infoPresentations.mjs +3 -3
- package/build/info/infoPresentations.mjs.map +1 -1
- package/build/inlineAlert/InlineAlert.js +2 -24
- package/build/inlineAlert/InlineAlert.js.map +1 -1
- package/build/inlineAlert/InlineAlert.mjs +2 -24
- package/build/inlineAlert/InlineAlert.mjs.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.js.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.mjs.map +1 -1
- package/build/inputs/Input.js.map +1 -1
- package/build/inputs/Input.mjs.map +1 -1
- package/build/inputs/InputGroup.js.map +1 -1
- package/build/inputs/InputGroup.mjs.map +1 -1
- package/build/inputs/SearchInput.js +0 -18
- package/build/inputs/SearchInput.js.map +1 -1
- package/build/inputs/SearchInput.mjs +0 -18
- package/build/inputs/SearchInput.mjs.map +1 -1
- package/build/inputs/SelectInput.js +5 -0
- package/build/inputs/SelectInput.js.map +1 -1
- package/build/inputs/SelectInput.messages.js.map +1 -1
- package/build/inputs/SelectInput.messages.mjs.map +1 -1
- package/build/inputs/SelectInput.mjs +5 -0
- package/build/inputs/SelectInput.mjs.map +1 -1
- package/build/inputs/TextArea.js.map +1 -1
- package/build/inputs/TextArea.mjs.map +1 -1
- package/build/inputs/_BottomSheet.js.map +1 -1
- package/build/inputs/_BottomSheet.mjs.map +1 -1
- package/build/inputs/_ButtonInput.js.map +1 -1
- package/build/inputs/_ButtonInput.mjs.map +1 -1
- package/build/inputs/_Popover.js.map +1 -1
- package/build/inputs/_Popover.mjs.map +1 -1
- package/build/inputs/_common.js.map +1 -1
- package/build/inputs/_common.mjs.map +1 -1
- package/build/inputs/contexts.js.map +1 -1
- package/build/inputs/contexts.mjs.map +1 -1
- package/build/instructionsList/InstructionsList.js +0 -18
- package/build/instructionsList/InstructionsList.js.map +1 -1
- package/build/instructionsList/InstructionsList.mjs +0 -18
- package/build/instructionsList/InstructionsList.mjs.map +1 -1
- package/build/label/Label.js +10 -0
- package/build/label/Label.js.map +1 -1
- package/build/label/Label.messages.js.map +1 -1
- package/build/label/Label.messages.mjs.map +1 -1
- package/build/label/Label.mjs +10 -0
- package/build/label/Label.mjs.map +1 -1
- package/build/legacylistItem/LegacyListItem.js +8 -0
- package/build/legacylistItem/LegacyListItem.js.map +1 -1
- package/build/legacylistItem/LegacyListItem.mjs +8 -0
- package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
- package/build/link/Link.js +5 -18
- package/build/link/Link.js.map +1 -1
- package/build/link/Link.messages.js.map +1 -1
- package/build/link/Link.messages.mjs.map +1 -1
- package/build/link/Link.mjs +5 -18
- package/build/link/Link.mjs.map +1 -1
- package/build/list/List.js.map +1 -1
- package/build/list/List.mjs.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +0 -18
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +0 -18
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +7 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +7 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.js +7 -0
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.mjs +7 -0
- package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
- package/build/listItem/Button/ListItemButton.js +7 -0
- package/build/listItem/Button/ListItemButton.js.map +1 -1
- package/build/listItem/Button/ListItemButton.mjs +7 -0
- package/build/listItem/Button/ListItemButton.mjs.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.js +7 -0
- package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.mjs +7 -0
- package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.js +7 -0
- package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.mjs +7 -0
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
- package/build/listItem/Image/ListItemImage.js +9 -0
- package/build/listItem/Image/ListItemImage.js.map +1 -1
- package/build/listItem/Image/ListItemImage.mjs +9 -0
- package/build/listItem/Image/ListItemImage.mjs.map +1 -1
- package/build/listItem/ListItem.js +7 -17
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs +7 -17
- package/build/listItem/ListItem.mjs.map +1 -1
- package/build/listItem/ListItemContext.js.map +1 -1
- package/build/listItem/ListItemContext.mjs.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.js +8 -0
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs +8 -0
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.js +8 -20
- package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs +8 -20
- package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
- package/build/listItem/Radio/ListItemRadio.js +7 -0
- package/build/listItem/Radio/ListItemRadio.js.map +1 -1
- package/build/listItem/Radio/ListItemRadio.mjs +7 -0
- package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.js +7 -0
- package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.mjs +7 -0
- package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -1
- package/build/listItem/useListItemControl.js.map +1 -1
- package/build/listItem/useListItemControl.mjs.map +1 -1
- package/build/listItem/useListItemMedia.js.map +1 -1
- package/build/listItem/useListItemMedia.mjs.map +1 -1
- package/build/loader/Loader.js +10 -18
- package/build/loader/Loader.js.map +1 -1
- package/build/loader/Loader.mjs +10 -18
- package/build/loader/Loader.mjs.map +1 -1
- package/build/logo/Logo.js +4 -3
- package/build/logo/Logo.js.map +1 -1
- package/build/logo/Logo.mjs +3 -3
- package/build/logo/Logo.mjs.map +1 -1
- package/build/logo/logo-assets.js.map +1 -1
- package/build/logo/logo-assets.mjs.map +1 -1
- package/build/main.css +20 -1
- package/build/markdown/Markdown.js +14 -32
- package/build/markdown/Markdown.js.map +1 -1
- package/build/markdown/Markdown.mjs +0 -18
- package/build/markdown/Markdown.mjs.map +1 -1
- package/build/mocks.js.map +1 -1
- package/build/mocks.mjs.map +1 -1
- package/build/modal/Modal.js +0 -15
- package/build/modal/Modal.js.map +1 -1
- package/build/modal/Modal.mjs +0 -15
- package/build/modal/Modal.mjs.map +1 -1
- package/build/money/Money.js.map +1 -1
- package/build/money/Money.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.js +0 -17
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +0 -17
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/moneyInput/currencyFormatting.js +2 -2
- package/build/moneyInput/currencyFormatting.js.map +1 -1
- package/build/moneyInput/currencyFormatting.mjs.map +1 -1
- package/build/navigationOption/NavigationOption.js +8 -18
- package/build/navigationOption/NavigationOption.js.map +1 -1
- package/build/navigationOption/NavigationOption.mjs +8 -18
- package/build/navigationOption/NavigationOption.mjs.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.js +9 -0
- package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.mjs +9 -0
- package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
- package/build/nudge/Nudge.js +1 -18
- package/build/nudge/Nudge.js.map +1 -1
- package/build/nudge/Nudge.mjs +1 -18
- package/build/nudge/Nudge.mjs.map +1 -1
- package/build/overlayHeader/OverlayHeader.js +0 -18
- package/build/overlayHeader/OverlayHeader.js.map +1 -1
- package/build/overlayHeader/OverlayHeader.mjs +0 -18
- package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +3 -19
- package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs +3 -19
- package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/phoneNumberInput/data/countries.js.map +1 -1
- package/build/phoneNumberInput/data/countries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js +1 -0
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs +1 -0
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.js.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.mjs.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js +1 -0
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs +1 -0
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.mjs.map +1 -1
- package/build/popover/Popover.js +0 -17
- package/build/popover/Popover.js.map +1 -1
- package/build/popover/Popover.mjs +0 -17
- package/build/popover/Popover.mjs.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js +10 -0
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs +10 -0
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.js +10 -0
- package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs +10 -0
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
- package/build/processIndicator/ProcessIndicator.js +3 -18
- package/build/processIndicator/ProcessIndicator.js.map +1 -1
- package/build/processIndicator/ProcessIndicator.mjs +3 -18
- package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
- package/build/progress/Progress.js.map +1 -1
- package/build/progress/Progress.mjs.map +1 -1
- package/build/progressBar/ProgressBar.js +0 -18
- package/build/progressBar/ProgressBar.js.map +1 -1
- package/build/progressBar/ProgressBar.mjs +0 -18
- package/build/progressBar/ProgressBar.mjs.map +1 -1
- package/build/promoCard/PromoCard.js +47 -18
- package/build/promoCard/PromoCard.js.map +1 -1
- package/build/promoCard/PromoCard.mjs +47 -18
- package/build/promoCard/PromoCard.mjs.map +1 -1
- package/build/promoCard/PromoCardContext.js +11 -0
- package/build/promoCard/PromoCardContext.js.map +1 -1
- package/build/promoCard/PromoCardContext.mjs +11 -0
- package/build/promoCard/PromoCardContext.mjs.map +1 -1
- package/build/promoCard/PromoCardGroup.js +21 -0
- package/build/promoCard/PromoCardGroup.js.map +1 -1
- package/build/promoCard/PromoCardGroup.mjs +21 -0
- package/build/promoCard/PromoCardGroup.mjs.map +1 -1
- package/build/promoCard/PromoCardIndicator.js +16 -18
- package/build/promoCard/PromoCardIndicator.js.map +1 -1
- package/build/promoCard/PromoCardIndicator.mjs +16 -18
- package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js +12 -22
- package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs +12 -22
- package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
- package/build/provider/Provider.js +0 -19
- package/build/provider/Provider.js.map +1 -1
- package/build/provider/Provider.mjs +0 -19
- package/build/provider/Provider.mjs.map +1 -1
- package/build/provider/direction/DirectionProvider.js.map +1 -1
- package/build/provider/direction/DirectionProvider.mjs.map +1 -1
- package/build/provider/language/LanguageProvider.js.map +1 -1
- package/build/provider/language/LanguageProvider.mjs.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.js.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.mjs.map +1 -1
- package/build/radio/Radio.js +0 -18
- package/build/radio/Radio.js.map +1 -1
- package/build/radio/Radio.mjs +0 -18
- package/build/radio/Radio.mjs.map +1 -1
- package/build/radioGroup/RadioGroup.js +1 -0
- package/build/radioGroup/RadioGroup.js.map +1 -1
- package/build/radioGroup/RadioGroup.mjs +1 -0
- package/build/radioGroup/RadioGroup.mjs.map +1 -1
- package/build/radioOption/RadioOption.js +8 -0
- package/build/radioOption/RadioOption.js.map +1 -1
- package/build/radioOption/RadioOption.mjs +8 -0
- package/build/radioOption/RadioOption.mjs.map +1 -1
- package/build/section/Section.js +5 -0
- package/build/section/Section.js.map +1 -1
- package/build/section/Section.mjs +5 -0
- package/build/section/Section.mjs.map +1 -1
- package/build/segmentedControl/SegmentedControl.js +2 -18
- package/build/segmentedControl/SegmentedControl.js.map +1 -1
- package/build/segmentedControl/SegmentedControl.mjs +2 -18
- package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
- package/build/select/Select.js +3 -18
- package/build/select/Select.js.map +1 -1
- package/build/select/Select.messages.js.map +1 -1
- package/build/select/Select.messages.mjs.map +1 -1
- package/build/select/Select.mjs +3 -18
- package/build/select/Select.mjs.map +1 -1
- package/build/select/option/Option.js +0 -18
- package/build/select/option/Option.js.map +1 -1
- package/build/select/option/Option.mjs +0 -18
- package/build/select/option/Option.mjs.map +1 -1
- package/build/select/searchBox/SearchBox.js.map +1 -1
- package/build/select/searchBox/SearchBox.mjs.map +1 -1
- package/build/sentimentSurface/SentimentSurface.js +28 -0
- package/build/sentimentSurface/SentimentSurface.js.map +1 -1
- package/build/sentimentSurface/SentimentSurface.mjs +28 -0
- package/build/sentimentSurface/SentimentSurface.mjs.map +1 -1
- package/build/slidingPanel/SlidingPanel.js.map +1 -1
- package/build/slidingPanel/SlidingPanel.mjs.map +1 -1
- package/build/snackbar/Snackbar.js.map +1 -1
- package/build/snackbar/Snackbar.mjs.map +1 -1
- package/build/snackbar/SnackbarContext.js.map +1 -1
- package/build/snackbar/SnackbarContext.mjs.map +1 -1
- package/build/snackbar/SnackbarProvider.js.map +1 -1
- package/build/snackbar/SnackbarProvider.mjs.map +1 -1
- package/build/snackbar/useSnackbar.js.map +1 -1
- package/build/snackbar/useSnackbar.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.js +0 -15
- package/build/statusIcon/StatusIcon.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.mjs +0 -15
- package/build/statusIcon/StatusIcon.mjs.map +1 -1
- package/build/stepper/Stepper.js +0 -18
- package/build/stepper/Stepper.js.map +1 -1
- package/build/stepper/Stepper.mjs +0 -18
- package/build/stepper/Stepper.mjs.map +1 -1
- package/build/stepper/deviceDetection.js.map +1 -1
- package/build/stepper/deviceDetection.mjs.map +1 -1
- package/build/sticky/Sticky.js +22 -18
- package/build/sticky/Sticky.js.map +1 -1
- package/build/sticky/Sticky.mjs +22 -18
- package/build/sticky/Sticky.mjs.map +1 -1
- package/build/styles/field/Field.css +10 -1
- package/build/styles/main.css +20 -1
- package/build/styles/prompt/InlinePrompt/InlinePrompt.css +3 -0
- package/build/styles/radioGroup/RadioGroup.css +3 -0
- package/build/styles/typeahead/Typeahead.css +4 -0
- package/build/summary/Summary.js +0 -16
- package/build/summary/Summary.js.map +1 -1
- package/build/summary/Summary.messages.js.map +1 -1
- package/build/summary/Summary.messages.mjs.map +1 -1
- package/build/summary/Summary.mjs +0 -16
- package/build/summary/Summary.mjs.map +1 -1
- package/build/switch/Switch.js.map +1 -1
- package/build/switch/Switch.mjs.map +1 -1
- package/build/switchOption/SwitchOption.js +1 -0
- package/build/switchOption/SwitchOption.js.map +1 -1
- package/build/switchOption/SwitchOption.mjs +1 -0
- package/build/switchOption/SwitchOption.mjs.map +1 -1
- package/build/table/Table.js +1 -17
- package/build/table/Table.js.map +1 -1
- package/build/table/Table.messages.js.map +1 -1
- package/build/table/Table.messages.mjs.map +1 -1
- package/build/table/Table.mjs +1 -17
- package/build/table/Table.mjs.map +1 -1
- package/build/table/TableCell.js.map +1 -1
- package/build/table/TableCell.mjs.map +1 -1
- package/build/table/TableHeader.js +1 -0
- package/build/table/TableHeader.js.map +1 -1
- package/build/table/TableHeader.mjs +1 -0
- package/build/table/TableHeader.mjs.map +1 -1
- package/build/table/TableRow.js +0 -18
- package/build/table/TableRow.js.map +1 -1
- package/build/table/TableRow.mjs +0 -18
- package/build/table/TableRow.mjs.map +1 -1
- package/build/table/TableStatusText.js +0 -18
- package/build/table/TableStatusText.js.map +1 -1
- package/build/table/TableStatusText.mjs +0 -18
- package/build/table/TableStatusText.mjs.map +1 -1
- package/build/tabs/Tab.js.map +1 -1
- package/build/tabs/Tab.mjs.map +1 -1
- package/build/tabs/TabList.js.map +1 -1
- package/build/tabs/TabList.mjs.map +1 -1
- package/build/tabs/TabPanel.js.map +1 -1
- package/build/tabs/TabPanel.mjs.map +1 -1
- package/build/tabs/Tabs.js +3 -17
- package/build/tabs/Tabs.js.map +1 -1
- package/build/tabs/Tabs.mjs +3 -17
- package/build/tabs/Tabs.mjs.map +1 -1
- package/build/tabs/utils.js +1 -0
- package/build/tabs/utils.js.map +1 -1
- package/build/tabs/utils.mjs +1 -0
- package/build/tabs/utils.mjs.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.mjs.map +1 -1
- package/build/tile/Tile.js +0 -18
- package/build/tile/Tile.js.map +1 -1
- package/build/tile/Tile.mjs +0 -18
- package/build/tile/Tile.mjs.map +1 -1
- package/build/title/Title.js +0 -18
- package/build/title/Title.js.map +1 -1
- package/build/title/Title.mjs +0 -18
- package/build/title/Title.mjs.map +1 -1
- package/build/tooltip/Tooltip.js +1 -18
- package/build/tooltip/Tooltip.js.map +1 -1
- package/build/tooltip/Tooltip.mjs +1 -18
- package/build/tooltip/Tooltip.mjs.map +1 -1
- package/build/typeahead/Typeahead.js +20 -24
- package/build/typeahead/Typeahead.js.map +1 -1
- package/build/typeahead/Typeahead.messages.js.map +1 -1
- package/build/typeahead/Typeahead.messages.mjs.map +1 -1
- package/build/typeahead/Typeahead.mjs +20 -24
- package/build/typeahead/Typeahead.mjs.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.js.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.mjs.map +1 -1
- package/build/typeahead/util/highlight.js.map +1 -1
- package/build/typeahead/util/highlight.mjs.map +1 -1
- package/build/types/components/src/accordion/Accordion.d.ts.map +1 -0
- package/build/types/components/src/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/build/types/components/src/accordion/AccordionItem/index.d.ts.map +1 -0
- package/build/types/components/src/accordion/index.d.ts.map +1 -0
- package/build/types/components/src/actionButton/ActionButton.d.ts.map +1 -0
- package/build/types/components/src/actionButton/index.d.ts.map +1 -0
- package/build/types/components/src/actionOption/ActionOption.d.ts.map +1 -0
- package/build/types/components/src/actionOption/index.d.ts.map +1 -0
- package/build/types/components/src/alert/Alert.d.ts +51 -0
- package/build/types/components/src/alert/Alert.d.ts.map +1 -0
- package/build/types/components/src/alert/index.d.ts.map +1 -0
- package/build/types/components/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
- package/build/types/components/src/alert/inlineMarkdown/index.d.ts.map +1 -0
- package/build/types/components/src/avatar/Avatar.d.ts.map +1 -0
- package/build/types/components/src/avatar/avatarTypes.d.ts.map +1 -0
- package/build/types/components/src/avatar/index.d.ts.map +1 -0
- package/build/types/components/src/avatarLayout/AvatarLayout.d.ts.map +1 -0
- package/build/types/components/src/avatarLayout/index.d.ts.map +1 -0
- package/build/types/components/src/avatarView/AvatarView.d.ts.map +1 -0
- package/build/types/components/src/avatarView/Dot.d.ts.map +1 -0
- package/build/types/components/src/avatarView/index.d.ts.map +1 -0
- package/build/types/components/src/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
- package/build/types/components/src/avatarWrapper/index.d.ts.map +1 -0
- package/build/types/components/src/badge/Badge.d.ts.map +1 -0
- package/build/types/components/src/badge/BadgeAssets.d.ts.map +1 -0
- package/build/types/components/src/badge/index.d.ts.map +1 -0
- package/build/types/components/src/body/Body.d.ts.map +1 -0
- package/build/types/components/src/body/index.d.ts.map +1 -0
- package/build/types/components/src/button/Button.d.ts.map +1 -0
- package/build/types/components/src/button/Button.resolver.d.ts.map +1 -0
- package/build/types/components/src/button/Button.types.d.ts.map +1 -0
- package/build/types/components/src/button/LegacyButton.d.ts.map +1 -0
- package/build/types/components/src/button/_stories/helpers.d.ts.map +1 -0
- package/build/types/components/src/button/classMap.d.ts.map +1 -0
- package/build/types/components/src/button/index.d.ts.map +1 -0
- package/build/types/components/src/button/legacyUtils/index.d.ts.map +1 -0
- package/build/types/components/src/button/legacyUtils/legacyUtils.d.ts.map +1 -0
- package/build/types/components/src/card/Card.d.ts.map +1 -0
- package/build/types/components/src/card/index.d.ts.map +1 -0
- package/build/types/components/src/carousel/Carousel.d.ts.map +1 -0
- package/build/types/components/src/carousel/index.d.ts.map +1 -0
- package/build/types/components/src/checkbox/Checkbox.d.ts.map +1 -0
- package/build/types/components/src/checkbox/index.d.ts.map +1 -0
- package/build/types/components/src/checkboxButton/CheckboxButton.d.ts.map +1 -0
- package/build/types/components/src/checkboxButton/index.d.ts.map +1 -0
- package/build/types/components/src/checkboxOption/CheckboxOption.d.ts.map +1 -0
- package/build/types/components/src/checkboxOption/index.d.ts.map +1 -0
- package/build/types/components/src/chevron/Chevron.d.ts.map +1 -0
- package/build/types/components/src/chevron/index.d.ts.map +1 -0
- package/build/types/components/src/chips/Chip.d.ts.map +1 -0
- package/build/types/components/src/chips/Chips.d.ts.map +1 -0
- package/build/types/components/src/chips/Chips.messages.d.ts.map +1 -0
- package/build/types/components/src/chips/index.d.ts.map +1 -0
- package/build/types/components/src/circularButton/CircularButton.d.ts.map +1 -0
- package/build/types/components/src/circularButton/index.d.ts.map +1 -0
- package/build/types/components/src/common/DOMOperations/DOMOperations.d.ts.map +1 -0
- package/build/types/components/src/common/DOMOperations/index.d.ts.map +1 -0
- package/build/types/components/src/common/Option/Option.d.ts.map +1 -0
- package/build/types/components/src/common/Option/index.d.ts.map +1 -0
- package/build/types/components/src/common/RadioButton/RadioButton.d.ts.map +1 -0
- package/build/types/components/src/common/RadioButton/index.d.ts.map +1 -0
- package/build/types/components/src/common/bottomSheet/BottomSheet.d.ts.map +1 -0
- package/build/types/components/src/common/bottomSheet/index.d.ts.map +1 -0
- package/build/types/components/src/common/card/Card.d.ts.map +1 -0
- package/build/types/components/src/common/card/index.d.ts.map +1 -0
- package/build/types/components/src/common/circle/Circle.d.ts.map +1 -0
- package/build/types/components/src/common/circle/index.d.ts.map +1 -0
- package/build/types/components/src/common/closeButton/CloseButton.d.ts.map +1 -0
- package/build/types/components/src/common/closeButton/CloseButton.messages.d.ts.map +1 -0
- package/build/types/components/src/common/closeButton/index.d.ts.map +1 -0
- package/build/types/components/src/common/colors.d.ts.map +1 -0
- package/build/types/components/src/common/commonProps.d.ts.map +1 -0
- package/build/types/components/src/common/constants.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/index.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
- package/build/types/components/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
- package/build/types/components/src/common/deviceDetection/deviceDetection.d.ts.map +1 -0
- package/build/types/components/src/common/deviceDetection/index.d.ts.map +1 -0
- package/build/types/components/src/common/direction.d.ts.map +1 -0
- package/build/types/components/src/common/domHelpers/documentIosClick.d.ts.map +1 -0
- package/build/types/components/src/common/domHelpers/index.d.ts.map +1 -0
- package/build/types/components/src/common/fakeEvents.d.ts.map +1 -0
- package/build/types/components/src/common/fileType.d.ts.map +1 -0
- package/build/types/components/src/common/flowHeader/FlowHeader.d.ts.map +1 -0
- package/build/types/components/src/common/flowHeader/index.d.ts.map +1 -0
- package/build/types/components/src/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
- package/build/types/components/src/common/focusBoundary/index.d.ts.map +1 -0
- package/build/types/components/src/common/historyNavigator/historyNavigator.d.ts.map +1 -0
- package/build/types/components/src/common/historyNavigator/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useConditionalListener/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useDirection/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useDirection/useDirection.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useEffectEvent.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useHasIntersected/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useLayout/index.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useLayout/useLayout.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useMedia.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useResizeObserver.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useScreenSize.d.ts.map +1 -0
- package/build/types/components/src/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
- package/build/types/components/src/common/index.d.ts.map +1 -0
- package/build/types/components/src/common/initials.d.ts.map +1 -0
- package/build/types/components/src/common/locale/index.d.ts.map +1 -0
- package/build/types/components/src/common/panel/Panel.d.ts.map +1 -0
- package/build/types/components/src/common/panel/index.d.ts.map +1 -0
- package/build/types/components/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
- package/build/types/components/src/common/preventScroll/PreventScroll.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/breakpoint.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/control.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/dateMode.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/layouts.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/markdownNodeType.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/monthFormat.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/position.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/profileType.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/scroll.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/sentiment.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/size.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/status.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/type.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/typography.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/variant.d.ts.map +1 -0
- package/build/types/components/src/common/propsValues/width.d.ts.map +1 -0
- package/build/types/components/src/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
- package/build/types/components/src/common/responsivePanel/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
- package/build/types/components/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
- package/build/types/components/src/common/theme.d.ts.map +1 -0
- package/build/types/components/src/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
- package/build/types/components/src/criticalBanner/index.d.ts.map +1 -0
- package/build/types/components/src/dateInput/DateInput.d.ts.map +1 -0
- package/build/types/components/src/dateInput/DateInput.messages.d.ts.map +1 -0
- package/build/types/components/src/dateInput/index.d.ts.map +1 -0
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
- package/build/types/components/src/dateInput/utils/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/DateLookup.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/DateLookup.messages.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateHeader/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dateTrigger/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dayCalendar/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/getStartOfDay/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/monthCalendar/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/tableLink/TableLink.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/tableLink/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/yearCalendar/index.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
- package/build/types/components/src/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
- package/build/types/components/src/decision/Decision.d.ts.map +1 -0
- package/build/types/components/src/decision/index.d.ts.map +1 -0
- package/build/types/components/src/definitionList/DefinitionList.d.ts.map +1 -0
- package/build/types/components/src/definitionList/index.d.ts.map +1 -0
- package/build/types/components/src/dimmer/Dimmer.d.ts.map +1 -0
- package/build/types/components/src/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
- package/build/types/components/src/dimmer/dimmerManager/index.d.ts.map +1 -0
- package/build/types/components/src/dimmer/index.d.ts.map +1 -0
- package/build/types/components/src/display/Display.d.ts.map +1 -0
- package/build/types/components/src/display/index.d.ts.map +1 -0
- package/build/types/components/src/divider/Divider.d.ts.map +1 -0
- package/build/types/components/src/divider/index.d.ts.map +1 -0
- package/build/types/components/src/drawer/Drawer.d.ts.map +1 -0
- package/build/types/components/src/drawer/index.d.ts.map +1 -0
- package/build/types/components/src/dropFade/DropFade.d.ts.map +1 -0
- package/build/types/components/src/dropFade/index.d.ts.map +1 -0
- package/build/types/components/src/emphasis/Emphasis.d.ts.map +1 -0
- package/build/types/components/src/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
- package/build/types/components/src/emphasis/index.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
- package/build/types/components/src/expressiveMoneyInput/index.d.ts.map +1 -0
- package/build/types/components/src/field/Field.d.ts +28 -0
- package/build/types/components/src/field/Field.d.ts.map +1 -0
- package/build/types/components/src/flowNavigation/FlowNavigation.d.ts.map +1 -0
- package/build/types/components/src/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
- package/build/types/components/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
- package/build/types/components/src/flowNavigation/animatedLabel/index.d.ts.map +1 -0
- package/build/types/components/src/header/Header.d.ts.map +1 -0
- package/build/types/components/src/header/index.d.ts.map +1 -0
- package/build/types/components/src/i18n/commonMessages/Button.messages.d.ts.map +1 -0
- package/build/types/components/src/i18n/index.d.ts.map +1 -0
- package/build/types/components/src/iconButton/IconButton.d.ts.map +1 -0
- package/build/types/components/src/iconButton/index.d.ts.map +1 -0
- package/build/types/components/src/image/Image.d.ts.map +1 -0
- package/build/types/components/src/image/index.d.ts.map +1 -0
- package/build/types/components/src/index.d.ts.map +1 -0
- package/build/types/components/src/info/Info.d.ts.map +1 -0
- package/build/types/components/src/info/Info.messages.d.ts.map +1 -0
- package/build/types/components/src/info/index.d.ts.map +1 -0
- package/build/types/components/src/info/infoPresentations.d.ts.map +1 -0
- package/build/types/components/src/inlineAlert/InlineAlert.d.ts +14 -0
- package/build/types/components/src/inlineAlert/InlineAlert.d.ts.map +1 -0
- package/build/types/components/src/inlineAlert/index.d.ts.map +1 -0
- package/build/types/components/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
- package/build/types/components/src/inputWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/components/src/inputs/Input.d.ts.map +1 -0
- package/build/types/components/src/inputs/InputGroup.d.ts.map +1 -0
- package/build/types/components/src/inputs/SearchInput.d.ts.map +1 -0
- package/build/types/components/src/inputs/SelectInput.d.ts.map +1 -0
- package/build/types/components/src/inputs/SelectInput.messages.d.ts.map +1 -0
- package/build/types/components/src/inputs/TextArea.d.ts.map +1 -0
- package/build/types/components/src/inputs/_BottomSheet.d.ts.map +1 -0
- package/build/types/components/src/inputs/_ButtonInput.d.ts.map +1 -0
- package/build/types/components/src/inputs/_Popover.d.ts.map +1 -0
- package/build/types/components/src/inputs/_common.d.ts.map +1 -0
- package/build/types/components/src/inputs/contexts.d.ts.map +1 -0
- package/build/types/components/src/instructionsList/InstructionsList.d.ts.map +1 -0
- package/build/types/components/src/instructionsList/index.d.ts.map +1 -0
- package/build/types/components/src/label/Label.d.ts.map +1 -0
- package/build/types/components/src/label/Label.messages.d.ts.map +1 -0
- package/build/types/components/src/label/index.d.ts.map +1 -0
- package/build/types/components/src/legacylistItem/LegacyListItem.d.ts.map +1 -0
- package/build/types/components/src/legacylistItem/index.d.ts.map +1 -0
- package/build/types/components/src/link/Link.d.ts.map +1 -0
- package/build/types/components/src/link/Link.messages.d.ts.map +1 -0
- package/build/types/components/src/link/index.d.ts.map +1 -0
- package/build/types/components/src/list/List.d.ts.map +1 -0
- package/build/types/components/src/list/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/components/src/listItem/AdditionalInfo/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
- package/build/types/components/src/listItem/AvatarLayout/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
- package/build/types/components/src/listItem/AvatarView/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Button/ListItemButton.d.ts.map +1 -0
- package/build/types/components/src/listItem/Button/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/components/src/listItem/Checkbox/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
- package/build/types/components/src/listItem/IconButton/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Image/ListItemImage.d.ts.map +1 -0
- package/build/types/components/src/listItem/Image/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/ListItem.d.ts +120 -0
- package/build/types/components/src/listItem/ListItem.d.ts.map +1 -0
- package/build/types/components/src/listItem/ListItemContext.d.ts.map +1 -0
- package/build/types/components/src/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
- package/build/types/components/src/listItem/Navigation/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts +14 -0
- package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
- package/build/types/components/src/listItem/Prompt/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Radio/ListItemRadio.d.ts.map +1 -0
- package/build/types/components/src/listItem/Radio/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
- package/build/types/components/src/listItem/Switch/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/_stories/helpers.d.ts.map +1 -0
- package/build/types/components/src/listItem/_stories/subcomponents.d.ts.map +1 -0
- package/build/types/components/src/listItem/_stories/variants/helpers.d.ts +11 -0
- package/build/types/components/src/listItem/_stories/variants/helpers.d.ts.map +1 -0
- package/build/types/components/src/listItem/constants.d.ts.map +1 -0
- package/build/types/components/src/listItem/index.d.ts.map +1 -0
- package/build/types/components/src/listItem/test-utils.d.ts.map +1 -0
- package/build/types/components/src/listItem/useListItemControl.d.ts.map +1 -0
- package/build/types/components/src/listItem/useListItemMedia.d.ts.map +1 -0
- package/build/types/components/src/loader/Loader.d.ts.map +1 -0
- package/build/types/components/src/loader/index.d.ts.map +1 -0
- package/build/types/components/src/logo/Logo.d.ts.map +1 -0
- package/build/types/components/src/logo/index.d.ts.map +1 -0
- package/build/types/components/src/logo/logo-assets.d.ts.map +1 -0
- package/build/types/components/src/markdown/Markdown.d.ts.map +1 -0
- package/build/types/components/src/markdown/index.d.ts.map +1 -0
- package/build/types/components/src/mocks.d.ts.map +1 -0
- package/build/types/components/src/modal/Modal.d.ts.map +1 -0
- package/build/types/components/src/modal/index.d.ts.map +1 -0
- package/build/types/components/src/money/Money.d.ts.map +1 -0
- package/build/types/components/src/money/index.d.ts.map +1 -0
- package/build/types/components/src/moneyInput/MoneyInput.d.ts.map +1 -0
- package/build/types/components/src/moneyInput/MoneyInput.messages.d.ts.map +1 -0
- package/build/types/components/src/moneyInput/currencyFormatting.d.ts.map +1 -0
- package/build/types/components/src/moneyInput/index.d.ts.map +1 -0
- package/build/types/components/src/navigationOption/NavigationOption.d.ts.map +1 -0
- package/build/types/components/src/navigationOption/index.d.ts.map +1 -0
- package/build/types/components/src/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
- package/build/types/components/src/navigationOptionsList/index.d.ts.map +1 -0
- package/build/types/components/src/nudge/Nudge.d.ts.map +1 -0
- package/build/types/components/src/nudge/index.d.ts.map +1 -0
- package/build/types/components/src/overlayHeader/OverlayHeader.d.ts.map +1 -0
- package/build/types/components/src/overlayHeader/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/data/countries.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
- package/build/types/components/src/popover/Popover.d.ts.map +1 -0
- package/build/types/components/src/popover/index.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
- package/build/types/components/src/primitives/PrimitiveButton/index.d.ts.map +1 -0
- package/build/types/components/src/primitives/index.d.ts.map +1 -0
- package/build/types/components/src/primitives/types.d.ts.map +1 -0
- package/build/types/components/src/processIndicator/ProcessIndicator.d.ts.map +1 -0
- package/build/types/components/src/processIndicator/index.d.ts.map +1 -0
- package/build/types/components/src/progress/Progress.d.ts.map +1 -0
- package/build/types/components/src/progress/index.d.ts.map +1 -0
- package/build/types/components/src/progressBar/ProgressBar.d.ts.map +1 -0
- package/build/types/components/src/progressBar/index.d.ts.map +1 -0
- package/build/types/components/src/promoCard/PromoCard.d.ts.map +1 -0
- package/build/types/components/src/promoCard/PromoCardContext.d.ts.map +1 -0
- package/build/types/components/src/promoCard/PromoCardGroup.d.ts.map +1 -0
- package/build/types/components/src/promoCard/PromoCardIndicator.d.ts.map +1 -0
- package/build/types/components/src/promoCard/index.d.ts.map +1 -0
- package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts +44 -0
- package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
- package/build/types/components/src/prompt/InlinePrompt/index.d.ts.map +1 -0
- package/build/types/components/src/prompt/index.d.ts.map +1 -0
- package/build/types/components/src/provider/Provider.d.ts.map +1 -0
- package/build/types/components/src/provider/direction/DirectionProvider.d.ts.map +1 -0
- package/build/types/components/src/provider/direction/index.d.ts.map +1 -0
- package/build/types/components/src/provider/index.d.ts.map +1 -0
- package/build/types/components/src/provider/language/LanguageProvider.d.ts.map +1 -0
- package/build/types/components/src/provider/language/index.d.ts.map +1 -0
- package/build/types/components/src/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
- package/build/types/components/src/radio/Radio.d.ts.map +1 -0
- package/build/types/components/src/radio/index.d.ts.map +1 -0
- package/build/types/components/src/radioGroup/RadioGroup.d.ts.map +1 -0
- package/build/types/components/src/radioGroup/index.d.ts.map +1 -0
- package/build/types/components/src/radioOption/RadioOption.d.ts.map +1 -0
- package/build/types/components/src/radioOption/index.d.ts.map +1 -0
- package/build/types/components/src/section/Section.d.ts.map +1 -0
- package/build/types/components/src/section/index.d.ts.map +1 -0
- package/build/types/components/src/segmentedControl/SegmentedControl.d.ts.map +1 -0
- package/build/types/components/src/segmentedControl/index.d.ts.map +1 -0
- package/build/types/components/src/select/Select.d.ts.map +1 -0
- package/build/types/components/src/select/Select.messages.d.ts.map +1 -0
- package/build/types/components/src/select/index.d.ts.map +1 -0
- package/build/types/components/src/select/option/Option.d.ts.map +1 -0
- package/build/types/components/src/select/option/index.d.ts.map +1 -0
- package/build/types/components/src/select/searchBox/SearchBox.d.ts.map +1 -0
- package/build/types/components/src/select/searchBox/index.d.ts.map +1 -0
- package/build/types/components/src/sentimentSurface/SentimentSurface.d.ts.map +1 -0
- package/build/types/components/src/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
- package/build/types/components/src/sentimentSurface/index.d.ts.map +1 -0
- package/build/types/components/src/slidingPanel/SlidingPanel.d.ts.map +1 -0
- package/build/types/components/src/slidingPanel/index.d.ts.map +1 -0
- package/build/types/components/src/snackbar/Snackbar.d.ts.map +1 -0
- package/build/types/components/src/snackbar/SnackbarContext.d.ts.map +1 -0
- package/build/types/components/src/snackbar/SnackbarProvider.d.ts.map +1 -0
- package/build/types/components/src/snackbar/index.d.ts.map +1 -0
- package/build/types/components/src/snackbar/useSnackbar.d.ts.map +1 -0
- package/build/types/components/src/statusIcon/StatusIcon.d.ts.map +1 -0
- package/build/types/components/src/statusIcon/StatusIcon.messages.d.ts.map +1 -0
- package/build/types/components/src/statusIcon/index.d.ts.map +1 -0
- package/build/types/components/src/stepper/Stepper.d.ts.map +1 -0
- package/build/types/components/src/stepper/deviceDetection.d.ts.map +1 -0
- package/build/types/components/src/sticky/Sticky.d.ts.map +1 -0
- package/build/types/components/src/sticky/index.d.ts.map +1 -0
- package/build/types/components/src/summary/Summary.d.ts.map +1 -0
- package/build/types/components/src/summary/Summary.messages.d.ts.map +1 -0
- package/build/types/components/src/summary/index.d.ts.map +1 -0
- package/build/types/components/src/switch/Switch.d.ts.map +1 -0
- package/build/types/components/src/switch/index.d.ts.map +1 -0
- package/build/types/components/src/switchOption/SwitchOption.d.ts.map +1 -0
- package/build/types/components/src/switchOption/index.d.ts.map +1 -0
- package/build/types/components/src/table/Table.d.ts.map +1 -0
- package/build/types/components/src/table/Table.messages.d.ts.map +1 -0
- package/build/types/components/src/table/TableCell.d.ts.map +1 -0
- package/build/types/components/src/table/TableHeader.d.ts.map +1 -0
- package/build/types/components/src/table/TableRow.d.ts.map +1 -0
- package/build/types/components/src/table/TableStatusText.d.ts.map +1 -0
- package/build/types/components/src/table/index.d.ts.map +1 -0
- package/build/types/components/src/tabs/Tab.d.ts.map +1 -0
- package/build/types/components/src/tabs/TabList.d.ts.map +1 -0
- package/build/types/components/src/tabs/TabPanel.d.ts.map +1 -0
- package/build/types/components/src/tabs/Tabs.d.ts.map +1 -0
- package/build/types/components/src/tabs/index.d.ts.map +1 -0
- package/build/types/components/src/tabs/utils.d.ts.map +1 -0
- package/build/types/components/src/test-utils/fake-data.d.ts.map +1 -0
- package/build/types/components/src/test-utils/index.d.ts +179 -0
- package/build/types/components/src/test-utils/index.d.ts.map +1 -0
- package/build/types/components/src/test-utils/jest.setup.d.ts.map +1 -0
- package/build/types/components/src/test-utils/style-mock.d.ts.map +1 -0
- package/build/types/components/src/test-utils/wait.d.ts.map +1 -0
- package/build/types/components/src/test-utils/window-mock.d.ts.map +1 -0
- package/build/types/components/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
- package/build/types/components/src/textareaWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/components/src/tile/Tile.d.ts.map +1 -0
- package/build/types/components/src/tile/index.d.ts.map +1 -0
- package/build/types/components/src/title/Title.d.ts.map +1 -0
- package/build/types/components/src/title/index.d.ts.map +1 -0
- package/build/types/components/src/tooltip/Tooltip.d.ts.map +1 -0
- package/build/types/components/src/tooltip/index.d.ts.map +1 -0
- package/build/types/components/src/typeahead/Typeahead.d.ts +51 -0
- package/build/types/components/src/typeahead/Typeahead.d.ts.map +1 -0
- package/build/types/components/src/typeahead/Typeahead.messages.d.ts.map +1 -0
- package/build/types/components/src/typeahead/index.d.ts.map +1 -0
- package/build/types/components/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
- package/build/types/components/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
- package/build/types/components/src/typeahead/util/highlight.d.ts.map +1 -0
- package/build/types/components/src/upload/Upload.d.ts +100 -0
- package/build/types/components/src/upload/Upload.d.ts.map +1 -0
- package/build/types/components/src/upload/Upload.messages.d.ts.map +1 -0
- package/build/types/components/src/upload/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/completeStep/completeStep.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/completeStep/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/processingStep/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/processingStep/processingStep.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/uploadImageStep/index.d.ts.map +1 -0
- package/build/types/components/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/asyncFileRead/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/getFileType/getFileType.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/getFileType/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/isSizeValid/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/isTypeValid/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/postData/index.d.ts.map +1 -0
- package/build/types/components/src/upload/utils/postData/postData.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/UploadInput.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/UploadInput.messages.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/index.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/types.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadButton/defaults.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
- package/build/types/components/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
- package/build/types/components/src/utilities/cssValueWithUnit.d.ts.map +1 -0
- package/build/types/components/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
- package/build/types/components/src/utilities/deprecatedProperty/index.d.ts.map +1 -0
- package/build/types/components/src/utilities/index.d.ts.map +1 -0
- package/build/types/components/src/utilities/logActionRequired.d.ts.map +1 -0
- package/build/types/components/src/utils.d.ts.map +1 -0
- package/build/types/components/src/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
- package/build/types/components/src/withDisplayFormat/index.d.ts.map +1 -0
- package/build/types/components/src/withId/index.d.ts.map +1 -0
- package/build/types/components/src/withId/story/source.d.ts.map +1 -0
- package/build/types/components/src/withId/withId.d.ts.map +1 -0
- package/build/types/components/src/withNextPortal/withNextPortal.d.ts.map +1 -0
- package/build/types/components-theming/src/ThemeProvider.d.ts +7 -0
- package/build/types/components-theming/src/ThemeProvider.d.ts.map +1 -0
- package/build/types/components-theming/src/ThemeProviderContext.d.ts +8 -0
- package/build/types/components-theming/src/ThemeProviderContext.d.ts.map +1 -0
- package/build/types/components-theming/src/ThemedChildren.d.ts +8 -0
- package/build/types/components-theming/src/ThemedChildren.d.ts.map +1 -0
- package/build/types/components-theming/src/const.d.ts +35 -0
- package/build/types/components-theming/src/const.d.ts.map +1 -0
- package/build/types/components-theming/src/helpers.d.ts +11 -0
- package/build/types/components-theming/src/helpers.d.ts.map +1 -0
- package/build/types/components-theming/src/index.d.ts +5 -0
- package/build/types/components-theming/src/index.d.ts.map +1 -0
- package/build/types/components-theming/src/useTheme.d.ts +17 -0
- package/build/types/components-theming/src/useTheme.d.ts.map +1 -0
- package/build/upload/Upload.js +4 -21
- package/build/upload/Upload.js.map +1 -1
- package/build/upload/Upload.messages.js.map +1 -1
- package/build/upload/Upload.messages.mjs.map +1 -1
- package/build/upload/Upload.mjs +3 -21
- package/build/upload/Upload.mjs.map +1 -1
- package/build/upload/steps/completeStep/completeStep.js +0 -18
- package/build/upload/steps/completeStep/completeStep.js.map +1 -1
- package/build/upload/steps/completeStep/completeStep.mjs +0 -18
- package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
- package/build/upload/steps/processingStep/processingStep.js +0 -17
- package/build/upload/steps/processingStep/processingStep.js.map +1 -1
- package/build/upload/steps/processingStep/processingStep.mjs +0 -17
- package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js +5 -21
- package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +5 -21
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.js.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.mjs.map +1 -1
- package/build/upload/utils/getFileType/getFileType.js.map +1 -1
- package/build/upload/utils/getFileType/getFileType.mjs.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.js.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.mjs.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.js.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.mjs.map +1 -1
- package/build/upload/utils/postData/postData.js.map +1 -1
- package/build/upload/utils/postData/postData.mjs.map +1 -1
- package/build/uploadInput/UploadInput.js +8 -17
- package/build/uploadInput/UploadInput.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.mjs.map +1 -1
- package/build/uploadInput/UploadInput.mjs +8 -17
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js +6 -23
- package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs +3 -21
- package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
- package/build/uploadInput/uploadButton/defaults.js +0 -18
- package/build/uploadInput/uploadButton/defaults.js.map +1 -1
- package/build/uploadInput/uploadButton/defaults.mjs +0 -18
- package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js +1 -0
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs +1 -0
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.js +9 -23
- package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.mjs +4 -19
- package/build/uploadInput/uploadItem/UploadItem.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.mjs.map +1 -1
- package/build/utilities/cssValueWithUnit.js.map +1 -1
- package/build/utilities/cssValueWithUnit.mjs.map +1 -1
- package/build/utilities/logActionRequired.js.map +1 -1
- package/build/utilities/logActionRequired.mjs.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.js +17 -33
- package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs +3 -19
- package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
- package/build/withId/withId.js +4 -0
- package/build/withId/withId.js.map +1 -1
- package/build/withId/withId.mjs +4 -0
- package/build/withId/withId.mjs.map +1 -1
- package/build/withNextPortal/withNextPortal.js.map +1 -1
- package/build/withNextPortal/withNextPortal.mjs.map +1 -1
- package/package.json +9 -8
- package/src/DisabledComponents.story.tsx +1 -3
- package/src/actionButton/ActionButton.story.tsx +42 -45
- package/src/alert/Alert.spec.tsx +1 -1
- package/src/alert/Alert.tsx +2 -2
- package/src/avatar/Avatar.story.tsx +192 -188
- package/src/button/_stories/Button.tests.story.tsx +122 -119
- package/src/carousel/Carousel.story.tsx +4 -7
- package/src/checkbox/Checkbox.story.tsx +42 -21
- package/src/checkbox/Checkbox.tsx +1 -1
- package/src/checkbox/__snapshots__/Checkbox.spec.tsx.snap +1 -1
- package/src/circularButton/CircularButton.story.tsx +10 -2
- package/src/common/bottomSheet/BottomSheet.story.tsx +48 -14
- package/src/common/circle/Circle.story.tsx +62 -55
- package/src/common/initials.spec.tsx +31 -0
- package/src/common/initials.ts +19 -8
- package/src/criticalBanner/CriticalCommsBanner.story.tsx +30 -19
- package/src/dateInput/DateInput.tests.story.tsx +101 -74
- package/src/dateLookup/DateLookup.story.tsx +69 -59
- package/src/field/Field.css +10 -1
- package/src/field/Field.less +13 -2
- package/src/field/Field.spec.tsx +19 -3
- package/src/field/Field.story.tsx +18 -0
- package/src/field/Field.tsx +17 -5
- package/src/header/Header.story.tsx +5 -16
- package/src/header/Header.tests.story.tsx +95 -69
- package/src/info/Info.story.tsx +27 -11
- package/src/inlineAlert/InlineAlert.story.tsx +4 -0
- package/src/inlineAlert/InlineAlert.tsx +1 -7
- package/src/instructionsList/InstructionsList.story.tsx +0 -1
- package/src/listItem/Prompt/ListItemPrompt.spec.tsx +9 -9
- package/src/listItem/Prompt/ListItemPrompt.story.tsx +1 -1
- package/src/listItem/Prompt/ListItemPrompt.tsx +3 -4
- package/src/listItem/_stories/ListItem.layout.test.story.tsx +1 -3
- package/src/listItem/_stories/variants/ListItem.brightGreen.test.story.tsx +77 -35
- package/src/listItem/_stories/variants/ListItem.dark.test.story.tsx +65 -29
- package/src/listItem/_stories/variants/ListItem.forestGreen.test.story.tsx +77 -35
- package/src/listItem/_stories/variants/ListItem.medium.test.story.tsx +38 -18
- package/src/listItem/_stories/variants/ListItem.neutral.test.story.tsx +0 -1
- package/src/listItem/_stories/variants/ListItem.personal.test.story.tsx +38 -18
- package/src/listItem/_stories/variants/ListItem.rtl.test.story.tsx +77 -29
- package/src/listItem/_stories/variants/ListItem.small.test.story.tsx +65 -18
- package/src/listItem/_stories/variants/helpers.tsx +136 -133
- package/src/main.css +20 -1
- package/src/main.less +1 -0
- package/src/modal/Modal.story.tsx +47 -8
- package/src/moneyInput/MoneyInput.story.tsx +2 -2
- package/src/primitives/PrimitiveAnchor/stories/PrimitiveAnchor.story.tsx +1 -0
- package/src/primitives/PrimitiveAnchor/stories/PrimitiveAnchor.tests.story.tsx +1 -0
- package/src/primitives/PrimitiveButton/stories/PrimitiveButton.story.tsx +1 -0
- package/src/primitives/PrimitiveButton/stories/PrimitiveButton.tests.story.tsx +1 -0
- package/src/prompt/InlinePrompt/InlinePrompt.css +3 -0
- package/src/prompt/InlinePrompt/InlinePrompt.less +5 -1
- package/src/prompt/InlinePrompt/InlinePrompt.spec.tsx +23 -6
- package/src/prompt/InlinePrompt/InlinePrompt.story.tsx +37 -2
- package/src/prompt/InlinePrompt/InlinePrompt.tsx +12 -5
- package/src/radioGroup/RadioGroup.css +3 -0
- package/src/radioGroup/RadioGroup.less +3 -0
- package/src/radioGroup/RadioGroup.story.tsx +2 -0
- package/src/radioGroup/RadioGroup.test.story.tsx +62 -0
- package/src/radioGroup/RadioGroup.tsx +6 -1
- package/src/segmentedControl/SegmentedControl.story.tsx +71 -67
- package/src/snackbar/Snackbar.tests.story.tsx +116 -114
- package/src/statusIcon/StatusIcon.story.tsx +41 -38
- package/src/test-utils/index.tsx +0 -2
- package/src/tokens/tokens.story.tsx +1 -1
- package/src/tooltip/Tooltip.story.tsx +10 -2
- package/src/typeahead/Typeahead.css +4 -0
- package/src/typeahead/Typeahead.less +5 -1
- package/src/typeahead/Typeahead.spec.tsx +1 -1
- package/src/typeahead/Typeahead.story.tsx +151 -3
- package/src/typeahead/Typeahead.tsx +33 -9
- package/src/upload/Upload.story.tsx +1 -1
- package/src/upload/Upload.tests.story.tsx +36 -1
- package/src/upload/Upload.tsx +1 -1
- package/src/upload/steps/uploadImageStep/uploadImageStep.tsx +7 -3
- package/src/withId/withId.story.tsx +1 -1
- package/build/types/accordion/Accordion.d.ts.map +0 -1
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
- package/build/types/accordion/AccordionItem/index.d.ts.map +0 -1
- package/build/types/accordion/index.d.ts.map +0 -1
- package/build/types/actionButton/ActionButton.d.ts.map +0 -1
- package/build/types/actionButton/index.d.ts.map +0 -1
- package/build/types/actionOption/ActionOption.d.ts.map +0 -1
- package/build/types/actionOption/index.d.ts.map +0 -1
- package/build/types/alert/Alert.d.ts +0 -51
- package/build/types/alert/Alert.d.ts.map +0 -1
- package/build/types/alert/index.d.ts.map +0 -1
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
- package/build/types/alert/inlineMarkdown/index.d.ts.map +0 -1
- package/build/types/avatar/Avatar.d.ts.map +0 -1
- package/build/types/avatar/avatarTypes.d.ts.map +0 -1
- package/build/types/avatar/index.d.ts.map +0 -1
- package/build/types/avatarLayout/AvatarLayout.d.ts.map +0 -1
- package/build/types/avatarLayout/index.d.ts.map +0 -1
- package/build/types/avatarView/AvatarView.d.ts.map +0 -1
- package/build/types/avatarView/Dot.d.ts.map +0 -1
- package/build/types/avatarView/index.d.ts.map +0 -1
- package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
- package/build/types/avatarWrapper/index.d.ts.map +0 -1
- package/build/types/badge/Badge.d.ts.map +0 -1
- package/build/types/badge/BadgeAssets.d.ts.map +0 -1
- package/build/types/badge/index.d.ts.map +0 -1
- package/build/types/body/Body.d.ts.map +0 -1
- package/build/types/body/index.d.ts.map +0 -1
- package/build/types/button/Button.d.ts.map +0 -1
- package/build/types/button/Button.resolver.d.ts.map +0 -1
- package/build/types/button/Button.types.d.ts.map +0 -1
- package/build/types/button/LegacyButton.d.ts.map +0 -1
- package/build/types/button/_stories/helpers.d.ts.map +0 -1
- package/build/types/button/classMap.d.ts.map +0 -1
- package/build/types/button/index.d.ts.map +0 -1
- package/build/types/button/legacyUtils/index.d.ts.map +0 -1
- package/build/types/button/legacyUtils/legacyUtils.d.ts.map +0 -1
- package/build/types/card/Card.d.ts.map +0 -1
- package/build/types/card/index.d.ts.map +0 -1
- package/build/types/carousel/Carousel.d.ts.map +0 -1
- package/build/types/carousel/index.d.ts.map +0 -1
- package/build/types/checkbox/Checkbox.d.ts.map +0 -1
- package/build/types/checkbox/index.d.ts.map +0 -1
- package/build/types/checkboxButton/CheckboxButton.d.ts.map +0 -1
- package/build/types/checkboxButton/index.d.ts.map +0 -1
- package/build/types/checkboxOption/CheckboxOption.d.ts.map +0 -1
- package/build/types/checkboxOption/index.d.ts.map +0 -1
- package/build/types/chevron/Chevron.d.ts.map +0 -1
- package/build/types/chevron/index.d.ts.map +0 -1
- package/build/types/chips/Chip.d.ts.map +0 -1
- package/build/types/chips/Chips.d.ts.map +0 -1
- package/build/types/chips/Chips.messages.d.ts.map +0 -1
- package/build/types/chips/index.d.ts.map +0 -1
- package/build/types/circularButton/CircularButton.d.ts.map +0 -1
- package/build/types/circularButton/index.d.ts.map +0 -1
- package/build/types/common/DOMOperations/DOMOperations.d.ts.map +0 -1
- package/build/types/common/DOMOperations/index.d.ts.map +0 -1
- package/build/types/common/Option/Option.d.ts.map +0 -1
- package/build/types/common/Option/index.d.ts.map +0 -1
- package/build/types/common/RadioButton/RadioButton.d.ts.map +0 -1
- package/build/types/common/RadioButton/index.d.ts.map +0 -1
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +0 -1
- package/build/types/common/bottomSheet/index.d.ts.map +0 -1
- package/build/types/common/card/Card.d.ts.map +0 -1
- package/build/types/common/card/index.d.ts.map +0 -1
- package/build/types/common/circle/Circle.d.ts.map +0 -1
- package/build/types/common/circle/index.d.ts.map +0 -1
- package/build/types/common/closeButton/CloseButton.d.ts.map +0 -1
- package/build/types/common/closeButton/CloseButton.messages.d.ts.map +0 -1
- package/build/types/common/closeButton/index.d.ts.map +0 -1
- package/build/types/common/colors.d.ts.map +0 -1
- package/build/types/common/commonProps.d.ts.map +0 -1
- package/build/types/common/constants.d.ts.map +0 -1
- package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
- package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
- package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
- package/build/types/common/dateUtils/index.d.ts.map +0 -1
- package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
- package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
- package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
- package/build/types/common/deviceDetection/deviceDetection.d.ts.map +0 -1
- package/build/types/common/deviceDetection/index.d.ts.map +0 -1
- package/build/types/common/direction.d.ts.map +0 -1
- package/build/types/common/domHelpers/documentIosClick.d.ts.map +0 -1
- package/build/types/common/domHelpers/index.d.ts.map +0 -1
- package/build/types/common/fakeEvents.d.ts.map +0 -1
- package/build/types/common/fileType.d.ts.map +0 -1
- package/build/types/common/flowHeader/FlowHeader.d.ts.map +0 -1
- package/build/types/common/flowHeader/index.d.ts.map +0 -1
- package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
- package/build/types/common/focusBoundary/index.d.ts.map +0 -1
- package/build/types/common/historyNavigator/historyNavigator.d.ts.map +0 -1
- package/build/types/common/historyNavigator/index.d.ts.map +0 -1
- package/build/types/common/hooks/index.d.ts.map +0 -1
- package/build/types/common/hooks/useConditionalListener/index.d.ts.map +0 -1
- package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
- package/build/types/common/hooks/useDirection/index.d.ts.map +0 -1
- package/build/types/common/hooks/useDirection/useDirection.d.ts.map +0 -1
- package/build/types/common/hooks/useEffectEvent.d.ts.map +0 -1
- package/build/types/common/hooks/useHasIntersected/index.d.ts.map +0 -1
- package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
- package/build/types/common/hooks/useLayout/index.d.ts.map +0 -1
- package/build/types/common/hooks/useLayout/useLayout.d.ts.map +0 -1
- package/build/types/common/hooks/useMedia.d.ts.map +0 -1
- package/build/types/common/hooks/useResizeObserver.d.ts.map +0 -1
- package/build/types/common/hooks/useScreenSize.d.ts.map +0 -1
- package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
- package/build/types/common/index.d.ts.map +0 -1
- package/build/types/common/initials.d.ts.map +0 -1
- package/build/types/common/locale/index.d.ts.map +0 -1
- package/build/types/common/panel/Panel.d.ts.map +0 -1
- package/build/types/common/panel/index.d.ts.map +0 -1
- package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
- package/build/types/common/preventScroll/PreventScroll.d.ts.map +0 -1
- package/build/types/common/propsValues/breakpoint.d.ts.map +0 -1
- package/build/types/common/propsValues/control.d.ts.map +0 -1
- package/build/types/common/propsValues/dateMode.d.ts.map +0 -1
- package/build/types/common/propsValues/layouts.d.ts.map +0 -1
- package/build/types/common/propsValues/markdownNodeType.d.ts.map +0 -1
- package/build/types/common/propsValues/monthFormat.d.ts.map +0 -1
- package/build/types/common/propsValues/position.d.ts.map +0 -1
- package/build/types/common/propsValues/profileType.d.ts.map +0 -1
- package/build/types/common/propsValues/scroll.d.ts.map +0 -1
- package/build/types/common/propsValues/sentiment.d.ts.map +0 -1
- package/build/types/common/propsValues/size.d.ts.map +0 -1
- package/build/types/common/propsValues/status.d.ts.map +0 -1
- package/build/types/common/propsValues/type.d.ts.map +0 -1
- package/build/types/common/propsValues/typography.d.ts.map +0 -1
- package/build/types/common/propsValues/variant.d.ts.map +0 -1
- package/build/types/common/propsValues/width.d.ts.map +0 -1
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
- package/build/types/common/responsivePanel/index.d.ts.map +0 -1
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
- package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
- package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
- package/build/types/common/textFormat/index.d.ts.map +0 -1
- package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
- package/build/types/common/theme.d.ts.map +0 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
- package/build/types/criticalBanner/index.d.ts.map +0 -1
- package/build/types/dateInput/DateInput.d.ts.map +0 -1
- package/build/types/dateInput/DateInput.messages.d.ts.map +0 -1
- package/build/types/dateInput/index.d.ts.map +0 -1
- package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
- package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
- package/build/types/dateInput/utils/index.d.ts.map +0 -1
- package/build/types/dateLookup/DateLookup.d.ts.map +0 -1
- package/build/types/dateLookup/DateLookup.messages.d.ts.map +0 -1
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
- package/build/types/dateLookup/dateHeader/index.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
- package/build/types/dateLookup/dateTrigger/index.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
- package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
- package/build/types/dateLookup/getStartOfDay/index.d.ts.map +0 -1
- package/build/types/dateLookup/index.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
- package/build/types/dateLookup/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/dateLookup/tableLink/index.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/index.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
- package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
- package/build/types/decision/Decision.d.ts.map +0 -1
- package/build/types/decision/index.d.ts.map +0 -1
- package/build/types/definitionList/DefinitionList.d.ts.map +0 -1
- package/build/types/definitionList/index.d.ts.map +0 -1
- package/build/types/dimmer/Dimmer.d.ts.map +0 -1
- package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
- package/build/types/dimmer/dimmerManager/index.d.ts.map +0 -1
- package/build/types/dimmer/index.d.ts.map +0 -1
- package/build/types/display/Display.d.ts.map +0 -1
- package/build/types/display/index.d.ts.map +0 -1
- package/build/types/divider/Divider.d.ts.map +0 -1
- package/build/types/divider/index.d.ts.map +0 -1
- package/build/types/drawer/Drawer.d.ts.map +0 -1
- package/build/types/drawer/index.d.ts.map +0 -1
- package/build/types/dropFade/DropFade.d.ts.map +0 -1
- package/build/types/dropFade/index.d.ts.map +0 -1
- package/build/types/emphasis/Emphasis.d.ts.map +0 -1
- package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
- package/build/types/emphasis/index.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/index.d.ts.map +0 -1
- package/build/types/field/Field.d.ts +0 -24
- package/build/types/field/Field.d.ts.map +0 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +0 -1
- package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
- package/build/types/flowNavigation/animatedLabel/index.d.ts.map +0 -1
- package/build/types/header/Header.d.ts.map +0 -1
- package/build/types/header/index.d.ts.map +0 -1
- package/build/types/i18n/commonMessages/Button.messages.d.ts.map +0 -1
- package/build/types/i18n/index.d.ts.map +0 -1
- package/build/types/iconButton/IconButton.d.ts.map +0 -1
- package/build/types/iconButton/index.d.ts.map +0 -1
- package/build/types/image/Image.d.ts.map +0 -1
- package/build/types/image/index.d.ts.map +0 -1
- package/build/types/index.d.ts.map +0 -1
- package/build/types/info/Info.d.ts.map +0 -1
- package/build/types/info/Info.messages.d.ts.map +0 -1
- package/build/types/info/index.d.ts.map +0 -1
- package/build/types/info/infoPresentations.d.ts.map +0 -1
- package/build/types/inlineAlert/InlineAlert.d.ts +0 -20
- package/build/types/inlineAlert/InlineAlert.d.ts.map +0 -1
- package/build/types/inlineAlert/index.d.ts.map +0 -1
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
- package/build/types/inputWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/inputs/Input.d.ts.map +0 -1
- package/build/types/inputs/InputGroup.d.ts.map +0 -1
- package/build/types/inputs/SearchInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
- package/build/types/inputs/TextArea.d.ts.map +0 -1
- package/build/types/inputs/_BottomSheet.d.ts.map +0 -1
- package/build/types/inputs/_ButtonInput.d.ts.map +0 -1
- package/build/types/inputs/_Popover.d.ts.map +0 -1
- package/build/types/inputs/_common.d.ts.map +0 -1
- package/build/types/inputs/contexts.d.ts.map +0 -1
- package/build/types/instructionsList/InstructionsList.d.ts.map +0 -1
- package/build/types/instructionsList/index.d.ts.map +0 -1
- package/build/types/label/Label.d.ts.map +0 -1
- package/build/types/label/Label.messages.d.ts.map +0 -1
- package/build/types/label/index.d.ts.map +0 -1
- package/build/types/legacylistItem/LegacyListItem.d.ts.map +0 -1
- package/build/types/legacylistItem/index.d.ts.map +0 -1
- package/build/types/link/Link.d.ts.map +0 -1
- package/build/types/link/Link.messages.d.ts.map +0 -1
- package/build/types/link/index.d.ts.map +0 -1
- package/build/types/list/List.d.ts.map +0 -1
- package/build/types/list/index.d.ts.map +0 -1
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/listItem/AdditionalInfo/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/index.d.ts.map +0 -1
- package/build/types/listItem/Button/ListItemButton.d.ts.map +0 -1
- package/build/types/listItem/Button/index.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/index.d.ts.map +0 -1
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
- package/build/types/listItem/IconButton/index.d.ts.map +0 -1
- package/build/types/listItem/Image/ListItemImage.d.ts.map +0 -1
- package/build/types/listItem/Image/index.d.ts.map +0 -1
- package/build/types/listItem/ListItem.d.ts +0 -120
- package/build/types/listItem/ListItem.d.ts.map +0 -1
- package/build/types/listItem/ListItemContext.d.ts.map +0 -1
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
- package/build/types/listItem/Navigation/index.d.ts.map +0 -1
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts +0 -14
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
- package/build/types/listItem/Prompt/index.d.ts.map +0 -1
- package/build/types/listItem/Radio/ListItemRadio.d.ts.map +0 -1
- package/build/types/listItem/Radio/index.d.ts.map +0 -1
- package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
- package/build/types/listItem/Switch/index.d.ts.map +0 -1
- package/build/types/listItem/_stories/helpers.d.ts.map +0 -1
- package/build/types/listItem/_stories/subcomponents.d.ts.map +0 -1
- package/build/types/listItem/_stories/variants/helpers.d.ts +0 -8
- package/build/types/listItem/_stories/variants/helpers.d.ts.map +0 -1
- package/build/types/listItem/constants.d.ts.map +0 -1
- package/build/types/listItem/index.d.ts.map +0 -1
- package/build/types/listItem/test-utils.d.ts.map +0 -1
- package/build/types/listItem/useListItemControl.d.ts.map +0 -1
- package/build/types/listItem/useListItemMedia.d.ts.map +0 -1
- package/build/types/loader/Loader.d.ts.map +0 -1
- package/build/types/loader/index.d.ts.map +0 -1
- package/build/types/logo/Logo.d.ts.map +0 -1
- package/build/types/logo/index.d.ts.map +0 -1
- package/build/types/logo/logo-assets.d.ts.map +0 -1
- package/build/types/markdown/Markdown.d.ts.map +0 -1
- package/build/types/markdown/index.d.ts.map +0 -1
- package/build/types/mocks.d.ts.map +0 -1
- package/build/types/modal/Modal.d.ts.map +0 -1
- package/build/types/modal/index.d.ts.map +0 -1
- package/build/types/money/Money.d.ts.map +0 -1
- package/build/types/money/index.d.ts.map +0 -1
- package/build/types/moneyInput/MoneyInput.d.ts.map +0 -1
- package/build/types/moneyInput/MoneyInput.messages.d.ts.map +0 -1
- package/build/types/moneyInput/currencyFormatting.d.ts.map +0 -1
- package/build/types/moneyInput/index.d.ts.map +0 -1
- package/build/types/navigationOption/NavigationOption.d.ts.map +0 -1
- package/build/types/navigationOption/index.d.ts.map +0 -1
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
- package/build/types/navigationOptionsList/index.d.ts.map +0 -1
- package/build/types/nudge/Nudge.d.ts.map +0 -1
- package/build/types/nudge/index.d.ts.map +0 -1
- package/build/types/overlayHeader/OverlayHeader.d.ts.map +0 -1
- package/build/types/overlayHeader/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
- package/build/types/phoneNumberInput/data/countries.d.ts.map +0 -1
- package/build/types/phoneNumberInput/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
- package/build/types/popover/Popover.d.ts.map +0 -1
- package/build/types/popover/index.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
- package/build/types/primitives/PrimitiveButton/index.d.ts.map +0 -1
- package/build/types/primitives/index.d.ts.map +0 -1
- package/build/types/primitives/types.d.ts.map +0 -1
- package/build/types/processIndicator/ProcessIndicator.d.ts.map +0 -1
- package/build/types/processIndicator/index.d.ts.map +0 -1
- package/build/types/progress/Progress.d.ts.map +0 -1
- package/build/types/progress/index.d.ts.map +0 -1
- package/build/types/progressBar/ProgressBar.d.ts.map +0 -1
- package/build/types/progressBar/index.d.ts.map +0 -1
- package/build/types/promoCard/PromoCard.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardContext.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardGroup.d.ts.map +0 -1
- package/build/types/promoCard/PromoCardIndicator.d.ts.map +0 -1
- package/build/types/promoCard/index.d.ts.map +0 -1
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts +0 -39
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
- package/build/types/prompt/InlinePrompt/index.d.ts.map +0 -1
- package/build/types/prompt/index.d.ts.map +0 -1
- package/build/types/provider/Provider.d.ts.map +0 -1
- package/build/types/provider/direction/DirectionProvider.d.ts.map +0 -1
- package/build/types/provider/direction/index.d.ts.map +0 -1
- package/build/types/provider/index.d.ts.map +0 -1
- package/build/types/provider/language/LanguageProvider.d.ts.map +0 -1
- package/build/types/provider/language/index.d.ts.map +0 -1
- package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
- package/build/types/radio/Radio.d.ts.map +0 -1
- package/build/types/radio/index.d.ts.map +0 -1
- package/build/types/radioGroup/RadioGroup.d.ts.map +0 -1
- package/build/types/radioGroup/index.d.ts.map +0 -1
- package/build/types/radioOption/RadioOption.d.ts.map +0 -1
- package/build/types/radioOption/index.d.ts.map +0 -1
- package/build/types/section/Section.d.ts.map +0 -1
- package/build/types/section/index.d.ts.map +0 -1
- package/build/types/segmentedControl/SegmentedControl.d.ts.map +0 -1
- package/build/types/segmentedControl/index.d.ts.map +0 -1
- package/build/types/select/Select.d.ts.map +0 -1
- package/build/types/select/Select.messages.d.ts.map +0 -1
- package/build/types/select/index.d.ts.map +0 -1
- package/build/types/select/option/Option.d.ts.map +0 -1
- package/build/types/select/option/index.d.ts.map +0 -1
- package/build/types/select/searchBox/SearchBox.d.ts.map +0 -1
- package/build/types/select/searchBox/index.d.ts.map +0 -1
- package/build/types/sentimentSurface/SentimentSurface.d.ts.map +0 -1
- package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
- package/build/types/sentimentSurface/index.d.ts.map +0 -1
- package/build/types/slidingPanel/SlidingPanel.d.ts.map +0 -1
- package/build/types/slidingPanel/index.d.ts.map +0 -1
- package/build/types/snackbar/Snackbar.d.ts.map +0 -1
- package/build/types/snackbar/SnackbarContext.d.ts.map +0 -1
- package/build/types/snackbar/SnackbarProvider.d.ts.map +0 -1
- package/build/types/snackbar/index.d.ts.map +0 -1
- package/build/types/snackbar/useSnackbar.d.ts.map +0 -1
- package/build/types/statusIcon/StatusIcon.d.ts.map +0 -1
- package/build/types/statusIcon/StatusIcon.messages.d.ts.map +0 -1
- package/build/types/statusIcon/index.d.ts.map +0 -1
- package/build/types/stepper/Stepper.d.ts.map +0 -1
- package/build/types/stepper/deviceDetection.d.ts.map +0 -1
- package/build/types/sticky/Sticky.d.ts.map +0 -1
- package/build/types/sticky/index.d.ts.map +0 -1
- package/build/types/summary/Summary.d.ts.map +0 -1
- package/build/types/summary/Summary.messages.d.ts.map +0 -1
- package/build/types/summary/index.d.ts.map +0 -1
- package/build/types/switch/Switch.d.ts.map +0 -1
- package/build/types/switch/index.d.ts.map +0 -1
- package/build/types/switchOption/SwitchOption.d.ts.map +0 -1
- package/build/types/switchOption/index.d.ts.map +0 -1
- package/build/types/table/Table.d.ts.map +0 -1
- package/build/types/table/Table.messages.d.ts.map +0 -1
- package/build/types/table/TableCell.d.ts.map +0 -1
- package/build/types/table/TableHeader.d.ts.map +0 -1
- package/build/types/table/TableRow.d.ts.map +0 -1
- package/build/types/table/TableStatusText.d.ts.map +0 -1
- package/build/types/table/index.d.ts.map +0 -1
- package/build/types/tabs/Tab.d.ts.map +0 -1
- package/build/types/tabs/TabList.d.ts.map +0 -1
- package/build/types/tabs/TabPanel.d.ts.map +0 -1
- package/build/types/tabs/Tabs.d.ts.map +0 -1
- package/build/types/tabs/index.d.ts.map +0 -1
- package/build/types/tabs/utils.d.ts.map +0 -1
- package/build/types/test-utils/fake-data.d.ts.map +0 -1
- package/build/types/test-utils/index.d.ts +0 -180
- package/build/types/test-utils/index.d.ts.map +0 -1
- package/build/types/test-utils/jest.setup.d.ts.map +0 -1
- package/build/types/test-utils/story-config.d.ts +0 -64
- package/build/types/test-utils/story-config.d.ts.map +0 -1
- package/build/types/test-utils/style-mock.d.ts.map +0 -1
- package/build/types/test-utils/wait.d.ts.map +0 -1
- package/build/types/test-utils/window-mock.d.ts.map +0 -1
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
- package/build/types/textareaWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/tile/Tile.d.ts.map +0 -1
- package/build/types/tile/index.d.ts.map +0 -1
- package/build/types/title/Title.d.ts.map +0 -1
- package/build/types/title/index.d.ts.map +0 -1
- package/build/types/tooltip/Tooltip.d.ts.map +0 -1
- package/build/types/tooltip/index.d.ts.map +0 -1
- package/build/types/typeahead/Typeahead.d.ts +0 -47
- package/build/types/typeahead/Typeahead.d.ts.map +0 -1
- package/build/types/typeahead/Typeahead.messages.d.ts.map +0 -1
- package/build/types/typeahead/index.d.ts.map +0 -1
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
- package/build/types/typeahead/util/highlight.d.ts.map +0 -1
- package/build/types/upload/Upload.d.ts +0 -100
- package/build/types/upload/Upload.d.ts.map +0 -1
- package/build/types/upload/Upload.messages.d.ts.map +0 -1
- package/build/types/upload/index.d.ts.map +0 -1
- package/build/types/upload/steps/completeStep/completeStep.d.ts.map +0 -1
- package/build/types/upload/steps/completeStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/index.d.ts.map +0 -1
- package/build/types/upload/steps/processingStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/processingStep/processingStep.d.ts.map +0 -1
- package/build/types/upload/steps/uploadImageStep/index.d.ts.map +0 -1
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
- package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
- package/build/types/upload/utils/asyncFileRead/index.d.ts.map +0 -1
- package/build/types/upload/utils/getFileType/getFileType.d.ts.map +0 -1
- package/build/types/upload/utils/getFileType/index.d.ts.map +0 -1
- package/build/types/upload/utils/index.d.ts.map +0 -1
- package/build/types/upload/utils/isSizeValid/index.d.ts.map +0 -1
- package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
- package/build/types/upload/utils/isTypeValid/index.d.ts.map +0 -1
- package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
- package/build/types/upload/utils/postData/index.d.ts.map +0 -1
- package/build/types/upload/utils/postData/postData.d.ts.map +0 -1
- package/build/types/uploadInput/UploadInput.d.ts.map +0 -1
- package/build/types/uploadInput/UploadInput.messages.d.ts.map +0 -1
- package/build/types/uploadInput/index.d.ts.map +0 -1
- package/build/types/uploadInput/types.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/defaults.d.ts.map +0 -1
- package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
- package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
- package/build/types/utilities/cssValueWithUnit.d.ts.map +0 -1
- package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
- package/build/types/utilities/deprecatedProperty/index.d.ts.map +0 -1
- package/build/types/utilities/index.d.ts.map +0 -1
- package/build/types/utilities/logActionRequired.d.ts.map +0 -1
- package/build/types/utils.d.ts.map +0 -1
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
- package/build/types/withDisplayFormat/index.d.ts.map +0 -1
- package/build/types/withId/index.d.ts.map +0 -1
- package/build/types/withId/story/source.d.ts.map +0 -1
- package/build/types/withId/withId.d.ts.map +0 -1
- package/build/types/withNextPortal/withNextPortal.d.ts.map +0 -1
- package/src/test-utils/story-config.ts +0 -95
- /package/build/types/{accordion → components/src/accordion}/Accordion.d.ts +0 -0
- /package/build/types/{accordion → components/src/accordion}/AccordionItem/AccordionItem.d.ts +0 -0
- /package/build/types/{accordion → components/src/accordion}/AccordionItem/index.d.ts +0 -0
- /package/build/types/{accordion → components/src/accordion}/index.d.ts +0 -0
- /package/build/types/{actionButton → components/src/actionButton}/ActionButton.d.ts +0 -0
- /package/build/types/{actionButton → components/src/actionButton}/index.d.ts +0 -0
- /package/build/types/{actionOption → components/src/actionOption}/ActionOption.d.ts +0 -0
- /package/build/types/{actionOption → components/src/actionOption}/index.d.ts +0 -0
- /package/build/types/{alert → components/src/alert}/index.d.ts +0 -0
- /package/build/types/{alert → components/src/alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
- /package/build/types/{alert → components/src/alert}/inlineMarkdown/index.d.ts +0 -0
- /package/build/types/{avatar → components/src/avatar}/Avatar.d.ts +0 -0
- /package/build/types/{avatar → components/src/avatar}/avatarTypes.d.ts +0 -0
- /package/build/types/{avatar → components/src/avatar}/index.d.ts +0 -0
- /package/build/types/{avatarLayout → components/src/avatarLayout}/AvatarLayout.d.ts +0 -0
- /package/build/types/{avatarLayout → components/src/avatarLayout}/index.d.ts +0 -0
- /package/build/types/{avatarView → components/src/avatarView}/AvatarView.d.ts +0 -0
- /package/build/types/{avatarView → components/src/avatarView}/Dot.d.ts +0 -0
- /package/build/types/{avatarView → components/src/avatarView}/index.d.ts +0 -0
- /package/build/types/{avatarWrapper → components/src/avatarWrapper}/AvatarWrapper.d.ts +0 -0
- /package/build/types/{avatarWrapper → components/src/avatarWrapper}/index.d.ts +0 -0
- /package/build/types/{badge → components/src/badge}/Badge.d.ts +0 -0
- /package/build/types/{badge → components/src/badge}/BadgeAssets.d.ts +0 -0
- /package/build/types/{badge → components/src/badge}/index.d.ts +0 -0
- /package/build/types/{body → components/src/body}/Body.d.ts +0 -0
- /package/build/types/{body → components/src/body}/index.d.ts +0 -0
- /package/build/types/{button → components/src/button}/Button.d.ts +0 -0
- /package/build/types/{button → components/src/button}/Button.resolver.d.ts +0 -0
- /package/build/types/{button → components/src/button}/Button.types.d.ts +0 -0
- /package/build/types/{button → components/src/button}/LegacyButton.d.ts +0 -0
- /package/build/types/{button → components/src/button}/_stories/helpers.d.ts +0 -0
- /package/build/types/{button → components/src/button}/classMap.d.ts +0 -0
- /package/build/types/{button → components/src/button}/index.d.ts +0 -0
- /package/build/types/{button → components/src/button}/legacyUtils/index.d.ts +0 -0
- /package/build/types/{button → components/src/button}/legacyUtils/legacyUtils.d.ts +0 -0
- /package/build/types/{card → components/src/card}/Card.d.ts +0 -0
- /package/build/types/{card → components/src/card}/index.d.ts +0 -0
- /package/build/types/{carousel → components/src/carousel}/Carousel.d.ts +0 -0
- /package/build/types/{carousel → components/src/carousel}/index.d.ts +0 -0
- /package/build/types/{checkbox → components/src/checkbox}/Checkbox.d.ts +0 -0
- /package/build/types/{checkbox → components/src/checkbox}/index.d.ts +0 -0
- /package/build/types/{checkboxButton → components/src/checkboxButton}/CheckboxButton.d.ts +0 -0
- /package/build/types/{checkboxButton → components/src/checkboxButton}/index.d.ts +0 -0
- /package/build/types/{checkboxOption → components/src/checkboxOption}/CheckboxOption.d.ts +0 -0
- /package/build/types/{checkboxOption → components/src/checkboxOption}/index.d.ts +0 -0
- /package/build/types/{chevron → components/src/chevron}/Chevron.d.ts +0 -0
- /package/build/types/{chevron → components/src/chevron}/index.d.ts +0 -0
- /package/build/types/{chips → components/src/chips}/Chip.d.ts +0 -0
- /package/build/types/{chips → components/src/chips}/Chips.d.ts +0 -0
- /package/build/types/{chips → components/src/chips}/Chips.messages.d.ts +0 -0
- /package/build/types/{chips → components/src/chips}/index.d.ts +0 -0
- /package/build/types/{circularButton → components/src/circularButton}/CircularButton.d.ts +0 -0
- /package/build/types/{circularButton → components/src/circularButton}/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/DOMOperations/DOMOperations.d.ts +0 -0
- /package/build/types/{common → components/src/common}/DOMOperations/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/Option/Option.d.ts +0 -0
- /package/build/types/{common → components/src/common}/Option/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/RadioButton/RadioButton.d.ts +0 -0
- /package/build/types/{common → components/src/common}/RadioButton/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/bottomSheet/BottomSheet.d.ts +0 -0
- /package/build/types/{common → components/src/common}/bottomSheet/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/card/Card.d.ts +0 -0
- /package/build/types/{common → components/src/common}/card/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/circle/Circle.d.ts +0 -0
- /package/build/types/{common → components/src/common}/circle/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/closeButton/CloseButton.d.ts +0 -0
- /package/build/types/{common → components/src/common}/closeButton/CloseButton.messages.d.ts +0 -0
- /package/build/types/{common → components/src/common}/closeButton/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/colors.d.ts +0 -0
- /package/build/types/{common → components/src/common}/commonProps.d.ts +0 -0
- /package/build/types/{common → components/src/common}/constants.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/getDateView/getDateView.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
- /package/build/types/{common → components/src/common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
- /package/build/types/{common → components/src/common}/deviceDetection/deviceDetection.d.ts +0 -0
- /package/build/types/{common → components/src/common}/deviceDetection/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/direction.d.ts +0 -0
- /package/build/types/{common → components/src/common}/domHelpers/documentIosClick.d.ts +0 -0
- /package/build/types/{common → components/src/common}/domHelpers/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/fakeEvents.d.ts +0 -0
- /package/build/types/{common → components/src/common}/fileType.d.ts +0 -0
- /package/build/types/{common → components/src/common}/flowHeader/FlowHeader.d.ts +0 -0
- /package/build/types/{common → components/src/common}/flowHeader/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/focusBoundary/FocusBoundary.d.ts +0 -0
- /package/build/types/{common → components/src/common}/focusBoundary/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/historyNavigator/historyNavigator.d.ts +0 -0
- /package/build/types/{common → components/src/common}/historyNavigator/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useConditionalListener/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useDirection/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useDirection/useDirection.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useEffectEvent.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useHasIntersected/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useLayout/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useLayout/useLayout.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useMedia.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useResizeObserver.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useScreenSize.d.ts +0 -0
- /package/build/types/{common → components/src/common}/hooks/useVirtualKeyboard.d.ts +0 -0
- /package/build/types/{common → components/src/common}/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/initials.d.ts +0 -0
- /package/build/types/{common → components/src/common}/locale/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/panel/Panel.d.ts +0 -0
- /package/build/types/{common → components/src/common}/panel/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
- /package/build/types/{common → components/src/common}/preventScroll/PreventScroll.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/breakpoint.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/control.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/dateMode.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/layouts.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/markdownNodeType.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/monthFormat.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/position.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/profileType.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/scroll.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/sentiment.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/size.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/status.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/type.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/typography.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/variant.d.ts +0 -0
- /package/build/types/{common → components/src/common}/propsValues/width.d.ts +0 -0
- /package/build/types/{common → components/src/common}/responsivePanel/ResponsivePanel.d.ts +0 -0
- /package/build/types/{common → components/src/common}/responsivePanel/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/formatWithPattern/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/unformatWithPattern/index.d.ts +0 -0
- /package/build/types/{common → components/src/common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
- /package/build/types/{common → components/src/common}/theme.d.ts +0 -0
- /package/build/types/{criticalBanner → components/src/criticalBanner}/CriticalCommsBanner.d.ts +0 -0
- /package/build/types/{criticalBanner → components/src/criticalBanner}/index.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/DateInput.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/DateInput.messages.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/index.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
- /package/build/types/{dateInput → components/src/dateInput}/utils/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/DateLookup.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/DateLookup.messages.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateHeader/DateHeader.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateHeader/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dateTrigger/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/table/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/getStartOfDay/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/table/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/tableLink/TableLink.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/tableLink/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/index.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
- /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/table/index.d.ts +0 -0
- /package/build/types/{decision → components/src/decision}/Decision.d.ts +0 -0
- /package/build/types/{decision → components/src/decision}/index.d.ts +0 -0
- /package/build/types/{definitionList → components/src/definitionList}/DefinitionList.d.ts +0 -0
- /package/build/types/{definitionList → components/src/definitionList}/index.d.ts +0 -0
- /package/build/types/{dimmer → components/src/dimmer}/Dimmer.d.ts +0 -0
- /package/build/types/{dimmer → components/src/dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
- /package/build/types/{dimmer → components/src/dimmer}/dimmerManager/index.d.ts +0 -0
- /package/build/types/{dimmer → components/src/dimmer}/index.d.ts +0 -0
- /package/build/types/{display → components/src/display}/Display.d.ts +0 -0
- /package/build/types/{display → components/src/display}/index.d.ts +0 -0
- /package/build/types/{divider → components/src/divider}/Divider.d.ts +0 -0
- /package/build/types/{divider → components/src/divider}/index.d.ts +0 -0
- /package/build/types/{drawer → components/src/drawer}/Drawer.d.ts +0 -0
- /package/build/types/{drawer → components/src/drawer}/index.d.ts +0 -0
- /package/build/types/{dropFade → components/src/dropFade}/DropFade.d.ts +0 -0
- /package/build/types/{dropFade → components/src/dropFade}/index.d.ts +0 -0
- /package/build/types/{emphasis → components/src/emphasis}/Emphasis.d.ts +0 -0
- /package/build/types/{emphasis → components/src/emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
- /package/build/types/{emphasis → components/src/emphasis}/index.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
- /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/index.d.ts +0 -0
- /package/build/types/{flowNavigation → components/src/flowNavigation}/FlowNavigation.d.ts +0 -0
- /package/build/types/{flowNavigation → components/src/flowNavigation}/FlowNavigation.messages.d.ts +0 -0
- /package/build/types/{flowNavigation → components/src/flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
- /package/build/types/{flowNavigation → components/src/flowNavigation}/animatedLabel/index.d.ts +0 -0
- /package/build/types/{header → components/src/header}/Header.d.ts +0 -0
- /package/build/types/{header → components/src/header}/index.d.ts +0 -0
- /package/build/types/{i18n → components/src/i18n}/commonMessages/Button.messages.d.ts +0 -0
- /package/build/types/{i18n → components/src/i18n}/index.d.ts +0 -0
- /package/build/types/{iconButton → components/src/iconButton}/IconButton.d.ts +0 -0
- /package/build/types/{iconButton → components/src/iconButton}/index.d.ts +0 -0
- /package/build/types/{image → components/src/image}/Image.d.ts +0 -0
- /package/build/types/{image → components/src/image}/index.d.ts +0 -0
- /package/build/types/{index.d.ts → components/src/index.d.ts} +0 -0
- /package/build/types/{info → components/src/info}/Info.d.ts +0 -0
- /package/build/types/{info → components/src/info}/Info.messages.d.ts +0 -0
- /package/build/types/{info → components/src/info}/index.d.ts +0 -0
- /package/build/types/{info → components/src/info}/infoPresentations.d.ts +0 -0
- /package/build/types/{inlineAlert → components/src/inlineAlert}/index.d.ts +0 -0
- /package/build/types/{inputWithDisplayFormat → components/src/inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
- /package/build/types/{inputWithDisplayFormat → components/src/inputWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/Input.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/InputGroup.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/SearchInput.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/SelectInput.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/SelectInput.messages.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/TextArea.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/_BottomSheet.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/_ButtonInput.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/_Popover.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/_common.d.ts +0 -0
- /package/build/types/{inputs → components/src/inputs}/contexts.d.ts +0 -0
- /package/build/types/{instructionsList → components/src/instructionsList}/InstructionsList.d.ts +0 -0
- /package/build/types/{instructionsList → components/src/instructionsList}/index.d.ts +0 -0
- /package/build/types/{label → components/src/label}/Label.d.ts +0 -0
- /package/build/types/{label → components/src/label}/Label.messages.d.ts +0 -0
- /package/build/types/{label → components/src/label}/index.d.ts +0 -0
- /package/build/types/{legacylistItem → components/src/legacylistItem}/LegacyListItem.d.ts +0 -0
- /package/build/types/{legacylistItem → components/src/legacylistItem}/index.d.ts +0 -0
- /package/build/types/{link → components/src/link}/Link.d.ts +0 -0
- /package/build/types/{link → components/src/link}/Link.messages.d.ts +0 -0
- /package/build/types/{link → components/src/link}/index.d.ts +0 -0
- /package/build/types/{list → components/src/list}/List.d.ts +0 -0
- /package/build/types/{list → components/src/list}/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AdditionalInfo/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AvatarLayout/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/AvatarView/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Button/ListItemButton.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Button/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Checkbox/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/IconButton/ListItemIconButton.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/IconButton/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Image/ListItemImage.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Image/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/ListItemContext.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Navigation/ListItemNavigation.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Navigation/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Prompt/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Radio/ListItemRadio.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Radio/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Switch/ListItemSwitch.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/Switch/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/_stories/helpers.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/_stories/subcomponents.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/constants.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/index.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/test-utils.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/useListItemControl.d.ts +0 -0
- /package/build/types/{listItem → components/src/listItem}/useListItemMedia.d.ts +0 -0
- /package/build/types/{loader → components/src/loader}/Loader.d.ts +0 -0
- /package/build/types/{loader → components/src/loader}/index.d.ts +0 -0
- /package/build/types/{logo → components/src/logo}/Logo.d.ts +0 -0
- /package/build/types/{logo → components/src/logo}/index.d.ts +0 -0
- /package/build/types/{logo → components/src/logo}/logo-assets.d.ts +0 -0
- /package/build/types/{markdown → components/src/markdown}/Markdown.d.ts +0 -0
- /package/build/types/{markdown → components/src/markdown}/index.d.ts +0 -0
- /package/build/types/{mocks.d.ts → components/src/mocks.d.ts} +0 -0
- /package/build/types/{modal → components/src/modal}/Modal.d.ts +0 -0
- /package/build/types/{modal → components/src/modal}/index.d.ts +0 -0
- /package/build/types/{money → components/src/money}/Money.d.ts +0 -0
- /package/build/types/{money → components/src/money}/index.d.ts +0 -0
- /package/build/types/{moneyInput → components/src/moneyInput}/MoneyInput.d.ts +0 -0
- /package/build/types/{moneyInput → components/src/moneyInput}/MoneyInput.messages.d.ts +0 -0
- /package/build/types/{moneyInput → components/src/moneyInput}/currencyFormatting.d.ts +0 -0
- /package/build/types/{moneyInput → components/src/moneyInput}/index.d.ts +0 -0
- /package/build/types/{navigationOption → components/src/navigationOption}/NavigationOption.d.ts +0 -0
- /package/build/types/{navigationOption → components/src/navigationOption}/index.d.ts +0 -0
- /package/build/types/{navigationOptionsList → components/src/navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
- /package/build/types/{navigationOptionsList → components/src/navigationOptionsList}/index.d.ts +0 -0
- /package/build/types/{nudge → components/src/nudge}/Nudge.d.ts +0 -0
- /package/build/types/{nudge → components/src/nudge}/index.d.ts +0 -0
- /package/build/types/{overlayHeader → components/src/overlayHeader}/OverlayHeader.d.ts +0 -0
- /package/build/types/{overlayHeader → components/src/overlayHeader}/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/data/countries.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
- /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
- /package/build/types/{popover → components/src/popover}/Popover.d.ts +0 -0
- /package/build/types/{popover → components/src/popover}/index.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveAnchor/index.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/PrimitiveButton/index.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/index.d.ts +0 -0
- /package/build/types/{primitives → components/src/primitives}/types.d.ts +0 -0
- /package/build/types/{processIndicator → components/src/processIndicator}/ProcessIndicator.d.ts +0 -0
- /package/build/types/{processIndicator → components/src/processIndicator}/index.d.ts +0 -0
- /package/build/types/{progress → components/src/progress}/Progress.d.ts +0 -0
- /package/build/types/{progress → components/src/progress}/index.d.ts +0 -0
- /package/build/types/{progressBar → components/src/progressBar}/ProgressBar.d.ts +0 -0
- /package/build/types/{progressBar → components/src/progressBar}/index.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/PromoCard.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/PromoCardContext.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/PromoCardGroup.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/PromoCardIndicator.d.ts +0 -0
- /package/build/types/{promoCard → components/src/promoCard}/index.d.ts +0 -0
- /package/build/types/{prompt → components/src/prompt}/InlinePrompt/index.d.ts +0 -0
- /package/build/types/{prompt → components/src/prompt}/index.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/Provider.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/direction/DirectionProvider.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/direction/index.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/index.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/language/LanguageProvider.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/language/index.d.ts +0 -0
- /package/build/types/{provider → components/src/provider}/overlay/OverlayIdProvider.d.ts +0 -0
- /package/build/types/{radio → components/src/radio}/Radio.d.ts +0 -0
- /package/build/types/{radio → components/src/radio}/index.d.ts +0 -0
- /package/build/types/{radioGroup → components/src/radioGroup}/RadioGroup.d.ts +0 -0
- /package/build/types/{radioGroup → components/src/radioGroup}/index.d.ts +0 -0
- /package/build/types/{radioOption → components/src/radioOption}/RadioOption.d.ts +0 -0
- /package/build/types/{radioOption → components/src/radioOption}/index.d.ts +0 -0
- /package/build/types/{section → components/src/section}/Section.d.ts +0 -0
- /package/build/types/{section → components/src/section}/index.d.ts +0 -0
- /package/build/types/{segmentedControl → components/src/segmentedControl}/SegmentedControl.d.ts +0 -0
- /package/build/types/{segmentedControl → components/src/segmentedControl}/index.d.ts +0 -0
- /package/build/types/{select → components/src/select}/Select.d.ts +0 -0
- /package/build/types/{select → components/src/select}/Select.messages.d.ts +0 -0
- /package/build/types/{select → components/src/select}/index.d.ts +0 -0
- /package/build/types/{select → components/src/select}/option/Option.d.ts +0 -0
- /package/build/types/{select → components/src/select}/option/index.d.ts +0 -0
- /package/build/types/{select → components/src/select}/searchBox/SearchBox.d.ts +0 -0
- /package/build/types/{select → components/src/select}/searchBox/index.d.ts +0 -0
- /package/build/types/{sentimentSurface → components/src/sentimentSurface}/SentimentSurface.d.ts +0 -0
- /package/build/types/{sentimentSurface → components/src/sentimentSurface}/SentimentSurface.types.d.ts +0 -0
- /package/build/types/{sentimentSurface → components/src/sentimentSurface}/index.d.ts +0 -0
- /package/build/types/{slidingPanel → components/src/slidingPanel}/SlidingPanel.d.ts +0 -0
- /package/build/types/{slidingPanel → components/src/slidingPanel}/index.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/Snackbar.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/SnackbarContext.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/SnackbarProvider.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/index.d.ts +0 -0
- /package/build/types/{snackbar → components/src/snackbar}/useSnackbar.d.ts +0 -0
- /package/build/types/{statusIcon → components/src/statusIcon}/StatusIcon.d.ts +0 -0
- /package/build/types/{statusIcon → components/src/statusIcon}/StatusIcon.messages.d.ts +0 -0
- /package/build/types/{statusIcon → components/src/statusIcon}/index.d.ts +0 -0
- /package/build/types/{stepper → components/src/stepper}/Stepper.d.ts +0 -0
- /package/build/types/{stepper → components/src/stepper}/deviceDetection.d.ts +0 -0
- /package/build/types/{sticky → components/src/sticky}/Sticky.d.ts +0 -0
- /package/build/types/{sticky → components/src/sticky}/index.d.ts +0 -0
- /package/build/types/{summary → components/src/summary}/Summary.d.ts +0 -0
- /package/build/types/{summary → components/src/summary}/Summary.messages.d.ts +0 -0
- /package/build/types/{summary → components/src/summary}/index.d.ts +0 -0
- /package/build/types/{switch → components/src/switch}/Switch.d.ts +0 -0
- /package/build/types/{switch → components/src/switch}/index.d.ts +0 -0
- /package/build/types/{switchOption → components/src/switchOption}/SwitchOption.d.ts +0 -0
- /package/build/types/{switchOption → components/src/switchOption}/index.d.ts +0 -0
- /package/build/types/{table → components/src/table}/Table.d.ts +0 -0
- /package/build/types/{table → components/src/table}/Table.messages.d.ts +0 -0
- /package/build/types/{table → components/src/table}/TableCell.d.ts +0 -0
- /package/build/types/{table → components/src/table}/TableHeader.d.ts +0 -0
- /package/build/types/{table → components/src/table}/TableRow.d.ts +0 -0
- /package/build/types/{table → components/src/table}/TableStatusText.d.ts +0 -0
- /package/build/types/{table → components/src/table}/index.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/Tab.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/TabList.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/TabPanel.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/Tabs.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/index.d.ts +0 -0
- /package/build/types/{tabs → components/src/tabs}/utils.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/fake-data.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/jest.setup.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/style-mock.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/wait.d.ts +0 -0
- /package/build/types/{test-utils → components/src/test-utils}/window-mock.d.ts +0 -0
- /package/build/types/{textareaWithDisplayFormat → components/src/textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
- /package/build/types/{textareaWithDisplayFormat → components/src/textareaWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{tile → components/src/tile}/Tile.d.ts +0 -0
- /package/build/types/{tile → components/src/tile}/index.d.ts +0 -0
- /package/build/types/{title → components/src/title}/Title.d.ts +0 -0
- /package/build/types/{title → components/src/title}/index.d.ts +0 -0
- /package/build/types/{tooltip → components/src/tooltip}/Tooltip.d.ts +0 -0
- /package/build/types/{tooltip → components/src/tooltip}/index.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/Typeahead.messages.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/index.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
- /package/build/types/{typeahead → components/src/typeahead}/util/highlight.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/Upload.messages.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/completeStep/completeStep.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/completeStep/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/processingStep/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/processingStep/processingStep.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/uploadImageStep/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/asyncFileRead/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/getFileType/getFileType.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/getFileType/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/isSizeValid/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/isTypeValid/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/postData/index.d.ts +0 -0
- /package/build/types/{upload → components/src/upload}/utils/postData/postData.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/UploadInput.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/UploadInput.messages.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/index.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/types.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/UploadButton.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/defaults.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadItem/UploadItem.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
- /package/build/types/{uploadInput → components/src/uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/cssValueWithUnit.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/deprecatedProperty/index.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/index.d.ts +0 -0
- /package/build/types/{utilities → components/src/utilities}/logActionRequired.d.ts +0 -0
- /package/build/types/{utils.d.ts → components/src/utils.d.ts} +0 -0
- /package/build/types/{withDisplayFormat → components/src/withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
- /package/build/types/{withDisplayFormat → components/src/withDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{withId → components/src/withId}/index.d.ts +0 -0
- /package/build/types/{withId → components/src/withId}/story/source.d.ts +0 -0
- /package/build/types/{withId → components/src/withId}/withId.d.ts +0 -0
- /package/build/types/{withNextPortal → components/src/withNextPortal}/withNextPortal.d.ts +0 -0
package/build/tile/Tile.mjs
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import Body from '../body/Body.mjs';
|
|
3
|
-
import '../common/theme.mjs';
|
|
4
|
-
import '../common/direction.mjs';
|
|
5
|
-
import '../common/propsValues/control.mjs';
|
|
6
|
-
import '../common/propsValues/breakpoint.mjs';
|
|
7
|
-
import '../common/propsValues/size.mjs';
|
|
8
3
|
import { Typography } from '../common/propsValues/typography.mjs';
|
|
9
|
-
import '../common/propsValues/width.mjs';
|
|
10
|
-
import '../common/propsValues/type.mjs';
|
|
11
|
-
import '../common/propsValues/dateMode.mjs';
|
|
12
|
-
import '../common/propsValues/monthFormat.mjs';
|
|
13
|
-
import '../common/propsValues/position.mjs';
|
|
14
|
-
import '../common/propsValues/layouts.mjs';
|
|
15
|
-
import '../common/propsValues/status.mjs';
|
|
16
|
-
import '../common/propsValues/sentiment.mjs';
|
|
17
|
-
import '../common/propsValues/profileType.mjs';
|
|
18
|
-
import '../common/propsValues/variant.mjs';
|
|
19
|
-
import '../common/propsValues/scroll.mjs';
|
|
20
|
-
import '../common/propsValues/markdownNodeType.mjs';
|
|
21
|
-
import '../common/fileType.mjs';
|
|
22
4
|
import '@transferwise/icons';
|
|
23
5
|
import 'react';
|
|
24
6
|
import 'react-intl';
|
package/build/tile/Tile.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.mjs","sources":["../../src/tile/Tile.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport Body from '../body';\nimport { Size, Typography } from '../common';\nimport Title from '../title';\n\nexport interface TileProps {\n /** Classes to apply to the Tile container */\n /** A label for the accordion item, used for accessibility purposes. */\n 'aria-label'?: string;\n className?: string;\n description?: React.ReactNode;\n disabled?: boolean;\n href?: string;\n target?: React.HTMLAttributeAnchorTarget;\n /** Accepts only Avatar and images */\n media: React.ReactNode;\n /** Function called onClick or onKeyDown */\n onClick?: (event?: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;\n /** The size applied to Tile */\n size?: `${Size.SMALL | Size.MEDIUM}`;\n title: React.ReactNode;\n}\n\nexport default function Tile({\n 'aria-label': ariaLabel,\n className,\n description,\n disabled,\n href,\n target,\n media,\n onClick,\n size = 'md',\n title,\n}: TileProps) {\n const isSmall = size === 'sm';\n const Element = href ? 'a' : 'button';\n\n return (\n <Element\n className={clsx(\n 'decision',\n 'flex-column',\n 'np-tile',\n 'text-no-decoration',\n 'text-xs-center',\n className,\n {\n 'p-a-3': !isSmall,\n 'p-a-2 np-tile--small': isSmall,\n },\n disabled && 'disabled',\n )}\n href={href}\n target={target}\n aria-label={ariaLabel}\n onClick={disabled ? undefined : onClick}\n onKeyDown={\n disabled\n ? undefined\n : ({ key }) => {\n if (key === 'Enter' || key === ' ') {\n onClick?.();\n }\n }\n }\n >\n <div className=\"np-tile__media d-flex justify-content-center\">{media}</div>\n <Title type={Typography.TITLE_SUBSECTION} className={clsx(isSmall ? 'm-t-1' : 'm-t-2')}>\n {title}\n </Title>\n {description ? (\n <Body as=\"span\" type={Typography.BODY_DEFAULT} className=\"m-t-1\">\n {description}\n </Body>\n ) : null}\n </Element>\n );\n}\n"],"names":["Tile","ariaLabel","className","description","disabled","href","target","media","onClick","size","title","isSmall","Element","_jsxs","clsx","undefined","onKeyDown","key","children","_jsx","Title","type","Typography","TITLE_SUBSECTION","Body","as","BODY_DEFAULT"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tile.mjs","sources":["../../src/tile/Tile.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport Body from '../body';\nimport { Size, Typography } from '../common';\nimport Title from '../title';\n\nexport interface TileProps {\n /** Classes to apply to the Tile container */\n /** A label for the accordion item, used for accessibility purposes. */\n 'aria-label'?: string;\n className?: string;\n description?: React.ReactNode;\n disabled?: boolean;\n href?: string;\n target?: React.HTMLAttributeAnchorTarget;\n /** Accepts only Avatar and images */\n media: React.ReactNode;\n /** Function called onClick or onKeyDown */\n onClick?: (event?: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;\n /** The size applied to Tile */\n size?: `${Size.SMALL | Size.MEDIUM}`;\n title: React.ReactNode;\n}\n\nexport default function Tile({\n 'aria-label': ariaLabel,\n className,\n description,\n disabled,\n href,\n target,\n media,\n onClick,\n size = 'md',\n title,\n}: TileProps) {\n const isSmall = size === 'sm';\n const Element = href ? 'a' : 'button';\n\n return (\n <Element\n className={clsx(\n 'decision',\n 'flex-column',\n 'np-tile',\n 'text-no-decoration',\n 'text-xs-center',\n className,\n {\n 'p-a-3': !isSmall,\n 'p-a-2 np-tile--small': isSmall,\n },\n disabled && 'disabled',\n )}\n href={href}\n target={target}\n aria-label={ariaLabel}\n onClick={disabled ? undefined : onClick}\n onKeyDown={\n disabled\n ? undefined\n : ({ key }) => {\n if (key === 'Enter' || key === ' ') {\n onClick?.();\n }\n }\n }\n >\n <div className=\"np-tile__media d-flex justify-content-center\">{media}</div>\n <Title type={Typography.TITLE_SUBSECTION} className={clsx(isSmall ? 'm-t-1' : 'm-t-2')}>\n {title}\n </Title>\n {description ? (\n <Body as=\"span\" type={Typography.BODY_DEFAULT} className=\"m-t-1\">\n {description}\n </Body>\n ) : null}\n </Element>\n );\n}\n"],"names":["Tile","ariaLabel","className","description","disabled","href","target","media","onClick","size","title","isSmall","Element","_jsxs","clsx","undefined","onKeyDown","key","children","_jsx","Title","type","Typography","TITLE_SUBSECTION","Body","as","BODY_DEFAULT"],"mappings":";;;;;;;;;;AAwBe,SAASA,IAAIA,CAAC;AAC3B,EAAA,YAAY,EAAEC,SAAS;EACvBC,SAAS;EACTC,WAAW;EACXC,QAAQ;EACRC,IAAI;EACJC,MAAM;EACNC,KAAK;EACLC,OAAO;AACPC,EAAAA,IAAI,GAAG,IAAI;AACXC,EAAAA;AACS,CAAC,EAAE;AACZ,EAAA,MAAMC,OAAO,GAAGF,IAAI,KAAK,IAAI;AAC7B,EAA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js
CHANGED
|
@@ -4,25 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
require('../common/theme.js');
|
|
8
|
-
require('../common/direction.js');
|
|
9
|
-
require('../common/propsValues/control.js');
|
|
10
|
-
require('../common/propsValues/breakpoint.js');
|
|
11
|
-
require('../common/propsValues/size.js');
|
|
12
7
|
var typography = require('../common/propsValues/typography.js');
|
|
13
|
-
require('../common/propsValues/width.js');
|
|
14
|
-
require('../common/propsValues/type.js');
|
|
15
|
-
require('../common/propsValues/dateMode.js');
|
|
16
|
-
require('../common/propsValues/monthFormat.js');
|
|
17
|
-
require('../common/propsValues/position.js');
|
|
18
|
-
require('../common/propsValues/layouts.js');
|
|
19
|
-
require('../common/propsValues/status.js');
|
|
20
|
-
require('../common/propsValues/sentiment.js');
|
|
21
|
-
require('../common/propsValues/profileType.js');
|
|
22
|
-
require('../common/propsValues/variant.js');
|
|
23
|
-
require('../common/propsValues/scroll.js');
|
|
24
|
-
require('../common/propsValues/markdownNodeType.js');
|
|
25
|
-
require('../common/fileType.js');
|
|
26
8
|
require('@transferwise/icons');
|
|
27
9
|
require('react-intl');
|
|
28
10
|
require('../common/closeButton/CloseButton.messages.js');
|
package/build/title/Title.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","sources":["../../src/title/Title.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { forwardRef, LabelHTMLAttributes, LiHTMLAttributes } from 'react';\n\nimport { TitleTypes, Typography, Heading } from '../common';\n\nconst DEFAULT_TYPE = Typography.TITLE_GROUP;\n\nconst titleTypeMapping = {\n [Typography.TITLE_SCREEN]: 'h1',\n [Typography.TITLE_SECTION]: 'h2',\n [Typography.TITLE_SUBSECTION]: 'h3',\n [Typography.TITLE_BODY]: 'h4',\n [Typography.TITLE_GROUP]: 'h5',\n} as const;\n\ntype Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement> &\n LiHTMLAttributes<HTMLLIElement> & {\n /**\n * Default value will based one `type` prop\n */\n as?: 'span' | 'label' | 'li' | 'legend' | 'header' | Heading;\n /**\n * Default value: {@link DEFAULT_TYPE}\n */\n type?: TitleTypes;\n };\n\nconst Title = React.forwardRef<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement, Props>(\n ({ as, type = DEFAULT_TYPE, className, ...props }, ref) => {\n const mapping = titleTypeMapping[type as keyof typeof titleTypeMapping];\n const isTypeSupported = mapping !== undefined;\n if (isTypeSupported) {\n const HeaderTag = as ?? mapping;\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${type}`, className)}\n />\n );\n }\n const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${DEFAULT_TYPE}`, className)}\n />\n );\n },\n);\n\nexport default Title;\n"],"names":["DEFAULT_TYPE","Typography","TITLE_GROUP","titleTypeMapping","TITLE_SCREEN","TITLE_SECTION","TITLE_SUBSECTION","TITLE_BODY","Title","React","forwardRef","as","type","className","props","ref","mapping","isTypeSupported","undefined","HeaderTag","_jsx","clsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Title.js","sources":["../../src/title/Title.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { forwardRef, LabelHTMLAttributes, LiHTMLAttributes } from 'react';\n\nimport { TitleTypes, Typography, Heading } from '../common';\n\nconst DEFAULT_TYPE = Typography.TITLE_GROUP;\n\nconst titleTypeMapping = {\n [Typography.TITLE_SCREEN]: 'h1',\n [Typography.TITLE_SECTION]: 'h2',\n [Typography.TITLE_SUBSECTION]: 'h3',\n [Typography.TITLE_BODY]: 'h4',\n [Typography.TITLE_GROUP]: 'h5',\n} as const;\n\ntype Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement> &\n LiHTMLAttributes<HTMLLIElement> & {\n /**\n * Default value will based one `type` prop\n */\n as?: 'span' | 'label' | 'li' | 'legend' | 'header' | Heading;\n /**\n * Default value: {@link DEFAULT_TYPE}\n */\n type?: TitleTypes;\n };\n\nconst Title = React.forwardRef<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement, Props>(\n ({ as, type = DEFAULT_TYPE, className, ...props }, ref) => {\n const mapping = titleTypeMapping[type as keyof typeof titleTypeMapping];\n const isTypeSupported = mapping !== undefined;\n if (isTypeSupported) {\n const HeaderTag = as ?? mapping;\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${type}`, className)}\n />\n );\n }\n const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${DEFAULT_TYPE}`, className)}\n />\n );\n },\n);\n\nexport default Title;\n"],"names":["DEFAULT_TYPE","Typography","TITLE_GROUP","titleTypeMapping","TITLE_SCREEN","TITLE_SECTION","TITLE_SUBSECTION","TITLE_BODY","Title","React","forwardRef","as","type","className","props","ref","mapping","isTypeSupported","undefined","HeaderTag","_jsx","clsx"],"mappings":";;;;;;;;;;;;;;;;AAKA,MAAMA,YAAY,GAAGC,qBAAU,CAACC,WAAW;AAE3C,MAAMC,gBAAgB,GAAG;AACvB,EAAA,CAACF,qBAAU,CAACG,YAAY,GAAG,IAAI;AAC/B,EAAA,CAACH,qBAAU,CAACI,aAAa,GAAG,IAAI;AAChC,EAAA,CAACJ,qBAAU,CAACK,gBAAgB,GAAG,IAAI;AACnC,EAAA,CAACL,qBAAU,CAACM,UAAU,GAAG,IAAI;EAC7B,CAACN,qBAAU,CAACC,WAAW,GAAG;AAC5B,CAAU;AAcV,MAAMM,KAAK,gBAAGC,sBAAK,CAACC,UAAU,CAC5B,CAAC;EAAEC,EAAE;AAAEC,EAAAA,IAAI,GAAGZ,YAAY;EAAEa,SAAS;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,KAAK;AACzD,EAAA,MAAMC,OAAO,GAAGb,gBAAgB,CAACS,IAAI,CAAkC;AACvE,EAAA,MAAMK,eAAe,GAAGD,OAAO,KAAKE,SAAS;AAC7C,EAAA,IAAID,eAAe,EAAE;AACnB,IAAA,MAAME,SAAS,GAAGR,EAAE,IAAIK,OAAO;IAC/B,oBACEI,cAAA,CAACD,SAAS,EAAA;AACRJ,MAAAA,GAAG,EAAEA,GAAsB;AAAA,MAAA,GACvBD,KAAK;AACTD,MAAAA,SAAS,EAAEQ,SAAI,CAAC,WAAWT,IAAI,CAAA,CAAE,EAAEC,SAAS;AAAE,KAC/C,CAAC;AAEN,EAAA;AACA,EAAA,MAAMM,SAAS,GAAGR,EAAE,IAAIR,gBAAgB,CAACH,YAAY,CAAC;EACtD,oBACEoB,cAAA,CAACD,SAAS,EAAA;AACRJ,IAAAA,GAAG,EAAEA,GAAsB;AAAA,IAAA,GACvBD,KAAK;AACTD,IAAAA,SAAS,EAAEQ,SAAI,CAAC,WAAWrB,YAAY,CAAA,CAAE,EAAEa,SAAS;AAAE,GACvD,CAAC;AAEN,CACF;;;;"}
|
package/build/title/Title.mjs
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import '../common/theme.mjs';
|
|
4
|
-
import '../common/direction.mjs';
|
|
5
|
-
import '../common/propsValues/control.mjs';
|
|
6
|
-
import '../common/propsValues/breakpoint.mjs';
|
|
7
|
-
import '../common/propsValues/size.mjs';
|
|
8
3
|
import { Typography } from '../common/propsValues/typography.mjs';
|
|
9
|
-
import '../common/propsValues/width.mjs';
|
|
10
|
-
import '../common/propsValues/type.mjs';
|
|
11
|
-
import '../common/propsValues/dateMode.mjs';
|
|
12
|
-
import '../common/propsValues/monthFormat.mjs';
|
|
13
|
-
import '../common/propsValues/position.mjs';
|
|
14
|
-
import '../common/propsValues/layouts.mjs';
|
|
15
|
-
import '../common/propsValues/status.mjs';
|
|
16
|
-
import '../common/propsValues/sentiment.mjs';
|
|
17
|
-
import '../common/propsValues/profileType.mjs';
|
|
18
|
-
import '../common/propsValues/variant.mjs';
|
|
19
|
-
import '../common/propsValues/scroll.mjs';
|
|
20
|
-
import '../common/propsValues/markdownNodeType.mjs';
|
|
21
|
-
import '../common/fileType.mjs';
|
|
22
4
|
import '@transferwise/icons';
|
|
23
5
|
import 'react-intl';
|
|
24
6
|
import '../common/closeButton/CloseButton.messages.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.mjs","sources":["../../src/title/Title.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { forwardRef, LabelHTMLAttributes, LiHTMLAttributes } from 'react';\n\nimport { TitleTypes, Typography, Heading } from '../common';\n\nconst DEFAULT_TYPE = Typography.TITLE_GROUP;\n\nconst titleTypeMapping = {\n [Typography.TITLE_SCREEN]: 'h1',\n [Typography.TITLE_SECTION]: 'h2',\n [Typography.TITLE_SUBSECTION]: 'h3',\n [Typography.TITLE_BODY]: 'h4',\n [Typography.TITLE_GROUP]: 'h5',\n} as const;\n\ntype Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement> &\n LiHTMLAttributes<HTMLLIElement> & {\n /**\n * Default value will based one `type` prop\n */\n as?: 'span' | 'label' | 'li' | 'legend' | 'header' | Heading;\n /**\n * Default value: {@link DEFAULT_TYPE}\n */\n type?: TitleTypes;\n };\n\nconst Title = React.forwardRef<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement, Props>(\n ({ as, type = DEFAULT_TYPE, className, ...props }, ref) => {\n const mapping = titleTypeMapping[type as keyof typeof titleTypeMapping];\n const isTypeSupported = mapping !== undefined;\n if (isTypeSupported) {\n const HeaderTag = as ?? mapping;\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${type}`, className)}\n />\n );\n }\n const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${DEFAULT_TYPE}`, className)}\n />\n );\n },\n);\n\nexport default Title;\n"],"names":["DEFAULT_TYPE","Typography","TITLE_GROUP","titleTypeMapping","TITLE_SCREEN","TITLE_SECTION","TITLE_SUBSECTION","TITLE_BODY","Title","React","forwardRef","as","type","className","props","ref","mapping","isTypeSupported","undefined","HeaderTag","_jsx","clsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Title.mjs","sources":["../../src/title/Title.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { forwardRef, LabelHTMLAttributes, LiHTMLAttributes } from 'react';\n\nimport { TitleTypes, Typography, Heading } from '../common';\n\nconst DEFAULT_TYPE = Typography.TITLE_GROUP;\n\nconst titleTypeMapping = {\n [Typography.TITLE_SCREEN]: 'h1',\n [Typography.TITLE_SECTION]: 'h2',\n [Typography.TITLE_SUBSECTION]: 'h3',\n [Typography.TITLE_BODY]: 'h4',\n [Typography.TITLE_GROUP]: 'h5',\n} as const;\n\ntype Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement> &\n LiHTMLAttributes<HTMLLIElement> & {\n /**\n * Default value will based one `type` prop\n */\n as?: 'span' | 'label' | 'li' | 'legend' | 'header' | Heading;\n /**\n * Default value: {@link DEFAULT_TYPE}\n */\n type?: TitleTypes;\n };\n\nconst Title = React.forwardRef<HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement, Props>(\n ({ as, type = DEFAULT_TYPE, className, ...props }, ref) => {\n const mapping = titleTypeMapping[type as keyof typeof titleTypeMapping];\n const isTypeSupported = mapping !== undefined;\n if (isTypeSupported) {\n const HeaderTag = as ?? mapping;\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${type}`, className)}\n />\n );\n }\n const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];\n return (\n <HeaderTag\n ref={ref as React.Ref<any>}\n {...props}\n className={clsx(`np-text-${DEFAULT_TYPE}`, className)}\n />\n );\n },\n);\n\nexport default Title;\n"],"names":["DEFAULT_TYPE","Typography","TITLE_GROUP","titleTypeMapping","TITLE_SCREEN","TITLE_SECTION","TITLE_SUBSECTION","TITLE_BODY","Title","React","forwardRef","as","type","className","props","ref","mapping","isTypeSupported","undefined","HeaderTag","_jsx","clsx"],"mappings":";;;;;;;;AAKA,MAAMA,YAAY,GAAGC,UAAU,CAACC,WAAW;AAE3C,MAAMC,gBAAgB,GAAG;AACvB,EAAA,CAACF,UAAU,CAACG,YAAY,GAAG,IAAI;AAC/B,EAAA,CAACH,UAAU,CAACI,aAAa,GAAG,IAAI;AAChC,EAAA,CAACJ,UAAU,CAACK,gBAAgB,GAAG,IAAI;AACnC,EAAA,CAACL,UAAU,CAACM,UAAU,GAAG,IAAI;EAC7B,CAACN,UAAU,CAACC,WAAW,GAAG;AAC5B,CAAU;AAcV,MAAMM,KAAK,gBAAGC,cAAK,CAACC,UAAU,CAC5B,CAAC;EAAEC,EAAE;AAAEC,EAAAA,IAAI,GAAGZ,YAAY;EAAEa,SAAS;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,KAAK;AACzD,EAAA,MAAMC,OAAO,GAAGb,gBAAgB,CAACS,IAAI,CAAkC;AACvE,EAAA,MAAMK,eAAe,GAAGD,OAAO,KAAKE,SAAS;AAC7C,EAAA,IAAID,eAAe,EAAE;AACnB,IAAA,MAAME,SAAS,GAAGR,EAAE,IAAIK,OAAO;IAC/B,oBACEI,GAAA,CAACD,SAAS,EAAA;AACRJ,MAAAA,GAAG,EAAEA,GAAsB;AAAA,MAAA,GACvBD,KAAK;AACTD,MAAAA,SAAS,EAAEQ,IAAI,CAAC,WAAWT,IAAI,CAAA,CAAE,EAAEC,SAAS;AAAE,KAC/C,CAAC;AAEN,EAAA;AACA,EAAA,MAAMM,SAAS,GAAGR,EAAE,IAAIR,gBAAgB,CAACH,YAAY,CAAC;EACtD,oBACEoB,GAAA,CAACD,SAAS,EAAA;AACRJ,IAAAA,GAAG,EAAEA,GAAsB;AAAA,IAAA,GACvBD,KAAK;AACTD,IAAAA,SAAS,EAAEQ,IAAI,CAAC,WAAWrB,YAAY,CAAA,CAAE,EAAEa,SAAS;AAAE,GACvD,CAAC;AAEN,CACF;;;;"}
|
package/build/tooltip/Tooltip.js
CHANGED
|
@@ -5,25 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var reactPopper = require('react-popper');
|
|
8
|
-
require('../common/theme.js');
|
|
9
|
-
require('../common/direction.js');
|
|
10
|
-
require('../common/propsValues/control.js');
|
|
11
|
-
require('../common/propsValues/breakpoint.js');
|
|
12
|
-
require('../common/propsValues/size.js');
|
|
13
|
-
require('../common/propsValues/typography.js');
|
|
14
|
-
require('../common/propsValues/width.js');
|
|
15
|
-
require('../common/propsValues/type.js');
|
|
16
|
-
require('../common/propsValues/dateMode.js');
|
|
17
|
-
require('../common/propsValues/monthFormat.js');
|
|
18
8
|
var position = require('../common/propsValues/position.js');
|
|
19
|
-
require('../common/propsValues/layouts.js');
|
|
20
|
-
require('../common/propsValues/status.js');
|
|
21
|
-
require('../common/propsValues/sentiment.js');
|
|
22
|
-
require('../common/propsValues/profileType.js');
|
|
23
|
-
require('../common/propsValues/variant.js');
|
|
24
|
-
require('../common/propsValues/scroll.js');
|
|
25
|
-
require('../common/propsValues/markdownNodeType.js');
|
|
26
|
-
require('../common/fileType.js');
|
|
27
9
|
require('@transferwise/icons');
|
|
28
10
|
require('react-intl');
|
|
29
11
|
require('../common/closeButton/CloseButton.messages.js');
|
|
@@ -74,6 +56,7 @@ const Tooltip = ({
|
|
|
74
56
|
placement: position$1,
|
|
75
57
|
modifiers
|
|
76
58
|
});
|
|
59
|
+
|
|
77
60
|
// If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),
|
|
78
61
|
// it is most simple just to always position before opening
|
|
79
62
|
React.useEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sources":["../../src/tooltip/Tooltip.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/ban-ts-comment */\nimport { clsx } from 'clsx';\nimport {\n AriaAttributes,\n PropsWithChildren,\n ReactElement,\n ReactNode,\n cloneElement,\n useEffect,\n useId,\n useRef,\n useState,\n} from 'react';\nimport { usePopper } from 'react-popper';\n\nimport { CommonProps, Position } from '../common';\nimport {\n PositionBottom,\n PositionLeft,\n PositionRight,\n PositionTop,\n} from '../common/propsValues/position';\n\nexport type TooltipProps = PropsWithChildren<{\n position?: PositionTop | PositionRight | PositionBottom | PositionLeft;\n label: ReactNode;\n id?: string;\n}> &\n CommonProps;\n\nconst Tooltip = ({\n position = Position.TOP,\n children = undefined,\n label,\n id,\n className,\n}: TooltipProps) => {\n const [open, setOpen] = useState(false);\n const anchorReference = useRef(null);\n const [arrowElement, setArrowElement] = useState(null);\n const [popperElement, setPopperElement] = useState(null);\n\n const fallbackId = useId();\n const tooltipId = id ?? fallbackId;\n const modifiers = [];\n\n modifiers.push({\n name: 'arrow',\n options: {\n element: arrowElement,\n options: {\n padding: 8, // 8px from the edges of the popper\n },\n },\n });\n // This lets you displace a popper element from its reference element.\n modifiers.push({ name: 'offset', options: { offset: [0, 16] } });\n modifiers.push({\n name: 'flip',\n options: {\n fallbackPlacements: Position.TOP,\n },\n });\n\n const { styles, attributes, forceUpdate } = usePopper(anchorReference.current, popperElement, {\n placement: position,\n modifiers,\n });\n\n // If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),\n // it is most simple just to always position before opening\n useEffect(() => {\n if (open && forceUpdate) {\n forceUpdate();\n }\n }, [open]);\n\n return (\n <span\n ref={anchorReference}\n className=\"tw-tooltip-container\"\n onMouseOver={() => setOpen(true)}\n onFocus={() => setOpen(true)}\n onMouseOut={() => setOpen(false)}\n onBlur={() => setOpen(false)}\n >\n {children\n ? cloneElement(children as ReactElement<Pick<AriaAttributes, 'aria-describedby'>>, {\n 'aria-describedby': `${tooltipId}-tooltip`,\n })\n : null}\n <div\n // @ts-expect-error\n ref={setPopperElement}\n className={clsx(\n 'np-tooltip',\n 'np-panel',\n open ? `np-panel--open np-tooltip--open` : null,\n className,\n )}\n style={{ ...styles.popper }}\n {...attributes.popper}\n aria-hidden={!open}\n role=\"tooltip\"\n id={`${tooltipId}-tooltip`}\n >\n <div className=\"np-panel__content tooltip-inner\">\n {label}\n <div\n // @ts-expect-error\n ref={setArrowElement}\n className={clsx('np-panel__arrow')}\n style={styles.arrow}\n />\n </div>\n </div>\n </span>\n );\n};\n\nexport default Tooltip;\n"],"names":["Tooltip","position","Position","TOP","children","undefined","label","id","className","open","setOpen","useState","anchorReference","useRef","arrowElement","setArrowElement","popperElement","setPopperElement","fallbackId","useId","tooltipId","modifiers","push","name","options","element","padding","offset","fallbackPlacements","styles","attributes","forceUpdate","usePopper","current","placement","useEffect","_jsxs","ref","onMouseOver","onFocus","onMouseOut","onBlur","cloneElement","_jsx","clsx","style","popper","role","arrow"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sources":["../../src/tooltip/Tooltip.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/ban-ts-comment */\nimport { clsx } from 'clsx';\nimport {\n AriaAttributes,\n PropsWithChildren,\n ReactElement,\n ReactNode,\n cloneElement,\n useEffect,\n useId,\n useRef,\n useState,\n} from 'react';\nimport { usePopper } from 'react-popper';\n\nimport { CommonProps, Position } from '../common';\nimport {\n PositionBottom,\n PositionLeft,\n PositionRight,\n PositionTop,\n} from '../common/propsValues/position';\n\nexport type TooltipProps = PropsWithChildren<{\n position?: PositionTop | PositionRight | PositionBottom | PositionLeft;\n label: ReactNode;\n id?: string;\n}> &\n CommonProps;\n\nconst Tooltip = ({\n position = Position.TOP,\n children = undefined,\n label,\n id,\n className,\n}: TooltipProps) => {\n const [open, setOpen] = useState(false);\n const anchorReference = useRef(null);\n const [arrowElement, setArrowElement] = useState(null);\n const [popperElement, setPopperElement] = useState(null);\n\n const fallbackId = useId();\n const tooltipId = id ?? fallbackId;\n const modifiers = [];\n\n modifiers.push({\n name: 'arrow',\n options: {\n element: arrowElement,\n options: {\n padding: 8, // 8px from the edges of the popper\n },\n },\n });\n // This lets you displace a popper element from its reference element.\n modifiers.push({ name: 'offset', options: { offset: [0, 16] } });\n modifiers.push({\n name: 'flip',\n options: {\n fallbackPlacements: Position.TOP,\n },\n });\n\n const { styles, attributes, forceUpdate } = usePopper(anchorReference.current, popperElement, {\n placement: position,\n modifiers,\n });\n\n // If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),\n // it is most simple just to always position before opening\n useEffect(() => {\n if (open && forceUpdate) {\n forceUpdate();\n }\n }, [open]);\n\n return (\n <span\n ref={anchorReference}\n className=\"tw-tooltip-container\"\n onMouseOver={() => setOpen(true)}\n onFocus={() => setOpen(true)}\n onMouseOut={() => setOpen(false)}\n onBlur={() => setOpen(false)}\n >\n {children\n ? cloneElement(children as ReactElement<Pick<AriaAttributes, 'aria-describedby'>>, {\n 'aria-describedby': `${tooltipId}-tooltip`,\n })\n : null}\n <div\n // @ts-expect-error\n ref={setPopperElement}\n className={clsx(\n 'np-tooltip',\n 'np-panel',\n open ? `np-panel--open np-tooltip--open` : null,\n className,\n )}\n style={{ ...styles.popper }}\n {...attributes.popper}\n aria-hidden={!open}\n role=\"tooltip\"\n id={`${tooltipId}-tooltip`}\n >\n <div className=\"np-panel__content tooltip-inner\">\n {label}\n <div\n // @ts-expect-error\n ref={setArrowElement}\n className={clsx('np-panel__arrow')}\n style={styles.arrow}\n />\n </div>\n </div>\n </span>\n );\n};\n\nexport default Tooltip;\n"],"names":["Tooltip","position","Position","TOP","children","undefined","label","id","className","open","setOpen","useState","anchorReference","useRef","arrowElement","setArrowElement","popperElement","setPopperElement","fallbackId","useId","tooltipId","modifiers","push","name","options","element","padding","offset","fallbackPlacements","styles","attributes","forceUpdate","usePopper","current","placement","useEffect","_jsxs","ref","onMouseOver","onFocus","onMouseOut","onBlur","cloneElement","_jsx","clsx","style","popper","role","arrow"],"mappings":";;;;;;;;;;;;;AAAA;AA8BA,MAAMA,OAAO,GAAGA,CAAC;YACfC,UAAQ,GAAGC,iBAAQ,CAACC,GAAG;AACvBC,EAAAA,QAAQ,GAAGC,SAAS;EACpBC,KAAK;EACLC,EAAE;AACFC,EAAAA;AACY,CAAC,KAAK;EAClB,MAAM,CAACC,IAAI,EAAEC,OAAO,CAAC,GAAGC,cAAQ,CAAC,KAAK,CAAC;AACvC,EAAA,MAAMC,eAAe,GAAGC,YAAM,CAAC,IAAI,CAAC;EACpC,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAGJ,cAAQ,CAAC,IAAI,CAAC;EACtD,MAAM,CAACK,aAAa,EAAEC,gBAAgB,CAAC,GAAGN,cAAQ,CAAC,IAAI,CAAC;AAExD,EAAA,MAAMO,UAAU,GAAGC,WAAK,EAAE;AAC1B,EAAA,MAAMC,SAAS,GAAGb,EAAE,IAAIW,UAAU;EAClC,MAAMG,SAAS,GAAG,EAAE;EAEpBA,SAAS,CAACC,IAAI,CAAC;AACbC,IAAAA,IAAI,EAAE,OAAO;AACbC,IAAAA,OAAO,EAAE;AACPC,MAAAA,OAAO,EAAEX,YAAY;AACrBU,MAAAA,OAAO,EAAE;QACPE,OAAO,EAAE,CAAC;AACZ;AACF;AACF,GAAC,CAAC;AACF;EACAL,SAAS,CAACC,IAAI,CAAC;AAAEC,IAAAA,IAAI,EAAE,QAAQ;AAAEC,IAAAA,OAAO,EAAE;AAAEG,MAAAA,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE;AAAE;AAAE,GAAC,CAAC;EAChEN,SAAS,CAACC,IAAI,CAAC;AACbC,IAAAA,IAAI,EAAE,MAAM;AACZC,IAAAA,OAAO,EAAE;MACPI,kBAAkB,EAAE1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,EAAa,CAACrC,IAAK;AACnBsC,MAAAA,IAAI,EAAC,SAAS;MACdxC,EAAE,EAAE,CAAA,EAAGa,SAAS,CAAA,QAAA,CAAW;AAAAhB,MAAAA,QAAA,eAE3BgC,eAAA,CAAA,KAAA,EAAA;AAAK5B,QAAAA,SAAS,EAAC,iCAAiC;QAAAJ,QAAA,EAAA,CAC7CE,KAAK,eACNqC,cAAA,CAAA,KAAA,EAAA;AACE;AACAN,UAAAA,GAAG,EAAEtB,eAAgB;AACrBP,UAAAA,SAAS,EAAEoC,SAAI,CAAC,iBAAiB,CAAE;UACnCC,KAAK,EAAEhB,MAAM,CAACmB;AAAM,SACrB,CAAC;OACC;AAAC,KACH,CAAC;AAAA,GACF,CAAC;AAEX;;;;"}
|
|
@@ -1,25 +1,7 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import { useState, useRef, useId, useEffect, cloneElement } from 'react';
|
|
3
3
|
import { usePopper } from 'react-popper';
|
|
4
|
-
import '../common/theme.mjs';
|
|
5
|
-
import '../common/direction.mjs';
|
|
6
|
-
import '../common/propsValues/control.mjs';
|
|
7
|
-
import '../common/propsValues/breakpoint.mjs';
|
|
8
|
-
import '../common/propsValues/size.mjs';
|
|
9
|
-
import '../common/propsValues/typography.mjs';
|
|
10
|
-
import '../common/propsValues/width.mjs';
|
|
11
|
-
import '../common/propsValues/type.mjs';
|
|
12
|
-
import '../common/propsValues/dateMode.mjs';
|
|
13
|
-
import '../common/propsValues/monthFormat.mjs';
|
|
14
4
|
import { Position } from '../common/propsValues/position.mjs';
|
|
15
|
-
import '../common/propsValues/layouts.mjs';
|
|
16
|
-
import '../common/propsValues/status.mjs';
|
|
17
|
-
import '../common/propsValues/sentiment.mjs';
|
|
18
|
-
import '../common/propsValues/profileType.mjs';
|
|
19
|
-
import '../common/propsValues/variant.mjs';
|
|
20
|
-
import '../common/propsValues/scroll.mjs';
|
|
21
|
-
import '../common/propsValues/markdownNodeType.mjs';
|
|
22
|
-
import '../common/fileType.mjs';
|
|
23
5
|
import '@transferwise/icons';
|
|
24
6
|
import 'react-intl';
|
|
25
7
|
import '../common/closeButton/CloseButton.messages.mjs';
|
|
@@ -70,6 +52,7 @@ const Tooltip = ({
|
|
|
70
52
|
placement: position,
|
|
71
53
|
modifiers
|
|
72
54
|
});
|
|
55
|
+
|
|
73
56
|
// If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),
|
|
74
57
|
// it is most simple just to always position before opening
|
|
75
58
|
useEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.mjs","sources":["../../src/tooltip/Tooltip.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/ban-ts-comment */\nimport { clsx } from 'clsx';\nimport {\n AriaAttributes,\n PropsWithChildren,\n ReactElement,\n ReactNode,\n cloneElement,\n useEffect,\n useId,\n useRef,\n useState,\n} from 'react';\nimport { usePopper } from 'react-popper';\n\nimport { CommonProps, Position } from '../common';\nimport {\n PositionBottom,\n PositionLeft,\n PositionRight,\n PositionTop,\n} from '../common/propsValues/position';\n\nexport type TooltipProps = PropsWithChildren<{\n position?: PositionTop | PositionRight | PositionBottom | PositionLeft;\n label: ReactNode;\n id?: string;\n}> &\n CommonProps;\n\nconst Tooltip = ({\n position = Position.TOP,\n children = undefined,\n label,\n id,\n className,\n}: TooltipProps) => {\n const [open, setOpen] = useState(false);\n const anchorReference = useRef(null);\n const [arrowElement, setArrowElement] = useState(null);\n const [popperElement, setPopperElement] = useState(null);\n\n const fallbackId = useId();\n const tooltipId = id ?? fallbackId;\n const modifiers = [];\n\n modifiers.push({\n name: 'arrow',\n options: {\n element: arrowElement,\n options: {\n padding: 8, // 8px from the edges of the popper\n },\n },\n });\n // This lets you displace a popper element from its reference element.\n modifiers.push({ name: 'offset', options: { offset: [0, 16] } });\n modifiers.push({\n name: 'flip',\n options: {\n fallbackPlacements: Position.TOP,\n },\n });\n\n const { styles, attributes, forceUpdate } = usePopper(anchorReference.current, popperElement, {\n placement: position,\n modifiers,\n });\n\n // If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),\n // it is most simple just to always position before opening\n useEffect(() => {\n if (open && forceUpdate) {\n forceUpdate();\n }\n }, [open]);\n\n return (\n <span\n ref={anchorReference}\n className=\"tw-tooltip-container\"\n onMouseOver={() => setOpen(true)}\n onFocus={() => setOpen(true)}\n onMouseOut={() => setOpen(false)}\n onBlur={() => setOpen(false)}\n >\n {children\n ? cloneElement(children as ReactElement<Pick<AriaAttributes, 'aria-describedby'>>, {\n 'aria-describedby': `${tooltipId}-tooltip`,\n })\n : null}\n <div\n // @ts-expect-error\n ref={setPopperElement}\n className={clsx(\n 'np-tooltip',\n 'np-panel',\n open ? `np-panel--open np-tooltip--open` : null,\n className,\n )}\n style={{ ...styles.popper }}\n {...attributes.popper}\n aria-hidden={!open}\n role=\"tooltip\"\n id={`${tooltipId}-tooltip`}\n >\n <div className=\"np-panel__content tooltip-inner\">\n {label}\n <div\n // @ts-expect-error\n ref={setArrowElement}\n className={clsx('np-panel__arrow')}\n style={styles.arrow}\n />\n </div>\n </div>\n </span>\n );\n};\n\nexport default Tooltip;\n"],"names":["Tooltip","position","Position","TOP","children","undefined","label","id","className","open","setOpen","useState","anchorReference","useRef","arrowElement","setArrowElement","popperElement","setPopperElement","fallbackId","useId","tooltipId","modifiers","push","name","options","element","padding","offset","fallbackPlacements","styles","attributes","forceUpdate","usePopper","current","placement","useEffect","_jsxs","ref","onMouseOver","onFocus","onMouseOut","onBlur","cloneElement","_jsx","clsx","style","popper","role","arrow"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.mjs","sources":["../../src/tooltip/Tooltip.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/ban-ts-comment */\nimport { clsx } from 'clsx';\nimport {\n AriaAttributes,\n PropsWithChildren,\n ReactElement,\n ReactNode,\n cloneElement,\n useEffect,\n useId,\n useRef,\n useState,\n} from 'react';\nimport { usePopper } from 'react-popper';\n\nimport { CommonProps, Position } from '../common';\nimport {\n PositionBottom,\n PositionLeft,\n PositionRight,\n PositionTop,\n} from '../common/propsValues/position';\n\nexport type TooltipProps = PropsWithChildren<{\n position?: PositionTop | PositionRight | PositionBottom | PositionLeft;\n label: ReactNode;\n id?: string;\n}> &\n CommonProps;\n\nconst Tooltip = ({\n position = Position.TOP,\n children = undefined,\n label,\n id,\n className,\n}: TooltipProps) => {\n const [open, setOpen] = useState(false);\n const anchorReference = useRef(null);\n const [arrowElement, setArrowElement] = useState(null);\n const [popperElement, setPopperElement] = useState(null);\n\n const fallbackId = useId();\n const tooltipId = id ?? fallbackId;\n const modifiers = [];\n\n modifiers.push({\n name: 'arrow',\n options: {\n element: arrowElement,\n options: {\n padding: 8, // 8px from the edges of the popper\n },\n },\n });\n // This lets you displace a popper element from its reference element.\n modifiers.push({ name: 'offset', options: { offset: [0, 16] } });\n modifiers.push({\n name: 'flip',\n options: {\n fallbackPlacements: Position.TOP,\n },\n });\n\n const { styles, attributes, forceUpdate } = usePopper(anchorReference.current, popperElement, {\n placement: position,\n modifiers,\n });\n\n // If the trigger is not visible when the position is calculated, it will be incorrect. Because this can happen repeatedly (on resize for example),\n // it is most simple just to always position before opening\n useEffect(() => {\n if (open && forceUpdate) {\n forceUpdate();\n }\n }, [open]);\n\n return (\n <span\n ref={anchorReference}\n className=\"tw-tooltip-container\"\n onMouseOver={() => setOpen(true)}\n onFocus={() => setOpen(true)}\n onMouseOut={() => setOpen(false)}\n onBlur={() => setOpen(false)}\n >\n {children\n ? cloneElement(children as ReactElement<Pick<AriaAttributes, 'aria-describedby'>>, {\n 'aria-describedby': `${tooltipId}-tooltip`,\n })\n : null}\n <div\n // @ts-expect-error\n ref={setPopperElement}\n className={clsx(\n 'np-tooltip',\n 'np-panel',\n open ? `np-panel--open np-tooltip--open` : null,\n className,\n )}\n style={{ ...styles.popper }}\n {...attributes.popper}\n aria-hidden={!open}\n role=\"tooltip\"\n id={`${tooltipId}-tooltip`}\n >\n <div className=\"np-panel__content tooltip-inner\">\n {label}\n <div\n // @ts-expect-error\n ref={setArrowElement}\n className={clsx('np-panel__arrow')}\n style={styles.arrow}\n />\n </div>\n </div>\n </span>\n );\n};\n\nexport default Tooltip;\n"],"names":["Tooltip","position","Position","TOP","children","undefined","label","id","className","open","setOpen","useState","anchorReference","useRef","arrowElement","setArrowElement","popperElement","setPopperElement","fallbackId","useId","tooltipId","modifiers","push","name","options","element","padding","offset","fallbackPlacements","styles","attributes","forceUpdate","usePopper","current","placement","useEffect","_jsxs","ref","onMouseOver","onFocus","onMouseOut","onBlur","cloneElement","_jsx","clsx","style","popper","role","arrow"],"mappings":";;;;;;;;;AAAA;AA8BA,MAAMA,OAAO,GAAGA,CAAC;EACfC,QAAQ,GAAGC,QAAQ,CAACC,GAAG;AACvBC,EAAAA,QAAQ,GAAGC,SAAS;EACpBC,KAAK;EACLC,EAAE;AACFC,EAAAA;AACY,CAAC,KAAK;EAClB,MAAM,CAACC,IAAI,EAAEC,OAAO,CAAC,GAAGC,QAAQ,CAAC,KAAK,CAAC;AACvC,EAAA,MAAMC,eAAe,GAAGC,MAAM,CAAC,IAAI,CAAC;EACpC,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAGJ,QAAQ,CAAC,IAAI,CAAC;EACtD,MAAM,CAACK,aAAa,EAAEC,gBAAgB,CAAC,GAAGN,QAAQ,CAAC,IAAI,CAAC;AAExD,EAAA,MAAMO,UAAU,GAAGC,KAAK,EAAE;AAC1B,EAAA,MAAMC,SAAS,GAAGb,EAAE,IAAIW,UAAU;EAClC,MAAMG,SAAS,GAAG,EAAE;EAEpBA,SAAS,CAACC,IAAI,CAAC;AACbC,IAAAA,IAAI,EAAE,OAAO;AACbC,IAAAA,OAAO,EAAE;AACPC,MAAAA,OAAO,EAAEX,YAAY;AACrBU,MAAAA,OAAO,EAAE;QACPE,OAAO,EAAE,CAAC;AACZ;AACF;AACF,GAAC,CAAC;AACF;EACAL,SAAS,CAAC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gBAAiB;AACtBT,MAAAA,SAAS,EAAEoC,IAAI,CACb,YAAY,EACZ,UAAU,EACVnC,IAAI,GAAG,CAAA,+BAAA,CAAiC,GAAG,IAAI,EAC/CD,SACF,CAAE;AACFqC,MAAAA,KAAK,EAAE;AAAE,QAAA,GAAGhB,MAAM,CAACiB;OAAS;MAAA,GACxBhB,UAAU,CAACgB,MAAM;AACrB,MAAA,aAAA,EAAa,CAACrC,IAAK;AACnBsC,MAAAA,IAAI,EAAC,SAAS;MACdxC,EAAE,EAAE,CAAA,EAAGa,SAAS,CAAA,QAAA,CAAW;AAAAhB,MAAAA,QAAA,eAE3BgC,IAAA,CAAA,KAAA,EAAA;AAAK5B,QAAAA,SAAS,EAAC,iCAAiC;QAAAJ,QAAA,EAAA,CAC7CE,KAAK,eACNqC,GAAA,CAAA,KAAA,EAAA;AACE;AACAN,UAAAA,GAAG,EAAEtB,eAAgB;AACrBP,UAAAA,SAAS,EAAEoC,IAAI,CAAC,iBAAiB,CAAE;UACnCC,KAAK,EAAEhB,MAAM,CAACmB;AAAM,SACrB,CAAC;OACC;AAAC,KACH,CAAC;AAAA,GACF,CAAC;AAEX;;;;"}
|
|
@@ -10,28 +10,11 @@ var React = require('react');
|
|
|
10
10
|
var reactIntl = require('react-intl');
|
|
11
11
|
var Chip = require('../chips/Chip.js');
|
|
12
12
|
var documentIosClick = require('../common/domHelpers/documentIosClick.js');
|
|
13
|
-
require('../common/theme.js');
|
|
14
|
-
require('../common/direction.js');
|
|
15
|
-
require('../common/propsValues/control.js');
|
|
16
|
-
require('../common/propsValues/breakpoint.js');
|
|
17
13
|
var size = require('../common/propsValues/size.js');
|
|
18
|
-
require('../common/propsValues/typography.js');
|
|
19
|
-
require('../common/propsValues/width.js');
|
|
20
|
-
require('../common/propsValues/type.js');
|
|
21
|
-
require('../common/propsValues/dateMode.js');
|
|
22
|
-
require('../common/propsValues/monthFormat.js');
|
|
23
|
-
require('../common/propsValues/position.js');
|
|
24
|
-
require('../common/propsValues/layouts.js');
|
|
25
|
-
require('../common/propsValues/status.js');
|
|
26
14
|
var sentiment = require('../common/propsValues/sentiment.js');
|
|
27
|
-
require('../common/propsValues/profileType.js');
|
|
28
|
-
require('../common/propsValues/variant.js');
|
|
29
|
-
require('../common/propsValues/scroll.js');
|
|
30
|
-
require('../common/propsValues/markdownNodeType.js');
|
|
31
|
-
require('../common/fileType.js');
|
|
32
15
|
require('../common/closeButton/CloseButton.messages.js');
|
|
33
16
|
var jsxRuntime = require('react/jsx-runtime');
|
|
34
|
-
var
|
|
17
|
+
var InlinePrompt = require('../prompt/InlinePrompt/InlinePrompt.js');
|
|
35
18
|
var contexts = require('../inputs/contexts.js');
|
|
36
19
|
var TypeaheadInput = require('./typeaheadInput/TypeaheadInput.js');
|
|
37
20
|
var TypeaheadOption = require('./typeaheadOption/TypeaheadOption.js');
|
|
@@ -427,9 +410,20 @@ class Typeahead extends React.Component {
|
|
|
427
410
|
showNewEntry,
|
|
428
411
|
dropdownOpen
|
|
429
412
|
});
|
|
430
|
-
const alertType =
|
|
431
|
-
|
|
432
|
-
|
|
413
|
+
const alertType = (() => {
|
|
414
|
+
if (!alert?.type || alert.type === sentiment.Sentiment.INFO) {
|
|
415
|
+
return sentiment.Sentiment.NEUTRAL;
|
|
416
|
+
}
|
|
417
|
+
if (alert.type === sentiment.Sentiment.ERROR) {
|
|
418
|
+
return sentiment.Sentiment.NEGATIVE;
|
|
419
|
+
}
|
|
420
|
+
if (alert.type === sentiment.Sentiment.SUCCESS) {
|
|
421
|
+
return sentiment.Sentiment.POSITIVE;
|
|
422
|
+
}
|
|
423
|
+
return alert.type;
|
|
424
|
+
})();
|
|
425
|
+
const hasError = errorState || alert && alertType === sentiment.Sentiment.NEGATIVE;
|
|
426
|
+
const displayAlert = !errorState && alert || alert && alertType === sentiment.Sentiment.NEGATIVE;
|
|
433
427
|
const hasWarning = displayAlert && alertType === sentiment.Sentiment.WARNING;
|
|
434
428
|
const hasInfo = displayAlert && alertType === sentiment.Sentiment.NEUTRAL;
|
|
435
429
|
return /*#__PURE__*/ /* eslint-disable-next-line jsx-a11y/click-events-have-key-events */jsxRuntime.jsx("div", {
|
|
@@ -444,7 +438,7 @@ class Typeahead extends React.Component {
|
|
|
444
438
|
}),
|
|
445
439
|
onClick: documentIosClick.stopPropagation,
|
|
446
440
|
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
447
|
-
className: clsx.clsx('form-group', {
|
|
441
|
+
className: clsx.clsx('form-group', 'form-group--typeahead', {
|
|
448
442
|
'has-error': hasError,
|
|
449
443
|
'has-warning': hasWarning,
|
|
450
444
|
'has-info': hasInfo
|
|
@@ -484,8 +478,10 @@ class Typeahead extends React.Component {
|
|
|
484
478
|
children: /*#__PURE__*/jsxRuntime.jsx(icons.Cross, {})
|
|
485
479
|
})
|
|
486
480
|
})]
|
|
487
|
-
}), displayAlert ? /*#__PURE__*/jsxRuntime.jsx(
|
|
488
|
-
|
|
481
|
+
}), displayAlert ? /*#__PURE__*/jsxRuntime.jsx(InlinePrompt.InlinePrompt, {
|
|
482
|
+
sentiment: alertType,
|
|
483
|
+
className: "typeahead--prompt",
|
|
484
|
+
width: "full",
|
|
489
485
|
children: alert.message
|
|
490
486
|
}) : menu]
|
|
491
487
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typeahead.js","sources":["../../src/typeahead/Typeahead.tsx"],"sourcesContent":["import { Cross as CrossIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { DebouncedFunc } from 'lodash';\nimport clamp from 'lodash.clamp';\nimport debounce from 'lodash.debounce';\nimport React, { Component, ReactNode } from 'react';\nimport { injectIntl, WrappedComponentProps } from 'react-intl';\n\nimport Chip from '../chips/Chip';\nimport {\n Size,\n Sentiment,\n SizeMedium,\n SizeLarge,\n addClickClassToDocumentOnIos,\n removeClickClassFromDocumentOnIos,\n stopPropagation,\n} from '../common';\nimport InlineAlert from '../inlineAlert';\nimport { InlineAlertProps } from '../inlineAlert/InlineAlert';\nimport { withInputAttributes, WithInputAttributesProps } from '../inputs/contexts';\n\nimport TypeaheadInput from './typeaheadInput/TypeaheadInput';\nimport TypeaheadOption from './typeaheadOption/TypeaheadOption';\nimport messages from './Typeahead.messages';\n\nconst DEFAULT_MIN_QUERY_LENGTH = 3;\nconst SEARCH_DELAY = 200;\n\nexport type TypeaheadOption<T = string> = {\n label: string;\n note?: string;\n secondary?: string;\n value?: T;\n clearQueryOnSelect?: boolean;\n keepFocusOnSelect?: boolean;\n};\n\nexport interface TypeaheadProps<T> extends Partial<WrappedComponentProps> {\n id: string;\n name: string;\n addon?: ReactNode;\n alert?: {\n message: InlineAlertProps['children'];\n type?: InlineAlertProps['type'];\n };\n allowNew?: boolean;\n autoFillOnBlur?: boolean;\n autoFocus?: boolean;\n chipSeparators?: readonly string[];\n clearable?: boolean;\n footer?: ReactNode;\n initialValue?: readonly TypeaheadOption<T>[];\n inputAutoComplete?: string;\n maxHeight?: number;\n minQueryLength?: number;\n placeholder?: string;\n multiple?: boolean;\n options: readonly TypeaheadOption<T>[];\n searchDelay?: number;\n showSuggestions?: boolean;\n showNewEntry?: boolean;\n size?: SizeMedium | SizeLarge;\n\n onBlur?: () => void;\n onChange: (options: TypeaheadOption<T>[]) => void;\n onFocus?: () => void;\n onInputChange?: (query: string) => void;\n onSearch?: (query: string) => void;\n validateChip?: (chip: TypeaheadOption<T>) => boolean;\n}\n\ntype TypeaheadPropsWithInputAttributes<T> = TypeaheadProps<T> &\n Partial<WithInputAttributesProps> &\n WrappedComponentProps;\n\ntype TypeaheadState<T> = {\n selected: readonly TypeaheadOption<T>[];\n keyboardFocusedOptionIndex: number | null;\n errorState: boolean;\n query: string;\n optionsShown: boolean;\n isFocused: boolean;\n};\n\nclass Typeahead<T> extends Component<TypeaheadPropsWithInputAttributes<T>, TypeaheadState<T>> {\n declare props: TypeaheadPropsWithInputAttributes<T> &\n Required<Pick<TypeaheadPropsWithInputAttributes<T>, keyof typeof Typeahead.defaultProps>>;\n\n static defaultProps = {\n allowNew: false,\n autoFillOnBlur: true,\n autoFocus: false,\n chipSeparators: [],\n clearable: true,\n initialValue: [],\n inputAutoComplete: 'new-password',\n minQueryLength: DEFAULT_MIN_QUERY_LENGTH,\n multiple: false,\n searchDelay: SEARCH_DELAY,\n showSuggestions: true,\n showNewEntry: true,\n size: Size.MEDIUM,\n validateChip: () => true,\n } satisfies Partial<TypeaheadProps<unknown>>;\n optionRefs: (React.RefObject<HTMLLIElement> | null)[];\n\n constructor(props: TypeaheadPropsWithInputAttributes<T>) {\n super(props);\n const { searchDelay, initialValue, multiple } = this.props;\n this.handleSearchDebounced = debounce(this.handleSearch, searchDelay);\n const initialQuery = !multiple && initialValue.length > 0 ? initialValue[0].label : '';\n this.state = {\n selected: initialValue,\n errorState: false,\n query: initialQuery,\n keyboardFocusedOptionIndex: null,\n optionsShown: false,\n isFocused: false,\n };\n this.optionRefs = [] as (React.RefObject<HTMLLIElement> | null)[];\n }\n\n handleSearchDebounced: DebouncedFunc<Typeahead<T>['handleSearch']>;\n\n UNSAFE_componentWillReceiveProps(nextProps: TypeaheadPropsWithInputAttributes<T>) {\n if (nextProps.multiple !== this.props.multiple) {\n this.setState((previousState) => {\n const { selected } = previousState;\n if (!nextProps.multiple && selected.length > 0) {\n return {\n query: selected[0].label,\n selected: [selected[0]],\n };\n }\n return {\n selected: previousState.selected,\n query: '',\n };\n });\n }\n }\n\n componentWillUnmount() {\n this.handleSearchDebounced.cancel();\n }\n\n handleOnFocus = () => {\n this.showMenu();\n this.props.onFocus?.();\n };\n\n onOptionSelected = (event: React.MouseEvent, item: TypeaheadOption<T>) => {\n event.preventDefault();\n this.selectItem(item);\n };\n\n handleOnChange: React.ChangeEventHandler<HTMLInputElement> = (event) => {\n const { optionsShown, selected } = this.state;\n const { multiple, onInputChange } = this.props;\n\n if (!optionsShown) {\n this.showMenu();\n }\n\n const query = event.target.value;\n\n if (!multiple && selected.length > 0) {\n this.updateSelectedValue([]);\n }\n\n this.setState({ query }, () => {\n this.handleSearchDebounced(query);\n if (onInputChange) {\n onInputChange(query);\n }\n });\n };\n\n handleOnPaste: React.ClipboardEventHandler<HTMLInputElement> = (event) => {\n const { allowNew, multiple, chipSeparators } = this.props;\n const { selected } = this.state;\n\n if (allowNew && multiple && chipSeparators.length > 0) {\n event.preventDefault();\n const value = event.clipboardData.getData('text');\n if (value) {\n const regex = new RegExp(chipSeparators.join('|'));\n const pastedChips = value\n .split(regex)\n .map((label) => ({ label: label.trim() }))\n .filter((chip) => chip.label);\n\n this.updateSelectedValue([...selected, ...pastedChips]);\n }\n }\n };\n\n handleOnKeyDown: React.KeyboardEventHandler<HTMLInputElement> = (event) => {\n const { showSuggestions, allowNew, multiple, chipSeparators, options } = this.props;\n const { keyboardFocusedOptionIndex, query, selected } = this.state;\n const chipsMode = !showSuggestions && allowNew && multiple;\n\n if (chipsMode && ['Enter', 'Tab', ...chipSeparators].includes(event.key) && query.trim()) {\n event.preventDefault();\n this.selectItem({ label: query });\n } else {\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n this.moveFocusedOption(1);\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.moveFocusedOption(-1);\n break;\n case 'Enter':\n event.preventDefault();\n if (keyboardFocusedOptionIndex != null && options[keyboardFocusedOptionIndex]) {\n this.selectItem(options[keyboardFocusedOptionIndex]);\n } else if (allowNew && query.trim()) {\n this.selectItem({ label: query });\n }\n break;\n case 'Backspace':\n if (multiple && !query && selected.length > 0) {\n this.updateSelectedValue(selected.slice(0, -1));\n }\n break;\n default:\n break;\n }\n }\n };\n moveFocusedOption(offset: number) {\n this.setState((previousState) => {\n const { keyboardFocusedOptionIndex } = previousState;\n const { options } = this.props;\n let index = 0;\n if (keyboardFocusedOptionIndex !== null) {\n index = clamp(keyboardFocusedOptionIndex + offset, 0, options.length - 1);\n }\n const optionRef = this.optionRefs[index];\n if (optionRef?.current) {\n optionRef.current.focus(); // Set focus on the option element\n }\n return {\n keyboardFocusedOptionIndex: index,\n };\n });\n }\n\n selectItem = (item: TypeaheadOption<T>) => {\n const { multiple } = this.props;\n let selected = [...this.state.selected];\n let query;\n if (multiple) {\n selected.push(item);\n query = '';\n } else {\n selected = [item];\n query = item.label;\n }\n\n this.updateSelectedValue(selected);\n\n if (!item.keepFocusOnSelect) {\n this.hideMenu();\n }\n\n if (item.clearQueryOnSelect) {\n query = '';\n }\n\n this.setState({\n query,\n });\n };\n\n handleSearch = (query: string) => {\n const { onSearch } = this.props;\n if (onSearch) {\n onSearch(query);\n }\n\n this.setState((previousState) => ({\n keyboardFocusedOptionIndex: previousState.keyboardFocusedOptionIndex === null ? null : 0,\n }));\n };\n\n handleDocumentClick = () => {\n if (this.state.optionsShown) {\n this.hideMenu();\n const { allowNew, onBlur, autoFillOnBlur } = this.props;\n const { query } = this.state;\n this.setState({\n isFocused: false,\n });\n if (allowNew && autoFillOnBlur && query.trim()) {\n this.selectItem({ label: query });\n }\n\n if (onBlur) {\n onBlur();\n }\n }\n };\n\n showMenu = () => {\n this.setState(\n {\n isFocused: true,\n optionsShown: true,\n },\n () => {\n addClickClassToDocumentOnIos();\n document.addEventListener('click', this.handleDocumentClick, false);\n },\n );\n };\n\n hideMenu = () => {\n this.setState(\n {\n optionsShown: false,\n keyboardFocusedOptionIndex: null,\n },\n () => {\n removeClickClassFromDocumentOnIos();\n document.removeEventListener('click', this.handleDocumentClick, false);\n },\n );\n };\n\n updateSelectedValue = (selected: readonly TypeaheadOption<T>[]) => {\n const { onChange, validateChip } = this.props;\n\n const errorState = selected.some((chip) => !validateChip(chip));\n this.setState({ selected, errorState }, () => {\n onChange([...selected]);\n });\n };\n\n clear = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.preventDefault();\n if (this.state.selected.length > 0) {\n this.updateSelectedValue([]);\n }\n\n this.setState({\n query: '',\n });\n };\n\n removeChip = (option: TypeaheadOption<T>) => {\n const { selected } = this.state;\n\n if (selected.length > 0) {\n this.updateSelectedValue([...selected.filter((selectedOption) => selectedOption !== option)]);\n }\n };\n\n renderChip = (option: TypeaheadOption<T>, idx: number): ReactNode => {\n const valid = this.props.validateChip?.(option);\n\n return (\n <Chip\n key={idx}\n label={option.label}\n className={clsx('m-t-1', {\n 'has-error': !valid,\n 'np-chip--valid': valid,\n })}\n onRemove={() => this.removeChip(option)}\n />\n );\n };\n\n renderMenu = ({\n footer,\n options,\n id,\n keyboardFocusedOptionIndex,\n query,\n allowNew,\n showNewEntry,\n dropdownOpen,\n }: Pick<\n TypeaheadPropsWithInputAttributes<T>,\n 'footer' | 'options' | 'id' | 'allowNew' | 'showNewEntry'\n > &\n Pick<TypeaheadState<T>, 'keyboardFocusedOptionIndex' | 'query'> & {\n dropdownOpen: boolean;\n }) => {\n const optionsToRender = [...options];\n if (\n allowNew &&\n query.trim() &&\n options.every((option) => option.label.trim().toUpperCase() !== query.trim().toUpperCase()) &&\n showNewEntry\n ) {\n optionsToRender.push({\n label: query,\n });\n }\n return (\n <div\n className={clsx('dropdown btn-group btn-block', { open: dropdownOpen })}\n id={`menu-${id}`}\n >\n {(!!optionsToRender.length || footer) && (\n <ul className=\"dropdown-menu\" role=\"menu\">\n {optionsToRender.map((option, idx) => {\n const ref = React.createRef<HTMLLIElement>();\n this.optionRefs[idx] = ref;\n return (\n <TypeaheadOption\n key={`${option.label}${idx.toString()}`}\n ref={ref}\n query={query}\n option={option}\n selected={keyboardFocusedOptionIndex === idx}\n id={String(option.label.replace(/\\s+/g, '-'))}\n onClick={(event) => {\n this.onOptionSelected(event, option);\n }}\n />\n );\n })}\n {footer}\n </ul>\n )}\n </div>\n );\n };\n\n render() {\n const {\n inputAttributes,\n id: idProp,\n placeholder,\n multiple,\n size,\n addon,\n name,\n clearable,\n allowNew,\n footer,\n showSuggestions,\n showNewEntry,\n options,\n minQueryLength,\n autoFocus,\n maxHeight,\n alert,\n inputAutoComplete,\n } = this.props;\n const id = idProp ?? inputAttributes?.id;\n\n const { errorState, query, selected, optionsShown, keyboardFocusedOptionIndex } = this.state;\n\n const clearButton = clearable && (query || selected.length > 0);\n\n const dropdownOpen = optionsShown && showSuggestions && query.length >= minQueryLength;\n\n const menu = this.renderMenu({\n footer,\n options,\n id,\n keyboardFocusedOptionIndex,\n query,\n allowNew,\n showNewEntry,\n dropdownOpen,\n });\n\n const alertType = alert?.type ?? Sentiment.NEUTRAL;\n const hasError = errorState || (alert && alertType === Sentiment.ERROR);\n const displayAlert = (!errorState && alert) || (alert && alertType === Sentiment.ERROR);\n const hasWarning = displayAlert && alertType === Sentiment.WARNING;\n const hasInfo = displayAlert && alertType === Sentiment.NEUTRAL;\n return (\n /* eslint-disable-next-line jsx-a11y/click-events-have-key-events */\n <div\n role=\"group\"\n {...inputAttributes}\n id={id}\n className={clsx('typeahead', `typeahead-${size}`, {\n 'typeahead--has-value': selected.length > 0,\n 'typeahead--empty': selected.length === 0,\n 'typeahead--multiple': multiple,\n open: dropdownOpen,\n })}\n onClick={stopPropagation}\n >\n <div\n className={clsx('form-group', {\n 'has-error': hasError,\n 'has-warning': hasWarning,\n 'has-info': hasInfo,\n })}\n >\n <div\n className={clsx(`input-group input-group-${size}`, {\n 'input-group--has-error': hasError,\n })}\n >\n {addon && <span className=\"input-group-addon input-group-addon--search\">{addon}</span>}\n\n <TypeaheadInput\n {...{\n autoFocus,\n multiple,\n dropdownOpen,\n placeholder,\n selected,\n maxHeight,\n }}\n id={id}\n name={name}\n value={query}\n typeaheadId={id}\n renderChip={this.renderChip}\n autoComplete={inputAutoComplete}\n ariaActivedescendant={\n keyboardFocusedOptionIndex !== null && options[keyboardFocusedOptionIndex]\n ? `option-${options[keyboardFocusedOptionIndex].label.replace(/\\s+/g, '-')}`\n : undefined\n }\n onChange={this.handleOnChange}\n onKeyDown={this.handleOnKeyDown}\n onFocus={this.handleOnFocus}\n onPaste={this.handleOnPaste}\n />\n\n {clearButton && (\n <div className=\"input-group-addon\">\n <button\n type=\"button\"\n className=\"btn-unstyled\"\n aria-label={this.props?.intl?.formatMessage(messages.clearLabel)}\n onClick={this.clear}\n >\n <CrossIcon />\n </button>\n </div>\n )}\n </div>\n {displayAlert ? <InlineAlert type={alert.type}>{alert.message}</InlineAlert> : menu}\n </div>\n </div>\n );\n }\n}\n\nexport default injectIntl(withInputAttributes(Typeahead, { nonLabelable: true })) as <T>(\n props: TypeaheadProps<T>,\n) => React.ReactElement;\n"],"names":["DEFAULT_MIN_QUERY_LENGTH","SEARCH_DELAY","Typeahead","Component","defaultProps","allowNew","autoFillOnBlur","autoFocus","chipSeparators","clearable","initialValue","inputAutoComplete","minQueryLength","multiple","searchDelay","showSuggestions","showNewEntry","size","Size","MEDIUM","validateChip","optionRefs","constructor","props","handleSearchDebounced","debounce","handleSearch","initialQuery","length","label","state","selected","errorState","query","keyboardFocusedOptionIndex","optionsShown","isFocused","UNSAFE_componentWillReceiveProps","nextProps","setState","previousState","componentWillUnmount","cancel","handleOnFocus","showMenu","onFocus","onOptionSelected","event","item","preventDefault","selectItem","handleOnChange","onInputChange","target","value","updateSelectedValue","handleOnPaste","clipboardData","getData","regex","RegExp","join","pastedChips","split","map","trim","filter","chip","handleOnKeyDown","options","chipsMode","includes","key","moveFocusedOption","slice","offset","index","clamp","optionRef","current","focus","push","keepFocusOnSelect","hideMenu","clearQueryOnSelect","onSearch","handleDocumentClick","onBlur","addClickClassToDocumentOnIos","document","addEventListener","removeClickClassFromDocumentOnIos","removeEventListener","onChange","some","clear","removeChip","option","selectedOption","renderChip","idx","valid","_jsx","Chip","className","clsx","onRemove","renderMenu","footer","id","dropdownOpen","optionsToRender","every","toUpperCase","open","children","_jsxs","role","ref","React","createRef","TypeaheadOption","String","replace","onClick","toString","render","inputAttributes","idProp","placeholder","addon","name","maxHeight","alert","clearButton","menu","alertType","type","Sentiment","NEUTRAL","hasError","ERROR","displayAlert","hasWarning","WARNING","hasInfo","stopPropagation","TypeaheadInput","typeaheadId","autoComplete","ariaActivedescendant","undefined","onKeyDown","onPaste","intl","formatMessage","messages","clearLabel","CrossIcon","InlineAlert","message","injectIntl","withInputAttributes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,CAACC,UAAU,CAAE;cACjEjC,OAAO,EAAE,IAAI,CAAC7B,KAAM;AAAAoB,cAAAA,QAAA,eAEpBb,cAAA,CAACwD,WAAS,EAAA,EAAA;aACJ;AACV,WAAK,CACN;AAAA,SACE,CACL,EAAChB,YAAY,gBAAGxC,cAAA,CAACyD,mBAAW,EAAA;UAACtB,IAAI,EAAEJ,KAAK,CAACI,IAAK;UAAAtB,QAAA,EAAEkB,KAAK,CAAC2B;SAAqB,CAAC,GAAGzB,IAAI;OAChF;AACP,KAAK,CAAC;AAEV,EAAA;;AAGF,wBAAe0B,oBAAU,CAACC,4BAAmB,CAAChK,SAAS,EAAE;AAAEiK,EAAAA,YAAY,EAAE;AAAI,CAAE,CAAC,CAEzD;;;;"}
|
|
1
|
+
{"version":3,"file":"Typeahead.js","sources":["../../src/typeahead/Typeahead.tsx"],"sourcesContent":["import { Cross as CrossIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { DebouncedFunc } from 'lodash';\nimport clamp from 'lodash.clamp';\nimport debounce from 'lodash.debounce';\nimport React, { Component, ReactNode } from 'react';\nimport { injectIntl, WrappedComponentProps } from 'react-intl';\n\nimport Chip from '../chips/Chip';\nimport {\n Size,\n Sentiment,\n SizeMedium,\n SizeLarge,\n addClickClassToDocumentOnIos,\n removeClickClassFromDocumentOnIos,\n stopPropagation,\n} from '../common';\nimport { InlinePrompt, InlinePromptProps } from '../prompt';\nimport { withInputAttributes, WithInputAttributesProps } from '../inputs/contexts';\n\nimport TypeaheadInput from './typeaheadInput/TypeaheadInput';\nimport TypeaheadOption from './typeaheadOption/TypeaheadOption';\nimport messages from './Typeahead.messages';\n\nconst DEFAULT_MIN_QUERY_LENGTH = 3;\nconst SEARCH_DELAY = 200;\n\nexport type TypeaheadOption<T = string> = {\n label: string;\n note?: string;\n secondary?: string;\n value?: T;\n clearQueryOnSelect?: boolean;\n keepFocusOnSelect?: boolean;\n};\n\nexport interface TypeaheadProps<T> extends Partial<WrappedComponentProps> {\n id: string;\n name: string;\n addon?: ReactNode;\n /**\n * @deprecated Please use [`Field`](?path=/docs/forms-field--docs) component and its `message` and `sentiment` props instead.\n * @deprecated `error`, `info` and `success` are deprecated as alert types and will be soon removed.\n */\n alert?: {\n message: InlinePromptProps['children'];\n type?:\n | InlinePromptProps['sentiment']\n | `${Sentiment.ERROR}`\n | `${Sentiment.INFO}`\n | `${Sentiment.SUCCESS}`;\n };\n allowNew?: boolean;\n autoFillOnBlur?: boolean;\n autoFocus?: boolean;\n chipSeparators?: readonly string[];\n clearable?: boolean;\n footer?: ReactNode;\n initialValue?: readonly TypeaheadOption<T>[];\n inputAutoComplete?: string;\n maxHeight?: number;\n minQueryLength?: number;\n placeholder?: string;\n multiple?: boolean;\n options: readonly TypeaheadOption<T>[];\n searchDelay?: number;\n showSuggestions?: boolean;\n showNewEntry?: boolean;\n size?: SizeMedium | SizeLarge;\n\n onBlur?: () => void;\n onChange: (options: TypeaheadOption<T>[]) => void;\n onFocus?: () => void;\n onInputChange?: (query: string) => void;\n onSearch?: (query: string) => void;\n validateChip?: (chip: TypeaheadOption<T>) => boolean;\n}\n\ntype TypeaheadPropsWithInputAttributes<T> = TypeaheadProps<T> &\n Partial<WithInputAttributesProps> &\n WrappedComponentProps;\n\ntype TypeaheadState<T> = {\n selected: readonly TypeaheadOption<T>[];\n keyboardFocusedOptionIndex: number | null;\n errorState: boolean;\n query: string;\n optionsShown: boolean;\n isFocused: boolean;\n};\n\nclass Typeahead<T> extends Component<TypeaheadPropsWithInputAttributes<T>, TypeaheadState<T>> {\n declare props: TypeaheadPropsWithInputAttributes<T> &\n Required<Pick<TypeaheadPropsWithInputAttributes<T>, keyof typeof Typeahead.defaultProps>>;\n\n static defaultProps = {\n allowNew: false,\n autoFillOnBlur: true,\n autoFocus: false,\n chipSeparators: [],\n clearable: true,\n initialValue: [],\n inputAutoComplete: 'new-password',\n minQueryLength: DEFAULT_MIN_QUERY_LENGTH,\n multiple: false,\n searchDelay: SEARCH_DELAY,\n showSuggestions: true,\n showNewEntry: true,\n size: Size.MEDIUM,\n validateChip: () => true,\n } satisfies Partial<TypeaheadProps<unknown>>;\n optionRefs: (React.RefObject<HTMLLIElement> | null)[];\n\n constructor(props: TypeaheadPropsWithInputAttributes<T>) {\n super(props);\n const { searchDelay, initialValue, multiple } = this.props;\n this.handleSearchDebounced = debounce(this.handleSearch, searchDelay);\n const initialQuery = !multiple && initialValue.length > 0 ? initialValue[0].label : '';\n this.state = {\n selected: initialValue,\n errorState: false,\n query: initialQuery,\n keyboardFocusedOptionIndex: null,\n optionsShown: false,\n isFocused: false,\n };\n this.optionRefs = [] as (React.RefObject<HTMLLIElement> | null)[];\n }\n\n handleSearchDebounced: DebouncedFunc<Typeahead<T>['handleSearch']>;\n\n UNSAFE_componentWillReceiveProps(nextProps: TypeaheadPropsWithInputAttributes<T>) {\n if (nextProps.multiple !== this.props.multiple) {\n this.setState((previousState) => {\n const { selected } = previousState;\n if (!nextProps.multiple && selected.length > 0) {\n return {\n query: selected[0].label,\n selected: [selected[0]],\n };\n }\n return {\n selected: previousState.selected,\n query: '',\n };\n });\n }\n }\n\n componentWillUnmount() {\n this.handleSearchDebounced.cancel();\n }\n\n handleOnFocus = () => {\n this.showMenu();\n this.props.onFocus?.();\n };\n\n onOptionSelected = (event: React.MouseEvent, item: TypeaheadOption<T>) => {\n event.preventDefault();\n this.selectItem(item);\n };\n\n handleOnChange: React.ChangeEventHandler<HTMLInputElement> = (event) => {\n const { optionsShown, selected } = this.state;\n const { multiple, onInputChange } = this.props;\n\n if (!optionsShown) {\n this.showMenu();\n }\n\n const query = event.target.value;\n\n if (!multiple && selected.length > 0) {\n this.updateSelectedValue([]);\n }\n\n this.setState({ query }, () => {\n this.handleSearchDebounced(query);\n if (onInputChange) {\n onInputChange(query);\n }\n });\n };\n\n handleOnPaste: React.ClipboardEventHandler<HTMLInputElement> = (event) => {\n const { allowNew, multiple, chipSeparators } = this.props;\n const { selected } = this.state;\n\n if (allowNew && multiple && chipSeparators.length > 0) {\n event.preventDefault();\n const value = event.clipboardData.getData('text');\n if (value) {\n const regex = new RegExp(chipSeparators.join('|'));\n const pastedChips = value\n .split(regex)\n .map((label) => ({ label: label.trim() }))\n .filter((chip) => chip.label);\n\n this.updateSelectedValue([...selected, ...pastedChips]);\n }\n }\n };\n\n handleOnKeyDown: React.KeyboardEventHandler<HTMLInputElement> = (event) => {\n const { showSuggestions, allowNew, multiple, chipSeparators, options } = this.props;\n const { keyboardFocusedOptionIndex, query, selected } = this.state;\n const chipsMode = !showSuggestions && allowNew && multiple;\n\n if (chipsMode && ['Enter', 'Tab', ...chipSeparators].includes(event.key) && query.trim()) {\n event.preventDefault();\n this.selectItem({ label: query });\n } else {\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n this.moveFocusedOption(1);\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.moveFocusedOption(-1);\n break;\n case 'Enter':\n event.preventDefault();\n if (keyboardFocusedOptionIndex != null && options[keyboardFocusedOptionIndex]) {\n this.selectItem(options[keyboardFocusedOptionIndex]);\n } else if (allowNew && query.trim()) {\n this.selectItem({ label: query });\n }\n break;\n case 'Backspace':\n if (multiple && !query && selected.length > 0) {\n this.updateSelectedValue(selected.slice(0, -1));\n }\n break;\n default:\n break;\n }\n }\n };\n moveFocusedOption(offset: number) {\n this.setState((previousState) => {\n const { keyboardFocusedOptionIndex } = previousState;\n const { options } = this.props;\n let index = 0;\n if (keyboardFocusedOptionIndex !== null) {\n index = clamp(keyboardFocusedOptionIndex + offset, 0, options.length - 1);\n }\n const optionRef = this.optionRefs[index];\n if (optionRef?.current) {\n optionRef.current.focus(); // Set focus on the option element\n }\n return {\n keyboardFocusedOptionIndex: index,\n };\n });\n }\n\n selectItem = (item: TypeaheadOption<T>) => {\n const { multiple } = this.props;\n let selected = [...this.state.selected];\n let query;\n if (multiple) {\n selected.push(item);\n query = '';\n } else {\n selected = [item];\n query = item.label;\n }\n\n this.updateSelectedValue(selected);\n\n if (!item.keepFocusOnSelect) {\n this.hideMenu();\n }\n\n if (item.clearQueryOnSelect) {\n query = '';\n }\n\n this.setState({\n query,\n });\n };\n\n handleSearch = (query: string) => {\n const { onSearch } = this.props;\n if (onSearch) {\n onSearch(query);\n }\n\n this.setState((previousState) => ({\n keyboardFocusedOptionIndex: previousState.keyboardFocusedOptionIndex === null ? null : 0,\n }));\n };\n\n handleDocumentClick = () => {\n if (this.state.optionsShown) {\n this.hideMenu();\n const { allowNew, onBlur, autoFillOnBlur } = this.props;\n const { query } = this.state;\n this.setState({\n isFocused: false,\n });\n if (allowNew && autoFillOnBlur && query.trim()) {\n this.selectItem({ label: query });\n }\n\n if (onBlur) {\n onBlur();\n }\n }\n };\n\n showMenu = () => {\n this.setState(\n {\n isFocused: true,\n optionsShown: true,\n },\n () => {\n addClickClassToDocumentOnIos();\n document.addEventListener('click', this.handleDocumentClick, false);\n },\n );\n };\n\n hideMenu = () => {\n this.setState(\n {\n optionsShown: false,\n keyboardFocusedOptionIndex: null,\n },\n () => {\n removeClickClassFromDocumentOnIos();\n document.removeEventListener('click', this.handleDocumentClick, false);\n },\n );\n };\n\n updateSelectedValue = (selected: readonly TypeaheadOption<T>[]) => {\n const { onChange, validateChip } = this.props;\n\n const errorState = selected.some((chip) => !validateChip(chip));\n this.setState({ selected, errorState }, () => {\n onChange([...selected]);\n });\n };\n\n clear = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.preventDefault();\n if (this.state.selected.length > 0) {\n this.updateSelectedValue([]);\n }\n\n this.setState({\n query: '',\n });\n };\n\n removeChip = (option: TypeaheadOption<T>) => {\n const { selected } = this.state;\n\n if (selected.length > 0) {\n this.updateSelectedValue([...selected.filter((selectedOption) => selectedOption !== option)]);\n }\n };\n\n renderChip = (option: TypeaheadOption<T>, idx: number): ReactNode => {\n const valid = this.props.validateChip?.(option);\n\n return (\n <Chip\n key={idx}\n label={option.label}\n className={clsx('m-t-1', {\n 'has-error': !valid,\n 'np-chip--valid': valid,\n })}\n onRemove={() => this.removeChip(option)}\n />\n );\n };\n\n renderMenu = ({\n footer,\n options,\n id,\n keyboardFocusedOptionIndex,\n query,\n allowNew,\n showNewEntry,\n dropdownOpen,\n }: Pick<\n TypeaheadPropsWithInputAttributes<T>,\n 'footer' | 'options' | 'id' | 'allowNew' | 'showNewEntry'\n > &\n Pick<TypeaheadState<T>, 'keyboardFocusedOptionIndex' | 'query'> & {\n dropdownOpen: boolean;\n }) => {\n const optionsToRender = [...options];\n if (\n allowNew &&\n query.trim() &&\n options.every((option) => option.label.trim().toUpperCase() !== query.trim().toUpperCase()) &&\n showNewEntry\n ) {\n optionsToRender.push({\n label: query,\n });\n }\n return (\n <div\n className={clsx('dropdown btn-group btn-block', { open: dropdownOpen })}\n id={`menu-${id}`}\n >\n {(!!optionsToRender.length || footer) && (\n <ul className=\"dropdown-menu\" role=\"menu\">\n {optionsToRender.map((option, idx) => {\n const ref = React.createRef<HTMLLIElement>();\n this.optionRefs[idx] = ref;\n return (\n <TypeaheadOption\n key={`${option.label}${idx.toString()}`}\n ref={ref}\n query={query}\n option={option}\n selected={keyboardFocusedOptionIndex === idx}\n id={String(option.label.replace(/\\s+/g, '-'))}\n onClick={(event) => {\n this.onOptionSelected(event, option);\n }}\n />\n );\n })}\n {footer}\n </ul>\n )}\n </div>\n );\n };\n\n render() {\n const {\n inputAttributes,\n id: idProp,\n placeholder,\n multiple,\n size,\n addon,\n name,\n clearable,\n allowNew,\n footer,\n showSuggestions,\n showNewEntry,\n options,\n minQueryLength,\n autoFocus,\n maxHeight,\n alert,\n inputAutoComplete,\n } = this.props;\n const id = idProp ?? inputAttributes?.id;\n\n const { errorState, query, selected, optionsShown, keyboardFocusedOptionIndex } = this.state;\n\n const clearButton = clearable && (query || selected.length > 0);\n\n const dropdownOpen = optionsShown && showSuggestions && query.length >= minQueryLength;\n\n const menu = this.renderMenu({\n footer,\n options,\n id,\n keyboardFocusedOptionIndex,\n query,\n allowNew,\n showNewEntry,\n dropdownOpen,\n });\n\n const alertType = (() => {\n if (!alert?.type || alert.type === Sentiment.INFO) {\n return Sentiment.NEUTRAL;\n }\n if (alert.type === Sentiment.ERROR) {\n return Sentiment.NEGATIVE;\n }\n if (alert.type === Sentiment.SUCCESS) {\n return Sentiment.POSITIVE;\n }\n return alert.type;\n })();\n const hasError = errorState || (alert && alertType === Sentiment.NEGATIVE);\n const displayAlert = (!errorState && alert) || (alert && alertType === Sentiment.NEGATIVE);\n const hasWarning = displayAlert && alertType === Sentiment.WARNING;\n const hasInfo = displayAlert && alertType === Sentiment.NEUTRAL;\n return (\n /* eslint-disable-next-line jsx-a11y/click-events-have-key-events */\n <div\n role=\"group\"\n {...inputAttributes}\n id={id}\n className={clsx('typeahead', `typeahead-${size}`, {\n 'typeahead--has-value': selected.length > 0,\n 'typeahead--empty': selected.length === 0,\n 'typeahead--multiple': multiple,\n open: dropdownOpen,\n })}\n onClick={stopPropagation}\n >\n <div\n className={clsx('form-group', 'form-group--typeahead', {\n 'has-error': hasError,\n 'has-warning': hasWarning,\n 'has-info': hasInfo,\n })}\n >\n <div\n className={clsx(`input-group input-group-${size}`, {\n 'input-group--has-error': hasError,\n })}\n >\n {addon && <span className=\"input-group-addon input-group-addon--search\">{addon}</span>}\n\n <TypeaheadInput\n {...{\n autoFocus,\n multiple,\n dropdownOpen,\n placeholder,\n selected,\n maxHeight,\n }}\n id={id}\n name={name}\n value={query}\n typeaheadId={id}\n renderChip={this.renderChip}\n autoComplete={inputAutoComplete}\n ariaActivedescendant={\n keyboardFocusedOptionIndex !== null && options[keyboardFocusedOptionIndex]\n ? `option-${options[keyboardFocusedOptionIndex].label.replace(/\\s+/g, '-')}`\n : undefined\n }\n onChange={this.handleOnChange}\n onKeyDown={this.handleOnKeyDown}\n onFocus={this.handleOnFocus}\n onPaste={this.handleOnPaste}\n />\n\n {clearButton && (\n <div className=\"input-group-addon\">\n <button\n type=\"button\"\n className=\"btn-unstyled\"\n aria-label={this.props?.intl?.formatMessage(messages.clearLabel)}\n onClick={this.clear}\n >\n <CrossIcon />\n </button>\n </div>\n )}\n </div>\n {displayAlert ? (\n <InlinePrompt sentiment={alertType} className=\"typeahead--prompt\" width=\"full\">\n {alert.message}\n </InlinePrompt>\n ) : (\n menu\n )}\n </div>\n </div>\n );\n }\n}\n\nexport default injectIntl(withInputAttributes(Typeahead, { nonLabelable: true })) as <T>(\n props: TypeaheadProps<T>,\n) => React.ReactElement;\n"],"names":["DEFAULT_MIN_QUERY_LENGTH","SEARCH_DELAY","Typeahead","Component","defaultProps","allowNew","autoFillOnBlur","autoFocus","chipSeparators","clearable","initialValue","inputAutoComplete","minQueryLength","multiple","searchDelay","showSuggestions","showNewEntry","size","Size","MEDIUM","validateChip","optionRefs","constructor","props","handleSearchDebounced","debounce","handleSearch","initialQuery","length","label","state","selected","errorState","query","keyboardFocusedOptionIndex","optionsShown","isFocused","UNSAFE_componentWillReceiveProps","nextProps","setState","previousState","componentWillUnmount","cancel","handleOnFocus","showMenu","onFocus","onOptionSelected","event","item","preventDefault","selectItem","handleOnChange","onInputChange","target","value","updateSelectedValue","handleOnPaste","clipboardData","getData","regex","RegExp","join","pastedChips","split","map","trim","filter","chip","handleOnKeyDown","options","chipsMode","includes","key","moveFocusedOption","slice","offset","index","clamp","optionRef","current","focus","push","keepFocusOnSelect","hideMenu","clearQueryOnSelect","onSearch","handleDocumentClick","onBlur","addClickClassToDocumentOnIos","document","addEventListener","removeClickClassFromDocumentOnIos","removeEventListener","onChange","some","clear","removeChip","option","selectedOption","renderChip","idx","valid","_jsx","Chip","className","clsx","onRemove","renderMenu","footer","id","dropdownOpen","optionsToRender","every","toUpperCase","open","children","_jsxs","role","ref","React","createRef","TypeaheadOption","String","replace","onClick","toString","render","inputAttributes","idProp","placeholder","addon","name","maxHeight","alert","clearButton","menu","alertType","type","Sentiment","INFO","NEUTRAL","ERROR","NEGATIVE","SUCCESS","POSITIVE","hasError","displayAlert","hasWarning","WARNING","hasInfo","stopPropagation","TypeaheadInput","typeaheadId","autoComplete","ariaActivedescendant","undefined","onKeyDown","onPaste","intl","formatMessage","messages","clearLabel","CrossIcon","InlinePrompt","sentiment","width","message","injectIntl","withInputAttributes","nonLabelable"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAMA,wBAAwB,GAAG,CAAC;AAClC,MAAMC,YAAY,GAAG,GAAG;AAkExB,MAAMC,SAAS,SAAYC,eAAS,CAA0D;AAI5F,EAAA,OAAOC,YAAY,GAAG;AACpBC,IAAAA,QAAQ,EAAE,KAAK;AACfC,IAAAA,cAAc,EAAE,IAAI;AACpBC,IAAAA,SAAS,EAAE,KAAK;AAChBC,IAAAA,cAAc,EAAE,EAAE;AAClBC,IAAAA,SAAS,EAAE,IAAI;AACfC,IAAAA,YAAY,EAAE,EAAE;AAChBC,IAAAA,iBAAiB,EAAE,cAAc;AACjCC,IAAAA,cAAc,EAAEZ,wBAAwB;AACxCa,IAAAA,QAAQ,EAAE,KAAK;AACfC,IAAAA,WAAW,EAAEb,YAAY;AACzBc,IAAAA,eAAe,EAAE,IAAI;AACrBC,IAAAA,YAAY,EAAE,IAAI;IAClBC,IAAI,EAAEC,SAAI,CAACC,MAAM;IACjBC,YAAY,EAAEA,MAAM;GACrB;EACDC,UAAU;EAEVC,WAAWA,CAACC,KAA2C,EAAE;IACvD,KAAK,CAACA,KAAK,CAAC;IACZ,MAAM;MAAET,WAAW;MAAEJ,YAAY;AAAEG,MAAAA;KAAU,GAAG,IAAI,CAACU,KAAK;IAC1D,IAAI,CAACC,qBAAqB,GAAGC,yBAAQ,CAAC,IAAI,CAACC,YAAY,EAAEZ,WAAW,CAAC;AACrE,IAAA,MAAMa,YAAY,GAAG,CAACd,QAAQ,IAAIH,YAAY,CAACkB,MAAM,GAAG,CAAC,GAAGlB,YAAY,CAAC,CAAC,CAAC,CAACmB,KAAK,GAAG,EAAE;IACtF,IAAI,CAACC,KAAK,GAAG;AACXC,MAAAA,QAAQ,EAAErB,YAAY;AACtBsB,MAAAA,UAAU,EAAE,KAAK;AACjBC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GAC1EgC,SACL;YACD9D,QAAQ,EAAE,IAAI,CAAC1C,cAAe;YAC9ByG,SAAS,EAAE,IAAI,CAACxF,eAAgB;YAChCvB,OAAO,EAAE,IAAI,CAACF,aAAc;YAC5BkH,OAAO,EAAE,IAAI,CAACrG;AAAc,WAC7B,CAAC,EAED8E,WAAW,iBACVhC,cAAA,CAAA,KAAA,EAAA;AAAKE,YAAAA,SAAS,EAAC,mBAAmB;AAAAW,YAAAA,QAAA,eAChCb,cAAA,CAAA,QAAA,EAAA;AACEmC,cAAAA,IAAI,EAAC,QAAQ;AACbjC,cAAAA,SAAS,EAAC,cAAc;cACxB,YAAA,EAAY,IAAI,CAACjF,KAAK,EAAEuI,IAAI,EAAEC,aAAa,CAACC,0BAAQ,CAACC,UAAU,CAAE;cACjErC,OAAO,EAAE,IAAI,CAAC7B,KAAM;AAAAoB,cAAAA,QAAA,eAEpBb,cAAA,CAAC4D,WAAS,EAAA,EAAE;aACN;AAAC,WACN,CACN;AAAA,SACE,CAAC,EACLhB,YAAY,gBACX5C,cAAA,CAAC6D,yBAAY,EAAA;AAACC,UAAAA,SAAS,EAAE5B,SAAU;AAAChC,UAAAA,SAAS,EAAC,mBAAmB;AAAC6D,UAAAA,KAAK,EAAC,MAAM;UAAAlD,QAAA,EAC3EkB,KAAK,CAACiC;SACK,CAAC,GAEf/B,IACD;OACE;AAAC,KACH,CAAC;AAEV,EAAA;AACF;AAEA,wBAAegC,oBAAU,CAACC,4BAAmB,CAACtK,SAAS,EAAE;AAAEuK,EAAAA,YAAY,EAAE;AAAK,CAAC,CAAC,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typeahead.messages.js","sources":["../../src/typeahead/Typeahead.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n clearLabel: {\n id: 'neptune.ClearButton.ariaLabel',\n defaultMessage: 'Clear',\n description: 'Description of clear button',\n },\n});\n"],"names":["defineMessages","clearLabel","id"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,UAAU,EAAE;IACVC,EAAE,EAAA;
|
|
1
|
+
{"version":3,"file":"Typeahead.messages.js","sources":["../../src/typeahead/Typeahead.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n clearLabel: {\n id: 'neptune.ClearButton.ariaLabel',\n defaultMessage: 'Clear',\n description: 'Description of clear button',\n },\n});\n"],"names":["defineMessages","clearLabel","id"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,UAAU,EAAE;IACVC,EAAE,EAAA;AAGJ;AACF,CAAC,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typeahead.messages.mjs","sources":["../../src/typeahead/Typeahead.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n clearLabel: {\n id: 'neptune.ClearButton.ariaLabel',\n defaultMessage: 'Clear',\n description: 'Description of clear button',\n },\n});\n"],"names":["defineMessages","clearLabel","id"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,UAAU,EAAE;IACVC,EAAE,EAAA;
|
|
1
|
+
{"version":3,"file":"Typeahead.messages.mjs","sources":["../../src/typeahead/Typeahead.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n clearLabel: {\n id: 'neptune.ClearButton.ariaLabel',\n defaultMessage: 'Clear',\n description: 'Description of clear button',\n },\n});\n"],"names":["defineMessages","clearLabel","id"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,UAAU,EAAE;IACVC,EAAE,EAAA;AAGJ;AACF,CAAC,CAAC;;;;"}
|