@sberbusiness/triplex-next 1.26.0 → 1.28.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-NldQtvco.js +41 -0
- package/chunks/{CalendarViewItem-DHFLturD.js → CalendarViewItem-83koObqy.js} +11 -11
- package/chunks/Card.module-c3-33ce8.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DmQ81avO.js +15 -0
- package/chunks/Chip-BQ_gYzxq.js +77 -0
- package/chunks/Confirm.module-NvQ6x492.js +15 -0
- package/chunks/{DropdownListItem-CjZLy9zZ.js → DropdownListItem-CVJjluxY.js} +19 -19
- package/chunks/DropdownMobile.module-BzplQxLc.js +23 -0
- package/chunks/Footer.module-C5auaCMC.js +9 -0
- package/chunks/{FormFieldInput-C2TczHnQ.js → FormFieldInput-BTVRGCId.js} +19 -19
- package/chunks/HeaderLayoutSidebar.module-CmVwh8YX.js +9 -0
- package/chunks/HeaderTabs.module-BTcgQwsE.js +9 -0
- package/chunks/{HeaderTitle.module-BdAYtCP5.js → HeaderTitle.module-Bh2WjxIN.js} +2 -2
- package/chunks/IslandAccordion.module-B-19rXcD.js +25 -0
- package/chunks/IslandWidgetFooter.module-BO73Tgxq.js +9 -0
- package/chunks/IslandWidgetHeader.module-Df2VlDhN.js +12 -0
- package/chunks/{LightBoxContent-B8dwsZcd.js → LightBoxContent-BV0_QYb_.js} +2 -2
- package/chunks/LightBoxControls.module-DbEH8RB1.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DX1kP1BM.js +9 -0
- package/chunks/{ListItemControlsButton-DjUxcey4.js → ListItemControlsButton-_-tEvYQM.js} +13 -13
- package/chunks/ListItemTail.module-BKoqbpG6.js +12 -0
- package/chunks/ListMasterFooter.module-Dbk-k1aZ.js +10 -0
- package/chunks/ModalWindow.module-Dt8kEFNo.js +17 -0
- package/chunks/Notification.module-B9uJ73NL.js +20 -0
- package/chunks/Overlay.module-D6x0Rc2c.js +18 -0
- package/chunks/Page.module-Dp-a8BZr.js +11 -0
- package/chunks/SMSField.module-C2BQO6iZ.js +16 -0
- package/chunks/SliderExtendedMarks.module-DI6EJLUh.js +15 -0
- package/chunks/{SliderExtendedRail-BYK2Vyz9.js → SliderExtendedRail-Dp8PruYh.js} +7 -7
- package/chunks/StatusTracker.module-CF7eqrdv.js +24 -0
- package/chunks/{StepperStepArrowBorder-CHpL6Q5q.js → StepperStepArrowBorder-BhxHSVsg.js} +9 -9
- package/chunks/{SuggestFieldMobileDropdownHint-BpAuE0ir.js → SuggestFieldMobileDropdownHint-Dj6gWOOm.js} +6 -6
- package/chunks/TableFooter.module-BBF-DJGA.js +14 -0
- package/chunks/TabsExtended.module-C4CTakbs.js +16 -0
- package/chunks/TabsLine.module-CQy-1q2X.js +21 -0
- package/chunks/TooltipDesktop.module-BsYuxr3t.js +19 -0
- package/chunks/TreeView.module-BkeBRmgo.js +9 -0
- package/chunks/{UploadZoneInput-qDtiZYmT.js → UploadZoneInput-Bhz9sU72.js} +10 -10
- package/chunks/{constants-CtrvWwDT.js → constants-CAK3AnS2.js} +6 -6
- package/chunks/utils-BeYLwFL4.js +24 -0
- package/chunks/utils-CWZKt6QH.js +73 -0
- package/chunks/{utils-BYHIu3S4.js → utils-JveQLn3C.js} +4 -4
- package/chunks/{utils-CqjXJ4Td.js → utils-m2ZY7x9c.js} +2 -2
- package/components/Alert/AlertContext/AlertContext.js +20 -20
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +11 -11
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +17 -17
- package/components/Badge/Badge.js +12 -12
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +1 -1
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +23 -23
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +17 -17
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +6 -6
- package/components/Checkbox/Checkbox.js +2 -2
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- 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 +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +1 -1
- 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 +53 -51
- package/components/DateField/DateFieldTarget.js +39 -38
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +9 -9
- package/components/DateRange/DateRange.js +18 -18
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +13 -13
- 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 +6 -6
- 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 +5 -5
- package/components/EmptyView/EmptyView.js +20 -20
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- 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 +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +5 -5
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +9 -9
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- 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 +5 -5
- package/components/IconWrapper/IconWrapper.js +3 -3
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +3 -3
- 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 +69 -63
- package/components/IslandWidget/IslandWidget.js +48 -40
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- 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 +1 -1
- package/components/LightBox/LightBox.js +18 -18
- 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 +68 -61
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +14 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +13 -13
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +30 -55
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +40 -39
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +23 -22
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +1 -1
- package/components/List/index.js +1 -1
- package/components/List/utils.js +20 -0
- package/components/ListMaster/ListMaster.js +20 -13
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- 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 +9 -9
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +61 -65
- package/components/ModalWindow/components/ModalWindowBody.js +13 -12
- package/components/ModalWindow/components/ModalWindowClose.js +15 -16
- package/components/ModalWindow/components/ModalWindowContent.js +22 -16
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +27 -26
- package/components/MonthYearField/MonthYearField.js +32 -30
- package/components/MonthYearField/MonthYearFieldTarget.js +36 -36
- package/components/MonthYearRange/MonthYearRange.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +12 -12
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- 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 +5 -5
- package/components/OrderedList/OrderedListItem.js +11 -11
- 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 +1 -1
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Radio/Radio.js +9 -9
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- 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 +15 -15
- package/components/SegmentedControl/SegmentedControlSegment.js +16 -16
- package/components/SelectExtendedField/SelectExtendedField.js +10 -10
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +13 -13
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +13 -13
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +25 -25
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +7 -7
- 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 +29 -23
- package/components/Stepper/Stepper.js +14 -14
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +15 -15
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +10 -10
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +20 -20
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +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 +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +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 +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +15 -15
- 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 +5 -5
- package/components/Tag/Tag.js +15 -15
- package/components/TagColor/TagColor.js +7 -7
- package/components/TagGroup/TagGroup.js +8 -8
- 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 +6 -6
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +5 -5
- package/components/TopOverlay/TopOverlay.js +18 -18
- 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 +30 -30
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +24 -24
- package/components/Typography/Title.js +18 -18
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +8 -8
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- 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 +96 -28
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +538 -538
- package/chunks/AlertProcessSpoiler-Boz5enko.js +0 -41
- package/chunks/Card.module-Bn676gKC.js +0 -17
- package/chunks/CheckboxTreeExtended.module-QbHPuClH.js +0 -15
- package/chunks/Chip-Di8g8Z6j.js +0 -77
- package/chunks/Confirm.module-b8ZTqcR2.js +0 -15
- package/chunks/DropdownMobile.module-B2yaydF-.js +0 -23
- package/chunks/Footer.module-DlTuw8bG.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BR0oblQF.js +0 -9
- package/chunks/HeaderTabs.module-D88xeP19.js +0 -9
- package/chunks/IslandAccordion.module-CbGSbbl6.js +0 -25
- package/chunks/IslandWidgetFooter.module-DzcObfJV.js +0 -9
- package/chunks/IslandWidgetHeader.module-_sYg-PBp.js +0 -12
- package/chunks/LightBoxControls.module-DHrZ8-M9.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CgO3NViT.js +0 -9
- package/chunks/ListItemTail.module-CIBEtGa9.js +0 -12
- package/chunks/ListMasterFooter.module-DDv57q5J.js +0 -10
- package/chunks/ModalWindow.module-Cek3j-PN.js +0 -17
- package/chunks/Notification.module-BWxDmBI2.js +0 -20
- package/chunks/Overlay.module-CUZKmhvQ.js +0 -18
- package/chunks/Page.module-BD0MsbnW.js +0 -11
- package/chunks/SMSField.module-B6sFmN1l.js +0 -16
- package/chunks/SliderExtendedMarks.module-jwnpPZXf.js +0 -15
- package/chunks/StatusTracker.module-DQI30fwP.js +0 -24
- package/chunks/TableFooter.module-DB3LfuRN.js +0 -14
- package/chunks/TabsExtended.module-DbTk0iCS.js +0 -16
- package/chunks/TabsLine.module-D3zxaGjs.js +0 -21
- package/chunks/TooltipDesktop.module-BTHsU4ca.js +0 -19
- package/chunks/TreeView.module-BXHaAGRo.js +0 -9
- package/chunks/utils-4uYqfVa-.js +0 -73
- package/chunks/utils-DhWCXYI8.js +0 -24
|
@@ -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-DudMBGKr.js";
|
|
4
|
-
import { s as e } from "../../../chunks/IslandWidgetHeader.module-
|
|
4
|
+
import { s as e } from "../../../chunks/IslandWidgetHeader.module-Df2VlDhN.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-DudMBGKr.js";
|
|
3
|
-
import { s as o } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-Df2VlDhN.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-DudMBGKr.js";
|
|
3
|
-
import { s as t } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as t } from "../../../chunks/IslandWidgetHeader.module-Df2VlDhN.js";
|
|
4
4
|
const d = ({
|
|
5
5
|
children: s,
|
|
6
6
|
className: e,
|
|
@@ -2,7 +2,7 @@ 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-DudMBGKr.js";
|
|
4
4
|
import { IslandWidgetLayoutContext as n } from "../IslandWidgetLayoutContext.js";
|
|
5
|
-
const W = "
|
|
5
|
+
const W = "islandWidgetWrapper__211ab11d", m = {
|
|
6
6
|
islandWidgetWrapper: W
|
|
7
7
|
}, c = i.forwardRef(
|
|
8
8
|
({ children: e, className: a, ...t }, s) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as n, useEffect as
|
|
1
|
+
import { jsxs as x, Fragment as V, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as n, useEffect as B } from "react";
|
|
3
3
|
import { c as A, g as D } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
import { L as F, s as e } from "../../chunks/LightBoxContent-
|
|
4
|
+
import { L as F, s as e } from "../../chunks/LightBoxContent-BV0_QYb_.js";
|
|
5
5
|
import { LightBoxControls as I } from "./LightBoxControls/LightBoxControls.js";
|
|
6
6
|
import { LightBoxSideOverlay as T } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
7
|
import { Portal as k } from "../Portal/Portal.js";
|
|
@@ -15,12 +15,12 @@ import { LightBoxLeftSidebar as U } from "./LightBoxSidebars/LightBoxLeftSidebar
|
|
|
15
15
|
import { LightBoxRightSidebar as Z } from "./LightBoxSidebars/LightBoxRightSidebar.js";
|
|
16
16
|
import { ELightBoxSize as G } from "./enums.js";
|
|
17
17
|
const J = {
|
|
18
|
-
"scroll-0": "scroll-
|
|
19
|
-
"scroll-15": "scroll-
|
|
20
|
-
"scroll-16": "scroll-
|
|
21
|
-
"scroll-17": "scroll-
|
|
22
|
-
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node",
|
|
23
|
-
children:
|
|
18
|
+
"scroll-0": "scroll-0__c6dd75ef",
|
|
19
|
+
"scroll-15": "scroll-15__790718fa",
|
|
20
|
+
"scroll-16": "scroll-16__816c6547",
|
|
21
|
+
"scroll-17": "scroll-17__8394ddfe"
|
|
22
|
+
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node", N = [e.bodyOverflowHidden], M = ({
|
|
23
|
+
children: b,
|
|
24
24
|
className: v,
|
|
25
25
|
focusTrapProps: r,
|
|
26
26
|
forwardRef: c,
|
|
@@ -39,9 +39,9 @@ const J = {
|
|
|
39
39
|
let t = null;
|
|
40
40
|
return m && (t = document.querySelector(`#${m}`)), t || (t = document.createElement("div"), t.setAttribute("id", L), document.body.appendChild(t)), t;
|
|
41
41
|
}, a = n(w()), g = n(_()), h = () => {
|
|
42
|
-
|
|
42
|
+
N.forEach((t) => document.documentElement.classList.add(t));
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
B(() => (j(J), h(), setTimeout(h, 100), () => N.forEach((t) => document.documentElement.classList.remove(t))), []), B(() => {
|
|
45
45
|
if (!i && l.current) {
|
|
46
46
|
const t = Math.round(Math.random() * 100);
|
|
47
47
|
l.current.style.zIndex = t.toString();
|
|
@@ -62,12 +62,12 @@ const J = {
|
|
|
62
62
|
);
|
|
63
63
|
if (!a.current)
|
|
64
64
|
return null;
|
|
65
|
-
const
|
|
65
|
+
const f = () => /* @__PURE__ */ x("div", { className: R, ref: O, role: "dialog", "aria-modal": "true", ...E, children: [
|
|
66
66
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
67
|
-
|
|
67
|
+
b,
|
|
68
68
|
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
69
69
|
] });
|
|
70
|
-
return /* @__PURE__ */
|
|
70
|
+
return /* @__PURE__ */ x(V, { children: [
|
|
71
71
|
/* @__PURE__ */ o(k, { container: a.current, children: /* @__PURE__ */ o(
|
|
72
72
|
W,
|
|
73
73
|
{
|
|
@@ -82,10 +82,10 @@ const J = {
|
|
|
82
82
|
preventScroll: !0,
|
|
83
83
|
...r == null ? void 0 : r.focusTrapOptions
|
|
84
84
|
},
|
|
85
|
-
children:
|
|
85
|
+
children: f()
|
|
86
86
|
}
|
|
87
87
|
),
|
|
88
|
-
children:
|
|
88
|
+
children: f()
|
|
89
89
|
}
|
|
90
90
|
) }),
|
|
91
91
|
g.current && /* @__PURE__ */ o(
|
|
@@ -97,8 +97,8 @@ const J = {
|
|
|
97
97
|
)
|
|
98
98
|
] });
|
|
99
99
|
};
|
|
100
|
-
|
|
101
|
-
const dt = Object.assign(
|
|
100
|
+
M.displayName = "LightBoxBase";
|
|
101
|
+
const dt = Object.assign(M, {
|
|
102
102
|
Content: F,
|
|
103
103
|
SideOverlay: T,
|
|
104
104
|
TopOverlay: q,
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
4
4
|
import "../../chunks/vendor-DudMBGKr.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-BV0_QYb_.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-DbEH8RB1.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-DudMBGKr.js";
|
|
6
|
-
import { s as p } from "../../../chunks/LightBoxControls.module-
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-DbEH8RB1.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-DbEH8RB1.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-DbEH8RB1.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -1,49 +1,50 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as f, F as
|
|
4
|
-
import { OverlayBase as
|
|
5
|
-
import { OverlayMask as
|
|
6
|
-
import { LightBoxSideOverlayLoader as
|
|
7
|
-
import { FocusTrapUtils as
|
|
8
|
-
import { LightBoxSideOverlayCloseMobile as
|
|
9
|
-
import { LightBoxSideOverlayCloseDesktop as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { jsx as t, jsxs as B, Fragment as X } from "react/jsx-runtime";
|
|
2
|
+
import { useState as O, useRef as x, useEffect as Y } from "react";
|
|
3
|
+
import { c as f, F as z } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { OverlayBase as L, EOverlayDirection as R } from "../../Overlay/OverlayBase.js";
|
|
5
|
+
import { OverlayMask as j } from "../../Overlay/OverlayMask.js";
|
|
6
|
+
import { LightBoxSideOverlayLoader as I } from "./LightBoxSideOverlayLoader.js";
|
|
7
|
+
import { FocusTrapUtils as A } from "../../../utils/focus/FocusTrapUtils.js";
|
|
8
|
+
import { LightBoxSideOverlayCloseMobile as G } from "./LightBoxSideOverlayCloseMobile.js";
|
|
9
|
+
import { LightBoxSideOverlayCloseDesktop as U } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
|
+
import { MobileView as V } from "../../MobileView/MobileView.js";
|
|
11
|
+
import { EComponentSize as q } from "../../../enums/EComponentSize.js";
|
|
12
|
+
import { createSizeToClassNameMap as J } from "../../../utils/classNameMaps.js";
|
|
13
|
+
const K = "lightBoxSideOverlayMask__f09962d7", Q = "lightBoxSideOverlayWrapper__cabc18ce", Z = "overflowXHidden__9033afc5", $ = "overflowYHidden__a9982f16", P = "closing__18c51b95", ee = "opened__4e022b4e", oe = "lightBoxSideOverlayContent__5073a9df", te = "opening__d17b5ce2", ie = "sm__582a808c", re = "md__8099e2b6", le = "lg__4f2189ee", ne = "lightBoxSideOverlay__02a38a0f", e = {
|
|
14
|
+
lightBoxSideOverlayMask: K,
|
|
15
|
+
lightBoxSideOverlayWrapper: Q,
|
|
16
|
+
overflowXHidden: Z,
|
|
17
|
+
overflowYHidden: $,
|
|
18
|
+
closing: P,
|
|
19
|
+
opened: ee,
|
|
20
|
+
lightBoxSideOverlayContent: oe,
|
|
21
|
+
opening: te,
|
|
22
|
+
sm: ie,
|
|
23
|
+
md: re,
|
|
24
|
+
lg: le,
|
|
25
|
+
lightBoxSideOverlay: ne
|
|
26
|
+
}, ae = J(e), v = ({
|
|
27
|
+
children: S,
|
|
28
|
+
className: _,
|
|
28
29
|
focusTrapProps: l,
|
|
29
30
|
isLoading: a,
|
|
30
|
-
loadingTitle:
|
|
31
|
-
isTopLevelSideOverlayOpened:
|
|
32
|
-
isTopOverlayOpened:
|
|
31
|
+
loadingTitle: u,
|
|
32
|
+
isTopLevelSideOverlayOpened: p,
|
|
33
|
+
isTopOverlayOpened: M,
|
|
33
34
|
onClose: s,
|
|
34
35
|
onOpen: c,
|
|
35
36
|
opened: o,
|
|
36
|
-
size:
|
|
37
|
-
...
|
|
37
|
+
size: k = q.MD,
|
|
38
|
+
...w
|
|
38
39
|
}) => {
|
|
39
|
-
const [i, d] =
|
|
40
|
-
|
|
40
|
+
const [i, d] = O(!1), [n, g] = O(!1), m = x(o), h = x(null);
|
|
41
|
+
Y(() => {
|
|
41
42
|
m.current && !o ? (g(!1), d(!0)) : !m.current && o && (d(!1), g(!0)), m.current = o;
|
|
42
43
|
}, [o]);
|
|
43
|
-
const
|
|
44
|
-
const { target: D, currentTarget:
|
|
45
|
-
D ===
|
|
46
|
-
}, C = ({ opened: r }) => /* @__PURE__ */ t(
|
|
44
|
+
const b = (r) => {
|
|
45
|
+
const { target: D, currentTarget: T } = r;
|
|
46
|
+
D === T && (i ? (d(!1), s == null || s()) : n && (g(!1), c == null || c()));
|
|
47
|
+
}, C = ({ opened: r }) => /* @__PURE__ */ t(j, { opened: r, className: e.lightBoxSideOverlayMask }), H = () => /* @__PURE__ */ B(
|
|
47
48
|
"div",
|
|
48
49
|
{
|
|
49
50
|
className: f(e.lightBoxSideOverlayContent, {
|
|
@@ -51,50 +52,56 @@ const J = "lightBoxSideOverlayMask__4ee6a3ba", K = "lightBoxSideOverlayWrapper__
|
|
|
51
52
|
[e.opening]: n,
|
|
52
53
|
[e.opened]: o
|
|
53
54
|
}),
|
|
54
|
-
onTransitionEnd:
|
|
55
|
-
ref:
|
|
55
|
+
onTransitionEnd: b,
|
|
56
|
+
ref: h,
|
|
56
57
|
children: [
|
|
57
|
-
|
|
58
|
-
a && /* @__PURE__ */ t(
|
|
58
|
+
S,
|
|
59
|
+
a && /* @__PURE__ */ t(I, { loadingTitle: u })
|
|
59
60
|
]
|
|
60
61
|
}
|
|
61
62
|
), N = () => {
|
|
62
|
-
},
|
|
63
|
+
}, E = f(_, e.lightBoxSideOverlayWrapper, ae[k], {
|
|
63
64
|
[e.closing]: i,
|
|
64
65
|
[e.opened]: o,
|
|
65
|
-
[e.overflowXHidden]: !!
|
|
66
|
-
[e.overflowYHidden]: !!
|
|
67
|
-
}),
|
|
66
|
+
[e.overflowXHidden]: !!p || !!a,
|
|
67
|
+
[e.overflowYHidden]: !!p || !!a || !!M
|
|
68
|
+
}), F = (r) => /* @__PURE__ */ B(X, { children: [
|
|
68
69
|
C(r),
|
|
69
70
|
H()
|
|
70
|
-
] }),
|
|
71
|
+
] }), W = /* @__PURE__ */ t(
|
|
71
72
|
"div",
|
|
72
73
|
{
|
|
73
74
|
className: f(e.lightBoxSideOverlay, {
|
|
74
75
|
[e.closing]: i,
|
|
75
76
|
[e.opening]: n
|
|
76
77
|
}),
|
|
77
|
-
children: /* @__PURE__ */ t(
|
|
78
|
+
children: /* @__PURE__ */ t(L, { direction: R.RIGHT, opened: o, setOpened: N, children: F })
|
|
78
79
|
}
|
|
79
|
-
);
|
|
80
|
+
), y = () => /* @__PURE__ */ t("div", { className: E, role: "dialog", "aria-modal": "true", ...w, children: W });
|
|
80
81
|
return /* @__PURE__ */ t(
|
|
81
|
-
|
|
82
|
+
V,
|
|
82
83
|
{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
84
|
+
fallback: /* @__PURE__ */ t(
|
|
85
|
+
z,
|
|
86
|
+
{
|
|
87
|
+
active: o && !n && !i,
|
|
88
|
+
...l,
|
|
89
|
+
focusTrapOptions: {
|
|
90
|
+
allowOutsideClick: !0,
|
|
91
|
+
initialFocus: () => A.getFirstInteractionElementByDataAttr(h.current),
|
|
92
|
+
preventScroll: !0,
|
|
93
|
+
...l == null ? void 0 : l.focusTrapOptions
|
|
94
|
+
},
|
|
95
|
+
children: y()
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
children: y()
|
|
92
99
|
}
|
|
93
100
|
);
|
|
94
101
|
};
|
|
95
102
|
v.displayName = "LightBoxSideOverlay";
|
|
96
|
-
v.CloseDesktop =
|
|
97
|
-
v.CloseMobile =
|
|
103
|
+
v.CloseDesktop = U;
|
|
104
|
+
v.CloseMobile = G;
|
|
98
105
|
export {
|
|
99
106
|
v as LightBoxSideOverlay
|
|
100
107
|
};
|
|
@@ -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-DX1kP1BM.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-DudMBGKr.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-DX1kP1BM.js";
|
|
5
5
|
import { EButtonTheme as l } from "../../Button/enums.js";
|
|
6
6
|
import { EComponentSize as s } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { Button as a } from "../../Button/Button.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useRef as l, useEffect as p } from "react";
|
|
3
3
|
import { LoaderScreen as d } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
-
const n = "
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__471f9781", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
7
|
const [t, r] = s(0), e = l(null);
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as N, useRef as
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as N, useRef as f, useImperativeHandle as R, useState as V, useEffect as x } from "react";
|
|
3
3
|
import { c as h } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
const j = "
|
|
4
|
+
const j = "lightBoxLeftSidebar__f6bfec78", z = "fixed__619dafc2", E = "hidden__1e24b112", r = {
|
|
5
5
|
lightBoxLeftSidebar: j,
|
|
6
6
|
fixed: z,
|
|
7
7
|
hidden: E
|
|
8
8
|
}, O = N(
|
|
9
|
-
({ children: m, className: L, fixed: B, minVisibleWidth:
|
|
10
|
-
const n =
|
|
9
|
+
({ children: m, className: L, fixed: B, minVisibleWidth: o = 100, onShow: s, onHide: i, ...g }, p) => {
|
|
10
|
+
const n = f(null);
|
|
11
11
|
R(p, () => n.current);
|
|
12
|
-
const [v, _] = V(!0), e =
|
|
13
|
-
return
|
|
12
|
+
const [v, _] = V(!0), e = f(s), t = f(i);
|
|
13
|
+
return x(() => {
|
|
14
14
|
e.current = s, t.current = i;
|
|
15
|
-
}, [s, i]),
|
|
16
|
-
const
|
|
17
|
-
if (!
|
|
15
|
+
}, [s, i]), x(() => {
|
|
16
|
+
const d = n.current;
|
|
17
|
+
if (!d) return;
|
|
18
18
|
const a = new ResizeObserver((S) => {
|
|
19
19
|
for (const y of S) {
|
|
20
|
-
const c = y.contentRect.width >
|
|
20
|
+
const c = y.contentRect.width > o;
|
|
21
21
|
_((I) => {
|
|
22
22
|
var l, u;
|
|
23
23
|
return c !== I && (c ? (l = e.current) == null || l.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
return a.observe(
|
|
28
|
-
}, [
|
|
27
|
+
return a.observe(d), () => a.disconnect();
|
|
28
|
+
}, [o]), /* @__PURE__ */ b(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
31
|
ref: n,
|
|
32
32
|
className: h(L, r.lightBoxLeftSidebar, { [r.fixed]: B }),
|
|
33
33
|
...g,
|
|
34
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ b("div", { className: h(r.lightBoxLeftSidebarInner, { [r.hidden]: !v }), children: m })
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
37
|
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
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
|
|
3
|
-
import { c as
|
|
4
|
-
const j = "
|
|
2
|
+
import { forwardRef as N, useRef as o, useImperativeHandle as L, useState as V, useEffect as b } from "react";
|
|
3
|
+
import { c as g } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
const j = "lightBoxRightSidebar__b7a58d96", z = "fixed__619dafc2", E = "hidden__1e24b112", r = {
|
|
5
5
|
lightBoxRightSidebar: j,
|
|
6
6
|
fixed: z,
|
|
7
7
|
hidden: E
|
|
8
8
|
}, O = N(
|
|
9
|
-
({ children:
|
|
9
|
+
({ children: x, className: m, fixed: R, minVisibleWidth: d = 100, onShow: i, onHide: s, ...B }, p) => {
|
|
10
10
|
const n = o(null);
|
|
11
11
|
L(p, () => n.current);
|
|
12
12
|
const [v, _] = V(!0), e = o(i), t = o(s);
|
|
13
|
-
return
|
|
13
|
+
return b(() => {
|
|
14
14
|
e.current = i, t.current = s;
|
|
15
|
-
}, [i, s]),
|
|
16
|
-
const
|
|
17
|
-
if (!
|
|
15
|
+
}, [i, s]), b(() => {
|
|
16
|
+
const a = n.current;
|
|
17
|
+
if (!a) return;
|
|
18
18
|
const l = new ResizeObserver((S) => {
|
|
19
19
|
for (const y of S) {
|
|
20
20
|
const c = y.contentRect.width > d;
|
|
21
21
|
_((I) => {
|
|
22
|
-
var
|
|
23
|
-
return c !== I && (c ? (
|
|
22
|
+
var f, u;
|
|
23
|
+
return c !== I && (c ? (f = e.current) == null || f.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
return l.observe(
|
|
27
|
+
return l.observe(a), () => l.disconnect();
|
|
28
28
|
}, [d]), /* @__PURE__ */ h(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
31
|
ref: n,
|
|
32
|
-
className:
|
|
32
|
+
className: g(m, r.lightBoxRightSidebar, { [r.fixed]: R }),
|
|
33
33
|
...B,
|
|
34
|
-
children: /* @__PURE__ */ h("div", { className:
|
|
34
|
+
children: /* @__PURE__ */ h("div", { className: g(r.lightBoxRightSidebarInner, { [r.hidden]: !v }), children: x })
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
37
|
}
|
package/components/Link/Link.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as h, jsxs as t, Fragment as
|
|
1
|
+
import { jsx as h, jsxs as t, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import L from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as l } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { IconWrapper as F } from "../IconWrapper/IconWrapper.js";
|
|
5
|
-
const I = "
|
|
5
|
+
const I = "link__74b3cd0b", S = "wordWithContent__72dda005", T = "before__0ff9b518", q = "after__a5ede68a", e = {
|
|
6
6
|
link: I,
|
|
7
7
|
wordWithContent: S,
|
|
8
8
|
before: T,
|
|
9
9
|
after: q
|
|
10
10
|
}, v = L.forwardRef(
|
|
11
|
-
({ children:
|
|
12
|
-
const c = () => n ? /* @__PURE__ */ t(
|
|
11
|
+
({ children: i, className: N, onBlur: f, onMouseDown: C, contentAfter: s, contentBefore: n, ...u }, W) => {
|
|
12
|
+
const c = () => n ? /* @__PURE__ */ t(d, { children: [
|
|
13
13
|
"",
|
|
14
14
|
n()
|
|
15
15
|
] }) : null, m = () => s ? s() : null, _ = (o) => {
|
|
16
16
|
const r = o.split(" ");
|
|
17
17
|
if (r.length < 2 || r.length < 3 && n && s) {
|
|
18
|
-
const R =
|
|
18
|
+
const R = l(e.wordWithContent, {
|
|
19
19
|
[e.after]: !!s,
|
|
20
20
|
[e.before]: !!n
|
|
21
21
|
});
|
|
@@ -25,43 +25,43 @@ const I = "link__1b846c12", S = "wordWithContent__3514174e", T = "before__c81462
|
|
|
25
25
|
m()
|
|
26
26
|
] });
|
|
27
27
|
}
|
|
28
|
-
const
|
|
28
|
+
const a = r[0], p = r[r.length - 1], k = r.slice(1, -1).join(" "), g = l(e.wordWithContent, {
|
|
29
29
|
[e.before]: !!n
|
|
30
30
|
}), x = n ? /* @__PURE__ */ t("span", { className: g, children: [
|
|
31
31
|
c(),
|
|
32
|
-
|
|
33
|
-
] }) :
|
|
32
|
+
a
|
|
33
|
+
] }) : a, y = l(e.wordWithContent, {
|
|
34
34
|
[e.after]: !!s
|
|
35
35
|
}), j = s ? /* @__PURE__ */ t("span", { className: y, children: [
|
|
36
36
|
p,
|
|
37
37
|
m()
|
|
38
38
|
] }) : p;
|
|
39
|
-
return /* @__PURE__ */ t(
|
|
39
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
40
40
|
x,
|
|
41
41
|
" ",
|
|
42
|
-
|
|
42
|
+
k,
|
|
43
43
|
" ",
|
|
44
44
|
j
|
|
45
45
|
] });
|
|
46
|
-
},
|
|
47
|
-
const r = n ? n() : null,
|
|
48
|
-
return /* @__PURE__ */ t(
|
|
46
|
+
}, b = (o) => {
|
|
47
|
+
const r = n ? n() : null, a = s ? s() : null;
|
|
48
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
49
49
|
r,
|
|
50
50
|
o,
|
|
51
|
-
|
|
51
|
+
a
|
|
52
52
|
] });
|
|
53
|
-
},
|
|
53
|
+
}, w = n || s ? ((o) => typeof o == "string" ? _(o) : b(o))(i) : i;
|
|
54
54
|
return /* @__PURE__ */ h(
|
|
55
55
|
"a",
|
|
56
56
|
{
|
|
57
57
|
role: "link",
|
|
58
58
|
...u,
|
|
59
|
-
className:
|
|
60
|
-
onBlur:
|
|
59
|
+
className: l(N, e.link),
|
|
60
|
+
onBlur: f,
|
|
61
61
|
onMouseDown: C,
|
|
62
|
-
"data-tx": "1.
|
|
62
|
+
"data-tx": "1.28.0",
|
|
63
63
|
ref: W,
|
|
64
|
-
children: /* @__PURE__ */ h(F, { displayContents: !0, children:
|
|
64
|
+
children: /* @__PURE__ */ h(F, { displayContents: !0, children: w })
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
67
|
}
|
package/components/List/List.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as r, jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as r, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { LoaderScreen as c } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
-
const d = "
|
|
5
|
+
const d = "list__8a9a7fe9", f = {
|
|
6
6
|
list: d
|
|
7
|
-
}, p =
|
|
7
|
+
}, p = i.forwardRef(({ children: t, className: s, loading: e, ...l }, o) => /* @__PURE__ */ r("ul", { className: m(f.list, s), ...l, "data-tx": "1.28.0", ref: o, children: [
|
|
8
8
|
t,
|
|
9
|
-
e ? /* @__PURE__ */
|
|
9
|
+
e ? /* @__PURE__ */ a(c, { type: "middle" }) : null
|
|
10
10
|
] }));
|
|
11
11
|
p.displayName = "List";
|
|
12
12
|
export {
|