@transferwise/components 46.120.0 → 46.120.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/accordion/Accordion.js +0 -43
- package/build/accordion/Accordion.js.map +1 -1
- package/build/accordion/Accordion.mjs +0 -43
- package/build/accordion/Accordion.mjs.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.js +16 -39
- package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
- package/build/accordion/AccordionItem/AccordionItem.mjs +16 -39
- package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
- package/build/actionButton/ActionButton.js +18 -3
- package/build/actionButton/ActionButton.js.map +1 -1
- package/build/actionButton/ActionButton.mjs +18 -3
- package/build/actionButton/ActionButton.mjs.map +1 -1
- package/build/actionOption/ActionOption.js +18 -8
- package/build/actionOption/ActionOption.js.map +1 -1
- package/build/actionOption/ActionOption.mjs +18 -8
- package/build/actionOption/ActionOption.mjs.map +1 -1
- package/build/alert/Alert.js +20 -5
- package/build/alert/Alert.js.map +1 -1
- package/build/alert/Alert.mjs +20 -4
- package/build/alert/Alert.mjs.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.js +18 -0
- package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs +18 -0
- package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
- package/build/avatar/Avatar.js +18 -1
- package/build/avatar/Avatar.js.map +1 -1
- package/build/avatar/Avatar.mjs +18 -1
- package/build/avatar/Avatar.mjs.map +1 -1
- package/build/avatar/avatarTypes.js +3 -5
- package/build/avatar/avatarTypes.js.map +1 -1
- package/build/avatar/avatarTypes.mjs +3 -3
- package/build/avatar/avatarTypes.mjs.map +1 -1
- package/build/avatarLayout/AvatarLayout.js +1 -2
- package/build/avatarLayout/AvatarLayout.js.map +1 -1
- package/build/avatarLayout/AvatarLayout.mjs +1 -2
- package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/avatarView/AvatarView.js +18 -3
- package/build/avatarView/AvatarView.js.map +1 -1
- package/build/avatarView/AvatarView.mjs +18 -3
- package/build/avatarView/AvatarView.mjs.map +1 -1
- package/build/avatarView/Dot.js +0 -3
- package/build/avatarView/Dot.js.map +1 -1
- package/build/avatarView/Dot.mjs +0 -3
- package/build/avatarView/Dot.mjs.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.js +17 -1
- package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs +17 -1
- package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
- package/build/badge/Badge.js +17 -1
- package/build/badge/Badge.js.map +1 -1
- package/build/badge/Badge.mjs +17 -1
- package/build/badge/Badge.mjs.map +1 -1
- package/build/badge/BadgeAssets.js +0 -3
- package/build/badge/BadgeAssets.js.map +1 -1
- package/build/badge/BadgeAssets.mjs +0 -3
- package/build/badge/BadgeAssets.mjs.map +1 -1
- package/build/body/Body.js.map +1 -1
- package/build/body/Body.mjs.map +1 -1
- package/build/button/Button.js +18 -4
- package/build/button/Button.js.map +1 -1
- package/build/button/Button.mjs +18 -4
- package/build/button/Button.mjs.map +1 -1
- package/build/button/Button.resolver.js.map +1 -1
- package/build/button/Button.resolver.mjs.map +1 -1
- package/build/button/LegacyButton.js +17 -4
- package/build/button/LegacyButton.js.map +1 -1
- package/build/button/LegacyButton.mjs +18 -5
- package/build/button/LegacyButton.mjs.map +1 -1
- package/build/button/classMap.js +18 -0
- package/build/button/classMap.js.map +1 -1
- package/build/button/classMap.mjs +18 -0
- package/build/button/classMap.mjs.map +1 -1
- package/build/button/legacyUtils/legacyUtils.js +16 -1
- package/build/button/legacyUtils/legacyUtils.js.map +1 -1
- package/build/button/legacyUtils/legacyUtils.mjs +16 -1
- package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
- package/build/card/Card.js +17 -4
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs +17 -4
- package/build/card/Card.mjs.map +1 -1
- package/build/carousel/Carousel.js.map +1 -1
- package/build/carousel/Carousel.mjs.map +1 -1
- package/build/checkbox/Checkbox.js +18 -0
- package/build/checkbox/Checkbox.js.map +1 -1
- package/build/checkbox/Checkbox.mjs +18 -0
- package/build/checkbox/Checkbox.mjs.map +1 -1
- package/build/checkboxButton/CheckboxButton.js.map +1 -1
- package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
- package/build/checkboxOption/CheckboxOption.js +0 -8
- package/build/checkboxOption/CheckboxOption.js.map +1 -1
- package/build/checkboxOption/CheckboxOption.mjs +0 -8
- package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
- package/build/chevron/Chevron.js +17 -0
- package/build/chevron/Chevron.js.map +1 -1
- package/build/chevron/Chevron.mjs +17 -0
- package/build/chevron/Chevron.mjs.map +1 -1
- package/build/chips/Chip.js +18 -0
- package/build/chips/Chip.js.map +1 -1
- package/build/chips/Chip.mjs +18 -0
- package/build/chips/Chip.mjs.map +1 -1
- package/build/chips/Chips.js.map +1 -1
- package/build/chips/Chips.messages.js.map +1 -1
- package/build/chips/Chips.messages.mjs.map +1 -1
- package/build/chips/Chips.mjs.map +1 -1
- package/build/circularButton/CircularButton.js +16 -0
- package/build/circularButton/CircularButton.js.map +1 -1
- package/build/circularButton/CircularButton.mjs +16 -0
- package/build/circularButton/CircularButton.mjs.map +1 -1
- package/build/common/DOMOperations/DOMOperations.js +0 -2
- package/build/common/DOMOperations/DOMOperations.js.map +1 -1
- package/build/common/DOMOperations/DOMOperations.mjs +0 -2
- package/build/common/DOMOperations/DOMOperations.mjs.map +1 -1
- package/build/common/Option/Option.js.map +1 -1
- package/build/common/Option/Option.mjs.map +1 -1
- package/build/common/RadioButton/RadioButton.js.map +1 -1
- package/build/common/RadioButton/RadioButton.mjs.map +1 -1
- package/build/common/bottomSheet/BottomSheet.js +0 -5
- package/build/common/bottomSheet/BottomSheet.js.map +1 -1
- package/build/common/bottomSheet/BottomSheet.mjs +0 -5
- package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
- package/build/common/card/Card.js +0 -21
- package/build/common/card/Card.js.map +1 -1
- package/build/common/card/Card.mjs +0 -21
- package/build/common/card/Card.mjs.map +1 -1
- package/build/common/circle/Circle.js +0 -4
- package/build/common/circle/Circle.js.map +1 -1
- package/build/common/circle/Circle.mjs +0 -4
- package/build/common/circle/Circle.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.js +0 -3
- package/build/common/closeButton/CloseButton.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.js.map +1 -1
- package/build/common/closeButton/CloseButton.messages.mjs.map +1 -1
- package/build/common/closeButton/CloseButton.mjs +0 -3
- package/build/common/closeButton/CloseButton.mjs.map +1 -1
- package/build/common/colors.js +0 -1
- package/build/common/colors.js.map +1 -1
- package/build/common/colors.mjs +0 -1
- package/build/common/colors.mjs.map +1 -1
- package/build/common/constants.js +0 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/constants.mjs +0 -1
- package/build/common/constants.mjs.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.js.map +1 -1
- package/build/common/dateUtils/getDateView/getDateView.mjs.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.js.map +1 -1
- package/build/common/dateUtils/getDayNames/getDayNames.mjs.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.js.map +1 -1
- package/build/common/dateUtils/getMonthNames/getMonthNames.mjs.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.js.map +1 -1
- package/build/common/dateUtils/isDateValid/isDateValid.mjs.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.js.map +1 -1
- package/build/common/dateUtils/isWithinRange/isWithinRange.mjs.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.js.map +1 -1
- package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.mjs.map +1 -1
- package/build/common/deviceDetection/deviceDetection.js.map +1 -1
- package/build/common/deviceDetection/deviceDetection.mjs.map +1 -1
- package/build/common/direction.js +3 -5
- package/build/common/direction.js.map +1 -1
- package/build/common/direction.mjs +3 -3
- package/build/common/direction.mjs.map +1 -1
- package/build/common/domHelpers/documentIosClick.js +2 -3
- package/build/common/domHelpers/documentIosClick.js.map +1 -1
- package/build/common/domHelpers/documentIosClick.mjs +2 -3
- package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
- package/build/common/fileType.js +3 -5
- package/build/common/fileType.js.map +1 -1
- package/build/common/fileType.mjs +3 -3
- package/build/common/fileType.mjs.map +1 -1
- package/build/common/flowHeader/FlowHeader.js +14 -14
- package/build/common/flowHeader/FlowHeader.js.map +1 -1
- package/build/common/flowHeader/FlowHeader.mjs.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.js.map +1 -1
- package/build/common/focusBoundary/FocusBoundary.mjs.map +1 -1
- package/build/common/historyNavigator/historyNavigator.js.map +1 -1
- package/build/common/historyNavigator/historyNavigator.mjs.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.js.map +1 -1
- package/build/common/hooks/useConditionalListener/useConditionalListener.mjs.map +1 -1
- package/build/common/hooks/useDirection/useDirection.js.map +1 -1
- package/build/common/hooks/useDirection/useDirection.mjs.map +1 -1
- package/build/common/hooks/useEffectEvent.js +0 -1
- package/build/common/hooks/useEffectEvent.js.map +1 -1
- package/build/common/hooks/useEffectEvent.mjs +0 -1
- package/build/common/hooks/useEffectEvent.mjs.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.js +0 -2
- package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs +0 -2
- package/build/common/hooks/useHasIntersected/useHasIntersected.mjs.map +1 -1
- package/build/common/hooks/useLayout/useLayout.js.map +1 -1
- package/build/common/hooks/useLayout/useLayout.mjs.map +1 -1
- package/build/common/hooks/useMedia.js.map +1 -1
- package/build/common/hooks/useMedia.mjs.map +1 -1
- package/build/common/hooks/useResizeObserver.js.map +1 -1
- package/build/common/hooks/useResizeObserver.mjs.map +1 -1
- package/build/common/hooks/useScreenSize.js.map +1 -1
- package/build/common/hooks/useScreenSize.mjs.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.js.map +1 -1
- package/build/common/hooks/useVirtualKeyboard.mjs.map +1 -1
- package/build/common/initials.js +0 -3
- package/build/common/initials.js.map +1 -1
- package/build/common/initials.mjs +0 -3
- package/build/common/initials.mjs.map +1 -1
- package/build/common/locale/index.js +0 -6
- package/build/common/locale/index.js.map +1 -1
- package/build/common/locale/index.mjs +0 -6
- package/build/common/locale/index.mjs.map +1 -1
- package/build/common/panel/Panel.js +18 -2
- package/build/common/panel/Panel.js.map +1 -1
- package/build/common/panel/Panel.mjs +18 -2
- package/build/common/panel/Panel.mjs.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js +0 -3
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs +0 -3
- package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs.map +1 -1
- package/build/common/preventScroll/PreventScroll.js.map +1 -1
- package/build/common/preventScroll/PreventScroll.mjs.map +1 -1
- package/build/common/propsValues/breakpoint.js +3 -5
- package/build/common/propsValues/breakpoint.js.map +1 -1
- package/build/common/propsValues/breakpoint.mjs +3 -3
- package/build/common/propsValues/breakpoint.mjs.map +1 -1
- package/build/common/propsValues/control.js +6 -9
- package/build/common/propsValues/control.js.map +1 -1
- package/build/common/propsValues/control.mjs +6 -6
- package/build/common/propsValues/control.mjs.map +1 -1
- package/build/common/propsValues/dateMode.js +3 -5
- package/build/common/propsValues/dateMode.js.map +1 -1
- package/build/common/propsValues/dateMode.mjs +3 -3
- package/build/common/propsValues/dateMode.mjs.map +1 -1
- package/build/common/propsValues/layouts.js +3 -5
- package/build/common/propsValues/layouts.js.map +1 -1
- package/build/common/propsValues/layouts.mjs +3 -3
- package/build/common/propsValues/layouts.mjs.map +1 -1
- package/build/common/propsValues/markdownNodeType.js +3 -5
- package/build/common/propsValues/markdownNodeType.js.map +1 -1
- package/build/common/propsValues/markdownNodeType.mjs +3 -3
- package/build/common/propsValues/markdownNodeType.mjs.map +1 -1
- package/build/common/propsValues/monthFormat.js +3 -5
- package/build/common/propsValues/monthFormat.js.map +1 -1
- package/build/common/propsValues/monthFormat.mjs +3 -3
- package/build/common/propsValues/monthFormat.mjs.map +1 -1
- package/build/common/propsValues/position.js +3 -5
- package/build/common/propsValues/position.js.map +1 -1
- package/build/common/propsValues/position.mjs +3 -3
- package/build/common/propsValues/position.mjs.map +1 -1
- package/build/common/propsValues/profileType.js +3 -5
- package/build/common/propsValues/profileType.js.map +1 -1
- package/build/common/propsValues/profileType.mjs +3 -3
- package/build/common/propsValues/profileType.mjs.map +1 -1
- package/build/common/propsValues/scroll.js +3 -5
- package/build/common/propsValues/scroll.js.map +1 -1
- package/build/common/propsValues/scroll.mjs +3 -3
- package/build/common/propsValues/scroll.mjs.map +1 -1
- package/build/common/propsValues/sentiment.js +3 -5
- package/build/common/propsValues/sentiment.js.map +1 -1
- package/build/common/propsValues/sentiment.mjs +3 -3
- package/build/common/propsValues/sentiment.mjs.map +1 -1
- package/build/common/propsValues/size.js +3 -5
- package/build/common/propsValues/size.js.map +1 -1
- package/build/common/propsValues/size.mjs +3 -3
- package/build/common/propsValues/size.mjs.map +1 -1
- package/build/common/propsValues/status.js +3 -5
- package/build/common/propsValues/status.js.map +1 -1
- package/build/common/propsValues/status.mjs +3 -3
- package/build/common/propsValues/status.mjs.map +1 -1
- package/build/common/propsValues/type.js +3 -5
- package/build/common/propsValues/type.js.map +1 -1
- package/build/common/propsValues/type.mjs +3 -3
- package/build/common/propsValues/type.mjs.map +1 -1
- package/build/common/propsValues/typography.js +3 -9
- package/build/common/propsValues/typography.js.map +1 -1
- package/build/common/propsValues/typography.mjs +3 -7
- package/build/common/propsValues/typography.mjs.map +1 -1
- package/build/common/propsValues/variant.js +3 -5
- package/build/common/propsValues/variant.js.map +1 -1
- package/build/common/propsValues/variant.mjs +3 -3
- package/build/common/propsValues/variant.mjs.map +1 -1
- package/build/common/propsValues/width.js +3 -5
- package/build/common/propsValues/width.js.map +1 -1
- package/build/common/propsValues/width.mjs +3 -3
- package/build/common/propsValues/width.mjs.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.js +18 -0
- package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
- package/build/common/responsivePanel/ResponsivePanel.mjs +18 -0
- package/build/common/responsivePanel/ResponsivePanel.mjs.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.js.map +1 -1
- package/build/common/textFormat/formatWithPattern/formatWithPattern.mjs.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js.map +1 -1
- package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.mjs.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js.map +1 -1
- package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.mjs.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js.map +1 -1
- package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.mjs.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js.map +1 -1
- package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.mjs.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.js.map +1 -1
- package/build/common/textFormat/unformatWithPattern/unformatWithPattern.mjs.map +1 -1
- package/build/common/theme.js +3 -5
- package/build/common/theme.js.map +1 -1
- package/build/common/theme.mjs +3 -3
- package/build/common/theme.mjs.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- package/build/dateInput/DateInput.js +15 -5
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.messages.js.map +1 -1
- package/build/dateInput/DateInput.messages.mjs.map +1 -1
- package/build/dateInput/DateInput.mjs +15 -5
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +0 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs +0 -1
- package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
- package/build/dateLookup/DateLookup.js +15 -0
- package/build/dateLookup/DateLookup.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.js.map +1 -1
- package/build/dateLookup/DateLookup.messages.mjs.map +1 -1
- package/build/dateLookup/DateLookup.mjs +15 -0
- package/build/dateLookup/DateLookup.mjs.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.js +18 -0
- package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
- package/build/dateLookup/dateHeader/DateHeader.mjs +18 -0
- package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.js +16 -0
- package/build/dateLookup/dateTrigger/DateTrigger.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.js.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.messages.mjs.map +1 -1
- package/build/dateLookup/dateTrigger/DateTrigger.mjs +16 -0
- package/build/dateLookup/dateTrigger/DateTrigger.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.js.map +1 -1
- package/build/dateLookup/dayCalendar/DayCalendar.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js +0 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs +0 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.js.map +1 -1
- package/build/dateLookup/getFocusableTime/getFocusableTime.mjs.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.js.map +1 -1
- package/build/dateLookup/getStartOfDay/getStartOfDay.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.js.map +1 -1
- package/build/dateLookup/monthCalendar/MonthCalendar.mjs.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.js.map +1 -1
- package/build/dateLookup/monthCalendar/table/MonthCalendarTable.mjs.map +1 -1
- package/build/dateLookup/tableLink/TableLink.js.map +1 -1
- package/build/dateLookup/tableLink/TableLink.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.js.map +1 -1
- package/build/dateLookup/yearCalendar/YearCalendar.mjs.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.js.map +1 -1
- package/build/dateLookup/yearCalendar/table/YearCalendarTable.mjs.map +1 -1
- package/build/decision/Decision.js +28 -13
- package/build/decision/Decision.js.map +1 -1
- package/build/decision/Decision.mjs +23 -6
- package/build/decision/Decision.mjs.map +1 -1
- package/build/definitionList/DefinitionList.js +18 -0
- package/build/definitionList/DefinitionList.js.map +1 -1
- package/build/definitionList/DefinitionList.mjs +18 -0
- package/build/definitionList/DefinitionList.mjs.map +1 -1
- package/build/dimmer/Dimmer.js +19 -1
- package/build/dimmer/Dimmer.js.map +1 -1
- package/build/dimmer/Dimmer.mjs +19 -1
- package/build/dimmer/Dimmer.mjs.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.js.map +1 -1
- package/build/dimmer/dimmerManager/DimmerManager.mjs.map +1 -1
- package/build/display/Display.js +18 -0
- package/build/display/Display.js.map +1 -1
- package/build/display/Display.mjs +18 -0
- package/build/display/Display.mjs.map +1 -1
- package/build/divider/Divider.js +0 -9
- package/build/divider/Divider.js.map +1 -1
- package/build/divider/Divider.mjs +0 -9
- package/build/divider/Divider.mjs.map +1 -1
- package/build/drawer/Drawer.js +17 -0
- package/build/drawer/Drawer.js.map +1 -1
- package/build/drawer/Drawer.mjs +17 -0
- package/build/drawer/Drawer.mjs.map +1 -1
- package/build/dropFade/DropFade.js.map +1 -1
- package/build/dropFade/DropFade.mjs.map +1 -1
- package/build/emphasis/Emphasis.js.map +1 -1
- package/build/emphasis/Emphasis.mjs.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.js +0 -1
- package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs +0 -1
- package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js +0 -15
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.js.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.mjs.map +1 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs +0 -15
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.js +0 -5
- package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs +0 -5
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.js +0 -2
- package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
- package/build/expressiveMoneyInput/amountInput/utils.mjs +0 -2
- package/build/expressiveMoneyInput/amountInput/utils.mjs.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.js.map +1 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.mjs.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.js.map +1 -1
- package/build/expressiveMoneyInput/chevron/Chevron.mjs.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useFocus.mjs.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
- package/build/field/Field.js +18 -1
- package/build/field/Field.js.map +1 -1
- package/build/field/Field.mjs +18 -1
- package/build/field/Field.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.js +17 -0
- package/build/flowNavigation/FlowNavigation.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.js.map +1 -1
- package/build/flowNavigation/FlowNavigation.messages.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.mjs +17 -0
- package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs.map +1 -1
- package/build/header/Header.js +18 -8
- package/build/header/Header.js.map +1 -1
- package/build/header/Header.mjs +18 -8
- package/build/header/Header.mjs.map +1 -1
- package/build/i18n/commonMessages/Button.messages.js.map +1 -1
- package/build/i18n/commonMessages/Button.messages.mjs.map +1 -1
- package/build/i18n/index.js.map +1 -1
- package/build/i18n/index.mjs.map +1 -1
- package/build/iconButton/IconButton.js.map +1 -1
- package/build/iconButton/IconButton.mjs.map +1 -1
- package/build/image/Image.js +1 -1
- package/build/image/Image.js.map +1 -1
- package/build/image/Image.mjs +1 -1
- package/build/image/Image.mjs.map +1 -1
- package/build/index.js +108 -27
- package/build/index.js.map +1 -1
- package/build/info/Info.js +17 -0
- package/build/info/Info.js.map +1 -1
- package/build/info/Info.messages.js.map +1 -1
- package/build/info/Info.messages.mjs.map +1 -1
- package/build/info/Info.mjs +17 -0
- package/build/info/Info.mjs.map +1 -1
- package/build/info/infoPresentations.js +3 -5
- package/build/info/infoPresentations.js.map +1 -1
- package/build/info/infoPresentations.mjs +3 -3
- package/build/info/infoPresentations.mjs.map +1 -1
- package/build/inlineAlert/InlineAlert.js +17 -1
- package/build/inlineAlert/InlineAlert.js.map +1 -1
- package/build/inlineAlert/InlineAlert.mjs +17 -1
- package/build/inlineAlert/InlineAlert.mjs.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.js.map +1 -1
- package/build/inputWithDisplayFormat/InputWithDisplayFormat.mjs.map +1 -1
- package/build/inputs/Input.js.map +1 -1
- package/build/inputs/Input.mjs.map +1 -1
- package/build/inputs/InputGroup.js.map +1 -1
- package/build/inputs/InputGroup.mjs.map +1 -1
- package/build/inputs/SearchInput.js +18 -0
- package/build/inputs/SearchInput.js.map +1 -1
- package/build/inputs/SearchInput.mjs +18 -0
- package/build/inputs/SearchInput.mjs.map +1 -1
- package/build/inputs/SelectInput.js +0 -5
- package/build/inputs/SelectInput.js.map +1 -1
- package/build/inputs/SelectInput.messages.js.map +1 -1
- package/build/inputs/SelectInput.messages.mjs.map +1 -1
- package/build/inputs/SelectInput.mjs +0 -5
- package/build/inputs/SelectInput.mjs.map +1 -1
- package/build/inputs/TextArea.js.map +1 -1
- package/build/inputs/TextArea.mjs.map +1 -1
- package/build/inputs/_BottomSheet.js.map +1 -1
- package/build/inputs/_BottomSheet.mjs.map +1 -1
- package/build/inputs/_ButtonInput.js.map +1 -1
- package/build/inputs/_ButtonInput.mjs.map +1 -1
- package/build/inputs/_Popover.js.map +1 -1
- package/build/inputs/_Popover.mjs.map +1 -1
- package/build/inputs/_common.js.map +1 -1
- package/build/inputs/_common.mjs.map +1 -1
- package/build/inputs/contexts.js.map +1 -1
- package/build/inputs/contexts.mjs.map +1 -1
- package/build/instructionsList/InstructionsList.js +18 -0
- package/build/instructionsList/InstructionsList.js.map +1 -1
- package/build/instructionsList/InstructionsList.mjs +18 -0
- package/build/instructionsList/InstructionsList.mjs.map +1 -1
- package/build/label/Label.js +0 -10
- package/build/label/Label.js.map +1 -1
- package/build/label/Label.messages.js.map +1 -1
- package/build/label/Label.messages.mjs.map +1 -1
- package/build/label/Label.mjs +0 -10
- package/build/label/Label.mjs.map +1 -1
- package/build/legacylistItem/LegacyListItem.js +0 -8
- package/build/legacylistItem/LegacyListItem.js.map +1 -1
- package/build/legacylistItem/LegacyListItem.mjs +0 -8
- package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
- package/build/link/Link.js +18 -5
- package/build/link/Link.js.map +1 -1
- package/build/link/Link.messages.js.map +1 -1
- package/build/link/Link.messages.mjs.map +1 -1
- package/build/link/Link.mjs +18 -5
- package/build/link/Link.mjs.map +1 -1
- package/build/list/List.js.map +1 -1
- package/build/list/List.mjs.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +18 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +18 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +0 -7
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +0 -7
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.js +0 -7
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.mjs +0 -7
- package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
- package/build/listItem/Button/ListItemButton.js +0 -7
- package/build/listItem/Button/ListItemButton.js.map +1 -1
- package/build/listItem/Button/ListItemButton.mjs +0 -7
- package/build/listItem/Button/ListItemButton.mjs.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.js +0 -7
- package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -1
- package/build/listItem/Checkbox/ListItemCheckbox.mjs +0 -7
- package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.js +0 -7
- package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
- package/build/listItem/IconButton/ListItemIconButton.mjs +0 -7
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
- package/build/listItem/Image/ListItemImage.js +0 -9
- package/build/listItem/Image/ListItemImage.js.map +1 -1
- package/build/listItem/Image/ListItemImage.mjs +0 -9
- package/build/listItem/Image/ListItemImage.mjs.map +1 -1
- package/build/listItem/ListItem.js +17 -7
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs +17 -7
- package/build/listItem/ListItem.mjs.map +1 -1
- package/build/listItem/ListItemContext.js.map +1 -1
- package/build/listItem/ListItemContext.mjs.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.js +0 -8
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs +0 -8
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.js +18 -6
- package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs +18 -6
- package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
- package/build/listItem/Radio/ListItemRadio.js +0 -7
- package/build/listItem/Radio/ListItemRadio.js.map +1 -1
- package/build/listItem/Radio/ListItemRadio.mjs +0 -7
- package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.js +0 -7
- package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
- package/build/listItem/Switch/ListItemSwitch.mjs +0 -7
- package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -1
- package/build/listItem/useListItemControl.js.map +1 -1
- package/build/listItem/useListItemControl.mjs.map +1 -1
- package/build/listItem/useListItemMedia.js.map +1 -1
- package/build/listItem/useListItemMedia.mjs.map +1 -1
- package/build/loader/Loader.js +18 -10
- package/build/loader/Loader.js.map +1 -1
- package/build/loader/Loader.mjs +18 -10
- package/build/loader/Loader.mjs.map +1 -1
- package/build/logo/Logo.js +3 -4
- package/build/logo/Logo.js.map +1 -1
- package/build/logo/Logo.mjs +3 -3
- package/build/logo/Logo.mjs.map +1 -1
- package/build/logo/logo-assets.js.map +1 -1
- package/build/logo/logo-assets.mjs.map +1 -1
- package/build/markdown/Markdown.js +32 -14
- package/build/markdown/Markdown.js.map +1 -1
- package/build/markdown/Markdown.mjs +18 -0
- package/build/markdown/Markdown.mjs.map +1 -1
- package/build/mocks.js.map +1 -1
- package/build/mocks.mjs.map +1 -1
- package/build/modal/Modal.js +15 -0
- package/build/modal/Modal.js.map +1 -1
- package/build/modal/Modal.mjs +15 -0
- package/build/modal/Modal.mjs.map +1 -1
- package/build/money/Money.js.map +1 -1
- package/build/money/Money.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.js +17 -0
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.js.map +1 -1
- package/build/moneyInput/MoneyInput.messages.mjs.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +17 -0
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/moneyInput/currencyFormatting.js +2 -2
- package/build/moneyInput/currencyFormatting.js.map +1 -1
- package/build/moneyInput/currencyFormatting.mjs.map +1 -1
- package/build/navigationOption/NavigationOption.js +18 -8
- package/build/navigationOption/NavigationOption.js.map +1 -1
- package/build/navigationOption/NavigationOption.mjs +18 -8
- package/build/navigationOption/NavigationOption.mjs.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.js +0 -9
- package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.mjs +0 -9
- package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
- package/build/nudge/Nudge.js +18 -1
- package/build/nudge/Nudge.js.map +1 -1
- package/build/nudge/Nudge.mjs +18 -1
- package/build/nudge/Nudge.mjs.map +1 -1
- package/build/overlayHeader/OverlayHeader.js +18 -0
- package/build/overlayHeader/OverlayHeader.js.map +1 -1
- package/build/overlayHeader/OverlayHeader.mjs +18 -0
- package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +19 -3
- package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs +19 -3
- package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/phoneNumberInput/data/countries.js.map +1 -1
- package/build/phoneNumberInput/data/countries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js +0 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs +0 -1
- package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.js.map +1 -1
- package/build/phoneNumberInput/utils/explodeNumberModel/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByCode/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/findCountryByPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js.map +1 -1
- package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.mjs.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js +0 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs +0 -1
- package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js.map +1 -1
- package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.mjs.map +1 -1
- package/build/popover/Popover.js +17 -0
- package/build/popover/Popover.js.map +1 -1
- package/build/popover/Popover.mjs +17 -0
- package/build/popover/Popover.mjs.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js +0 -10
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs +0 -10
- package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.js +0 -10
- package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs +0 -10
- package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
- package/build/processIndicator/ProcessIndicator.js +18 -3
- package/build/processIndicator/ProcessIndicator.js.map +1 -1
- package/build/processIndicator/ProcessIndicator.mjs +18 -3
- package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
- package/build/progress/Progress.js.map +1 -1
- package/build/progress/Progress.mjs.map +1 -1
- package/build/progressBar/ProgressBar.js +18 -0
- package/build/progressBar/ProgressBar.js.map +1 -1
- package/build/progressBar/ProgressBar.mjs +18 -0
- package/build/progressBar/ProgressBar.mjs.map +1 -1
- package/build/promoCard/PromoCard.js +18 -47
- package/build/promoCard/PromoCard.js.map +1 -1
- package/build/promoCard/PromoCard.mjs +18 -47
- package/build/promoCard/PromoCard.mjs.map +1 -1
- package/build/promoCard/PromoCardContext.js +0 -11
- package/build/promoCard/PromoCardContext.js.map +1 -1
- package/build/promoCard/PromoCardContext.mjs +0 -11
- package/build/promoCard/PromoCardContext.mjs.map +1 -1
- package/build/promoCard/PromoCardGroup.js +0 -21
- package/build/promoCard/PromoCardGroup.js.map +1 -1
- package/build/promoCard/PromoCardGroup.mjs +0 -21
- package/build/promoCard/PromoCardGroup.mjs.map +1 -1
- package/build/promoCard/PromoCardIndicator.js +18 -16
- package/build/promoCard/PromoCardIndicator.js.map +1 -1
- package/build/promoCard/PromoCardIndicator.mjs +18 -16
- package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.js +18 -6
- package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs +18 -6
- package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
- package/build/provider/Provider.js +19 -0
- package/build/provider/Provider.js.map +1 -1
- package/build/provider/Provider.mjs +19 -0
- package/build/provider/Provider.mjs.map +1 -1
- package/build/provider/direction/DirectionProvider.js.map +1 -1
- package/build/provider/direction/DirectionProvider.mjs.map +1 -1
- package/build/provider/language/LanguageProvider.js.map +1 -1
- package/build/provider/language/LanguageProvider.mjs.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.js.map +1 -1
- package/build/provider/overlay/OverlayIdProvider.mjs.map +1 -1
- package/build/radio/Radio.js +18 -0
- package/build/radio/Radio.js.map +1 -1
- package/build/radio/Radio.mjs +18 -0
- package/build/radio/Radio.mjs.map +1 -1
- package/build/radioGroup/RadioGroup.js.map +1 -1
- package/build/radioGroup/RadioGroup.mjs.map +1 -1
- package/build/radioOption/RadioOption.js +0 -8
- package/build/radioOption/RadioOption.js.map +1 -1
- package/build/radioOption/RadioOption.mjs +0 -8
- package/build/radioOption/RadioOption.mjs.map +1 -1
- package/build/section/Section.js +0 -5
- package/build/section/Section.js.map +1 -1
- package/build/section/Section.mjs +0 -5
- package/build/section/Section.mjs.map +1 -1
- package/build/segmentedControl/SegmentedControl.js +18 -2
- package/build/segmentedControl/SegmentedControl.js.map +1 -1
- package/build/segmentedControl/SegmentedControl.mjs +18 -2
- package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
- package/build/select/Select.js +18 -3
- package/build/select/Select.js.map +1 -1
- package/build/select/Select.messages.js.map +1 -1
- package/build/select/Select.messages.mjs.map +1 -1
- package/build/select/Select.mjs +18 -3
- package/build/select/Select.mjs.map +1 -1
- package/build/select/option/Option.js +18 -0
- package/build/select/option/Option.js.map +1 -1
- package/build/select/option/Option.mjs +18 -0
- package/build/select/option/Option.mjs.map +1 -1
- package/build/select/searchBox/SearchBox.js.map +1 -1
- package/build/select/searchBox/SearchBox.mjs.map +1 -1
- package/build/sentimentSurface/SentimentSurface.js +0 -28
- package/build/sentimentSurface/SentimentSurface.js.map +1 -1
- package/build/sentimentSurface/SentimentSurface.mjs +0 -28
- package/build/sentimentSurface/SentimentSurface.mjs.map +1 -1
- package/build/slidingPanel/SlidingPanel.js.map +1 -1
- package/build/slidingPanel/SlidingPanel.mjs.map +1 -1
- package/build/snackbar/Snackbar.js.map +1 -1
- package/build/snackbar/Snackbar.mjs.map +1 -1
- package/build/snackbar/SnackbarContext.js.map +1 -1
- package/build/snackbar/SnackbarContext.mjs.map +1 -1
- package/build/snackbar/SnackbarProvider.js.map +1 -1
- package/build/snackbar/SnackbarProvider.mjs.map +1 -1
- package/build/snackbar/useSnackbar.js.map +1 -1
- package/build/snackbar/useSnackbar.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.js +15 -0
- package/build/statusIcon/StatusIcon.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.js.map +1 -1
- package/build/statusIcon/StatusIcon.messages.mjs.map +1 -1
- package/build/statusIcon/StatusIcon.mjs +15 -0
- package/build/statusIcon/StatusIcon.mjs.map +1 -1
- package/build/stepper/Stepper.js +18 -0
- package/build/stepper/Stepper.js.map +1 -1
- package/build/stepper/Stepper.mjs +18 -0
- package/build/stepper/Stepper.mjs.map +1 -1
- package/build/stepper/deviceDetection.js.map +1 -1
- package/build/stepper/deviceDetection.mjs.map +1 -1
- package/build/sticky/Sticky.js +18 -22
- package/build/sticky/Sticky.js.map +1 -1
- package/build/sticky/Sticky.mjs +18 -22
- package/build/sticky/Sticky.mjs.map +1 -1
- package/build/summary/Summary.js +16 -0
- package/build/summary/Summary.js.map +1 -1
- package/build/summary/Summary.messages.js.map +1 -1
- package/build/summary/Summary.messages.mjs.map +1 -1
- package/build/summary/Summary.mjs +16 -0
- package/build/summary/Summary.mjs.map +1 -1
- package/build/switch/Switch.js.map +1 -1
- package/build/switch/Switch.mjs.map +1 -1
- package/build/switchOption/SwitchOption.js +0 -1
- package/build/switchOption/SwitchOption.js.map +1 -1
- package/build/switchOption/SwitchOption.mjs +0 -1
- package/build/switchOption/SwitchOption.mjs.map +1 -1
- package/build/table/Table.js +17 -1
- package/build/table/Table.js.map +1 -1
- package/build/table/Table.messages.js.map +1 -1
- package/build/table/Table.messages.mjs.map +1 -1
- package/build/table/Table.mjs +17 -1
- package/build/table/Table.mjs.map +1 -1
- package/build/table/TableCell.js.map +1 -1
- package/build/table/TableCell.mjs.map +1 -1
- package/build/table/TableHeader.js +0 -1
- package/build/table/TableHeader.js.map +1 -1
- package/build/table/TableHeader.mjs +0 -1
- package/build/table/TableHeader.mjs.map +1 -1
- package/build/table/TableRow.js +18 -0
- package/build/table/TableRow.js.map +1 -1
- package/build/table/TableRow.mjs +18 -0
- package/build/table/TableRow.mjs.map +1 -1
- package/build/table/TableStatusText.js +18 -0
- package/build/table/TableStatusText.js.map +1 -1
- package/build/table/TableStatusText.mjs +18 -0
- package/build/table/TableStatusText.mjs.map +1 -1
- package/build/tabs/Tab.js.map +1 -1
- package/build/tabs/Tab.mjs.map +1 -1
- package/build/tabs/TabList.js.map +1 -1
- package/build/tabs/TabList.mjs.map +1 -1
- package/build/tabs/TabPanel.js.map +1 -1
- package/build/tabs/TabPanel.mjs.map +1 -1
- package/build/tabs/Tabs.js +17 -3
- package/build/tabs/Tabs.js.map +1 -1
- package/build/tabs/Tabs.mjs +17 -3
- package/build/tabs/Tabs.mjs.map +1 -1
- package/build/tabs/utils.js +0 -1
- package/build/tabs/utils.js.map +1 -1
- package/build/tabs/utils.mjs +0 -1
- package/build/tabs/utils.mjs.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js.map +1 -1
- package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.mjs.map +1 -1
- package/build/tile/Tile.js +18 -0
- package/build/tile/Tile.js.map +1 -1
- package/build/tile/Tile.mjs +18 -0
- package/build/tile/Tile.mjs.map +1 -1
- package/build/title/Title.js +18 -0
- package/build/title/Title.js.map +1 -1
- package/build/title/Title.mjs +18 -0
- package/build/title/Title.mjs.map +1 -1
- package/build/tooltip/Tooltip.js +18 -1
- package/build/tooltip/Tooltip.js.map +1 -1
- package/build/tooltip/Tooltip.mjs +18 -1
- package/build/tooltip/Tooltip.mjs.map +1 -1
- package/build/typeahead/Typeahead.js +17 -0
- package/build/typeahead/Typeahead.js.map +1 -1
- package/build/typeahead/Typeahead.messages.js.map +1 -1
- package/build/typeahead/Typeahead.messages.mjs.map +1 -1
- package/build/typeahead/Typeahead.mjs +17 -0
- package/build/typeahead/Typeahead.mjs.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.js.map +1 -1
- package/build/typeahead/typeaheadOption/TypeaheadOption.mjs.map +1 -1
- package/build/typeahead/util/highlight.js.map +1 -1
- package/build/typeahead/util/highlight.mjs.map +1 -1
- package/build/types/accordion/Accordion.d.ts.map +1 -0
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/build/types/accordion/AccordionItem/index.d.ts.map +1 -0
- package/build/types/accordion/index.d.ts.map +1 -0
- package/build/types/actionButton/ActionButton.d.ts.map +1 -0
- package/build/types/actionButton/index.d.ts.map +1 -0
- package/build/types/actionOption/ActionOption.d.ts.map +1 -0
- package/build/types/actionOption/index.d.ts.map +1 -0
- package/build/types/alert/Alert.d.ts.map +1 -0
- package/build/types/alert/index.d.ts.map +1 -0
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
- package/build/types/alert/inlineMarkdown/index.d.ts.map +1 -0
- package/build/types/avatar/Avatar.d.ts.map +1 -0
- package/build/types/avatar/avatarTypes.d.ts.map +1 -0
- package/build/types/avatar/index.d.ts.map +1 -0
- package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -0
- package/build/types/avatarLayout/index.d.ts.map +1 -0
- package/build/types/avatarView/AvatarView.d.ts.map +1 -0
- package/build/types/avatarView/Dot.d.ts.map +1 -0
- package/build/types/avatarView/index.d.ts.map +1 -0
- package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
- package/build/types/avatarWrapper/index.d.ts.map +1 -0
- package/build/types/badge/Badge.d.ts.map +1 -0
- package/build/types/badge/BadgeAssets.d.ts.map +1 -0
- package/build/types/badge/index.d.ts.map +1 -0
- package/build/types/body/Body.d.ts.map +1 -0
- package/build/types/body/index.d.ts.map +1 -0
- package/build/types/button/Button.d.ts.map +1 -0
- package/build/types/button/Button.resolver.d.ts.map +1 -0
- package/build/types/button/Button.types.d.ts.map +1 -0
- package/build/types/button/LegacyButton.d.ts.map +1 -0
- package/build/types/button/_stories/helpers.d.ts.map +1 -0
- package/build/types/button/classMap.d.ts.map +1 -0
- package/build/types/button/index.d.ts.map +1 -0
- package/build/types/button/legacyUtils/index.d.ts.map +1 -0
- package/build/types/button/legacyUtils/legacyUtils.d.ts.map +1 -0
- package/build/types/card/Card.d.ts.map +1 -0
- package/build/types/card/index.d.ts.map +1 -0
- package/build/types/carousel/Carousel.d.ts.map +1 -0
- package/build/types/carousel/index.d.ts.map +1 -0
- package/build/types/checkbox/Checkbox.d.ts.map +1 -0
- package/build/types/checkbox/index.d.ts.map +1 -0
- package/build/types/checkboxButton/CheckboxButton.d.ts.map +1 -0
- package/build/types/checkboxButton/index.d.ts.map +1 -0
- package/build/types/checkboxOption/CheckboxOption.d.ts.map +1 -0
- package/build/types/checkboxOption/index.d.ts.map +1 -0
- package/build/types/chevron/Chevron.d.ts.map +1 -0
- package/build/types/chevron/index.d.ts.map +1 -0
- package/build/types/chips/Chip.d.ts.map +1 -0
- package/build/types/chips/Chips.d.ts.map +1 -0
- package/build/types/chips/Chips.messages.d.ts.map +1 -0
- package/build/types/chips/index.d.ts.map +1 -0
- package/build/types/circularButton/CircularButton.d.ts.map +1 -0
- package/build/types/circularButton/index.d.ts.map +1 -0
- package/build/types/common/DOMOperations/DOMOperations.d.ts.map +1 -0
- package/build/types/common/DOMOperations/index.d.ts.map +1 -0
- package/build/types/common/Option/Option.d.ts.map +1 -0
- package/build/types/common/Option/index.d.ts.map +1 -0
- package/build/types/common/RadioButton/RadioButton.d.ts.map +1 -0
- package/build/types/common/RadioButton/index.d.ts.map +1 -0
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -0
- package/build/types/common/bottomSheet/index.d.ts.map +1 -0
- package/build/types/common/card/Card.d.ts.map +1 -0
- package/build/types/common/card/index.d.ts.map +1 -0
- package/build/types/common/circle/Circle.d.ts.map +1 -0
- package/build/types/common/circle/index.d.ts.map +1 -0
- package/build/types/common/closeButton/CloseButton.d.ts.map +1 -0
- package/build/types/common/closeButton/CloseButton.messages.d.ts.map +1 -0
- package/build/types/common/closeButton/index.d.ts.map +1 -0
- package/build/types/common/colors.d.ts.map +1 -0
- package/build/types/common/commonProps.d.ts.map +1 -0
- package/build/types/common/constants.d.ts.map +1 -0
- package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
- package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
- package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
- package/build/types/common/dateUtils/index.d.ts.map +1 -0
- package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
- package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
- package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
- package/build/types/common/deviceDetection/deviceDetection.d.ts.map +1 -0
- package/build/types/common/deviceDetection/index.d.ts.map +1 -0
- package/build/types/common/direction.d.ts.map +1 -0
- package/build/types/common/domHelpers/documentIosClick.d.ts.map +1 -0
- package/build/types/common/domHelpers/index.d.ts.map +1 -0
- package/build/types/common/fakeEvents.d.ts.map +1 -0
- package/build/types/common/fileType.d.ts.map +1 -0
- package/build/types/common/flowHeader/FlowHeader.d.ts.map +1 -0
- package/build/types/common/flowHeader/index.d.ts.map +1 -0
- package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
- package/build/types/common/focusBoundary/index.d.ts.map +1 -0
- package/build/types/common/historyNavigator/historyNavigator.d.ts.map +1 -0
- package/build/types/common/historyNavigator/index.d.ts.map +1 -0
- package/build/types/common/hooks/index.d.ts.map +1 -0
- package/build/types/common/hooks/useConditionalListener/index.d.ts.map +1 -0
- package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
- package/build/types/common/hooks/useDirection/index.d.ts.map +1 -0
- package/build/types/common/hooks/useDirection/useDirection.d.ts.map +1 -0
- package/build/types/common/hooks/useEffectEvent.d.ts.map +1 -0
- package/build/types/common/hooks/useHasIntersected/index.d.ts.map +1 -0
- package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
- package/build/types/common/hooks/useLayout/index.d.ts.map +1 -0
- package/build/types/common/hooks/useLayout/useLayout.d.ts.map +1 -0
- package/build/types/common/hooks/useMedia.d.ts.map +1 -0
- package/build/types/common/hooks/useResizeObserver.d.ts.map +1 -0
- package/build/types/common/hooks/useScreenSize.d.ts.map +1 -0
- package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
- package/build/types/common/index.d.ts.map +1 -0
- package/build/types/common/initials.d.ts.map +1 -0
- package/build/types/common/locale/index.d.ts.map +1 -0
- package/build/types/common/panel/Panel.d.ts.map +1 -0
- package/build/types/common/panel/index.d.ts.map +1 -0
- package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
- package/build/types/common/preventScroll/PreventScroll.d.ts.map +1 -0
- package/build/types/common/propsValues/breakpoint.d.ts.map +1 -0
- package/build/types/common/propsValues/control.d.ts.map +1 -0
- package/build/types/common/propsValues/dateMode.d.ts.map +1 -0
- package/build/types/common/propsValues/layouts.d.ts.map +1 -0
- package/build/types/common/propsValues/markdownNodeType.d.ts.map +1 -0
- package/build/types/common/propsValues/monthFormat.d.ts.map +1 -0
- package/build/types/common/propsValues/position.d.ts.map +1 -0
- package/build/types/common/propsValues/profileType.d.ts.map +1 -0
- package/build/types/common/propsValues/scroll.d.ts.map +1 -0
- package/build/types/common/propsValues/sentiment.d.ts.map +1 -0
- package/build/types/common/propsValues/size.d.ts.map +1 -0
- package/build/types/common/propsValues/status.d.ts.map +1 -0
- package/build/types/common/propsValues/type.d.ts.map +1 -0
- package/build/types/common/propsValues/typography.d.ts.map +1 -0
- package/build/types/common/propsValues/variant.d.ts.map +1 -0
- package/build/types/common/propsValues/width.d.ts.map +1 -0
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
- package/build/types/common/responsivePanel/index.d.ts.map +1 -0
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
- package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
- package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
- package/build/types/common/textFormat/index.d.ts.map +1 -0
- package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
- package/build/types/common/theme.d.ts.map +1 -0
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
- package/build/types/criticalBanner/index.d.ts.map +1 -0
- package/build/types/dateInput/DateInput.d.ts.map +1 -0
- package/build/types/dateInput/DateInput.messages.d.ts.map +1 -0
- package/build/types/dateInput/index.d.ts.map +1 -0
- package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
- package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
- package/build/types/dateInput/utils/index.d.ts.map +1 -0
- package/build/types/dateLookup/DateLookup.d.ts.map +1 -0
- package/build/types/dateLookup/DateLookup.messages.d.ts.map +1 -0
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
- package/build/types/dateLookup/dateHeader/index.d.ts.map +1 -0
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
- package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
- package/build/types/dateLookup/dateTrigger/index.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/index.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
- package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
- package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
- package/build/types/dateLookup/getStartOfDay/index.d.ts.map +1 -0
- package/build/types/dateLookup/index.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/index.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
- package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
- package/build/types/dateLookup/tableLink/TableLink.d.ts.map +1 -0
- package/build/types/dateLookup/tableLink/index.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/index.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
- package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
- package/build/types/decision/Decision.d.ts.map +1 -0
- package/build/types/decision/index.d.ts.map +1 -0
- package/build/types/definitionList/DefinitionList.d.ts.map +1 -0
- package/build/types/definitionList/index.d.ts.map +1 -0
- package/build/types/dimmer/Dimmer.d.ts.map +1 -0
- package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
- package/build/types/dimmer/dimmerManager/index.d.ts.map +1 -0
- package/build/types/dimmer/index.d.ts.map +1 -0
- package/build/types/display/Display.d.ts.map +1 -0
- package/build/types/display/index.d.ts.map +1 -0
- package/build/types/divider/Divider.d.ts.map +1 -0
- package/build/types/divider/index.d.ts.map +1 -0
- package/build/types/drawer/Drawer.d.ts.map +1 -0
- package/build/types/drawer/index.d.ts.map +1 -0
- package/build/types/dropFade/DropFade.d.ts.map +1 -0
- package/build/types/dropFade/index.d.ts.map +1 -0
- package/build/types/emphasis/Emphasis.d.ts.map +1 -0
- package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
- package/build/types/emphasis/index.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
- package/build/types/expressiveMoneyInput/index.d.ts.map +1 -0
- package/build/types/field/Field.d.ts.map +1 -0
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -0
- package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
- package/build/types/flowNavigation/animatedLabel/index.d.ts.map +1 -0
- package/build/types/header/Header.d.ts.map +1 -0
- package/build/types/header/index.d.ts.map +1 -0
- package/build/types/i18n/commonMessages/Button.messages.d.ts.map +1 -0
- package/build/types/i18n/index.d.ts.map +1 -0
- package/build/types/iconButton/IconButton.d.ts.map +1 -0
- package/build/types/iconButton/index.d.ts.map +1 -0
- package/build/types/image/Image.d.ts.map +1 -0
- package/build/types/image/index.d.ts.map +1 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/info/Info.d.ts.map +1 -0
- package/build/types/info/Info.messages.d.ts.map +1 -0
- package/build/types/info/index.d.ts.map +1 -0
- package/build/types/info/infoPresentations.d.ts.map +1 -0
- package/build/types/inlineAlert/InlineAlert.d.ts.map +1 -0
- package/build/types/inlineAlert/index.d.ts.map +1 -0
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
- package/build/types/inputWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/inputs/Input.d.ts.map +1 -0
- package/build/types/inputs/InputGroup.d.ts.map +1 -0
- package/build/types/inputs/SearchInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput.messages.d.ts.map +1 -0
- package/build/types/inputs/TextArea.d.ts.map +1 -0
- package/build/types/inputs/_BottomSheet.d.ts.map +1 -0
- package/build/types/inputs/_ButtonInput.d.ts.map +1 -0
- package/build/types/inputs/_Popover.d.ts.map +1 -0
- package/build/types/inputs/_common.d.ts.map +1 -0
- package/build/types/inputs/contexts.d.ts.map +1 -0
- package/build/types/instructionsList/InstructionsList.d.ts.map +1 -0
- package/build/types/instructionsList/index.d.ts.map +1 -0
- package/build/types/label/Label.d.ts.map +1 -0
- package/build/types/label/Label.messages.d.ts.map +1 -0
- package/build/types/label/index.d.ts.map +1 -0
- package/build/types/legacylistItem/LegacyListItem.d.ts.map +1 -0
- package/build/types/legacylistItem/index.d.ts.map +1 -0
- package/build/types/link/Link.d.ts.map +1 -0
- package/build/types/link/Link.messages.d.ts.map +1 -0
- package/build/types/link/index.d.ts.map +1 -0
- package/build/types/list/List.d.ts.map +1 -0
- package/build/types/list/index.d.ts.map +1 -0
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/listItem/AdditionalInfo/index.d.ts.map +1 -0
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
- package/build/types/listItem/AvatarLayout/index.d.ts.map +1 -0
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
- package/build/types/listItem/AvatarView/index.d.ts.map +1 -0
- package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -0
- package/build/types/listItem/Button/index.d.ts.map +1 -0
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/listItem/Checkbox/index.d.ts.map +1 -0
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
- package/build/types/listItem/IconButton/index.d.ts.map +1 -0
- package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -0
- package/build/types/listItem/Image/index.d.ts.map +1 -0
- package/build/types/listItem/ListItem.d.ts.map +1 -0
- package/build/types/listItem/ListItemContext.d.ts.map +1 -0
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
- package/build/types/listItem/Navigation/index.d.ts.map +1 -0
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
- package/build/types/listItem/Prompt/index.d.ts.map +1 -0
- package/build/types/listItem/Radio/ListItemRadio.d.ts.map +1 -0
- package/build/types/listItem/Radio/index.d.ts.map +1 -0
- package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
- package/build/types/listItem/Switch/index.d.ts.map +1 -0
- package/build/types/listItem/_stories/helpers.d.ts.map +1 -0
- package/build/types/listItem/_stories/subcomponents.d.ts.map +1 -0
- package/build/types/listItem/_stories/variants/helpers.d.ts.map +1 -0
- package/build/types/listItem/constants.d.ts.map +1 -0
- package/build/types/listItem/index.d.ts.map +1 -0
- package/build/types/listItem/test-utils.d.ts.map +1 -0
- package/build/types/listItem/useListItemControl.d.ts.map +1 -0
- package/build/types/listItem/useListItemMedia.d.ts.map +1 -0
- package/build/types/loader/Loader.d.ts.map +1 -0
- package/build/types/loader/index.d.ts.map +1 -0
- package/build/types/logo/Logo.d.ts.map +1 -0
- package/build/types/logo/index.d.ts.map +1 -0
- package/build/types/logo/logo-assets.d.ts.map +1 -0
- package/build/types/markdown/Markdown.d.ts.map +1 -0
- package/build/types/markdown/index.d.ts.map +1 -0
- package/build/types/mocks.d.ts.map +1 -0
- package/build/types/modal/Modal.d.ts.map +1 -0
- package/build/types/modal/index.d.ts.map +1 -0
- package/build/types/money/Money.d.ts.map +1 -0
- package/build/types/money/index.d.ts.map +1 -0
- package/build/types/moneyInput/MoneyInput.d.ts.map +1 -0
- package/build/types/moneyInput/MoneyInput.messages.d.ts.map +1 -0
- package/build/types/moneyInput/currencyFormatting.d.ts.map +1 -0
- package/build/types/moneyInput/index.d.ts.map +1 -0
- package/build/types/navigationOption/NavigationOption.d.ts.map +1 -0
- package/build/types/navigationOption/index.d.ts.map +1 -0
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
- package/build/types/navigationOptionsList/index.d.ts.map +1 -0
- package/build/types/nudge/Nudge.d.ts.map +1 -0
- package/build/types/nudge/index.d.ts.map +1 -0
- package/build/types/overlayHeader/OverlayHeader.d.ts.map +1 -0
- package/build/types/overlayHeader/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
- package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
- package/build/types/phoneNumberInput/data/countries.d.ts.map +1 -0
- package/build/types/phoneNumberInput/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
- package/build/types/popover/Popover.d.ts.map +1 -0
- package/build/types/popover/index.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
- package/build/types/primitives/PrimitiveButton/index.d.ts.map +1 -0
- package/build/types/primitives/index.d.ts.map +1 -0
- package/build/types/primitives/types.d.ts.map +1 -0
- package/build/types/processIndicator/ProcessIndicator.d.ts.map +1 -0
- package/build/types/processIndicator/index.d.ts.map +1 -0
- package/build/types/progress/Progress.d.ts.map +1 -0
- package/build/types/progress/index.d.ts.map +1 -0
- package/build/types/progressBar/ProgressBar.d.ts.map +1 -0
- package/build/types/progressBar/index.d.ts.map +1 -0
- package/build/types/promoCard/PromoCard.d.ts.map +1 -0
- package/build/types/promoCard/PromoCardContext.d.ts.map +1 -0
- package/build/types/promoCard/PromoCardGroup.d.ts.map +1 -0
- package/build/types/promoCard/PromoCardIndicator.d.ts.map +1 -0
- package/build/types/promoCard/index.d.ts.map +1 -0
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
- package/build/types/prompt/InlinePrompt/index.d.ts.map +1 -0
- package/build/types/prompt/index.d.ts.map +1 -0
- package/build/types/provider/Provider.d.ts.map +1 -0
- package/build/types/provider/direction/DirectionProvider.d.ts.map +1 -0
- package/build/types/provider/direction/index.d.ts.map +1 -0
- package/build/types/provider/index.d.ts.map +1 -0
- package/build/types/provider/language/LanguageProvider.d.ts.map +1 -0
- package/build/types/provider/language/index.d.ts.map +1 -0
- package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
- package/build/types/radio/Radio.d.ts.map +1 -0
- package/build/types/radio/index.d.ts.map +1 -0
- package/build/types/radioGroup/RadioGroup.d.ts.map +1 -0
- package/build/types/radioGroup/index.d.ts.map +1 -0
- package/build/types/radioOption/RadioOption.d.ts.map +1 -0
- package/build/types/radioOption/index.d.ts.map +1 -0
- package/build/types/section/Section.d.ts.map +1 -0
- package/build/types/section/index.d.ts.map +1 -0
- package/build/types/segmentedControl/SegmentedControl.d.ts.map +1 -0
- package/build/types/segmentedControl/index.d.ts.map +1 -0
- package/build/types/select/Select.d.ts.map +1 -0
- package/build/types/select/Select.messages.d.ts.map +1 -0
- package/build/types/select/index.d.ts.map +1 -0
- package/build/types/select/option/Option.d.ts.map +1 -0
- package/build/types/select/option/index.d.ts.map +1 -0
- package/build/types/select/searchBox/SearchBox.d.ts.map +1 -0
- package/build/types/select/searchBox/index.d.ts.map +1 -0
- package/build/types/sentimentSurface/SentimentSurface.d.ts.map +1 -0
- package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
- package/build/types/sentimentSurface/index.d.ts.map +1 -0
- package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -0
- package/build/types/slidingPanel/index.d.ts.map +1 -0
- package/build/types/snackbar/Snackbar.d.ts.map +1 -0
- package/build/types/snackbar/SnackbarContext.d.ts.map +1 -0
- package/build/types/snackbar/SnackbarProvider.d.ts.map +1 -0
- package/build/types/snackbar/index.d.ts.map +1 -0
- package/build/types/snackbar/useSnackbar.d.ts.map +1 -0
- package/build/types/statusIcon/StatusIcon.d.ts.map +1 -0
- package/build/types/statusIcon/StatusIcon.messages.d.ts.map +1 -0
- package/build/types/statusIcon/index.d.ts.map +1 -0
- package/build/types/stepper/Stepper.d.ts.map +1 -0
- package/build/types/stepper/deviceDetection.d.ts.map +1 -0
- package/build/types/sticky/Sticky.d.ts.map +1 -0
- package/build/types/sticky/index.d.ts.map +1 -0
- package/build/types/summary/Summary.d.ts.map +1 -0
- package/build/types/summary/Summary.messages.d.ts.map +1 -0
- package/build/types/summary/index.d.ts.map +1 -0
- package/build/types/switch/Switch.d.ts.map +1 -0
- package/build/types/switch/index.d.ts.map +1 -0
- package/build/types/switchOption/SwitchOption.d.ts.map +1 -0
- package/build/types/switchOption/index.d.ts.map +1 -0
- package/build/types/table/Table.d.ts.map +1 -0
- package/build/types/table/Table.messages.d.ts.map +1 -0
- package/build/types/table/TableCell.d.ts.map +1 -0
- package/build/types/table/TableHeader.d.ts.map +1 -0
- package/build/types/table/TableRow.d.ts.map +1 -0
- package/build/types/table/TableStatusText.d.ts.map +1 -0
- package/build/types/table/index.d.ts.map +1 -0
- package/build/types/tabs/Tab.d.ts.map +1 -0
- package/build/types/tabs/TabList.d.ts.map +1 -0
- package/build/types/tabs/TabPanel.d.ts.map +1 -0
- package/build/types/tabs/Tabs.d.ts.map +1 -0
- package/build/types/tabs/index.d.ts.map +1 -0
- package/build/types/tabs/utils.d.ts.map +1 -0
- package/build/types/test-utils/fake-data.d.ts.map +1 -0
- package/build/types/test-utils/index.d.ts.map +1 -0
- package/build/types/test-utils/jest.setup.d.ts.map +1 -0
- package/build/types/test-utils/style-mock.d.ts.map +1 -0
- package/build/types/test-utils/wait.d.ts.map +1 -0
- package/build/types/test-utils/window-mock.d.ts.map +1 -0
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
- package/build/types/textareaWithDisplayFormat/index.d.ts.map +1 -0
- package/build/types/tile/Tile.d.ts.map +1 -0
- package/build/types/tile/index.d.ts.map +1 -0
- package/build/types/title/Title.d.ts.map +1 -0
- package/build/types/title/index.d.ts.map +1 -0
- package/build/types/tooltip/Tooltip.d.ts.map +1 -0
- package/build/types/tooltip/index.d.ts.map +1 -0
- package/build/types/typeahead/Typeahead.d.ts.map +1 -0
- package/build/types/typeahead/Typeahead.messages.d.ts.map +1 -0
- package/build/types/typeahead/index.d.ts.map +1 -0
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
- package/build/types/typeahead/util/highlight.d.ts.map +1 -0
- package/build/types/upload/Upload.d.ts.map +1 -0
- package/build/types/upload/Upload.messages.d.ts.map +1 -0
- package/build/types/upload/index.d.ts.map +1 -0
- package/build/types/upload/steps/completeStep/completeStep.d.ts.map +1 -0
- package/build/types/upload/steps/completeStep/index.d.ts.map +1 -0
- package/build/types/upload/steps/index.d.ts.map +1 -0
- package/build/types/upload/steps/processingStep/index.d.ts.map +1 -0
- package/build/types/upload/steps/processingStep/processingStep.d.ts.map +1 -0
- package/build/types/upload/steps/uploadImageStep/index.d.ts.map +1 -0
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
- package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
- package/build/types/upload/utils/asyncFileRead/index.d.ts.map +1 -0
- package/build/types/upload/utils/getFileType/getFileType.d.ts.map +1 -0
- package/build/types/upload/utils/getFileType/index.d.ts.map +1 -0
- package/build/types/upload/utils/index.d.ts.map +1 -0
- package/build/types/upload/utils/isSizeValid/index.d.ts.map +1 -0
- package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
- package/build/types/upload/utils/isTypeValid/index.d.ts.map +1 -0
- package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
- package/build/types/upload/utils/postData/index.d.ts.map +1 -0
- package/build/types/upload/utils/postData/postData.d.ts.map +1 -0
- package/build/types/uploadInput/UploadInput.d.ts.map +1 -0
- package/build/types/uploadInput/UploadInput.messages.d.ts.map +1 -0
- package/build/types/uploadInput/index.d.ts.map +1 -0
- package/build/types/uploadInput/types.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/defaults.d.ts.map +1 -0
- package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
- package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
- package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
- package/build/types/utilities/cssValueWithUnit.d.ts.map +1 -0
- package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
- package/build/types/utilities/deprecatedProperty/index.d.ts.map +1 -0
- package/build/types/utilities/index.d.ts.map +1 -0
- package/build/types/utilities/logActionRequired.d.ts.map +1 -0
- package/build/types/utils.d.ts.map +1 -0
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
- package/build/types/withDisplayFormat/index.d.ts.map +1 -0
- package/build/types/withId/index.d.ts.map +1 -0
- package/build/types/withId/story/source.d.ts.map +1 -0
- package/build/types/withId/withId.d.ts.map +1 -0
- package/build/types/withNextPortal/withNextPortal.d.ts.map +1 -0
- package/build/upload/Upload.js +21 -4
- package/build/upload/Upload.js.map +1 -1
- package/build/upload/Upload.messages.js.map +1 -1
- package/build/upload/Upload.messages.mjs.map +1 -1
- package/build/upload/Upload.mjs +21 -3
- package/build/upload/Upload.mjs.map +1 -1
- package/build/upload/steps/completeStep/completeStep.js +18 -0
- package/build/upload/steps/completeStep/completeStep.js.map +1 -1
- package/build/upload/steps/completeStep/completeStep.mjs +18 -0
- package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
- package/build/upload/steps/processingStep/processingStep.js +17 -0
- package/build/upload/steps/processingStep/processingStep.js.map +1 -1
- package/build/upload/steps/processingStep/processingStep.mjs +17 -0
- package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js +17 -0
- package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +17 -0
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.js.map +1 -1
- package/build/upload/utils/asyncFileRead/asyncFileRead.mjs.map +1 -1
- package/build/upload/utils/getFileType/getFileType.js.map +1 -1
- package/build/upload/utils/getFileType/getFileType.mjs.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.js.map +1 -1
- package/build/upload/utils/isSizeValid/isSizeValid.mjs.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.js.map +1 -1
- package/build/upload/utils/isTypeValid/isTypeValid.mjs.map +1 -1
- package/build/upload/utils/postData/postData.js.map +1 -1
- package/build/upload/utils/postData/postData.mjs.map +1 -1
- package/build/uploadInput/UploadInput.js +17 -8
- package/build/uploadInput/UploadInput.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.js.map +1 -1
- package/build/uploadInput/UploadInput.messages.mjs.map +1 -1
- package/build/uploadInput/UploadInput.mjs +17 -8
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js +23 -6
- package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs +21 -3
- package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
- package/build/uploadInput/uploadButton/defaults.js +18 -0
- package/build/uploadInput/uploadButton/defaults.js.map +1 -1
- package/build/uploadInput/uploadButton/defaults.mjs +18 -0
- package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js +0 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs +0 -1
- package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.js +23 -9
- package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.messages.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItem.mjs +19 -4
- package/build/uploadInput/uploadItem/UploadItem.mjs.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.js.map +1 -1
- package/build/uploadInput/uploadItem/UploadItemLink.mjs.map +1 -1
- package/build/utilities/cssValueWithUnit.js.map +1 -1
- package/build/utilities/cssValueWithUnit.mjs.map +1 -1
- package/build/utilities/logActionRequired.js.map +1 -1
- package/build/utilities/logActionRequired.mjs.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.js +33 -17
- package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
- package/build/withDisplayFormat/WithDisplayFormat.mjs +19 -3
- package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
- package/build/withId/withId.js +0 -4
- package/build/withId/withId.js.map +1 -1
- package/build/withId/withId.mjs +0 -4
- package/build/withId/withId.mjs.map +1 -1
- package/build/withNextPortal/withNextPortal.js.map +1 -1
- package/build/withNextPortal/withNextPortal.mjs.map +1 -1
- package/package.json +3 -3
- package/src/provider/theme/ThemeProvider.story.tsx +1 -0
- package/build/types/components/src/accordion/Accordion.d.ts.map +0 -1
- package/build/types/components/src/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
- package/build/types/components/src/accordion/AccordionItem/index.d.ts.map +0 -1
- package/build/types/components/src/accordion/index.d.ts.map +0 -1
- package/build/types/components/src/actionButton/ActionButton.d.ts.map +0 -1
- package/build/types/components/src/actionButton/index.d.ts.map +0 -1
- package/build/types/components/src/actionOption/ActionOption.d.ts.map +0 -1
- package/build/types/components/src/actionOption/index.d.ts.map +0 -1
- package/build/types/components/src/alert/Alert.d.ts.map +0 -1
- package/build/types/components/src/alert/index.d.ts.map +0 -1
- package/build/types/components/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
- package/build/types/components/src/alert/inlineMarkdown/index.d.ts.map +0 -1
- package/build/types/components/src/avatar/Avatar.d.ts.map +0 -1
- package/build/types/components/src/avatar/avatarTypes.d.ts.map +0 -1
- package/build/types/components/src/avatar/index.d.ts.map +0 -1
- package/build/types/components/src/avatarLayout/AvatarLayout.d.ts.map +0 -1
- package/build/types/components/src/avatarLayout/index.d.ts.map +0 -1
- package/build/types/components/src/avatarView/AvatarView.d.ts.map +0 -1
- package/build/types/components/src/avatarView/Dot.d.ts.map +0 -1
- package/build/types/components/src/avatarView/index.d.ts.map +0 -1
- package/build/types/components/src/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
- package/build/types/components/src/avatarWrapper/index.d.ts.map +0 -1
- package/build/types/components/src/badge/Badge.d.ts.map +0 -1
- package/build/types/components/src/badge/BadgeAssets.d.ts.map +0 -1
- package/build/types/components/src/badge/index.d.ts.map +0 -1
- package/build/types/components/src/body/Body.d.ts.map +0 -1
- package/build/types/components/src/body/index.d.ts.map +0 -1
- package/build/types/components/src/button/Button.d.ts.map +0 -1
- package/build/types/components/src/button/Button.resolver.d.ts.map +0 -1
- package/build/types/components/src/button/Button.types.d.ts.map +0 -1
- package/build/types/components/src/button/LegacyButton.d.ts.map +0 -1
- package/build/types/components/src/button/_stories/helpers.d.ts.map +0 -1
- package/build/types/components/src/button/classMap.d.ts.map +0 -1
- package/build/types/components/src/button/index.d.ts.map +0 -1
- package/build/types/components/src/button/legacyUtils/index.d.ts.map +0 -1
- package/build/types/components/src/button/legacyUtils/legacyUtils.d.ts.map +0 -1
- package/build/types/components/src/card/Card.d.ts.map +0 -1
- package/build/types/components/src/card/index.d.ts.map +0 -1
- package/build/types/components/src/carousel/Carousel.d.ts.map +0 -1
- package/build/types/components/src/carousel/index.d.ts.map +0 -1
- package/build/types/components/src/checkbox/Checkbox.d.ts.map +0 -1
- package/build/types/components/src/checkbox/index.d.ts.map +0 -1
- package/build/types/components/src/checkboxButton/CheckboxButton.d.ts.map +0 -1
- package/build/types/components/src/checkboxButton/index.d.ts.map +0 -1
- package/build/types/components/src/checkboxOption/CheckboxOption.d.ts.map +0 -1
- package/build/types/components/src/checkboxOption/index.d.ts.map +0 -1
- package/build/types/components/src/chevron/Chevron.d.ts.map +0 -1
- package/build/types/components/src/chevron/index.d.ts.map +0 -1
- package/build/types/components/src/chips/Chip.d.ts.map +0 -1
- package/build/types/components/src/chips/Chips.d.ts.map +0 -1
- package/build/types/components/src/chips/Chips.messages.d.ts.map +0 -1
- package/build/types/components/src/chips/index.d.ts.map +0 -1
- package/build/types/components/src/circularButton/CircularButton.d.ts.map +0 -1
- package/build/types/components/src/circularButton/index.d.ts.map +0 -1
- package/build/types/components/src/common/DOMOperations/DOMOperations.d.ts.map +0 -1
- package/build/types/components/src/common/DOMOperations/index.d.ts.map +0 -1
- package/build/types/components/src/common/Option/Option.d.ts.map +0 -1
- package/build/types/components/src/common/Option/index.d.ts.map +0 -1
- package/build/types/components/src/common/RadioButton/RadioButton.d.ts.map +0 -1
- package/build/types/components/src/common/RadioButton/index.d.ts.map +0 -1
- package/build/types/components/src/common/bottomSheet/BottomSheet.d.ts.map +0 -1
- package/build/types/components/src/common/bottomSheet/index.d.ts.map +0 -1
- package/build/types/components/src/common/card/Card.d.ts.map +0 -1
- package/build/types/components/src/common/card/index.d.ts.map +0 -1
- package/build/types/components/src/common/circle/Circle.d.ts.map +0 -1
- package/build/types/components/src/common/circle/index.d.ts.map +0 -1
- package/build/types/components/src/common/closeButton/CloseButton.d.ts.map +0 -1
- package/build/types/components/src/common/closeButton/CloseButton.messages.d.ts.map +0 -1
- package/build/types/components/src/common/closeButton/index.d.ts.map +0 -1
- package/build/types/components/src/common/colors.d.ts.map +0 -1
- package/build/types/components/src/common/commonProps.d.ts.map +0 -1
- package/build/types/components/src/common/constants.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/index.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
- package/build/types/components/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
- package/build/types/components/src/common/deviceDetection/deviceDetection.d.ts.map +0 -1
- package/build/types/components/src/common/deviceDetection/index.d.ts.map +0 -1
- package/build/types/components/src/common/direction.d.ts.map +0 -1
- package/build/types/components/src/common/domHelpers/documentIosClick.d.ts.map +0 -1
- package/build/types/components/src/common/domHelpers/index.d.ts.map +0 -1
- package/build/types/components/src/common/fakeEvents.d.ts.map +0 -1
- package/build/types/components/src/common/fileType.d.ts.map +0 -1
- package/build/types/components/src/common/flowHeader/FlowHeader.d.ts.map +0 -1
- package/build/types/components/src/common/flowHeader/index.d.ts.map +0 -1
- package/build/types/components/src/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
- package/build/types/components/src/common/focusBoundary/index.d.ts.map +0 -1
- package/build/types/components/src/common/historyNavigator/historyNavigator.d.ts.map +0 -1
- package/build/types/components/src/common/historyNavigator/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useConditionalListener/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useDirection/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useDirection/useDirection.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useEffectEvent.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useHasIntersected/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useLayout/index.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useLayout/useLayout.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useMedia.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useResizeObserver.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useScreenSize.d.ts.map +0 -1
- package/build/types/components/src/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
- package/build/types/components/src/common/index.d.ts.map +0 -1
- package/build/types/components/src/common/initials.d.ts.map +0 -1
- package/build/types/components/src/common/locale/index.d.ts.map +0 -1
- package/build/types/components/src/common/panel/Panel.d.ts.map +0 -1
- package/build/types/components/src/common/panel/index.d.ts.map +0 -1
- package/build/types/components/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
- package/build/types/components/src/common/preventScroll/PreventScroll.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/breakpoint.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/control.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/dateMode.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/layouts.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/markdownNodeType.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/monthFormat.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/position.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/profileType.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/scroll.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/sentiment.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/size.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/status.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/type.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/typography.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/variant.d.ts.map +0 -1
- package/build/types/components/src/common/propsValues/width.d.ts.map +0 -1
- package/build/types/components/src/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
- package/build/types/components/src/common/responsivePanel/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
- package/build/types/components/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
- package/build/types/components/src/common/theme.d.ts.map +0 -1
- package/build/types/components/src/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
- package/build/types/components/src/criticalBanner/index.d.ts.map +0 -1
- package/build/types/components/src/dateInput/DateInput.d.ts.map +0 -1
- package/build/types/components/src/dateInput/DateInput.messages.d.ts.map +0 -1
- package/build/types/components/src/dateInput/index.d.ts.map +0 -1
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
- package/build/types/components/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
- package/build/types/components/src/dateInput/utils/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/DateLookup.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/DateLookup.messages.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateHeader/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dateTrigger/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/getStartOfDay/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/tableLink/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/index.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
- package/build/types/components/src/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
- package/build/types/components/src/decision/Decision.d.ts.map +0 -1
- package/build/types/components/src/decision/index.d.ts.map +0 -1
- package/build/types/components/src/definitionList/DefinitionList.d.ts.map +0 -1
- package/build/types/components/src/definitionList/index.d.ts.map +0 -1
- package/build/types/components/src/dimmer/Dimmer.d.ts.map +0 -1
- package/build/types/components/src/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
- package/build/types/components/src/dimmer/dimmerManager/index.d.ts.map +0 -1
- package/build/types/components/src/dimmer/index.d.ts.map +0 -1
- package/build/types/components/src/display/Display.d.ts.map +0 -1
- package/build/types/components/src/display/index.d.ts.map +0 -1
- package/build/types/components/src/divider/Divider.d.ts.map +0 -1
- package/build/types/components/src/divider/index.d.ts.map +0 -1
- package/build/types/components/src/drawer/Drawer.d.ts.map +0 -1
- package/build/types/components/src/drawer/index.d.ts.map +0 -1
- package/build/types/components/src/dropFade/DropFade.d.ts.map +0 -1
- package/build/types/components/src/dropFade/index.d.ts.map +0 -1
- package/build/types/components/src/emphasis/Emphasis.d.ts.map +0 -1
- package/build/types/components/src/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
- package/build/types/components/src/emphasis/index.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
- package/build/types/components/src/expressiveMoneyInput/index.d.ts.map +0 -1
- package/build/types/components/src/field/Field.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/FlowNavigation.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
- package/build/types/components/src/flowNavigation/animatedLabel/index.d.ts.map +0 -1
- package/build/types/components/src/header/Header.d.ts.map +0 -1
- package/build/types/components/src/header/index.d.ts.map +0 -1
- package/build/types/components/src/i18n/commonMessages/Button.messages.d.ts.map +0 -1
- package/build/types/components/src/i18n/index.d.ts.map +0 -1
- package/build/types/components/src/iconButton/IconButton.d.ts.map +0 -1
- package/build/types/components/src/iconButton/index.d.ts.map +0 -1
- package/build/types/components/src/image/Image.d.ts.map +0 -1
- package/build/types/components/src/image/index.d.ts.map +0 -1
- package/build/types/components/src/index.d.ts.map +0 -1
- package/build/types/components/src/info/Info.d.ts.map +0 -1
- package/build/types/components/src/info/Info.messages.d.ts.map +0 -1
- package/build/types/components/src/info/index.d.ts.map +0 -1
- package/build/types/components/src/info/infoPresentations.d.ts.map +0 -1
- package/build/types/components/src/inlineAlert/InlineAlert.d.ts.map +0 -1
- package/build/types/components/src/inlineAlert/index.d.ts.map +0 -1
- package/build/types/components/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
- package/build/types/components/src/inputWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/components/src/inputs/Input.d.ts.map +0 -1
- package/build/types/components/src/inputs/InputGroup.d.ts.map +0 -1
- package/build/types/components/src/inputs/SearchInput.d.ts.map +0 -1
- package/build/types/components/src/inputs/SelectInput.d.ts.map +0 -1
- package/build/types/components/src/inputs/SelectInput.messages.d.ts.map +0 -1
- package/build/types/components/src/inputs/TextArea.d.ts.map +0 -1
- package/build/types/components/src/inputs/_BottomSheet.d.ts.map +0 -1
- package/build/types/components/src/inputs/_ButtonInput.d.ts.map +0 -1
- package/build/types/components/src/inputs/_Popover.d.ts.map +0 -1
- package/build/types/components/src/inputs/_common.d.ts.map +0 -1
- package/build/types/components/src/inputs/contexts.d.ts.map +0 -1
- package/build/types/components/src/instructionsList/InstructionsList.d.ts.map +0 -1
- package/build/types/components/src/instructionsList/index.d.ts.map +0 -1
- package/build/types/components/src/label/Label.d.ts.map +0 -1
- package/build/types/components/src/label/Label.messages.d.ts.map +0 -1
- package/build/types/components/src/label/index.d.ts.map +0 -1
- package/build/types/components/src/legacylistItem/LegacyListItem.d.ts.map +0 -1
- package/build/types/components/src/legacylistItem/index.d.ts.map +0 -1
- package/build/types/components/src/link/Link.d.ts.map +0 -1
- package/build/types/components/src/link/Link.messages.d.ts.map +0 -1
- package/build/types/components/src/link/index.d.ts.map +0 -1
- package/build/types/components/src/list/List.d.ts.map +0 -1
- package/build/types/components/src/list/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/components/src/listItem/AdditionalInfo/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarLayout/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
- package/build/types/components/src/listItem/AvatarView/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Button/ListItemButton.d.ts.map +0 -1
- package/build/types/components/src/listItem/Button/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
- package/build/types/components/src/listItem/Checkbox/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
- package/build/types/components/src/listItem/IconButton/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Image/ListItemImage.d.ts.map +0 -1
- package/build/types/components/src/listItem/Image/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/ListItem.d.ts.map +0 -1
- package/build/types/components/src/listItem/ListItemContext.d.ts.map +0 -1
- package/build/types/components/src/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
- package/build/types/components/src/listItem/Navigation/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
- package/build/types/components/src/listItem/Prompt/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Radio/ListItemRadio.d.ts.map +0 -1
- package/build/types/components/src/listItem/Radio/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
- package/build/types/components/src/listItem/Switch/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/_stories/helpers.d.ts.map +0 -1
- package/build/types/components/src/listItem/_stories/subcomponents.d.ts.map +0 -1
- package/build/types/components/src/listItem/_stories/variants/helpers.d.ts.map +0 -1
- package/build/types/components/src/listItem/constants.d.ts.map +0 -1
- package/build/types/components/src/listItem/index.d.ts.map +0 -1
- package/build/types/components/src/listItem/test-utils.d.ts.map +0 -1
- package/build/types/components/src/listItem/useListItemControl.d.ts.map +0 -1
- package/build/types/components/src/listItem/useListItemMedia.d.ts.map +0 -1
- package/build/types/components/src/loader/Loader.d.ts.map +0 -1
- package/build/types/components/src/loader/index.d.ts.map +0 -1
- package/build/types/components/src/logo/Logo.d.ts.map +0 -1
- package/build/types/components/src/logo/index.d.ts.map +0 -1
- package/build/types/components/src/logo/logo-assets.d.ts.map +0 -1
- package/build/types/components/src/markdown/Markdown.d.ts.map +0 -1
- package/build/types/components/src/markdown/index.d.ts.map +0 -1
- package/build/types/components/src/mocks.d.ts.map +0 -1
- package/build/types/components/src/modal/Modal.d.ts.map +0 -1
- package/build/types/components/src/modal/index.d.ts.map +0 -1
- package/build/types/components/src/money/Money.d.ts.map +0 -1
- package/build/types/components/src/money/index.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/MoneyInput.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/MoneyInput.messages.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/currencyFormatting.d.ts.map +0 -1
- package/build/types/components/src/moneyInput/index.d.ts.map +0 -1
- package/build/types/components/src/navigationOption/NavigationOption.d.ts.map +0 -1
- package/build/types/components/src/navigationOption/index.d.ts.map +0 -1
- package/build/types/components/src/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
- package/build/types/components/src/navigationOptionsList/index.d.ts.map +0 -1
- package/build/types/components/src/nudge/Nudge.d.ts.map +0 -1
- package/build/types/components/src/nudge/index.d.ts.map +0 -1
- package/build/types/components/src/overlayHeader/OverlayHeader.d.ts.map +0 -1
- package/build/types/components/src/overlayHeader/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/data/countries.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
- package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
- package/build/types/components/src/popover/Popover.d.ts.map +0 -1
- package/build/types/components/src/popover/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
- package/build/types/components/src/primitives/PrimitiveButton/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/index.d.ts.map +0 -1
- package/build/types/components/src/primitives/types.d.ts.map +0 -1
- package/build/types/components/src/processIndicator/ProcessIndicator.d.ts.map +0 -1
- package/build/types/components/src/processIndicator/index.d.ts.map +0 -1
- package/build/types/components/src/progress/Progress.d.ts.map +0 -1
- package/build/types/components/src/progress/index.d.ts.map +0 -1
- package/build/types/components/src/progressBar/ProgressBar.d.ts.map +0 -1
- package/build/types/components/src/progressBar/index.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCard.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCardContext.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCardGroup.d.ts.map +0 -1
- package/build/types/components/src/promoCard/PromoCardIndicator.d.ts.map +0 -1
- package/build/types/components/src/promoCard/index.d.ts.map +0 -1
- package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
- package/build/types/components/src/prompt/InlinePrompt/index.d.ts.map +0 -1
- package/build/types/components/src/prompt/index.d.ts.map +0 -1
- package/build/types/components/src/provider/Provider.d.ts.map +0 -1
- package/build/types/components/src/provider/direction/DirectionProvider.d.ts.map +0 -1
- package/build/types/components/src/provider/direction/index.d.ts.map +0 -1
- package/build/types/components/src/provider/index.d.ts.map +0 -1
- package/build/types/components/src/provider/language/LanguageProvider.d.ts.map +0 -1
- package/build/types/components/src/provider/language/index.d.ts.map +0 -1
- package/build/types/components/src/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
- package/build/types/components/src/radio/Radio.d.ts.map +0 -1
- package/build/types/components/src/radio/index.d.ts.map +0 -1
- package/build/types/components/src/radioGroup/RadioGroup.d.ts.map +0 -1
- package/build/types/components/src/radioGroup/index.d.ts.map +0 -1
- package/build/types/components/src/radioOption/RadioOption.d.ts.map +0 -1
- package/build/types/components/src/radioOption/index.d.ts.map +0 -1
- package/build/types/components/src/section/Section.d.ts.map +0 -1
- package/build/types/components/src/section/index.d.ts.map +0 -1
- package/build/types/components/src/segmentedControl/SegmentedControl.d.ts.map +0 -1
- package/build/types/components/src/segmentedControl/index.d.ts.map +0 -1
- package/build/types/components/src/select/Select.d.ts.map +0 -1
- package/build/types/components/src/select/Select.messages.d.ts.map +0 -1
- package/build/types/components/src/select/index.d.ts.map +0 -1
- package/build/types/components/src/select/option/Option.d.ts.map +0 -1
- package/build/types/components/src/select/option/index.d.ts.map +0 -1
- package/build/types/components/src/select/searchBox/SearchBox.d.ts.map +0 -1
- package/build/types/components/src/select/searchBox/index.d.ts.map +0 -1
- package/build/types/components/src/sentimentSurface/SentimentSurface.d.ts.map +0 -1
- package/build/types/components/src/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
- package/build/types/components/src/sentimentSurface/index.d.ts.map +0 -1
- package/build/types/components/src/slidingPanel/SlidingPanel.d.ts.map +0 -1
- package/build/types/components/src/slidingPanel/index.d.ts.map +0 -1
- package/build/types/components/src/snackbar/Snackbar.d.ts.map +0 -1
- package/build/types/components/src/snackbar/SnackbarContext.d.ts.map +0 -1
- package/build/types/components/src/snackbar/SnackbarProvider.d.ts.map +0 -1
- package/build/types/components/src/snackbar/index.d.ts.map +0 -1
- package/build/types/components/src/snackbar/useSnackbar.d.ts.map +0 -1
- package/build/types/components/src/statusIcon/StatusIcon.d.ts.map +0 -1
- package/build/types/components/src/statusIcon/StatusIcon.messages.d.ts.map +0 -1
- package/build/types/components/src/statusIcon/index.d.ts.map +0 -1
- package/build/types/components/src/stepper/Stepper.d.ts.map +0 -1
- package/build/types/components/src/stepper/deviceDetection.d.ts.map +0 -1
- package/build/types/components/src/sticky/Sticky.d.ts.map +0 -1
- package/build/types/components/src/sticky/index.d.ts.map +0 -1
- package/build/types/components/src/summary/Summary.d.ts.map +0 -1
- package/build/types/components/src/summary/Summary.messages.d.ts.map +0 -1
- package/build/types/components/src/summary/index.d.ts.map +0 -1
- package/build/types/components/src/switch/Switch.d.ts.map +0 -1
- package/build/types/components/src/switch/index.d.ts.map +0 -1
- package/build/types/components/src/switchOption/SwitchOption.d.ts.map +0 -1
- package/build/types/components/src/switchOption/index.d.ts.map +0 -1
- package/build/types/components/src/table/Table.d.ts.map +0 -1
- package/build/types/components/src/table/Table.messages.d.ts.map +0 -1
- package/build/types/components/src/table/TableCell.d.ts.map +0 -1
- package/build/types/components/src/table/TableHeader.d.ts.map +0 -1
- package/build/types/components/src/table/TableRow.d.ts.map +0 -1
- package/build/types/components/src/table/TableStatusText.d.ts.map +0 -1
- package/build/types/components/src/table/index.d.ts.map +0 -1
- package/build/types/components/src/tabs/Tab.d.ts.map +0 -1
- package/build/types/components/src/tabs/TabList.d.ts.map +0 -1
- package/build/types/components/src/tabs/TabPanel.d.ts.map +0 -1
- package/build/types/components/src/tabs/Tabs.d.ts.map +0 -1
- package/build/types/components/src/tabs/index.d.ts.map +0 -1
- package/build/types/components/src/tabs/utils.d.ts.map +0 -1
- package/build/types/components/src/test-utils/fake-data.d.ts.map +0 -1
- package/build/types/components/src/test-utils/index.d.ts.map +0 -1
- package/build/types/components/src/test-utils/jest.setup.d.ts.map +0 -1
- package/build/types/components/src/test-utils/style-mock.d.ts.map +0 -1
- package/build/types/components/src/test-utils/wait.d.ts.map +0 -1
- package/build/types/components/src/test-utils/window-mock.d.ts.map +0 -1
- package/build/types/components/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
- package/build/types/components/src/textareaWithDisplayFormat/index.d.ts.map +0 -1
- package/build/types/components/src/tile/Tile.d.ts.map +0 -1
- package/build/types/components/src/tile/index.d.ts.map +0 -1
- package/build/types/components/src/title/Title.d.ts.map +0 -1
- package/build/types/components/src/title/index.d.ts.map +0 -1
- package/build/types/components/src/tooltip/Tooltip.d.ts.map +0 -1
- package/build/types/components/src/tooltip/index.d.ts.map +0 -1
- package/build/types/components/src/typeahead/Typeahead.d.ts.map +0 -1
- package/build/types/components/src/typeahead/Typeahead.messages.d.ts.map +0 -1
- package/build/types/components/src/typeahead/index.d.ts.map +0 -1
- package/build/types/components/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
- package/build/types/components/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
- package/build/types/components/src/typeahead/util/highlight.d.ts.map +0 -1
- package/build/types/components/src/upload/Upload.d.ts.map +0 -1
- package/build/types/components/src/upload/Upload.messages.d.ts.map +0 -1
- package/build/types/components/src/upload/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/completeStep/completeStep.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/completeStep/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/processingStep/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/processingStep/processingStep.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/uploadImageStep/index.d.ts.map +0 -1
- package/build/types/components/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/asyncFileRead/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/getFileType/getFileType.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/getFileType/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isSizeValid/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isTypeValid/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/postData/index.d.ts.map +0 -1
- package/build/types/components/src/upload/utils/postData/postData.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/UploadInput.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/UploadInput.messages.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/index.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/types.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/defaults.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
- package/build/types/components/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
- package/build/types/components/src/utilities/cssValueWithUnit.d.ts.map +0 -1
- package/build/types/components/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
- package/build/types/components/src/utilities/deprecatedProperty/index.d.ts.map +0 -1
- package/build/types/components/src/utilities/index.d.ts.map +0 -1
- package/build/types/components/src/utilities/logActionRequired.d.ts.map +0 -1
- package/build/types/components/src/utils.d.ts.map +0 -1
- package/build/types/components/src/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
- package/build/types/components/src/withDisplayFormat/index.d.ts.map +0 -1
- package/build/types/components/src/withId/index.d.ts.map +0 -1
- package/build/types/components/src/withId/story/source.d.ts.map +0 -1
- package/build/types/components/src/withId/withId.d.ts.map +0 -1
- package/build/types/components/src/withNextPortal/withNextPortal.d.ts.map +0 -1
- package/build/types/components-theming/src/ThemeProvider.d.ts +0 -7
- package/build/types/components-theming/src/ThemeProvider.d.ts.map +0 -1
- package/build/types/components-theming/src/ThemeProviderContext.d.ts +0 -8
- package/build/types/components-theming/src/ThemeProviderContext.d.ts.map +0 -1
- package/build/types/components-theming/src/ThemedChildren.d.ts +0 -8
- package/build/types/components-theming/src/ThemedChildren.d.ts.map +0 -1
- package/build/types/components-theming/src/const.d.ts +0 -35
- package/build/types/components-theming/src/const.d.ts.map +0 -1
- package/build/types/components-theming/src/helpers.d.ts +0 -11
- package/build/types/components-theming/src/helpers.d.ts.map +0 -1
- package/build/types/components-theming/src/index.d.ts +0 -5
- package/build/types/components-theming/src/index.d.ts.map +0 -1
- package/build/types/components-theming/src/useTheme.d.ts +0 -17
- package/build/types/components-theming/src/useTheme.d.ts.map +0 -1
- /package/build/types/{components/src/accordion → accordion}/Accordion.d.ts +0 -0
- /package/build/types/{components/src/accordion → accordion}/AccordionItem/AccordionItem.d.ts +0 -0
- /package/build/types/{components/src/accordion → accordion}/AccordionItem/index.d.ts +0 -0
- /package/build/types/{components/src/accordion → accordion}/index.d.ts +0 -0
- /package/build/types/{components/src/actionButton → actionButton}/ActionButton.d.ts +0 -0
- /package/build/types/{components/src/actionButton → actionButton}/index.d.ts +0 -0
- /package/build/types/{components/src/actionOption → actionOption}/ActionOption.d.ts +0 -0
- /package/build/types/{components/src/actionOption → actionOption}/index.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/Alert.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/index.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
- /package/build/types/{components/src/alert → alert}/inlineMarkdown/index.d.ts +0 -0
- /package/build/types/{components/src/avatar → avatar}/Avatar.d.ts +0 -0
- /package/build/types/{components/src/avatar → avatar}/avatarTypes.d.ts +0 -0
- /package/build/types/{components/src/avatar → avatar}/index.d.ts +0 -0
- /package/build/types/{components/src/avatarLayout → avatarLayout}/AvatarLayout.d.ts +0 -0
- /package/build/types/{components/src/avatarLayout → avatarLayout}/index.d.ts +0 -0
- /package/build/types/{components/src/avatarView → avatarView}/AvatarView.d.ts +0 -0
- /package/build/types/{components/src/avatarView → avatarView}/Dot.d.ts +0 -0
- /package/build/types/{components/src/avatarView → avatarView}/index.d.ts +0 -0
- /package/build/types/{components/src/avatarWrapper → avatarWrapper}/AvatarWrapper.d.ts +0 -0
- /package/build/types/{components/src/avatarWrapper → avatarWrapper}/index.d.ts +0 -0
- /package/build/types/{components/src/badge → badge}/Badge.d.ts +0 -0
- /package/build/types/{components/src/badge → badge}/BadgeAssets.d.ts +0 -0
- /package/build/types/{components/src/badge → badge}/index.d.ts +0 -0
- /package/build/types/{components/src/body → body}/Body.d.ts +0 -0
- /package/build/types/{components/src/body → body}/index.d.ts +0 -0
- /package/build/types/{components/src/button → button}/Button.d.ts +0 -0
- /package/build/types/{components/src/button → button}/Button.resolver.d.ts +0 -0
- /package/build/types/{components/src/button → button}/Button.types.d.ts +0 -0
- /package/build/types/{components/src/button → button}/LegacyButton.d.ts +0 -0
- /package/build/types/{components/src/button → button}/_stories/helpers.d.ts +0 -0
- /package/build/types/{components/src/button → button}/classMap.d.ts +0 -0
- /package/build/types/{components/src/button → button}/index.d.ts +0 -0
- /package/build/types/{components/src/button → button}/legacyUtils/index.d.ts +0 -0
- /package/build/types/{components/src/button → button}/legacyUtils/legacyUtils.d.ts +0 -0
- /package/build/types/{components/src/card → card}/Card.d.ts +0 -0
- /package/build/types/{components/src/card → card}/index.d.ts +0 -0
- /package/build/types/{components/src/carousel → carousel}/Carousel.d.ts +0 -0
- /package/build/types/{components/src/carousel → carousel}/index.d.ts +0 -0
- /package/build/types/{components/src/checkbox → checkbox}/Checkbox.d.ts +0 -0
- /package/build/types/{components/src/checkbox → checkbox}/index.d.ts +0 -0
- /package/build/types/{components/src/checkboxButton → checkboxButton}/CheckboxButton.d.ts +0 -0
- /package/build/types/{components/src/checkboxButton → checkboxButton}/index.d.ts +0 -0
- /package/build/types/{components/src/checkboxOption → checkboxOption}/CheckboxOption.d.ts +0 -0
- /package/build/types/{components/src/checkboxOption → checkboxOption}/index.d.ts +0 -0
- /package/build/types/{components/src/chevron → chevron}/Chevron.d.ts +0 -0
- /package/build/types/{components/src/chevron → chevron}/index.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/Chip.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/Chips.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/Chips.messages.d.ts +0 -0
- /package/build/types/{components/src/chips → chips}/index.d.ts +0 -0
- /package/build/types/{components/src/circularButton → circularButton}/CircularButton.d.ts +0 -0
- /package/build/types/{components/src/circularButton → circularButton}/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/DOMOperations/DOMOperations.d.ts +0 -0
- /package/build/types/{components/src/common → common}/DOMOperations/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/Option/Option.d.ts +0 -0
- /package/build/types/{components/src/common → common}/Option/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/RadioButton/RadioButton.d.ts +0 -0
- /package/build/types/{components/src/common → common}/RadioButton/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/bottomSheet/BottomSheet.d.ts +0 -0
- /package/build/types/{components/src/common → common}/bottomSheet/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/card/Card.d.ts +0 -0
- /package/build/types/{components/src/common → common}/card/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/circle/Circle.d.ts +0 -0
- /package/build/types/{components/src/common → common}/circle/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/closeButton/CloseButton.d.ts +0 -0
- /package/build/types/{components/src/common → common}/closeButton/CloseButton.messages.d.ts +0 -0
- /package/build/types/{components/src/common → common}/closeButton/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/colors.d.ts +0 -0
- /package/build/types/{components/src/common → common}/commonProps.d.ts +0 -0
- /package/build/types/{components/src/common → common}/constants.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getDateView/getDateView.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
- /package/build/types/{components/src/common → common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
- /package/build/types/{components/src/common → common}/deviceDetection/deviceDetection.d.ts +0 -0
- /package/build/types/{components/src/common → common}/deviceDetection/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/direction.d.ts +0 -0
- /package/build/types/{components/src/common → common}/domHelpers/documentIosClick.d.ts +0 -0
- /package/build/types/{components/src/common → common}/domHelpers/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/fakeEvents.d.ts +0 -0
- /package/build/types/{components/src/common → common}/fileType.d.ts +0 -0
- /package/build/types/{components/src/common → common}/flowHeader/FlowHeader.d.ts +0 -0
- /package/build/types/{components/src/common → common}/flowHeader/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/focusBoundary/FocusBoundary.d.ts +0 -0
- /package/build/types/{components/src/common → common}/focusBoundary/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/historyNavigator/historyNavigator.d.ts +0 -0
- /package/build/types/{components/src/common → common}/historyNavigator/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useConditionalListener/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useDirection/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useDirection/useDirection.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useEffectEvent.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useHasIntersected/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useLayout/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useLayout/useLayout.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useMedia.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useResizeObserver.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useScreenSize.d.ts +0 -0
- /package/build/types/{components/src/common → common}/hooks/useVirtualKeyboard.d.ts +0 -0
- /package/build/types/{components/src/common → common}/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/initials.d.ts +0 -0
- /package/build/types/{components/src/common → common}/locale/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/panel/Panel.d.ts +0 -0
- /package/build/types/{components/src/common → common}/panel/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
- /package/build/types/{components/src/common → common}/preventScroll/PreventScroll.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/breakpoint.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/control.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/dateMode.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/layouts.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/markdownNodeType.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/monthFormat.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/position.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/profileType.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/scroll.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/sentiment.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/size.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/status.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/type.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/typography.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/variant.d.ts +0 -0
- /package/build/types/{components/src/common → common}/propsValues/width.d.ts +0 -0
- /package/build/types/{components/src/common → common}/responsivePanel/ResponsivePanel.d.ts +0 -0
- /package/build/types/{components/src/common → common}/responsivePanel/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/formatWithPattern/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/unformatWithPattern/index.d.ts +0 -0
- /package/build/types/{components/src/common → common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
- /package/build/types/{components/src/common → common}/theme.d.ts +0 -0
- /package/build/types/{components/src/criticalBanner → criticalBanner}/CriticalCommsBanner.d.ts +0 -0
- /package/build/types/{components/src/criticalBanner → criticalBanner}/index.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/DateInput.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/DateInput.messages.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/index.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
- /package/build/types/{components/src/dateInput → dateInput}/utils/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/DateLookup.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/DateLookup.messages.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateHeader/DateHeader.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateHeader/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/table/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/getStartOfDay/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/table/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/tableLink/TableLink.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/tableLink/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/index.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
- /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/table/index.d.ts +0 -0
- /package/build/types/{components/src/decision → decision}/Decision.d.ts +0 -0
- /package/build/types/{components/src/decision → decision}/index.d.ts +0 -0
- /package/build/types/{components/src/definitionList → definitionList}/DefinitionList.d.ts +0 -0
- /package/build/types/{components/src/definitionList → definitionList}/index.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/Dimmer.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/dimmerManager/index.d.ts +0 -0
- /package/build/types/{components/src/dimmer → dimmer}/index.d.ts +0 -0
- /package/build/types/{components/src/display → display}/Display.d.ts +0 -0
- /package/build/types/{components/src/display → display}/index.d.ts +0 -0
- /package/build/types/{components/src/divider → divider}/Divider.d.ts +0 -0
- /package/build/types/{components/src/divider → divider}/index.d.ts +0 -0
- /package/build/types/{components/src/drawer → drawer}/Drawer.d.ts +0 -0
- /package/build/types/{components/src/drawer → drawer}/index.d.ts +0 -0
- /package/build/types/{components/src/dropFade → dropFade}/DropFade.d.ts +0 -0
- /package/build/types/{components/src/dropFade → dropFade}/index.d.ts +0 -0
- /package/build/types/{components/src/emphasis → emphasis}/Emphasis.d.ts +0 -0
- /package/build/types/{components/src/emphasis → emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
- /package/build/types/{components/src/emphasis → emphasis}/index.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
- /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/index.d.ts +0 -0
- /package/build/types/{components/src/field → field}/Field.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/FlowNavigation.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/FlowNavigation.messages.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
- /package/build/types/{components/src/flowNavigation → flowNavigation}/animatedLabel/index.d.ts +0 -0
- /package/build/types/{components/src/header → header}/Header.d.ts +0 -0
- /package/build/types/{components/src/header → header}/index.d.ts +0 -0
- /package/build/types/{components/src/i18n → i18n}/commonMessages/Button.messages.d.ts +0 -0
- /package/build/types/{components/src/i18n → i18n}/index.d.ts +0 -0
- /package/build/types/{components/src/iconButton → iconButton}/IconButton.d.ts +0 -0
- /package/build/types/{components/src/iconButton → iconButton}/index.d.ts +0 -0
- /package/build/types/{components/src/image → image}/Image.d.ts +0 -0
- /package/build/types/{components/src/image → image}/index.d.ts +0 -0
- /package/build/types/{components/src/index.d.ts → index.d.ts} +0 -0
- /package/build/types/{components/src/info → info}/Info.d.ts +0 -0
- /package/build/types/{components/src/info → info}/Info.messages.d.ts +0 -0
- /package/build/types/{components/src/info → info}/index.d.ts +0 -0
- /package/build/types/{components/src/info → info}/infoPresentations.d.ts +0 -0
- /package/build/types/{components/src/inlineAlert → inlineAlert}/InlineAlert.d.ts +0 -0
- /package/build/types/{components/src/inlineAlert → inlineAlert}/index.d.ts +0 -0
- /package/build/types/{components/src/inputWithDisplayFormat → inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
- /package/build/types/{components/src/inputWithDisplayFormat → inputWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/Input.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/InputGroup.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/SearchInput.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/SelectInput.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/SelectInput.messages.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/TextArea.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_BottomSheet.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_ButtonInput.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_Popover.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/_common.d.ts +0 -0
- /package/build/types/{components/src/inputs → inputs}/contexts.d.ts +0 -0
- /package/build/types/{components/src/instructionsList → instructionsList}/InstructionsList.d.ts +0 -0
- /package/build/types/{components/src/instructionsList → instructionsList}/index.d.ts +0 -0
- /package/build/types/{components/src/label → label}/Label.d.ts +0 -0
- /package/build/types/{components/src/label → label}/Label.messages.d.ts +0 -0
- /package/build/types/{components/src/label → label}/index.d.ts +0 -0
- /package/build/types/{components/src/legacylistItem → legacylistItem}/LegacyListItem.d.ts +0 -0
- /package/build/types/{components/src/legacylistItem → legacylistItem}/index.d.ts +0 -0
- /package/build/types/{components/src/link → link}/Link.d.ts +0 -0
- /package/build/types/{components/src/link → link}/Link.messages.d.ts +0 -0
- /package/build/types/{components/src/link → link}/index.d.ts +0 -0
- /package/build/types/{components/src/list → list}/List.d.ts +0 -0
- /package/build/types/{components/src/list → list}/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AdditionalInfo/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarLayout/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/AvatarView/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Button/ListItemButton.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Button/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Checkbox/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/IconButton/ListItemIconButton.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/IconButton/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Image/ListItemImage.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Image/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/ListItem.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/ListItemContext.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Navigation/ListItemNavigation.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Navigation/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Prompt/ListItemPrompt.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Prompt/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Radio/ListItemRadio.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Radio/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Switch/ListItemSwitch.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/Switch/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/_stories/helpers.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/_stories/subcomponents.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/_stories/variants/helpers.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/constants.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/index.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/test-utils.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/useListItemControl.d.ts +0 -0
- /package/build/types/{components/src/listItem → listItem}/useListItemMedia.d.ts +0 -0
- /package/build/types/{components/src/loader → loader}/Loader.d.ts +0 -0
- /package/build/types/{components/src/loader → loader}/index.d.ts +0 -0
- /package/build/types/{components/src/logo → logo}/Logo.d.ts +0 -0
- /package/build/types/{components/src/logo → logo}/index.d.ts +0 -0
- /package/build/types/{components/src/logo → logo}/logo-assets.d.ts +0 -0
- /package/build/types/{components/src/markdown → markdown}/Markdown.d.ts +0 -0
- /package/build/types/{components/src/markdown → markdown}/index.d.ts +0 -0
- /package/build/types/{components/src/mocks.d.ts → mocks.d.ts} +0 -0
- /package/build/types/{components/src/modal → modal}/Modal.d.ts +0 -0
- /package/build/types/{components/src/modal → modal}/index.d.ts +0 -0
- /package/build/types/{components/src/money → money}/Money.d.ts +0 -0
- /package/build/types/{components/src/money → money}/index.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/MoneyInput.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/MoneyInput.messages.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/currencyFormatting.d.ts +0 -0
- /package/build/types/{components/src/moneyInput → moneyInput}/index.d.ts +0 -0
- /package/build/types/{components/src/navigationOption → navigationOption}/NavigationOption.d.ts +0 -0
- /package/build/types/{components/src/navigationOption → navigationOption}/index.d.ts +0 -0
- /package/build/types/{components/src/navigationOptionsList → navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
- /package/build/types/{components/src/navigationOptionsList → navigationOptionsList}/index.d.ts +0 -0
- /package/build/types/{components/src/nudge → nudge}/Nudge.d.ts +0 -0
- /package/build/types/{components/src/nudge → nudge}/index.d.ts +0 -0
- /package/build/types/{components/src/overlayHeader → overlayHeader}/OverlayHeader.d.ts +0 -0
- /package/build/types/{components/src/overlayHeader → overlayHeader}/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/data/countries.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
- /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
- /package/build/types/{components/src/popover → popover}/Popover.d.ts +0 -0
- /package/build/types/{components/src/popover → popover}/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/index.d.ts +0 -0
- /package/build/types/{components/src/primitives → primitives}/types.d.ts +0 -0
- /package/build/types/{components/src/processIndicator → processIndicator}/ProcessIndicator.d.ts +0 -0
- /package/build/types/{components/src/processIndicator → processIndicator}/index.d.ts +0 -0
- /package/build/types/{components/src/progress → progress}/Progress.d.ts +0 -0
- /package/build/types/{components/src/progress → progress}/index.d.ts +0 -0
- /package/build/types/{components/src/progressBar → progressBar}/ProgressBar.d.ts +0 -0
- /package/build/types/{components/src/progressBar → progressBar}/index.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCard.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCardContext.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCardGroup.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/PromoCardIndicator.d.ts +0 -0
- /package/build/types/{components/src/promoCard → promoCard}/index.d.ts +0 -0
- /package/build/types/{components/src/prompt → prompt}/InlinePrompt/InlinePrompt.d.ts +0 -0
- /package/build/types/{components/src/prompt → prompt}/InlinePrompt/index.d.ts +0 -0
- /package/build/types/{components/src/prompt → prompt}/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/Provider.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/direction/DirectionProvider.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/direction/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/language/LanguageProvider.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/language/index.d.ts +0 -0
- /package/build/types/{components/src/provider → provider}/overlay/OverlayIdProvider.d.ts +0 -0
- /package/build/types/{components/src/radio → radio}/Radio.d.ts +0 -0
- /package/build/types/{components/src/radio → radio}/index.d.ts +0 -0
- /package/build/types/{components/src/radioGroup → radioGroup}/RadioGroup.d.ts +0 -0
- /package/build/types/{components/src/radioGroup → radioGroup}/index.d.ts +0 -0
- /package/build/types/{components/src/radioOption → radioOption}/RadioOption.d.ts +0 -0
- /package/build/types/{components/src/radioOption → radioOption}/index.d.ts +0 -0
- /package/build/types/{components/src/section → section}/Section.d.ts +0 -0
- /package/build/types/{components/src/section → section}/index.d.ts +0 -0
- /package/build/types/{components/src/segmentedControl → segmentedControl}/SegmentedControl.d.ts +0 -0
- /package/build/types/{components/src/segmentedControl → segmentedControl}/index.d.ts +0 -0
- /package/build/types/{components/src/select → select}/Select.d.ts +0 -0
- /package/build/types/{components/src/select → select}/Select.messages.d.ts +0 -0
- /package/build/types/{components/src/select → select}/index.d.ts +0 -0
- /package/build/types/{components/src/select → select}/option/Option.d.ts +0 -0
- /package/build/types/{components/src/select → select}/option/index.d.ts +0 -0
- /package/build/types/{components/src/select → select}/searchBox/SearchBox.d.ts +0 -0
- /package/build/types/{components/src/select → select}/searchBox/index.d.ts +0 -0
- /package/build/types/{components/src/sentimentSurface → sentimentSurface}/SentimentSurface.d.ts +0 -0
- /package/build/types/{components/src/sentimentSurface → sentimentSurface}/SentimentSurface.types.d.ts +0 -0
- /package/build/types/{components/src/sentimentSurface → sentimentSurface}/index.d.ts +0 -0
- /package/build/types/{components/src/slidingPanel → slidingPanel}/SlidingPanel.d.ts +0 -0
- /package/build/types/{components/src/slidingPanel → slidingPanel}/index.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/Snackbar.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/SnackbarContext.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/SnackbarProvider.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/index.d.ts +0 -0
- /package/build/types/{components/src/snackbar → snackbar}/useSnackbar.d.ts +0 -0
- /package/build/types/{components/src/statusIcon → statusIcon}/StatusIcon.d.ts +0 -0
- /package/build/types/{components/src/statusIcon → statusIcon}/StatusIcon.messages.d.ts +0 -0
- /package/build/types/{components/src/statusIcon → statusIcon}/index.d.ts +0 -0
- /package/build/types/{components/src/stepper → stepper}/Stepper.d.ts +0 -0
- /package/build/types/{components/src/stepper → stepper}/deviceDetection.d.ts +0 -0
- /package/build/types/{components/src/sticky → sticky}/Sticky.d.ts +0 -0
- /package/build/types/{components/src/sticky → sticky}/index.d.ts +0 -0
- /package/build/types/{components/src/summary → summary}/Summary.d.ts +0 -0
- /package/build/types/{components/src/summary → summary}/Summary.messages.d.ts +0 -0
- /package/build/types/{components/src/summary → summary}/index.d.ts +0 -0
- /package/build/types/{components/src/switch → switch}/Switch.d.ts +0 -0
- /package/build/types/{components/src/switch → switch}/index.d.ts +0 -0
- /package/build/types/{components/src/switchOption → switchOption}/SwitchOption.d.ts +0 -0
- /package/build/types/{components/src/switchOption → switchOption}/index.d.ts +0 -0
- /package/build/types/{components/src/table → table}/Table.d.ts +0 -0
- /package/build/types/{components/src/table → table}/Table.messages.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableCell.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableHeader.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableRow.d.ts +0 -0
- /package/build/types/{components/src/table → table}/TableStatusText.d.ts +0 -0
- /package/build/types/{components/src/table → table}/index.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/Tab.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/TabList.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/TabPanel.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/Tabs.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/index.d.ts +0 -0
- /package/build/types/{components/src/tabs → tabs}/utils.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/fake-data.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/index.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/jest.setup.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/style-mock.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/wait.d.ts +0 -0
- /package/build/types/{components/src/test-utils → test-utils}/window-mock.d.ts +0 -0
- /package/build/types/{components/src/textareaWithDisplayFormat → textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
- /package/build/types/{components/src/textareaWithDisplayFormat → textareaWithDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{components/src/tile → tile}/Tile.d.ts +0 -0
- /package/build/types/{components/src/tile → tile}/index.d.ts +0 -0
- /package/build/types/{components/src/title → title}/Title.d.ts +0 -0
- /package/build/types/{components/src/title → title}/index.d.ts +0 -0
- /package/build/types/{components/src/tooltip → tooltip}/Tooltip.d.ts +0 -0
- /package/build/types/{components/src/tooltip → tooltip}/index.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/Typeahead.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/Typeahead.messages.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/index.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
- /package/build/types/{components/src/typeahead → typeahead}/util/highlight.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/Upload.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/Upload.messages.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/completeStep/completeStep.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/completeStep/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/processingStep/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/processingStep/processingStep.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/uploadImageStep/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/asyncFileRead/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/getFileType/getFileType.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/getFileType/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isSizeValid/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isTypeValid/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/postData/index.d.ts +0 -0
- /package/build/types/{components/src/upload → upload}/utils/postData/postData.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/UploadInput.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/UploadInput.messages.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/index.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/types.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/UploadButton.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/defaults.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItem.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
- /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/cssValueWithUnit.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/deprecatedProperty/index.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/index.d.ts +0 -0
- /package/build/types/{components/src/utilities → utilities}/logActionRequired.d.ts +0 -0
- /package/build/types/{components/src/utils.d.ts → utils.d.ts} +0 -0
- /package/build/types/{components/src/withDisplayFormat → withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
- /package/build/types/{components/src/withDisplayFormat → withDisplayFormat}/index.d.ts +0 -0
- /package/build/types/{components/src/withId → withId}/index.d.ts +0 -0
- /package/build/types/{components/src/withId → withId}/story/source.d.ts +0 -0
- /package/build/types/{components/src/withId → withId}/withId.d.ts +0 -0
- /package/build/types/{components/src/withNextPortal → withNextPortal}/withNextPortal.d.ts +0 -0
|
@@ -8,10 +8,25 @@ var reactIntl = require('react-intl');
|
|
|
8
8
|
var Body = require('../body/Body.js');
|
|
9
9
|
var Input = require('../inputs/Input.js');
|
|
10
10
|
var SelectInput = require('../inputs/SelectInput.js');
|
|
11
|
+
require('../common/theme.js');
|
|
12
|
+
require('../common/direction.js');
|
|
13
|
+
require('../common/propsValues/control.js');
|
|
14
|
+
require('../common/propsValues/breakpoint.js');
|
|
11
15
|
var size = require('../common/propsValues/size.js');
|
|
12
16
|
var typography = require('../common/propsValues/typography.js');
|
|
17
|
+
require('../common/propsValues/width.js');
|
|
18
|
+
require('../common/propsValues/type.js');
|
|
13
19
|
var dateMode = require('../common/propsValues/dateMode.js');
|
|
14
20
|
var monthFormat = require('../common/propsValues/monthFormat.js');
|
|
21
|
+
require('../common/propsValues/position.js');
|
|
22
|
+
require('../common/propsValues/layouts.js');
|
|
23
|
+
require('../common/propsValues/status.js');
|
|
24
|
+
require('../common/propsValues/sentiment.js');
|
|
25
|
+
require('../common/propsValues/profileType.js');
|
|
26
|
+
require('../common/propsValues/variant.js');
|
|
27
|
+
require('../common/propsValues/scroll.js');
|
|
28
|
+
require('../common/propsValues/markdownNodeType.js');
|
|
29
|
+
require('../common/fileType.js');
|
|
15
30
|
require('@transferwise/icons');
|
|
16
31
|
require('../common/closeButton/CloseButton.messages.js');
|
|
17
32
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -24,9 +39,6 @@ var contexts = require('../inputs/contexts.js');
|
|
|
24
39
|
var DateInput_messages = require('./DateInput.messages.js');
|
|
25
40
|
var convertToLocalMidnight = require('./utils/convertToLocalMidnight/convertToLocalMidnight.js');
|
|
26
41
|
|
|
27
|
-
/**
|
|
28
|
-
* To be passed to SelectInput's parentId prop for correct blur handling.
|
|
29
|
-
*/
|
|
30
42
|
const DATE_INPUT_PARENT_ID = 'dateInput';
|
|
31
43
|
const DateInput = ({
|
|
32
44
|
'aria-labelledby': ariaLabelledByProp,
|
|
@@ -333,7 +345,6 @@ const DateInput = ({
|
|
|
333
345
|
})
|
|
334
346
|
});
|
|
335
347
|
};
|
|
336
|
-
|
|
337
348
|
// Should only propagate if the relatedTarget is not part of this DateInput component.
|
|
338
349
|
function shouldPropagateOnFocus({
|
|
339
350
|
target,
|
|
@@ -343,7 +354,6 @@ function shouldPropagateOnFocus({
|
|
|
343
354
|
const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');
|
|
344
355
|
return blurredElementParent !== focusedElementParent;
|
|
345
356
|
}
|
|
346
|
-
|
|
347
357
|
// Should only propagate if the focus-gaining element is not part
|
|
348
358
|
// of this DateInput component or the (dropdown) of the month select.
|
|
349
359
|
function shouldPropagateOnBlur({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateInput.js","sources":["../../src/dateInput/DateInput.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useEffect, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../body';\nimport { Input } from '../inputs/Input';\nimport {\n SelectInput,\n SelectInputOptionContent,\n type SelectInputProps,\n} from '../inputs/SelectInput';\nimport {\n DateMode,\n MonthFormat,\n Size,\n SizeLarge,\n SizeMedium,\n SizeSmall,\n Typography,\n} from '../common';\nimport { MDY, YMD, getMonthNames, isDateValid, isMonthAndYearFormat } from '../common/dateUtils';\nimport { useFieldLabelRef, useInputAttributes } from '../inputs/contexts';\nimport messages from './DateInput.messages';\nimport { convertToLocalMidnight } from './utils';\n\nexport interface DateInputProps {\n /** @deprecated Use `Field` wrapper or the `aria-labelledby` attribute instead. */\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n disabled?: boolean;\n size?: SizeSmall | SizeMedium | SizeLarge;\n value?: Date | string;\n onChange: (value: string | null) => void;\n onFocus?: React.FocusEventHandler<HTMLDivElement | HTMLFieldSetElement>;\n onBlur?: React.FocusEventHandler<HTMLDivElement | HTMLFieldSetElement>;\n dayLabel?: string;\n dayAutoComplete?: string;\n monthLabel?: string;\n yearLabel?: string;\n yearAutoComplete?: string;\n monthFormat?: `${MonthFormat}`;\n mode?: `${DateMode}`;\n placeholders?: {\n day?: string;\n month?: string;\n year?: string;\n };\n id?: string;\n selectProps?: Partial<SelectInputProps<number | null>>;\n}\n\n/**\n * To be passed to SelectInput's parentId prop for correct blur handling.\n */\nconst DATE_INPUT_PARENT_ID = 'dateInput';\n\nconst DateInput = ({\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-label': ariaLabel,\n disabled = false,\n size = Size.MEDIUM,\n value,\n dayLabel,\n dayAutoComplete,\n monthLabel,\n yearLabel,\n yearAutoComplete,\n monthFormat = MonthFormat.LONG,\n mode = DateMode.DAY_MONTH_YEAR,\n onChange,\n onFocus,\n onBlur,\n placeholders,\n id: idProp,\n selectProps = {},\n}: DateInputProps) => {\n const inputAttributes = useInputAttributes({ nonLabelable: true });\n const fieldLabelRef = useFieldLabelRef();\n const dayRef = useRef<HTMLInputElement>(null);\n const monthRef = useRef<HTMLButtonElement>(null);\n const yearRef = useRef<HTMLInputElement>(null);\n const id = idProp ?? inputAttributes.id;\n const ariaLabelledBy = ariaLabelledByProp ?? inputAttributes['aria-labelledby'];\n\n const { locale, formatMessage } = useIntl();\n\n const getDateObject = (): Date | undefined => {\n if (value && isDateValid(value)) {\n return typeof value === 'string' ? convertToLocalMidnight(value) : value;\n }\n return undefined;\n };\n\n const getInitialDate = (unit: 'year' | 'month' | 'day'): number | null => {\n if (value && isDateValid(value)) {\n const dateObject = getDateObject();\n\n if (typeof value === 'string' && isMonthAndYearFormat(value) && unit === 'day') {\n return null;\n }\n\n if (dateObject !== undefined) {\n switch (unit) {\n case 'year':\n return dateObject.getFullYear();\n case 'month':\n return dateObject.getMonth();\n case 'day':\n return dateObject.getDate();\n default:\n return null;\n }\n }\n }\n return null;\n };\n\n const [day, setDay] = useState(() => getInitialDate('day'));\n const [displayDay, setDisplayDay] = useState(day?.toString());\n const [month, setMonth] = useState(() => getInitialDate('month'));\n const [year, setYear] = useState(() => getInitialDate('year'));\n const [displayYear, setDisplayYear] = useState(year?.toString());\n const [lastBroadcastedValue, setLastBroadcastedValue] = useState<Date | null | undefined>(\n getDateObject,\n );\n const monthNames = getMonthNames(locale, monthFormat);\n\n const monthYearOnly = mode === DateMode.MONTH_YEAR;\n const monthBeforeDay = MDY.has(locale);\n const yearFirst = YMD.has(locale);\n\n dayLabel ||= formatMessage(messages.dayLabel);\n monthLabel ||= formatMessage(messages.monthLabel);\n yearLabel ||= formatMessage(messages.yearLabel);\n placeholders = {\n day: placeholders?.day || formatMessage(messages.dayPlaceholder),\n month: placeholders?.month || formatMessage(messages.monthLabel),\n year: placeholders?.year || formatMessage(messages.yearPlaceholder),\n };\n\n useEffect(() => {\n const labelRef = fieldLabelRef?.current;\n\n if (labelRef) {\n const handleLabelClick = () => {\n // Not the best way to do this, but we're forced to recreate the native Label-click behavior\n if (monthYearOnly || monthBeforeDay) {\n monthRef.current?.click();\n } else if (yearFirst) {\n yearRef.current?.focus();\n } else {\n dayRef.current?.focus();\n }\n };\n\n labelRef.addEventListener('click', handleLabelClick);\n\n return () => {\n labelRef?.removeEventListener('click', handleLabelClick);\n };\n }\n }, [fieldLabelRef, id, monthBeforeDay, monthYearOnly, yearFirst]);\n\n const getDateAsString = (date: Date) => {\n if (!isDateValid(date)) {\n return '';\n }\n switch (mode) {\n case DateMode.MONTH_YEAR:\n return [date.getFullYear(), `0${date.getMonth() + 1}`.slice(-2)].join('-');\n case DateMode.DAY_MONTH_YEAR:\n default:\n return [\n date.getFullYear(),\n `0${date.getMonth() + 1}`.slice(-2),\n `0${date.getDate()}`.slice(-2),\n ].join('-');\n }\n };\n\n const getSelectElement = () => {\n return (\n <label className=\"d-flex flex-column\">\n <Body type={Typography.BODY_DEFAULT}>{monthLabel}</Body>\n <SelectInput\n triggerRef={monthRef}\n id={`${id}:month`}\n parentId={DATE_INPUT_PARENT_ID}\n name=\"month\"\n disabled={disabled}\n placeholder={placeholders?.month}\n items={Array.from({ length: 12 }, (_, index) => ({ type: 'option', value: index }))}\n size={size}\n value={month}\n renderValue={(selectedValue) => (\n <SelectInputOptionContent title={monthNames[selectedValue]} />\n )}\n onChange={(selectedValue) => handleMonthChange(selectedValue)}\n {...selectProps}\n />\n </label>\n );\n };\n\n const isDayValid = (newDay: number, newMonth: number, newYear: number) => {\n const maxDay = new Date(newYear, newMonth + 1, 0).getDate();\n return newDay <= maxDay;\n };\n\n const handleInternalValue = (newDay = day, newMonth = month, newYear = year) => {\n if (newDay == null || newDay === 0 || newMonth == null || newYear == null || newYear === 0) {\n broadcastNewValue(null);\n return;\n }\n if (!isDayValid(newDay, newMonth, newYear)) {\n broadcastNewValue(null);\n return;\n }\n\n const dateValue = new Date(newYear, newMonth, newDay);\n if (newYear < 100) {\n dateValue.setFullYear(newYear);\n }\n\n if (!isDateValid(dateValue)) {\n broadcastNewValue(null);\n return;\n }\n\n if (mode === DateMode.MONTH_YEAR) {\n if (newMonth !== month || newYear !== year) {\n broadcastNewValue(dateValue);\n }\n } else if (newDay !== day || newMonth !== month || newYear !== year) {\n broadcastNewValue(dateValue);\n }\n };\n\n const handleDayChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const newDayString = event.target.value.replace(/\\D/g, '');\n const newDayNumber = Number.parseInt(newDayString, 10);\n\n setDay(newDayNumber);\n setDisplayDay(newDayString);\n handleInternalValue(newDayNumber, month, year);\n };\n\n const handleMonthChange = (selectedMonth: number | null) => {\n if (selectedMonth === null) {\n setMonth(null);\n handleInternalValue(day, null, year);\n return;\n }\n setMonth(selectedMonth);\n handleInternalValue(day, selectedMonth, year);\n };\n\n const handleYearChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const newYearString = event.target.value.replace(/\\D/g, '');\n const newYearNumber = Number.parseInt(newYearString, 10);\n\n if (newYearString.length >= 4 && newYearString.length <= 6) {\n setYear(newYearNumber);\n setDisplayYear(newYearString);\n handleInternalValue(day, month, newYearNumber);\n } else {\n setYear(null);\n setDisplayYear(newYearString);\n handleInternalValue(day, month, null);\n }\n };\n\n const broadcastNewValue = (newValue: Date | null) => {\n if (newValue !== lastBroadcastedValue) {\n setLastBroadcastedValue(newValue);\n onChange(newValue != null ? getDateAsString(newValue) : null);\n }\n };\n\n const monthWidth = clsx({\n 'col-sm-8 tw-date--month': monthYearOnly,\n 'col-sm-5 tw-date--month': !monthYearOnly,\n });\n\n const getMonth = () => {\n return <div className={monthWidth}>{getSelectElement()}</div>;\n };\n\n const getDay = () => {\n return (\n <div className=\"col-sm-3 tw-date--day\">\n <label>\n <Body type={Typography.BODY_DEFAULT}>{dayLabel}</Body>\n <div className={`input-group input-group-${size} ${disabled ? 'disabled' : ''}`}>\n <Input\n ref={dayRef}\n id={`${id}:day`}\n type=\"text\"\n inputMode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"day\"\n autoComplete={dayAutoComplete}\n value={displayDay || ''}\n placeholder={placeholders?.day}\n disabled={disabled}\n min={1}\n max={31}\n maxLength={2}\n onChange={(event) => handleDayChange(event)}\n />\n </div>\n </label>\n </div>\n );\n };\n\n const getYear = () => {\n return (\n <div className=\"col-sm-4 tw-date--year\">\n <label>\n <Body type={Typography.BODY_DEFAULT}>{yearLabel}</Body>\n <div className={`input-group input-group-${size} ${disabled ? 'disabled' : ''}`}>\n <Input\n ref={yearRef}\n id={`${id}:year`}\n type=\"text\"\n inputMode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"year\"\n autoComplete={yearAutoComplete}\n placeholder={placeholders?.year}\n value={displayYear || ''}\n disabled={disabled}\n min={0}\n max={9999}\n maxLength={6}\n onChange={(event) => handleYearChange(event)}\n />\n </div>\n </label>\n </div>\n );\n };\n\n return (\n <fieldset\n id={id}\n className=\"tw-date\"\n aria-describedby={inputAttributes['aria-describedby']}\n aria-invalid={inputAttributes['aria-invalid']}\n aria-labelledby={ariaLabelledBy}\n aria-label={ariaLabel}\n data-wds-dateinput=\"\"\n onFocus={(event) =>\n shouldPropagateOnFocus(event) ? onFocus?.(event) : event.stopPropagation()\n }\n onBlur={(event) => (shouldPropagateOnBlur(event) ? onBlur?.(event) : event.stopPropagation())}\n >\n <div className=\"row\">\n {(() => {\n if (monthYearOnly) {\n return (\n <>\n {!yearFirst && getMonth()}\n {getYear()}\n {yearFirst && getMonth()}\n </>\n );\n }\n if (monthBeforeDay) {\n return (\n <>\n {getMonth()}\n {getDay()}\n {getYear()}\n </>\n );\n }\n if (yearFirst) {\n return (\n <>\n {getYear()}\n {getMonth()}\n {getDay()}\n </>\n );\n }\n return (\n <>\n {getDay()}\n {getMonth()}\n {getYear()}\n </>\n );\n })()}\n </div>\n </fieldset>\n );\n};\n\n// Should only propagate if the relatedTarget is not part of this DateInput component.\nfunction shouldPropagateOnFocus({\n target,\n relatedTarget,\n}: Pick<React.FocusEvent, 'target' | 'relatedTarget'>) {\n const blurredElementParent = target.closest('[data-wds-dateinput]');\n const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');\n return blurredElementParent !== focusedElementParent;\n}\n\n// Should only propagate if the focus-gaining element is not part\n// of this DateInput component or the (dropdown) of the month select.\nfunction shouldPropagateOnBlur({\n target,\n relatedTarget,\n}: Pick<React.FocusEvent, 'target' | 'relatedTarget'>) {\n const blurredElementParent = target.closest('[data-wds-dateinput]');\n const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');\n\n return (\n blurredElementParent !== focusedElementParent &&\n !target?.closest(`[data-wds-parent=\"${DATE_INPUT_PARENT_ID}\"]`) &&\n !relatedTarget?.closest(`[data-wds-parent=\"${DATE_INPUT_PARENT_ID}\"]`)\n );\n}\n\nexport default DateInput;\n"],"names":["DATE_INPUT_PARENT_ID","DateInput","ariaLabelledByProp","ariaLabel","disabled","size","Size","MEDIUM","value","dayLabel","dayAutoComplete","monthLabel","yearLabel","yearAutoComplete","monthFormat","MonthFormat","LONG","mode","DateMode","DAY_MONTH_YEAR","onChange","onFocus","onBlur","placeholders","id","idProp","selectProps","inputAttributes","useInputAttributes","nonLabelable","fieldLabelRef","useFieldLabelRef","dayRef","useRef","monthRef","yearRef","ariaLabelledBy","locale","formatMessage","useIntl","getDateObject","isDateValid","convertToLocalMidnight","undefined","getInitialDate","unit","dateObject","isMonthAndYearFormat","getFullYear","getMonth","getDate","day","setDay","useState","displayDay","setDisplayDay","toString","month","setMonth","year","setYear","displayYear","setDisplayYear","lastBroadcastedValue","setLastBroadcastedValue","monthNames","getMonthNames","monthYearOnly","MONTH_YEAR","monthBeforeDay","MDY","has","yearFirst","YMD","messages","dayPlaceholder","yearPlaceholder","useEffect","labelRef","current","handleLabelClick","click","focus","addEventListener","removeEventListener","getDateAsString","date","slice","join","getSelectElement","_jsxs","className","children","_jsx","Body","type","Typography","BODY_DEFAULT","SelectInput","triggerRef","parentId","name","placeholder","items","Array","from","length","_","index","renderValue","selectedValue","SelectInputOptionContent","title","handleMonthChange","isDayValid","newDay","newMonth","newYear","maxDay","Date","handleInternalValue","broadcastNewValue","dateValue","setFullYear","handleDayChange","event","newDayString","target","replace","newDayNumber","Number","parseInt","selectedMonth","handleYearChange","newYearString","newYearNumber","newValue","monthWidth","clsx","getDay","Input","ref","inputMode","pattern","autoComplete","min","max","maxLength","getYear","shouldPropagateOnFocus","stopPropagation","shouldPropagateOnBlur","_Fragment","relatedTarget","blurredElementParent","closest","focusedElementParent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA;AACA;AACA;AACA,MAAMA,oBAAoB,GAAG,WAAW;AAExC,MAAMC,SAAS,GAAGA,CAAC;AACjB,EAAA,iBAAiB,EAAEC,kBAAkB;AACrC,EAAA,YAAY,EAAEC,SAAS;AACvBC,EAAAA,QAAQ,GAAG,KAAK;QAChBC,MAAI,GAAGC,SAAI,CAACC,MAAM;EAClBC,KAAK;EACLC,QAAQ;EACRC,eAAe;EACfC,UAAU;EACVC,SAAS;EACTC,gBAAgB;eAChBC,aAAW,GAAGC,uBAAW,CAACC,IAAI;EAC9BC,IAAI,GAAGC,iBAAQ,CAACC,cAAc;EAC9BC,QAAQ;EACRC,OAAO;EACPC,MAAM;EACNC,YAAY;AACZC,EAAAA,EAAE,EAAEC,MAAM;AACVC,EAAAA,WAAW,GAAG;AACA,CAAC,KAAK;EACpB,MAAMC,eAAe,GAAGC,2BAAkB,CAAC;AAAEC,IAAAA,YAAY,EAAE;AAAK,GAAC,CAAC;AAClE,EAAA,MAAMC,aAAa,GAAGC,yBAAgB,EAAE;AACxC,EAAA,MAAMC,MAAM,GAAGC,YAAM,CAAmB,IAAI,CAAC;AAC7C,EAAA,MAAMC,QAAQ,GAAGD,YAAM,CAAoB,IAAI,CAAC;AAChD,EAAA,MAAME,OAAO,GAAGF,YAAM,CAAmB,IAAI,CAAC;AAC9C,EAAA,MAAMT,EAAE,GAAGC,MAAM,IAAIE,eAAe,CAACH,EAAE;AACvC,EAAA,MAAMY,cAAc,GAAGlC,kBAAkB,IAAIyB,eAAe,CAAC,iBAAiB,CAAC;EAE/E,MAAM;IAAEU,MAAM;AAAEC,IAAAA;GAAe,GAAGC,iBAAO,EAAE;EAE3C,MAAMC,aAAa,GAAGA,MAAwB;AAC5C,IAAA,IAAIhC,KAAK,IAAIiC,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O,CAAC,CAAA,kBAAA,EAAqB3J,oBAAoB,CAAA,EAAA,CAAI,CAAC;AAE1E;;;;"}
|
|
1
|
+
{"version":3,"file":"DateInput.js","sources":["../../src/dateInput/DateInput.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useEffect, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../body';\nimport { Input } from '../inputs/Input';\nimport {\n SelectInput,\n SelectInputOptionContent,\n type SelectInputProps,\n} from '../inputs/SelectInput';\nimport {\n DateMode,\n MonthFormat,\n Size,\n SizeLarge,\n SizeMedium,\n SizeSmall,\n Typography,\n} from '../common';\nimport { MDY, YMD, getMonthNames, isDateValid, isMonthAndYearFormat } from '../common/dateUtils';\nimport { useFieldLabelRef, useInputAttributes } from '../inputs/contexts';\nimport messages from './DateInput.messages';\nimport { convertToLocalMidnight } from './utils';\n\nexport interface DateInputProps {\n /** @deprecated Use `Field` wrapper or the `aria-labelledby` attribute instead. */\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n disabled?: boolean;\n size?: SizeSmall | SizeMedium | SizeLarge;\n value?: Date | string;\n onChange: (value: string | null) => void;\n onFocus?: React.FocusEventHandler<HTMLDivElement | HTMLFieldSetElement>;\n onBlur?: React.FocusEventHandler<HTMLDivElement | HTMLFieldSetElement>;\n dayLabel?: string;\n dayAutoComplete?: string;\n monthLabel?: string;\n yearLabel?: string;\n yearAutoComplete?: string;\n monthFormat?: `${MonthFormat}`;\n mode?: `${DateMode}`;\n placeholders?: {\n day?: string;\n month?: string;\n year?: string;\n };\n id?: string;\n selectProps?: Partial<SelectInputProps<number | null>>;\n}\n\n/**\n * To be passed to SelectInput's parentId prop for correct blur handling.\n */\nconst DATE_INPUT_PARENT_ID = 'dateInput';\n\nconst DateInput = ({\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-label': ariaLabel,\n disabled = false,\n size = Size.MEDIUM,\n value,\n dayLabel,\n dayAutoComplete,\n monthLabel,\n yearLabel,\n yearAutoComplete,\n monthFormat = MonthFormat.LONG,\n mode = DateMode.DAY_MONTH_YEAR,\n onChange,\n onFocus,\n onBlur,\n placeholders,\n id: idProp,\n selectProps = {},\n}: DateInputProps) => {\n const inputAttributes = useInputAttributes({ nonLabelable: true });\n const fieldLabelRef = useFieldLabelRef();\n const dayRef = useRef<HTMLInputElement>(null);\n const monthRef = useRef<HTMLButtonElement>(null);\n const yearRef = useRef<HTMLInputElement>(null);\n const id = idProp ?? inputAttributes.id;\n const ariaLabelledBy = ariaLabelledByProp ?? inputAttributes['aria-labelledby'];\n\n const { locale, formatMessage } = useIntl();\n\n const getDateObject = (): Date | undefined => {\n if (value && isDateValid(value)) {\n return typeof value === 'string' ? convertToLocalMidnight(value) : value;\n }\n return undefined;\n };\n\n const getInitialDate = (unit: 'year' | 'month' | 'day'): number | null => {\n if (value && isDateValid(value)) {\n const dateObject = getDateObject();\n\n if (typeof value === 'string' && isMonthAndYearFormat(value) && unit === 'day') {\n return null;\n }\n\n if (dateObject !== undefined) {\n switch (unit) {\n case 'year':\n return dateObject.getFullYear();\n case 'month':\n return dateObject.getMonth();\n case 'day':\n return dateObject.getDate();\n default:\n return null;\n }\n }\n }\n return null;\n };\n\n const [day, setDay] = useState(() => getInitialDate('day'));\n const [displayDay, setDisplayDay] = useState(day?.toString());\n const [month, setMonth] = useState(() => getInitialDate('month'));\n const [year, setYear] = useState(() => getInitialDate('year'));\n const [displayYear, setDisplayYear] = useState(year?.toString());\n const [lastBroadcastedValue, setLastBroadcastedValue] = useState<Date | null | undefined>(\n getDateObject,\n );\n const monthNames = getMonthNames(locale, monthFormat);\n\n const monthYearOnly = mode === DateMode.MONTH_YEAR;\n const monthBeforeDay = MDY.has(locale);\n const yearFirst = YMD.has(locale);\n\n dayLabel ||= formatMessage(messages.dayLabel);\n monthLabel ||= formatMessage(messages.monthLabel);\n yearLabel ||= formatMessage(messages.yearLabel);\n placeholders = {\n day: placeholders?.day || formatMessage(messages.dayPlaceholder),\n month: placeholders?.month || formatMessage(messages.monthLabel),\n year: placeholders?.year || formatMessage(messages.yearPlaceholder),\n };\n\n useEffect(() => {\n const labelRef = fieldLabelRef?.current;\n\n if (labelRef) {\n const handleLabelClick = () => {\n // Not the best way to do this, but we're forced to recreate the native Label-click behavior\n if (monthYearOnly || monthBeforeDay) {\n monthRef.current?.click();\n } else if (yearFirst) {\n yearRef.current?.focus();\n } else {\n dayRef.current?.focus();\n }\n };\n\n labelRef.addEventListener('click', handleLabelClick);\n\n return () => {\n labelRef?.removeEventListener('click', handleLabelClick);\n };\n }\n }, [fieldLabelRef, id, monthBeforeDay, monthYearOnly, yearFirst]);\n\n const getDateAsString = (date: Date) => {\n if (!isDateValid(date)) {\n return '';\n }\n switch (mode) {\n case DateMode.MONTH_YEAR:\n return [date.getFullYear(), `0${date.getMonth() + 1}`.slice(-2)].join('-');\n case DateMode.DAY_MONTH_YEAR:\n default:\n return [\n date.getFullYear(),\n `0${date.getMonth() + 1}`.slice(-2),\n `0${date.getDate()}`.slice(-2),\n ].join('-');\n }\n };\n\n const getSelectElement = () => {\n return (\n <label className=\"d-flex flex-column\">\n <Body type={Typography.BODY_DEFAULT}>{monthLabel}</Body>\n <SelectInput\n triggerRef={monthRef}\n id={`${id}:month`}\n parentId={DATE_INPUT_PARENT_ID}\n name=\"month\"\n disabled={disabled}\n placeholder={placeholders?.month}\n items={Array.from({ length: 12 }, (_, index) => ({ type: 'option', value: index }))}\n size={size}\n value={month}\n renderValue={(selectedValue) => (\n <SelectInputOptionContent title={monthNames[selectedValue]} />\n )}\n onChange={(selectedValue) => handleMonthChange(selectedValue)}\n {...selectProps}\n />\n </label>\n );\n };\n\n const isDayValid = (newDay: number, newMonth: number, newYear: number) => {\n const maxDay = new Date(newYear, newMonth + 1, 0).getDate();\n return newDay <= maxDay;\n };\n\n const handleInternalValue = (newDay = day, newMonth = month, newYear = year) => {\n if (newDay == null || newDay === 0 || newMonth == null || newYear == null || newYear === 0) {\n broadcastNewValue(null);\n return;\n }\n if (!isDayValid(newDay, newMonth, newYear)) {\n broadcastNewValue(null);\n return;\n }\n\n const dateValue = new Date(newYear, newMonth, newDay);\n if (newYear < 100) {\n dateValue.setFullYear(newYear);\n }\n\n if (!isDateValid(dateValue)) {\n broadcastNewValue(null);\n return;\n }\n\n if (mode === DateMode.MONTH_YEAR) {\n if (newMonth !== month || newYear !== year) {\n broadcastNewValue(dateValue);\n }\n } else if (newDay !== day || newMonth !== month || newYear !== year) {\n broadcastNewValue(dateValue);\n }\n };\n\n const handleDayChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const newDayString = event.target.value.replace(/\\D/g, '');\n const newDayNumber = Number.parseInt(newDayString, 10);\n\n setDay(newDayNumber);\n setDisplayDay(newDayString);\n handleInternalValue(newDayNumber, month, year);\n };\n\n const handleMonthChange = (selectedMonth: number | null) => {\n if (selectedMonth === null) {\n setMonth(null);\n handleInternalValue(day, null, year);\n return;\n }\n setMonth(selectedMonth);\n handleInternalValue(day, selectedMonth, year);\n };\n\n const handleYearChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const newYearString = event.target.value.replace(/\\D/g, '');\n const newYearNumber = Number.parseInt(newYearString, 10);\n\n if (newYearString.length >= 4 && newYearString.length <= 6) {\n setYear(newYearNumber);\n setDisplayYear(newYearString);\n handleInternalValue(day, month, newYearNumber);\n } else {\n setYear(null);\n setDisplayYear(newYearString);\n handleInternalValue(day, month, null);\n }\n };\n\n const broadcastNewValue = (newValue: Date | null) => {\n if (newValue !== lastBroadcastedValue) {\n setLastBroadcastedValue(newValue);\n onChange(newValue != null ? getDateAsString(newValue) : null);\n }\n };\n\n const monthWidth = clsx({\n 'col-sm-8 tw-date--month': monthYearOnly,\n 'col-sm-5 tw-date--month': !monthYearOnly,\n });\n\n const getMonth = () => {\n return <div className={monthWidth}>{getSelectElement()}</div>;\n };\n\n const getDay = () => {\n return (\n <div className=\"col-sm-3 tw-date--day\">\n <label>\n <Body type={Typography.BODY_DEFAULT}>{dayLabel}</Body>\n <div className={`input-group input-group-${size} ${disabled ? 'disabled' : ''}`}>\n <Input\n ref={dayRef}\n id={`${id}:day`}\n type=\"text\"\n inputMode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"day\"\n autoComplete={dayAutoComplete}\n value={displayDay || ''}\n placeholder={placeholders?.day}\n disabled={disabled}\n min={1}\n max={31}\n maxLength={2}\n onChange={(event) => handleDayChange(event)}\n />\n </div>\n </label>\n </div>\n );\n };\n\n const getYear = () => {\n return (\n <div className=\"col-sm-4 tw-date--year\">\n <label>\n <Body type={Typography.BODY_DEFAULT}>{yearLabel}</Body>\n <div className={`input-group input-group-${size} ${disabled ? 'disabled' : ''}`}>\n <Input\n ref={yearRef}\n id={`${id}:year`}\n type=\"text\"\n inputMode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"year\"\n autoComplete={yearAutoComplete}\n placeholder={placeholders?.year}\n value={displayYear || ''}\n disabled={disabled}\n min={0}\n max={9999}\n maxLength={6}\n onChange={(event) => handleYearChange(event)}\n />\n </div>\n </label>\n </div>\n );\n };\n\n return (\n <fieldset\n id={id}\n className=\"tw-date\"\n aria-describedby={inputAttributes['aria-describedby']}\n aria-invalid={inputAttributes['aria-invalid']}\n aria-labelledby={ariaLabelledBy}\n aria-label={ariaLabel}\n data-wds-dateinput=\"\"\n onFocus={(event) =>\n shouldPropagateOnFocus(event) ? onFocus?.(event) : event.stopPropagation()\n }\n onBlur={(event) => (shouldPropagateOnBlur(event) ? onBlur?.(event) : event.stopPropagation())}\n >\n <div className=\"row\">\n {(() => {\n if (monthYearOnly) {\n return (\n <>\n {!yearFirst && getMonth()}\n {getYear()}\n {yearFirst && getMonth()}\n </>\n );\n }\n if (monthBeforeDay) {\n return (\n <>\n {getMonth()}\n {getDay()}\n {getYear()}\n </>\n );\n }\n if (yearFirst) {\n return (\n <>\n {getYear()}\n {getMonth()}\n {getDay()}\n </>\n );\n }\n return (\n <>\n {getDay()}\n {getMonth()}\n {getYear()}\n </>\n );\n })()}\n </div>\n </fieldset>\n );\n};\n\n// Should only propagate if the relatedTarget is not part of this DateInput component.\nfunction shouldPropagateOnFocus({\n target,\n relatedTarget,\n}: Pick<React.FocusEvent, 'target' | 'relatedTarget'>) {\n const blurredElementParent = target.closest('[data-wds-dateinput]');\n const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');\n return blurredElementParent !== focusedElementParent;\n}\n\n// Should only propagate if the focus-gaining element is not part\n// of this DateInput component or the (dropdown) of the month select.\nfunction shouldPropagateOnBlur({\n target,\n relatedTarget,\n}: Pick<React.FocusEvent, 'target' | 'relatedTarget'>) {\n const blurredElementParent = target.closest('[data-wds-dateinput]');\n const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');\n\n return (\n blurredElementParent !== focusedElementParent &&\n !target?.closest(`[data-wds-parent=\"${DATE_INPUT_PARENT_ID}\"]`) &&\n !relatedTarget?.closest(`[data-wds-parent=\"${DATE_INPUT_PARENT_ID}\"]`)\n );\n}\n\nexport default DateInput;\n"],"names":["DATE_INPUT_PARENT_ID","DateInput","ariaLabelledByProp","ariaLabel","disabled","size","Size","MEDIUM","value","dayLabel","dayAutoComplete","monthLabel","yearLabel","yearAutoComplete","monthFormat","MonthFormat","LONG","mode","DateMode","DAY_MONTH_YEAR","onChange","onFocus","onBlur","placeholders","id","idProp","selectProps","inputAttributes","useInputAttributes","nonLabelable","fieldLabelRef","useFieldLabelRef","dayRef","useRef","monthRef","yearRef","ariaLabelledBy","locale","formatMessage","useIntl","getDateObject","isDateValid","convertToLocalMidnight","undefined","getInitialDate","unit","dateObject","isMonthAndYearFormat","getFullYear","getMonth","getDate","day","setDay","useState","displayDay","setDisplayDay","toString","month","setMonth","year","setYear","displayYear","setDisplayYear","lastBroadcastedValue","setLastBroadcastedValue","monthNames","getMonthNames","monthYearOnly","MONTH_YEAR","monthBeforeDay","MDY","has","yearFirst","YMD","messages","dayPlaceholder","yearPlaceholder","useEffect","labelRef","current","handleLabelClick","click","focus","addEventListener","removeEventListener","getDateAsString","date","slice","join","getSelectElement","_jsxs","className","children","_jsx","Body","type","Typography","BODY_DEFAULT","SelectInput","triggerRef","parentId","name","placeholder","items","Array","from","length","_","index","renderValue","selectedValue","SelectInputOptionContent","title","handleMonthChange","isDayValid","newDay","newMonth","newYear","maxDay","Date","handleInternalValue","broadcastNewValue","dateValue","setFullYear","handleDayChange","event","newDayString","target","replace","newDayNumber","Number","parseInt","selectedMonth","handleYearChange","newYearString","newYearNumber","newValue","monthWidth","clsx","getDay","Input","ref","inputMode","pattern","autoComplete","min","max","maxLength","getYear","shouldPropagateOnFocus","stopPropagation","shouldPropagateOnBlur","_Fragment","relatedTarget","blurredElementParent","closest","focusedElementParent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDA,MAAMA,oBAAoB,GAAG,WAAW;AAExC,MAAMC,SAAS,GAAGA,CAAC;AACjB,EAAA,iBAAiB,EAAEC,kBAAkB;AACrC,EAAA,YAAY,EAAEC,SAAS;AACvBC,EAAAA,QAAQ,GAAG,KAAK;QAChBC,MAAI,GAAGC,SAAI,CAACC,MAAM;EAClBC,KAAK;EACLC,QAAQ;EACRC,eAAe;EACfC,UAAU;EACVC,SAAS;EACTC,gBAAgB;eAChBC,aAAW,GAAGC,uBAAW,CAACC,IAAI;EAC9BC,IAAI,GAAGC,iBAAQ,CAACC,cAAc;EAC9BC,QAAQ;EACRC,OAAO;EACPC,MAAM;EACNC,YAAY;AACZC,EAAAA,EAAE,EAAEC,MAAM;AACVC,EAAAA,WAAW,GAAG;AAAE,CACD,KAAI;EACnB,MAAMC,eAAe,GAAGC,2BAAkB,CAAC;AAAEC,IAAAA,YAAY,EAAE;AAAI,GAAE,CAAC;AAClE,EAAA,MAAMC,aAAa,GAAGC,yBAAgB,EAAE;AACxC,EAAA,MAAMC,MAAM,GAAGC,YAAM,CAAmB,IAAI,CAAC;AAC7C,EAAA,MAAMC,QAAQ,GAAGD,YAAM,CAAoB,IAAI,CAAC;AAChD,EAAA,MAAME,OAAO,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CACsC,EAAA;AACnD,EAAA,MAAMC,oBAAoB,GAAG3B,MAAM,CAAC4B,OAAO,CAAC,sBAAsB,CAAC;AACnE,EAAA,MAAMC,oBAAoB,GAAGH,aAAa,EAAEE,OAAO,CAAC,sBAAsB,CAAC;EAE3E,OACED,oBAAoB,KAAKE,oBAAoB,IAC7C,CAAC7B,MAAM,EAAE4B,OAAO,CAAC,CAAA,kBAAA,EAAqB3J,oBAAoB,IAAI,CAAC,IAC/D,CAACyJ,aAAa,EAAEE,OAAO,CAAC,CAAA,kBAAA,EAAqB3J,oBAAoB,CAAA,EAAA,CAAI,CAAC;AAE1E;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateInput.messages.js","sources":["../../src/dateInput/DateInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n monthLabel: {\n id: 'neptune.DateInput.month.label',\n defaultMessage: 'Month',\n },\n dayLabel: {\n id: 'neptune.DateInput.day.label',\n defaultMessage: 'Day',\n },\n yearLabel: {\n id: 'neptune.DateInput.year.label',\n defaultMessage: 'Year',\n },\n dayPlaceholder: {\n id: 'neptune.DateInput.day.placeholder',\n defaultMessage: 'DD',\n description: 'Placeholder for 2-digit day values within an input.',\n },\n yearPlaceholder: {\n id: 'neptune.DateInput.year.placeholder',\n defaultMessage: 'YYYY',\n description: 'Placeholder for 4-digit year values within an input.',\n },\n});\n"],"names":["defineMessages","monthLabel","id","dayLabel","yearLabel","dayPlaceholder","yearPlaceholder"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,UAAU,EAAE;IACVC,EAAE,EAAA;GAEH;AACDC,EAAAA,QAAQ,EAAE;IACRD,EAAE,EAAA;GAEH;AACDE,EAAAA,SAAS,EAAE;IACTF,EAAE,EAAA;GAEH;AACDG,EAAAA,cAAc,EAAE;IACdH,EAAE,EAAA;GAGH;AACDI,EAAAA,eAAe,EAAE;IACfJ,EAAE,EAAA;
|
|
1
|
+
{"version":3,"file":"DateInput.messages.js","sources":["../../src/dateInput/DateInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n monthLabel: {\n id: 'neptune.DateInput.month.label',\n defaultMessage: 'Month',\n },\n dayLabel: {\n id: 'neptune.DateInput.day.label',\n defaultMessage: 'Day',\n },\n yearLabel: {\n id: 'neptune.DateInput.year.label',\n defaultMessage: 'Year',\n },\n dayPlaceholder: {\n id: 'neptune.DateInput.day.placeholder',\n defaultMessage: 'DD',\n description: 'Placeholder for 2-digit day values within an input.',\n },\n yearPlaceholder: {\n id: 'neptune.DateInput.year.placeholder',\n defaultMessage: 'YYYY',\n description: 'Placeholder for 4-digit year values within an input.',\n },\n});\n"],"names":["defineMessages","monthLabel","id","dayLabel","yearLabel","dayPlaceholder","yearPlaceholder"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,UAAU,EAAE;IACVC,EAAE,EAAA;GAEH;AACDC,EAAAA,QAAQ,EAAE;IACRD,EAAE,EAAA;GAEH;AACDE,EAAAA,SAAS,EAAE;IACTF,EAAE,EAAA;GAEH;AACDG,EAAAA,cAAc,EAAE;IACdH,EAAE,EAAA;GAGH;AACDI,EAAAA,eAAe,EAAE;IACfJ,EAAE,EAAA;AAGH;AACF,CAAA,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateInput.messages.mjs","sources":["../../src/dateInput/DateInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n monthLabel: {\n id: 'neptune.DateInput.month.label',\n defaultMessage: 'Month',\n },\n dayLabel: {\n id: 'neptune.DateInput.day.label',\n defaultMessage: 'Day',\n },\n yearLabel: {\n id: 'neptune.DateInput.year.label',\n defaultMessage: 'Year',\n },\n dayPlaceholder: {\n id: 'neptune.DateInput.day.placeholder',\n defaultMessage: 'DD',\n description: 'Placeholder for 2-digit day values within an input.',\n },\n yearPlaceholder: {\n id: 'neptune.DateInput.year.placeholder',\n defaultMessage: 'YYYY',\n description: 'Placeholder for 4-digit year values within an input.',\n },\n});\n"],"names":["defineMessages","monthLabel","id","dayLabel","yearLabel","dayPlaceholder","yearPlaceholder"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,UAAU,EAAE;IACVC,EAAE,EAAA;GAEH;AACDC,EAAAA,QAAQ,EAAE;IACRD,EAAE,EAAA;GAEH;AACDE,EAAAA,SAAS,EAAE;IACTF,EAAE,EAAA;GAEH;AACDG,EAAAA,cAAc,EAAE;IACdH,EAAE,EAAA;GAGH;AACDI,EAAAA,eAAe,EAAE;IACfJ,EAAE,EAAA;
|
|
1
|
+
{"version":3,"file":"DateInput.messages.mjs","sources":["../../src/dateInput/DateInput.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n monthLabel: {\n id: 'neptune.DateInput.month.label',\n defaultMessage: 'Month',\n },\n dayLabel: {\n id: 'neptune.DateInput.day.label',\n defaultMessage: 'Day',\n },\n yearLabel: {\n id: 'neptune.DateInput.year.label',\n defaultMessage: 'Year',\n },\n dayPlaceholder: {\n id: 'neptune.DateInput.day.placeholder',\n defaultMessage: 'DD',\n description: 'Placeholder for 2-digit day values within an input.',\n },\n yearPlaceholder: {\n id: 'neptune.DateInput.year.placeholder',\n defaultMessage: 'YYYY',\n description: 'Placeholder for 4-digit year values within an input.',\n },\n});\n"],"names":["defineMessages","monthLabel","id","dayLabel","yearLabel","dayPlaceholder","yearPlaceholder"],"mappings":";;AAEA,eAAeA,cAAc,CAAC;AAC5BC,EAAAA,UAAU,EAAE;IACVC,EAAE,EAAA;GAEH;AACDC,EAAAA,QAAQ,EAAE;IACRD,EAAE,EAAA;GAEH;AACDE,EAAAA,SAAS,EAAE;IACTF,EAAE,EAAA;GAEH;AACDG,EAAAA,cAAc,EAAE;IACdH,EAAE,EAAA;GAGH;AACDI,EAAAA,eAAe,EAAE;IACfJ,EAAE,EAAA;AAGH;AACF,CAAA,CAAC;;;;"}
|
|
@@ -4,10 +4,25 @@ import { useIntl } from 'react-intl';
|
|
|
4
4
|
import Body from '../body/Body.mjs';
|
|
5
5
|
import { Input } from '../inputs/Input.mjs';
|
|
6
6
|
import { SelectInput, SelectInputOptionContent } from '../inputs/SelectInput.mjs';
|
|
7
|
+
import '../common/theme.mjs';
|
|
8
|
+
import '../common/direction.mjs';
|
|
9
|
+
import '../common/propsValues/control.mjs';
|
|
10
|
+
import '../common/propsValues/breakpoint.mjs';
|
|
7
11
|
import { Size } from '../common/propsValues/size.mjs';
|
|
8
12
|
import { Typography } from '../common/propsValues/typography.mjs';
|
|
13
|
+
import '../common/propsValues/width.mjs';
|
|
14
|
+
import '../common/propsValues/type.mjs';
|
|
9
15
|
import { DateMode } from '../common/propsValues/dateMode.mjs';
|
|
10
16
|
import { MonthFormat } from '../common/propsValues/monthFormat.mjs';
|
|
17
|
+
import '../common/propsValues/position.mjs';
|
|
18
|
+
import '../common/propsValues/layouts.mjs';
|
|
19
|
+
import '../common/propsValues/status.mjs';
|
|
20
|
+
import '../common/propsValues/sentiment.mjs';
|
|
21
|
+
import '../common/propsValues/profileType.mjs';
|
|
22
|
+
import '../common/propsValues/variant.mjs';
|
|
23
|
+
import '../common/propsValues/scroll.mjs';
|
|
24
|
+
import '../common/propsValues/markdownNodeType.mjs';
|
|
25
|
+
import '../common/fileType.mjs';
|
|
11
26
|
import '@transferwise/icons';
|
|
12
27
|
import '../common/closeButton/CloseButton.messages.mjs';
|
|
13
28
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -20,9 +35,6 @@ import { useInputAttributes, useFieldLabelRef } from '../inputs/contexts.mjs';
|
|
|
20
35
|
import messages from './DateInput.messages.mjs';
|
|
21
36
|
import { convertToLocalMidnight } from './utils/convertToLocalMidnight/convertToLocalMidnight.mjs';
|
|
22
37
|
|
|
23
|
-
/**
|
|
24
|
-
* To be passed to SelectInput's parentId prop for correct blur handling.
|
|
25
|
-
*/
|
|
26
38
|
const DATE_INPUT_PARENT_ID = 'dateInput';
|
|
27
39
|
const DateInput = ({
|
|
28
40
|
'aria-labelledby': ariaLabelledByProp,
|
|
@@ -329,7 +341,6 @@ const DateInput = ({
|
|
|
329
341
|
})
|
|
330
342
|
});
|
|
331
343
|
};
|
|
332
|
-
|
|
333
344
|
// Should only propagate if the relatedTarget is not part of this DateInput component.
|
|
334
345
|
function shouldPropagateOnFocus({
|
|
335
346
|
target,
|
|
@@ -339,7 +350,6 @@ function shouldPropagateOnFocus({
|
|
|
339
350
|
const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');
|
|
340
351
|
return blurredElementParent !== focusedElementParent;
|
|
341
352
|
}
|
|
342
|
-
|
|
343
353
|
// Should only propagate if the focus-gaining element is not part
|
|
344
354
|
// of this DateInput component or the (dropdown) of the month select.
|
|
345
355
|
function shouldPropagateOnBlur({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateInput.mjs","sources":["../../src/dateInput/DateInput.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useEffect, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../body';\nimport { Input } from '../inputs/Input';\nimport {\n SelectInput,\n SelectInputOptionContent,\n type SelectInputProps,\n} from '../inputs/SelectInput';\nimport {\n DateMode,\n MonthFormat,\n Size,\n SizeLarge,\n SizeMedium,\n SizeSmall,\n Typography,\n} from '../common';\nimport { MDY, YMD, getMonthNames, isDateValid, isMonthAndYearFormat } from '../common/dateUtils';\nimport { useFieldLabelRef, useInputAttributes } from '../inputs/contexts';\nimport messages from './DateInput.messages';\nimport { convertToLocalMidnight } from './utils';\n\nexport interface DateInputProps {\n /** @deprecated Use `Field` wrapper or the `aria-labelledby` attribute instead. */\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n disabled?: boolean;\n size?: SizeSmall | SizeMedium | SizeLarge;\n value?: Date | string;\n onChange: (value: string | null) => void;\n onFocus?: React.FocusEventHandler<HTMLDivElement | HTMLFieldSetElement>;\n onBlur?: React.FocusEventHandler<HTMLDivElement | HTMLFieldSetElement>;\n dayLabel?: string;\n dayAutoComplete?: string;\n monthLabel?: string;\n yearLabel?: string;\n yearAutoComplete?: string;\n monthFormat?: `${MonthFormat}`;\n mode?: `${DateMode}`;\n placeholders?: {\n day?: string;\n month?: string;\n year?: string;\n };\n id?: string;\n selectProps?: Partial<SelectInputProps<number | null>>;\n}\n\n/**\n * To be passed to SelectInput's parentId prop for correct blur handling.\n */\nconst DATE_INPUT_PARENT_ID = 'dateInput';\n\nconst DateInput = ({\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-label': ariaLabel,\n disabled = false,\n size = Size.MEDIUM,\n value,\n dayLabel,\n dayAutoComplete,\n monthLabel,\n yearLabel,\n yearAutoComplete,\n monthFormat = MonthFormat.LONG,\n mode = DateMode.DAY_MONTH_YEAR,\n onChange,\n onFocus,\n onBlur,\n placeholders,\n id: idProp,\n selectProps = {},\n}: DateInputProps) => {\n const inputAttributes = useInputAttributes({ nonLabelable: true });\n const fieldLabelRef = useFieldLabelRef();\n const dayRef = useRef<HTMLInputElement>(null);\n const monthRef = useRef<HTMLButtonElement>(null);\n const yearRef = useRef<HTMLInputElement>(null);\n const id = idProp ?? inputAttributes.id;\n const ariaLabelledBy = ariaLabelledByProp ?? inputAttributes['aria-labelledby'];\n\n const { locale, formatMessage } = useIntl();\n\n const getDateObject = (): Date | undefined => {\n if (value && isDateValid(value)) {\n return typeof value === 'string' ? convertToLocalMidnight(value) : value;\n }\n return undefined;\n };\n\n const getInitialDate = (unit: 'year' | 'month' | 'day'): number | null => {\n if (value && isDateValid(value)) {\n const dateObject = getDateObject();\n\n if (typeof value === 'string' && isMonthAndYearFormat(value) && unit === 'day') {\n return null;\n }\n\n if (dateObject !== undefined) {\n switch (unit) {\n case 'year':\n return dateObject.getFullYear();\n case 'month':\n return dateObject.getMonth();\n case 'day':\n return dateObject.getDate();\n default:\n return null;\n }\n }\n }\n return null;\n };\n\n const [day, setDay] = useState(() => getInitialDate('day'));\n const [displayDay, setDisplayDay] = useState(day?.toString());\n const [month, setMonth] = useState(() => getInitialDate('month'));\n const [year, setYear] = useState(() => getInitialDate('year'));\n const [displayYear, setDisplayYear] = useState(year?.toString());\n const [lastBroadcastedValue, setLastBroadcastedValue] = useState<Date | null | undefined>(\n getDateObject,\n );\n const monthNames = getMonthNames(locale, monthFormat);\n\n const monthYearOnly = mode === DateMode.MONTH_YEAR;\n const monthBeforeDay = MDY.has(locale);\n const yearFirst = YMD.has(locale);\n\n dayLabel ||= formatMessage(messages.dayLabel);\n monthLabel ||= formatMessage(messages.monthLabel);\n yearLabel ||= formatMessage(messages.yearLabel);\n placeholders = {\n day: placeholders?.day || formatMessage(messages.dayPlaceholder),\n month: placeholders?.month || formatMessage(messages.monthLabel),\n year: placeholders?.year || formatMessage(messages.yearPlaceholder),\n };\n\n useEffect(() => {\n const labelRef = fieldLabelRef?.current;\n\n if (labelRef) {\n const handleLabelClick = () => {\n // Not the best way to do this, but we're forced to recreate the native Label-click behavior\n if (monthYearOnly || monthBeforeDay) {\n monthRef.current?.click();\n } else if (yearFirst) {\n yearRef.current?.focus();\n } else {\n dayRef.current?.focus();\n }\n };\n\n labelRef.addEventListener('click', handleLabelClick);\n\n return () => {\n labelRef?.removeEventListener('click', handleLabelClick);\n };\n }\n }, [fieldLabelRef, id, monthBeforeDay, monthYearOnly, yearFirst]);\n\n const getDateAsString = (date: Date) => {\n if (!isDateValid(date)) {\n return '';\n }\n switch (mode) {\n case DateMode.MONTH_YEAR:\n return [date.getFullYear(), `0${date.getMonth() + 1}`.slice(-2)].join('-');\n case DateMode.DAY_MONTH_YEAR:\n default:\n return [\n date.getFullYear(),\n `0${date.getMonth() + 1}`.slice(-2),\n `0${date.getDate()}`.slice(-2),\n ].join('-');\n }\n };\n\n const getSelectElement = () => {\n return (\n <label className=\"d-flex flex-column\">\n <Body type={Typography.BODY_DEFAULT}>{monthLabel}</Body>\n <SelectInput\n triggerRef={monthRef}\n id={`${id}:month`}\n parentId={DATE_INPUT_PARENT_ID}\n name=\"month\"\n disabled={disabled}\n placeholder={placeholders?.month}\n items={Array.from({ length: 12 }, (_, index) => ({ type: 'option', value: index }))}\n size={size}\n value={month}\n renderValue={(selectedValue) => (\n <SelectInputOptionContent title={monthNames[selectedValue]} />\n )}\n onChange={(selectedValue) => handleMonthChange(selectedValue)}\n {...selectProps}\n />\n </label>\n );\n };\n\n const isDayValid = (newDay: number, newMonth: number, newYear: number) => {\n const maxDay = new Date(newYear, newMonth + 1, 0).getDate();\n return newDay <= maxDay;\n };\n\n const handleInternalValue = (newDay = day, newMonth = month, newYear = year) => {\n if (newDay == null || newDay === 0 || newMonth == null || newYear == null || newYear === 0) {\n broadcastNewValue(null);\n return;\n }\n if (!isDayValid(newDay, newMonth, newYear)) {\n broadcastNewValue(null);\n return;\n }\n\n const dateValue = new Date(newYear, newMonth, newDay);\n if (newYear < 100) {\n dateValue.setFullYear(newYear);\n }\n\n if (!isDateValid(dateValue)) {\n broadcastNewValue(null);\n return;\n }\n\n if (mode === DateMode.MONTH_YEAR) {\n if (newMonth !== month || newYear !== year) {\n broadcastNewValue(dateValue);\n }\n } else if (newDay !== day || newMonth !== month || newYear !== year) {\n broadcastNewValue(dateValue);\n }\n };\n\n const handleDayChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const newDayString = event.target.value.replace(/\\D/g, '');\n const newDayNumber = Number.parseInt(newDayString, 10);\n\n setDay(newDayNumber);\n setDisplayDay(newDayString);\n handleInternalValue(newDayNumber, month, year);\n };\n\n const handleMonthChange = (selectedMonth: number | null) => {\n if (selectedMonth === null) {\n setMonth(null);\n handleInternalValue(day, null, year);\n return;\n }\n setMonth(selectedMonth);\n handleInternalValue(day, selectedMonth, year);\n };\n\n const handleYearChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const newYearString = event.target.value.replace(/\\D/g, '');\n const newYearNumber = Number.parseInt(newYearString, 10);\n\n if (newYearString.length >= 4 && newYearString.length <= 6) {\n setYear(newYearNumber);\n setDisplayYear(newYearString);\n handleInternalValue(day, month, newYearNumber);\n } else {\n setYear(null);\n setDisplayYear(newYearString);\n handleInternalValue(day, month, null);\n }\n };\n\n const broadcastNewValue = (newValue: Date | null) => {\n if (newValue !== lastBroadcastedValue) {\n setLastBroadcastedValue(newValue);\n onChange(newValue != null ? getDateAsString(newValue) : null);\n }\n };\n\n const monthWidth = clsx({\n 'col-sm-8 tw-date--month': monthYearOnly,\n 'col-sm-5 tw-date--month': !monthYearOnly,\n });\n\n const getMonth = () => {\n return <div className={monthWidth}>{getSelectElement()}</div>;\n };\n\n const getDay = () => {\n return (\n <div className=\"col-sm-3 tw-date--day\">\n <label>\n <Body type={Typography.BODY_DEFAULT}>{dayLabel}</Body>\n <div className={`input-group input-group-${size} ${disabled ? 'disabled' : ''}`}>\n <Input\n ref={dayRef}\n id={`${id}:day`}\n type=\"text\"\n inputMode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"day\"\n autoComplete={dayAutoComplete}\n value={displayDay || ''}\n placeholder={placeholders?.day}\n disabled={disabled}\n min={1}\n max={31}\n maxLength={2}\n onChange={(event) => handleDayChange(event)}\n />\n </div>\n </label>\n </div>\n );\n };\n\n const getYear = () => {\n return (\n <div className=\"col-sm-4 tw-date--year\">\n <label>\n <Body type={Typography.BODY_DEFAULT}>{yearLabel}</Body>\n <div className={`input-group input-group-${size} ${disabled ? 'disabled' : ''}`}>\n <Input\n ref={yearRef}\n id={`${id}:year`}\n type=\"text\"\n inputMode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"year\"\n autoComplete={yearAutoComplete}\n placeholder={placeholders?.year}\n value={displayYear || ''}\n disabled={disabled}\n min={0}\n max={9999}\n maxLength={6}\n onChange={(event) => handleYearChange(event)}\n />\n </div>\n </label>\n </div>\n );\n };\n\n return (\n <fieldset\n id={id}\n className=\"tw-date\"\n aria-describedby={inputAttributes['aria-describedby']}\n aria-invalid={inputAttributes['aria-invalid']}\n aria-labelledby={ariaLabelledBy}\n aria-label={ariaLabel}\n data-wds-dateinput=\"\"\n onFocus={(event) =>\n shouldPropagateOnFocus(event) ? onFocus?.(event) : event.stopPropagation()\n }\n onBlur={(event) => (shouldPropagateOnBlur(event) ? onBlur?.(event) : event.stopPropagation())}\n >\n <div className=\"row\">\n {(() => {\n if (monthYearOnly) {\n return (\n <>\n {!yearFirst && getMonth()}\n {getYear()}\n {yearFirst && getMonth()}\n </>\n );\n }\n if (monthBeforeDay) {\n return (\n <>\n {getMonth()}\n {getDay()}\n {getYear()}\n </>\n );\n }\n if (yearFirst) {\n return (\n <>\n {getYear()}\n {getMonth()}\n {getDay()}\n </>\n );\n }\n return (\n <>\n {getDay()}\n {getMonth()}\n {getYear()}\n </>\n );\n })()}\n </div>\n </fieldset>\n );\n};\n\n// Should only propagate if the relatedTarget is not part of this DateInput component.\nfunction shouldPropagateOnFocus({\n target,\n relatedTarget,\n}: Pick<React.FocusEvent, 'target' | 'relatedTarget'>) {\n const blurredElementParent = target.closest('[data-wds-dateinput]');\n const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');\n return blurredElementParent !== focusedElementParent;\n}\n\n// Should only propagate if the focus-gaining element is not part\n// of this DateInput component or the (dropdown) of the month select.\nfunction shouldPropagateOnBlur({\n target,\n relatedTarget,\n}: Pick<React.FocusEvent, 'target' | 'relatedTarget'>) {\n const blurredElementParent = target.closest('[data-wds-dateinput]');\n const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');\n\n return (\n blurredElementParent !== focusedElementParent &&\n !target?.closest(`[data-wds-parent=\"${DATE_INPUT_PARENT_ID}\"]`) &&\n !relatedTarget?.closest(`[data-wds-parent=\"${DATE_INPUT_PARENT_ID}\"]`)\n );\n}\n\nexport default DateInput;\n"],"names":["DATE_INPUT_PARENT_ID","DateInput","ariaLabelledByProp","ariaLabel","disabled","size","Size","MEDIUM","value","dayLabel","dayAutoComplete","monthLabel","yearLabel","yearAutoComplete","monthFormat","MonthFormat","LONG","mode","DateMode","DAY_MONTH_YEAR","onChange","onFocus","onBlur","placeholders","id","idProp","selectProps","inputAttributes","useInputAttributes","nonLabelable","fieldLabelRef","useFieldLabelRef","dayRef","useRef","monthRef","yearRef","ariaLabelledBy","locale","formatMessage","useIntl","getDateObject","isDateValid","convertToLocalMidnight","undefined","getInitialDate","unit","dateObject","isMonthAndYearFormat","getFullYear","getMonth","getDate","day","setDay","useState","displayDay","setDisplayDay","toString","month","setMonth","year","setYear","displayYear","setDisplayYear","lastBroadcastedValue","setLastBroadcastedValue","monthNames","getMonthNames","monthYearOnly","MONTH_YEAR","monthBeforeDay","MDY","has","yearFirst","YMD","messages","dayPlaceholder","yearPlaceholder","useEffect","labelRef","current","handleLabelClick","click","focus","addEventListener","removeEventListener","getDateAsString","date","slice","join","getSelectElement","_jsxs","className","children","_jsx","Body","type","Typography","BODY_DEFAULT","SelectInput","triggerRef","parentId","name","placeholder","items","Array","from","length","_","index","renderValue","selectedValue","SelectInputOptionContent","title","handleMonthChange","isDayValid","newDay","newMonth","newYear","maxDay","Date","handleInternalValue","broadcastNewValue","dateValue","setFullYear","handleDayChange","event","newDayString","target","replace","newDayNumber","Number","parseInt","selectedMonth","handleYearChange","newYearString","newYearNumber","newValue","monthWidth","clsx","getDay","Input","ref","inputMode","pattern","autoComplete","min","max","maxLength","getYear","shouldPropagateOnFocus","stopPropagation","shouldPropagateOnBlur","_Fragment","relatedTarget","blurredElementParent","closest","focusedElementParent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmDA;AACA;AACA;AACA,MAAMA,oBAAoB,GAAG,WAAW;AAExC,MAAMC,SAAS,GAAGA,CAAC;AACjB,EAAA,iBAAiB,EAAEC,kBAAkB;AACrC,EAAA,YAAY,EAAEC,SAAS;AACvBC,EAAAA,QAAQ,GAAG,KAAK;EAChBC,IAAI,GAAGC,IAAI,CAACC,MAAM;EAClBC,KAAK;EACLC,QAAQ;EACRC,eAAe;EACfC,UAAU;EACVC,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AM,EAAE,EACR1F,QAAQ,EAAE,EACVmG,OAAO,EAAE;AAAA,SACV,CAAC;AAEP,MAAA,CAAC;KACE;AAAC,GACE,CAAC;AAEf;;AAEA;AACA,SAASC,sBAAsBA,CAAC;EAC9BtB,MAAM;AACN0B,EAAAA;AACkD,CAAC,EAAE;AACrD,EAAA,MAAMC,oBAAoB,GAAG3B,MAAM,CAAC4B,OAAO,CAAC,sBAAsB,CAAC;AACnE,EAAA,MAAMC,oBAAoB,GAAGH,aAAa,EAAEE,OAAO,CAAC,sBAAsB,CAAC;EAC3E,OAAOD,oBAAoB,KAAKE,oBAAoB;AACtD;;AAEA;AACA;AACA,SAASL,qBAAqBA,CAAC;EAC7BxB,MAAM;AACN0B,EAAAA;AACkD,CAAC,EAAE;AACrD,EAAA,MAAMC,oBAAoB,GAAG3B,MAAM,CAAC4B,OAAO,CAAC,sBAAsB,CAAC;AACnE,EAAA,MAAMC,oBAAoB,GAAGH,aAAa,EAAEE,OAAO,CAAC,sBAAsB,CAAC;EAE3E,OACED,oBAAoB,KAAKE,oBAAoB,IAC7C,CAAC7B,MAAM,EAAE4B,OAAO,CAAC,CAAA,kBAAA,EAAqB3J,oBAAoB,IAAI,CAAC,IAC/D,CAACyJ,aAAa,EAAEE,OAAO,CAAC,CAAA,kBAAA,EAAqB3J,oBAAoB,CAAA,EAAA,CAAI,CAAC;AAE1E;;;;"}
|
|
1
|
+
{"version":3,"file":"DateInput.mjs","sources":["../../src/dateInput/DateInput.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useEffect, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Body from '../body';\nimport { Input } from '../inputs/Input';\nimport {\n SelectInput,\n SelectInputOptionContent,\n type SelectInputProps,\n} from '../inputs/SelectInput';\nimport {\n DateMode,\n MonthFormat,\n Size,\n SizeLarge,\n SizeMedium,\n SizeSmall,\n Typography,\n} from '../common';\nimport { MDY, YMD, getMonthNames, isDateValid, isMonthAndYearFormat } from '../common/dateUtils';\nimport { useFieldLabelRef, useInputAttributes } from '../inputs/contexts';\nimport messages from './DateInput.messages';\nimport { convertToLocalMidnight } from './utils';\n\nexport interface DateInputProps {\n /** @deprecated Use `Field` wrapper or the `aria-labelledby` attribute instead. */\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n disabled?: boolean;\n size?: SizeSmall | SizeMedium | SizeLarge;\n value?: Date | string;\n onChange: (value: string | null) => void;\n onFocus?: React.FocusEventHandler<HTMLDivElement | HTMLFieldSetElement>;\n onBlur?: React.FocusEventHandler<HTMLDivElement | HTMLFieldSetElement>;\n dayLabel?: string;\n dayAutoComplete?: string;\n monthLabel?: string;\n yearLabel?: string;\n yearAutoComplete?: string;\n monthFormat?: `${MonthFormat}`;\n mode?: `${DateMode}`;\n placeholders?: {\n day?: string;\n month?: string;\n year?: string;\n };\n id?: string;\n selectProps?: Partial<SelectInputProps<number | null>>;\n}\n\n/**\n * To be passed to SelectInput's parentId prop for correct blur handling.\n */\nconst DATE_INPUT_PARENT_ID = 'dateInput';\n\nconst DateInput = ({\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-label': ariaLabel,\n disabled = false,\n size = Size.MEDIUM,\n value,\n dayLabel,\n dayAutoComplete,\n monthLabel,\n yearLabel,\n yearAutoComplete,\n monthFormat = MonthFormat.LONG,\n mode = DateMode.DAY_MONTH_YEAR,\n onChange,\n onFocus,\n onBlur,\n placeholders,\n id: idProp,\n selectProps = {},\n}: DateInputProps) => {\n const inputAttributes = useInputAttributes({ nonLabelable: true });\n const fieldLabelRef = useFieldLabelRef();\n const dayRef = useRef<HTMLInputElement>(null);\n const monthRef = useRef<HTMLButtonElement>(null);\n const yearRef = useRef<HTMLInputElement>(null);\n const id = idProp ?? inputAttributes.id;\n const ariaLabelledBy = ariaLabelledByProp ?? inputAttributes['aria-labelledby'];\n\n const { locale, formatMessage } = useIntl();\n\n const getDateObject = (): Date | undefined => {\n if (value && isDateValid(value)) {\n return typeof value === 'string' ? convertToLocalMidnight(value) : value;\n }\n return undefined;\n };\n\n const getInitialDate = (unit: 'year' | 'month' | 'day'): number | null => {\n if (value && isDateValid(value)) {\n const dateObject = getDateObject();\n\n if (typeof value === 'string' && isMonthAndYearFormat(value) && unit === 'day') {\n return null;\n }\n\n if (dateObject !== undefined) {\n switch (unit) {\n case 'year':\n return dateObject.getFullYear();\n case 'month':\n return dateObject.getMonth();\n case 'day':\n return dateObject.getDate();\n default:\n return null;\n }\n }\n }\n return null;\n };\n\n const [day, setDay] = useState(() => getInitialDate('day'));\n const [displayDay, setDisplayDay] = useState(day?.toString());\n const [month, setMonth] = useState(() => getInitialDate('month'));\n const [year, setYear] = useState(() => getInitialDate('year'));\n const [displayYear, setDisplayYear] = useState(year?.toString());\n const [lastBroadcastedValue, setLastBroadcastedValue] = useState<Date | null | undefined>(\n getDateObject,\n );\n const monthNames = getMonthNames(locale, monthFormat);\n\n const monthYearOnly = mode === DateMode.MONTH_YEAR;\n const monthBeforeDay = MDY.has(locale);\n const yearFirst = YMD.has(locale);\n\n dayLabel ||= formatMessage(messages.dayLabel);\n monthLabel ||= formatMessage(messages.monthLabel);\n yearLabel ||= formatMessage(messages.yearLabel);\n placeholders = {\n day: placeholders?.day || formatMessage(messages.dayPlaceholder),\n month: placeholders?.month || formatMessage(messages.monthLabel),\n year: placeholders?.year || formatMessage(messages.yearPlaceholder),\n };\n\n useEffect(() => {\n const labelRef = fieldLabelRef?.current;\n\n if (labelRef) {\n const handleLabelClick = () => {\n // Not the best way to do this, but we're forced to recreate the native Label-click behavior\n if (monthYearOnly || monthBeforeDay) {\n monthRef.current?.click();\n } else if (yearFirst) {\n yearRef.current?.focus();\n } else {\n dayRef.current?.focus();\n }\n };\n\n labelRef.addEventListener('click', handleLabelClick);\n\n return () => {\n labelRef?.removeEventListener('click', handleLabelClick);\n };\n }\n }, [fieldLabelRef, id, monthBeforeDay, monthYearOnly, yearFirst]);\n\n const getDateAsString = (date: Date) => {\n if (!isDateValid(date)) {\n return '';\n }\n switch (mode) {\n case DateMode.MONTH_YEAR:\n return [date.getFullYear(), `0${date.getMonth() + 1}`.slice(-2)].join('-');\n case DateMode.DAY_MONTH_YEAR:\n default:\n return [\n date.getFullYear(),\n `0${date.getMonth() + 1}`.slice(-2),\n `0${date.getDate()}`.slice(-2),\n ].join('-');\n }\n };\n\n const getSelectElement = () => {\n return (\n <label className=\"d-flex flex-column\">\n <Body type={Typography.BODY_DEFAULT}>{monthLabel}</Body>\n <SelectInput\n triggerRef={monthRef}\n id={`${id}:month`}\n parentId={DATE_INPUT_PARENT_ID}\n name=\"month\"\n disabled={disabled}\n placeholder={placeholders?.month}\n items={Array.from({ length: 12 }, (_, index) => ({ type: 'option', value: index }))}\n size={size}\n value={month}\n renderValue={(selectedValue) => (\n <SelectInputOptionContent title={monthNames[selectedValue]} />\n )}\n onChange={(selectedValue) => handleMonthChange(selectedValue)}\n {...selectProps}\n />\n </label>\n );\n };\n\n const isDayValid = (newDay: number, newMonth: number, newYear: number) => {\n const maxDay = new Date(newYear, newMonth + 1, 0).getDate();\n return newDay <= maxDay;\n };\n\n const handleInternalValue = (newDay = day, newMonth = month, newYear = year) => {\n if (newDay == null || newDay === 0 || newMonth == null || newYear == null || newYear === 0) {\n broadcastNewValue(null);\n return;\n }\n if (!isDayValid(newDay, newMonth, newYear)) {\n broadcastNewValue(null);\n return;\n }\n\n const dateValue = new Date(newYear, newMonth, newDay);\n if (newYear < 100) {\n dateValue.setFullYear(newYear);\n }\n\n if (!isDateValid(dateValue)) {\n broadcastNewValue(null);\n return;\n }\n\n if (mode === DateMode.MONTH_YEAR) {\n if (newMonth !== month || newYear !== year) {\n broadcastNewValue(dateValue);\n }\n } else if (newDay !== day || newMonth !== month || newYear !== year) {\n broadcastNewValue(dateValue);\n }\n };\n\n const handleDayChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const newDayString = event.target.value.replace(/\\D/g, '');\n const newDayNumber = Number.parseInt(newDayString, 10);\n\n setDay(newDayNumber);\n setDisplayDay(newDayString);\n handleInternalValue(newDayNumber, month, year);\n };\n\n const handleMonthChange = (selectedMonth: number | null) => {\n if (selectedMonth === null) {\n setMonth(null);\n handleInternalValue(day, null, year);\n return;\n }\n setMonth(selectedMonth);\n handleInternalValue(day, selectedMonth, year);\n };\n\n const handleYearChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const newYearString = event.target.value.replace(/\\D/g, '');\n const newYearNumber = Number.parseInt(newYearString, 10);\n\n if (newYearString.length >= 4 && newYearString.length <= 6) {\n setYear(newYearNumber);\n setDisplayYear(newYearString);\n handleInternalValue(day, month, newYearNumber);\n } else {\n setYear(null);\n setDisplayYear(newYearString);\n handleInternalValue(day, month, null);\n }\n };\n\n const broadcastNewValue = (newValue: Date | null) => {\n if (newValue !== lastBroadcastedValue) {\n setLastBroadcastedValue(newValue);\n onChange(newValue != null ? getDateAsString(newValue) : null);\n }\n };\n\n const monthWidth = clsx({\n 'col-sm-8 tw-date--month': monthYearOnly,\n 'col-sm-5 tw-date--month': !monthYearOnly,\n });\n\n const getMonth = () => {\n return <div className={monthWidth}>{getSelectElement()}</div>;\n };\n\n const getDay = () => {\n return (\n <div className=\"col-sm-3 tw-date--day\">\n <label>\n <Body type={Typography.BODY_DEFAULT}>{dayLabel}</Body>\n <div className={`input-group input-group-${size} ${disabled ? 'disabled' : ''}`}>\n <Input\n ref={dayRef}\n id={`${id}:day`}\n type=\"text\"\n inputMode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"day\"\n autoComplete={dayAutoComplete}\n value={displayDay || ''}\n placeholder={placeholders?.day}\n disabled={disabled}\n min={1}\n max={31}\n maxLength={2}\n onChange={(event) => handleDayChange(event)}\n />\n </div>\n </label>\n </div>\n );\n };\n\n const getYear = () => {\n return (\n <div className=\"col-sm-4 tw-date--year\">\n <label>\n <Body type={Typography.BODY_DEFAULT}>{yearLabel}</Body>\n <div className={`input-group input-group-${size} ${disabled ? 'disabled' : ''}`}>\n <Input\n ref={yearRef}\n id={`${id}:year`}\n type=\"text\"\n inputMode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"year\"\n autoComplete={yearAutoComplete}\n placeholder={placeholders?.year}\n value={displayYear || ''}\n disabled={disabled}\n min={0}\n max={9999}\n maxLength={6}\n onChange={(event) => handleYearChange(event)}\n />\n </div>\n </label>\n </div>\n );\n };\n\n return (\n <fieldset\n id={id}\n className=\"tw-date\"\n aria-describedby={inputAttributes['aria-describedby']}\n aria-invalid={inputAttributes['aria-invalid']}\n aria-labelledby={ariaLabelledBy}\n aria-label={ariaLabel}\n data-wds-dateinput=\"\"\n onFocus={(event) =>\n shouldPropagateOnFocus(event) ? onFocus?.(event) : event.stopPropagation()\n }\n onBlur={(event) => (shouldPropagateOnBlur(event) ? onBlur?.(event) : event.stopPropagation())}\n >\n <div className=\"row\">\n {(() => {\n if (monthYearOnly) {\n return (\n <>\n {!yearFirst && getMonth()}\n {getYear()}\n {yearFirst && getMonth()}\n </>\n );\n }\n if (monthBeforeDay) {\n return (\n <>\n {getMonth()}\n {getDay()}\n {getYear()}\n </>\n );\n }\n if (yearFirst) {\n return (\n <>\n {getYear()}\n {getMonth()}\n {getDay()}\n </>\n );\n }\n return (\n <>\n {getDay()}\n {getMonth()}\n {getYear()}\n </>\n );\n })()}\n </div>\n </fieldset>\n );\n};\n\n// Should only propagate if the relatedTarget is not part of this DateInput component.\nfunction shouldPropagateOnFocus({\n target,\n relatedTarget,\n}: Pick<React.FocusEvent, 'target' | 'relatedTarget'>) {\n const blurredElementParent = target.closest('[data-wds-dateinput]');\n const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');\n return blurredElementParent !== focusedElementParent;\n}\n\n// Should only propagate if the focus-gaining element is not part\n// of this DateInput component or the (dropdown) of the month select.\nfunction shouldPropagateOnBlur({\n target,\n relatedTarget,\n}: Pick<React.FocusEvent, 'target' | 'relatedTarget'>) {\n const blurredElementParent = target.closest('[data-wds-dateinput]');\n const focusedElementParent = relatedTarget?.closest('[data-wds-dateinput]');\n\n return (\n blurredElementParent !== focusedElementParent &&\n !target?.closest(`[data-wds-parent=\"${DATE_INPUT_PARENT_ID}\"]`) &&\n !relatedTarget?.closest(`[data-wds-parent=\"${DATE_INPUT_PARENT_ID}\"]`)\n );\n}\n\nexport default DateInput;\n"],"names":["DATE_INPUT_PARENT_ID","DateInput","ariaLabelledByProp","ariaLabel","disabled","size","Size","MEDIUM","value","dayLabel","dayAutoComplete","monthLabel","yearLabel","yearAutoComplete","monthFormat","MonthFormat","LONG","mode","DateMode","DAY_MONTH_YEAR","onChange","onFocus","onBlur","placeholders","id","idProp","selectProps","inputAttributes","useInputAttributes","nonLabelable","fieldLabelRef","useFieldLabelRef","dayRef","useRef","monthRef","yearRef","ariaLabelledBy","locale","formatMessage","useIntl","getDateObject","isDateValid","convertToLocalMidnight","undefined","getInitialDate","unit","dateObject","isMonthAndYearFormat","getFullYear","getMonth","getDate","day","setDay","useState","displayDay","setDisplayDay","toString","month","setMonth","year","setYear","displayYear","setDisplayYear","lastBroadcastedValue","setLastBroadcastedValue","monthNames","getMonthNames","monthYearOnly","MONTH_YEAR","monthBeforeDay","MDY","has","yearFirst","YMD","messages","dayPlaceholder","yearPlaceholder","useEffect","labelRef","current","handleLabelClick","click","focus","addEventListener","removeEventListener","getDateAsString","date","slice","join","getSelectElement","_jsxs","className","children","_jsx","Body","type","Typography","BODY_DEFAULT","SelectInput","triggerRef","parentId","name","placeholder","items","Array","from","length","_","index","renderValue","selectedValue","SelectInputOptionContent","title","handleMonthChange","isDayValid","newDay","newMonth","newYear","maxDay","Date","handleInternalValue","broadcastNewValue","dateValue","setFullYear","handleDayChange","event","newDayString","target","replace","newDayNumber","Number","parseInt","selectedMonth","handleYearChange","newYearString","newYearNumber","newValue","monthWidth","clsx","getDay","Input","ref","inputMode","pattern","autoComplete","min","max","maxLength","getYear","shouldPropagateOnFocus","stopPropagation","shouldPropagateOnBlur","_Fragment","relatedTarget","blurredElementParent","closest","focusedElementParent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;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Midnight/convertToLocalMidnight.ts"],"sourcesContent":["export const convertToLocalMidnight = (date: string) => {\n const utcDate = new Date(date.split('T')[0]); // using YYYY-MM-DD creates UTC date\n\n return new Date(utcDate.getUTCFullYear(), utcDate.getUTCMonth(), utcDate.getUTCDate());\n};\n"],"names":["convertToLocalMidnight","date","utcDate","Date","split","getUTCFullYear","getUTCMonth","getUTCDate"],"mappings":";;AAAO,MAAMA,sBAAsB,GAAIC,IAAY,
|
|
1
|
+
{"version":3,"file":"convertToLocalMidnight.js","sources":["../../../../src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.ts"],"sourcesContent":["export const convertToLocalMidnight = (date: string) => {\n const utcDate = new Date(date.split('T')[0]); // using YYYY-MM-DD creates UTC date\n\n return new Date(utcDate.getUTCFullYear(), utcDate.getUTCMonth(), utcDate.getUTCDate());\n};\n"],"names":["convertToLocalMidnight","date","utcDate","Date","split","getUTCFullYear","getUTCMonth","getUTCDate"],"mappings":";;AAAO,MAAMA,sBAAsB,GAAIC,IAAY,IAAI;AACrD,EAAA,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAACF,IAAI,CAACG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;EAE7C,OAAO,IAAID,IAAI,CAACD,OAAO,CAACG,cAAc,EAAE,EAAEH,OAAO,CAACI,WAAW,EAAE,EAAEJ,OAAO,CAACK,UAAU,EAAE,CAAC;AACxF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convertToLocalMidnight.mjs","sources":["../../../../src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.ts"],"sourcesContent":["export const convertToLocalMidnight = (date: string) => {\n const utcDate = new Date(date.split('T')[0]); // using YYYY-MM-DD creates UTC date\n\n return new Date(utcDate.getUTCFullYear(), utcDate.getUTCMonth(), utcDate.getUTCDate());\n};\n"],"names":["convertToLocalMidnight","date","utcDate","Date","split","getUTCFullYear","getUTCMonth","getUTCDate"],"mappings":"AAAO,MAAMA,sBAAsB,GAAIC,IAAY,
|
|
1
|
+
{"version":3,"file":"convertToLocalMidnight.mjs","sources":["../../../../src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.ts"],"sourcesContent":["export const convertToLocalMidnight = (date: string) => {\n const utcDate = new Date(date.split('T')[0]); // using YYYY-MM-DD creates UTC date\n\n return new Date(utcDate.getUTCFullYear(), utcDate.getUTCMonth(), utcDate.getUTCDate());\n};\n"],"names":["convertToLocalMidnight","date","utcDate","Date","split","getUTCFullYear","getUTCMonth","getUTCDate"],"mappings":"AAAO,MAAMA,sBAAsB,GAAIC,IAAY,IAAI;AACrD,EAAA,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAACF,IAAI,CAACG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;EAE7C,OAAO,IAAID,IAAI,CAACD,OAAO,CAACG,cAAc,EAAE,EAAEH,OAAO,CAACI,WAAW,EAAE,EAAEJ,OAAO,CAACK,UAAU,EAAE,CAAC;AACxF;;;;"}
|
|
@@ -4,10 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var React = require('react');
|
|
7
|
+
require('../common/theme.js');
|
|
8
|
+
require('../common/direction.js');
|
|
9
|
+
require('../common/propsValues/control.js');
|
|
7
10
|
var breakpoint = require('../common/propsValues/breakpoint.js');
|
|
8
11
|
var size = require('../common/propsValues/size.js');
|
|
12
|
+
require('../common/propsValues/typography.js');
|
|
13
|
+
require('../common/propsValues/width.js');
|
|
14
|
+
require('../common/propsValues/type.js');
|
|
15
|
+
require('../common/propsValues/dateMode.js');
|
|
9
16
|
var monthFormat = require('../common/propsValues/monthFormat.js');
|
|
10
17
|
var position = require('../common/propsValues/position.js');
|
|
18
|
+
require('../common/propsValues/layouts.js');
|
|
19
|
+
require('../common/propsValues/status.js');
|
|
20
|
+
require('../common/propsValues/sentiment.js');
|
|
21
|
+
require('../common/propsValues/profileType.js');
|
|
22
|
+
require('../common/propsValues/variant.js');
|
|
23
|
+
require('../common/propsValues/scroll.js');
|
|
24
|
+
require('../common/propsValues/markdownNodeType.js');
|
|
25
|
+
require('../common/fileType.js');
|
|
11
26
|
require('@transferwise/icons');
|
|
12
27
|
require('react-intl');
|
|
13
28
|
require('../common/closeButton/CloseButton.messages.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateLookup.js","sources":["../../src/dateLookup/DateLookup.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { createRef, PureComponent, KeyboardEvent } from 'react';\n\nimport {\n Size,\n MonthFormat,\n Position,\n Breakpoint,\n type SizeSmall,\n type SizeMedium,\n type SizeLarge,\n} from '../common';\nimport { isWithinRange, moveToWithinRange, returnDateView } from '../common/dateUtils';\nimport ResponsivePanel from '../common/responsivePanel';\nimport { WithInputAttributesProps, withInputAttributes } from '../inputs/contexts';\nimport { OverlayIdProvider } from '../provider/overlay/OverlayIdProvider';\nimport DateTrigger from './dateTrigger';\nimport DayCalendar from './dayCalendar';\nimport { getStartOfDay } from './getStartOfDay';\nimport MonthCalendar from './monthCalendar';\nimport YearCalendar from './yearCalendar';\n\nexport interface DateLookupProps {\n id?: string;\n value: Date | null;\n min?: Date | null;\n max?: Date | null;\n size?: SizeSmall | SizeMedium | SizeLarge;\n placeholder?: string;\n label?: string;\n 'aria-labelledby'?: string;\n monthFormat?: `${MonthFormat}`;\n disabled?: boolean;\n clearable?: boolean;\n onChange: (date: Date | null) => void;\n onFocus?: () => void;\n onBlur?: () => void;\n}\n\ntype DateLookupPropsWithInputAttributes = DateLookupProps & Partial<WithInputAttributesProps>;\n\ninterface DateLookupState {\n selectedDate: Date | null;\n originalDate: Date | null;\n min: Date | null;\n max: Date | null;\n viewMonth: number;\n viewYear: number;\n open: boolean;\n mode: 'day' | 'month' | 'year';\n isMobile: boolean;\n}\n\nclass DateLookup extends PureComponent<DateLookupPropsWithInputAttributes, DateLookupState> {\n declare props: DateLookupPropsWithInputAttributes &\n Required<Pick<DateLookupPropsWithInputAttributes, keyof typeof DateLookup.defaultProps>>;\n\n static defaultProps = {\n value: null,\n min: null,\n max: null,\n size: Size.MEDIUM,\n placeholder: '',\n label: '',\n monthFormat: MonthFormat.LONG,\n disabled: false,\n clearable: false,\n } satisfies Partial<DateLookupPropsWithInputAttributes>;\n\n element = createRef<HTMLDivElement>();\n dropdown = createRef<HTMLDivElement>();\n\n constructor(props: DateLookup['props']) {\n super(props);\n const dateView = returnDateView(props.value, props.min, props.max);\n this.state = {\n selectedDate: getStartOfDay(props.value),\n originalDate: null,\n min: getStartOfDay(props.min),\n max: getStartOfDay(props.max),\n viewMonth: dateView.getMonth(),\n viewYear: dateView.getFullYear(),\n open: false,\n mode: 'day',\n isMobile: false,\n };\n }\n\n static getDerivedStateFromProps(props: DateLookup['props'], state: DateLookupState) {\n const propsSelected = getStartOfDay(props.value);\n const propsMin = getStartOfDay(props.min);\n const propsMax = getStartOfDay(props.max);\n const hasSelectedChanged = state.selectedDate?.getTime() !== propsSelected?.getTime();\n const hasMinChanged = state.min?.getTime() !== propsMin?.getTime();\n const hasMaxChanged = state.max?.getTime() !== propsMax?.getTime();\n if (hasSelectedChanged || hasMinChanged || hasMaxChanged) {\n const selectedDate = hasSelectedChanged ? propsSelected : state.selectedDate;\n const min = hasMinChanged ? propsMin : state.min;\n const max = hasMaxChanged ? propsMax : state.max;\n if (selectedDate && !isWithinRange(selectedDate, min, max)) {\n props.onChange(moveToWithinRange(selectedDate, min, max));\n return null;\n }\n const viewDateThatIsWithinRange: Date = returnDateView(selectedDate, min, max);\n const viewMonth = viewDateThatIsWithinRange.getMonth();\n const viewYear = viewDateThatIsWithinRange.getFullYear();\n return { selectedDate, min, max, viewMonth, viewYear };\n }\n return null;\n }\n\n componentDidUpdate(previousProps: DateLookupPropsWithInputAttributes) {\n if (this.props.value?.getTime() !== previousProps.value?.getTime() && this.state.open) {\n this.focusOn('.active');\n }\n const mediaQuery = window.matchMedia(`(max-width: ${Breakpoint.SMALL}px)`);\n this.setState({ isMobile: mediaQuery.matches });\n }\n\n componentWillUnmount() {\n // Prevents memory leak by cleaning state.\n this.setState = () => {};\n }\n\n open = () => {\n const { onFocus } = this.props;\n\n this.setState({ open: true, mode: 'day' });\n if (onFocus) {\n onFocus();\n }\n };\n\n discard = () => {\n const { originalDate } = this.state;\n if (originalDate !== null) {\n this.props.onChange(originalDate);\n }\n this.close();\n };\n\n close = () => {\n const { onBlur } = this.props;\n this.setState({ open: false, originalDate: null });\n if (onBlur) {\n onBlur();\n }\n };\n\n handleKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {\n const { open, originalDate } = this.state;\n switch (event.key) {\n case 'ArrowLeft':\n if (open) {\n this.adjustDate(-1, -1, -1);\n } else {\n this.open();\n }\n event.preventDefault();\n break;\n case 'ArrowUp':\n if (open) {\n this.adjustDate(-7, -4, -4);\n } else {\n this.open();\n }\n event.preventDefault();\n break;\n case 'ArrowRight':\n if (open) {\n this.adjustDate(1, 1, 1);\n } else {\n this.open();\n }\n event.preventDefault();\n break;\n case 'ArrowDown':\n if (open) {\n this.adjustDate(7, 4, 4);\n } else {\n this.open();\n }\n event.preventDefault();\n break;\n case 'Escape':\n if (originalDate !== null) {\n this.props.onChange(originalDate);\n }\n this.close();\n event.preventDefault();\n break;\n default:\n break;\n }\n };\n\n adjustDate = (daysToAdd: number, monthsToAdd: number, yearsToAdd: number) => {\n const { selectedDate, min, max, mode, originalDate } = this.state;\n if (originalDate === null) {\n this.setState({ originalDate: selectedDate });\n }\n let date: Date | null;\n if (selectedDate) {\n date = new Date(\n mode === 'year' ? selectedDate.getFullYear() + yearsToAdd : selectedDate.getFullYear(),\n mode === 'month' ? selectedDate.getMonth() + monthsToAdd : selectedDate.getMonth(),\n mode === 'day' ? selectedDate.getDate() + daysToAdd : selectedDate.getDate(),\n );\n } else {\n date = getStartOfDay(new Date());\n }\n date &&= moveToWithinRange(date, min, max);\n if (date?.getTime() !== selectedDate?.getTime()) {\n this.props.onChange(date);\n }\n };\n\n focusOn = (preferredElement: string, fallbackElement?: string) => {\n const element = this.element.current?.querySelector(preferredElement) as HTMLElement | null;\n if (element) {\n element.focus();\n } else if (fallbackElement) {\n this.focusOn(fallbackElement);\n }\n };\n\n switchMode = (mode: 'day' | 'month' | 'year') => {\n this.setState({ mode }, () => {\n this.focusOn('.active', '.today');\n });\n };\n\n switchToDays = () => this.switchMode('day');\n\n switchToMonths = () => this.switchMode('month');\n\n switchToYears = () => this.switchMode('year');\n\n handleSelectedDateUpdate = (selectedDate: Date) => {\n this.setState({ selectedDate }, () => {\n this.props.onChange(selectedDate);\n this.close();\n this.focusOn('.btn');\n });\n };\n\n handleViewDateUpdate = ({ month = this.state.viewMonth, year = this.state.viewYear }) => {\n this.setState({ viewMonth: month, viewYear: year });\n };\n\n getCalendar = () => {\n const { selectedDate, min, max, viewMonth, viewYear, mode, isMobile } = this.state;\n const { placeholder, monthFormat } = this.props;\n return (\n <div className={clsx({ 'p-a-1': !isMobile })}>\n {mode === 'day' && (\n <DayCalendar\n selectedDate={selectedDate}\n min={min}\n max={max}\n viewMonth={viewMonth}\n viewYear={viewYear}\n monthFormat={monthFormat}\n onSelect={this.handleSelectedDateUpdate}\n onLabelClick={this.switchToYears}\n onViewDateUpdate={this.handleViewDateUpdate}\n />\n )}\n {mode === 'month' && (\n <MonthCalendar\n selectedDate={selectedDate}\n min={min}\n max={max}\n viewYear={viewYear}\n placeholder={placeholder}\n onSelect={this.switchToDays}\n onLabelClick={this.switchToYears}\n onViewDateUpdate={this.handleViewDateUpdate}\n />\n )}\n {mode === 'year' && (\n <YearCalendar\n selectedDate={selectedDate}\n min={min}\n max={max}\n viewYear={viewYear}\n placeholder={placeholder}\n onSelect={this.switchToMonths}\n onViewDateUpdate={this.handleViewDateUpdate}\n />\n )}\n </div>\n );\n };\n\n handleClear = () => {\n this.props.onChange(null);\n this.focusOn('.np-date-trigger');\n };\n\n render() {\n const { selectedDate, open } = this.state;\n\n const {\n inputAttributes,\n id: idProp,\n 'aria-labelledby': ariaLabelledByProp,\n size,\n placeholder,\n label,\n monthFormat,\n disabled,\n clearable,\n value,\n } = this.props;\n const id = idProp ?? inputAttributes?.id;\n const ariaLabelledBy = ariaLabelledByProp ?? inputAttributes?.['aria-labelledby'];\n\n return (\n <div\n ref={this.element}\n aria-labelledby={id}\n aria-invalid={inputAttributes?.['aria-invalid']}\n aria-describedby={inputAttributes?.['aria-describedby']}\n className=\"input-group\"\n onKeyDown={this.handleKeyDown}\n >\n <OverlayIdProvider open={open}>\n <DateTrigger\n id={id}\n ariaLabelledBy={ariaLabelledBy}\n selectedDate={selectedDate}\n size={size}\n placeholder={placeholder}\n label={label}\n monthFormat={monthFormat}\n disabled={disabled || false}\n onClick={this.open}\n onClear={!disabled && clearable && value ? this.handleClear : undefined}\n />\n <ResponsivePanel\n anchorRef={this.element}\n open={open}\n className=\"tw-date-lookup-menu\"\n position={Position.BOTTOM}\n considerHeight\n onClose={this.discard}\n >\n {this.getCalendar()}\n </ResponsivePanel>\n </OverlayIdProvider>\n </div>\n );\n }\n}\n\nexport const DateLookupWithoutInputAttributes = DateLookup;\n\nconst WrappedDateLookup = withInputAttributes(\n DateLookup as React.ComponentType<DateLookupPropsWithInputAttributes>,\n { nonLabelable: true },\n);\nWrappedDateLookup.displayName = 'DateLookup';\n\nexport default WrappedDateLookup;\n"],"names":["DateLookup","PureComponent","defaultProps","value","min","max","size","Size","MEDIUM","placeholder","label","monthFormat","MonthFormat","LONG","disabled","clearable","element","createRef","dropdown","constructor","props","dateView","returnDateView","state","selectedDate","getStartOfDay","originalDate","viewMonth","getMonth","viewYear","getFullYear","open","mode","isMobile","getDerivedStateFromProps","propsSelected","propsMin","propsMax","hasSelectedChanged","getTime","hasMinChanged","hasMaxChanged","isWithinRange","onChange","moveToWithinRange","viewDateThatIsWithinRange","componentDidUpdate","previousProps","focusOn","mediaQuery","window","matchMedia","Breakpoint","SMALL","setState","matches","componentWillUnmount","onFocus","discard","close","onBlur","handleKeyDown","event","key","adjustDate","preventDefault","daysToAdd","monthsToAdd","yearsToAdd","date","Date","getDate","preferredElement","fallbackElement","current","querySelector","focus","switchMode","switchToDays","switchToMonths","switchToYears","handleSelectedDateUpdate","handleViewDateUpdate","month","year","getCalendar","_jsxs","className","clsx","children","_jsx","DayCalendar","onSelect","onLabelClick","onViewDateUpdate","MonthCalendar","YearCalendar","handleClear","render","inputAttributes","id","idProp","ariaLabelledByProp","ariaLabelledBy","ref","onKeyDown","OverlayIdProvider","DateTrigger","onClick","onClear","undefined","ResponsivePanel","anchorRef","position","Position","BOTTOM","considerHeight","onClose","WrappedDateLookup","withInputAttributes","nonLabelable","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDA,MAAMA,UAAU,SAASC,mBAAa,CAAsD;AAI1F,EAAA,OAAOC,YAAY,GAAG;AACpBC,IAAAA,KAAK,EAAE,IAAI;AACXC,IAAAA,GAAG,EAAE,IAAI;AACTC,IAAAA,GAAG,EAAE,IAAI;IACTC,IAAI,EAAEC,SAAI,CAACC,MAAM;AACjBC,IAAAA,WAAW,EAAE,EAAE;AACfC,IAAAA,KAAK,EAAE,EAAE;IACTC,WAAW,EAAEC,uBAAW,CAACC,IAAI;AAC7BC,IAAAA,QAAQ,EAAE,KAAK;AACfC,IAAAA,SAAS,EAAE;GACZ;EAEDC,OAAO,gBAAGC,eAAS,EAAkB;EACrCC,QAAQ,gBAAGD,eAAS,EAAkB;EAEtCE,WAAWA,CAACC,KAA0B,EAAE;IACtC,KAAK,CAACA,KAAK,CAAC;AACZ,IAAA,MAAMC,QAAQ,GAAGC,0BAAc,CAACF,KAAK,CAACjB,KAAK,EAAEiB,KAAK,CAAChB,GAAG,EAAEgB,KAAK,CAACf,GAAG,CAAC;IAClE,IAAI,CAACkB,KAAK,GAAG;AACXC,MAAAA,YAAY,EAAEC,2BAAa,CAACL,KAAK,CAACjB,KAAK,CAAC;AACxCuB,MAAAA,YAAY,EA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AAe,EAAA;UACdC,SAAS,EAAE,IAAI,CAAChG,OAAQ;AACxBe,UAAAA,IAAI,EAAEA,IAAK;AACXwD,UAAAA,SAAS,EAAC,qBAAqB;UAC/B0B,QAAQ,EAAEC,iBAAQ,CAACC,MAAO;UAC1BC,cAAc,EAAA,IAAA;UACdC,OAAO,EAAE,IAAI,CAAC3D,OAAQ;AAAA+B,UAAAA,QAAA,EAErB,IAAI,CAACJ,WAAW;AAAE,SACJ,CAAC;OACD;AAAC,KACjB,CAAC;AAEV,EAAA;AACF;AAIA,MAAMiC,iBAAiB,GAAGC,4BAAmB,CAC3CvH,UAAU,EACV;AAAEwH,EAAAA,YAAY,EAAE;AAAK,CACvB;AACAF,iBAAiB,CAACG,WAAW,GAAG,YAAY;;;;"}
|
|
1
|
+
{"version":3,"file":"DateLookup.js","sources":["../../src/dateLookup/DateLookup.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { createRef, PureComponent, KeyboardEvent } from 'react';\n\nimport {\n Size,\n MonthFormat,\n Position,\n Breakpoint,\n type SizeSmall,\n type SizeMedium,\n type SizeLarge,\n} from '../common';\nimport { isWithinRange, moveToWithinRange, returnDateView } from '../common/dateUtils';\nimport ResponsivePanel from '../common/responsivePanel';\nimport { WithInputAttributesProps, withInputAttributes } from '../inputs/contexts';\nimport { OverlayIdProvider } from '../provider/overlay/OverlayIdProvider';\nimport DateTrigger from './dateTrigger';\nimport DayCalendar from './dayCalendar';\nimport { getStartOfDay } from './getStartOfDay';\nimport MonthCalendar from './monthCalendar';\nimport YearCalendar from './yearCalendar';\n\nexport interface DateLookupProps {\n id?: string;\n value: Date | null;\n min?: Date | null;\n max?: Date | null;\n size?: SizeSmall | SizeMedium | SizeLarge;\n placeholder?: string;\n label?: string;\n 'aria-labelledby'?: string;\n monthFormat?: `${MonthFormat}`;\n disabled?: boolean;\n clearable?: boolean;\n onChange: (date: Date | null) => void;\n onFocus?: () => void;\n onBlur?: () => void;\n}\n\ntype DateLookupPropsWithInputAttributes = DateLookupProps & Partial<WithInputAttributesProps>;\n\ninterface DateLookupState {\n selectedDate: Date | null;\n originalDate: Date | null;\n min: Date | null;\n max: Date | null;\n viewMonth: number;\n viewYear: number;\n open: boolean;\n mode: 'day' | 'month' | 'year';\n isMobile: boolean;\n}\n\nclass DateLookup extends PureComponent<DateLookupPropsWithInputAttributes, DateLookupState> {\n declare props: DateLookupPropsWithInputAttributes &\n Required<Pick<DateLookupPropsWithInputAttributes, keyof typeof DateLookup.defaultProps>>;\n\n static defaultProps = {\n value: null,\n min: null,\n max: null,\n size: Size.MEDIUM,\n placeholder: '',\n label: '',\n monthFormat: MonthFormat.LONG,\n disabled: false,\n clearable: false,\n } satisfies Partial<DateLookupPropsWithInputAttributes>;\n\n element = createRef<HTMLDivElement>();\n dropdown = createRef<HTMLDivElement>();\n\n constructor(props: DateLookup['props']) {\n super(props);\n const dateView = returnDateView(props.value, props.min, props.max);\n this.state = {\n selectedDate: getStartOfDay(props.value),\n originalDate: null,\n min: getStartOfDay(props.min),\n max: getStartOfDay(props.max),\n viewMonth: dateView.getMonth(),\n viewYear: dateView.getFullYear(),\n open: false,\n mode: 'day',\n isMobile: false,\n };\n }\n\n static getDerivedStateFromProps(props: DateLookup['props'], state: DateLookupState) {\n const propsSelected = getStartOfDay(props.value);\n const propsMin = getStartOfDay(props.min);\n const propsMax = getStartOfDay(props.max);\n const hasSelectedChanged = state.selectedDate?.getTime() !== propsSelected?.getTime();\n const hasMinChanged = state.min?.getTime() !== propsMin?.getTime();\n const hasMaxChanged = state.max?.getTime() !== propsMax?.getTime();\n if (hasSelectedChanged || hasMinChanged || hasMaxChanged) {\n const selectedDate = hasSelectedChanged ? propsSelected : state.selectedDate;\n const min = hasMinChanged ? propsMin : state.min;\n const max = hasMaxChanged ? propsMax : state.max;\n if (selectedDate && !isWithinRange(selectedDate, min, max)) {\n props.onChange(moveToWithinRange(selectedDate, min, max));\n return null;\n }\n const viewDateThatIsWithinRange: Date = returnDateView(selectedDate, min, max);\n const viewMonth = viewDateThatIsWithinRange.getMonth();\n const viewYear = viewDateThatIsWithinRange.getFullYear();\n return { selectedDate, min, max, viewMonth, viewYear };\n }\n return null;\n }\n\n componentDidUpdate(previousProps: DateLookupPropsWithInputAttributes) {\n if (this.props.value?.getTime() !== previousProps.value?.getTime() && this.state.open) {\n this.focusOn('.active');\n }\n const mediaQuery = window.matchMedia(`(max-width: ${Breakpoint.SMALL}px)`);\n this.setState({ isMobile: mediaQuery.matches });\n }\n\n componentWillUnmount() {\n // Prevents memory leak by cleaning state.\n this.setState = () => {};\n }\n\n open = () => {\n const { onFocus } = this.props;\n\n this.setState({ open: true, mode: 'day' });\n if (onFocus) {\n onFocus();\n }\n };\n\n discard = () => {\n const { originalDate } = this.state;\n if (originalDate !== null) {\n this.props.onChange(originalDate);\n }\n this.close();\n };\n\n close = () => {\n const { onBlur } = this.props;\n this.setState({ open: false, originalDate: null });\n if (onBlur) {\n onBlur();\n }\n };\n\n handleKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {\n const { open, originalDate } = this.state;\n switch (event.key) {\n case 'ArrowLeft':\n if (open) {\n this.adjustDate(-1, -1, -1);\n } else {\n this.open();\n }\n event.preventDefault();\n break;\n case 'ArrowUp':\n if (open) {\n this.adjustDate(-7, -4, -4);\n } else {\n this.open();\n }\n event.preventDefault();\n break;\n case 'ArrowRight':\n if (open) {\n this.adjustDate(1, 1, 1);\n } else {\n this.open();\n }\n event.preventDefault();\n break;\n case 'ArrowDown':\n if (open) {\n this.adjustDate(7, 4, 4);\n } else {\n this.open();\n }\n event.preventDefault();\n break;\n case 'Escape':\n if (originalDate !== null) {\n this.props.onChange(originalDate);\n }\n this.close();\n event.preventDefault();\n break;\n default:\n break;\n }\n };\n\n adjustDate = (daysToAdd: number, monthsToAdd: number, yearsToAdd: number) => {\n const { selectedDate, min, max, mode, originalDate } = this.state;\n if (originalDate === null) {\n this.setState({ originalDate: selectedDate });\n }\n let date: Date | null;\n if (selectedDate) {\n date = new Date(\n mode === 'year' ? selectedDate.getFullYear() + yearsToAdd : selectedDate.getFullYear(),\n mode === 'month' ? selectedDate.getMonth() + monthsToAdd : selectedDate.getMonth(),\n mode === 'day' ? selectedDate.getDate() + daysToAdd : selectedDate.getDate(),\n );\n } else {\n date = getStartOfDay(new Date());\n }\n date &&= moveToWithinRange(date, min, max);\n if (date?.getTime() !== selectedDate?.getTime()) {\n this.props.onChange(date);\n }\n };\n\n focusOn = (preferredElement: string, fallbackElement?: string) => {\n const element = this.element.current?.querySelector(preferredElement) as HTMLElement | null;\n if (element) {\n element.focus();\n } else if (fallbackElement) {\n this.focusOn(fallbackElement);\n }\n };\n\n switchMode = (mode: 'day' | 'month' | 'year') => {\n this.setState({ mode }, () => {\n this.focusOn('.active', '.today');\n });\n };\n\n switchToDays = () => this.switchMode('day');\n\n switchToMonths = () => this.switchMode('month');\n\n switchToYears = () => this.switchMode('year');\n\n handleSelectedDateUpdate = (selectedDate: Date) => {\n this.setState({ selectedDate }, () => {\n this.props.onChange(selectedDate);\n this.close();\n this.focusOn('.btn');\n });\n };\n\n handleViewDateUpdate = ({ month = this.state.viewMonth, year = this.state.viewYear }) => {\n this.setState({ viewMonth: month, viewYear: year });\n };\n\n getCalendar = () => {\n const { selectedDate, min, max, viewMonth, viewYear, mode, isMobile } = this.state;\n const { placeholder, monthFormat } = this.props;\n return (\n <div className={clsx({ 'p-a-1': !isMobile })}>\n {mode === 'day' && (\n <DayCalendar\n selectedDate={selectedDate}\n min={min}\n max={max}\n viewMonth={viewMonth}\n viewYear={viewYear}\n monthFormat={monthFormat}\n onSelect={this.handleSelectedDateUpdate}\n onLabelClick={this.switchToYears}\n onViewDateUpdate={this.handleViewDateUpdate}\n />\n )}\n {mode === 'month' && (\n <MonthCalendar\n selectedDate={selectedDate}\n min={min}\n max={max}\n viewYear={viewYear}\n placeholder={placeholder}\n onSelect={this.switchToDays}\n onLabelClick={this.switchToYears}\n onViewDateUpdate={this.handleViewDateUpdate}\n />\n )}\n {mode === 'year' && (\n <YearCalendar\n selectedDate={selectedDate}\n min={min}\n max={max}\n viewYear={viewYear}\n placeholder={placeholder}\n onSelect={this.switchToMonths}\n onViewDateUpdate={this.handleViewDateUpdate}\n />\n )}\n </div>\n );\n };\n\n handleClear = () => {\n this.props.onChange(null);\n this.focusOn('.np-date-trigger');\n };\n\n render() {\n const { selectedDate, open } = this.state;\n\n const {\n inputAttributes,\n id: idProp,\n 'aria-labelledby': ariaLabelledByProp,\n size,\n placeholder,\n label,\n monthFormat,\n disabled,\n clearable,\n value,\n } = this.props;\n const id = idProp ?? inputAttributes?.id;\n const ariaLabelledBy = ariaLabelledByProp ?? inputAttributes?.['aria-labelledby'];\n\n return (\n <div\n ref={this.element}\n aria-labelledby={id}\n aria-invalid={inputAttributes?.['aria-invalid']}\n aria-describedby={inputAttributes?.['aria-describedby']}\n className=\"input-group\"\n onKeyDown={this.handleKeyDown}\n >\n <OverlayIdProvider open={open}>\n <DateTrigger\n id={id}\n ariaLabelledBy={ariaLabelledBy}\n selectedDate={selectedDate}\n size={size}\n placeholder={placeholder}\n label={label}\n monthFormat={monthFormat}\n disabled={disabled || false}\n onClick={this.open}\n onClear={!disabled && clearable && value ? this.handleClear : undefined}\n />\n <ResponsivePanel\n anchorRef={this.element}\n open={open}\n className=\"tw-date-lookup-menu\"\n position={Position.BOTTOM}\n considerHeight\n onClose={this.discard}\n >\n {this.getCalendar()}\n </ResponsivePanel>\n </OverlayIdProvider>\n </div>\n );\n }\n}\n\nexport const DateLookupWithoutInputAttributes = DateLookup;\n\nconst WrappedDateLookup = withInputAttributes(\n DateLookup as React.ComponentType<DateLookupPropsWithInputAttributes>,\n { nonLabelable: true },\n);\nWrappedDateLookup.displayName = 'DateLookup';\n\nexport default WrappedDateLookup;\n"],"names":["DateLookup","PureComponent","defaultProps","value","min","max","size","Size","MEDIUM","placeholder","label","monthFormat","MonthFormat","LONG","disabled","clearable","element","createRef","dropdown","constructor","props","dateView","returnDateView","state","selectedDate","getStartOfDay","originalDate","viewMonth","getMonth","viewYear","getFullYear","open","mode","isMobile","getDerivedStateFromProps","propsSelected","propsMin","propsMax","hasSelectedChanged","getTime","hasMinChanged","hasMaxChanged","isWithinRange","onChange","moveToWithinRange","viewDateThatIsWithinRange","componentDidUpdate","previousProps","focusOn","mediaQuery","window","matchMedia","Breakpoint","SMALL","setState","matches","componentWillUnmount","onFocus","discard","close","onBlur","handleKeyDown","event","key","adjustDate","preventDefault","daysToAdd","monthsToAdd","yearsToAdd","date","Date","getDate","preferredElement","fallbackElement","current","querySelector","focus","switchMode","switchToDays","switchToMonths","switchToYears","handleSelectedDateUpdate","handleViewDateUpdate","month","year","getCalendar","_jsxs","className","clsx","children","_jsx","DayCalendar","onSelect","onLabelClick","onViewDateUpdate","MonthCalendar","YearCalendar","handleClear","render","inputAttributes","id","idProp","ariaLabelledByProp","ariaLabelledBy","ref","onKeyDown","OverlayIdProvider","DateTrigger","onClick","onClear","undefined","ResponsivePanel","anchorRef","position","Position","BOTTOM","considerHeight","onClose","WrappedDateLookup","withInputAttributes","nonLabelable","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDA,MAAMA,UAAW,SAAQC,mBAAkE,CAAA;AAIzF,EAAA,OAAOC,YAAY,GAAG;AACpBC,IAAAA,KAAK,EAAE,IAAI;AACXC,IAAAA,GAAG,EAAE,IAAI;AACTC,IAAAA,GAAG,EAAE,IAAI;IACTC,IAAI,EAAEC,SAAI,CAACC,MAAM;AACjBC,IAAAA,WAAW,EAAE,EAAE;AACfC,IAAAA,KAAK,EAAE,EAAE;IACTC,WAAW,EAAEC,uBAAW,CAACC,IAAI;AAC7BC,IAAAA,QAAQ,EAAE,KAAK;AACfC,IAAAA,SAAS,EAAE;GAC0C;EAEvDC,OAAO,gBAAGC,eAAS,EAAkB;EACrCC,QAAQ,gBAAGD,eAAS,EAAkB;EAEtCE,WAAAA,CAAYC,KAA0B,EAAA;IACpC,KAAK,CAACA,KAAK,CAAC;AAC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AACbC,UAAAA,WAAW,EAAEA,WAAY;UACzBG,QAAQ,EAAEA,QAAQ,IAAI,KAAM;UAC5B8F,OAAO,EAAE,IAAI,CAAC7E,IAAK;UACnB8E,OAAO,EAAE,CAAC/F,QAAQ,IAAIC,SAAS,IAAIZ,KAAK,GAAG,IAAI,CAAC8F,WAAW,GAAGa;AAAU,SAAA,CAE1E,eAAApB,cAAA,CAACqB,uBAAe,EAAA;UACdC,SAAS,EAAE,IAAI,CAAChG,OAAQ;AACxBe,UAAAA,IAAI,EAAEA,IAAK;AACXwD,UAAAA,SAAS,EAAC,qBAAqB;UAC/B0B,QAAQ,EAAEC,iBAAQ,CAACC,MAAO;UAC1BC,cAAc,EAAA,IAAA;UACdC,OAAO,EAAE,IAAI,CAAC3D,OAAQ;AAAA+B,UAAAA,QAAA,EAErB,IAAI,CAACJ,WAAW;AAAE,SACJ,CACnB;OAAmB;AACrB,KAAK,CAAC;AAEV,EAAA;;AAKF,MAAMiC,iBAAiB,GAAGC,4BAAmB,CAC3CvH,UAAqE,EACrE;AAAEwH,EAAAA,YAAY,EAAE;AAAI,CAAE;AAExBF,iBAAiB,CAACG,WAAW,GAAG,YAAY;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateLookup.messages.js","sources":["../../src/dateLookup/DateLookup.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n next: {\n id: 'neptune.DateLookup.next',\n defaultMessage: 'next',\n description: 'Description of next button',\n },\n previous: {\n id: 'neptune.DateLookup.previous',\n defaultMessage: 'previous',\n description: 'Description of previous button',\n },\n day: {\n id: 'neptune.DateLookup.day',\n defaultMessage: 'day',\n description: 'Description of next/previous/selected day button',\n },\n month: {\n id: 'neptune.DateLookup.month',\n defaultMessage: 'month',\n description: 'Description of next/previous/selected month button',\n },\n year: {\n id: 'neptune.DateLookup.year',\n defaultMessage: 'year',\n description: 'Description of next/previous/selected year button',\n },\n twentyYears: {\n id: 'neptune.DateLookup.twentyYears',\n defaultMessage: '20 years',\n description: 'Description of next/previous 20 years button',\n },\n selected: {\n id: 'neptune.DateLookup.selected',\n defaultMessage: 'selected',\n description: 'Description of the selected day/month/year',\n },\n goTo20YearView: {\n id: 'neptune.DateLookup.goTo20YearView',\n defaultMessage: 'Go to 20 year view',\n description: 'Description of the button to go to 20 year view',\n },\n});\n"],"names":["defineMessages","next","id","previous","day","month","year","twentyYears","selected","goTo20YearView"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,IAAI,EAAE;IACJC,EAAE,EAAA;GAGH;AACDC,EAAAA,QAAQ,EAAE;IACRD,EAAE,EAAA;GAGH;AACDE,EAAAA,GAAG,EAAE;IACHF,EAAE,EAAA;GAGH;AACDG,EAAAA,KAAK,EAAE;IACLH,EAAE,EAAA;GAGH;AACDI,EAAAA,IAAI,EAAE;IACJJ,EAAE,EAAA;GAGH;AACDK,EAAAA,WAAW,EAAE;IACXL,EAAE,EAAA;GAGH;AACDM,EAAAA,QAAQ,EAAE;IACRN,EAAE,EAAA;GAGH;AACDO,EAAAA,cAAc,EAAE;IACdP,EAAE,EAAA;
|
|
1
|
+
{"version":3,"file":"DateLookup.messages.js","sources":["../../src/dateLookup/DateLookup.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n next: {\n id: 'neptune.DateLookup.next',\n defaultMessage: 'next',\n description: 'Description of next button',\n },\n previous: {\n id: 'neptune.DateLookup.previous',\n defaultMessage: 'previous',\n description: 'Description of previous button',\n },\n day: {\n id: 'neptune.DateLookup.day',\n defaultMessage: 'day',\n description: 'Description of next/previous/selected day button',\n },\n month: {\n id: 'neptune.DateLookup.month',\n defaultMessage: 'month',\n description: 'Description of next/previous/selected month button',\n },\n year: {\n id: 'neptune.DateLookup.year',\n defaultMessage: 'year',\n description: 'Description of next/previous/selected year button',\n },\n twentyYears: {\n id: 'neptune.DateLookup.twentyYears',\n defaultMessage: '20 years',\n description: 'Description of next/previous 20 years button',\n },\n selected: {\n id: 'neptune.DateLookup.selected',\n defaultMessage: 'selected',\n description: 'Description of the selected day/month/year',\n },\n goTo20YearView: {\n id: 'neptune.DateLookup.goTo20YearView',\n defaultMessage: 'Go to 20 year view',\n description: 'Description of the button to go to 20 year view',\n },\n});\n"],"names":["defineMessages","next","id","previous","day","month","year","twentyYears","selected","goTo20YearView"],"mappings":";;;;;;AAEA,eAAeA,wBAAc,CAAC;AAC5BC,EAAAA,IAAI,EAAE;IACJC,EAAE,EAAA;GAGH;AACDC,EAAAA,QAAQ,EAAE;IACRD,EAAE,EAAA;GAGH;AACDE,EAAAA,GAAG,EAAE;IACHF,EAAE,EAAA;GAGH;AACDG,EAAAA,KAAK,EAAE;IACLH,EAAE,EAAA;GAGH;AACDI,EAAAA,IAAI,EAAE;IACJJ,EAAE,EAAA;GAGH;AACDK,EAAAA,WAAW,EAAE;IACXL,EAAE,EAAA;GAGH;AACDM,EAAAA,QAAQ,EAAE;IACRN,EAAE,EAAA;GAGH;AACDO,EAAAA,cAAc,EAAE;IACdP,EAAE,EAAA;AAGH;AACF,CAAA,CAAC;;;;"}
|