@sberbusiness/triplex-next 1.50.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-j0wThVzZ.js → AlertProcessSpoiler-BQ-PlA6j.js} +16 -16
- package/chunks/{AlertProcessSpoiler-j0wThVzZ.js.map → AlertProcessSpoiler-BQ-PlA6j.js.map} +1 -1
- package/chunks/{CalendarViewItem-BCcAb-X6.js → CalendarViewItem-DzgMlLlH.js} +20 -20
- package/chunks/{CalendarViewItem-BCcAb-X6.js.map → CalendarViewItem-DzgMlLlH.js.map} +1 -1
- package/chunks/Card.module-DVndDHx3.js +32 -0
- package/chunks/Card.module-DVndDHx3.js.map +1 -0
- package/chunks/Carousel.module-D9WQGi1c.js +26 -0
- package/chunks/Carousel.module-D9WQGi1c.js.map +1 -0
- package/chunks/CheckboxTreeExtended.module-CGwoKN_-.js +24 -0
- package/chunks/CheckboxTreeExtended.module-CGwoKN_-.js.map +1 -0
- package/chunks/{Chip-HiAUilI6.js → Chip-DCtXwIVE.js} +16 -16
- package/chunks/{Chip-HiAUilI6.js.map → Chip-DCtXwIVE.js.map} +1 -1
- package/chunks/Confirm.module-GtloV6ct.js +24 -0
- package/chunks/Confirm.module-GtloV6ct.js.map +1 -0
- package/chunks/{DropdownListItem-BDtBpFPH.js → DropdownListItem-DkX7SolI.js} +10 -10
- package/chunks/{DropdownListItem-BDtBpFPH.js.map → DropdownListItem-DkX7SolI.js.map} +1 -1
- package/chunks/DropdownMobile.module-UMAxYrhB.js +40 -0
- package/chunks/DropdownMobile.module-UMAxYrhB.js.map +1 -0
- package/chunks/Footer.module-C9ZPrzq8.js +12 -0
- package/chunks/Footer.module-C9ZPrzq8.js.map +1 -0
- package/chunks/{HeaderLayoutSidebar.module-CLhjV8YX.js → HeaderLayoutSidebar.module-DSmgJbQB.js} +4 -4
- package/chunks/HeaderLayoutSidebar.module-DSmgJbQB.js.map +1 -0
- package/chunks/HeaderTabs.module-MHO3tBJF.js +12 -0
- package/chunks/HeaderTabs.module-MHO3tBJF.js.map +1 -0
- package/chunks/{HeaderTitle.module-L5xbACMY.js → HeaderTitle.module-AIcDT3si.js} +4 -4
- package/chunks/HeaderTitle.module-AIcDT3si.js.map +1 -0
- package/chunks/ImageGalleryExtendedMain.module-CIVzluST.js +28 -0
- package/chunks/ImageGalleryExtendedMain.module-CIVzluST.js.map +1 -0
- package/chunks/{ImageGalleryExtendedThumb-D4Ws4ax0.js → ImageGalleryExtendedThumb-CNDXMYAQ.js} +5 -5
- package/chunks/{ImageGalleryExtendedThumb-D4Ws4ax0.js.map → ImageGalleryExtendedThumb-CNDXMYAQ.js.map} +1 -1
- package/chunks/IslandAccordion.module-CmLF3WGX.js +44 -0
- package/chunks/IslandAccordion.module-CmLF3WGX.js.map +1 -0
- package/chunks/IslandWidgetFooter.module-CUF_6WR2.js +18 -0
- package/chunks/IslandWidgetFooter.module-CUF_6WR2.js.map +1 -0
- package/chunks/IslandWidgetHeader.module-_cT499Sp.js +28 -0
- package/chunks/IslandWidgetHeader.module-_cT499Sp.js.map +1 -0
- package/chunks/{LightBoxContent-C3x8czUb.js → LightBoxContent-D57LJodq.js} +16 -16
- package/chunks/{LightBoxContent-C3x8czUb.js.map → LightBoxContent-D57LJodq.js.map} +1 -1
- package/chunks/LightBoxControls.module-BYb-Rhia.js +26 -0
- package/chunks/LightBoxControls.module-BYb-Rhia.js.map +1 -0
- package/chunks/{LightBoxSideOverlayClose.module-CQVu4Q1F.js → LightBoxSideOverlayClose.module-BShtnKHl.js} +4 -4
- package/chunks/LightBoxSideOverlayClose.module-BShtnKHl.js.map +1 -0
- package/chunks/{ListItemControlsButton-DZKgVfLa.js → ListItemControlsButton-MRVASAo0.js} +9 -9
- package/chunks/{ListItemControlsButton-DZKgVfLa.js.map → ListItemControlsButton-MRVASAo0.js.map} +1 -1
- package/chunks/ListItemTail.module-D0juSo0x.js +18 -0
- package/chunks/ListItemTail.module-D0juSo0x.js.map +1 -0
- package/chunks/ListMasterFooter.module-ivuXYkfd.js +14 -0
- package/chunks/ListMasterFooter.module-ivuXYkfd.js.map +1 -0
- package/chunks/ModalWindow.module-CWWUaDZb.js +28 -0
- package/chunks/ModalWindow.module-CWWUaDZb.js.map +1 -0
- package/chunks/Notification.module-B8ZAEh9G.js +34 -0
- package/chunks/Notification.module-B8ZAEh9G.js.map +1 -0
- package/chunks/Overlay.module-CtiKw8Dq.js +30 -0
- package/chunks/Overlay.module-CtiKw8Dq.js.map +1 -0
- package/chunks/Page.module-DyUBYgo-.js +17 -0
- package/chunks/Page.module-DyUBYgo-.js.map +1 -0
- package/chunks/SMSField.module-B9DdT9lT.js +30 -0
- package/chunks/SMSField.module-B9DdT9lT.js.map +1 -0
- package/chunks/SliderExtendedMarks.module-DDou_WlE.js +24 -0
- package/chunks/SliderExtendedMarks.module-DDou_WlE.js.map +1 -0
- package/chunks/{SliderExtendedRail-DJ-AY9GZ.js → SliderExtendedRail-DB-zuc_f.js} +5 -5
- package/chunks/{SliderExtendedRail-DJ-AY9GZ.js.map → SliderExtendedRail-DB-zuc_f.js.map} +1 -1
- package/chunks/StatusTracker.module-CvJSNkUB.js +44 -0
- package/chunks/StatusTracker.module-CvJSNkUB.js.map +1 -0
- package/chunks/{StepperStepArrowBorder-UArUUlmL.js → StepperStepArrowBorder-BVia57h0.js} +16 -16
- package/chunks/{StepperStepArrowBorder-UArUUlmL.js.map → StepperStepArrowBorder-BVia57h0.js.map} +1 -1
- package/chunks/{SuggestFieldMobileDropdownHint-BogTgDdU.js → SuggestFieldMobileDropdownHint-Bd5V-v7D.js} +3 -3
- package/chunks/{SuggestFieldMobileDropdownHint-BogTgDdU.js.map → SuggestFieldMobileDropdownHint-Bd5V-v7D.js.map} +1 -1
- package/chunks/TableFooter.module-BUwVEilh.js +22 -0
- package/chunks/TableFooter.module-BUwVEilh.js.map +1 -0
- package/chunks/TabsExtended.module-DFVoru97.js +26 -0
- package/chunks/TabsExtended.module-DFVoru97.js.map +1 -0
- package/chunks/TabsLine.module-qil8v0MJ.js +36 -0
- package/chunks/TabsLine.module-qil8v0MJ.js.map +1 -0
- package/chunks/TooltipDesktop.module-P0sKj6LV.js +32 -0
- package/chunks/TooltipDesktop.module-P0sKj6LV.js.map +1 -0
- package/chunks/TreeView.module-2FuWZMt0.js +12 -0
- package/chunks/TreeView.module-2FuWZMt0.js.map +1 -0
- package/chunks/{UploadZoneInput-Dne6D9Xv.js → UploadZoneInput-nnI1y5rq.js} +5 -5
- package/chunks/{UploadZoneInput-Dne6D9Xv.js.map → UploadZoneInput-nnI1y5rq.js.map} +1 -1
- package/chunks/{constants-kTbOu3rB.js → constants-CB-4VZ_D.js} +27 -27
- package/chunks/{constants-kTbOu3rB.js.map → constants-CB-4VZ_D.js.map} +1 -1
- package/chunks/{utils-aCX4wxJN.js → utils-B1JQm06g.js} +10 -10
- package/chunks/{utils-aCX4wxJN.js.map → utils-B1JQm06g.js.map} +1 -1
- package/chunks/{utils-DwZMn3Pm.js → utils-B7-CS58J.js} +11 -11
- package/chunks/{utils-DwZMn3Pm.js.map → utils-B7-CS58J.js.map} +1 -1
- package/chunks/{utils-QB9OKYfu.js → utils-DfaitlVx.js} +27 -27
- package/chunks/{utils-QB9OKYfu.js.map → utils-DfaitlVx.js.map} +1 -1
- package/chunks/{utils-CpB4d_7x.js → utils-SVi0Xiqy.js} +6 -6
- package/chunks/{utils-CpB4d_7x.js.map → utils-SVi0Xiqy.js.map} +1 -1
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +8 -8
- package/components/Avatar/Avatar.js +13 -13
- package/components/Badge/Badge.js +4 -4
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +6 -6
- package/components/Badge/components/BadgePostfix.js +1 -1
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +20 -20
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +8 -8
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +3 -3
- package/components/Calendar/Calendar.js +4 -4
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +5 -5
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/Carousel/Carousel.js +21 -16
- package/components/Carousel/Carousel.js.map +1 -1
- package/components/Carousel/CarouselButton.js +6 -6
- package/components/Carousel/CarouselButton.js.map +1 -1
- package/components/Carousel/CarouselContext.js +4 -4
- package/components/Carousel/CarouselContext.js.map +1 -1
- package/components/Carousel/CarouselIndicators.js +13 -190
- package/components/Carousel/CarouselIndicators.js.map +1 -1
- package/components/Carousel/CarouselItem.js +3 -3
- package/components/Carousel/CarouselItem.js.map +1 -1
- package/components/Carousel/CarouselTrack.js +2 -2
- package/components/Carousel/CarouselTrack.js.map +1 -1
- package/components/Carousel/CarouselViewport.js +7 -7
- package/components/Carousel/CarouselViewport.js.map +1 -1
- package/components/Carousel/constants.js +3 -3
- package/components/Carousel/constants.js.map +1 -1
- package/components/Carousel/enums.js +0 -6
- package/components/Carousel/enums.js.map +1 -1
- package/components/Carousel/index.js +1 -2
- package/components/Carousel/utils.js +1 -23
- package/components/Carousel/utils.js.map +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +8 -8
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js.map +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js.map +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMonthYearPicker/ChipMonthYearPicker.js +1 -1
- package/components/Chip/ChipMonthYearPicker/ChipMonthYearPickerTarget.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelect.js.map +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +1 -1
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +7 -7
- package/components/Col/Col.js +132 -132
- package/components/CollapsibleTree/CollapsibleTree.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +4 -4
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +1 -1
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateFieldTarget.js +4 -4
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +20 -16
- package/components/DateRange/DateRange.js.map +1 -1
- package/components/DateRange/utils.js +10 -3
- package/components/DateRange/utils.js.map +1 -1
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +5 -0
- package/components/DesignTokens/DesignTokensComponents.js.map +1 -1
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +5 -0
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js.map +1 -1
- package/components/DesignTokens/components/Carousel.js +2 -29
- package/components/DesignTokens/components/Carousel.js.map +1 -1
- package/components/DesignTokens/components/ImageGallery.js +0 -9
- package/components/DesignTokens/components/ImageGallery.js.map +1 -1
- package/components/DesignTokens/components/PageIndicators.js +36 -0
- package/components/DesignTokens/components/PageIndicators.js.map +1 -0
- package/components/DesignTokens/components/index.js +3 -0
- package/components/DesignTokens/components/index.js.map +1 -1
- package/components/DesignTokens/types/DesignTokensTypes.js.map +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +3 -3
- package/components/Dropdown/desktop/DropdownDesktop.js +6 -6
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +3 -3
- package/components/EmptyView/EmptyView.js +14 -9
- package/components/EmptyView/EmptyView.js.map +1 -1
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +11 -11
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +2 -2
- package/components/FormField/components/FormFieldInput.js +4 -4
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +8 -8
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +1 -1
- package/components/FormField/components/FormFieldTarget.js +8 -8
- package/components/FormField/components/FormFieldTextarea.js +4 -4
- package/components/Gap/Gap.js +8 -8
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +2 -2
- package/components/ImageGallery/ImageGallery.js +5 -5
- package/components/ImageGallery/ImageGallery.js.map +1 -1
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +4 -4
- package/components/ImageGalleryExtended/ImageGalleryExtended.js.map +1 -1
- package/components/ImageGalleryExtended/ImageGalleryExtendedContext.js.map +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedPageIndicators.js +39 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedPageIndicators.js.map +1 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +1 -1
- package/components/ImageGalleryExtended/components/index.js +3 -3
- package/components/ImageGalleryExtended/index.js +3 -3
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +1 -1
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +3 -3
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +1 -1
- package/components/LightBox/LightBox.js +5 -5
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxArrow.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +12 -12
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +3 -3
- package/components/Link/Link.js +5 -5
- package/components/List/List.js +3 -3
- package/components/List/components/ListActionItem.js +1 -1
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +4 -4
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/components/ListTableItem.js +3 -3
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +5 -5
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearFieldTarget.js +4 -4
- package/components/MonthYearRange/MonthYearRange.js +27 -45
- package/components/MonthYearRange/MonthYearRange.js.map +1 -1
- package/components/MonthYearRange/types.js +2 -0
- package/components/MonthYearRange/types.js.map +1 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +1 -1
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +2 -2
- package/components/Notification/NotificationGrouped.js.map +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js.map +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberField.js +3 -1
- package/components/NumberField/NumberField.js.map +1 -1
- package/components/NumberField/NumberFieldInput.js +25 -27
- package/components/NumberField/NumberFieldInput.js.map +1 -1
- package/components/OrderedList/OrderedList.js +18 -15
- package/components/OrderedList/OrderedList.js.map +1 -1
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/PageIndicators/PageIndicators.js +223 -0
- package/components/PageIndicators/PageIndicators.js.map +1 -0
- package/components/PageIndicators/index.js +5 -0
- package/components/PageIndicators/index.js.map +1 -0
- package/components/PageIndicators/types.js +2 -0
- package/components/PageIndicators/types.js.map +1 -0
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationExtended.js.map +1 -1
- package/components/Pagination/components/PaginationNavigationButton.js +2 -2
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js.map +1 -1
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +2 -2
- package/components/Radio/Radio.js +9 -9
- package/components/Radio/RadioXGroup.js +8 -8
- package/components/Radio/RadioYGroup.js +1 -1
- package/components/Row/Row.js +4 -4
- package/components/SMSField/SMSField.js +54 -41
- package/components/SMSField/SMSField.js.map +1 -1
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/RefreshIcon.js.map +1 -1
- package/components/SMSField/components/SMSFieldInput.js +17 -16
- package/components/SMSField/components/SMSFieldInput.js.map +1 -1
- package/components/SMSField/components/SMSFieldRefresh.js +6 -13
- package/components/SMSField/components/SMSFieldRefresh.js.map +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +30 -27
- package/components/SMSField/components/SMSFieldSubmit.js.map +1 -1
- package/components/SMSField/components/SMSFieldTooltip.js +7 -9
- package/components/SMSField/components/SMSFieldTooltip.js.map +1 -1
- package/components/SegmentedControl/SegmentedControl.js +9 -9
- package/components/SegmentedControl/SegmentedControlSegment.js +3 -3
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +5 -5
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +5 -5
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +6 -6
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +10 -10
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatusGroup.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +10 -10
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +3 -3
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +8 -8
- package/components/Table/ChipPanel.js +1 -1
- package/components/Table/ChipPanelLinks.js +1 -1
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +8 -8
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +2 -2
- package/components/Tag/Tag.js +5 -5
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +4 -4
- package/components/TopOverlay/TopOverlay.js +6 -6
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +7 -7
- package/components/Typography/CodeText.js +2 -2
- package/components/Typography/Text.js +9 -9
- package/components/Typography/Title.js +9 -9
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedListExtended/UnorderedListExtended.js +2 -2
- package/components/UnorderedListExtended/UnorderedListExtendedItem.js +2 -2
- package/components/UnorderedListExtended/UnorderedListExtendedItemMarker.js +3 -3
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/UploadZone/index.js +1 -1
- package/components/index.js +11 -10
- package/components/index.js.map +1 -1
- package/enums/EOrientation.js +9 -0
- package/enums/EOrientation.js.map +1 -0
- package/enums/index.js +3 -1
- package/enums/index.js.map +1 -1
- package/index.d.ts +189 -99
- package/index.js +13 -10
- package/index.js.map +1 -1
- package/package.json +5 -1
- package/styles/triplex-next.css +3062 -3073
- package/utils/refs.js +25 -0
- package/utils/refs.js.map +1 -0
- package/chunks/Card.module-BgGathht.js +0 -32
- package/chunks/Card.module-BgGathht.js.map +0 -1
- package/chunks/Carousel.module-DbmVe45I.js +0 -30
- package/chunks/Carousel.module-DbmVe45I.js.map +0 -1
- package/chunks/CheckboxTreeExtended.module-lrAhb-JM.js +0 -24
- package/chunks/CheckboxTreeExtended.module-lrAhb-JM.js.map +0 -1
- package/chunks/Confirm.module-Btu_s_B3.js +0 -24
- package/chunks/Confirm.module-Btu_s_B3.js.map +0 -1
- package/chunks/DropdownMobile.module-Coly2dBq.js +0 -40
- package/chunks/DropdownMobile.module-Coly2dBq.js.map +0 -1
- package/chunks/Footer.module-CMT_QTyt.js +0 -12
- package/chunks/Footer.module-CMT_QTyt.js.map +0 -1
- package/chunks/HeaderLayoutSidebar.module-CLhjV8YX.js.map +0 -1
- package/chunks/HeaderTabs.module-15nUfmri.js +0 -12
- package/chunks/HeaderTabs.module-15nUfmri.js.map +0 -1
- package/chunks/HeaderTitle.module-L5xbACMY.js.map +0 -1
- package/chunks/ImageGalleryExtendedMain.module-NWp-c6Ht.js +0 -28
- package/chunks/ImageGalleryExtendedMain.module-NWp-c6Ht.js.map +0 -1
- package/chunks/IslandAccordion.module-Bowpgf8f.js +0 -44
- package/chunks/IslandAccordion.module-Bowpgf8f.js.map +0 -1
- package/chunks/IslandWidgetFooter.module-Ds3Pu4f2.js +0 -18
- package/chunks/IslandWidgetFooter.module-Ds3Pu4f2.js.map +0 -1
- package/chunks/IslandWidgetHeader.module-BcEtSLGh.js +0 -28
- package/chunks/IslandWidgetHeader.module-BcEtSLGh.js.map +0 -1
- package/chunks/LightBoxControls.module-Dm4NcLwN.js +0 -26
- package/chunks/LightBoxControls.module-Dm4NcLwN.js.map +0 -1
- package/chunks/LightBoxSideOverlayClose.module-CQVu4Q1F.js.map +0 -1
- package/chunks/ListItemTail.module-DpKR3Mxq.js +0 -18
- package/chunks/ListItemTail.module-DpKR3Mxq.js.map +0 -1
- package/chunks/ListMasterFooter.module-VoIrJbom.js +0 -14
- package/chunks/ListMasterFooter.module-VoIrJbom.js.map +0 -1
- package/chunks/ModalWindow.module-D_kBZ7O8.js +0 -28
- package/chunks/ModalWindow.module-D_kBZ7O8.js.map +0 -1
- package/chunks/Notification.module-D6HiZ6Jt.js +0 -34
- package/chunks/Notification.module-D6HiZ6Jt.js.map +0 -1
- package/chunks/Overlay.module-BNLC7R-z.js +0 -30
- package/chunks/Overlay.module-BNLC7R-z.js.map +0 -1
- package/chunks/Page.module-CIIKtXO3.js +0 -17
- package/chunks/Page.module-CIIKtXO3.js.map +0 -1
- package/chunks/SMSField.module-CXQtdBIm.js +0 -30
- package/chunks/SMSField.module-CXQtdBIm.js.map +0 -1
- package/chunks/SliderExtendedMarks.module-DfS3xeG5.js +0 -24
- package/chunks/SliderExtendedMarks.module-DfS3xeG5.js.map +0 -1
- package/chunks/StatusTracker.module-CyB7fUmf.js +0 -44
- package/chunks/StatusTracker.module-CyB7fUmf.js.map +0 -1
- package/chunks/TableFooter.module-D3fdigOM.js +0 -22
- package/chunks/TableFooter.module-D3fdigOM.js.map +0 -1
- package/chunks/TabsExtended.module-jwxLpxEH.js +0 -26
- package/chunks/TabsExtended.module-jwxLpxEH.js.map +0 -1
- package/chunks/TabsLine.module-DOyLDwGW.js +0 -36
- package/chunks/TabsLine.module-DOyLDwGW.js.map +0 -1
- package/chunks/TooltipDesktop.module-Bu2xz65U.js +0 -32
- package/chunks/TooltipDesktop.module-Bu2xz65U.js.map +0 -1
- package/chunks/TreeView.module-CaCtjc5I.js +0 -12
- package/chunks/TreeView.module-CaCtjc5I.js.map +0 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +0 -46
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js.map +0 -1
|
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { formatAmount } from "../../utils/amountUtils.js";
|
|
5
|
-
const adaptive = "
|
|
5
|
+
const adaptive = "adaptive__34582cba";
|
|
6
6
|
const styles = {
|
|
7
7
|
adaptive
|
|
8
8
|
};
|
|
@@ -20,7 +20,7 @@ const Amount = React__default.forwardRef(
|
|
|
20
20
|
},
|
|
21
21
|
className
|
|
22
22
|
);
|
|
23
|
-
return /* @__PURE__ */ jsxs("span", { className: classNames, ...restProps, ref, "data-tx": "1.
|
|
23
|
+
return /* @__PURE__ */ jsxs("span", { className: classNames, ...restProps, ref, "data-tx": "1.52.0", children: [
|
|
24
24
|
/* @__PURE__ */ jsx("span", { "data-test-id": dataTestId && `${dataTestId}__amount`, children: formattedAmount }),
|
|
25
25
|
currency && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26
26
|
NON_BREAKING_SPACE,
|
|
@@ -20,14 +20,14 @@ import { setCaretPosition } from "../../utils/inputUtils.js";
|
|
|
20
20
|
import { setForwardedRef } from "../../helpers/setForwardedRef.js";
|
|
21
21
|
import { createPlaceholder, syncCoreAndGetFormattedValue, setFallbackCaret } from "./utils.js";
|
|
22
22
|
import { EComponentSize } from "../../enums/EComponentSize.js";
|
|
23
|
-
const amountFieldInputWrapper = "
|
|
24
|
-
const currencyLayout = "
|
|
25
|
-
const sm = "
|
|
26
|
-
const md = "
|
|
27
|
-
const lg = "
|
|
28
|
-
const valueMirror = "
|
|
29
|
-
const currencyUnit = "
|
|
30
|
-
const disabled = "
|
|
23
|
+
const amountFieldInputWrapper = "amountFieldInputWrapper__3e4ed740";
|
|
24
|
+
const currencyLayout = "currencyLayout__87abb62d";
|
|
25
|
+
const sm = "sm__17142ce9";
|
|
26
|
+
const md = "md__e4c64f24";
|
|
27
|
+
const lg = "lg__2d28363c";
|
|
28
|
+
const valueMirror = "valueMirror__e11ec5c3";
|
|
29
|
+
const currencyUnit = "currencyUnit__0f0ba597";
|
|
30
|
+
const disabled = "disabled__363f76f6";
|
|
31
31
|
const styles = {
|
|
32
32
|
amountFieldInputWrapper,
|
|
33
33
|
currencyLayout,
|
|
@@ -2,19 +2,19 @@ import { EAvatarSize } from "./enums.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import React__default from "react";
|
|
4
4
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
5
|
-
const avatar = "
|
|
6
|
-
const borderRadius6 = "
|
|
7
|
-
const borderRadius8 = "
|
|
8
|
-
const borderRadius10 = "
|
|
9
|
-
const borderRadius12 = "
|
|
10
|
-
const borderRadius16 = "
|
|
11
|
-
const xxs = "
|
|
12
|
-
const xs = "
|
|
13
|
-
const sm = "
|
|
14
|
-
const md = "
|
|
15
|
-
const lg = "
|
|
16
|
-
const xl = "
|
|
17
|
-
const xxl = "
|
|
5
|
+
const avatar = "avatar__01a7268a";
|
|
6
|
+
const borderRadius6 = "borderRadius6__1afb2f9d";
|
|
7
|
+
const borderRadius8 = "borderRadius8__e99b87d8";
|
|
8
|
+
const borderRadius10 = "borderRadius10__14883140";
|
|
9
|
+
const borderRadius12 = "borderRadius12__baa9d03b";
|
|
10
|
+
const borderRadius16 = "borderRadius16__734c2164";
|
|
11
|
+
const xxs = "xxs__f152a9d8";
|
|
12
|
+
const xs = "xs__9a166825";
|
|
13
|
+
const sm = "sm__c28d3350";
|
|
14
|
+
const md = "md__9d4eaf5d";
|
|
15
|
+
const lg = "lg__f9854590";
|
|
16
|
+
const xl = "xl__45023d23";
|
|
17
|
+
const xxl = "xxl__5a011252";
|
|
18
18
|
const styles = {
|
|
19
19
|
avatar,
|
|
20
20
|
borderRadius6,
|
|
@@ -6,10 +6,10 @@ import { BadgeDot } from "./BadgeDot.js";
|
|
|
6
6
|
import { BadgeContent } from "./components/BadgeContent.js";
|
|
7
7
|
import { BadgePrefix } from "./components/BadgePrefix.js";
|
|
8
8
|
import { BadgePostfix } from "./components/BadgePostfix.js";
|
|
9
|
-
const badge = "
|
|
10
|
-
const sm = "
|
|
11
|
-
const md = "
|
|
12
|
-
const lg = "
|
|
9
|
+
const badge = "badge__f539dcfe";
|
|
10
|
+
const sm = "sm__93f72552";
|
|
11
|
+
const md = "md__c7861221";
|
|
12
|
+
const lg = "lg__3f20beb9";
|
|
13
13
|
const styles = {
|
|
14
14
|
badge,
|
|
15
15
|
sm,
|
|
@@ -2,10 +2,10 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { createSizeToClassNameMap } from "../../utils/classNameMaps.js";
|
|
5
|
-
const badgeDot = "
|
|
6
|
-
const sm = "
|
|
7
|
-
const md = "
|
|
8
|
-
const lg = "
|
|
5
|
+
const badgeDot = "badgeDot__797b8b84";
|
|
6
|
+
const sm = "sm__93f72552";
|
|
7
|
+
const md = "md__c7861221";
|
|
8
|
+
const lg = "lg__3f20beb9";
|
|
9
9
|
const styles = {
|
|
10
10
|
badgeDot,
|
|
11
11
|
sm,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
3
3
|
import { createSizeToClassNameMap } from "../../../utils/classNameMaps.js";
|
|
4
|
-
const badgeContent = "
|
|
5
|
-
const sm = "
|
|
6
|
-
const md = "
|
|
7
|
-
const lg = "
|
|
8
|
-
const noPaddingLeft = "
|
|
9
|
-
const noPaddingRight = "
|
|
4
|
+
const badgeContent = "badgeContent__4cfc95a8";
|
|
5
|
+
const sm = "sm__93f72552";
|
|
6
|
+
const md = "md__c7861221";
|
|
7
|
+
const lg = "lg__3f20beb9";
|
|
8
|
+
const noPaddingLeft = "noPaddingLeft__73dbaf5b";
|
|
9
|
+
const noPaddingRight = "noPaddingRight__b3bd5324";
|
|
10
10
|
const styles = {
|
|
11
11
|
badgeContent,
|
|
12
12
|
sm,
|
package/components/Body/Body.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
|
-
const body = "
|
|
5
|
-
const bodyInner = "
|
|
4
|
+
const body = "body__d2ebeac4";
|
|
5
|
+
const bodyInner = "bodyInner__0079cdd1";
|
|
6
6
|
const styles = {
|
|
7
7
|
body,
|
|
8
8
|
bodyInner
|
|
9
9
|
};
|
|
10
|
-
const Body = React__default.forwardRef(({ children, className, ...rest }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.body, className), ...rest, "data-tx": "1.
|
|
10
|
+
const Body = React__default.forwardRef(({ children, className, ...rest }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.body, className), ...rest, "data-tx": "1.52.0", ref, children: /* @__PURE__ */ jsx("div", { className: styles.bodyInner, children }) }));
|
|
11
11
|
Body.displayName = "Body";
|
|
12
12
|
export {
|
|
13
13
|
Body
|
|
@@ -8,46 +8,46 @@ import { ButtonBase } from "./ButtonBase.js";
|
|
|
8
8
|
import { EButtonTheme } from "./enums.js";
|
|
9
9
|
import { EComponentSize } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { createSizeToClassNameMap } from "../../utils/classNameMaps.js";
|
|
11
|
-
const general = "
|
|
12
|
-
const expanded$4 = "
|
|
11
|
+
const general = "general__843a553d";
|
|
12
|
+
const expanded$4 = "expanded__0c4920f3";
|
|
13
13
|
const generalStyles = {
|
|
14
14
|
general,
|
|
15
15
|
expanded: expanded$4
|
|
16
16
|
};
|
|
17
|
-
const secondary = "
|
|
18
|
-
const expanded$3 = "
|
|
17
|
+
const secondary = "secondary__a525ac86";
|
|
18
|
+
const expanded$3 = "expanded__0c4920f3";
|
|
19
19
|
const secondaryStyles = {
|
|
20
20
|
secondary,
|
|
21
21
|
expanded: expanded$3
|
|
22
22
|
};
|
|
23
|
-
const secondaryLight = "
|
|
24
|
-
const expanded$2 = "
|
|
23
|
+
const secondaryLight = "secondaryLight__a9fa04d1";
|
|
24
|
+
const expanded$2 = "expanded__0c4920f3";
|
|
25
25
|
const secondaryLightStyles = {
|
|
26
26
|
secondaryLight,
|
|
27
27
|
expanded: expanded$2
|
|
28
28
|
};
|
|
29
|
-
const danger = "
|
|
30
|
-
const expanded$1 = "
|
|
29
|
+
const danger = "danger__45712411";
|
|
30
|
+
const expanded$1 = "expanded__0c4920f3";
|
|
31
31
|
const dangerStyles = {
|
|
32
32
|
danger,
|
|
33
33
|
expanded: expanded$1
|
|
34
34
|
};
|
|
35
|
-
const link = "
|
|
36
|
-
const expanded = "
|
|
35
|
+
const link = "link__a5b4f65d";
|
|
36
|
+
const expanded = "expanded__0c4920f3";
|
|
37
37
|
const linkStyles = {
|
|
38
38
|
link,
|
|
39
39
|
expanded
|
|
40
40
|
};
|
|
41
|
-
const button = "
|
|
42
|
-
const sm = "
|
|
43
|
-
const icon = "
|
|
44
|
-
const md = "
|
|
45
|
-
const lg = "
|
|
46
|
-
const block = "
|
|
47
|
-
const content = "
|
|
48
|
-
const loading = "
|
|
49
|
-
const loader = "
|
|
50
|
-
const hidden = "
|
|
41
|
+
const button = "button__75d3b574";
|
|
42
|
+
const sm = "sm__c6eb1b7a";
|
|
43
|
+
const icon = "icon__07828486";
|
|
44
|
+
const md = "md__51377a13";
|
|
45
|
+
const lg = "lg__278e8741";
|
|
46
|
+
const block = "block__2e338304";
|
|
47
|
+
const content = "content__6b7ef8c7";
|
|
48
|
+
const loading = "loading__1cfa7d3e";
|
|
49
|
+
const loader = "loader__f22cf35f";
|
|
50
|
+
const hidden = "hidden__066244fe";
|
|
51
51
|
const styles = {
|
|
52
52
|
button,
|
|
53
53
|
sm,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
const ButtonBase = React__default.forwardRef((props, ref) => {
|
|
4
|
-
return /* @__PURE__ */ jsx("button", { type: "button", ...props, "data-tx": "1.
|
|
4
|
+
return /* @__PURE__ */ jsx("button", { type: "button", ...props, "data-tx": "1.52.0", ref });
|
|
5
5
|
});
|
|
6
6
|
ButtonBase.displayName = "ButtonBase";
|
|
7
7
|
export {
|
|
@@ -10,7 +10,7 @@ import { isKey } from "../../utils/keyboard.js";
|
|
|
10
10
|
import { DropdownListContext } from "../Dropdown/DropdownListContext.js";
|
|
11
11
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
12
12
|
import { DropdownList } from "../Dropdown/desktop/DropdownList.js";
|
|
13
|
-
import "../../chunks/DropdownListItem-
|
|
13
|
+
import "../../chunks/DropdownListItem-DkX7SolI.js";
|
|
14
14
|
import { EDropdownAlignment, EDropdownWidth } from "../Dropdown/desktop/enums.js";
|
|
15
15
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
16
16
|
import { DropdownMobileBody } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -30,13 +30,13 @@ import "../Typography/Caption.js";
|
|
|
30
30
|
import "../Typography/CodeText.js";
|
|
31
31
|
import { Text } from "../Typography/Text.js";
|
|
32
32
|
import "../Typography/Title.js";
|
|
33
|
-
const buttonDropdown = "
|
|
34
|
-
const block = "
|
|
35
|
-
const buttonDropdownTarget = "
|
|
36
|
-
const dots = "
|
|
37
|
-
const caretIcon = "
|
|
38
|
-
const active = "
|
|
39
|
-
const buttonDropdownMenuItem = "
|
|
33
|
+
const buttonDropdown = "buttonDropdown__046ad0d9";
|
|
34
|
+
const block = "block__2e338304";
|
|
35
|
+
const buttonDropdownTarget = "buttonDropdownTarget__a70b6dcd";
|
|
36
|
+
const dots = "dots__8f61e39d";
|
|
37
|
+
const caretIcon = "caretIcon__60d3ea68";
|
|
38
|
+
const active = "active__36319a29";
|
|
39
|
+
const buttonDropdownMenuItem = "buttonDropdownMenuItem__30e08528";
|
|
40
40
|
const styles = {
|
|
41
41
|
buttonDropdown,
|
|
42
42
|
block,
|
|
@@ -4,8 +4,8 @@ import { Dropdown } from "../Dropdown/Dropdown.js";
|
|
|
4
4
|
import { isKey } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList } from "../Dropdown/desktop/DropdownList.js";
|
|
6
6
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
7
|
-
const buttonDropdownExtended = "
|
|
8
|
-
const buttonDropdownExtendedBlock = "
|
|
7
|
+
const buttonDropdownExtended = "buttonDropdownExtended__916acbf9";
|
|
8
|
+
const buttonDropdownExtendedBlock = "buttonDropdownExtendedBlock__abaacacd";
|
|
9
9
|
const styles = {
|
|
10
10
|
buttonDropdownExtended,
|
|
11
11
|
buttonDropdownExtendedBlock
|
|
@@ -3,9 +3,9 @@ import React__default from "react";
|
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { EButtonIconShape } from "./enums.js";
|
|
5
5
|
import { IconWrapper } from "../IconWrapper/IconWrapper.js";
|
|
6
|
-
const buttonIcon = "
|
|
7
|
-
const circle = "
|
|
8
|
-
const squircle = "
|
|
6
|
+
const buttonIcon = "buttonIcon__3e283ff9";
|
|
7
|
+
const circle = "circle__5b68235c";
|
|
8
|
+
const squircle = "squircle__bd4ff139";
|
|
9
9
|
const styles = {
|
|
10
10
|
buttonIcon,
|
|
11
11
|
circle,
|
|
@@ -14,9 +14,9 @@ import { CalendarView } from "./components/CalendarView.js";
|
|
|
14
14
|
import { CalendarFooter } from "./components/CalendarFooter.js";
|
|
15
15
|
import { CalendarFooterButton } from "./components/CalendarFooterButton.js";
|
|
16
16
|
import { parsePickedDate, formatDate } from "./utils.js";
|
|
17
|
-
const calendar = "
|
|
18
|
-
const extraBottom = "
|
|
19
|
-
const adaptive = "
|
|
17
|
+
const calendar = "calendar__4557b4a2";
|
|
18
|
+
const extraBottom = "extraBottom__85c0534a";
|
|
19
|
+
const adaptive = "adaptive__ac9d6916";
|
|
20
20
|
const styles = {
|
|
21
21
|
calendar,
|
|
22
22
|
extraBottom,
|
|
@@ -179,7 +179,7 @@ class Calendar extends React__default.PureComponent {
|
|
|
179
179
|
this.props.adaptiveMode ? styles.adaptive : (viewMode !== ECalendarViewMode.DAYS || todayButtonProps) && styles.extraBottom
|
|
180
180
|
);
|
|
181
181
|
const pickedDate = parsePickedDate(this.props.pickedDate, format);
|
|
182
|
-
return /* @__PURE__ */ jsx("div", { className: classNames, "data-tx": "1.
|
|
182
|
+
return /* @__PURE__ */ jsx("div", { className: classNames, "data-tx": "1.52.0", children: /* @__PURE__ */ jsxs(
|
|
183
183
|
CalendarContext.Provider,
|
|
184
184
|
{
|
|
185
185
|
value: {
|
|
@@ -14,7 +14,7 @@ import { Text } from "../../Typography/Text.js";
|
|
|
14
14
|
import "../../Typography/Title.js";
|
|
15
15
|
import { globalLimitRange } from "../../../consts/DateConst.js";
|
|
16
16
|
import { EComponentSize } from "../../../enums/EComponentSize.js";
|
|
17
|
-
const calendarControls = "
|
|
17
|
+
const calendarControls = "calendarControls__c387c39b";
|
|
18
18
|
const styles = {
|
|
19
19
|
calendarControls
|
|
20
20
|
};
|
|
@@ -5,7 +5,7 @@ import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
|
5
5
|
import { isDateOutOfRange, isDayDisabled, getFirstEnabledDate, getNavigationShift, shiftDate } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET, WEEKS_SET } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-DzgMlLlH.js";
|
|
9
9
|
import { ECalendarDateMarkType, ECalendarViewMode } from "../enums.js";
|
|
10
10
|
import { CalendarContext } from "../CalendarContext.js";
|
|
11
11
|
const NAVIGATION_STEPS = {
|
|
@@ -4,7 +4,7 @@ import "../../../chunks/vendor-CUIykw0y.js";
|
|
|
4
4
|
import "../enums.js";
|
|
5
5
|
import "../CalendarViewContext.js";
|
|
6
6
|
import "../../../utils/keyboard.js";
|
|
7
|
-
import { C } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { C } from "../../../chunks/CalendarViewItem-DzgMlLlH.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import moment from "moment";
|
|
|
4
4
|
import { CalendarContext } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange, getFirstEnabledDate, VIEW_GRID_ROWS, VIEW_GRID_COLUMNS, getNavigationShift, shiftDate, getShiftedDateInRange } from "../utils.js";
|
|
7
|
-
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-DzgMlLlH.js";
|
|
8
8
|
import { ECalendarPickType, ECalendarViewMode } from "../enums.js";
|
|
9
9
|
const NAVIGATION_STEPS = {
|
|
10
10
|
horizontal: { amount: 1, unit: "month" },
|
|
@@ -3,7 +3,7 @@ import { useContext, useCallback, useState, useEffect } from "react";
|
|
|
3
3
|
import { CalendarContext } from "../CalendarContext.js";
|
|
4
4
|
import { CalendarViewContext } from "../CalendarViewContext.js";
|
|
5
5
|
import { isDateOutOfRange, getFirstEnabledDate, VIEW_GRID_ROWS, VIEW_GRID_COLUMNS, getNavigationShift, shiftDate, getShiftedDateInRange } from "../utils.js";
|
|
6
|
-
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-
|
|
6
|
+
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-DzgMlLlH.js";
|
|
7
7
|
import { ECalendarViewMode } from "../enums.js";
|
|
8
8
|
const YEARS_BEFORE_VIEW_DATE = 5;
|
|
9
9
|
const YEARS_AFTER_VIEW_DATE = 6;
|
|
@@ -10,10 +10,10 @@ import { EFocusSource } from "../../enums/EFocusSource.js";
|
|
|
10
10
|
import { mapCardRoundingSizeToCssClass, mapCardThemeToCssClass } from "./utils.js";
|
|
11
11
|
import { isKey } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
13
|
-
import { c as cardStyles } from "../../chunks/Card.module-
|
|
14
|
-
const action = "
|
|
15
|
-
const selected = "
|
|
16
|
-
const focusVisible = "
|
|
13
|
+
import { c as cardStyles } from "../../chunks/Card.module-DVndDHx3.js";
|
|
14
|
+
const action = "action__802884d5";
|
|
15
|
+
const selected = "selected__7a177186";
|
|
16
|
+
const focusVisible = "focusVisible__b99e928a";
|
|
17
17
|
const actionStyles = {
|
|
18
18
|
action,
|
|
19
19
|
selected,
|
|
@@ -140,7 +140,7 @@ class CardAction extends React__default.Component {
|
|
|
140
140
|
role: "button",
|
|
141
141
|
...attributes,
|
|
142
142
|
ref: this.ref,
|
|
143
|
-
"data-tx": "1.
|
|
143
|
+
"data-tx": "1.52.0",
|
|
144
144
|
children
|
|
145
145
|
}
|
|
146
146
|
);
|
|
@@ -5,7 +5,7 @@ import { CardContent } from "./components/CardContent/CardContent.js";
|
|
|
5
5
|
import { CardMedia } from "./components/CardMedia.js";
|
|
6
6
|
import { ECardTheme, ECardRoundingSize } from "./enums.js";
|
|
7
7
|
import { mapCardThemeToCssClass, mapCardRoundingSizeToCssClass } from "./utils.js";
|
|
8
|
-
import { c as cardStyles } from "../../chunks/Card.module-
|
|
8
|
+
import { c as cardStyles } from "../../chunks/Card.module-DVndDHx3.js";
|
|
9
9
|
const CardStaticRoot = React__default.forwardRef(
|
|
10
10
|
({ children, className, roundingSize = ECardRoundingSize.MD, theme = ECardTheme.GENERAL, ...rest }, ref) => /* @__PURE__ */ jsx(
|
|
11
11
|
"div",
|
|
@@ -18,7 +18,7 @@ const CardStaticRoot = React__default.forwardRef(
|
|
|
18
18
|
),
|
|
19
19
|
...rest,
|
|
20
20
|
ref,
|
|
21
|
-
"data-tx": "1.
|
|
21
|
+
"data-tx": "1.52.0",
|
|
22
22
|
children
|
|
23
23
|
}
|
|
24
24
|
)
|
|
@@ -4,7 +4,7 @@ import { CardContentHeader } from "./components/CardContentHeader.js";
|
|
|
4
4
|
import { CardContentFooter } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize } from "../../enums.js";
|
|
6
6
|
import { c as clsx } from "../../../../chunks/vendor-CUIykw0y.js";
|
|
7
|
-
import { c as cardStyles } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as cardStyles } from "../../../../chunks/Card.module-DVndDHx3.js";
|
|
8
8
|
const mapCardContentPaddingSizeToCssClass = {
|
|
9
9
|
[ECardContentPaddingSize.MD]: cardStyles.paddingMD,
|
|
10
10
|
[ECardContentPaddingSize.SM]: cardStyles.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../../../chunks/vendor-CUIykw0y.js";
|
|
3
|
-
import { c as cardStyles } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as cardStyles } from "../../../../../chunks/Card.module-DVndDHx3.js";
|
|
4
4
|
const CardContentBody = ({ children, className, ...rest }) => /* @__PURE__ */ jsx("div", { className: clsx(cardStyles.cardContentBody, className), ...rest, children });
|
|
5
5
|
CardContentBody.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../../../chunks/vendor-CUIykw0y.js";
|
|
3
|
-
import { c as cardStyles } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as cardStyles } from "../../../../../chunks/Card.module-DVndDHx3.js";
|
|
4
4
|
const CardContentFooter = ({ children, className, ...rest }) => /* @__PURE__ */ jsx("div", { className: clsx(cardStyles.cardContentFooter, className), ...rest, children });
|
|
5
5
|
CardContentFooter.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../../../chunks/vendor-CUIykw0y.js";
|
|
3
|
-
import { c as cardStyles } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as cardStyles } from "../../../../../chunks/Card.module-DVndDHx3.js";
|
|
4
4
|
const CardContentHeader = ({ children, className, ...rest }) => /* @__PURE__ */ jsx("div", { className: clsx(cardStyles.cardContentHeader, className), ...rest, children });
|
|
5
5
|
CardContentHeader.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
3
|
-
import { c as cardStyles } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as cardStyles } from "../../../chunks/Card.module-DVndDHx3.js";
|
|
4
4
|
const CardMedia = ({ children, className, ...attributes }) => {
|
|
5
5
|
const classNames = clsx(cardStyles.cardMedia, className);
|
|
6
6
|
return /* @__PURE__ */ jsx("div", { className: classNames, ...attributes, children });
|
package/components/Card/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ECardRoundingSize, ECardTheme } from "./enums.js";
|
|
2
|
-
import { c as cardStyles } from "../../chunks/Card.module-
|
|
2
|
+
import { c as cardStyles } from "../../chunks/Card.module-DVndDHx3.js";
|
|
3
3
|
const mapCardRoundingSizeToCssClass = {
|
|
4
4
|
[ECardRoundingSize.LG]: cardStyles.roundingLG,
|
|
5
5
|
[ECardRoundingSize.MD]: cardStyles.roundingMD,
|
|
@@ -2,30 +2,32 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default, { useState, useMemo, useRef, useCallback, useLayoutEffect, useEffect } from "react";
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { CarouselContext } from "./CarouselContext.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { ECarouselScrollMode } from "./enums.js";
|
|
6
|
+
import { EOrientation } from "../../enums/EOrientation.js";
|
|
7
|
+
import { resolveViewportPadding } from "./utils.js";
|
|
8
|
+
import { useLatestRef } from "../../utils/refs.js";
|
|
9
|
+
import { s as styles } from "../../chunks/Carousel.module-D9WQGi1c.js";
|
|
8
10
|
import { CarouselViewport } from "./CarouselViewport.js";
|
|
9
11
|
import { CarouselTrack } from "./CarouselTrack.js";
|
|
10
12
|
import { CarouselItem } from "./CarouselItem.js";
|
|
11
13
|
import { CarouselNextButton, CarouselPrevButton } from "./CarouselButton.js";
|
|
12
14
|
import { CarouselIndicators } from "./CarouselIndicators.js";
|
|
13
15
|
const ORIENTATION_TO_PADDING_KEY = {
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
+
[EOrientation.HORIZONTAL]: { start: "left", end: "right" },
|
|
17
|
+
[EOrientation.VERTICAL]: { start: "top", end: "bottom" }
|
|
16
18
|
};
|
|
17
19
|
const ORIENTATION_TO_RECT_SIZE_KEY = {
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
+
[EOrientation.HORIZONTAL]: "width",
|
|
21
|
+
[EOrientation.VERTICAL]: "height"
|
|
20
22
|
};
|
|
21
23
|
const ORIENTATION_TO_CLIENT_SIZE_KEY = {
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
+
[EOrientation.HORIZONTAL]: "clientWidth",
|
|
25
|
+
[EOrientation.VERTICAL]: "clientHeight"
|
|
24
26
|
};
|
|
25
27
|
const CarouselRoot = React__default.forwardRef(
|
|
26
28
|
({
|
|
27
29
|
children,
|
|
28
|
-
orientation =
|
|
30
|
+
orientation = EOrientation.HORIZONTAL,
|
|
29
31
|
scrollMode = ECarouselScrollMode.ITEM,
|
|
30
32
|
gap = 16,
|
|
31
33
|
viewportPadding = 0,
|
|
@@ -116,6 +118,7 @@ const CarouselRoot = React__default.forwardRef(
|
|
|
116
118
|
const { start: startKey, end: endKey } = ORIENTATION_TO_PADDING_KEY[orientation];
|
|
117
119
|
const startP = normalizedPadding[startKey];
|
|
118
120
|
const endP = normalizedPadding[endKey];
|
|
121
|
+
const pageSize = Math.max(0, containerSize - startP - endP);
|
|
119
122
|
const calculatedMaxOffset = Math.max(0, totalContentSize + startP + endP - containerSize);
|
|
120
123
|
maxOffsetRef.current = calculatedMaxOffset;
|
|
121
124
|
let targetOffset = 0;
|
|
@@ -126,7 +129,7 @@ const CarouselRoot = React__default.forwardRef(
|
|
|
126
129
|
for (let i = 0; i < slidesCount; i++) {
|
|
127
130
|
const slideSize = getSlideSize(i);
|
|
128
131
|
const addedSize = currentPage.length > 0 ? slideSize + gap : slideSize;
|
|
129
|
-
if (currentGroupSize + addedSize <=
|
|
132
|
+
if (currentGroupSize + addedSize <= pageSize + 1) {
|
|
130
133
|
currentPage.push(i);
|
|
131
134
|
currentGroupSize += addedSize;
|
|
132
135
|
} else {
|
|
@@ -159,7 +162,7 @@ const CarouselRoot = React__default.forwardRef(
|
|
|
159
162
|
const lastSlideSize = getSlideSize(lastSlideIndex);
|
|
160
163
|
const groupEnd = getSlideStart(lastSlideIndex) + lastSlideSize;
|
|
161
164
|
const groupSize = groupEnd - groupStart;
|
|
162
|
-
targetOffset = groupStart - (
|
|
165
|
+
targetOffset = groupStart - (pageSize - groupSize) / 2;
|
|
163
166
|
}
|
|
164
167
|
} else {
|
|
165
168
|
setActiveIndices((prev) => prev.length === 0 ? prev : []);
|
|
@@ -204,7 +207,8 @@ const CarouselRoot = React__default.forwardRef(
|
|
|
204
207
|
normalizedPadding,
|
|
205
208
|
pageMode,
|
|
206
209
|
getSlideSize,
|
|
207
|
-
getSlideStart
|
|
210
|
+
getSlideStart,
|
|
211
|
+
offsetRef
|
|
208
212
|
]
|
|
209
213
|
);
|
|
210
214
|
const nextSlide = useCallback(() => {
|
|
@@ -290,7 +294,7 @@ const CarouselRoot = React__default.forwardRef(
|
|
|
290
294
|
observer.observe(viewportRef.current);
|
|
291
295
|
observer.observe(trackRef.current);
|
|
292
296
|
return () => observer.disconnect();
|
|
293
|
-
}, [updateOffsetAndPages]);
|
|
297
|
+
}, [updateOffsetAndPages, currentIndexRef]);
|
|
294
298
|
useEffect(() => {
|
|
295
299
|
setCurrentIndex(0);
|
|
296
300
|
}, [gap, scrollMode, orientation]);
|
|
@@ -324,7 +328,6 @@ const CarouselRoot = React__default.forwardRef(
|
|
|
324
328
|
orientationRef,
|
|
325
329
|
offsetRef,
|
|
326
330
|
maxOffsetRef,
|
|
327
|
-
currentIndexRef,
|
|
328
331
|
viewportRef,
|
|
329
332
|
trackRef,
|
|
330
333
|
slideRefs
|
|
@@ -341,7 +344,9 @@ const CarouselRoot = React__default.forwardRef(
|
|
|
341
344
|
atEnd,
|
|
342
345
|
nextSlide,
|
|
343
346
|
prevSlide,
|
|
344
|
-
goToSlide
|
|
347
|
+
goToSlide,
|
|
348
|
+
orientationRef,
|
|
349
|
+
offsetRef
|
|
345
350
|
]
|
|
346
351
|
);
|
|
347
352
|
return /* @__PURE__ */ jsx(CarouselContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { className: classNames, ...restProps, ref, children }) });
|