@sberbusiness/triplex-next 1.9.0 → 1.10.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-D8OxE3FA.js → AlertProcessSpoiler-C4HDxCMJ.js} +14 -14
- package/chunks/CalendarViewItem-Y3UQ6liF.js +101 -0
- package/chunks/Card.module-t9A1wsgP.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BMfgVvwS.js +11 -0
- package/chunks/{Chip-DXegvfGS.js → Chip-21qt-Ukl.js} +18 -18
- package/chunks/Confirm.module-CrTyGEYv.js +15 -0
- package/chunks/{DropdownListItem-ToJzPBLf.js → DropdownListItem-DXBppGoi.js} +21 -21
- package/chunks/DropdownMobile.module-CdquuBgl.js +23 -0
- package/chunks/Footer.module-9PrdQ3S7.js +9 -0
- package/chunks/FormFieldInput-hUwbIuBd.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-QjkaZFtn.js +9 -0
- package/chunks/HeaderTabs.module-a_JyDpFt.js +9 -0
- package/chunks/{HeaderTitle.module-DlPGCmxi.js → HeaderTitle.module-B_2yQmEh.js} +2 -2
- package/chunks/IslandAccordion.module-BCHg71CD.js +25 -0
- package/chunks/IslandWidgetFooter.module-DV2tNWtj.js +9 -0
- package/chunks/IslandWidgetHeader.module-kAuK5xmR.js +9 -0
- package/chunks/{LightBoxContent-BhFPV40j.js → LightBoxContent-DDRusGqo.js} +6 -6
- package/chunks/LightBoxControls.module-CHrL_gpj.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CVxmzGmO.js +8 -0
- package/chunks/{ListItemControlsButton-BoYzfwDC.js → ListItemControlsButton-3APG17-A.js} +9 -9
- package/chunks/ListItemTail.module-BW9qp-XX.js +12 -0
- package/chunks/ListMasterFooter.module-B3kLf2M1.js +10 -0
- package/chunks/ModalWindow.module-BFTuZtt7.js +17 -0
- package/chunks/Notification.module-DU0GLki1.js +21 -0
- package/chunks/Overlay.module-CQY18PV-.js +18 -0
- package/chunks/Page.module-BO9rnNjD.js +11 -0
- package/chunks/{RightBorderArrow-DmvKTu6m.js → RightBorderArrow-Bo5_O5lj.js} +14 -14
- package/chunks/SMSField.module-ibOZLVgV.js +16 -0
- package/chunks/SliderExtendedMarks.module-BBaU_j-p.js +15 -0
- package/chunks/{SliderExtendedRail-45DAsx7v.js → SliderExtendedRail-C7TQHv-j.js} +9 -9
- package/chunks/StatusTracker.module-C66hhTIO.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CSddz7zn.js → SuggestFieldMobileDropdownHint-BJiMEG2_.js} +4 -4
- package/chunks/TableFooter.module-cSix4Lyk.js +14 -0
- package/chunks/TabsExtended.module-D7fs9FsL.js +16 -0
- package/chunks/TabsLine.module-CEQyfehM.js +21 -0
- package/chunks/TooltipDesktop.module-DD9WosV6.js +19 -0
- package/chunks/TreeView.module-Dxrir5YQ.js +9 -0
- package/chunks/{UploadZoneInput-D8diOBuf.js → UploadZoneInput-C2_0grVp.js} +8 -8
- package/chunks/{utils-BvGDcicX.js → utils-BhoCc4rI.js} +6 -6
- package/chunks/{utils-tUaA-zN1.js → utils-BsOip28-.js} +8 -8
- package/chunks/utils-D8Gj0oC8.js +20 -0
- package/chunks/utils-HEAUA6LV.js +24 -0
- package/chunks/{utils--cyZSVhM.js → utils-mlGAF1hQ.js} +8 -8
- package/chunks/{vendor-D3hUOusX.js → vendor-ClY57Zzq.js} +1220 -1220
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- 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 +59 -62
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +34 -34
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +15 -15
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +2 -2
- package/components/Calendar/components/CalendarViewYears.js +2 -2
- package/components/Calendar/utils.js +1 -1
- package/components/Card/CardAction.js +18 -18
- 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/CarouselExtended/index.js +5 -0
- package/components/Checkbox/Checkbox.js +35 -33
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- 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 +3 -3
- package/components/Chip/ChipDatePicker/{components/ChipDatePickerTarget.js → ChipDatePickerTarget.js} +5 -5
- package/components/Chip/ChipDatePicker/index.js +7 -0
- package/components/Chip/ChipDropdownArrow.js +7 -7
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +2 -2
- 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 +2 -2
- package/components/Chip/index.js +26 -22
- package/components/ChipGroup/ChipGroup.js +16 -16
- package/components/Col/Col.js +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +16 -16
- 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 +2 -2
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +21 -21
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +99 -94
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +102 -97
- package/components/DesignTokens/components/AmountField.js +11 -0
- package/components/DesignTokens/components/FormField.js +2 -2
- package/components/DesignTokens/components/{SMSInput.js → SMSField.js} +9 -9
- package/components/DesignTokens/components/index.js +156 -153
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +5 -5
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- 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 +30 -30
- package/components/FormField/components/FormFieldClear.js +7 -7
- 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 +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +52 -52
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +10 -10
- package/components/FormField/components/FormFieldTarget.js +25 -25
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- package/components/FormField/enums.js +2 -3
- package/components/FormField/index.js +13 -14
- 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 +2 -2
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- 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 +3 -3
- package/components/IslandWidget/IslandWidget.js +14 -14
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- 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 +57 -51
- 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 +18 -18
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +15 -0
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +15 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +27 -27
- package/components/List/List.js +10 -10
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +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 +11 -11
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +8 -8
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +7 -7
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -14
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- 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 +6 -6
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +7 -7
- 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 +10 -10
- 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 +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +22 -20
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +41 -0
- package/components/{SMSInput/SMSInputContext.js → SMSField/SMSFieldContext.js} +3 -3
- package/components/{SMSInput → SMSField}/components/RefreshIcon.js +4 -4
- package/components/SMSField/components/SMSFieldInput.js +63 -0
- package/components/SMSField/components/SMSFieldRefresh.js +39 -0
- package/components/SMSField/components/SMSFieldSubmit.js +43 -0
- package/components/SMSField/components/SMSFieldTooltip.js +38 -0
- package/components/SMSField/index.js +5 -0
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +18 -18
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +10 -10
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +12 -12
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +17 -17
- 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 +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +20 -20
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +21 -21
- 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 +3 -3
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +13 -13
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +13 -13
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +5 -5
- 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 +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +7 -7
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +7 -7
- 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 +9 -9
- 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 +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +35 -35
- package/components/TagColor/TagColor.js +13 -13
- package/components/TagGroup/TagGroup.js +10 -10
- 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 +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +27 -23
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +11 -6
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +5 -5
- package/components/TopOverlay/TopOverlay.js +11 -11
- 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 +14 -14
- package/components/Typography/Text.js +26 -26
- package/components/Typography/Title.js +18 -18
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- 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 +560 -552
- package/consts/DateConst.js +1 -1
- package/consts/index.js +14 -0
- package/index.d.ts +158 -77
- package/index.js +577 -561
- package/package.json +8 -4
- package/styles/triplex-next.css +535 -533
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-DXg4wwUA.js +0 -101
- package/chunks/Card.module-CDb8O5wa.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D8lQSOEb.js +0 -11
- package/chunks/Confirm.module-ySc3irOD.js +0 -15
- package/chunks/DropdownMobile.module-B25s43In.js +0 -23
- package/chunks/Footer.module-CzmEZNfz.js +0 -9
- package/chunks/FormFieldInput-kWDtKz1V.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-C6GIAW7a.js +0 -9
- package/chunks/HeaderTabs.module-BP4HQoDS.js +0 -9
- package/chunks/IslandAccordion.module-DDPPsI1j.js +0 -25
- package/chunks/IslandWidgetFooter.module-BGcZce5D.js +0 -9
- package/chunks/IslandWidgetHeader.module-BMvYg9LN.js +0 -9
- package/chunks/LightBoxControls.module-B71hMR9E.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Bzi7uEUG.js +0 -8
- package/chunks/ListItemTail.module-D2THwLyb.js +0 -12
- package/chunks/ListMasterFooter.module-CQmunIov.js +0 -10
- package/chunks/ModalWindow.module-BhR9VsYm.js +0 -17
- package/chunks/Notification.module-BHnUAhdM.js +0 -21
- package/chunks/Overlay.module-BHV5h0kp.js +0 -18
- package/chunks/Page.module-DcF12bw0.js +0 -11
- package/chunks/SMSInput.module-qYyAcTFr.js +0 -16
- package/chunks/SliderExtendedMarks.module-CNaKOqZQ.js +0 -15
- package/chunks/StatusTracker.module-BA-WFHqo.js +0 -24
- package/chunks/TableFooter.module-D6jJ4Btm.js +0 -14
- package/chunks/TabsExtended.module-C87bijNv.js +0 -16
- package/chunks/TabsLine.module-D_ARvYGg.js +0 -21
- package/chunks/TooltipDesktop.module-CehOLtFg.js +0 -19
- package/chunks/TooltipMobileCloseButton-CJByOYY4.js +0 -20
- package/chunks/TreeView.module-B6tUzJoC.js +0 -9
- package/chunks/utils-3xY20XDV.js +0 -24
- package/chunks/utils-BCJ-APtm.js +0 -20
- package/components/SMSInput/SMSInput.js +0 -41
- package/components/SMSInput/components/SMSInputInput.js +0 -63
- package/components/SMSInput/components/SMSInputRefresh.js +0 -39
- package/components/SMSInput/components/SMSInputSubmit.js +0 -43
- package/components/SMSInput/components/SMSInputTooltip.js +0 -38
- package/components/SMSInput/index.js +0 -5
- /package/components/{SMSInput → SMSField}/components/SubmitIcon.js +0 -0
- /package/components/{SMSInput → SMSField}/types.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../chunks/vendor-
|
|
3
|
-
import { s as a } from "../../../chunks/IslandWidgetHeader.module-
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
3
|
+
import { s as a } from "../../../chunks/IslandWidgetHeader.module-kAuK5xmR.js";
|
|
4
4
|
import { IslandWidgetHeaderContent as o } from "./IslandWidgetHeaderContent.js";
|
|
5
5
|
import { IslandWidgetHeaderDescription as m } from "./IslandWidgetHeaderDescription.js";
|
|
6
6
|
const e = ({ children: t, className: r, ...s }) => /* @__PURE__ */ d("div", { ...s, className: i(r, a.islandWidgetHeader), children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../chunks/vendor-
|
|
3
|
-
import { s as o } from "../../../chunks/IslandWidgetHeader.module-
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-kAuK5xmR.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-ClY57Zzq.js";
|
|
3
|
+
import { s as t } from "../../../chunks/IslandWidgetHeader.module-kAuK5xmR.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 e } 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-ClY57Zzq.js";
|
|
4
4
|
import { IslandWidgetContext as n } from "../IslandWidgetContext.js";
|
|
5
|
-
const W = "
|
|
5
|
+
const W = "islandWidgetWrapper__944e841b", m = {
|
|
6
6
|
islandWidgetWrapper: W
|
|
7
7
|
}, c = i.forwardRef(
|
|
8
|
-
({ children:
|
|
8
|
+
({ children: r, className: t, ...a }, s) => {
|
|
9
9
|
const [d, o] = p(!1);
|
|
10
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ e(n.Provider, { value: { hasExtraFooter: d, setHasExtraFooter: o }, children: /* @__PURE__ */ e("div", { className: l(m.islandWidgetWrapper, t), ...a, ref: s, children: r }) });
|
|
11
11
|
}
|
|
12
12
|
);
|
|
13
13
|
c.displayName = "IslandWidgetWrapper";
|
|
@@ -1,87 +1,89 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { c as V, h as A } from "../../chunks/vendor-
|
|
4
|
-
import {
|
|
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-ClY57Zzq.js";
|
|
4
|
+
import { L as D, s as e } from "../../chunks/LightBoxContent-DDRusGqo.js";
|
|
5
5
|
import { LightBoxControls as F } from "./LightBoxControls/LightBoxControls.js";
|
|
6
6
|
import { LightBoxSideOverlay as I } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
|
-
import { Portal as
|
|
8
|
-
import { addClassNameWithScrollbarWidth as
|
|
7
|
+
import { Portal as T } from "../Portal/Portal.js";
|
|
8
|
+
import { addClassNameWithScrollbarWidth as k } from "../../utils/scroll/scrollbar.js";
|
|
9
9
|
import { TopOverlay as j } from "../TopOverlay/TopOverlay.js";
|
|
10
10
|
import { LightBoxViewManager as q } from "./LightBoxViewManager/LightBoxViewManager.js";
|
|
11
11
|
import { MobileView as W } from "../MobileView/MobileView.js";
|
|
12
12
|
import { FocusTrapUtils as $ } from "../../utils/focus/FocusTrapUtils.js";
|
|
13
13
|
import { useToken as z } from "../ThemeProvider/useToken.js";
|
|
14
|
+
import { LightBoxLeftSidebar as H } from "./LightBoxSidebars/LightBoxLeftSidebar.js";
|
|
15
|
+
import { LightBoxRightSidebar as U } from "./LightBoxSidebars/LightBoxRightSidebar.js";
|
|
14
16
|
import "./LightBoxSideOverlay/enums.js";
|
|
15
|
-
const
|
|
16
|
-
"scroll-0": "scroll-
|
|
17
|
-
"scroll-15": "scroll-
|
|
18
|
-
"scroll-16": "scroll-
|
|
19
|
-
"scroll-17": "scroll-
|
|
20
|
-
},
|
|
21
|
-
children:
|
|
17
|
+
const Z = {
|
|
18
|
+
"scroll-0": "scroll-0__f3116a48",
|
|
19
|
+
"scroll-15": "scroll-15__f9cdce04",
|
|
20
|
+
"scroll-16": "scroll-16__c5a38366",
|
|
21
|
+
"scroll-17": "scroll-17__14e2a2b2"
|
|
22
|
+
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node", N = [e.bodyOverflowHidden], b = ({
|
|
23
|
+
children: v,
|
|
22
24
|
className: M,
|
|
23
|
-
focusTrapProps:
|
|
24
|
-
forwardRef:
|
|
25
|
-
mountNode:
|
|
26
|
-
lightBoxViewManagerNodeId:
|
|
27
|
-
isLoading:
|
|
25
|
+
focusTrapProps: r,
|
|
26
|
+
forwardRef: c,
|
|
27
|
+
mountNode: s,
|
|
28
|
+
lightBoxViewManagerNodeId: m = L,
|
|
29
|
+
isLoading: d,
|
|
28
30
|
isSideOverlayOpened: i,
|
|
29
|
-
isTopOverlayOpened:
|
|
30
|
-
...
|
|
31
|
+
isTopOverlayOpened: y,
|
|
32
|
+
...S
|
|
31
33
|
}) => {
|
|
32
|
-
const
|
|
34
|
+
const l = n(null), u = n(null), { scopeClassName: E } = z(), C = () => {
|
|
33
35
|
let t = null;
|
|
34
|
-
return
|
|
36
|
+
return s ? t = s : (t = document.querySelector(`#${p}`), t || (t = document.createElement("div"), t.setAttribute("id", p), document.body.appendChild(t))), t;
|
|
35
37
|
}, _ = () => {
|
|
36
38
|
let t = null;
|
|
37
|
-
return
|
|
38
|
-
}, a =
|
|
39
|
-
|
|
39
|
+
return m && (t = document.querySelector(`#${m}`)), t || (t = document.createElement("div"), t.setAttribute("id", L), document.body.appendChild(t)), t;
|
|
40
|
+
}, a = n(C()), g = n(_()), h = () => {
|
|
41
|
+
N.forEach((t) => document.documentElement.classList.add(t));
|
|
40
42
|
};
|
|
41
|
-
|
|
42
|
-
if (!i &&
|
|
43
|
+
B(() => (k(Z), h(), setTimeout(h, 100), () => N.forEach((t) => document.documentElement.classList.remove(t))), []), B(() => {
|
|
44
|
+
if (!i && l.current) {
|
|
43
45
|
const t = Math.round(Math.random() * 100);
|
|
44
|
-
|
|
46
|
+
l.current.style.zIndex = t.toString();
|
|
45
47
|
}
|
|
46
48
|
}, [i]);
|
|
47
49
|
const w = (t) => {
|
|
48
|
-
|
|
50
|
+
u.current = t, c && (c.current = t);
|
|
49
51
|
}, O = V(
|
|
50
|
-
|
|
52
|
+
E,
|
|
51
53
|
e.lightBox,
|
|
52
54
|
{
|
|
53
|
-
[e.isLoading]: !!
|
|
55
|
+
[e.isLoading]: !!d,
|
|
54
56
|
[e.lightBoxSideOverlayActive]: !!i,
|
|
55
|
-
[e.lightBoxTopOverlayActive]: !!
|
|
57
|
+
[e.lightBoxTopOverlayActive]: !!y
|
|
56
58
|
},
|
|
57
59
|
M
|
|
58
60
|
);
|
|
59
61
|
if (!a.current)
|
|
60
62
|
return null;
|
|
61
|
-
const
|
|
63
|
+
const f = () => /* @__PURE__ */ x("div", { className: O, ref: w, role: "dialog", "aria-modal": "true", ...S, children: [
|
|
62
64
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
63
|
-
|
|
64
|
-
/* @__PURE__ */ o("span", { ref:
|
|
65
|
+
v,
|
|
66
|
+
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
65
67
|
] });
|
|
66
|
-
return /* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */ o(
|
|
68
|
+
return /* @__PURE__ */ x(R, { children: [
|
|
69
|
+
/* @__PURE__ */ o(T, { container: a.current, children: /* @__PURE__ */ o(
|
|
68
70
|
W,
|
|
69
71
|
{
|
|
70
72
|
fallback: /* @__PURE__ */ o(
|
|
71
73
|
A.FocusTrap,
|
|
72
74
|
{
|
|
73
|
-
active: !
|
|
74
|
-
...
|
|
75
|
+
active: !d,
|
|
76
|
+
...r,
|
|
75
77
|
focusTrapOptions: {
|
|
76
78
|
clickOutsideDeactivates: !0,
|
|
77
|
-
initialFocus: () => $.getFirstInteractionElementByDataAttr(
|
|
79
|
+
initialFocus: () => $.getFirstInteractionElementByDataAttr(u.current),
|
|
78
80
|
preventScroll: !0,
|
|
79
|
-
...
|
|
81
|
+
...r == null ? void 0 : r.focusTrapOptions
|
|
80
82
|
},
|
|
81
|
-
children:
|
|
83
|
+
children: f()
|
|
82
84
|
}
|
|
83
85
|
),
|
|
84
|
-
children:
|
|
86
|
+
children: f()
|
|
85
87
|
}
|
|
86
88
|
) }),
|
|
87
89
|
g.current && /* @__PURE__ */ o(
|
|
@@ -93,14 +95,18 @@ const H = {
|
|
|
93
95
|
)
|
|
94
96
|
] });
|
|
95
97
|
};
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
b.displayName = "LightBoxBase";
|
|
99
|
+
const st = Object.assign(b, {
|
|
100
|
+
Content: D,
|
|
101
|
+
SideOverlay: I,
|
|
102
|
+
TopOverlay: j,
|
|
103
|
+
Controls: F,
|
|
104
|
+
LeftSidebar: H,
|
|
105
|
+
RightSidebar: U
|
|
106
|
+
});
|
|
101
107
|
export {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
108
|
+
st as LightBox,
|
|
109
|
+
p as lightBoxMountNodeIdDefault,
|
|
110
|
+
L as lightBoxViewManagerNodeIdDefault
|
|
105
111
|
};
|
|
106
112
|
//# sourceMappingURL=LightBox.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
4
|
-
import "../../chunks/vendor-
|
|
4
|
+
import "../../chunks/vendor-ClY57Zzq.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-DDRusGqo.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-ClY57Zzq.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-CHrL_gpj.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-ClY57Zzq.js";
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-CHrL_gpj.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-ClY57Zzq.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-CHrL_gpj.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-ClY57Zzq.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-CHrL_gpj.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 O, Fragment as C } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x, useRef as p, useEffect as W } from "react";
|
|
3
|
-
import { c as m, F as X } from "../../../chunks/vendor-
|
|
3
|
+
import { c as m, F as X } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { OverlayBase as Y, EOverlayDirection as R } from "../../Overlay/OverlayBase.js";
|
|
5
5
|
import { OverlayMask as j } from "../../Overlay/OverlayMask.js";
|
|
6
6
|
import { LightBoxSideOverlayLoader as I } from "./LightBoxSideOverlayLoader.js";
|
|
@@ -8,7 +8,7 @@ import { FocusTrapUtils as T } from "../../../utils/focus/FocusTrapUtils.js";
|
|
|
8
8
|
import { LightBoxSideOverlayCloseMobile as A } from "./LightBoxSideOverlayCloseMobile.js";
|
|
9
9
|
import { LightBoxSideOverlayCloseDesktop as U } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
10
|
import { ELightBoxSideOverlaySize as a } from "./enums.js";
|
|
11
|
-
const q = "
|
|
11
|
+
const q = "lightBoxSideOverlayMask__3af94f29", J = "lightBoxSideOverlayWrapper__86ab4c8a", K = "overflowXHidden__a26f8b67", Q = "overflowYHidden__1de1e016", V = "closing__f05cb612", Z = "opened__52195157", $ = "lightBoxSideOverlayContent__97bbc901", P = "opening__4abf9867", ee = "sizeSM__1fc74ef4", ie = "sizeMD__d7b1e68a", te = "sizeLG__0fc7056d", oe = "lightBoxSideOverlay__ca7e9f68", e = {
|
|
12
12
|
lightBoxSideOverlayMask: q,
|
|
13
13
|
lightBoxSideOverlayWrapper: J,
|
|
14
14
|
overflowXHidden: K,
|
|
@@ -32,17 +32,17 @@ const q = "lightBoxSideOverlayMask__46bedb8a", J = "lightBoxSideOverlayWrapper__
|
|
|
32
32
|
onClose: c,
|
|
33
33
|
onOpen: d,
|
|
34
34
|
opened: i,
|
|
35
|
-
size:
|
|
35
|
+
size: f = a.MD,
|
|
36
36
|
...D
|
|
37
37
|
}) => {
|
|
38
|
-
const [o,
|
|
38
|
+
const [o, g] = x(!1), [n, v] = x(!1), h = p(i), S = p(null);
|
|
39
39
|
W(() => {
|
|
40
|
-
h.current && !i ? (
|
|
40
|
+
h.current && !i ? (v(!1), g(!0)) : !h.current && i && (g(!1), v(!0)), h.current = i;
|
|
41
41
|
}, [i]);
|
|
42
|
-
const
|
|
42
|
+
const b = (r) => {
|
|
43
43
|
const { target: G, currentTarget: N } = r;
|
|
44
|
-
G === N && (o ? (
|
|
45
|
-
},
|
|
44
|
+
G === N && (o ? (g(!1), c == null || c()) : n && (v(!1), d == null || d()));
|
|
45
|
+
}, k = ({ opened: r }) => /* @__PURE__ */ t(j, { opened: r, className: e.lightBoxSideOverlayMask }), H = () => /* @__PURE__ */ O(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
48
|
className: m(e.lightBoxSideOverlayContent, {
|
|
@@ -50,25 +50,25 @@ const q = "lightBoxSideOverlayMask__46bedb8a", J = "lightBoxSideOverlayWrapper__
|
|
|
50
50
|
[e.opening]: n,
|
|
51
51
|
[e.opened]: i
|
|
52
52
|
}),
|
|
53
|
-
onTransitionEnd:
|
|
53
|
+
onTransitionEnd: b,
|
|
54
54
|
ref: S,
|
|
55
55
|
children: [
|
|
56
56
|
_,
|
|
57
57
|
s && /* @__PURE__ */ t(I, { loadingTitle: u })
|
|
58
58
|
]
|
|
59
59
|
}
|
|
60
|
-
),
|
|
61
|
-
},
|
|
60
|
+
), L = () => {
|
|
61
|
+
}, w = m(M, e.lightBoxSideOverlayWrapper, {
|
|
62
62
|
[e.closing]: o,
|
|
63
63
|
[e.opened]: i,
|
|
64
64
|
[e.overflowXHidden]: !!B || !!s,
|
|
65
65
|
[e.overflowYHidden]: !!B || !!s || !!z,
|
|
66
|
-
[e.sizeSM]:
|
|
67
|
-
[e.sizeMD]:
|
|
68
|
-
[e.sizeLG]:
|
|
66
|
+
[e.sizeSM]: f === a.SM,
|
|
67
|
+
[e.sizeMD]: f === a.MD,
|
|
68
|
+
[e.sizeLG]: f === a.LG
|
|
69
69
|
}), E = (r) => /* @__PURE__ */ O(C, { children: [
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
k(r),
|
|
71
|
+
H()
|
|
72
72
|
] }), F = /* @__PURE__ */ t(
|
|
73
73
|
"div",
|
|
74
74
|
{
|
|
@@ -76,7 +76,7 @@ const q = "lightBoxSideOverlayMask__46bedb8a", J = "lightBoxSideOverlayWrapper__
|
|
|
76
76
|
[e.closing]: o,
|
|
77
77
|
[e.opening]: n
|
|
78
78
|
}),
|
|
79
|
-
children: /* @__PURE__ */ t(Y, { direction: R.RIGHT, opened: i, setOpened:
|
|
79
|
+
children: /* @__PURE__ */ t(Y, { direction: R.RIGHT, opened: i, setOpened: L, children: E })
|
|
80
80
|
}
|
|
81
81
|
);
|
|
82
82
|
return /* @__PURE__ */ t(
|
|
@@ -90,7 +90,7 @@ const q = "lightBoxSideOverlayMask__46bedb8a", J = "lightBoxSideOverlayWrapper__
|
|
|
90
90
|
preventScroll: !0,
|
|
91
91
|
...l == null ? void 0 : l.focusTrapOptions
|
|
92
92
|
},
|
|
93
|
-
children: /* @__PURE__ */ t("div", { className:
|
|
93
|
+
children: /* @__PURE__ */ t("div", { className: w, role: "dialog", "aria-modal": "true", ...D, children: F })
|
|
94
94
|
}
|
|
95
95
|
);
|
|
96
96
|
};
|
|
@@ -2,12 +2,12 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as s } from "react";
|
|
3
3
|
import { TriggerClickOnKeyDownEvent as n } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
4
4
|
import { EVENT_KEY_CODES as l } from "../../../utils/keyboard.js";
|
|
5
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
6
6
|
import { CrossStrokeSrvIcon32 as f } from "@sberbusiness/icons-next";
|
|
7
7
|
import { EButtonTheme as a } from "../../Button/enums.js";
|
|
8
8
|
import { EComponentSize as c } from "../../../enums/EComponentSize.js";
|
|
9
9
|
import { Button as d } from "../../Button/Button.js";
|
|
10
|
-
import { s as u } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
10
|
+
import { s as u } from "../../../chunks/LightBoxSideOverlayClose.module-CVxmzGmO.js";
|
|
11
11
|
const C = ({
|
|
12
12
|
className: r,
|
|
13
13
|
clickByEsc: m,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../../chunks/vendor-
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-ClY57Zzq.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-CVxmzGmO.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 d, useRef as s, useEffect as l } from "react";
|
|
3
|
+
import { LoaderScreen as p } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__73a086dd", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
|
-
const [t, r] =
|
|
8
|
-
return
|
|
7
|
+
const [t, r] = d(0), e = s(null);
|
|
8
|
+
return l(() => {
|
|
9
9
|
setTimeout(() => {
|
|
10
10
|
if (e.current) {
|
|
11
11
|
const o = e.current.getBoundingClientRect();
|
|
12
12
|
o.top !== t && (o.top > 0 ? r(0) : r(Math.abs(o.top)));
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
}, []), /* @__PURE__ */ i("div", { ref: e, className: c.lightBoxSideOverlayLoaderWrapper, style: { top: `${t}px` }, children: /* @__PURE__ */ i(
|
|
15
|
+
}, []), /* @__PURE__ */ i("div", { ref: e, className: c.lightBoxSideOverlayLoaderWrapper, style: { top: `${t}px` }, children: /* @__PURE__ */ i(p, { type: "middle", children: a }) });
|
|
16
16
|
};
|
|
17
17
|
f.displayName = "LightBoxSideOverlayLoader";
|
|
18
18
|
export {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
3
|
+
const d = "lightBoxLeftSidebar__a716dc8f", l = "lightBoxLeftSidebarInner__1e87e899", t = {
|
|
4
|
+
lightBoxLeftSidebar: d,
|
|
5
|
+
lightBoxLeftSidebarInner: l
|
|
6
|
+
}, s = ({
|
|
7
|
+
children: i,
|
|
8
|
+
className: r,
|
|
9
|
+
...o
|
|
10
|
+
}) => /* @__PURE__ */ e("div", { className: a(r, t.lightBoxLeftSidebar), ...o, children: /* @__PURE__ */ e("div", { className: t.lightBoxLeftSidebarInner, children: i }) });
|
|
11
|
+
s.displayName = "LightBoxLeftSidebar";
|
|
12
|
+
export {
|
|
13
|
+
s as LightBoxLeftSidebar
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=LightBoxLeftSidebar.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
3
|
+
const o = "lightBoxRightSidebar__3bee621a", a = "lightBoxRightSidebarInner__895f0b91", t = {
|
|
4
|
+
lightBoxRightSidebar: o,
|
|
5
|
+
lightBoxRightSidebarInner: a
|
|
6
|
+
}, d = ({
|
|
7
|
+
children: e,
|
|
8
|
+
className: h,
|
|
9
|
+
...g
|
|
10
|
+
}) => /* @__PURE__ */ i("div", { className: r(h, t.lightBoxRightSidebar), ...g, children: /* @__PURE__ */ i("div", { className: t.lightBoxRightSidebarInner, children: e }) });
|
|
11
|
+
d.displayName = "LightBoxRightSidebar";
|
|
12
|
+
export {
|
|
13
|
+
d as LightBoxRightSidebar
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=LightBoxRightSidebar.js.map
|
|
@@ -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 { u as k, i as P, j as p } from "../../../chunks/vendor-
|
|
5
|
+
import { u as k, i as P, j as p } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
6
6
|
const g = "LightBoxMountNodeViewManager", M = ({
|
|
7
7
|
lightBoxMountNode: a,
|
|
8
8
|
lightBoxViewManagerNode: x
|
package/components/Link/Link.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { jsx as R, jsxs 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-ClY57Zzq.js";
|
|
4
|
+
const v = "link__6830cfc7", F = "wordWithContent__465fa65a", S = "before__a0573a8d", T = "after__c3ecf5da", e = {
|
|
5
5
|
link: v,
|
|
6
6
|
wordWithContent: F,
|
|
7
7
|
before: S,
|
|
8
8
|
after: T
|
|
9
9
|
}, q = L.forwardRef(
|
|
10
|
-
({ children: i, className:
|
|
11
|
-
const c = () => o ? /* @__PURE__ */
|
|
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
|
-
] }) : null, m = () => s ? s() : null,
|
|
14
|
+
] }) : null, m = () => s ? s() : null, u = (n) => {
|
|
15
15
|
const r = n.split(" ");
|
|
16
16
|
if (r.length < 2 || r.length < 3 && o && s) {
|
|
17
|
-
const y = l(
|
|
18
|
-
[
|
|
19
|
-
[
|
|
17
|
+
const y = l(e.wordWithContent, {
|
|
18
|
+
[e.after]: !!s,
|
|
19
|
+
[e.before]: !!o
|
|
20
20
|
});
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ a("span", { className: y, children: [
|
|
22
22
|
c(),
|
|
23
23
|
n,
|
|
24
24
|
m()
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
const t = r[0], h = r[r.length - 1],
|
|
28
|
-
[
|
|
29
|
-
}), g = o ? /* @__PURE__ */
|
|
27
|
+
const t = r[0], h = r[r.length - 1], k = r.slice(1, -1).join(" "), b = l(e.wordWithContent, {
|
|
28
|
+
[e.before]: !!o
|
|
29
|
+
}), g = o ? /* @__PURE__ */ a("span", { className: b, children: [
|
|
30
30
|
c(),
|
|
31
31
|
t
|
|
32
|
-
] }) : t, x = l(
|
|
33
|
-
[
|
|
34
|
-
}), j = s ? /* @__PURE__ */
|
|
32
|
+
] }) : t, x = l(e.wordWithContent, {
|
|
33
|
+
[e.after]: !!s
|
|
34
|
+
}), j = s ? /* @__PURE__ */ a("span", { className: x, children: [
|
|
35
35
|
h,
|
|
36
36
|
m()
|
|
37
37
|
] }) : h;
|
|
38
|
-
return /* @__PURE__ */
|
|
38
|
+
return /* @__PURE__ */ a(d, { children: [
|
|
39
39
|
g,
|
|
40
40
|
" ",
|
|
41
|
-
|
|
41
|
+
k,
|
|
42
42
|
" ",
|
|
43
43
|
j
|
|
44
44
|
] });
|
|
45
|
-
},
|
|
45
|
+
}, W = (n) => {
|
|
46
46
|
const r = o ? o() : null, t = s ? s() : null;
|
|
47
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ a(d, { children: [
|
|
48
48
|
r,
|
|
49
49
|
n,
|
|
50
50
|
t
|
|
51
51
|
] });
|
|
52
|
-
},
|
|
52
|
+
}, w = o || s ? ((n) => typeof n == "string" ? u(n) : W(n))(i) : i;
|
|
53
53
|
return /* @__PURE__ */ R(
|
|
54
54
|
"a",
|
|
55
55
|
{
|
|
56
56
|
role: "link",
|
|
57
|
-
...
|
|
58
|
-
className: l(
|
|
59
|
-
onBlur:
|
|
57
|
+
...C,
|
|
58
|
+
className: l(N, e.link, "hoverable"),
|
|
59
|
+
onBlur: f,
|
|
60
60
|
onMouseDown: p,
|
|
61
|
-
"data-tx": "1.
|
|
62
|
-
ref:
|
|
63
|
-
children:
|
|
61
|
+
"data-tx": "1.10.0",
|
|
62
|
+
ref: _,
|
|
63
|
+
children: w
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
package/components/List/List.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { LoaderScreen as
|
|
5
|
-
const
|
|
6
|
-
list:
|
|
7
|
-
},
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { c as m } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
import { LoaderScreen as c } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
+
const d = "list__d8369c66", f = {
|
|
6
|
+
list: d
|
|
7
|
+
}, p = i.forwardRef(({ children: s, className: t, loading: l, ...o }, r) => /* @__PURE__ */ a("ul", { className: m(f.list, t), ...o, "data-tx": "1.10.0", ref: r, children: [
|
|
8
8
|
s,
|
|
9
|
-
l ? /* @__PURE__ */
|
|
9
|
+
l ? /* @__PURE__ */ e(c, { type: "small" }) : null
|
|
10
10
|
] }));
|
|
11
|
-
|
|
11
|
+
p.displayName = "List";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
p as List
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=List.js.map
|
|
@@ -3,7 +3,7 @@ var p = (t, e, r) => e in t ? x(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var o = (t, e, r) => p(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
import { jsx as d } from "react/jsx-runtime";
|
|
5
5
|
import E from "react";
|
|
6
|
-
import { b, d as f, D as M, M as T, r as D, e as L, S as w, v as y, f as I, T as C, g as H } from "../../chunks/vendor-
|
|
6
|
+
import { b, d as f, D as M, M as T, r as D, e as L, S as w, v as y, f as I, T as C, g as H } from "../../chunks/vendor-ClY57Zzq.js";
|
|
7
7
|
import { List as N } from "./List.js";
|
|
8
8
|
class u extends H {
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor-
|
|
4
|
-
const p = "
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
const p = "listEmptyState__38352a73", l = {
|
|
5
5
|
listEmptyState: p
|
|
6
6
|
}, r = i.forwardRef(
|
|
7
7
|
({ children: t, className: s, ...m }, a) => /* @__PURE__ */ e("div", { className: o(l.listEmptyState, s), ...m, ref: a, children: t })
|