@sberbusiness/triplex-next 1.31.0 → 1.33.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/README.md +36 -33
- package/chunks/{AlertProcessSpoiler-B-2x6lW0.js → AlertProcessSpoiler-Bw11lY_2.js} +14 -14
- package/chunks/{CalendarViewItem-o4k7U5Dm.js → CalendarViewItem-9zvGz6lK.js} +14 -14
- package/chunks/Card.module-CHntSBGP.js +18 -0
- package/chunks/CheckboxTreeExtended.module-DZCnZPkk.js +15 -0
- package/chunks/{Chip-CoKB4iXT.js → Chip-DUgRidoA.js} +16 -16
- package/chunks/Confirm.module-DzA_7mQO.js +15 -0
- package/chunks/{DropdownListItem-Dy7ejFWN.js → DropdownListItem-DfdRzHWo.js} +20 -20
- package/chunks/DropdownMobile.module-B2_eLIZO.js +23 -0
- package/chunks/Footer.module-CV6e-B3r.js +9 -0
- package/chunks/{FormFieldInput-CkVtqncH.js → FormFieldInput-CxAdhoLS.js} +25 -25
- package/chunks/HeaderLayoutSidebar.module-GsbsfEiJ.js +9 -0
- package/chunks/HeaderTabs.module-fOX5YNsl.js +9 -0
- package/chunks/{HeaderTitle.module-ChThbaCy.js → HeaderTitle.module-tH470aDn.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-BRSQsPqY.js +17 -0
- package/chunks/{ImageGalleryExtendedThumb-D9p93wFz.js → ImageGalleryExtendedThumb-Cpk1nE0q.js} +5 -5
- package/chunks/IslandAccordion.module-b2tphik7.js +25 -0
- package/chunks/IslandWidgetFooter.module-CKmwyHR4.js +9 -0
- package/chunks/IslandWidgetHeader.module-CZL2t5u0.js +13 -0
- package/chunks/{LightBoxContent-Cr4psg0Z.js → LightBoxContent-Dzx47lKv.js} +10 -10
- package/chunks/LightBoxControls.module-RG62wDXb.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B7Fno0cK.js +9 -0
- package/chunks/{ListItemControlsButton-Bv8aFUBc.js → ListItemControlsButton-Dc6wY6Fp.js} +6 -6
- package/chunks/ListItemTail.module-DMJ9K0rM.js +12 -0
- package/chunks/ListMasterFooter.module-C58NLDG2.js +10 -0
- package/chunks/ModalWindow.module-CszS7FwS.js +17 -0
- package/chunks/Notification.module-BNsYZ_Ak.js +20 -0
- package/chunks/Overlay.module-DOk5L_-8.js +18 -0
- package/chunks/Page.module-TORdWU5G.js +11 -0
- package/chunks/SMSField.module-BjG_FEkT.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bt31TtEn.js +15 -0
- package/chunks/SliderExtendedRail-BYOwvNNf.js +40 -0
- package/chunks/StatusTracker.module-jqMWmKxs.js +24 -0
- package/chunks/{StepperStepArrowBorder-6bgUfxhh.js → StepperStepArrowBorder-j6OP5KT9.js} +12 -12
- package/chunks/{SuggestFieldMobileDropdownHint-BYUd-DOC.js → SuggestFieldMobileDropdownHint-C8OEdlFf.js} +2 -2
- package/chunks/TableFooter.module-BrNleOTT.js +14 -0
- package/chunks/TabsExtended.module-BStXryDc.js +16 -0
- package/chunks/TabsLine.module-CR0Zbz9g.js +21 -0
- package/chunks/TooltipDesktop.module-lEItFyAS.js +19 -0
- package/chunks/TreeView.module-SA9BUUel.js +9 -0
- package/chunks/{UploadZoneInput-CUVjN3Kj.js → UploadZoneInput-B_FFSQm7.js} +3 -3
- package/chunks/{constants-Ci0_oXbs.js → constants-Dm1nkJLa.js} +13 -13
- package/chunks/{utils-BFyvyQPY.js → utils-C7AeO50S.js} +2 -2
- package/chunks/utils-C88ipzKd.js +28 -0
- package/chunks/utils-CqED8Odf.js +73 -0
- package/chunks/utils-DIpdLSK7.js +24 -0
- package/chunks/{vendor-82AnkPpo.js → vendor-D5cfSbgz.js} +1114 -1116
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +5 -5
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +5 -5
- package/components/Badge/Badge.js +2 -2
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +5 -5
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +74 -73
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +9 -9
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +8 -8
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +12 -12
- package/components/Checkbox/Checkbox.js +12 -12
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +6 -6
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +15 -15
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +50 -46
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +6 -6
- package/components/Col/Col.js +132 -132
- package/components/CollapsibleTree/CollapsibleTree.js +7 -7
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +2 -2
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +4 -4
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +14 -14
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/Button.js +1 -1
- package/components/DesignTokens/components/Chip.js +1 -1
- package/components/DesignTokens/components/LightBox.js +10 -4
- package/components/DesignTokens/components/Tabs.js +2 -2
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +24 -24
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- 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 +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/EmptyView/EmptyView.js +7 -7
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- package/components/FocusTrapExtended/FocusTrapExtended.js +34 -0
- package/components/FocusTrapExtended/index.js +5 -0
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +25 -25
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +11 -11
- package/components/FormField/components/FormFieldMaskedInput.js +6 -6
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +20 -20
- package/components/FormField/components/FormFieldTextarea.js +23 -23
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +7 -7
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +7 -7
- package/components/IconWrapper/IconWrapper.js +7 -7
- package/components/ImageGallery/ImageGallery.js +5 -4
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +9 -9
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +10 -10
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +8 -7
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +2 -2
- package/components/ImageGalleryExtended/components/index.js +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/IslandWidget/IslandWidget.js +13 -13
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +8 -8
- package/components/LightBox/LightBox.js +60 -69
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +105 -97
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +8 -8
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +8 -8
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +21 -21
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +12 -12
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +7 -7
- package/components/List/components/ListSortableItemTarget.js +4 -4
- 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 +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +27 -31
- package/components/MobileView/index.js +3 -1
- package/components/MobileView/useMobileView.js +10 -0
- package/components/ModalWindow/ModalWindow.js +30 -30
- package/components/ModalWindow/components/ModalWindowBody.js +7 -7
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +7 -7
- package/components/MonthYearRange/MonthYearRange.js +12 -12
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- 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/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +9 -9
- package/components/OrderedList/OrderedListItem.js +3 -3
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +11 -11
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +13 -13
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +8 -8
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +16 -16
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +19 -19
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +20 -19
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +18 -18
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +13 -13
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +11 -9
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatusGroup.js +13 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +18 -18
- package/components/Stepper/Stepper.js +33 -32
- package/components/Stepper/StepperExtended.js +8 -8
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Stepper/index.js +9 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- 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 +3 -3
- package/components/Table/ChipPanel.js +2 -2
- package/components/Table/ChipPanelLinks.js +5 -5
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +19 -19
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +21 -21
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- 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 +44 -39
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +13 -12
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +28 -28
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +13 -13
- package/components/TopOverlay/TopOverlay.js +53 -53
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +31 -31
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +18 -18
- package/components/Typography/Title.js +15 -15
- package/components/Typography/constants.js +1 -1
- package/components/Typography/enums.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/UploadZone/index.js +1 -1
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +363 -359
- package/index.d.ts +42 -42
- package/index.js +397 -393
- package/package.json +5 -1
- package/styles/triplex-next.css +557 -556
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-_9W_bDbW.js +0 -18
- package/chunks/CheckboxTreeExtended.module-BW6Er6eg.js +0 -15
- package/chunks/Confirm.module-B7EimS-c.js +0 -15
- package/chunks/DropdownMobile.module-CEUckjjY.js +0 -23
- package/chunks/Footer.module-Btaepr_L.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Uq7eUhaq.js +0 -9
- package/chunks/HeaderTabs.module-CiK3DS7c.js +0 -9
- package/chunks/ImageGalleryExtendedMain.module-KwgIPfp-.js +0 -17
- package/chunks/IslandAccordion.module-BxoLhMzZ.js +0 -25
- package/chunks/IslandWidgetFooter.module-CxO5dSVu.js +0 -9
- package/chunks/IslandWidgetHeader.module-BZIonIbn.js +0 -13
- package/chunks/LightBoxControls.module-BT6tQ7Ue.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-dV9DEtmo.js +0 -9
- package/chunks/ListItemTail.module-Bp7M4QdS.js +0 -12
- package/chunks/ListMasterFooter.module-DMGAGzUD.js +0 -10
- package/chunks/ModalWindow.module-CcEb5ZBL.js +0 -17
- package/chunks/Notification.module-DmHe2Kv2.js +0 -20
- package/chunks/Overlay.module-f4p8iBuk.js +0 -18
- package/chunks/Page.module-B1W0CUyk.js +0 -11
- package/chunks/SMSField.module-cmbHRm31.js +0 -16
- package/chunks/SliderExtendedMarks.module-DptabtoD.js +0 -15
- package/chunks/SliderExtendedRail-D4NXHvvH.js +0 -40
- package/chunks/StatusTracker.module-BBm6PrHb.js +0 -24
- package/chunks/TableFooter.module-D-gNDmws.js +0 -14
- package/chunks/TabsExtended.module-IBQrFWHl.js +0 -16
- package/chunks/TabsLine.module-CM-pL6UU.js +0 -21
- package/chunks/TooltipDesktop.module-CXZIjsAn.js +0 -19
- package/chunks/TreeView.module-Co2-lRZN.js +0 -9
- package/chunks/utils-B2FzgoVa.js +0 -28
- package/chunks/utils-DEqGmway.js +0 -73
- package/chunks/utils-fAec4Z-1.js +0 -24
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../chunks/vendor-
|
|
3
|
-
import { s as o } from "../../../chunks/IslandWidgetHeader.module-
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-CZL2t5u0.js";
|
|
4
4
|
const n = ({
|
|
5
5
|
children: e,
|
|
6
6
|
className: t,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../../chunks/vendor-
|
|
3
|
-
import { s as n } from "../../../chunks/IslandWidgetHeader.module-
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
3
|
+
import { s as n } from "../../../chunks/IslandWidgetHeader.module-CZL2t5u0.js";
|
|
4
4
|
const d = ({
|
|
5
5
|
children: s,
|
|
6
6
|
className: o,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../chunks/vendor-
|
|
3
|
-
import { s } from "../../../chunks/IslandWidgetHeader.module-
|
|
2
|
+
import { c as o } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
3
|
+
import { s } from "../../../chunks/IslandWidgetHeader.module-CZL2t5u0.js";
|
|
4
4
|
import { EFontType as m, ETextSize as p } from "../../Typography/enums.js";
|
|
5
5
|
import "../../Typography/Caption.js";
|
|
6
6
|
import "../../Typography/CodeText.js";
|
|
@@ -4,8 +4,8 @@ import "../../Typography/Caption.js";
|
|
|
4
4
|
import "../../Typography/CodeText.js";
|
|
5
5
|
import "../../Typography/Text.js";
|
|
6
6
|
import { Title as o } from "../../Typography/Title.js";
|
|
7
|
-
import { s } from "../../../chunks/IslandWidgetHeader.module-
|
|
8
|
-
import { c as a } from "../../../chunks/vendor-
|
|
7
|
+
import { s } from "../../../chunks/IslandWidgetHeader.module-CZL2t5u0.js";
|
|
8
|
+
import { c as a } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
9
9
|
const l = ({
|
|
10
10
|
children: e,
|
|
11
11
|
className: i,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i, { useState as p } from "react";
|
|
3
|
-
import { c as l } from "../../../chunks/vendor-
|
|
3
|
+
import { c as l } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { IslandWidgetLayoutContext as n } from "../IslandWidgetLayoutContext.js";
|
|
5
|
-
const W = "
|
|
5
|
+
const W = "islandWidgetWrapper__796cb4e0", c = {
|
|
6
6
|
islandWidgetWrapper: W
|
|
7
|
-
},
|
|
8
|
-
({ children:
|
|
7
|
+
}, m = i.forwardRef(
|
|
8
|
+
({ children: r, className: t, ...a }, s) => {
|
|
9
9
|
const [o, d] = p(!1);
|
|
10
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ e(n.Provider, { value: { hasExtraFooter: o, setHasExtraFooter: d }, children: /* @__PURE__ */ e("div", { className: l(c.islandWidgetWrapper, t), ...a, ref: s, children: r }) });
|
|
11
11
|
}
|
|
12
12
|
);
|
|
13
|
-
|
|
13
|
+
m.displayName = "IslandWidgetWrapper";
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
m as IslandWidgetWrapper
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=IslandWidgetWrapper.js.map
|
|
@@ -1,113 +1,104 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as n, useEffect as
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { jsxs as x, Fragment as A, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as n, useEffect as f } from "react";
|
|
3
|
+
import { c as D } from "../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
import { Portal as F } from "../Portal/Portal.js";
|
|
5
|
+
import { FocusTrapExtended as I } from "../FocusTrapExtended/FocusTrapExtended.js";
|
|
6
|
+
import { L as R, s as e } from "../../chunks/LightBoxContent-Dzx47lKv.js";
|
|
7
|
+
import { LightBoxControls as V } from "./LightBoxControls/LightBoxControls.js";
|
|
6
8
|
import { LightBoxSideOverlay as T } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
|
-
import { Portal as k } from "../Portal/Portal.js";
|
|
8
9
|
import { addClassNameWithScrollbarWidth as j } from "../../utils/scroll/scrollbar.js";
|
|
9
|
-
import { TopOverlay as
|
|
10
|
-
import { LightBoxViewManager as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"scroll-
|
|
19
|
-
"scroll-
|
|
20
|
-
"scroll-
|
|
21
|
-
"scroll-17": "scroll-17__f34335c6"
|
|
10
|
+
import { TopOverlay as k } from "../TopOverlay/TopOverlay.js";
|
|
11
|
+
import { LightBoxViewManager as q } from "./LightBoxViewManager/LightBoxViewManager.js";
|
|
12
|
+
import { FocusTrapUtils as z } from "../../utils/focus/FocusTrapUtils.js";
|
|
13
|
+
import { useToken as W } from "../ThemeProvider/useToken.js";
|
|
14
|
+
import { LightBoxLeftSidebar as $ } from "./LightBoxSidebars/LightBoxLeftSidebar.js";
|
|
15
|
+
import { LightBoxRightSidebar as H } from "./LightBoxSidebars/LightBoxRightSidebar.js";
|
|
16
|
+
import { ELightBoxSize as U } from "./enums.js";
|
|
17
|
+
const Z = {
|
|
18
|
+
"scroll-0": "scroll-0__2937070a",
|
|
19
|
+
"scroll-15": "scroll-15__4a86ac22",
|
|
20
|
+
"scroll-16": "scroll-16__10b49afc",
|
|
21
|
+
"scroll-17": "scroll-17__7a72de1c"
|
|
22
22
|
}, B = "LightBox-next-mount-node", p = "LightBox-next-view-manager-node", L = [e.bodyOverflowHidden], N = ({
|
|
23
23
|
children: M,
|
|
24
|
-
className:
|
|
24
|
+
className: v,
|
|
25
25
|
focusTrapProps: r,
|
|
26
26
|
forwardRef: c,
|
|
27
27
|
mountNode: s,
|
|
28
28
|
lightBoxViewManagerNodeId: m = p,
|
|
29
|
-
isLoading:
|
|
29
|
+
isLoading: d,
|
|
30
30
|
isSideOverlayOpened: i,
|
|
31
31
|
isTopOverlayOpened: y,
|
|
32
|
-
size:
|
|
33
|
-
...
|
|
32
|
+
size: b = U.MD,
|
|
33
|
+
...S
|
|
34
34
|
}) => {
|
|
35
|
-
const l = n(null),
|
|
35
|
+
const l = n(null), u = n(null), { scopeClassName: E } = W(), C = () => {
|
|
36
36
|
let t = null;
|
|
37
37
|
return s ? t = s : (t = document.querySelector(`#${B}`), t || (t = document.createElement("div"), t.setAttribute("id", B), document.body.appendChild(t))), t;
|
|
38
38
|
}, _ = () => {
|
|
39
39
|
let t = null;
|
|
40
40
|
return m && (t = document.querySelector(`#${m}`)), t || (t = document.createElement("div"), t.setAttribute("id", p), document.body.appendChild(t)), t;
|
|
41
|
-
}, a = n(
|
|
41
|
+
}, a = n(C()), g = n(_()), h = () => {
|
|
42
42
|
L.forEach((t) => document.documentElement.classList.add(t));
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
if (f(() => (j(Z), h(), setTimeout(h, 100), () => L.forEach((t) => document.documentElement.classList.remove(t))), []), f(() => {
|
|
45
45
|
if (!i && l.current) {
|
|
46
46
|
const t = Math.round(Math.random() * 100);
|
|
47
47
|
l.current.style.zIndex = t.toString();
|
|
48
48
|
}
|
|
49
|
-
}, [i])
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
}, [i]), !a.current)
|
|
50
|
+
return null;
|
|
51
|
+
const w = (t) => {
|
|
52
|
+
u.current = t, c && (c.current = t);
|
|
53
|
+
}, O = D(
|
|
54
|
+
E,
|
|
54
55
|
e.lightBox,
|
|
55
|
-
e[
|
|
56
|
+
e[b],
|
|
56
57
|
{
|
|
57
|
-
[e.isLoading]: !!
|
|
58
|
+
[e.isLoading]: !!d,
|
|
58
59
|
[e.lightBoxSideOverlayActive]: !!i,
|
|
59
60
|
[e.lightBoxTopOverlayActive]: !!y
|
|
60
61
|
},
|
|
61
|
-
|
|
62
|
+
v
|
|
62
63
|
);
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
67
|
-
M,
|
|
68
|
-
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
69
|
-
] });
|
|
70
|
-
return /* @__PURE__ */ f(V, { children: [
|
|
71
|
-
/* @__PURE__ */ o(k, { container: a.current, children: /* @__PURE__ */ o(
|
|
72
|
-
W,
|
|
64
|
+
return /* @__PURE__ */ x(A, { children: [
|
|
65
|
+
/* @__PURE__ */ o(F, { container: a.current, children: /* @__PURE__ */ o(
|
|
66
|
+
I,
|
|
73
67
|
{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
),
|
|
88
|
-
children: h()
|
|
68
|
+
active: !d,
|
|
69
|
+
...r,
|
|
70
|
+
focusTrapOptions: {
|
|
71
|
+
initialFocus: () => z.getFirstInteractionElementByDataAttr(u.current),
|
|
72
|
+
preventScroll: !0,
|
|
73
|
+
...r == null ? void 0 : r.focusTrapOptions
|
|
74
|
+
},
|
|
75
|
+
children: /* @__PURE__ */ x("div", { className: O, role: "dialog", "aria-modal": "true", ...S, ref: w, children: [
|
|
76
|
+
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
77
|
+
M,
|
|
78
|
+
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
79
|
+
] })
|
|
89
80
|
}
|
|
90
81
|
) }),
|
|
91
|
-
|
|
92
|
-
|
|
82
|
+
g.current && /* @__PURE__ */ o(
|
|
83
|
+
q,
|
|
93
84
|
{
|
|
94
|
-
lightBoxViewManagerNode:
|
|
85
|
+
lightBoxViewManagerNode: g.current,
|
|
95
86
|
lightBoxMountNode: a.current
|
|
96
87
|
}
|
|
97
88
|
)
|
|
98
89
|
] });
|
|
99
90
|
};
|
|
100
91
|
N.displayName = "LightBoxBase";
|
|
101
|
-
const
|
|
102
|
-
Content:
|
|
92
|
+
const st = Object.assign(N, {
|
|
93
|
+
Content: R,
|
|
103
94
|
SideOverlay: T,
|
|
104
|
-
TopOverlay:
|
|
105
|
-
Controls:
|
|
106
|
-
LeftSidebar:
|
|
107
|
-
RightSidebar:
|
|
95
|
+
TopOverlay: k,
|
|
96
|
+
Controls: V,
|
|
97
|
+
LeftSidebar: $,
|
|
98
|
+
RightSidebar: H
|
|
108
99
|
});
|
|
109
100
|
export {
|
|
110
|
-
|
|
101
|
+
st as LightBox,
|
|
111
102
|
B as lightBoxMountNodeIdDefault,
|
|
112
103
|
p as lightBoxViewManagerNodeIdDefault
|
|
113
104
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
4
|
-
import "../../chunks/vendor-
|
|
4
|
+
import "../../chunks/vendor-D5cfSbgz.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-Dzx47lKv.js";
|
|
7
7
|
export {
|
|
8
8
|
n as LightBoxContent
|
|
9
9
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e, Fragment as f } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as h } from "react";
|
|
3
|
-
import { c as u } from "../../../chunks/vendor-
|
|
3
|
+
import { c as u } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { CrossStrokeSrvIcon32 as x, CrossStrokeSrvIcon20 as C } from "@sberbusiness/icons-next";
|
|
5
5
|
import { TriggerClickOnKeyDownEvent as E } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
6
6
|
import { EVENT_KEY_CODES as g } from "../../../utils/keyboard.js";
|
|
7
7
|
import { EButtonTheme as i } from "../../Button/enums.js";
|
|
8
8
|
import { Button as l } from "../../Button/Button.js";
|
|
9
9
|
import { EComponentSize as a } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-RG62wDXb.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: c,
|
|
13
13
|
onClick: t,
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { LightBoxClose as m } from "./LightBoxClose.js";
|
|
3
3
|
import { LightBoxNext as l } from "./LightBoxNext.js";
|
|
4
4
|
import { LightBoxPrev as x } from "./LightBoxPrev.js";
|
|
5
|
-
import { c as e } from "../../../chunks/vendor-
|
|
6
|
-
import { s as p } from "../../../chunks/LightBoxControls.module-
|
|
5
|
+
import { c as e } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-RG62wDXb.js";
|
|
7
7
|
const o = ({ children: t, className: r, ...s }) => /* @__PURE__ */ i("div", { className: e(r, p.lightBoxControls), ...s, "data-lightbox-component": "controls", children: t });
|
|
8
8
|
o.displayName = "LightBoxControls";
|
|
9
9
|
o.Close = m;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as x, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as m } from "react";
|
|
3
|
-
import { c as n } from "../../../chunks/vendor-
|
|
3
|
+
import { c as n } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { CaretrightStrokeSrvIcon32 as E, CaretrightStrokeSrvIcon20 as D } from "@sberbusiness/icons-next";
|
|
5
5
|
import { TriggerClickOnKeyDownEvent as I } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
6
6
|
import { EVENT_KEY_CODES as R } from "../../../utils/keyboard.js";
|
|
7
7
|
import { Button as c } from "../../Button/Button.js";
|
|
8
8
|
import { EButtonTheme as s } from "../../Button/enums.js";
|
|
9
9
|
import { EComponentSize as f } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-RG62wDXb.js";
|
|
11
11
|
const v = ({
|
|
12
12
|
className: g,
|
|
13
13
|
clickByArrowRight: u,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as f, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as m } from "react";
|
|
3
|
-
import { c as n } from "../../../chunks/vendor-
|
|
3
|
+
import { c as n } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { CaretleftStrokeSrvIcon32 as E, CaretleftStrokeSrvIcon20 as D } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EButtonTheme as h } from "../../Button/enums.js";
|
|
6
6
|
import { TriggerClickOnKeyDownEvent as C } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
7
7
|
import { EVENT_KEY_CODES as I } from "../../../utils/keyboard.js";
|
|
8
8
|
import { Button as s } from "../../Button/Button.js";
|
|
9
9
|
import { EComponentSize as v } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-RG62wDXb.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -1,108 +1,116 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { jsx as t, jsxs as h, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import L, { useState as p, useRef as y, useEffect as T } from "react";
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
import { FocusTrapExtended as X } from "../../FocusTrapExtended/FocusTrapExtended.js";
|
|
5
|
+
import { OverlayBase as Y, EOverlayDirection as j } from "../../Overlay/OverlayBase.js";
|
|
6
|
+
import { OverlayMask as z } from "../../Overlay/OverlayMask.js";
|
|
6
7
|
import { LightBoxSideOverlayLoader as I } from "./LightBoxSideOverlayLoader.js";
|
|
7
8
|
import { FocusTrapUtils as A } from "../../../utils/focus/FocusTrapUtils.js";
|
|
8
9
|
import { LightBoxSideOverlayCloseMobile as G } from "./LightBoxSideOverlayCloseMobile.js";
|
|
9
10
|
import { LightBoxSideOverlayCloseDesktop as U } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
|
-
import { MobileView as V } from "../../MobileView/MobileView.js";
|
|
11
11
|
import { EComponentSize as q } from "../../../enums/EComponentSize.js";
|
|
12
12
|
import { createSizeToClassNameMap as J } from "../../../utils/classNameMaps.js";
|
|
13
|
-
const K = "
|
|
13
|
+
const K = "lightBoxSideOverlayMask__0d208521", Q = "lightBoxSideOverlayWrapper__7f53027a", V = "overflowXHidden__1740ffe0", Z = "overflowYHidden__7c37c684", $ = "closing__2b22c7c4", P = "opened__a9fe69fe", ee = "lightBoxSideOverlayContent__d76675e7", oe = "opening__3141af52", te = "sm__8d70cd9c", ie = "md__79979f22", re = "lg__c0135f2f", le = "lightBoxSideOverlay__b5afe751", e = {
|
|
14
14
|
lightBoxSideOverlayMask: K,
|
|
15
15
|
lightBoxSideOverlayWrapper: Q,
|
|
16
|
-
overflowXHidden:
|
|
17
|
-
overflowYHidden:
|
|
18
|
-
closing:
|
|
19
|
-
opened:
|
|
20
|
-
lightBoxSideOverlayContent:
|
|
21
|
-
opening:
|
|
22
|
-
sm:
|
|
23
|
-
md:
|
|
24
|
-
lg:
|
|
25
|
-
lightBoxSideOverlay:
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
16
|
+
overflowXHidden: V,
|
|
17
|
+
overflowYHidden: Z,
|
|
18
|
+
closing: $,
|
|
19
|
+
opened: P,
|
|
20
|
+
lightBoxSideOverlayContent: ee,
|
|
21
|
+
opening: oe,
|
|
22
|
+
sm: te,
|
|
23
|
+
md: ie,
|
|
24
|
+
lg: re,
|
|
25
|
+
lightBoxSideOverlay: le
|
|
26
|
+
}, ne = J(e), O = L.forwardRef(
|
|
27
|
+
({
|
|
28
|
+
children: x,
|
|
29
|
+
className: _,
|
|
30
|
+
focusTrapProps: l,
|
|
31
|
+
isLoading: a,
|
|
32
|
+
loadingTitle: S,
|
|
33
|
+
isTopLevelSideOverlayOpened: v,
|
|
34
|
+
isTopOverlayOpened: u,
|
|
35
|
+
onClose: s,
|
|
36
|
+
onOpen: c,
|
|
37
|
+
opened: o,
|
|
38
|
+
size: M = q.MD,
|
|
39
|
+
...w
|
|
40
|
+
}, k) => {
|
|
41
|
+
const [i, d] = p(!1), [n, f] = p(!1), g = y(o), B = y(null);
|
|
42
|
+
T(() => {
|
|
43
|
+
g.current && !o ? (f(!1), d(!0)) : !g.current && o && (d(!1), f(!0)), g.current = o;
|
|
44
|
+
}, [o]);
|
|
45
|
+
const C = (r) => {
|
|
46
|
+
const { target: F, currentTarget: R } = r;
|
|
47
|
+
F === R && (i ? (d(!1), s == null || s()) : n && (f(!1), c == null || c()));
|
|
48
|
+
}, H = ({ opened: r }) => /* @__PURE__ */ t(z, { opened: r, className: e.lightBoxSideOverlayMask }), N = () => /* @__PURE__ */ h(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: m(e.lightBoxSideOverlayContent, {
|
|
52
|
+
[e.closing]: i,
|
|
53
|
+
[e.opening]: n,
|
|
54
|
+
[e.opened]: o
|
|
55
|
+
}),
|
|
56
|
+
onTransitionEnd: C,
|
|
57
|
+
ref: B,
|
|
58
|
+
children: [
|
|
59
|
+
x,
|
|
60
|
+
a && /* @__PURE__ */ t(I, { loadingTitle: S })
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
), E = () => {
|
|
64
|
+
}, b = m(_, e.lightBoxSideOverlayWrapper, ne[M], {
|
|
65
|
+
[e.closing]: i,
|
|
66
|
+
[e.opened]: o,
|
|
67
|
+
[e.overflowXHidden]: !!v || !!a,
|
|
68
|
+
[e.overflowYHidden]: !!v || !!a || !!u
|
|
69
|
+
}), D = (r) => /* @__PURE__ */ h(W, { children: [
|
|
70
|
+
H(r),
|
|
71
|
+
N()
|
|
72
|
+
] });
|
|
73
|
+
return /* @__PURE__ */ t(
|
|
74
|
+
X,
|
|
75
|
+
{
|
|
76
|
+
active: o && !n && !i,
|
|
77
|
+
...l,
|
|
78
|
+
focusTrapOptions: {
|
|
79
|
+
allowOutsideClick: !0,
|
|
80
|
+
initialFocus: () => A.getFirstInteractionElementByDataAttr(B.current),
|
|
81
|
+
preventScroll: !0,
|
|
82
|
+
...l == null ? void 0 : l.focusTrapOptions
|
|
83
|
+
},
|
|
84
|
+
children: /* @__PURE__ */ t(
|
|
85
|
+
"div",
|
|
86
|
+
{
|
|
87
|
+
className: b,
|
|
88
|
+
role: "dialog",
|
|
89
|
+
"aria-modal": "true",
|
|
90
|
+
...w,
|
|
91
|
+
ref: k,
|
|
92
|
+
children: /* @__PURE__ */ t(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
className: m(e.lightBoxSideOverlay, {
|
|
96
|
+
[e.closing]: i,
|
|
97
|
+
[e.opening]: n
|
|
98
|
+
}),
|
|
99
|
+
children: /* @__PURE__ */ t(Y, { direction: j.RIGHT, opened: o, setOpened: E, children: D })
|
|
100
|
+
}
|
|
101
|
+
)
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
O.displayName = "LightBoxSideOverlay";
|
|
109
|
+
const Oe = Object.assign(O, {
|
|
110
|
+
CloseDesktop: U,
|
|
111
|
+
CloseMobile: G
|
|
112
|
+
});
|
|
105
113
|
export {
|
|
106
|
-
|
|
114
|
+
Oe as LightBoxSideOverlay
|
|
107
115
|
};
|
|
108
116
|
//# sourceMappingURL=LightBoxSideOverlay.js.map
|
|
@@ -2,12 +2,12 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as l } from "react";
|
|
3
3
|
import { TriggerClickOnKeyDownEvent as a } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
4
4
|
import { EVENT_KEY_CODES as p } from "../../../utils/keyboard.js";
|
|
5
|
-
import { c } from "../../../chunks/vendor-
|
|
5
|
+
import { c } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
6
6
|
import { CrossStrokeSrvIcon32 as d } from "@sberbusiness/icons-next";
|
|
7
7
|
import { EButtonTheme as f } from "../../Button/enums.js";
|
|
8
8
|
import { EComponentSize as C } from "../../../enums/EComponentSize.js";
|
|
9
9
|
import { Button as u } from "../../Button/Button.js";
|
|
10
|
-
import { s as r } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
10
|
+
import { s as r } from "../../../chunks/LightBoxSideOverlayClose.module-B7Fno0cK.js";
|
|
11
11
|
const E = ({
|
|
12
12
|
className: i,
|
|
13
13
|
clickByEsc: s,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../../chunks/vendor-
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
3
3
|
import { CrossStrokeSrvIcon20 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { s as m } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
4
|
+
import { s as m } from "../../../chunks/LightBoxSideOverlayClose.module-B7Fno0cK.js";
|
|
5
5
|
import { EButtonTheme as l } from "../../Button/enums.js";
|
|
6
6
|
import { EComponentSize as s } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { Button as a } from "../../Button/Button.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useRef as l, useEffect as p } from "react";
|
|
3
3
|
import { LoaderScreen as d } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
-
const n = "
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__9b3cca75", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
7
|
const [t, r] = s(0), e = l(null);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as N, useRef as
|
|
3
|
-
import { c as h } from "../../../chunks/vendor-
|
|
4
|
-
const j = "
|
|
2
|
+
import { forwardRef as N, useRef as d, useImperativeHandle as R, useState as V, useEffect as b } from "react";
|
|
3
|
+
import { c as h } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
const j = "lightBoxLeftSidebar__f590f7ab", z = "fixed__637dddc3", E = "hidden__056645ae", r = {
|
|
5
5
|
lightBoxLeftSidebar: j,
|
|
6
6
|
fixed: z,
|
|
7
7
|
hidden: E
|
|
8
8
|
}, O = N(
|
|
9
|
-
({ children: m, className: L, fixed: B, minVisibleWidth:
|
|
10
|
-
const n =
|
|
9
|
+
({ children: m, className: L, fixed: B, minVisibleWidth: o = 100, onShow: s, onHide: i, ...g }, p) => {
|
|
10
|
+
const n = d(null);
|
|
11
11
|
R(p, () => n.current);
|
|
12
|
-
const [v, _] = V(!0), e =
|
|
12
|
+
const [v, _] = V(!0), e = d(s), t = d(i);
|
|
13
13
|
return b(() => {
|
|
14
14
|
e.current = s, t.current = i;
|
|
15
15
|
}, [s, i]), b(() => {
|
|
@@ -17,7 +17,7 @@ const j = "lightBoxLeftSidebar__cba86a7d", z = "fixed__e1773171", E = "hidden__6
|
|
|
17
17
|
if (!f) return;
|
|
18
18
|
const a = new ResizeObserver((S) => {
|
|
19
19
|
for (const y of S) {
|
|
20
|
-
const c = y.contentRect.width >
|
|
20
|
+
const c = y.contentRect.width > o;
|
|
21
21
|
_((I) => {
|
|
22
22
|
var l, u;
|
|
23
23
|
return c !== I && (c ? (l = e.current) == null || l.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
@@ -25,7 +25,7 @@ const j = "lightBoxLeftSidebar__cba86a7d", z = "fixed__e1773171", E = "hidden__6
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
return a.observe(f), () => a.disconnect();
|
|
28
|
-
}, [
|
|
28
|
+
}, [o]), /* @__PURE__ */ x(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
31
|
ref: n,
|