@sberbusiness/triplex-next 1.19.1 → 1.20.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-CJysh-L6.js → AlertProcessSpoiler-CT4kuQU5.js} +7 -7
- package/chunks/{CalendarViewItem-Dxr-IKuh.js → CalendarViewItem-B22G4WdJ.js} +21 -21
- package/chunks/Card.module-CYQS3e5D.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Bm15tlJo.js +14 -0
- package/chunks/{Chip-Cp4nSSv9.js → Chip-Df2PJxv_.js} +10 -10
- package/chunks/Confirm.module-B2BrmONy.js +15 -0
- package/chunks/{DropdownListItem-Czxj-82d.js → DropdownListItem-JDPG7EtK.js} +23 -23
- package/chunks/DropdownMobile.module-BEV1I-ay.js +23 -0
- package/chunks/Footer.module-Bd88HiEv.js +9 -0
- package/chunks/FormFieldInput-C4pLJsXx.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-CqfeCJ-B.js +9 -0
- package/chunks/HeaderTabs.module-CWX7b7Dh.js +9 -0
- package/chunks/{HeaderTitle.module-bJWT64K6.js → HeaderTitle.module-Cz5VxXST.js} +2 -2
- package/chunks/IslandAccordion.module-CDvdz98b.js +25 -0
- package/chunks/IslandWidgetFooter.module-e4tVz5in.js +9 -0
- package/chunks/IslandWidgetHeader.module-Ch-s_cQT.js +12 -0
- package/chunks/{LightBoxContent-6jOQAiJe.js → LightBoxContent-DcdEm4um.js} +14 -14
- package/chunks/LightBoxControls.module-uaiuwR-r.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CMuFmWFe.js +9 -0
- package/chunks/{ListItemControlsButton-CLWIOf-c.js → ListItemControlsButton-CWkrMtu6.js} +10 -10
- package/chunks/ListItemTail.module-7mfIAr0W.js +12 -0
- package/chunks/ListMasterFooter.module-P4_LpH8K.js +10 -0
- package/chunks/ModalWindow.module-D-5u9tYs.js +17 -0
- package/chunks/Notification.module-C0ZCimeJ.js +20 -0
- package/chunks/Overlay.module-DllxTgO6.js +18 -0
- package/chunks/Page.module-D8eZ3riP.js +11 -0
- package/chunks/{RightBorderArrow-CDLZGJBa.js → RightBorderArrow-CD9RfiqH.js} +14 -14
- package/chunks/SMSField.module-Ct20kGRY.js +16 -0
- package/chunks/SliderExtendedMarks.module-AiKoZWUL.js +15 -0
- package/chunks/{SliderExtendedRail-Dc_iZlxS.js → SliderExtendedRail-Alw2vXQr.js} +10 -10
- package/chunks/StatusTracker.module-BS9GBa45.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-B1qT-8-p.js → SuggestFieldMobileDropdownHint-BfOcMGUs.js} +4 -4
- package/chunks/TableFooter.module-DYutPrdO.js +14 -0
- package/chunks/TabsExtended.module-uL61NvZ4.js +16 -0
- package/chunks/TabsLine.module-ByA3hnWg.js +21 -0
- package/chunks/TooltipDesktop.module-CWKvU1wk.js +19 -0
- package/chunks/TreeView.module-Co4Cu58-.js +9 -0
- package/chunks/{UploadZoneInput-CXhNQ2dO.js → UploadZoneInput-DWEQ023-.js} +3 -3
- package/chunks/constants-mUMWgzNs.js +57 -0
- package/chunks/{utils-OFOU7B72.js → utils-B269a8Xy.js} +2 -2
- package/chunks/{utils-BIaaXA7W.js → utils-C64rf2gI.js} +8 -8
- package/chunks/utils-C8q6y8Et.js +73 -0
- package/chunks/{utils-DjwTklmD.js → utils-rInBvmh_.js} +7 -7
- package/chunks/{vendor-Dlne6Znf.js → vendor-BIl4KTrD.js} +3 -4
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +23 -23
- package/components/Badge/Badge.js +2 -2
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +15 -15
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +31 -31
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +12 -12
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +20 -20
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/Checkbox/Checkbox.js +7 -7
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +35 -28
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +11 -11
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +26 -26
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +7 -7
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +11 -11
- package/components/Dropdown/desktop/DropdownDesktop.js +8 -8
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +3 -3
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +14 -21
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +18 -18
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +35 -35
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +7 -7
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +14 -14
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +75 -69
- package/components/IslandWidget/IslandWidget.js +3 -3
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +5 -5
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +24 -24
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +23 -23
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +8 -8
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +9 -9
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +9 -9
- package/components/List/components/ListItemTable.js +10 -10
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +7 -7
- package/components/List/components/ListSortableItemTarget.js +6 -6
- 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 +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +17 -17
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +3 -3
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +5 -5
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +8 -8
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +12 -12
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +10 -10
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +32 -32
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +22 -22
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +22 -21
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +141 -137
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +59 -55
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +53 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +75 -67
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +23 -23
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +7 -7
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +120 -156
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +22 -22
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +12 -12
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +11 -11
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +12 -12
- package/components/TopOverlay/TopOverlay.js +23 -23
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +29 -29
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +9 -9
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +5 -5
- package/index.d.ts +11 -54
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +546 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-DMUHU1y_.js +0 -17
- package/chunks/CheckboxTreeExtended.module-wyBivaJR.js +0 -14
- package/chunks/Confirm.module-BMe3cCgA.js +0 -15
- package/chunks/DropdownMobile.module-ChlziR7V.js +0 -23
- package/chunks/Footer.module-DdBlWFOs.js +0 -9
- package/chunks/FormFieldInput-Bb0syEep.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-tndsgX78.js +0 -9
- package/chunks/HeaderTabs.module-T7IKL1xp.js +0 -9
- package/chunks/IslandAccordion.module-CLQD0a3_.js +0 -25
- package/chunks/IslandWidgetFooter.module-CPs8lx4X.js +0 -9
- package/chunks/IslandWidgetHeader.module-EYRdEBM6.js +0 -12
- package/chunks/LightBoxControls.module-OIHtatwH.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BB5P2oIx.js +0 -8
- package/chunks/ListItemTail.module-D9_VecUp.js +0 -12
- package/chunks/ListMasterFooter.module-Tad6_QUF.js +0 -10
- package/chunks/ModalWindow.module-CtWGFobP.js +0 -17
- package/chunks/Notification.module-1ONl_AQl.js +0 -20
- package/chunks/Overlay.module-BzUI6PNY.js +0 -18
- package/chunks/Page.module-BIAYhn48.js +0 -11
- package/chunks/SMSField.module-CshFlMUU.js +0 -16
- package/chunks/SliderExtendedMarks.module-BPt30iMn.js +0 -15
- package/chunks/StatusTracker.module-CTVX8mSd.js +0 -24
- package/chunks/TableFooter.module-CcIh2kO5.js +0 -14
- package/chunks/TabsExtended.module-DtrXq1jE.js +0 -16
- package/chunks/TabsLine.module-D5PBUMxf.js +0 -21
- package/chunks/TooltipDesktop.module-B2iSBrr1.js +0 -19
- package/chunks/TreeView.module-DEJX2JUM.js +0 -9
- package/chunks/constants-sbJX8JQ4.js +0 -57
- package/chunks/utils-DHbotYsG.js +0 -73
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../../chunks/vendor-
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
const a = "islandWidgetBody__a13986cb", e = {
|
|
4
4
|
islandWidgetBody: a
|
|
5
5
|
}, l = ({ children: d, className: s, ...i }) => /* @__PURE__ */ o("div", { ...i, className: t(e.islandWidgetBody, s), children: d });
|
|
6
6
|
l.displayName = "IslandWidgetBody";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { c as n } from "../../../chunks/vendor-
|
|
2
|
+
import { useContext as i, useEffect as d } from "react";
|
|
3
|
+
import { c as n } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
4
4
|
import { ExpandAnimation as x } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
5
5
|
import { IslandWidgetLayoutContext as l } from "../IslandWidgetLayoutContext.js";
|
|
6
|
-
const m = "
|
|
6
|
+
const m = "islandWidgetExtraFooter__15351c77", c = {
|
|
7
7
|
islandWidgetExtraFooter: m
|
|
8
8
|
}, E = ({
|
|
9
9
|
children: r,
|
|
@@ -11,8 +11,8 @@ const m = "islandWidgetExtraFooter__4b4a894d", c = {
|
|
|
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
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../chunks/vendor-
|
|
3
|
-
import { s as n } from "../../../chunks/IslandWidgetFooter.module-
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
import { s as n } from "../../../chunks/IslandWidgetFooter.module-e4tVz5in.js";
|
|
4
4
|
import { IslandWidgetFooterContent as d } from "./IslandWidgetFooterContent.js";
|
|
5
5
|
import { IslandWidgetFooterControls as m } from "./IslandWidgetFooterControls.js";
|
|
6
6
|
const o = ({ children: t, className: r, ...s }) => /* @__PURE__ */ e("div", { ...s, className: i(r, n.islandWidgetFooter), children: t });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as l } from "react";
|
|
3
|
-
import { c as a } from "../../../chunks/vendor-
|
|
4
|
-
import { s as e } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { c as a } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
4
|
+
import { s as e } from "../../../chunks/IslandWidgetHeader.module-Ch-s_cQT.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
|
-
import { c as d } from "../../../chunks/vendor-
|
|
3
|
-
import { s as o } from "../../../chunks/IslandWidgetHeader.module-
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-Ch-s_cQT.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
|
-
import { c as a } from "../../../chunks/vendor-
|
|
3
|
-
import { s as t } from "../../../chunks/IslandWidgetHeader.module-
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
import { s as t } from "../../../chunks/IslandWidgetHeader.module-Ch-s_cQT.js";
|
|
4
4
|
const d = ({
|
|
5
5
|
children: s,
|
|
6
6
|
className: e,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import i, { useState as p } from "react";
|
|
3
|
-
import { c as l } from "../../../chunks/vendor-
|
|
3
|
+
import { c as l } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
4
4
|
import { IslandWidgetLayoutContext as n } from "../IslandWidgetLayoutContext.js";
|
|
5
|
-
const W = "
|
|
5
|
+
const W = "islandWidgetWrapper__252fb921", m = {
|
|
6
6
|
islandWidgetWrapper: W
|
|
7
7
|
}, c = i.forwardRef(
|
|
8
|
-
({ children:
|
|
8
|
+
({ children: e, className: t, ...a }, s) => {
|
|
9
9
|
const [o, d] = p(!1);
|
|
10
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ r(n.Provider, { value: { hasExtraFooter: o, setHasExtraFooter: d }, children: /* @__PURE__ */ r("div", { className: l(m.islandWidgetWrapper, t), ...a, ref: s, children: e }) });
|
|
11
11
|
}
|
|
12
12
|
);
|
|
13
13
|
c.displayName = "IslandWidgetWrapper";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as n, useEffect as
|
|
3
|
-
import { c as V, h as A } from "../../chunks/vendor-
|
|
4
|
-
import { L as D, s as e } from "../../chunks/LightBoxContent-
|
|
1
|
+
import { jsxs as x, Fragment as R, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as n, useEffect as B } from "react";
|
|
3
|
+
import { c as V, h as A } from "../../chunks/vendor-BIl4KTrD.js";
|
|
4
|
+
import { L as D, s as e } from "../../chunks/LightBoxContent-DcdEm4um.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 T } from "../Portal/Portal.js";
|
|
@@ -14,15 +14,15 @@ import { useToken as z } from "../ThemeProvider/useToken.js";
|
|
|
14
14
|
import { LightBoxLeftSidebar as H } from "./LightBoxSidebars/LightBoxLeftSidebar.js";
|
|
15
15
|
import { LightBoxRightSidebar as U } from "./LightBoxSidebars/LightBoxRightSidebar.js";
|
|
16
16
|
const Z = {
|
|
17
|
-
"scroll-0": "scroll-
|
|
18
|
-
"scroll-15": "scroll-
|
|
19
|
-
"scroll-16": "scroll-
|
|
20
|
-
"scroll-17": "scroll-
|
|
21
|
-
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node",
|
|
17
|
+
"scroll-0": "scroll-0__bf7ef688",
|
|
18
|
+
"scroll-15": "scroll-15__cc1b4362",
|
|
19
|
+
"scroll-16": "scroll-16__bd97575f",
|
|
20
|
+
"scroll-17": "scroll-17__a2a7f3c3"
|
|
21
|
+
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node", b = [e.bodyOverflowHidden], N = ({
|
|
22
22
|
children: v,
|
|
23
23
|
className: M,
|
|
24
24
|
focusTrapProps: r,
|
|
25
|
-
forwardRef:
|
|
25
|
+
forwardRef: a,
|
|
26
26
|
mountNode: s,
|
|
27
27
|
lightBoxViewManagerNodeId: m = L,
|
|
28
28
|
isLoading: d,
|
|
@@ -36,17 +36,17 @@ const Z = {
|
|
|
36
36
|
}, _ = () => {
|
|
37
37
|
let t = null;
|
|
38
38
|
return m && (t = document.querySelector(`#${m}`)), t || (t = document.createElement("div"), t.setAttribute("id", L), document.body.appendChild(t)), t;
|
|
39
|
-
},
|
|
40
|
-
|
|
39
|
+
}, c = n(C()), g = n(_()), h = () => {
|
|
40
|
+
b.forEach((t) => document.documentElement.classList.add(t));
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
B(() => (k(Z), h(), setTimeout(h, 100), () => b.forEach((t) => document.documentElement.classList.remove(t))), []), B(() => {
|
|
43
43
|
if (!i && l.current) {
|
|
44
44
|
const t = Math.round(Math.random() * 100);
|
|
45
45
|
l.current.style.zIndex = t.toString();
|
|
46
46
|
}
|
|
47
47
|
}, [i]);
|
|
48
48
|
const w = (t) => {
|
|
49
|
-
u.current = t,
|
|
49
|
+
u.current = t, a && (a.current = t);
|
|
50
50
|
}, O = V(
|
|
51
51
|
E,
|
|
52
52
|
e.lightBox,
|
|
@@ -57,15 +57,15 @@ const Z = {
|
|
|
57
57
|
},
|
|
58
58
|
M
|
|
59
59
|
);
|
|
60
|
-
if (!
|
|
60
|
+
if (!c.current)
|
|
61
61
|
return null;
|
|
62
|
-
const
|
|
62
|
+
const f = () => /* @__PURE__ */ x("div", { className: O, ref: w, role: "dialog", "aria-modal": "true", ...S, children: [
|
|
63
63
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
64
64
|
v,
|
|
65
65
|
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
66
66
|
] });
|
|
67
|
-
return /* @__PURE__ */
|
|
68
|
-
/* @__PURE__ */ o(T, { container:
|
|
67
|
+
return /* @__PURE__ */ x(R, { children: [
|
|
68
|
+
/* @__PURE__ */ o(T, { container: c.current, children: /* @__PURE__ */ o(
|
|
69
69
|
W,
|
|
70
70
|
{
|
|
71
71
|
fallback: /* @__PURE__ */ o(
|
|
@@ -79,23 +79,23 @@ const Z = {
|
|
|
79
79
|
preventScroll: !0,
|
|
80
80
|
...r == null ? void 0 : r.focusTrapOptions
|
|
81
81
|
},
|
|
82
|
-
children:
|
|
82
|
+
children: f()
|
|
83
83
|
}
|
|
84
84
|
),
|
|
85
|
-
children:
|
|
85
|
+
children: f()
|
|
86
86
|
}
|
|
87
87
|
) }),
|
|
88
88
|
g.current && /* @__PURE__ */ o(
|
|
89
89
|
q,
|
|
90
90
|
{
|
|
91
91
|
lightBoxViewManagerNode: g.current,
|
|
92
|
-
lightBoxMountNode:
|
|
92
|
+
lightBoxMountNode: c.current
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
|
-
|
|
98
|
-
const
|
|
97
|
+
N.displayName = "LightBoxBase";
|
|
98
|
+
const at = Object.assign(N, {
|
|
99
99
|
Content: D,
|
|
100
100
|
SideOverlay: I,
|
|
101
101
|
TopOverlay: j,
|
|
@@ -104,7 +104,7 @@ const ct = Object.assign(b, {
|
|
|
104
104
|
RightSidebar: U
|
|
105
105
|
});
|
|
106
106
|
export {
|
|
107
|
-
|
|
107
|
+
at as LightBox,
|
|
108
108
|
p as lightBoxMountNodeIdDefault,
|
|
109
109
|
L as lightBoxViewManagerNodeIdDefault
|
|
110
110
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
4
|
-
import "../../chunks/vendor-
|
|
4
|
+
import "../../chunks/vendor-BIl4KTrD.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-DcdEm4um.js";
|
|
7
7
|
export {
|
|
8
8
|
n as LightBoxContent
|
|
9
9
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e, Fragment as f } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as h } from "react";
|
|
3
|
-
import { c as u } from "../../../chunks/vendor-
|
|
3
|
+
import { c as u } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
4
4
|
import { CrossStrokeSrvIcon32 as x, CrossStrokeSrvIcon20 as C } from "@sberbusiness/icons-next";
|
|
5
5
|
import { TriggerClickOnKeyDownEvent as E } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
6
6
|
import { EVENT_KEY_CODES as g } from "../../../utils/keyboard.js";
|
|
7
7
|
import { EButtonTheme as i } from "../../Button/enums.js";
|
|
8
8
|
import { Button as l } from "../../Button/Button.js";
|
|
9
9
|
import { EComponentSize as a } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-uaiuwR-r.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: c,
|
|
13
13
|
onClick: t,
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { LightBoxClose as m } from "./LightBoxClose.js";
|
|
3
3
|
import { LightBoxNext as l } from "./LightBoxNext.js";
|
|
4
4
|
import { LightBoxPrev as x } from "./LightBoxPrev.js";
|
|
5
|
-
import { c as e } from "../../../chunks/vendor-
|
|
6
|
-
import { s as p } from "../../../chunks/LightBoxControls.module-
|
|
5
|
+
import { c as e } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-uaiuwR-r.js";
|
|
7
7
|
const o = ({ children: t, className: r, ...s }) => /* @__PURE__ */ i("div", { className: e(r, p.lightBoxControls), ...s, "data-lightbox-component": "controls", children: t });
|
|
8
8
|
o.displayName = "LightBoxControls";
|
|
9
9
|
o.Close = m;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as x, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as m } from "react";
|
|
3
|
-
import { c as n } from "../../../chunks/vendor-
|
|
3
|
+
import { c as n } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
4
4
|
import { CaretrightStrokeSrvIcon32 as E, CaretrightStrokeSrvIcon20 as D } from "@sberbusiness/icons-next";
|
|
5
5
|
import { TriggerClickOnKeyDownEvent as I } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
6
6
|
import { EVENT_KEY_CODES as R } from "../../../utils/keyboard.js";
|
|
7
7
|
import { Button as c } from "../../Button/Button.js";
|
|
8
8
|
import { EButtonTheme as s } from "../../Button/enums.js";
|
|
9
9
|
import { EComponentSize as f } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-uaiuwR-r.js";
|
|
11
11
|
const v = ({
|
|
12
12
|
className: g,
|
|
13
13
|
clickByArrowRight: u,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as f, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as m } from "react";
|
|
3
|
-
import { c as n } from "../../../chunks/vendor-
|
|
3
|
+
import { c as n } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
4
4
|
import { CaretleftStrokeSrvIcon32 as E, CaretleftStrokeSrvIcon20 as D } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EButtonTheme as h } from "../../Button/enums.js";
|
|
6
6
|
import { TriggerClickOnKeyDownEvent as C } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
7
7
|
import { EVENT_KEY_CODES as I } from "../../../utils/keyboard.js";
|
|
8
8
|
import { Button as s } from "../../Button/Button.js";
|
|
9
9
|
import { EComponentSize as v } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-uaiuwR-r.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as y, Fragment as T } from "react/jsx-runtime";
|
|
2
2
|
import { useState as B, useRef as O, useEffect as X } from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as v, F as Y } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
4
4
|
import { OverlayBase as z, EOverlayDirection as L } from "../../Overlay/OverlayBase.js";
|
|
5
5
|
import { OverlayMask as R } from "../../Overlay/OverlayMask.js";
|
|
6
6
|
import { LightBoxSideOverlayLoader as j } from "./LightBoxSideOverlayLoader.js";
|
|
@@ -9,7 +9,7 @@ import { LightBoxSideOverlayCloseMobile as A } from "./LightBoxSideOverlayCloseM
|
|
|
9
9
|
import { LightBoxSideOverlayCloseDesktop as G } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
10
|
import { EComponentSize as U } from "../../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as q } from "../../../utils/classNameMaps.js";
|
|
12
|
-
const J = "
|
|
12
|
+
const J = "lightBoxSideOverlayMask__889a572e", K = "lightBoxSideOverlayWrapper__b0da2fff", Q = "overflowXHidden__c77d1157", V = "overflowYHidden__bd761ea3", Z = "closing__97fd1f5a", $ = "opened__9de74e99", P = "lightBoxSideOverlayContent__ecb3a947", ee = "opening__ddc57e98", oe = "sm__223541f8", te = "md__9204d9b7", ie = "lg__9de59e71", re = "lightBoxSideOverlay__983548d0", e = {
|
|
13
13
|
lightBoxSideOverlayMask: J,
|
|
14
14
|
lightBoxSideOverlayWrapper: K,
|
|
15
15
|
overflowXHidden: Q,
|
|
@@ -22,7 +22,7 @@ const J = "lightBoxSideOverlayMask__0723330e", K = "lightBoxSideOverlayWrapper__
|
|
|
22
22
|
md: te,
|
|
23
23
|
lg: ie,
|
|
24
24
|
lightBoxSideOverlay: re
|
|
25
|
-
}, le = q(e),
|
|
25
|
+
}, le = q(e), f = ({
|
|
26
26
|
children: x,
|
|
27
27
|
className: S,
|
|
28
28
|
focusTrapProps: l,
|
|
@@ -31,50 +31,50 @@ const J = "lightBoxSideOverlayMask__0723330e", K = "lightBoxSideOverlayWrapper__
|
|
|
31
31
|
isTopLevelSideOverlayOpened: h,
|
|
32
32
|
isTopOverlayOpened: u,
|
|
33
33
|
onClose: s,
|
|
34
|
-
onOpen:
|
|
34
|
+
onOpen: d,
|
|
35
35
|
opened: o,
|
|
36
36
|
size: M = U.MD,
|
|
37
|
-
...
|
|
37
|
+
...k
|
|
38
38
|
}) => {
|
|
39
|
-
const [i,
|
|
39
|
+
const [i, c] = B(!1), [n, g] = B(!1), m = O(o), p = O(null);
|
|
40
40
|
X(() => {
|
|
41
|
-
|
|
41
|
+
m.current && !o ? (g(!1), c(!0)) : !m.current && o && (c(!1), g(!0)), m.current = o;
|
|
42
42
|
}, [o]);
|
|
43
|
-
const
|
|
43
|
+
const H = (r) => {
|
|
44
44
|
const { target: F, currentTarget: W } = r;
|
|
45
|
-
F === W && (i ? (
|
|
46
|
-
},
|
|
45
|
+
F === W && (i ? (c(!1), s == null || s()) : n && (g(!1), d == null || d()));
|
|
46
|
+
}, w = ({ opened: r }) => /* @__PURE__ */ t(R, { opened: r, className: e.lightBoxSideOverlayMask }), C = () => /* @__PURE__ */ y(
|
|
47
47
|
"div",
|
|
48
48
|
{
|
|
49
|
-
className:
|
|
49
|
+
className: v(e.lightBoxSideOverlayContent, {
|
|
50
50
|
[e.closing]: i,
|
|
51
51
|
[e.opening]: n,
|
|
52
52
|
[e.opened]: o
|
|
53
53
|
}),
|
|
54
|
-
onTransitionEnd:
|
|
54
|
+
onTransitionEnd: H,
|
|
55
55
|
ref: p,
|
|
56
56
|
children: [
|
|
57
57
|
x,
|
|
58
58
|
a && /* @__PURE__ */ t(j, { loadingTitle: _ })
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
|
-
),
|
|
62
|
-
},
|
|
61
|
+
), N = () => {
|
|
62
|
+
}, b = v(S, e.lightBoxSideOverlayWrapper, le[M], {
|
|
63
63
|
[e.closing]: i,
|
|
64
64
|
[e.opened]: o,
|
|
65
65
|
[e.overflowXHidden]: !!h || !!a,
|
|
66
66
|
[e.overflowYHidden]: !!h || !!a || !!u
|
|
67
67
|
}), D = (r) => /* @__PURE__ */ y(T, { children: [
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
w(r),
|
|
69
|
+
C()
|
|
70
70
|
] }), E = /* @__PURE__ */ t(
|
|
71
71
|
"div",
|
|
72
72
|
{
|
|
73
|
-
className:
|
|
73
|
+
className: v(e.lightBoxSideOverlay, {
|
|
74
74
|
[e.closing]: i,
|
|
75
75
|
[e.opening]: n
|
|
76
76
|
}),
|
|
77
|
-
children: /* @__PURE__ */ t(z, { direction: L.RIGHT, opened: o, setOpened:
|
|
77
|
+
children: /* @__PURE__ */ t(z, { direction: L.RIGHT, opened: o, setOpened: N, children: D })
|
|
78
78
|
}
|
|
79
79
|
);
|
|
80
80
|
return /* @__PURE__ */ t(
|
|
@@ -88,14 +88,14 @@ const J = "lightBoxSideOverlayMask__0723330e", K = "lightBoxSideOverlayWrapper__
|
|
|
88
88
|
preventScroll: !0,
|
|
89
89
|
...l == null ? void 0 : l.focusTrapOptions
|
|
90
90
|
},
|
|
91
|
-
children: /* @__PURE__ */ t("div", { className:
|
|
91
|
+
children: /* @__PURE__ */ t("div", { className: b, role: "dialog", "aria-modal": "true", ...k, children: E })
|
|
92
92
|
}
|
|
93
93
|
);
|
|
94
94
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
f.displayName = "LightBoxSideOverlay";
|
|
96
|
+
f.CloseDesktop = G;
|
|
97
|
+
f.CloseMobile = A;
|
|
98
98
|
export {
|
|
99
|
-
|
|
99
|
+
f as LightBoxSideOverlay
|
|
100
100
|
};
|
|
101
101
|
//# sourceMappingURL=LightBoxSideOverlay.js.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { TriggerClickOnKeyDownEvent as
|
|
4
|
-
import { EVENT_KEY_CODES as
|
|
5
|
-
import { c
|
|
6
|
-
import { CrossStrokeSrvIcon32 as
|
|
7
|
-
import { EButtonTheme as
|
|
8
|
-
import { EComponentSize as
|
|
9
|
-
import { Button as
|
|
10
|
-
import { s as
|
|
11
|
-
const
|
|
12
|
-
className:
|
|
13
|
-
clickByEsc:
|
|
14
|
-
...
|
|
2
|
+
import { useRef as l } from "react";
|
|
3
|
+
import { TriggerClickOnKeyDownEvent as a } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
4
|
+
import { EVENT_KEY_CODES as p } from "../../../utils/keyboard.js";
|
|
5
|
+
import { c } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
6
|
+
import { CrossStrokeSrvIcon32 as d } from "@sberbusiness/icons-next";
|
|
7
|
+
import { EButtonTheme as f } from "../../Button/enums.js";
|
|
8
|
+
import { EComponentSize as C } from "../../../enums/EComponentSize.js";
|
|
9
|
+
import { Button as u } from "../../Button/Button.js";
|
|
10
|
+
import { s as r } from "../../../chunks/LightBoxSideOverlayClose.module-CMuFmWFe.js";
|
|
11
|
+
const E = ({
|
|
12
|
+
className: i,
|
|
13
|
+
clickByEsc: s,
|
|
14
|
+
...n
|
|
15
15
|
}) => {
|
|
16
|
-
const o =
|
|
17
|
-
|
|
16
|
+
const o = l(null), t = () => /* @__PURE__ */ e(
|
|
17
|
+
u,
|
|
18
18
|
{
|
|
19
19
|
"data-exclude-modal-focus": !0,
|
|
20
|
-
className:
|
|
20
|
+
className: c(i, r.lightBoxSideOverlayCloseDesktop),
|
|
21
21
|
title: "Закрыть",
|
|
22
|
-
...
|
|
22
|
+
...n,
|
|
23
23
|
ref: o,
|
|
24
|
-
icon: /* @__PURE__ */ e(
|
|
25
|
-
size:
|
|
26
|
-
theme:
|
|
24
|
+
icon: /* @__PURE__ */ e(d, { paletteIndex: 0 }),
|
|
25
|
+
size: C.LG,
|
|
26
|
+
theme: f.SECONDARY_LIGHT
|
|
27
27
|
}
|
|
28
|
-
);
|
|
29
|
-
return
|
|
28
|
+
), m = () => s ? /* @__PURE__ */ e(a, { eventKeyCode: p.ESCAPE, targetRef: o, children: t() }) : t();
|
|
29
|
+
return /* @__PURE__ */ e("div", { className: r.lightBoxSideOverlayCloseDesktopContainer, children: m() });
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
E.displayName = "LightBoxSideOverlayCloseDesktop";
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
E as LightBoxSideOverlayCloseDesktop
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=LightBoxSideOverlayCloseDesktop.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../../chunks/vendor-
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-BIl4KTrD.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-CMuFmWFe.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
|
|
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__3317fbb3", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
|
-
const [t, r] =
|
|
8
|
-
return
|
|
7
|
+
const [t, r] = s(0), e = l(null);
|
|
8
|
+
return p(() => {
|
|
9
9
|
setTimeout(() => {
|
|
10
10
|
if (e.current) {
|
|
11
11
|
const o = e.current.getBoundingClientRect();
|
|
12
12
|
o.top !== t && (o.top > 0 ? r(0) : r(Math.abs(o.top)));
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
}, []), /* @__PURE__ */ i("div", { ref: e, className: c.lightBoxSideOverlayLoaderWrapper, style: { top: `${t}px` }, children: /* @__PURE__ */ i(
|
|
15
|
+
}, []), /* @__PURE__ */ i("div", { ref: e, className: c.lightBoxSideOverlayLoaderWrapper, style: { top: `${t}px` }, children: /* @__PURE__ */ i(d, { type: "middle", children: a }) });
|
|
16
16
|
};
|
|
17
17
|
f.displayName = "LightBoxSideOverlayLoader";
|
|
18
18
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
lightBoxLeftSidebar:
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
const f = "lightBoxLeftSidebar__f5896df5", x = "fixed__e3ca756a", s = "lightBoxLeftSidebarInner__f991cb92", e = {
|
|
4
|
+
lightBoxLeftSidebar: f,
|
|
5
5
|
fixed: x,
|
|
6
6
|
lightBoxLeftSidebarInner: s
|
|
7
7
|
}, l = ({
|
|
8
8
|
children: t,
|
|
9
|
-
className:
|
|
10
|
-
fixed:
|
|
11
|
-
...
|
|
12
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
9
|
+
className: o,
|
|
10
|
+
fixed: r,
|
|
11
|
+
...a
|
|
12
|
+
}) => /* @__PURE__ */ i("div", { className: d(o, e.lightBoxLeftSidebar, { [e.fixed]: r }), ...a, children: /* @__PURE__ */ i("div", { className: e.lightBoxLeftSidebarInner, children: t }) });
|
|
13
13
|
l.displayName = "LightBoxLeftSidebar";
|
|
14
14
|
export {
|
|
15
15
|
l as LightBoxLeftSidebar
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
lightBoxRightSidebar:
|
|
5
|
-
fixed:
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
const a = "lightBoxRightSidebar__efe77e79", d = "fixed__e3ca756a", x = "lightBoxRightSidebarInner__0044705c", i = {
|
|
4
|
+
lightBoxRightSidebar: a,
|
|
5
|
+
fixed: d,
|
|
6
6
|
lightBoxRightSidebarInner: x
|
|
7
7
|
}, s = ({
|
|
8
8
|
children: e,
|
|
9
|
-
className:
|
|
10
|
-
fixed:
|
|
11
|
-
...
|
|
12
|
-
}) => /* @__PURE__ */ t("div", { className:
|
|
9
|
+
className: h,
|
|
10
|
+
fixed: g,
|
|
11
|
+
...o
|
|
12
|
+
}) => /* @__PURE__ */ t("div", { className: r(h, i.lightBoxRightSidebar, { [i.fixed]: g }), ...o, children: /* @__PURE__ */ t("div", { className: i.lightBoxRightSidebarInner, children: e }) });
|
|
13
13
|
s.displayName = "LightBoxRightSidebar";
|
|
14
14
|
export {
|
|
15
15
|
s as LightBoxRightSidebar
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as m, useRef as L, useCallback as n, useLayoutEffect as c } from "react";
|
|
3
3
|
import { Portal as B } from "../../Portal/Portal.js";
|
|
4
4
|
import { LightBoxViewManagerConsts as l } from "./LightBoxViewManagerConsts.js";
|
|
5
|
-
import { a as k, i as P, j as p } from "../../../chunks/vendor-
|
|
5
|
+
import { a as k, i as P, j as p } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
6
6
|
const g = "LightBoxMountNodeViewManager", M = ({
|
|
7
7
|
lightBoxMountNode: a,
|
|
8
8
|
lightBoxViewManagerNode: x
|
package/components/Link/Link.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as R, jsxs as a, Fragment as
|
|
1
|
+
import { jsx as R, jsxs as a, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import L from "react";
|
|
3
|
-
import { c as l } from "../../chunks/vendor-
|
|
4
|
-
const v = "
|
|
3
|
+
import { c as l } from "../../chunks/vendor-BIl4KTrD.js";
|
|
4
|
+
const v = "link__f1aa9513", F = "wordWithContent__137a9001", S = "before__cc57ab1d", T = "after__5e19e1fd", e = {
|
|
5
5
|
link: v,
|
|
6
6
|
wordWithContent: F,
|
|
7
7
|
before: S,
|
|
8
8
|
after: T
|
|
9
9
|
}, q = L.forwardRef(
|
|
10
|
-
({ children:
|
|
11
|
-
const c = () => o ? /* @__PURE__ */ a(
|
|
10
|
+
({ children: i, className: N, onBlur: f, onMouseDown: p, contentAfter: s, contentBefore: o, ...C }, _) => {
|
|
11
|
+
const c = () => o ? /* @__PURE__ */ a(d, { children: [
|
|
12
12
|
"",
|
|
13
13
|
o()
|
|
14
14
|
] }) : null, m = () => s ? s() : null, u = (n) => {
|
|
@@ -35,7 +35,7 @@ const v = "link__09ab1a45", F = "wordWithContent__99a1735f", S = "before__9a7929
|
|
|
35
35
|
h,
|
|
36
36
|
m()
|
|
37
37
|
] }) : h;
|
|
38
|
-
return /* @__PURE__ */ a(
|
|
38
|
+
return /* @__PURE__ */ a(d, { children: [
|
|
39
39
|
g,
|
|
40
40
|
" ",
|
|
41
41
|
b,
|
|
@@ -44,12 +44,12 @@ const v = "link__09ab1a45", F = "wordWithContent__99a1735f", S = "before__9a7929
|
|
|
44
44
|
] });
|
|
45
45
|
}, W = (n) => {
|
|
46
46
|
const r = o ? o() : null, t = s ? s() : null;
|
|
47
|
-
return /* @__PURE__ */ a(
|
|
47
|
+
return /* @__PURE__ */ a(d, { children: [
|
|
48
48
|
r,
|
|
49
49
|
n,
|
|
50
50
|
t
|
|
51
51
|
] });
|
|
52
|
-
}, w = o || s ? ((n) => typeof n == "string" ? u(n) : W(n))(
|
|
52
|
+
}, w = o || s ? ((n) => typeof n == "string" ? u(n) : W(n))(i) : i;
|
|
53
53
|
return /* @__PURE__ */ R(
|
|
54
54
|
"a",
|
|
55
55
|
{
|
|
@@ -58,7 +58,7 @@ const v = "link__09ab1a45", F = "wordWithContent__99a1735f", S = "before__9a7929
|
|
|
58
58
|
className: l(N, e.link, "hoverable"),
|
|
59
59
|
onBlur: f,
|
|
60
60
|
onMouseDown: p,
|
|
61
|
-
"data-tx": "1.
|
|
61
|
+
"data-tx": "1.20.0",
|
|
62
62
|
ref: _,
|
|
63
63
|
children: w
|
|
64
64
|
}
|