@sberbusiness/triplex-next 0.22.0 → 0.23.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-BsywFBZZ.js → AlertProcessSpoiler-BoQok_f3.js} +9 -9
- package/chunks/CalendarViewItem-DKS15EZ4.js +101 -0
- package/chunks/Card.module-BmZKmkeY.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CGSpV-y1.js +15 -0
- package/chunks/Chip-D5zfQfAA.js +104 -0
- package/chunks/Confirm.module-CtbiIzcl.js +15 -0
- package/chunks/{DropdownListItem-C5KVFMFN.js → DropdownListItem-C4JE2xV7.js} +14 -14
- package/chunks/DropdownMobile.module-BgSbdJtS.js +23 -0
- package/chunks/Footer.module-B469C_XO.js +9 -0
- package/chunks/{FormFieldInput-Dp--anY3.js → FormFieldInput-Dr_WBweC.js} +2 -2
- package/chunks/HeaderLayoutSidebar.module-DYtQ2wvu.js +9 -0
- package/chunks/HeaderTabs.module-4iOT34Zp.js +9 -0
- package/chunks/{HeaderTitle.module-C_Qbl_yg.js → HeaderTitle.module-D5yAgpuv.js} +2 -2
- package/chunks/IslandAccordion.module-mdAdZwJL.js +25 -0
- package/chunks/IslandWidgetFooter.module-ClvLmtck.js +9 -0
- package/chunks/IslandWidgetHeader.module-CuVaAc4F.js +12 -0
- package/chunks/{LightBoxContent-qf3pAUrN.js → LightBoxContent-Lme9r-vN.js} +10 -10
- package/chunks/LightBoxControls.module-qhDcQmnH.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js +9 -0
- package/chunks/ListItemControlsButton-BLbj6vZS.js +51 -0
- package/chunks/ListItemTail.module-BAmXXpc5.js +12 -0
- package/chunks/ListMasterFooter.module-BhwH8qqm.js +10 -0
- package/chunks/ModalWindow.module-Ciwlg3WX.js +17 -0
- package/chunks/Notification.module-CjpGpuL7.js +20 -0
- package/chunks/Overlay.module-DPHcy5Kd.js +18 -0
- package/chunks/Page.module-98SUxLiM.js +11 -0
- package/chunks/{RightBorderArrow-BBut2Is3.js → RightBorderArrow-CGThEmc4.js} +6 -6
- package/chunks/SMSField.module-k0lfRov5.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bdz2AHAO.js +15 -0
- package/chunks/SliderExtendedRail-C51TfjHY.js +40 -0
- package/chunks/StatusTracker.module-BmBKiCLR.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-8Km5bFV3.js +14 -0
- package/chunks/TableFooter.module-D0rUmZhB.js +14 -0
- package/chunks/TabsExtended.module-D5-U63Qf.js +16 -0
- package/chunks/TabsLine.module-DXlTUTm_.js +21 -0
- package/chunks/TooltipDesktop.module-D4z7cwlC.js +19 -0
- package/chunks/TreeView.module-DAOSEOZO.js +9 -0
- package/chunks/{UploadZoneInput-BfYcVOW-.js → UploadZoneInput-onwF8t4d.js} +7 -7
- package/chunks/{constants-BuiH5bGa.js → constants-CUVfo8-z.js} +14 -14
- package/chunks/{utils-D7L6Tbas.js → utils-By-UAq7Y.js} +6 -6
- package/chunks/utils-CyxIcdb6.js +73 -0
- package/chunks/utils-DxMHp1hh.js +28 -0
- package/chunks/{utils-Z5FN_0vH.js → utils-SSwzNA1R.js} +4 -4
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- 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 +4 -4
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +10 -10
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +16 -16
- 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 +4 -4
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +3 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +5 -5
- 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 +22 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +8 -8
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +26 -26
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +14 -14
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- 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 +14 -14
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +8 -8
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +6 -6
- package/components/FormField/components/FormFieldMaskedInput.js +20 -20
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +4 -4
- package/components/FormField/components/FormFieldTarget.js +4 -4
- package/components/FormField/components/FormFieldTextarea.js +12 -12
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- 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 +5 -5
- 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 +8 -8
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +3 -3
- 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 +19 -19
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- 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/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +15 -15
- 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 +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +9 -9
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +13 -11
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +20 -18
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +6 -14
- package/components/List/components/ListSortableItem.js +7 -7
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +8 -8
- 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 +8 -12
- 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 +1 -1
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +4 -4
- package/components/Loader/LoaderSmall/LoaderSmall.js +3 -3
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- package/components/ModalWindow/components/ModalWindowClose.js +7 -7
- 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/MultiselectField/components/MultiselectFieldDropdown.js +33 -46
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- 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 +2 -2
- 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 +8 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +9 -9
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- 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 +12 -12
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +16 -16
- package/components/Radio/RadioYGroup.js +1 -1
- package/components/Row/Row.js +6 -6
- 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 +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +7 -7
- package/components/SelectExtendedField/SelectExtendedField.js +4 -4
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +14 -14
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +1 -1
- 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 +5 -5
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +27 -27
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +15 -15
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +3 -3
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +22 -21
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -30
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +27 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +12 -12
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +12 -12
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- 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/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +26 -26
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +7 -7
- package/components/TextField/TextField.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 +7 -7
- 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 +10 -10
- package/components/TopOverlay/TopOverlay.js +9 -9
- 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 +22 -22
- package/components/Typography/Text.js +27 -27
- package/components/Typography/Title.js +24 -24
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +5 -5
- package/index.d.ts +25 -7
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +541 -541
- package/chunks/CalendarViewItem-EhHNwDDy.js +0 -101
- package/chunks/Card.module-Dgcuvaxs.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CjEhZ2aL.js +0 -15
- package/chunks/Chip-6YRhubRU.js +0 -90
- package/chunks/Confirm.module-BMm4u38e.js +0 -15
- package/chunks/DropdownMobile.module-Cxm5Uhf1.js +0 -23
- package/chunks/Footer.module-CTy6Jb7Q.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DE1rx-T9.js +0 -9
- package/chunks/HeaderTabs.module-CU5av8Im.js +0 -9
- package/chunks/IslandAccordion.module-DLX2HyLA.js +0 -25
- package/chunks/IslandWidgetFooter.module-CevMa9bc.js +0 -9
- package/chunks/IslandWidgetHeader.module-DTRWPBN8.js +0 -12
- package/chunks/LightBoxControls.module-Bg_GYyOS.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Cgag40bQ.js +0 -9
- package/chunks/ListItemControlsButton-BAYnQi20.js +0 -43
- package/chunks/ListItemTail.module-Cu07UH0y.js +0 -12
- package/chunks/ListMasterFooter.module-CAY0qwdE.js +0 -10
- package/chunks/ModalWindow.module-CwlDT1jn.js +0 -17
- package/chunks/Notification.module-C93nRGIm.js +0 -20
- package/chunks/Overlay.module-CYkgbbXG.js +0 -18
- package/chunks/Page.module-DZHBTNJd.js +0 -11
- package/chunks/SMSField.module-BUVlPOpO.js +0 -16
- package/chunks/SliderExtendedMarks.module-B93JtPsG.js +0 -15
- package/chunks/SliderExtendedRail-DbmfJHLD.js +0 -40
- package/chunks/StatusTracker.module-BhVoYRB1.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-BZd9-Rmk.js +0 -14
- package/chunks/TableFooter.module-CwKjzhF7.js +0 -14
- package/chunks/TabsExtended.module-NTLSSjNf.js +0 -16
- package/chunks/TabsLine.module-CCjh6UnA.js +0 -21
- package/chunks/TooltipDesktop.module-CDF6HmOX.js +0 -19
- package/chunks/TreeView.module-7cPW-p6b.js +0 -9
- package/chunks/utils-BgxjtTHV.js +0 -73
- package/chunks/utils-BnE2k27o.js +0 -28
|
@@ -9,31 +9,31 @@ import { IslandWidgetHeader as H } from "./components/IslandWidgetHeader.js";
|
|
|
9
9
|
import { IslandWidgetBody as M } from "./components/IslandWidgetBody.js";
|
|
10
10
|
import { IslandWidgetFooter as w } from "./components/IslandWidgetFooter.js";
|
|
11
11
|
import { IslandWidgetExtraFooter as C } from "./components/IslandWidgetExtraFooter.js";
|
|
12
|
-
import { EComponentSize as
|
|
12
|
+
import { EComponentSize as A } from "../../enums/EComponentSize.js";
|
|
13
13
|
import { c as m } from "../../chunks/vendor---Om3uMV.js";
|
|
14
|
-
import { IslandWidgetLayoutContext as
|
|
15
|
-
import { IslandWidgetContext as
|
|
16
|
-
import { ExpandAnimation as
|
|
14
|
+
import { IslandWidgetLayoutContext as S } from "./IslandWidgetLayoutContext.js";
|
|
15
|
+
import { IslandWidgetContext as O } from "./IslandWidgetContext.js";
|
|
16
|
+
import { ExpandAnimation as j } from "../ExpandAnimation/ExpandAnimation.js";
|
|
17
17
|
import { EScreenWidth as p } from "../../helpers/breakpoints.js";
|
|
18
|
-
import { useMatchMedia as
|
|
19
|
-
const
|
|
20
|
-
islandWidget:
|
|
18
|
+
import { useMatchMedia as N } from "../MediaWidth/useMatchMedia.js";
|
|
19
|
+
const b = "islandWidget__1103a153", k = "islandWidgetWithExtraFooter__d582c8a9", z = "islandWidgetHeaderWrapperAdaptive__93b2037b", d = {
|
|
20
|
+
islandWidget: b,
|
|
21
21
|
islandWidgetWithExtraFooter: k,
|
|
22
22
|
islandWidgetHeaderWrapperAdaptive: z
|
|
23
23
|
}, B = Object.assign(
|
|
24
24
|
F.forwardRef(
|
|
25
|
-
({ className: l, renderBody: c, renderFooter:
|
|
26
|
-
const { hasExtraFooter:
|
|
25
|
+
({ className: l, renderBody: c, renderFooter: o, renderHeader: W, disableAdaptiveCollapsing: r = !1, ...g }, x) => {
|
|
26
|
+
const { hasExtraFooter: f } = _(S), [i, h] = v(r), e = N(
|
|
27
27
|
`(max-width: ${p.SM_MAX})`,
|
|
28
28
|
window.innerWidth <= parseInt(p.SM_MAX)
|
|
29
29
|
), E = () => {
|
|
30
30
|
h(!i);
|
|
31
31
|
}, I = e && !r, a = () => /* @__PURE__ */ n(s, { children: [
|
|
32
32
|
c({}),
|
|
33
|
-
|
|
33
|
+
o ? o({}) : null
|
|
34
34
|
] });
|
|
35
35
|
return /* @__PURE__ */ t(
|
|
36
|
-
|
|
36
|
+
O.Provider,
|
|
37
37
|
{
|
|
38
38
|
value: {
|
|
39
39
|
adaptive: e,
|
|
@@ -43,24 +43,24 @@ const N = "islandWidget__a9e36b8a", k = "islandWidgetWithExtraFooter__b8fa3bfc",
|
|
|
43
43
|
children: /* @__PURE__ */ t(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
|
-
className: m(
|
|
47
|
-
[
|
|
46
|
+
className: m(d.islandWidget, l, {
|
|
47
|
+
[d.islandWidgetWithExtraFooter]: f
|
|
48
48
|
}),
|
|
49
|
-
"data-tx": "0.
|
|
50
|
-
...
|
|
51
|
-
ref:
|
|
52
|
-
children: /* @__PURE__ */ n(u, { type: y.TYPE_1, size:
|
|
49
|
+
"data-tx": "0.23.0",
|
|
50
|
+
...g,
|
|
51
|
+
ref: x,
|
|
52
|
+
children: /* @__PURE__ */ n(u, { type: y.TYPE_1, size: A.MD, children: [
|
|
53
53
|
/* @__PURE__ */ t(
|
|
54
54
|
"div",
|
|
55
55
|
{
|
|
56
56
|
className: m({
|
|
57
|
-
[
|
|
57
|
+
[d.islandWidgetHeaderWrapperAdaptive]: e
|
|
58
58
|
}),
|
|
59
59
|
onClick: e ? E : void 0,
|
|
60
60
|
children: W({})
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
|
-
I ? /* @__PURE__ */ t(
|
|
63
|
+
I ? /* @__PURE__ */ t(j, { expanded: i, children: a() }) : /* @__PURE__ */ t(s, { children: a() })
|
|
64
64
|
] })
|
|
65
65
|
}
|
|
66
66
|
)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
const
|
|
4
|
-
islandWidgetBody:
|
|
5
|
-
}, l = ({ children: d, className: s, ...i }) => /* @__PURE__ */ o("div", { ...i, className: t(
|
|
3
|
+
const e = "islandWidgetBody__de1b686c", a = {
|
|
4
|
+
islandWidgetBody: e
|
|
5
|
+
}, l = ({ children: d, className: s, ...i }) => /* @__PURE__ */ o("div", { ...i, className: t(a.islandWidgetBody, s), children: d });
|
|
6
6
|
l.displayName = "IslandWidgetBody";
|
|
7
7
|
export {
|
|
8
8
|
l as IslandWidgetBody
|
|
@@ -3,21 +3,21 @@ import { useContext as i, useEffect as d } from "react";
|
|
|
3
3
|
import { c as n } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { ExpandAnimation as x } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
5
5
|
import { IslandWidgetLayoutContext as l } from "../IslandWidgetLayoutContext.js";
|
|
6
|
-
const m = "
|
|
6
|
+
const m = "islandWidgetExtraFooter__bec06332", c = {
|
|
7
7
|
islandWidgetExtraFooter: m
|
|
8
|
-
},
|
|
9
|
-
children:
|
|
10
|
-
className:
|
|
8
|
+
}, E = ({
|
|
9
|
+
children: e,
|
|
10
|
+
className: r,
|
|
11
11
|
open: t = !1,
|
|
12
12
|
...a
|
|
13
13
|
}) => {
|
|
14
14
|
const { setHasExtraFooter: s } = i(l);
|
|
15
15
|
return d(() => {
|
|
16
16
|
s(t);
|
|
17
|
-
}, [t]), /* @__PURE__ */ o("div", { ...a, className: n(
|
|
17
|
+
}, [t]), /* @__PURE__ */ o("div", { ...a, className: n(r, c.islandWidgetExtraFooter), children: /* @__PURE__ */ o(x, { expanded: t, children: e }) });
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
E.displayName = "IslandWidgetExtraFooter";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
E as IslandWidgetExtraFooter
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=IslandWidgetExtraFooter.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as n } from "../../../chunks/IslandWidgetFooter.module-
|
|
3
|
+
import { s as n } from "../../../chunks/IslandWidgetFooter.module-ClvLmtck.js";
|
|
4
4
|
import { IslandWidgetFooterContent as d } from "./IslandWidgetFooterContent.js";
|
|
5
5
|
import { IslandWidgetFooterControls as m } from "./IslandWidgetFooterControls.js";
|
|
6
6
|
const o = ({ children: t, className: r, ...s }) => /* @__PURE__ */ e("div", { ...s, className: i(r, n.islandWidgetFooter), children: t });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as l } from "react";
|
|
3
3
|
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as e } from "../../../chunks/IslandWidgetHeader.module-
|
|
4
|
+
import { s as e } from "../../../chunks/IslandWidgetHeader.module-CuVaAc4F.js";
|
|
5
5
|
import { IslandWidgetHeaderContent as c } from "./IslandWidgetHeaderContent.js";
|
|
6
6
|
import { IslandWidgetHeaderDescription as f } from "./IslandWidgetHeaderDescription.js";
|
|
7
7
|
import { CaretdownStrokeSrvIcon24 as I } from "@sberbusiness/icons-next";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as o } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-CuVaAc4F.js";
|
|
4
4
|
const n = ({
|
|
5
5
|
children: e,
|
|
6
6
|
className: t,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as t } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as t } from "../../../chunks/IslandWidgetHeader.module-CuVaAc4F.js";
|
|
4
4
|
const d = ({
|
|
5
5
|
children: s,
|
|
6
6
|
className: e,
|
|
@@ -2,16 +2,16 @@ 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---Om3uMV.js";
|
|
4
4
|
import { IslandWidgetLayoutContext as n } from "../IslandWidgetLayoutContext.js";
|
|
5
|
-
const W = "
|
|
5
|
+
const W = "islandWidgetWrapper__b84f198f", m = {
|
|
6
6
|
islandWidgetWrapper: W
|
|
7
|
-
},
|
|
7
|
+
}, c = i.forwardRef(
|
|
8
8
|
({ children: e, className: t, ...a }, 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(
|
|
10
|
+
return /* @__PURE__ */ r(n.Provider, { value: { hasExtraFooter: o, setHasExtraFooter: d }, children: /* @__PURE__ */ r("div", { className: l(m.islandWidgetWrapper, t), ...a, ref: s, children: e }) });
|
|
11
11
|
}
|
|
12
12
|
);
|
|
13
|
-
|
|
13
|
+
c.displayName = "IslandWidgetWrapper";
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
c as IslandWidgetWrapper
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=IslandWidgetWrapper.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, Fragment as F, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as n, useEffect as B } from "react";
|
|
3
3
|
import { c as V, F as A } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { L as I, s as e } from "../../chunks/LightBoxContent-
|
|
4
|
+
import { L as I, s as e } from "../../chunks/LightBoxContent-Lme9r-vN.js";
|
|
5
5
|
import { LightBoxControls as R } from "./LightBoxControls/LightBoxControls.js";
|
|
6
6
|
import { LightBoxSideOverlay as k } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
7
|
import { Portal as D } from "../Portal/Portal.js";
|
|
@@ -14,18 +14,18 @@ import { useToken as z } from "../ThemeProvider/useToken.js";
|
|
|
14
14
|
import { LightBoxLeftSidebar as H } from "./LightBoxSidebars/LightBoxLeftSidebar.js";
|
|
15
15
|
import { LightBoxRightSidebar as U } from "./LightBoxSidebars/LightBoxRightSidebar.js";
|
|
16
16
|
const Z = {
|
|
17
|
-
"scroll-0": "scroll-
|
|
18
|
-
"scroll-15": "scroll-
|
|
19
|
-
"scroll-16": "scroll-
|
|
20
|
-
"scroll-17": "scroll-
|
|
21
|
-
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node",
|
|
17
|
+
"scroll-0": "scroll-0__5c08ebb9",
|
|
18
|
+
"scroll-15": "scroll-15__26152f74",
|
|
19
|
+
"scroll-16": "scroll-16__4add754e",
|
|
20
|
+
"scroll-17": "scroll-17__27fd2461"
|
|
21
|
+
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node", N = [e.bodyOverflowHidden], b = ({
|
|
22
22
|
children: M,
|
|
23
23
|
className: v,
|
|
24
24
|
focusTrapProps: r,
|
|
25
25
|
forwardRef: c,
|
|
26
26
|
mountNode: s,
|
|
27
|
-
lightBoxViewManagerNodeId:
|
|
28
|
-
isLoading:
|
|
27
|
+
lightBoxViewManagerNodeId: d = L,
|
|
28
|
+
isLoading: m,
|
|
29
29
|
isSideOverlayOpened: i,
|
|
30
30
|
isTopOverlayOpened: y,
|
|
31
31
|
...S
|
|
@@ -35,11 +35,11 @@ const Z = {
|
|
|
35
35
|
return s ? t = s : (t = document.querySelector(`#${p}`), t || (t = document.createElement("div"), t.setAttribute("id", p), document.body.appendChild(t))), t;
|
|
36
36
|
}, w = () => {
|
|
37
37
|
let t = null;
|
|
38
|
-
return
|
|
38
|
+
return d && (t = document.querySelector(`#${d}`)), t || (t = document.createElement("div"), t.setAttribute("id", L), document.body.appendChild(t)), t;
|
|
39
39
|
}, a = n(E()), g = n(w()), h = () => {
|
|
40
|
-
|
|
40
|
+
N.forEach((t) => document.documentElement.classList.add(t));
|
|
41
41
|
};
|
|
42
|
-
B(() => (T(Z), h(), setTimeout(h, 100), () =>
|
|
42
|
+
B(() => (T(Z), h(), setTimeout(h, 100), () => N.forEach((t) => document.documentElement.classList.remove(t))), []), B(() => {
|
|
43
43
|
if (!i && l.current) {
|
|
44
44
|
const t = Math.round(Math.random() * 100);
|
|
45
45
|
l.current.style.zIndex = t.toString();
|
|
@@ -51,7 +51,7 @@ const Z = {
|
|
|
51
51
|
C,
|
|
52
52
|
e.lightBox,
|
|
53
53
|
{
|
|
54
|
-
[e.isLoading]: !!
|
|
54
|
+
[e.isLoading]: !!m,
|
|
55
55
|
[e.lightBoxSideOverlayActive]: !!i,
|
|
56
56
|
[e.lightBoxTopOverlayActive]: !!y
|
|
57
57
|
},
|
|
@@ -71,7 +71,7 @@ const Z = {
|
|
|
71
71
|
fallback: /* @__PURE__ */ o(
|
|
72
72
|
A,
|
|
73
73
|
{
|
|
74
|
-
active: !
|
|
74
|
+
active: !m,
|
|
75
75
|
...r,
|
|
76
76
|
focusTrapOptions: {
|
|
77
77
|
allowOutsideClick: !0,
|
|
@@ -94,8 +94,8 @@ const Z = {
|
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
|
-
|
|
98
|
-
const ct = Object.assign(
|
|
97
|
+
b.displayName = "LightBoxBase";
|
|
98
|
+
const ct = Object.assign(b, {
|
|
99
99
|
Content: I,
|
|
100
100
|
SideOverlay: k,
|
|
101
101
|
TopOverlay: j,
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../chunks/vendor---Om3uMV.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-Lme9r-vN.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-qhDcQmnH.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---Om3uMV.js";
|
|
6
|
-
import { s as p } from "../../../chunks/LightBoxControls.module-
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-qhDcQmnH.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-qhDcQmnH.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-qhDcQmnH.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -9,7 +9,7 @@ import { LightBoxSideOverlayCloseMobile as A } from "./LightBoxSideOverlayCloseM
|
|
|
9
9
|
import { LightBoxSideOverlayCloseDesktop as G } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
10
|
import { EComponentSize as U } from "../../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as q } from "../../../utils/classNameMaps.js";
|
|
12
|
-
const J = "
|
|
12
|
+
const J = "lightBoxSideOverlayMask__a9b3dc3d", K = "lightBoxSideOverlayWrapper__706995a9", Q = "overflowXHidden__da983460", V = "overflowYHidden__f2d08965", Z = "closing__647d498d", $ = "opened__55b09648", P = "lightBoxSideOverlayContent__d803707e", ee = "opening__180f70ad", oe = "sm__5629a592", te = "md__a799085d", ie = "lg__4bc9799e", re = "lightBoxSideOverlay__8e1fa606", e = {
|
|
13
13
|
lightBoxSideOverlayMask: J,
|
|
14
14
|
lightBoxSideOverlayWrapper: K,
|
|
15
15
|
overflowXHidden: Q,
|
|
@@ -26,61 +26,61 @@ const J = "lightBoxSideOverlayMask__abe8a8fc", K = "lightBoxSideOverlayWrapper__
|
|
|
26
26
|
children: x,
|
|
27
27
|
className: S,
|
|
28
28
|
focusTrapProps: l,
|
|
29
|
-
isLoading:
|
|
29
|
+
isLoading: a,
|
|
30
30
|
loadingTitle: _,
|
|
31
31
|
isTopLevelSideOverlayOpened: h,
|
|
32
32
|
isTopOverlayOpened: u,
|
|
33
33
|
onClose: s,
|
|
34
|
-
onOpen:
|
|
34
|
+
onOpen: d,
|
|
35
35
|
opened: o,
|
|
36
36
|
size: M = U.MD,
|
|
37
|
-
...
|
|
37
|
+
...k
|
|
38
38
|
}) => {
|
|
39
|
-
const [i,
|
|
39
|
+
const [i, c] = B(!1), [n, g] = B(!1), m = O(o), p = O(null);
|
|
40
40
|
X(() => {
|
|
41
|
-
m.current && !o ? (g(!1),
|
|
41
|
+
m.current && !o ? (g(!1), c(!0)) : !m.current && o && (c(!1), g(!0)), m.current = o;
|
|
42
42
|
}, [o]);
|
|
43
|
-
const
|
|
43
|
+
const w = (r) => {
|
|
44
44
|
const { target: D, currentTarget: W } = r;
|
|
45
|
-
D === W && (i ? (
|
|
46
|
-
},
|
|
45
|
+
D === W && (i ? (c(!1), s == null || s()) : n && (g(!1), d == null || d()));
|
|
46
|
+
}, C = ({ opened: r }) => /* @__PURE__ */ t(R, { opened: r, className: e.lightBoxSideOverlayMask }), H = () => /* @__PURE__ */ y(
|
|
47
47
|
"div",
|
|
48
48
|
{
|
|
49
49
|
className: v(e.lightBoxSideOverlayContent, {
|
|
50
50
|
[e.closing]: i,
|
|
51
|
-
[e.opening]:
|
|
51
|
+
[e.opening]: n,
|
|
52
52
|
[e.opened]: o
|
|
53
53
|
}),
|
|
54
|
-
onTransitionEnd:
|
|
54
|
+
onTransitionEnd: w,
|
|
55
55
|
ref: p,
|
|
56
56
|
children: [
|
|
57
57
|
x,
|
|
58
|
-
|
|
58
|
+
a && /* @__PURE__ */ t(j, { loadingTitle: _ })
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
|
-
),
|
|
62
|
-
},
|
|
61
|
+
), N = () => {
|
|
62
|
+
}, E = v(S, e.lightBoxSideOverlayWrapper, le[M], {
|
|
63
63
|
[e.closing]: i,
|
|
64
64
|
[e.opened]: o,
|
|
65
|
-
[e.overflowXHidden]: !!h || !!
|
|
66
|
-
[e.overflowYHidden]: !!h || !!
|
|
67
|
-
}),
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
] }),
|
|
65
|
+
[e.overflowXHidden]: !!h || !!a,
|
|
66
|
+
[e.overflowYHidden]: !!h || !!a || !!u
|
|
67
|
+
}), F = (r) => /* @__PURE__ */ y(T, { children: [
|
|
68
|
+
C(r),
|
|
69
|
+
H()
|
|
70
|
+
] }), b = /* @__PURE__ */ t(
|
|
71
71
|
"div",
|
|
72
72
|
{
|
|
73
73
|
className: v(e.lightBoxSideOverlay, {
|
|
74
74
|
[e.closing]: i,
|
|
75
|
-
[e.opening]:
|
|
75
|
+
[e.opening]: n
|
|
76
76
|
}),
|
|
77
|
-
children: /* @__PURE__ */ t(z, { direction: L.RIGHT, opened: o, setOpened:
|
|
77
|
+
children: /* @__PURE__ */ t(z, { direction: L.RIGHT, opened: o, setOpened: N, children: F })
|
|
78
78
|
}
|
|
79
79
|
);
|
|
80
80
|
return /* @__PURE__ */ t(
|
|
81
81
|
Y,
|
|
82
82
|
{
|
|
83
|
-
active: o && !
|
|
83
|
+
active: o && !n && !i,
|
|
84
84
|
...l,
|
|
85
85
|
focusTrapOptions: {
|
|
86
86
|
allowOutsideClick: !0,
|
|
@@ -88,7 +88,7 @@ const J = "lightBoxSideOverlayMask__abe8a8fc", K = "lightBoxSideOverlayWrapper__
|
|
|
88
88
|
preventScroll: !0,
|
|
89
89
|
...l == null ? void 0 : l.focusTrapOptions
|
|
90
90
|
},
|
|
91
|
-
children: /* @__PURE__ */ t("div", { className:
|
|
91
|
+
children: /* @__PURE__ */ t("div", { className: E, role: "dialog", "aria-modal": "true", ...k, children: b })
|
|
92
92
|
}
|
|
93
93
|
);
|
|
94
94
|
};
|
|
@@ -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-CK8Rh-qO.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---Om3uMV.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-CK8Rh-qO.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 l, useEffect as p } from "react";
|
|
3
|
+
import { LoaderScreen as d } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__98a57a98", 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 = l(null);
|
|
8
|
+
return p(() => {
|
|
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(d, { type: "middle", children: a }) });
|
|
16
16
|
};
|
|
17
17
|
f.displayName = "LightBoxSideOverlayLoader";
|
|
18
18
|
export {
|
|
@@ -1,17 +1,43 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
className: d,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as N, useRef as o, useImperativeHandle as R, useState as V, useEffect as x } from "react";
|
|
3
|
+
import { c as h } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const j = "lightBoxLeftSidebar__29b53383", z = "fixed__263b6d23", E = "hidden__a36cafa1", r = {
|
|
5
|
+
lightBoxLeftSidebar: j,
|
|
6
|
+
fixed: z,
|
|
7
|
+
hidden: E
|
|
8
|
+
}, O = N(
|
|
9
|
+
({ children: m, className: L, fixed: B, minVisibleWidth: d = 100, onShow: s, onHide: i, ...g }, p) => {
|
|
10
|
+
const n = o(null);
|
|
11
|
+
R(p, () => n.current);
|
|
12
|
+
const [v, _] = V(!0), e = o(s), t = o(i);
|
|
13
|
+
return x(() => {
|
|
14
|
+
e.current = s, t.current = i;
|
|
15
|
+
}, [s, i]), x(() => {
|
|
16
|
+
const f = n.current;
|
|
17
|
+
if (!f) return;
|
|
18
|
+
const a = new ResizeObserver((S) => {
|
|
19
|
+
for (const y of S) {
|
|
20
|
+
const c = y.contentRect.width > d;
|
|
21
|
+
_((I) => {
|
|
22
|
+
var l, u;
|
|
23
|
+
return c !== I && (c ? (l = e.current) == null || l.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
return a.observe(f), () => a.disconnect();
|
|
28
|
+
}, [d]), /* @__PURE__ */ b(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
ref: n,
|
|
32
|
+
className: h(L, r.lightBoxLeftSidebar, { [r.fixed]: B }),
|
|
33
|
+
...g,
|
|
34
|
+
children: /* @__PURE__ */ b("div", { className: h(r.lightBoxLeftSidebarInner, { [r.hidden]: !v }), children: m })
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
O.displayName = "LightBoxLeftSidebar";
|
|
14
40
|
export {
|
|
15
|
-
|
|
41
|
+
O as LightBoxLeftSidebar
|
|
16
42
|
};
|
|
17
43
|
//# sourceMappingURL=LightBoxLeftSidebar.js.map
|
|
@@ -1,17 +1,43 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
className:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as N, useRef as o, useImperativeHandle as L, useState as V, useEffect as g } from "react";
|
|
3
|
+
import { c as x } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const j = "lightBoxRightSidebar__aa8f4a80", z = "fixed__263b6d23", E = "hidden__a36cafa1", r = {
|
|
5
|
+
lightBoxRightSidebar: j,
|
|
6
|
+
fixed: z,
|
|
7
|
+
hidden: E
|
|
8
|
+
}, O = N(
|
|
9
|
+
({ children: b, className: m, fixed: R, minVisibleWidth: d = 100, onShow: i, onHide: s, ...B }, p) => {
|
|
10
|
+
const n = o(null);
|
|
11
|
+
L(p, () => n.current);
|
|
12
|
+
const [v, _] = V(!0), e = o(i), t = o(s);
|
|
13
|
+
return g(() => {
|
|
14
|
+
e.current = i, t.current = s;
|
|
15
|
+
}, [i, s]), g(() => {
|
|
16
|
+
const a = n.current;
|
|
17
|
+
if (!a) return;
|
|
18
|
+
const f = new ResizeObserver((S) => {
|
|
19
|
+
for (const y of S) {
|
|
20
|
+
const c = y.contentRect.width > d;
|
|
21
|
+
_((I) => {
|
|
22
|
+
var l, u;
|
|
23
|
+
return c !== I && (c ? (l = e.current) == null || l.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
return f.observe(a), () => f.disconnect();
|
|
28
|
+
}, [d]), /* @__PURE__ */ h(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
ref: n,
|
|
32
|
+
className: x(m, r.lightBoxRightSidebar, { [r.fixed]: R }),
|
|
33
|
+
...B,
|
|
34
|
+
children: /* @__PURE__ */ h("div", { className: x(r.lightBoxRightSidebarInner, { [r.hidden]: !v }), children: b })
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
O.displayName = "LightBoxRightSidebar";
|
|
14
40
|
export {
|
|
15
|
-
|
|
41
|
+
O as LightBoxRightSidebar
|
|
16
42
|
};
|
|
17
43
|
//# sourceMappingURL=LightBoxRightSidebar.js.map
|