@sberbusiness/triplex-next 1.7.0 → 1.9.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-Ce_8Yuvv.js → AlertProcessSpoiler-D8OxE3FA.js} +10 -10
- package/chunks/{CalendarViewItem-BDMvwpK5.js → CalendarViewItem-DXg4wwUA.js} +24 -24
- package/chunks/Card.module-CDb8O5wa.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D8lQSOEb.js +11 -0
- package/chunks/{Chip-eRAmMCbK.js → Chip-DXegvfGS.js} +16 -16
- package/chunks/Confirm.module-ySc3irOD.js +15 -0
- package/chunks/DropdownListItem-ToJzPBLf.js +63 -0
- package/chunks/DropdownMobile.module-B25s43In.js +23 -0
- package/chunks/Footer.module-CzmEZNfz.js +9 -0
- package/chunks/{FormFieldInput-Dc0f4nno.js → FormFieldInput-kWDtKz1V.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-C6GIAW7a.js +9 -0
- package/chunks/HeaderTabs.module-BP4HQoDS.js +9 -0
- package/chunks/{HeaderTitle.module-B6qQsh69.js → HeaderTitle.module-DlPGCmxi.js} +2 -2
- package/chunks/IslandAccordion.module-DDPPsI1j.js +25 -0
- package/chunks/IslandWidgetFooter.module-BGcZce5D.js +9 -0
- package/chunks/IslandWidgetHeader.module-BMvYg9LN.js +9 -0
- package/chunks/{LightBoxContent--MHZ9Gkl.js → LightBoxContent-BhFPV40j.js} +11 -11
- package/chunks/LightBoxControls.module-B71hMR9E.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Bzi7uEUG.js +8 -0
- package/chunks/{ListItemControlsButton-CDyUDFUr.js → ListItemControlsButton-BoYzfwDC.js} +7 -7
- package/chunks/ListItemTail.module-D2THwLyb.js +12 -0
- package/chunks/ListMasterFooter.module-CQmunIov.js +10 -0
- package/chunks/ModalWindow.module-BhR9VsYm.js +17 -0
- package/chunks/Notification.module-BHnUAhdM.js +21 -0
- package/chunks/Overlay.module-BHV5h0kp.js +18 -0
- package/chunks/Page.module-DcF12bw0.js +11 -0
- package/chunks/{RightBorderArrow-B-QGBlRY.js → RightBorderArrow-DmvKTu6m.js} +11 -11
- package/chunks/SMSInput.module-qYyAcTFr.js +16 -0
- package/chunks/SliderExtendedMarks.module-CNaKOqZQ.js +15 -0
- package/chunks/{SliderExtendedRail-VV02EHbt.js → SliderExtendedRail-45DAsx7v.js} +14 -14
- package/chunks/StatusTracker.module-BA-WFHqo.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CW9LKnIb.js → SuggestFieldMobileDropdownHint-CSddz7zn.js} +4 -4
- package/chunks/TableFooter.module-D6jJ4Btm.js +14 -0
- package/chunks/TabsExtended.module-C87bijNv.js +16 -0
- package/chunks/TabsLine.module-D_ARvYGg.js +21 -0
- package/chunks/TooltipDesktop.module-CehOLtFg.js +19 -0
- package/chunks/{TooltipMobileCloseButton-BCyljTIq.js → TooltipMobileCloseButton-CJByOYY4.js} +8 -8
- package/chunks/TreeView.module-B6tUzJoC.js +9 -0
- package/chunks/{UploadZoneInput-DNhfVDyP.js → UploadZoneInput-D8diOBuf.js} +2 -2
- package/chunks/utils--cyZSVhM.js +27 -0
- package/chunks/utils-3xY20XDV.js +24 -0
- package/chunks/utils-BCJ-APtm.js +20 -0
- package/chunks/{utils-D9oDaQiI.js → utils-BvGDcicX.js} +4 -4
- package/chunks/utils-tUaA-zN1.js +73 -0
- package/components/Alert/AlertContext/AlertContext.js +6 -6
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +2 -2
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +95 -96
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +18 -18
- 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 +6 -6
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- 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 +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +8 -8
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +24 -22
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +51 -0
- package/components/Chip/ChipSelect/ChipSelectTarget.js +44 -0
- package/components/Chip/ChipSelect/index.js +7 -0
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +69 -57
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +31 -29
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +13 -11
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +130 -130
- package/components/CollapsableTree/components/CollapsableTreeNode.js +15 -15
- 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 +15 -18
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +24 -22
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +20 -18
- package/components/DesignTokens/components/Calendar.js +6 -4
- package/components/DesignTokens/components/DropdownMobile.js +1 -1
- package/components/DesignTokens/components/Island.js +2 -2
- package/components/DesignTokens/components/ModalWindow.js +2 -2
- package/components/DesignTokens/components/Tabs.js +1 -1
- package/components/DesignTokens/components/TabsLine.js +0 -12
- package/components/DesignTokens/components/TagColor.js +26 -0
- package/components/DesignTokens/components/index.js +27 -24
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +5 -5
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +3 -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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +10 -10
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +25 -25
- package/components/Dropdown/mobile/DropdownMobileLoader.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +19 -19
- 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 +24 -24
- package/components/FormField/components/FormFieldClear.js +17 -17
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +13 -13
- package/components/FormField/components/FormFieldMaskedInput.js +18 -18
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +24 -24
- package/components/FormField/components/FormFieldTextarea.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 +17 -17
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- 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 +73 -81
- package/components/IslandWidget/IslandWidget.js +13 -13
- 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 +7 -7
- 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 +1 -1
- 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/Link/Link.js +24 -24
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +38 -35
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +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 +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +10 -10
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +7 -7
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +11 -11
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +1 -1
- 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/NotificationBodyContent.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/NotificationIcon/NotificationIcon.js +10 -0
- package/components/NotificationIcon/index.js +5 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +10 -10
- 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 +13 -13
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +3 -3
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +9 -9
- package/components/Radio/RadioYGroup.js +1 -1
- package/components/Row/Row.js +9 -9
- package/components/SMSInput/SMSInput.js +2 -2
- package/components/SMSInput/components/RefreshIcon.js +1 -1
- package/components/SMSInput/components/SMSInputInput.js +2 -2
- package/components/SMSInput/components/SMSInputRefresh.js +1 -1
- package/components/SMSInput/components/SMSInputSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +12 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +6 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +11 -11
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +27 -27
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +14 -14
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +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 +2 -2
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +6 -6
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +36 -30
- 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 +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +44 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +2 -2
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +17 -17
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +4 -4
- 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 +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +6 -6
- 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 +1 -1
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +31 -30
- 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 +18 -14
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +18 -17
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +95 -73
- package/components/TabsLine/components/TabsLineItem.js +55 -22
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/TabsLine/utils.js +11 -0
- package/components/Tag/Tag.js +11 -11
- package/components/TagColor/TagColor.js +36 -0
- package/components/TagColor/enums.js +5 -0
- package/components/TagColor/index.js +5 -0
- package/components/TagColor/types.js +2 -0
- package/components/TagGroup/TagGroup.js +10 -10
- 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 +17 -17
- 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 +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +9 -11
- package/components/TopOverlay/TopOverlay.js +17 -17
- 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 +8 -8
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +17 -17
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +10 -10
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +514 -510
- package/index.d.ts +50 -8
- package/index.js +543 -539
- package/package.json +9 -1
- package/styles/triplex-next.css +533 -529
- package/chunks/Card.module-BvlTqE5R.js +0 -17
- package/chunks/CheckboxTreeExtended.module-DsOQXTb2.js +0 -11
- package/chunks/Confirm.module-BQvs_z36.js +0 -15
- package/chunks/DropdownListItem-DjvVx10v.js +0 -57
- package/chunks/DropdownMobile.module-CEPFt9uH.js +0 -21
- package/chunks/Footer.module-CXnDx0Qq.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CHV51xUH.js +0 -9
- package/chunks/HeaderTabs.module-T3W10WU8.js +0 -9
- package/chunks/IslandAccordion.module-DoM2x4VR.js +0 -26
- package/chunks/IslandWidgetFooter.module-qNMIN4zr.js +0 -9
- package/chunks/IslandWidgetHeader.module-DUf_HV96.js +0 -9
- package/chunks/LightBoxControls.module-C3_q74nl.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-D66ESS7b.js +0 -8
- package/chunks/ListItemTail.module-DYbacvAR.js +0 -12
- package/chunks/ListMasterFooter.module-ghOvyA19.js +0 -10
- package/chunks/ModalWindow.module-CvIIBPzJ.js +0 -17
- package/chunks/Notification.module-DrKXO_L0.js +0 -21
- package/chunks/Overlay.module-B4exkEG2.js +0 -18
- package/chunks/Page.module-CvSterCP.js +0 -11
- package/chunks/SMSInput.module-DkPfMZWv.js +0 -16
- package/chunks/SliderExtendedMarks.module-DZlxonFv.js +0 -15
- package/chunks/StatusTracker.module-BzVEt7sh.js +0 -24
- package/chunks/TableFooter.module-DKNnDtzT.js +0 -14
- package/chunks/TabsExtended.module-BQKnCc6i.js +0 -16
- package/chunks/TabsLine.module-Cr-x0ll4.js +0 -23
- package/chunks/TooltipDesktop.module-D3epe_HW.js +0 -19
- package/chunks/TreeView.module-BXfRfHL4.js +0 -9
- package/chunks/utils-BY1yN3Hq.js +0 -26
- package/chunks/utils-BtnGErpx.js +0 -20
- package/chunks/utils-CR8DYAi0.js +0 -73
- package/chunks/utils-DQX5JZ_3.js +0 -24
- package/components/Chip/ChipSelect.js +0 -55
|
@@ -1,98 +1,90 @@
|
|
|
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 r, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import j, { useState as w, useContext as z, useRef as F, useEffect as M } from "react";
|
|
3
|
+
import { CaretdownStrokeSrvIcon24 as Y, CrossStrokeSrvIcon24 as H } from "@sberbusiness/icons-next";
|
|
4
|
+
import { a as W, c as x } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { Island as y } from "../../Island/Island.js";
|
|
6
|
+
import { ExpandAnimation as $ } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
7
|
+
import { s as t } from "../../../chunks/IslandAccordion.module-DDPPsI1j.js";
|
|
8
|
+
import { IslandAccordionTitle as q } from "./IslandAccordionTitle.js";
|
|
9
|
+
import { IslandAccordionContent as B } from "./IslandAccordionContent.js";
|
|
10
|
+
import { IslandAccordionFooter as X } from "./IslandAccordionFooter.js";
|
|
11
|
+
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
12
12
|
import "../../Button/Button.js";
|
|
13
13
|
import "../../Button/ButtonBase.js";
|
|
14
|
-
import { ButtonIcon as
|
|
14
|
+
import { ButtonIcon as G } from "../../Button/ButtonIcon.js";
|
|
15
15
|
import "../../Button/ButtonDropdown.js";
|
|
16
16
|
import "../../Button/ButtonDropdownExtended.js";
|
|
17
|
-
import { EIslandType as
|
|
17
|
+
import { EIslandType as m } 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 J } from "../../Step/Step.js";
|
|
22
|
+
import { EStepPosition as K } from "../../Step/enums.js";
|
|
23
|
+
import { IslandAccordionContext as L } from "../IslandAccordionContext.js";
|
|
24
|
+
const Q = {
|
|
25
|
+
[m.TYPE_1]: t.type1,
|
|
26
|
+
[m.TYPE_2]: t.type2,
|
|
27
|
+
[m.TYPE_3]: t.type3
|
|
28
|
+
}, U = D(t), V = Object.assign(
|
|
29
|
+
j.forwardRef(
|
|
30
30
|
({
|
|
31
|
-
children:
|
|
32
|
-
title:
|
|
33
|
-
className:
|
|
31
|
+
children: S,
|
|
32
|
+
title: v,
|
|
33
|
+
className: A,
|
|
34
34
|
opened: o,
|
|
35
35
|
disabled: a,
|
|
36
|
-
onRemove:
|
|
37
|
-
onToggle:
|
|
36
|
+
onRemove: i,
|
|
37
|
+
onToggle: s,
|
|
38
38
|
id: n,
|
|
39
|
-
num:
|
|
40
|
-
status:
|
|
41
|
-
stepHint:
|
|
42
|
-
transitionProps:
|
|
39
|
+
num: p,
|
|
40
|
+
status: d,
|
|
41
|
+
stepHint: E,
|
|
42
|
+
transitionProps: k,
|
|
43
43
|
...T
|
|
44
44
|
}, _) => {
|
|
45
|
-
const [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
q(() => {
|
|
51
|
-
o !== void 0 && r !== o && f(o);
|
|
52
|
-
}, [o, r]);
|
|
53
|
-
const w = () => {
|
|
45
|
+
const [e, l] = w(o || !1), { size: f, type: I } = z(L), h = F(W()).current, u = `${h}header`, C = `${h}body`;
|
|
46
|
+
M(() => {
|
|
47
|
+
o !== void 0 && e !== o && l(o);
|
|
48
|
+
}, [o, e]);
|
|
49
|
+
const b = () => {
|
|
54
50
|
if (a)
|
|
55
51
|
return;
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
a ||
|
|
60
|
-
},
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
}), M = d(e.island, {
|
|
64
|
-
[e.focused]: O
|
|
52
|
+
const N = !e;
|
|
53
|
+
s == null || s(N, n), o === void 0 && l(N);
|
|
54
|
+
}, O = () => {
|
|
55
|
+
a || i == null || i(n);
|
|
56
|
+
}, P = x(A, t.item, U[f], Q[I], {
|
|
57
|
+
[t.disabled]: !!a,
|
|
58
|
+
[t.opened]: e
|
|
65
59
|
});
|
|
66
|
-
return /* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */
|
|
60
|
+
return /* @__PURE__ */ r("li", { ...T, className: P, id: n, ref: _, children: /* @__PURE__ */ c(y, { className: t.island, size: f, type: I, children: [
|
|
61
|
+
/* @__PURE__ */ r(y.Header, { children: /* @__PURE__ */ c(
|
|
68
62
|
"button",
|
|
69
63
|
{
|
|
70
|
-
id:
|
|
71
|
-
"aria-controls":
|
|
72
|
-
"aria-expanded":
|
|
64
|
+
id: u,
|
|
65
|
+
"aria-controls": C,
|
|
66
|
+
"aria-expanded": e,
|
|
73
67
|
type: "button",
|
|
74
|
-
className:
|
|
75
|
-
onClick:
|
|
76
|
-
onFocus: P,
|
|
77
|
-
onBlur: j,
|
|
68
|
+
className: t.header,
|
|
69
|
+
onClick: b,
|
|
78
70
|
disabled: a,
|
|
79
|
-
"data-tx": "1.
|
|
71
|
+
"data-tx": "1.9.0",
|
|
80
72
|
children: [
|
|
81
|
-
|
|
82
|
-
/* @__PURE__ */ c("div", { className:
|
|
73
|
+
d && p && /* @__PURE__ */ r("div", { className: t.step, children: /* @__PURE__ */ r(J, { step: p, status: d, position: K.XFirst, children: a ? void 0 : E }) }),
|
|
74
|
+
/* @__PURE__ */ c("div", { className: t.titleWrapper, children: [
|
|
83
75
|
" ",
|
|
84
|
-
|
|
76
|
+
v
|
|
85
77
|
] }),
|
|
86
|
-
/* @__PURE__ */
|
|
78
|
+
/* @__PURE__ */ r(
|
|
87
79
|
"span",
|
|
88
80
|
{
|
|
89
|
-
className:
|
|
90
|
-
active:
|
|
81
|
+
className: x(t.caretWrapper, "hoverable", {
|
|
82
|
+
active: e
|
|
91
83
|
}),
|
|
92
|
-
children: /* @__PURE__ */
|
|
93
|
-
|
|
84
|
+
children: /* @__PURE__ */ r(
|
|
85
|
+
Y,
|
|
94
86
|
{
|
|
95
|
-
className:
|
|
87
|
+
className: t.caretIcon,
|
|
96
88
|
"aria-hidden": "true",
|
|
97
89
|
paletteIndex: 5
|
|
98
90
|
}
|
|
@@ -102,29 +94,29 @@ const ee = {
|
|
|
102
94
|
]
|
|
103
95
|
}
|
|
104
96
|
) }),
|
|
105
|
-
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
|
|
97
|
+
i && /* @__PURE__ */ r("div", { className: t.remove, children: /* @__PURE__ */ r(G, { onClick: O, title: "Удалить", children: /* @__PURE__ */ r(H, { paletteIndex: 5 }) }) }),
|
|
98
|
+
/* @__PURE__ */ r(
|
|
99
|
+
$,
|
|
108
100
|
{
|
|
109
|
-
expanded:
|
|
110
|
-
id:
|
|
101
|
+
expanded: e && !a,
|
|
102
|
+
id: C,
|
|
111
103
|
role: "region",
|
|
112
|
-
"aria-labelledby":
|
|
113
|
-
transitionProps:
|
|
114
|
-
children:
|
|
104
|
+
"aria-labelledby": u,
|
|
105
|
+
transitionProps: k,
|
|
106
|
+
children: S
|
|
115
107
|
}
|
|
116
108
|
)
|
|
117
109
|
] }) });
|
|
118
110
|
}
|
|
119
111
|
),
|
|
120
112
|
{
|
|
121
|
-
Title:
|
|
122
|
-
Content:
|
|
123
|
-
Footer:
|
|
113
|
+
Title: q,
|
|
114
|
+
Content: B,
|
|
115
|
+
Footer: X
|
|
124
116
|
}
|
|
125
117
|
);
|
|
126
|
-
|
|
118
|
+
V.displayName = "IslandAccordionItem";
|
|
127
119
|
export {
|
|
128
|
-
|
|
120
|
+
V as IslandAccordionItem
|
|
129
121
|
};
|
|
130
122
|
//# sourceMappingURL=IslandAccordionItem.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import l, { useContext as p } from "react";
|
|
3
3
|
import { Island as W } from "../Island/Island.js";
|
|
4
|
-
import { EIslandType as
|
|
4
|
+
import { EIslandType as f } from "../Island/enums.js";
|
|
5
5
|
import "../Island/components/IslandBody.js";
|
|
6
6
|
import "../Island/components/IslandHeader.js";
|
|
7
7
|
import "../Island/components/IslandFooter.js";
|
|
8
|
-
import { IslandWidgetHeader as
|
|
9
|
-
import { IslandWidgetBody as
|
|
10
|
-
import { IslandWidgetFooter as
|
|
8
|
+
import { IslandWidgetHeader as g } from "./components/IslandWidgetHeader.js";
|
|
9
|
+
import { IslandWidgetBody as c } from "./components/IslandWidgetBody.js";
|
|
10
|
+
import { IslandWidgetFooter as x } from "./components/IslandWidgetFooter.js";
|
|
11
11
|
import { IslandWidgetExtraFooter as E } from "./components/IslandWidgetExtraFooter.js";
|
|
12
12
|
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
13
13
|
import { c as F } from "../../chunks/vendor-D3hUOusX.js";
|
|
14
14
|
import { IslandWidgetContext as h } from "./IslandWidgetContext.js";
|
|
15
|
-
const _ = "
|
|
15
|
+
const _ = "islandWidget__0543cbf8", y = "islandWidgetWithExtraFooter__f04b5ceb", o = {
|
|
16
16
|
islandWidget: _,
|
|
17
17
|
islandWidgetWithExtraFooter: y
|
|
18
|
-
},
|
|
18
|
+
}, b = Object.assign(
|
|
19
19
|
l.forwardRef(
|
|
20
20
|
({ className: i, renderBody: r, renderFooter: t, renderHeader: e, ...d }, a) => {
|
|
21
21
|
const { hasExtraFooter: s } = p(h);
|
|
@@ -25,10 +25,10 @@ const _ = "islandWidget__84ef8d42", y = "islandWidgetWithExtraFooter__bdba8254",
|
|
|
25
25
|
className: F(o.islandWidget, i, {
|
|
26
26
|
[o.islandWidgetWithExtraFooter]: s
|
|
27
27
|
}),
|
|
28
|
-
"data-tx": "1.
|
|
28
|
+
"data-tx": "1.9.0",
|
|
29
29
|
...d,
|
|
30
30
|
ref: a,
|
|
31
|
-
children: /* @__PURE__ */ m(W, { type:
|
|
31
|
+
children: /* @__PURE__ */ m(W, { type: f.TYPE_1, size: I.MD, children: [
|
|
32
32
|
e({}),
|
|
33
33
|
r({}),
|
|
34
34
|
t ? t({}) : null
|
|
@@ -38,14 +38,14 @@ const _ = "islandWidget__84ef8d42", y = "islandWidgetWithExtraFooter__bdba8254",
|
|
|
38
38
|
}
|
|
39
39
|
),
|
|
40
40
|
{
|
|
41
|
-
Header:
|
|
42
|
-
Body:
|
|
43
|
-
Footer:
|
|
41
|
+
Header: g,
|
|
42
|
+
Body: c,
|
|
43
|
+
Footer: x,
|
|
44
44
|
ExtraFooter: E
|
|
45
45
|
}
|
|
46
46
|
);
|
|
47
|
-
|
|
47
|
+
b.displayName = "IslandWidget";
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
b as IslandWidget
|
|
50
50
|
};
|
|
51
51
|
//# sourceMappingURL=IslandWidget.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
2
|
+
import { useContext as i, useEffect as d } from "react";
|
|
3
3
|
import { c as n } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { ExpandAnimation as x } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
5
5
|
import { IslandWidgetContext as l } from "../IslandWidgetContext.js";
|
|
6
|
-
const m = "
|
|
6
|
+
const m = "islandWidgetExtraFooter__663cf4a2", c = {
|
|
7
7
|
islandWidgetExtraFooter: m
|
|
8
|
-
},
|
|
8
|
+
}, f = ({
|
|
9
9
|
children: r,
|
|
10
10
|
className: e,
|
|
11
11
|
open: t = !1,
|
|
12
12
|
...a
|
|
13
13
|
}) => {
|
|
14
|
-
const { setHasExtraFooter: s } =
|
|
15
|
-
return
|
|
14
|
+
const { setHasExtraFooter: s } = i(l);
|
|
15
|
+
return d(() => {
|
|
16
16
|
s(t);
|
|
17
17
|
}, [t]), /* @__PURE__ */ o("div", { ...a, className: n(e, c.islandWidgetExtraFooter), children: /* @__PURE__ */ o(x, { expanded: t, children: r }) });
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
f.displayName = "IslandWidgetExtraFooter";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
f 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-D3hUOusX.js";
|
|
3
|
-
import { s as n } from "../../../chunks/IslandWidgetFooter.module-
|
|
3
|
+
import { s as n } from "../../../chunks/IslandWidgetFooter.module-BGcZce5D.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,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { s as a } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as a } from "../../../chunks/IslandWidgetHeader.module-BMvYg9LN.js";
|
|
4
4
|
import { IslandWidgetHeaderContent as o } from "./IslandWidgetHeaderContent.js";
|
|
5
5
|
import { IslandWidgetHeaderDescription as m } from "./IslandWidgetHeaderDescription.js";
|
|
6
6
|
const e = ({ children: t, className: r, ...s }) => /* @__PURE__ */ d("div", { ...s, className: i(r, a.islandWidgetHeader), children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { s as o } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-BMvYg9LN.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-D3hUOusX.js";
|
|
3
|
-
import { s as t } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as t } from "../../../chunks/IslandWidgetHeader.module-BMvYg9LN.js";
|
|
4
4
|
const d = ({
|
|
5
5
|
children: s,
|
|
6
6
|
className: e,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
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-D3hUOusX.js";
|
|
4
4
|
import { IslandWidgetContext as n } from "../IslandWidgetContext.js";
|
|
5
|
-
const W = "
|
|
5
|
+
const W = "islandWidgetWrapper__204a377d", m = {
|
|
6
6
|
islandWidgetWrapper: W
|
|
7
|
-
},
|
|
8
|
-
({ children:
|
|
7
|
+
}, c = i.forwardRef(
|
|
8
|
+
({ children: e, className: a, ...t }, s) => {
|
|
9
9
|
const [d, o] = p(!1);
|
|
10
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ r(n.Provider, { value: { hasExtraFooter: d, setHasExtraFooter: o }, children: /* @__PURE__ */ r("div", { className: l(m.islandWidgetWrapper, a), ...t, 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 B, Fragment as T, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as l, useEffect as p } from "react";
|
|
3
3
|
import { c as V, h as A } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as e, L as D } from "../../chunks/LightBoxContent
|
|
4
|
+
import { s as e, L as D } from "../../chunks/LightBoxContent-BhFPV40j.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";
|
|
@@ -13,10 +13,10 @@ import { FocusTrapUtils as $ } from "../../utils/focus/FocusTrapUtils.js";
|
|
|
13
13
|
import { useToken as z } from "../ThemeProvider/useToken.js";
|
|
14
14
|
import "./LightBoxSideOverlay/enums.js";
|
|
15
15
|
const H = {
|
|
16
|
-
"scroll-0": "scroll-
|
|
17
|
-
"scroll-15": "scroll-
|
|
18
|
-
"scroll-16": "scroll-
|
|
19
|
-
"scroll-17": "scroll-
|
|
16
|
+
"scroll-0": "scroll-0__f52df53b",
|
|
17
|
+
"scroll-15": "scroll-15__b02484cb",
|
|
18
|
+
"scroll-16": "scroll-16__2d0fc5e8",
|
|
19
|
+
"scroll-17": "scroll-17__fb4be9f3"
|
|
20
20
|
}, N = "LightBox-next-mount-node", v = "LightBox-next-view-manager-node", L = [e.bodyOverflowHidden], r = ({
|
|
21
21
|
children: y,
|
|
22
22
|
className: M,
|
|
@@ -26,19 +26,19 @@ const H = {
|
|
|
26
26
|
lightBoxViewManagerNodeId: d = v,
|
|
27
27
|
isLoading: u,
|
|
28
28
|
isSideOverlayOpened: i,
|
|
29
|
-
isTopOverlayOpened:
|
|
30
|
-
...
|
|
29
|
+
isTopOverlayOpened: b,
|
|
30
|
+
...E
|
|
31
31
|
}) => {
|
|
32
|
-
const c = l(null), h = l(null), { scopeClassName:
|
|
32
|
+
const c = l(null), h = l(null), { scopeClassName: C } = z(), S = () => {
|
|
33
33
|
let t = null;
|
|
34
34
|
return m ? t = m : (t = document.querySelector(`#${N}`), t || (t = document.createElement("div"), t.setAttribute("id", N), document.body.appendChild(t))), t;
|
|
35
35
|
}, _ = () => {
|
|
36
36
|
let t = null;
|
|
37
37
|
return d && (t = document.querySelector(`#${d}`)), t || (t = document.createElement("div"), t.setAttribute("id", v), document.body.appendChild(t)), t;
|
|
38
|
-
}, a = l(S()), g = l(_()),
|
|
38
|
+
}, a = l(S()), g = l(_()), f = () => {
|
|
39
39
|
L.forEach((t) => document.documentElement.classList.add(t));
|
|
40
40
|
};
|
|
41
|
-
p(() => (R(H),
|
|
41
|
+
p(() => (R(H), f(), setTimeout(f, 100), () => L.forEach((t) => document.documentElement.classList.remove(t))), []), p(() => {
|
|
42
42
|
if (!i && c.current) {
|
|
43
43
|
const t = Math.round(Math.random() * 100);
|
|
44
44
|
c.current.style.zIndex = t.toString();
|
|
@@ -47,18 +47,18 @@ const H = {
|
|
|
47
47
|
const w = (t) => {
|
|
48
48
|
h.current = t, s && (s.current = t);
|
|
49
49
|
}, O = V(
|
|
50
|
-
|
|
50
|
+
C,
|
|
51
51
|
e.lightBox,
|
|
52
52
|
{
|
|
53
53
|
[e.isLoading]: !!u,
|
|
54
54
|
[e.lightBoxSideOverlayActive]: !!i,
|
|
55
|
-
[e.lightBoxTopOverlayActive]: !!
|
|
55
|
+
[e.lightBoxTopOverlayActive]: !!b
|
|
56
56
|
},
|
|
57
57
|
M
|
|
58
58
|
);
|
|
59
59
|
if (!a.current)
|
|
60
60
|
return null;
|
|
61
|
-
const
|
|
61
|
+
const x = () => /* @__PURE__ */ B("div", { className: O, ref: w, role: "dialog", "aria-modal": "true", ...E, children: [
|
|
62
62
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
63
63
|
y,
|
|
64
64
|
/* @__PURE__ */ o("span", { ref: c, className: e.tempElSafariBug })
|
|
@@ -78,10 +78,10 @@ const H = {
|
|
|
78
78
|
preventScroll: !0,
|
|
79
79
|
...n == null ? void 0 : n.focusTrapOptions
|
|
80
80
|
},
|
|
81
|
-
children:
|
|
81
|
+
children: x()
|
|
82
82
|
}
|
|
83
83
|
),
|
|
84
|
-
children:
|
|
84
|
+
children: x()
|
|
85
85
|
}
|
|
86
86
|
) }),
|
|
87
87
|
g.current && /* @__PURE__ */ o(
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
4
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-BhFPV40j.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-B71hMR9E.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-D3hUOusX.js";
|
|
6
|
-
import { s as p } from "../../../chunks/LightBoxControls.module-
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-B71hMR9E.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-B71hMR9E.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-B71hMR9E.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -8,7 +8,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
10
|
import { ELightBoxSideOverlaySize as a } from "./enums.js";
|
|
11
|
-
const q = "
|
|
11
|
+
const q = "lightBoxSideOverlayMask__46bedb8a", J = "lightBoxSideOverlayWrapper__d178e6e7", K = "overflowXHidden__565322fb", Q = "overflowYHidden__fa626993", V = "closing__5a0bce04", Z = "opened__f6dacf24", $ = "lightBoxSideOverlayContent__1e1a6082", P = "opening__01569906", ee = "sizeSM__d47929bd", ie = "sizeMD__5ca5fc1e", te = "sizeLG__63c1c9f6", oe = "lightBoxSideOverlay__cc4cdf71", e = {
|
|
12
12
|
lightBoxSideOverlayMask: q,
|
|
13
13
|
lightBoxSideOverlayWrapper: J,
|
|
14
14
|
overflowXHidden: K,
|
|
@@ -7,7 +7,7 @@ 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-Bzi7uEUG.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
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-Bzi7uEUG.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__9528f15c", 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 {
|