@sberbusiness/triplex-next 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-M7W9D-p3.js → AlertProcessSpoiler-BCXIqVd5.js} +3 -3
- package/chunks/CalendarViewItem-CHiqUGxF.js +101 -0
- package/chunks/Card.module-CmXEvD5r.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +11 -0
- package/chunks/{Chip-DpSJGyYK.js → Chip-yWyfl_o2.js} +9 -9
- package/chunks/Confirm.module-Ds4ZMYVB.js +15 -0
- package/chunks/DropdownListItem-DgEkMGvB.js +57 -0
- package/chunks/DropdownMobile.module-thvNKX4t.js +21 -0
- package/chunks/Footer.module-DZhiuTzP.js +9 -0
- package/chunks/{FormFieldInput-BSxKZxcq.js → FormFieldInput-BBhoiftf.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +9 -0
- package/chunks/HeaderTabs.module-DK3rR1yV.js +9 -0
- package/chunks/{HeaderTitle.module-CEMLCR13.js → HeaderTitle.module-CBMLSjn-.js} +2 -2
- package/chunks/IslandAccordion.module-D9LSijXT.js +26 -0
- package/chunks/{LightBoxContent-DTTxRVLQ.js → LightBoxContent-BjsBFl6W.js} +15 -15
- package/chunks/LightBoxControls.module-BHw6I5-d.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +8 -0
- package/chunks/{ListItemControlsButton-AbCEipFe.js → ListItemControlsButton-CueYzEGM.js} +11 -11
- package/chunks/ListItemTail.module-Bw2cyg-n.js +12 -0
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +10 -0
- package/chunks/ModalWindow.module-Nps-2rvx.js +17 -0
- package/chunks/Notification.module-DZZnmvDX.js +21 -0
- package/chunks/Overlay.module-BGfiVeol.js +18 -0
- package/chunks/Page.module-CV4uy77C.js +12 -0
- package/chunks/{RightBorderArrow-Co_RT8lZ.js → RightBorderArrow-rROpeCX0.js} +14 -14
- package/chunks/SMSInput.module-Br6FTDVD.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +15 -0
- package/chunks/SliderExtendedRail-BmH-0W3L.js +40 -0
- package/chunks/StatusTracker.module-BVzGbfDD.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-nZwpz9Eo.js → SuggestFieldMobileDropdownHint-Bh4smUeN.js} +2 -2
- package/chunks/TableFooter.module-hx13-EO6.js +14 -0
- package/chunks/TabsExtended.module-CNjCgifz.js +16 -0
- package/chunks/TabsLine.module-_Jn8K0jv.js +23 -0
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +19 -0
- package/chunks/{TooltipMobileCloseButton-DTtQoE3B.js → TooltipMobileCloseButton-BUyQFHWX.js} +4 -4
- package/chunks/TreeView.module-oeG4_2Ve.js +9 -0
- package/chunks/{UploadZoneInput-C2-_7DoS.js → UploadZoneInput-CjsECm07.js} +3 -3
- package/chunks/utils-C1Q-0uVF.js +36 -0
- package/chunks/{utils-CFlJg-k1.js → utils-C8A7RzC0.js} +5 -5
- package/chunks/utils-Cb3psf0n.js +73 -0
- package/chunks/{utils-Dhi5F6Da.js → utils-D-KMukhm.js} +4 -4
- package/chunks/utils-vwCIbf0H.js +24 -0
- package/chunks/{vendor-9KVE23Ri.js → vendor-D3hUOusX.js} +4403 -4403
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +10 -10
- package/components/Alert/AlertContext/AlertContext.js +16 -16
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +13 -13
- package/components/Body/index.js +4 -2
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +6 -6
- package/components/Button/ButtonIcon.js +14 -14
- package/components/Calendar/Calendar.js +131 -126
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarFooterButton.js +31 -0
- package/components/Calendar/components/CalendarViewDays.js +67 -76
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +9 -9
- package/components/Calendar/components/CalendarViewYears.js +10 -10
- package/components/Calendar/utils.js +5 -5
- package/components/Card/CardAction.js +4 -4
- 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 +7 -7
- package/components/Checkbox/Checkbox.js +17 -17
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +5 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +8 -7
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +4 -3
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +22 -21
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +21 -24
- package/components/CheckboxTreeExtended/index.js +5 -0
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +4 -4
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +46 -0
- package/components/Chip/ChipOptions.js +4 -4
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +11 -9
- package/components/ChipGroup/ChipGroup.js +5 -5
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +41 -0
- package/components/Confirm/components/ConfirmClose.js +13 -0
- package/components/Confirm/components/ConfirmCloseButton.js +27 -0
- package/components/Confirm/components/ConfirmContent.js +13 -0
- package/components/Confirm/components/ConfirmContentSubTitle.js +15 -0
- package/components/Confirm/components/ConfirmContentTitle.js +16 -0
- package/components/Confirm/components/ConfirmControls.js +9 -0
- package/components/Confirm/enums.js +5 -0
- package/components/Confirm/index.js +5 -0
- package/components/DateField/DateField.js +8 -8
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +13 -13
- package/components/DateRange/DateRange.js +73 -0
- package/components/DateRange/enums.js +5 -0
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +71 -54
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +64 -47
- package/components/DesignTokens/components/Calendar.js +0 -2
- package/components/DesignTokens/components/Island.js +4 -4
- package/components/DesignTokens/components/IslandAccordion.js +15 -4
- package/components/DesignTokens/components/MultiselectField.js +9 -0
- package/components/DesignTokens/components/Slider.js +59 -0
- package/components/DesignTokens/components/SmallInput.js +15 -0
- package/components/DesignTokens/components/TopOverlay.js +9 -0
- package/components/DesignTokens/components/UploadZone.js +1 -1
- package/components/DesignTokens/components/index.js +95 -83
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +64 -0
- package/components/DocumentNumberEdit/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +17 -17
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 +21 -21
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +10 -10
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +38 -37
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- package/components/FormField/index.js +1 -1
- 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 +6 -6
- 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 +13 -13
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- 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 +81 -73
- package/components/LightBox/LightBox.js +24 -24
- 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 +9 -9
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +22 -22
- package/components/List/List.js +5 -5
- 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 +3 -3
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +5 -5
- 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 +6 -6
- package/components/List/components/ListSortableItemControls.js +8 -8
- package/components/List/components/ListSortableItemTarget.js +9 -9
- 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 +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 +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +6 -6
- package/components/ModalWindow/components/ModalWindowBody.js +14 -182
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +6 -6
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/MultiselectField.js +22 -0
- package/components/MultiselectField/MultiselectFieldContext.js +10 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +65 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +23 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +13 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +13 -0
- package/components/MultiselectField/components/index.js +11 -0
- package/components/MultiselectField/index.js +5 -0
- 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/NotificationBodyContent.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/Notification/index.js +7 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +6 -6
- 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 +2 -2
- 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 +5 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +10 -10
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +60 -54
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +83 -69
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/Slider/Slider.js +20 -0
- package/components/Slider/index.js +5 -0
- package/components/SliderExtended/SliderExtended.js +102 -0
- package/components/SliderExtended/SliderExtendedContext.js +30 -0
- package/components/SliderExtended/SliderExtendedUtils.js +32 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +158 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDotActions.js +12 -0
- package/components/SliderExtended/components/SliderExtendedDot/useSliderExtendedDotTabIndex.js +21 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +48 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarkActions.js +27 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +9 -0
- package/components/SliderExtended/components/SliderExtendedMoveHandler.js +25 -0
- package/components/SliderExtended/components/SliderExtendedRail.js +10 -0
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +39 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +147 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrackActions.js +36 -0
- package/components/SliderExtended/index.js +5 -0
- package/components/SliderRange/SliderRange.js +63 -0
- package/components/SliderRange/index.js +5 -0
- package/components/SmallInput/SmallInput.js +11 -0
- package/components/SmallInput/index.js +5 -0
- package/components/Spoiler/Spoiler.js +5 -5
- package/components/StatusTracker/StatusTracker.js +13 -13
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- 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/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/StatusTracker/enums.js +1 -1
- package/components/StatusTracker/index.js +3 -0
- package/components/Step/Step.js +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- 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/FilterPanel.js +7 -7
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +8 -8
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +20 -20
- 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 +31 -34
- package/components/Table/TableBasicSettings/TableBasicSettings.js +27 -29
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +14 -11
- 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/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +22 -10
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- 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 +7 -7
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +13 -12
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +7 -7
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- 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 +2 -2
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- package/components/TopOverlay/TopOverlay.js +85 -0
- package/components/TopOverlay/index.js +5 -0
- package/components/TreeView/TreeView.js +9 -8
- package/components/TreeView/components/TreeViewGroup.js +3 -2
- package/components/TreeView/components/TreeViewNode.js +12 -11
- package/components/Typography/Caption.js +8 -8
- package/components/Typography/Text.js +17 -17
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +499 -415
- package/consts/DateConst.js +1 -1
- package/helpers/less/z-indexes.less +6 -1
- package/index.d.ts +1149 -141
- package/index.js +506 -422
- package/package.json +45 -1
- package/styles/triplex-next.css +527 -501
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-Cs4qo2T0.js +0 -105
- package/chunks/Card.module-lZl8x0iL.js +0 -17
- package/chunks/DropdownListItem-SqymKZn5.js +0 -57
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +0 -21
- package/chunks/Footer.module-3tcvZGt3.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +0 -9
- package/chunks/HeaderTabs.module-DegB0R8X.js +0 -9
- package/chunks/IslandAccordion.module-DFvQwhSg.js +0 -22
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +0 -8
- package/chunks/ListItemTail.module-CZYSMJRz.js +0 -12
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +0 -10
- package/chunks/ModalWindow.module-DGcF8-xJ.js +0 -17
- package/chunks/Notification.module-Cj_Pd4DQ.js +0 -21
- package/chunks/Overlay.module-BqJXvoeX.js +0 -18
- package/chunks/Page.module-DUQ6i8Ez.js +0 -12
- package/chunks/SMSInput.module-D1TiDw_A.js +0 -16
- package/chunks/StatusTracker.module-DetC6Udk.js +0 -24
- package/chunks/TableFooter.module-BF4P3QCw.js +0 -13
- package/chunks/TabsExtended.module-BciQYRi4.js +0 -16
- package/chunks/TabsLine.module-Cx0n_AdV.js +0 -23
- package/chunks/TooltipDesktop.module-DK06gaHe.js +0 -19
- package/chunks/utils-CXhKCNyM.js +0 -72
- package/chunks/utils-CoHHiBA8.js +0 -24
- package/chunks/utils-D9w2Kvyk.js +0 -36
- package/components/Calendar/CalendarRange.js +0 -28
- package/components/Calendar/components/CalendarTodayButton.js +0 -31
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +0 -86
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as t } from "../../../chunks/vendor-
|
|
4
|
-
const l = "
|
|
3
|
+
import { c as t } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const l = "islandBody__3a48c9a3", n = {
|
|
5
5
|
islandBody: l
|
|
6
|
-
}, m = r.forwardRef(({ children: o, ...s },
|
|
6
|
+
}, m = r.forwardRef(({ children: o, ...s }, a) => /* @__PURE__ */ d("div", { className: t(n.islandBody), ref: a, ...s, children: o }));
|
|
7
7
|
export {
|
|
8
8
|
m as IslandBody
|
|
9
9
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const l = "
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as a } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const l = "islandFooter__72187b60", n = {
|
|
5
5
|
islandFooter: l
|
|
6
|
-
},
|
|
6
|
+
}, m = e.forwardRef(({ children: o, ...r }, t) => /* @__PURE__ */ s("div", { className: a(n.islandFooter), ref: t, ...r, children: o }));
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
m as IslandFooter
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=IslandFooter.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor-
|
|
4
|
-
const t = "
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const t = "islandHeader__410fd016", l = {
|
|
5
5
|
islandHeader: t
|
|
6
|
-
},
|
|
6
|
+
}, f = d.forwardRef(({ children: e, ...a }, r) => /* @__PURE__ */ s("div", { className: o(l.islandHeader), ref: r, ...a, children: e }));
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
f as IslandHeader
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=IslandHeader.js.map
|
|
@@ -8,8 +8,8 @@ import { EIslandType as l } from "../Island/enums.js";
|
|
|
8
8
|
import "../Island/components/IslandBody.js";
|
|
9
9
|
import "../Island/components/IslandHeader.js";
|
|
10
10
|
import "../Island/components/IslandFooter.js";
|
|
11
|
-
import { c as f } from "../../chunks/vendor-
|
|
12
|
-
import { s as I } from "../../chunks/IslandAccordion.module-
|
|
11
|
+
import { c as f } from "../../chunks/vendor-D3hUOusX.js";
|
|
12
|
+
import { s as I } from "../../chunks/IslandAccordion.module-D9LSijXT.js";
|
|
13
13
|
import "./components/IslandAccordionContent.js";
|
|
14
14
|
import "./components/IslandAccordionFooter.js";
|
|
15
15
|
import "./components/IslandAccordionTitle.js";
|
|
@@ -17,7 +17,7 @@ const x = Object.assign(
|
|
|
17
17
|
e.forwardRef(
|
|
18
18
|
({ className: r, children: t, size: m = d.MD, type: i = l.TYPE_1, ...s }, a) => {
|
|
19
19
|
const c = f(r, I.islandAccordion);
|
|
20
|
-
return /* @__PURE__ */ o(p.Provider, { value: { size: m, type: i }, children: /* @__PURE__ */ o("ul", { ...s, className: c, "data-tx": "1.
|
|
20
|
+
return /* @__PURE__ */ o(p.Provider, { value: { size: m, type: i }, children: /* @__PURE__ */ o("ul", { ...s, className: c, "data-tx": "1.6.0", ref: a, children: t }) });
|
|
21
21
|
}
|
|
22
22
|
),
|
|
23
23
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { s as r } from "../../../chunks/IslandAccordion.module-
|
|
2
|
+
import { s as r } from "../../../chunks/IslandAccordion.module-D9LSijXT.js";
|
|
3
3
|
import { Island as s } from "../../Island/Island.js";
|
|
4
4
|
import "../../Island/components/IslandBody.js";
|
|
5
5
|
import "../../Island/components/IslandHeader.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../../chunks/vendor-
|
|
3
|
-
import { s as m } from "../../../chunks/IslandAccordion.module-
|
|
2
|
+
import { c as t } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { s as m } from "../../../chunks/IslandAccordion.module-D9LSijXT.js";
|
|
4
4
|
import { Island as i } from "../../Island/Island.js";
|
|
5
5
|
import "../../Island/components/IslandBody.js";
|
|
6
6
|
import "../../Island/components/IslandHeader.js";
|
|
@@ -1,90 +1,98 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { CaretdownStrokeSrvIcon24 as
|
|
4
|
-
import { a as
|
|
5
|
-
import { Island as
|
|
6
|
-
import { ExpandAnimation as
|
|
7
|
-
import { s as
|
|
8
|
-
import { IslandAccordionTitle as
|
|
9
|
-
import { IslandAccordionContent as
|
|
10
|
-
import { IslandAccordionFooter as
|
|
11
|
-
import { createSizeToClassNameMap as
|
|
1
|
+
import { jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import Y, { useState as S, useContext as W, useRef as $, useCallback as k, useEffect as q } from "react";
|
|
3
|
+
import { CaretdownStrokeSrvIcon24 as X, CrossStrokeSrvIcon24 as D } from "@sberbusiness/icons-next";
|
|
4
|
+
import { a as G, c as d } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { Island as v } from "../../Island/Island.js";
|
|
6
|
+
import { ExpandAnimation as J } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
7
|
+
import { s as e } from "../../../chunks/IslandAccordion.module-D9LSijXT.js";
|
|
8
|
+
import { IslandAccordionTitle as K } from "./IslandAccordionTitle.js";
|
|
9
|
+
import { IslandAccordionContent as L } from "./IslandAccordionContent.js";
|
|
10
|
+
import { IslandAccordionFooter as Q } from "./IslandAccordionFooter.js";
|
|
11
|
+
import { createSizeToClassNameMap as U } from "../../../utils/classNameMaps.js";
|
|
12
12
|
import "../../Button/Button.js";
|
|
13
13
|
import "../../Button/ButtonBase.js";
|
|
14
|
-
import { ButtonIcon as
|
|
14
|
+
import { ButtonIcon as V } from "../../Button/ButtonIcon.js";
|
|
15
15
|
import "../../Button/ButtonDropdown.js";
|
|
16
16
|
import "../../Button/ButtonDropdownExtended.js";
|
|
17
|
-
import { EIslandType as
|
|
17
|
+
import { EIslandType as l } from "../../Island/enums.js";
|
|
18
18
|
import "../../Island/components/IslandBody.js";
|
|
19
19
|
import "../../Island/components/IslandHeader.js";
|
|
20
20
|
import "../../Island/components/IslandFooter.js";
|
|
21
|
-
import { Step as
|
|
22
|
-
import { EStepPosition as
|
|
23
|
-
import { IslandAccordionContext as
|
|
24
|
-
const
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
},
|
|
29
|
-
|
|
21
|
+
import { Step as Z } from "../../Step/Step.js";
|
|
22
|
+
import { EStepPosition as R } from "../../Step/enums.js";
|
|
23
|
+
import { IslandAccordionContext as g } from "../IslandAccordionContext.js";
|
|
24
|
+
const ee = {
|
|
25
|
+
[l.TYPE_1]: e.type1,
|
|
26
|
+
[l.TYPE_2]: e.type2,
|
|
27
|
+
[l.TYPE_3]: e.type3
|
|
28
|
+
}, te = U(e), re = Object.assign(
|
|
29
|
+
Y.forwardRef(
|
|
30
30
|
({
|
|
31
|
-
children:
|
|
32
|
-
title:
|
|
33
|
-
className:
|
|
31
|
+
children: A,
|
|
32
|
+
title: E,
|
|
33
|
+
className: F,
|
|
34
34
|
opened: o,
|
|
35
35
|
disabled: a,
|
|
36
|
-
onRemove:
|
|
37
|
-
onToggle:
|
|
36
|
+
onRemove: s,
|
|
37
|
+
onToggle: i,
|
|
38
38
|
id: n,
|
|
39
|
-
num:
|
|
40
|
-
status:
|
|
41
|
-
stepHint:
|
|
42
|
-
transitionProps:
|
|
39
|
+
num: m,
|
|
40
|
+
status: p,
|
|
41
|
+
stepHint: b,
|
|
42
|
+
transitionProps: H,
|
|
43
43
|
...T
|
|
44
44
|
}, _) => {
|
|
45
|
-
const [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
const [r, f] = S(o || !1), [O, I] = S(!1), { size: u, type: h } = W(g), C = $(G()).current, N = `${C}header`, x = `${C}body`, P = k(() => {
|
|
46
|
+
I(!0);
|
|
47
|
+
}, []), j = k(() => {
|
|
48
|
+
I(!1);
|
|
49
|
+
}, []);
|
|
50
|
+
q(() => {
|
|
51
|
+
o !== void 0 && r !== o && f(o);
|
|
52
|
+
}, [o, r]);
|
|
53
|
+
const w = () => {
|
|
50
54
|
if (a)
|
|
51
55
|
return;
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
},
|
|
55
|
-
a ||
|
|
56
|
-
},
|
|
57
|
-
[
|
|
58
|
-
[
|
|
56
|
+
const y = !r;
|
|
57
|
+
i == null || i(y, n), o === void 0 && f(y);
|
|
58
|
+
}, z = () => {
|
|
59
|
+
a || s == null || s(n);
|
|
60
|
+
}, B = d(F, e.item, te[u], ee[h], {
|
|
61
|
+
[e.disabled]: !!a,
|
|
62
|
+
[e.opened]: r
|
|
63
|
+
}), M = d(e.island, {
|
|
64
|
+
[e.focused]: O
|
|
59
65
|
});
|
|
60
|
-
return /* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
66
|
+
return /* @__PURE__ */ t("li", { ...T, className: B, id: n, ref: _, children: /* @__PURE__ */ c(v, { className: M, size: u, type: h, children: [
|
|
67
|
+
/* @__PURE__ */ t(v.Header, { children: /* @__PURE__ */ c(
|
|
62
68
|
"button",
|
|
63
69
|
{
|
|
64
|
-
id:
|
|
65
|
-
"aria-controls":
|
|
66
|
-
"aria-expanded":
|
|
70
|
+
id: N,
|
|
71
|
+
"aria-controls": x,
|
|
72
|
+
"aria-expanded": r,
|
|
67
73
|
type: "button",
|
|
68
|
-
className:
|
|
69
|
-
onClick:
|
|
74
|
+
className: e.header,
|
|
75
|
+
onClick: w,
|
|
76
|
+
onFocus: P,
|
|
77
|
+
onBlur: j,
|
|
70
78
|
disabled: a,
|
|
71
|
-
"data-tx": "1.
|
|
79
|
+
"data-tx": "1.6.0",
|
|
72
80
|
children: [
|
|
73
|
-
|
|
74
|
-
/* @__PURE__ */ c("div", { className:
|
|
81
|
+
p && m && /* @__PURE__ */ t("div", { className: e.step, children: /* @__PURE__ */ t(Z, { step: m, status: p, position: R.XFirst, children: a ? void 0 : b }) }),
|
|
82
|
+
/* @__PURE__ */ c("div", { className: e.titleWrapper, children: [
|
|
75
83
|
" ",
|
|
76
|
-
|
|
84
|
+
E
|
|
77
85
|
] }),
|
|
78
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ t(
|
|
79
87
|
"span",
|
|
80
88
|
{
|
|
81
|
-
className:
|
|
82
|
-
active:
|
|
89
|
+
className: d(e.caretWrapper, "hoverable", {
|
|
90
|
+
active: r
|
|
83
91
|
}),
|
|
84
|
-
children: /* @__PURE__ */
|
|
85
|
-
|
|
92
|
+
children: /* @__PURE__ */ t(
|
|
93
|
+
X,
|
|
86
94
|
{
|
|
87
|
-
className:
|
|
95
|
+
className: e.caretIcon,
|
|
88
96
|
"aria-hidden": "true",
|
|
89
97
|
paletteIndex: 5
|
|
90
98
|
}
|
|
@@ -94,29 +102,29 @@ const Q = {
|
|
|
94
102
|
]
|
|
95
103
|
}
|
|
96
104
|
) }),
|
|
97
|
-
|
|
98
|
-
/* @__PURE__ */
|
|
99
|
-
|
|
105
|
+
s && /* @__PURE__ */ t("div", { className: e.remove, children: /* @__PURE__ */ t(V, { onClick: z, title: "Удалить", children: /* @__PURE__ */ t(D, { paletteIndex: 5 }) }) }),
|
|
106
|
+
/* @__PURE__ */ t(
|
|
107
|
+
J,
|
|
100
108
|
{
|
|
101
|
-
expanded:
|
|
102
|
-
id:
|
|
109
|
+
expanded: r && !a,
|
|
110
|
+
id: x,
|
|
103
111
|
role: "region",
|
|
104
|
-
"aria-labelledby":
|
|
105
|
-
transitionProps:
|
|
106
|
-
children:
|
|
112
|
+
"aria-labelledby": N,
|
|
113
|
+
transitionProps: H,
|
|
114
|
+
children: A
|
|
107
115
|
}
|
|
108
116
|
)
|
|
109
117
|
] }) });
|
|
110
118
|
}
|
|
111
119
|
),
|
|
112
120
|
{
|
|
113
|
-
Title:
|
|
114
|
-
Content:
|
|
115
|
-
Footer:
|
|
121
|
+
Title: K,
|
|
122
|
+
Content: L,
|
|
123
|
+
Footer: Q
|
|
116
124
|
}
|
|
117
125
|
);
|
|
118
|
-
|
|
126
|
+
re.displayName = "IslandAccordionItem";
|
|
119
127
|
export {
|
|
120
|
-
|
|
128
|
+
re as IslandAccordionItem
|
|
121
129
|
};
|
|
122
130
|
//# sourceMappingURL=IslandAccordionItem.js.map
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { jsxs as B, Fragment as T, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as l, useEffect as p } from "react";
|
|
3
|
-
import { c as V,
|
|
4
|
-
import { s as e, L as D } from "../../chunks/LightBoxContent-
|
|
3
|
+
import { c as V, h as A } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { s as e, L as D } from "../../chunks/LightBoxContent-BjsBFl6W.js";
|
|
5
5
|
import { LightBoxControls as F } from "./LightBoxControls/LightBoxControls.js";
|
|
6
6
|
import { LightBoxSideOverlay as I } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
7
|
import { Portal as k } from "../Portal/Portal.js";
|
|
8
8
|
import { addClassNameWithScrollbarWidth as R } from "../../utils/scroll/scrollbar.js";
|
|
9
|
-
import {
|
|
9
|
+
import { TopOverlay as j } from "../TopOverlay/TopOverlay.js";
|
|
10
10
|
import { LightBoxViewManager as q } from "./LightBoxViewManager/LightBoxViewManager.js";
|
|
11
11
|
import { MobileView as W } from "../MobileView/MobileView.js";
|
|
12
12
|
import { FocusTrapUtils as $ } from "../../utils/focus/FocusTrapUtils.js";
|
|
13
13
|
import { useToken as z } from "../ThemeProvider/useToken.js";
|
|
14
14
|
const H = {
|
|
15
|
-
"scroll-0": "scroll-
|
|
16
|
-
"scroll-15": "scroll-
|
|
17
|
-
"scroll-16": "scroll-
|
|
18
|
-
"scroll-17": "scroll-
|
|
19
|
-
},
|
|
15
|
+
"scroll-0": "scroll-0__56169442",
|
|
16
|
+
"scroll-15": "scroll-15__eedc4b43",
|
|
17
|
+
"scroll-16": "scroll-16__6677d423",
|
|
18
|
+
"scroll-17": "scroll-17__d4f15475"
|
|
19
|
+
}, N = "LightBox-next-mount-node", v = "LightBox-next-view-manager-node", L = [e.bodyOverflowHidden], r = ({
|
|
20
20
|
children: y,
|
|
21
21
|
className: M,
|
|
22
22
|
focusTrapProps: n,
|
|
23
23
|
forwardRef: s,
|
|
24
24
|
mountNode: d,
|
|
25
|
-
lightBoxViewManagerNodeId: m =
|
|
25
|
+
lightBoxViewManagerNodeId: m = v,
|
|
26
26
|
isLoading: u,
|
|
27
27
|
isSideOverlayOpened: i,
|
|
28
28
|
isTopOverlayOpened: E,
|
|
29
29
|
...b
|
|
30
30
|
}) => {
|
|
31
|
-
const c = l(null),
|
|
31
|
+
const c = l(null), h = l(null), { scopeClassName: C } = z(), S = () => {
|
|
32
32
|
let t = null;
|
|
33
|
-
return d ? t = d : (t = document.querySelector(`#${
|
|
33
|
+
return d ? t = d : (t = document.querySelector(`#${N}`), t || (t = document.createElement("div"), t.setAttribute("id", N), document.body.appendChild(t))), t;
|
|
34
34
|
}, _ = () => {
|
|
35
35
|
let t = null;
|
|
36
|
-
return m && (t = document.querySelector(`#${m}`)), t || (t = document.createElement("div"), t.setAttribute("id",
|
|
37
|
-
}, a = l(S()),
|
|
38
|
-
|
|
36
|
+
return m && (t = document.querySelector(`#${m}`)), t || (t = document.createElement("div"), t.setAttribute("id", v), document.body.appendChild(t)), t;
|
|
37
|
+
}, a = l(S()), g = l(_()), x = () => {
|
|
38
|
+
L.forEach((t) => document.documentElement.classList.add(t));
|
|
39
39
|
};
|
|
40
|
-
p(() => (R(H),
|
|
40
|
+
p(() => (R(H), x(), setTimeout(x, 100), () => L.forEach((t) => document.documentElement.classList.remove(t))), []), p(() => {
|
|
41
41
|
if (!i && c.current) {
|
|
42
42
|
const t = Math.round(Math.random() * 100);
|
|
43
43
|
c.current.style.zIndex = t.toString();
|
|
44
44
|
}
|
|
45
45
|
}, [i]);
|
|
46
46
|
const w = (t) => {
|
|
47
|
-
|
|
47
|
+
h.current = t, s && (s.current = t);
|
|
48
48
|
}, O = V(
|
|
49
49
|
C,
|
|
50
50
|
e.lightBox,
|
|
@@ -57,7 +57,7 @@ const H = {
|
|
|
57
57
|
);
|
|
58
58
|
if (!a.current)
|
|
59
59
|
return null;
|
|
60
|
-
const
|
|
60
|
+
const f = () => /* @__PURE__ */ B("div", { className: O, ref: w, role: "dialog", "aria-modal": "true", ...b, children: [
|
|
61
61
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
62
62
|
y,
|
|
63
63
|
/* @__PURE__ */ o("span", { ref: c, className: e.tempElSafariBug })
|
|
@@ -73,20 +73,20 @@ const H = {
|
|
|
73
73
|
...n,
|
|
74
74
|
focusTrapOptions: {
|
|
75
75
|
clickOutsideDeactivates: !0,
|
|
76
|
-
initialFocus: () => $.getFirstInteractionElementByDataAttr(
|
|
76
|
+
initialFocus: () => $.getFirstInteractionElementByDataAttr(h.current),
|
|
77
77
|
preventScroll: !0,
|
|
78
78
|
...n == null ? void 0 : n.focusTrapOptions
|
|
79
79
|
},
|
|
80
|
-
children:
|
|
80
|
+
children: f()
|
|
81
81
|
}
|
|
82
82
|
),
|
|
83
|
-
children:
|
|
83
|
+
children: f()
|
|
84
84
|
}
|
|
85
85
|
) }),
|
|
86
|
-
|
|
86
|
+
g.current && /* @__PURE__ */ o(
|
|
87
87
|
q,
|
|
88
88
|
{
|
|
89
|
-
lightBoxViewManagerNode:
|
|
89
|
+
lightBoxViewManagerNode: g.current,
|
|
90
90
|
lightBoxMountNode: a.current
|
|
91
91
|
}
|
|
92
92
|
)
|
|
@@ -99,7 +99,7 @@ r.Controls = F;
|
|
|
99
99
|
r.displayName = "LightBox";
|
|
100
100
|
export {
|
|
101
101
|
r as LightBox,
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
N as lightBoxMountNodeIdDefault,
|
|
103
|
+
v as lightBoxViewManagerNodeIdDefault
|
|
104
104
|
};
|
|
105
105
|
//# sourceMappingURL=LightBox.js.map
|
|
@@ -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-D3hUOusX.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-BjsBFl6W.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-D3hUOusX.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-BHw6I5-d.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-D3hUOusX.js";
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-BHw6I5-d.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-D3hUOusX.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-BHw6I5-d.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-D3hUOusX.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-BHw6I5-d.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as i, jsxs as B, Fragment as W } from "react/jsx-runtime";
|
|
2
2
|
import { useState as O, useRef as x, useEffect as L } from "react";
|
|
3
|
-
import { c as _, F as X } from "../../../chunks/vendor-
|
|
3
|
+
import { c as _, F as X } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { OverlayBase as Y, EOverlayDirection as R } from "../../Overlay/OverlayBase.js";
|
|
5
5
|
import { OverlayMask as j } from "../../Overlay/OverlayMask.js";
|
|
6
6
|
import { LightBoxSideOverlayLoader as I } from "./LightBoxSideOverlayLoader.js";
|
|
7
7
|
import { FocusTrapUtils as T } from "../../../utils/focus/FocusTrapUtils.js";
|
|
8
8
|
import { LightBoxSideOverlayCloseMobile as A } from "./LightBoxSideOverlayCloseMobile.js";
|
|
9
9
|
import { LightBoxSideOverlayCloseDesktop as U } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
|
-
const q = "
|
|
10
|
+
const q = "lightBoxSideOverlayMask__37ecee17", E = "lightBoxSideOverlayWrapper__e5cb1c20", J = "overflowXHidden__974deff4", K = "overflowYHidden__40529122", Q = "closing__fa78239d", V = "opened__9cb2da88", Z = "lightBoxSideOverlayContent__840bb60f", $ = "opening__37a3b80a", P = "sizeSM__83fdfbf4", ee = "sizeMD__31311621", te = "sizeLG__143bb5bc", oe = "lightBoxSideOverlay__e888f549", e = {
|
|
11
11
|
lightBoxSideOverlayMask: q,
|
|
12
12
|
lightBoxSideOverlayWrapper: E,
|
|
13
13
|
overflowXHidden: J,
|
|
@@ -34,16 +34,16 @@ const h = ({
|
|
|
34
34
|
onOpen: d,
|
|
35
35
|
opened: o,
|
|
36
36
|
size: f = 1,
|
|
37
|
-
...
|
|
37
|
+
...b
|
|
38
38
|
}) => {
|
|
39
39
|
const [r, v] = O(!1), [s, g] = O(!1), m = x(o), y = x(null);
|
|
40
40
|
L(() => {
|
|
41
41
|
m.current && !o ? (g(!1), v(!0)) : !m.current && o && (v(!1), g(!0)), m.current = o;
|
|
42
42
|
}, [o]);
|
|
43
|
-
const
|
|
43
|
+
const D = (n) => {
|
|
44
44
|
const { target: z, currentTarget: C } = n;
|
|
45
45
|
z === C && (r ? (v(!1), c == null || c()) : s && (g(!1), d == null || d()));
|
|
46
|
-
},
|
|
46
|
+
}, k = ({ opened: n }) => /* @__PURE__ */ i(j, { opened: n, className: e.lightBoxSideOverlayMask }), H = () => /* @__PURE__ */ B(
|
|
47
47
|
"div",
|
|
48
48
|
{
|
|
49
49
|
className: _(e.lightBoxSideOverlayContent, {
|
|
@@ -51,7 +51,7 @@ const h = ({
|
|
|
51
51
|
[e.opening]: s,
|
|
52
52
|
[e.opened]: o
|
|
53
53
|
}),
|
|
54
|
-
onTransitionEnd:
|
|
54
|
+
onTransitionEnd: D,
|
|
55
55
|
ref: y,
|
|
56
56
|
children: [
|
|
57
57
|
t,
|
|
@@ -69,8 +69,8 @@ const h = ({
|
|
|
69
69
|
[e.sizeLG]: f === 2
|
|
70
70
|
/* LG */
|
|
71
71
|
}), F = (n) => /* @__PURE__ */ B(W, { children: [
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
k(n),
|
|
73
|
+
H()
|
|
74
74
|
] }), N = /* @__PURE__ */ i(
|
|
75
75
|
"div",
|
|
76
76
|
{
|
|
@@ -92,7 +92,7 @@ const h = ({
|
|
|
92
92
|
preventScroll: !0,
|
|
93
93
|
...l == null ? void 0 : l.focusTrapOptions
|
|
94
94
|
},
|
|
95
|
-
children: /* @__PURE__ */ i("div", { className: G, role: "dialog", "aria-modal": "true", ...
|
|
95
|
+
children: /* @__PURE__ */ i("div", { className: G, role: "dialog", "aria-modal": "true", ...b, children: N })
|
|
96
96
|
}
|
|
97
97
|
);
|
|
98
98
|
};
|
|
@@ -2,12 +2,12 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as s } from "react";
|
|
3
3
|
import { TriggerClickOnKeyDownEvent as n } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
4
4
|
import { EVENT_KEY_CODES as l } from "../../../utils/keyboard.js";
|
|
5
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
6
6
|
import { CrossStrokeSrvIcon32 as f } from "@sberbusiness/icons-next";
|
|
7
7
|
import { EButtonTheme as a } from "../../Button/enums.js";
|
|
8
8
|
import { EComponentSize as c } from "../../../enums/EComponentSize.js";
|
|
9
9
|
import { Button as d } from "../../Button/Button.js";
|
|
10
|
-
import { s as u } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
10
|
+
import { s as u } from "../../../chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js";
|
|
11
11
|
const C = ({
|
|
12
12
|
className: r,
|
|
13
13
|
clickByEsc: m,
|
|
@@ -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-D3hUOusX.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-VE4NCDr0.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,18 +1,18 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { useState as s, useRef as
|
|
3
|
-
import { LoaderScreen as
|
|
4
|
-
const n = "
|
|
2
|
+
import { useState as s, useRef as d, useEffect as l } from "react";
|
|
3
|
+
import { LoaderScreen as p } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__f8d6720b", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
|
-
const [t, r] = s(0), e =
|
|
8
|
-
return
|
|
7
|
+
const [t, r] = s(0), e = d(null);
|
|
8
|
+
return l(() => {
|
|
9
9
|
setTimeout(() => {
|
|
10
10
|
if (e.current) {
|
|
11
11
|
const o = e.current.getBoundingClientRect();
|
|
12
12
|
o.top !== t && (o.top > 0 ? r(0) : r(Math.abs(o.top)));
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
}, []), /* @__PURE__ */ i("div", { ref: e, className: c.lightBoxSideOverlayLoaderWrapper, style: { top: `${t}px` }, children: /* @__PURE__ */ i(
|
|
15
|
+
}, []), /* @__PURE__ */ i("div", { ref: e, className: c.lightBoxSideOverlayLoaderWrapper, style: { top: `${t}px` }, children: /* @__PURE__ */ i(p, { type: "middle", children: a }) });
|
|
16
16
|
};
|
|
17
17
|
f.displayName = "LightBoxSideOverlayLoader";
|
|
18
18
|
export {
|
|
@@ -2,8 +2,8 @@ import { jsx as r, jsxs as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as m, useRef as L, useCallback as n, useLayoutEffect as c } from "react";
|
|
3
3
|
import { Portal as B } from "../../Portal/Portal.js";
|
|
4
4
|
import { LightBoxViewManagerConsts as l } from "./LightBoxViewManagerConsts.js";
|
|
5
|
-
import { u as k, i as P,
|
|
6
|
-
const g = "LightBoxMountNodeViewManager",
|
|
5
|
+
import { u as k, i as P, j as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
+
const g = "LightBoxMountNodeViewManager", M = ({
|
|
7
7
|
lightBoxMountNode: a,
|
|
8
8
|
lightBoxViewManagerNode: x
|
|
9
9
|
}) => {
|
|
@@ -58,6 +58,6 @@ const g = "LightBoxMountNodeViewManager", $ = ({
|
|
|
58
58
|
] }) });
|
|
59
59
|
};
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
M as LightBoxViewManager
|
|
62
62
|
};
|
|
63
63
|
//# sourceMappingURL=LightBoxViewManager.js.map
|