@sberbusiness/triplex-next 0.31.0 → 0.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 +35 -32
- package/chunks/{AlertProcessSpoiler-D94updt3.js → AlertProcessSpoiler-D5Z3QhxI.js} +9 -9
- package/chunks/{CalendarViewItem-w08J4qsu.js → CalendarViewItem-jaPGc7g9.js} +27 -27
- package/chunks/Card.module-BT82F3Ky.js +18 -0
- package/chunks/CheckboxTreeExtended.module-dWJEHy4I.js +15 -0
- package/chunks/{Chip-Cteq3rht.js → Chip-DEoNciDr.js} +23 -23
- package/chunks/Confirm.module-Bek5Y_d5.js +15 -0
- package/chunks/{DropdownListItem-D093kwGL.js → DropdownListItem-9uM7fY6X.js} +9 -9
- package/chunks/DropdownMobile.module-Dn9sFUCq.js +23 -0
- package/chunks/Footer.module-cwVzdGju.js +9 -0
- package/chunks/{FormFieldInput-DEkpK71h.js → FormFieldInput-CLHhO8Kh.js} +25 -25
- package/chunks/HeaderLayoutSidebar.module-By0WroW0.js +9 -0
- package/chunks/HeaderTabs.module-nNfmab3J.js +9 -0
- package/chunks/{HeaderTitle.module-_RjZrixi.js → HeaderTitle.module-D4SZQJKQ.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-BV4sYkkw.js +17 -0
- package/chunks/{ImageGalleryExtendedThumb-DvxWiBol.js → ImageGalleryExtendedThumb-DVMRe0a9.js} +11 -11
- package/chunks/IslandAccordion.module-DZaeBDfB.js +25 -0
- package/chunks/IslandWidgetFooter.module-gs1vcAcR.js +9 -0
- package/chunks/IslandWidgetHeader.module-DCfKgbBN.js +13 -0
- package/chunks/{LightBoxContent-CD2ywHRd.js → LightBoxContent-CJPhUyR3.js} +11 -11
- package/chunks/LightBoxControls.module-Dw9yTb8h.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-PasYNDqH.js +9 -0
- package/chunks/{ListItemControlsButton-ooEBqOYi.js → ListItemControlsButton-BsJp3m-o.js} +5 -5
- package/chunks/ListItemTail.module-C_0Ilv6P.js +12 -0
- package/chunks/ListMasterFooter.module-BtdNBL90.js +10 -0
- package/chunks/ModalWindow.module-BL1rtFYz.js +17 -0
- package/chunks/Notification.module-DGitAi0W.js +20 -0
- package/chunks/Overlay.module-C4CvBteS.js +18 -0
- package/chunks/Page.module-C0z8yMeg.js +11 -0
- package/chunks/SMSField.module-BcNuX5lS.js +16 -0
- package/chunks/SliderExtendedMarks.module-C_x_7ws7.js +15 -0
- package/chunks/SliderExtendedRail-SYhKGslJ.js +40 -0
- package/chunks/StatusTracker.module-DkbOCTwb.js +24 -0
- package/chunks/{StepperStepArrowBorder-A6WoCp_l.js → StepperStepArrowBorder-B59UgJt-.js} +10 -10
- package/chunks/{SuggestFieldMobileDropdownHint-B6H-gTlk.js → SuggestFieldMobileDropdownHint-GTMw7Nng.js} +4 -4
- package/chunks/TableFooter.module-CGgvFs4s.js +14 -0
- package/chunks/TabsExtended.module-D6URUq4g.js +16 -0
- package/chunks/TabsLine.module-DZEuIiZO.js +21 -0
- package/chunks/TooltipDesktop.module-DK_Fl-Dq.js +19 -0
- package/chunks/TreeView.module-Bq5-RYgn.js +9 -0
- package/chunks/{UploadZoneInput-CKzf73QX.js → UploadZoneInput-NoKos3kX.js} +6 -6
- package/chunks/{constants-BO1zd0dv.js → constants-DXTFMfA_.js} +11 -11
- package/chunks/{utils-DBuNwIFU.js → utils-C2i3hSWR.js} +6 -6
- package/chunks/{utils-B99NmqsA.js → utils-D55sjebM.js} +17 -17
- package/chunks/utils-DDzMRlrV.js +28 -0
- package/chunks/{utils-bwYnj4U9.js → utils-DVaJTyM2.js} +6 -6
- 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 +1 -1
- package/components/Avatar/Avatar.js +26 -26
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +11 -11
- package/components/Badge/components/BadgeContent.js +8 -8
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +79 -78
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +9 -9
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- 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 +11 -11
- 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/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +13 -13
- package/components/Checkbox/CheckboxXGroup.js +17 -17
- package/components/Checkbox/CheckboxYGroup.js +8 -8
- 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 +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +10 -10
- package/components/Chip/ChipSelect/ChipSelect.js +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 +15 -15
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +50 -46
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +137 -137
- package/components/CollapsibleTree/CollapsibleTree.js +7 -7
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +4 -4
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +14 -14
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +10 -10
- 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/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +6 -6
- package/components/DateRange/DateRange.js +6 -6
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- 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 +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +10 -10
- package/components/Dropdown/desktop/DropdownDesktop.js +9 -9
- 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 +4 -4
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/EmptyView/EmptyView.js +18 -18
- package/components/ExpandAnimation/ExpandAnimation.js +9 -9
- 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 +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +13 -13
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +12 -12
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +15 -15
- package/components/FormField/components/FormFieldTextarea.js +19 -19
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +5 -5
- 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 +6 -6
- 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 +4 -4
- package/components/IconWrapper/IconWrapper.js +10 -10
- package/components/ImageGallery/ImageGallery.js +10 -9
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +11 -11
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +5 -5
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +9 -8
- 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 +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +6 -6
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- 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/IslandWidgetHeaderContent.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 +3 -3
- package/components/LightBox/LightBox.js +64 -73
- package/components/LightBox/LightBoxContent.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 +105 -97
- 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 +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +20 -20
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +14 -14
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +5 -5
- 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 +5 -5
- 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 +7 -7
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +3 -3
- 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 +30 -34
- package/components/MobileView/index.js +3 -1
- package/components/MobileView/useMobileView.js +10 -0
- package/components/ModalWindow/ModalWindow.js +33 -33
- package/components/ModalWindow/components/ModalWindowBody.js +9 -9
- package/components/ModalWindow/components/ModalWindowClose.js +8 -8
- 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/MonthYearRange/MonthYearRange.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +12 -12
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +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/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 +6 -6
- 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 +6 -6
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +5 -5
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +13 -13
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +18 -18
- package/components/SegmentedControl/SegmentedControlSegment.js +14 -14
- 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 +31 -30
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +13 -13
- 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 +12 -12
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +22 -22
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +14 -14
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +8 -6
- 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 +13 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +8 -8
- package/components/Stepper/Stepper.js +16 -15
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Stepper/index.js +9 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +7 -7
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- 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 +19 -19
- package/components/Table/ChipPanel.js +7 -7
- package/components/Table/ChipPanelLinks.js +1 -1
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +20 -20
- package/components/Table/NoColumns.js +3 -3
- 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 +20 -20
- package/components/Table/TableBasicSettings/TableBasicSettings.js +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- 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 +41 -36
- 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 +12 -11
- 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 +8 -8
- package/components/Tag/Tag.js +27 -27
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +6 -6
- 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 +6 -6
- package/components/TopOverlay/TopOverlay.js +50 -50
- 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 +23 -23
- package/components/Typography/CodeText.js +12 -12
- package/components/Typography/Text.js +28 -28
- package/components/Typography/Title.js +10 -10
- package/components/Typography/constants.js +1 -1
- package/components/Typography/enums.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +5 -5
- 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 +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/chunks/Card.module-D8EAMd92.js +0 -18
- package/chunks/CheckboxTreeExtended.module-b9bSHVAz.js +0 -15
- package/chunks/Confirm.module-BtroC28g.js +0 -15
- package/chunks/DropdownMobile.module-BkdWickw.js +0 -23
- package/chunks/Footer.module-fb6dwao-.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DJZa8d1z.js +0 -9
- package/chunks/HeaderTabs.module-CYj6xy4J.js +0 -9
- package/chunks/ImageGalleryExtendedMain.module-Da65hjez.js +0 -17
- package/chunks/IslandAccordion.module-BPxUPtoo.js +0 -25
- package/chunks/IslandWidgetFooter.module-ZxH3O6oy.js +0 -9
- package/chunks/IslandWidgetHeader.module-BSFljZcD.js +0 -13
- package/chunks/LightBoxControls.module-CmEdh818.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BN81wlqm.js +0 -9
- package/chunks/ListItemTail.module-4rSSMPVx.js +0 -12
- package/chunks/ListMasterFooter.module-C-WLsVa2.js +0 -10
- package/chunks/ModalWindow.module-D-ruP-W_.js +0 -17
- package/chunks/Notification.module-CGwe5hz6.js +0 -20
- package/chunks/Overlay.module-VY4-MhFj.js +0 -18
- package/chunks/Page.module-DxsbvUY0.js +0 -11
- package/chunks/SMSField.module-DsLV_aE8.js +0 -16
- package/chunks/SliderExtendedMarks.module-D_aHvnyq.js +0 -15
- package/chunks/SliderExtendedRail-DUIgrgt7.js +0 -40
- package/chunks/StatusTracker.module-BXZqUX7q.js +0 -24
- package/chunks/TableFooter.module-IT9a3X2n.js +0 -14
- package/chunks/TabsExtended.module-BeSILSIo.js +0 -16
- package/chunks/TabsLine.module-D1SiIi4c.js +0 -21
- package/chunks/TooltipDesktop.module--e7kCd3A.js +0 -19
- package/chunks/TreeView.module-BGGC5iP2.js +0 -9
- package/chunks/utils-BKnry-Ny.js +0 -28
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as p } from "react";
|
|
3
3
|
import { c as a } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
import { s as e } from "../../../chunks/IslandWidgetHeader.module-
|
|
4
|
+
import { s as e } from "../../../chunks/IslandWidgetHeader.module-DCfKgbBN.js";
|
|
5
5
|
import { IslandWidgetHeaderControls as c } from "./IslandWidgetHeaderControls.js";
|
|
6
6
|
import { IslandWidgetHeaderDescription as f } from "./IslandWidgetHeaderDescription.js";
|
|
7
7
|
import { IslandWidgetHeaderTitle as I } from "./IslandWidgetHeaderTitle.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { s as o } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-DCfKgbBN.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
2
|
import { c as r } from "../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { s as n } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as n } from "../../../chunks/IslandWidgetHeader.module-DCfKgbBN.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
2
|
import { c as o } from "../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { s } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s } from "../../../chunks/IslandWidgetHeader.module-DCfKgbBN.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,7 +4,7 @@ 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-
|
|
7
|
+
import { s } from "../../../chunks/IslandWidgetHeader.module-DCfKgbBN.js";
|
|
8
8
|
import { c as a } from "../../../chunks/vendor-z35N2Tap.js";
|
|
9
9
|
const l = ({
|
|
10
10
|
children: e,
|
|
@@ -2,12 +2,12 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import i, { useState as p } from "react";
|
|
3
3
|
import { c as l } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { IslandWidgetLayoutContext as n } from "../IslandWidgetLayoutContext.js";
|
|
5
|
-
const W = "
|
|
5
|
+
const W = "islandWidgetWrapper__a70dc2a4", c = {
|
|
6
6
|
islandWidgetWrapper: W
|
|
7
7
|
}, m = i.forwardRef(
|
|
8
|
-
({ children:
|
|
8
|
+
({ children: a, className: e, ...t }, s) => {
|
|
9
9
|
const [o, d] = p(!1);
|
|
10
|
-
return /* @__PURE__ */ r(n.Provider, { value: { hasExtraFooter: o, setHasExtraFooter: d }, children: /* @__PURE__ */ r("div", { className: l(c.islandWidgetWrapper,
|
|
10
|
+
return /* @__PURE__ */ r(n.Provider, { value: { hasExtraFooter: o, setHasExtraFooter: d }, children: /* @__PURE__ */ r("div", { className: l(c.islandWidgetWrapper, e), ...t, ref: s, children: a }) });
|
|
11
11
|
}
|
|
12
12
|
);
|
|
13
13
|
m.displayName = "IslandWidgetWrapper";
|
|
@@ -1,113 +1,104 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as n, useEffect as
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
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-z35N2Tap.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-CJPhUyR3.js";
|
|
7
|
+
import { LightBoxControls as V } from "./LightBoxControls/LightBoxControls.js";
|
|
8
|
+
import { LightBoxSideOverlay as T } from "./LightBoxSideOverlay/LightBoxSideOverlay.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__fedcf4a4"
|
|
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__6263e270",
|
|
19
|
+
"scroll-15": "scroll-15__d7b1018b",
|
|
20
|
+
"scroll-16": "scroll-16__045d593f",
|
|
21
|
+
"scroll-17": "scroll-17__345d1588"
|
|
22
22
|
}, B = "LightBox-next-mount-node", p = "LightBox-next-view-manager-node", L = [e.bodyOverflowHidden], N = ({
|
|
23
23
|
children: M,
|
|
24
24
|
className: b,
|
|
25
25
|
focusTrapProps: r,
|
|
26
|
-
forwardRef:
|
|
27
|
-
mountNode:
|
|
26
|
+
forwardRef: s,
|
|
27
|
+
mountNode: c,
|
|
28
28
|
lightBoxViewManagerNodeId: m = p,
|
|
29
|
-
isLoading:
|
|
29
|
+
isLoading: d,
|
|
30
30
|
isSideOverlayOpened: i,
|
|
31
|
-
isTopOverlayOpened:
|
|
32
|
-
size:
|
|
33
|
-
...
|
|
31
|
+
isTopOverlayOpened: v,
|
|
32
|
+
size: y = 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
|
-
return
|
|
37
|
+
return c ? t = c : (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
|
-
|
|
49
|
+
}, [i]), !a.current)
|
|
50
|
+
return null;
|
|
51
|
+
const w = (t) => {
|
|
52
|
+
u.current = t, s && (s.current = t);
|
|
53
|
+
}, O = D(
|
|
53
54
|
E,
|
|
54
55
|
e.lightBox,
|
|
55
|
-
e[
|
|
56
|
+
e[y],
|
|
56
57
|
{
|
|
57
|
-
[e.isLoading]: !!
|
|
58
|
+
[e.isLoading]: !!d,
|
|
58
59
|
[e.lightBoxSideOverlayActive]: !!i,
|
|
59
|
-
[e.lightBoxTopOverlayActive]: !!
|
|
60
|
+
[e.lightBoxTopOverlayActive]: !!v
|
|
60
61
|
},
|
|
61
62
|
b
|
|
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(T, { 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:
|
|
103
|
-
SideOverlay:
|
|
104
|
-
TopOverlay:
|
|
105
|
-
Controls:
|
|
106
|
-
LeftSidebar:
|
|
107
|
-
RightSidebar:
|
|
92
|
+
const ct = Object.assign(N, {
|
|
93
|
+
Content: R,
|
|
94
|
+
SideOverlay: T,
|
|
95
|
+
TopOverlay: k,
|
|
96
|
+
Controls: V,
|
|
97
|
+
LeftSidebar: $,
|
|
98
|
+
RightSidebar: H
|
|
108
99
|
});
|
|
109
100
|
export {
|
|
110
|
-
|
|
101
|
+
ct as LightBox,
|
|
111
102
|
B as lightBoxMountNodeIdDefault,
|
|
112
103
|
p as lightBoxViewManagerNodeIdDefault
|
|
113
104
|
};
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-CJPhUyR3.js";
|
|
7
7
|
export {
|
|
8
8
|
n as LightBoxContent
|
|
9
9
|
};
|
|
@@ -7,7 +7,7 @@ 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-Dw9yTb8h.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: c,
|
|
13
13
|
onClick: t,
|
|
@@ -3,7 +3,7 @@ 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
5
|
import { c as e } from "../../../chunks/vendor-z35N2Tap.js";
|
|
6
|
-
import { s as p } from "../../../chunks/LightBoxControls.module-
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-Dw9yTb8h.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;
|
|
@@ -7,7 +7,7 @@ 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-Dw9yTb8h.js";
|
|
11
11
|
const v = ({
|
|
12
12
|
className: g,
|
|
13
13
|
clickByArrowRight: u,
|
|
@@ -7,7 +7,7 @@ import { TriggerClickOnKeyDownEvent as C } from "../../Triggers/TriggerClickOnKe
|
|
|
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-Dw9yTb8h.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 f } from "../../../chunks/vendor-z35N2Tap.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__21e2a42b", Q = "lightBoxSideOverlayWrapper__26331611", V = "overflowXHidden__4825795a", Z = "overflowYHidden__4bfef6e0", $ = "closing__33494c96", P = "opened__eece6450", ee = "lightBoxSideOverlayContent__c2b21104", oe = "opening__9dae0da7", te = "sm__6ea0fb03", ie = "md__1f24249a", re = "lg__c19519d0", le = "lightBoxSideOverlay__8df692d3", 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: S,
|
|
30
|
+
focusTrapProps: l,
|
|
31
|
+
isLoading: a,
|
|
32
|
+
loadingTitle: _,
|
|
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, g] = p(!1), m = y(o), B = y(null);
|
|
42
|
+
T(() => {
|
|
43
|
+
m.current && !o ? (g(!1), d(!0)) : !m.current && o && (d(!1), g(!0)), m.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 && (g(!1), c == null || c()));
|
|
48
|
+
}, H = ({ opened: r }) => /* @__PURE__ */ t(z, { opened: r, className: e.lightBoxSideOverlayMask }), N = () => /* @__PURE__ */ h(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: f(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: _ })
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
), b = () => {
|
|
64
|
+
}, E = f(S, 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: E,
|
|
88
|
+
role: "dialog",
|
|
89
|
+
"aria-modal": "true",
|
|
90
|
+
...w,
|
|
91
|
+
ref: k,
|
|
92
|
+
children: /* @__PURE__ */ t(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
className: f(e.lightBoxSideOverlay, {
|
|
96
|
+
[e.closing]: i,
|
|
97
|
+
[e.opening]: n
|
|
98
|
+
}),
|
|
99
|
+
children: /* @__PURE__ */ t(Y, { direction: j.RIGHT, opened: o, setOpened: b, 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
|
|
@@ -7,7 +7,7 @@ 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-PasYNDqH.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
2
|
import { c as r } from "../../../chunks/vendor-z35N2Tap.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-PasYNDqH.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 d, useRef as s, useEffect as l } from "react";
|
|
3
3
|
import { LoaderScreen as p } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
-
const n = "
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__d83a104d", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
7
|
const [t, r] = d(0), e = s(null);
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as N, useRef as o, useImperativeHandle as R, useState as V, useEffect as x } from "react";
|
|
3
3
|
import { c as h } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const j = "
|
|
4
|
+
const j = "lightBoxLeftSidebar__2f994eb6", z = "fixed__107663d3", E = "hidden__7d44b961", r = {
|
|
5
5
|
lightBoxLeftSidebar: j,
|
|
6
6
|
fixed: z,
|
|
7
7
|
hidden: E
|
|
8
8
|
}, O = N(
|
|
9
9
|
({ children: m, className: L, fixed: B, minVisibleWidth: d = 100, onShow: s, onHide: i, ...g }, p) => {
|
|
10
|
-
const
|
|
11
|
-
R(p, () =>
|
|
10
|
+
const n = o(null);
|
|
11
|
+
R(p, () => n.current);
|
|
12
12
|
const [v, _] = V(!0), e = o(s), t = o(i);
|
|
13
13
|
return x(() => {
|
|
14
14
|
e.current = s, t.current = i;
|
|
15
15
|
}, [s, i]), x(() => {
|
|
16
|
-
const f =
|
|
16
|
+
const f = n.current;
|
|
17
17
|
if (!f) return;
|
|
18
|
-
const
|
|
18
|
+
const l = new ResizeObserver((S) => {
|
|
19
19
|
for (const y of S) {
|
|
20
|
-
const
|
|
20
|
+
const c = y.contentRect.width > d;
|
|
21
21
|
_((I) => {
|
|
22
|
-
var
|
|
23
|
-
return
|
|
22
|
+
var a, u;
|
|
23
|
+
return c !== I && (c ? (a = e.current) == null || a.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
return
|
|
27
|
+
return l.observe(f), () => l.disconnect();
|
|
28
28
|
}, [d]), /* @__PURE__ */ b(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
|
-
ref:
|
|
31
|
+
ref: n,
|
|
32
32
|
className: h(L, r.lightBoxLeftSidebar, { [r.fixed]: B }),
|
|
33
33
|
...g,
|
|
34
34
|
children: /* @__PURE__ */ b("div", { className: h(r.lightBoxLeftSidebarInner, { [r.hidden]: !v }), children: m })
|