@sberbusiness/triplex-next 0.21.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -25
- package/chunks/AlertProcessSpoiler-BoQok_f3.js +39 -0
- package/chunks/CalendarViewItem-DKS15EZ4.js +101 -0
- package/chunks/Card.module-BmZKmkeY.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CGSpV-y1.js +15 -0
- package/chunks/Chip-D5zfQfAA.js +104 -0
- package/chunks/Confirm.module-CtbiIzcl.js +15 -0
- package/chunks/DropdownListItem-C4JE2xV7.js +65 -0
- package/chunks/DropdownMobile.module-BgSbdJtS.js +23 -0
- package/chunks/Footer.module-B469C_XO.js +9 -0
- package/chunks/FormFieldInput-Dr_WBweC.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DYtQ2wvu.js +9 -0
- package/chunks/HeaderTabs.module-4iOT34Zp.js +9 -0
- package/chunks/{HeaderTitle.module-Cg-I_NJG.js → HeaderTitle.module-D5yAgpuv.js} +2 -2
- package/chunks/IslandAccordion.module-mdAdZwJL.js +25 -0
- package/chunks/IslandWidgetFooter.module-ClvLmtck.js +9 -0
- package/chunks/IslandWidgetHeader.module-CuVaAc4F.js +12 -0
- package/chunks/{LightBoxContent-BLPx_Tsf.js → LightBoxContent-Lme9r-vN.js} +12 -12
- package/chunks/LightBoxControls.module-qhDcQmnH.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js +9 -0
- package/chunks/ListItemControlsButton-BLbj6vZS.js +51 -0
- package/chunks/ListItemTail.module-BAmXXpc5.js +12 -0
- package/chunks/ListMasterFooter.module-BhwH8qqm.js +10 -0
- package/chunks/ModalWindow.module-Ciwlg3WX.js +17 -0
- package/chunks/Notification.module-CjpGpuL7.js +20 -0
- package/chunks/Overlay.module-DPHcy5Kd.js +18 -0
- package/chunks/Page.module-98SUxLiM.js +11 -0
- package/chunks/{RightBorderArrow-1OX8NAL9.js → RightBorderArrow-CGThEmc4.js} +6 -6
- package/chunks/SMSField.module-k0lfRov5.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bdz2AHAO.js +15 -0
- package/chunks/{SliderExtendedRail-C_1LnK7I.js → SliderExtendedRail-C51TfjHY.js} +6 -6
- package/chunks/StatusTracker.module-BmBKiCLR.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DNKfDfM3.js → SuggestFieldMobileDropdownHint-8Km5bFV3.js} +5 -5
- package/chunks/TableFooter.module-D0rUmZhB.js +14 -0
- package/chunks/TabsExtended.module-D5-U63Qf.js +16 -0
- package/chunks/TabsLine.module-DXlTUTm_.js +21 -0
- package/chunks/TooltipDesktop.module-D4z7cwlC.js +19 -0
- package/chunks/TreeView.module-DAOSEOZO.js +9 -0
- package/chunks/{UploadZoneInput-CIib3dEF.js → UploadZoneInput-onwF8t4d.js} +8 -8
- package/chunks/{constants-BamiEgAW.js → constants-CUVfo8-z.js} +7 -7
- package/chunks/{utils-Bt-cuXIX.js → utils-By-UAq7Y.js} +5 -5
- package/chunks/utils-CyxIcdb6.js +73 -0
- package/chunks/utils-DxMHp1hh.js +28 -0
- package/chunks/utils-SSwzNA1R.js +24 -0
- package/chunks/{vendor-DaOifQgP.js → vendor---Om3uMV.js} +43 -47
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +7 -7
- package/components/Badge/Badge.js +2 -2
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +11 -11
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +5 -5
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +96 -83
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +3 -3
- 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 +11 -11
- 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 +5 -5
- package/components/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +4 -3
- package/components/Chip/ChipClearButton.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +9 -10
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +7 -8
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +10 -10
- 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 +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +18 -18
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +61 -64
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- 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 +4 -4
- 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 +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 +69 -77
- package/components/FormField/FormFieldContext.js +16 -14
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +27 -27
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +57 -49
- package/components/FormField/components/FormFieldTextarea.js +62 -35
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- 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 +2 -2
- 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 +7 -7
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- 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 +6 -6
- package/components/LightBox/LightBox.js +14 -14
- 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 +17 -17
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +14 -14
- package/components/List/List.js +10 -10
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +6 -6
- 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 +13 -11
- package/components/List/components/ListItemSelectable.js +14 -14
- package/components/List/components/ListItemTable.js +17 -15
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +7 -15
- package/components/List/components/ListSortableItem.js +9 -9
- package/components/List/components/ListSortableItemControls.js +2 -2
- 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 +9 -13
- 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 +9 -9
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- 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/MultiselectField/components/MultiselectFieldDropdown.js +44 -41
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +27 -20
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- 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/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 +5 -5
- 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 +14 -14
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +35 -32
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +11 -11
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +13 -13
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +8 -8
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- 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 +9 -9
- 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/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +16 -16
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +29 -29
- 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 +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +7 -7
- package/components/SmallInput/SmallInput.js +7 -7
- package/components/Spoiler/Spoiler.js +9 -9
- 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 +9 -9
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +26 -25
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -29
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +27 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +24 -24
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +9 -9
- 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 +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- 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 +5 -5
- 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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +22 -22
- 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 +37 -18
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +3 -3
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +49 -47
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +24 -24
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +5 -5
- package/components/ThemeProvider/ThemeProvider.js +18 -20
- package/components/ThemeProvider/components/ThemeProviderView.js +29 -27
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- 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 +11 -11
- package/components/TopOverlay/TopOverlay.js +21 -21
- 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 +10 -10
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +29 -29
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- 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 +541 -538
- package/index.d.ts +75 -31
- package/index.js +577 -574
- package/package.json +2 -3
- package/styles/triplex-next.css +541 -547
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-DxZ8QVn2.js +0 -39
- package/chunks/CalendarViewItem-D879SDC1.js +0 -101
- package/chunks/Card.module--O3Bx82B.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cw3yb-cF.js +0 -15
- package/chunks/Chip-M9mPbBOt.js +0 -90
- package/chunks/Confirm.module-DtBiR4Fo.js +0 -15
- package/chunks/DropdownListItem-BdLTF7q1.js +0 -65
- package/chunks/DropdownMobile.module-PpB3KA4H.js +0 -23
- package/chunks/Footer.module-Z4RIi8JP.js +0 -9
- package/chunks/FormFieldInput-C75omt8Y.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-BJZj3qz4.js +0 -9
- package/chunks/HeaderTabs.module-ykRWLBUI.js +0 -9
- package/chunks/IslandAccordion.module-DE-xutGt.js +0 -25
- package/chunks/IslandWidgetFooter.module-DpnJPgi0.js +0 -9
- package/chunks/IslandWidgetHeader.module-lf-NGWlm.js +0 -12
- package/chunks/LightBoxControls.module-Cbi_wgHX.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Dbzm6FYI.js +0 -9
- package/chunks/ListItemControlsButton-0bXNCLYU.js +0 -43
- package/chunks/ListItemTail.module-DFYWneN6.js +0 -12
- package/chunks/ListMasterFooter.module-CoXWM3Nq.js +0 -10
- package/chunks/ModalWindow.module-DqMffIcE.js +0 -17
- package/chunks/Notification.module-CPSD8BYw.js +0 -20
- package/chunks/Overlay.module-B5Hl3baB.js +0 -18
- package/chunks/Page.module-BbrHHqMK.js +0 -11
- package/chunks/SMSField.module-CPSjUBD-.js +0 -16
- package/chunks/SliderExtendedMarks.module-QNSG8UcN.js +0 -15
- package/chunks/StatusTracker.module-KkpUE8KY.js +0 -24
- package/chunks/TableFooter.module-OEvn0oaX.js +0 -14
- package/chunks/TabsExtended.module-B3Ti-48x.js +0 -16
- package/chunks/TabsLine.module-BgCBcRYT.js +0 -21
- package/chunks/TooltipDesktop.module-CC_4-ATz.js +0 -19
- package/chunks/TreeView.module-CmGHGs81.js +0 -9
- package/chunks/utils-C5IWf42V.js +0 -24
- package/chunks/utils-d7-rkiPs.js +0 -27
- package/chunks/utils-hbQGLR7K.js +0 -73
- package/components/Dropdown/enums.js +0 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, Fragment as F, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as n, useEffect as B } from "react";
|
|
3
|
-
import { c as V, F as A } from "../../chunks/vendor
|
|
4
|
-
import { L as I, s as e } from "../../chunks/LightBoxContent-
|
|
3
|
+
import { c as V, F as A } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { L as I, s as e } from "../../chunks/LightBoxContent-Lme9r-vN.js";
|
|
5
5
|
import { LightBoxControls as R } from "./LightBoxControls/LightBoxControls.js";
|
|
6
6
|
import { LightBoxSideOverlay as k } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
7
|
import { Portal as D } from "../Portal/Portal.js";
|
|
@@ -14,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-
|
|
17
|
+
"scroll-0": "scroll-0__5c08ebb9",
|
|
18
|
+
"scroll-15": "scroll-15__26152f74",
|
|
19
|
+
"scroll-16": "scroll-16__4add754e",
|
|
20
|
+
"scroll-17": "scroll-17__27fd2461"
|
|
21
21
|
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node", N = [e.bodyOverflowHidden], b = ({
|
|
22
22
|
children: M,
|
|
23
23
|
className: v,
|
|
24
24
|
focusTrapProps: r,
|
|
25
|
-
forwardRef:
|
|
25
|
+
forwardRef: c,
|
|
26
26
|
mountNode: s,
|
|
27
27
|
lightBoxViewManagerNodeId: d = L,
|
|
28
28
|
isLoading: m,
|
|
@@ -36,7 +36,7 @@ const Z = {
|
|
|
36
36
|
}, w = () => {
|
|
37
37
|
let t = null;
|
|
38
38
|
return d && (t = document.querySelector(`#${d}`)), t || (t = document.createElement("div"), t.setAttribute("id", L), document.body.appendChild(t)), t;
|
|
39
|
-
},
|
|
39
|
+
}, a = n(E()), g = n(w()), h = () => {
|
|
40
40
|
N.forEach((t) => document.documentElement.classList.add(t));
|
|
41
41
|
};
|
|
42
42
|
B(() => (T(Z), h(), setTimeout(h, 100), () => N.forEach((t) => document.documentElement.classList.remove(t))), []), B(() => {
|
|
@@ -46,7 +46,7 @@ const Z = {
|
|
|
46
46
|
}
|
|
47
47
|
}, [i]);
|
|
48
48
|
const _ = (t) => {
|
|
49
|
-
u.current = t,
|
|
49
|
+
u.current = t, c && (c.current = t);
|
|
50
50
|
}, O = V(
|
|
51
51
|
C,
|
|
52
52
|
e.lightBox,
|
|
@@ -57,7 +57,7 @@ const Z = {
|
|
|
57
57
|
},
|
|
58
58
|
v
|
|
59
59
|
);
|
|
60
|
-
if (!
|
|
60
|
+
if (!a.current)
|
|
61
61
|
return null;
|
|
62
62
|
const f = () => /* @__PURE__ */ x("div", { className: O, ref: _, role: "dialog", "aria-modal": "true", ...S, children: [
|
|
63
63
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
@@ -65,7 +65,7 @@ const Z = {
|
|
|
65
65
|
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
66
66
|
] });
|
|
67
67
|
return /* @__PURE__ */ x(F, { children: [
|
|
68
|
-
/* @__PURE__ */ o(D, { container:
|
|
68
|
+
/* @__PURE__ */ o(D, { container: a.current, children: /* @__PURE__ */ o(
|
|
69
69
|
W,
|
|
70
70
|
{
|
|
71
71
|
fallback: /* @__PURE__ */ o(
|
|
@@ -89,13 +89,13 @@ const Z = {
|
|
|
89
89
|
q,
|
|
90
90
|
{
|
|
91
91
|
lightBoxViewManagerNode: g.current,
|
|
92
|
-
lightBoxMountNode:
|
|
92
|
+
lightBoxMountNode: a.current
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
97
|
b.displayName = "LightBoxBase";
|
|
98
|
-
const
|
|
98
|
+
const ct = Object.assign(b, {
|
|
99
99
|
Content: I,
|
|
100
100
|
SideOverlay: k,
|
|
101
101
|
TopOverlay: j,
|
|
@@ -104,7 +104,7 @@ const at = Object.assign(b, {
|
|
|
104
104
|
RightSidebar: U
|
|
105
105
|
});
|
|
106
106
|
export {
|
|
107
|
-
|
|
107
|
+
ct 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
|
-
import "../../chunks/vendor
|
|
3
|
+
import "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-Lme9r-vN.js";
|
|
7
7
|
export {
|
|
8
8
|
n as LightBoxContent
|
|
9
9
|
};
|
|
@@ -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---Om3uMV.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-qhDcQmnH.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---Om3uMV.js";
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-qhDcQmnH.js";
|
|
7
7
|
const o = ({ children: t, className: r, ...s }) => /* @__PURE__ */ i("div", { className: e(r, p.lightBoxControls), ...s, "data-lightbox-component": "controls", children: t });
|
|
8
8
|
o.displayName = "LightBoxControls";
|
|
9
9
|
o.Close = m;
|
|
@@ -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---Om3uMV.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-qhDcQmnH.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---Om3uMV.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-qhDcQmnH.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---Om3uMV.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__a9b3dc3d", K = "lightBoxSideOverlayWrapper__706995a9", Q = "overflowXHidden__da983460", V = "overflowYHidden__f2d08965", Z = "closing__647d498d", $ = "opened__55b09648", P = "lightBoxSideOverlayContent__d803707e", ee = "opening__180f70ad", oe = "sm__5629a592", te = "md__a799085d", ie = "lg__4bc9799e", re = "lightBoxSideOverlay__8e1fa606", e = {
|
|
13
13
|
lightBoxSideOverlayMask: J,
|
|
14
14
|
lightBoxSideOverlayWrapper: K,
|
|
15
15
|
overflowXHidden: Q,
|
|
@@ -22,7 +22,7 @@ const J = "lightBoxSideOverlayMask__714af292", 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,22 +31,22 @@ const J = "lightBoxSideOverlayMask__714af292", 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
|
-
m.current && !o ? (g(!1),
|
|
41
|
+
m.current && !o ? (g(!1), c(!0)) : !m.current && o && (c(!1), g(!0)), m.current = o;
|
|
42
42
|
}, [o]);
|
|
43
43
|
const w = (r) => {
|
|
44
|
-
const { target:
|
|
45
|
-
|
|
44
|
+
const { target: D, currentTarget: W } = r;
|
|
45
|
+
D === W && (i ? (c(!1), s == null || s()) : n && (g(!1), d == null || d()));
|
|
46
46
|
}, C = ({ opened: r }) => /* @__PURE__ */ t(R, { opened: r, className: e.lightBoxSideOverlayMask }), H = () => /* @__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
|
|
@@ -59,7 +59,7 @@ const J = "lightBoxSideOverlayMask__714af292", K = "lightBoxSideOverlayWrapper__
|
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
61
|
), N = () => {
|
|
62
|
-
}, E =
|
|
62
|
+
}, E = v(S, e.lightBoxSideOverlayWrapper, le[M], {
|
|
63
63
|
[e.closing]: i,
|
|
64
64
|
[e.opened]: o,
|
|
65
65
|
[e.overflowXHidden]: !!h || !!a,
|
|
@@ -67,10 +67,10 @@ const J = "lightBoxSideOverlayMask__714af292", K = "lightBoxSideOverlayWrapper__
|
|
|
67
67
|
}), F = (r) => /* @__PURE__ */ y(T, { children: [
|
|
68
68
|
C(r),
|
|
69
69
|
H()
|
|
70
|
-
] }),
|
|
70
|
+
] }), b = /* @__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
|
}),
|
|
@@ -88,14 +88,14 @@ const J = "lightBoxSideOverlayMask__714af292", K = "lightBoxSideOverlayWrapper__
|
|
|
88
88
|
preventScroll: !0,
|
|
89
89
|
...l == null ? void 0 : l.focusTrapOptions
|
|
90
90
|
},
|
|
91
|
-
children: /* @__PURE__ */ t("div", { className: E, role: "dialog", "aria-modal": "true", ...k, children:
|
|
91
|
+
children: /* @__PURE__ */ t("div", { className: E, role: "dialog", "aria-modal": "true", ...k, children: b })
|
|
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
|
|
@@ -2,12 +2,12 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as l } from "react";
|
|
3
3
|
import { TriggerClickOnKeyDownEvent as a } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
4
4
|
import { EVENT_KEY_CODES as p } from "../../../utils/keyboard.js";
|
|
5
|
-
import { c } from "../../../chunks/vendor
|
|
5
|
+
import { c } from "../../../chunks/vendor---Om3uMV.js";
|
|
6
6
|
import { CrossStrokeSrvIcon32 as d } from "@sberbusiness/icons-next";
|
|
7
7
|
import { EButtonTheme as f } from "../../Button/enums.js";
|
|
8
8
|
import { EComponentSize as C } from "../../../enums/EComponentSize.js";
|
|
9
9
|
import { Button as u } from "../../Button/Button.js";
|
|
10
|
-
import { s as r } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
10
|
+
import { s as r } from "../../../chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js";
|
|
11
11
|
const E = ({
|
|
12
12
|
className: i,
|
|
13
13
|
clickByEsc: s,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../../chunks/vendor
|
|
2
|
+
import { c as r } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { CrossStrokeSrvIcon20 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { s as m } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
4
|
+
import { s as m } from "../../../chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js";
|
|
5
5
|
import { EButtonTheme as l } from "../../Button/enums.js";
|
|
6
6
|
import { EComponentSize as s } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { Button as a } from "../../Button/Button.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useRef as l, useEffect as p } from "react";
|
|
3
3
|
import { LoaderScreen as d } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
-
const n = "
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__98a57a98", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
7
|
const [t, r] = s(0), e = l(null);
|
|
@@ -1,17 +1,43 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
className:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as N, useRef as o, useImperativeHandle as R, useState as V, useEffect as x } from "react";
|
|
3
|
+
import { c as h } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const j = "lightBoxLeftSidebar__29b53383", z = "fixed__263b6d23", E = "hidden__a36cafa1", r = {
|
|
5
|
+
lightBoxLeftSidebar: j,
|
|
6
|
+
fixed: z,
|
|
7
|
+
hidden: E
|
|
8
|
+
}, O = N(
|
|
9
|
+
({ children: m, className: L, fixed: B, minVisibleWidth: d = 100, onShow: s, onHide: i, ...g }, p) => {
|
|
10
|
+
const n = o(null);
|
|
11
|
+
R(p, () => n.current);
|
|
12
|
+
const [v, _] = V(!0), e = o(s), t = o(i);
|
|
13
|
+
return x(() => {
|
|
14
|
+
e.current = s, t.current = i;
|
|
15
|
+
}, [s, i]), x(() => {
|
|
16
|
+
const f = n.current;
|
|
17
|
+
if (!f) return;
|
|
18
|
+
const a = new ResizeObserver((S) => {
|
|
19
|
+
for (const y of S) {
|
|
20
|
+
const c = y.contentRect.width > d;
|
|
21
|
+
_((I) => {
|
|
22
|
+
var l, u;
|
|
23
|
+
return c !== I && (c ? (l = e.current) == null || l.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
return a.observe(f), () => a.disconnect();
|
|
28
|
+
}, [d]), /* @__PURE__ */ b(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
ref: n,
|
|
32
|
+
className: h(L, r.lightBoxLeftSidebar, { [r.fixed]: B }),
|
|
33
|
+
...g,
|
|
34
|
+
children: /* @__PURE__ */ b("div", { className: h(r.lightBoxLeftSidebarInner, { [r.hidden]: !v }), children: m })
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
O.displayName = "LightBoxLeftSidebar";
|
|
14
40
|
export {
|
|
15
|
-
|
|
41
|
+
O as LightBoxLeftSidebar
|
|
16
42
|
};
|
|
17
43
|
//# sourceMappingURL=LightBoxLeftSidebar.js.map
|
|
@@ -1,17 +1,43 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
className:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as N, useRef as o, useImperativeHandle as L, useState as V, useEffect as g } from "react";
|
|
3
|
+
import { c as x } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const j = "lightBoxRightSidebar__aa8f4a80", z = "fixed__263b6d23", E = "hidden__a36cafa1", r = {
|
|
5
|
+
lightBoxRightSidebar: j,
|
|
6
|
+
fixed: z,
|
|
7
|
+
hidden: E
|
|
8
|
+
}, O = N(
|
|
9
|
+
({ children: b, className: m, fixed: R, minVisibleWidth: d = 100, onShow: i, onHide: s, ...B }, p) => {
|
|
10
|
+
const n = o(null);
|
|
11
|
+
L(p, () => n.current);
|
|
12
|
+
const [v, _] = V(!0), e = o(i), t = o(s);
|
|
13
|
+
return g(() => {
|
|
14
|
+
e.current = i, t.current = s;
|
|
15
|
+
}, [i, s]), g(() => {
|
|
16
|
+
const a = n.current;
|
|
17
|
+
if (!a) return;
|
|
18
|
+
const f = new ResizeObserver((S) => {
|
|
19
|
+
for (const y of S) {
|
|
20
|
+
const c = y.contentRect.width > d;
|
|
21
|
+
_((I) => {
|
|
22
|
+
var l, u;
|
|
23
|
+
return c !== I && (c ? (l = e.current) == null || l.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
return f.observe(a), () => f.disconnect();
|
|
28
|
+
}, [d]), /* @__PURE__ */ h(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
ref: n,
|
|
32
|
+
className: x(m, r.lightBoxRightSidebar, { [r.fixed]: R }),
|
|
33
|
+
...B,
|
|
34
|
+
children: /* @__PURE__ */ h("div", { className: x(r.lightBoxRightSidebarInner, { [r.hidden]: !v }), children: b })
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
O.displayName = "LightBoxRightSidebar";
|
|
14
40
|
export {
|
|
15
|
-
|
|
41
|
+
O as LightBoxRightSidebar
|
|
16
42
|
};
|
|
17
43
|
//# sourceMappingURL=LightBoxRightSidebar.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
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
|
-
import { g as B, i as k, p } from "../../../chunks/vendor
|
|
3
|
+
import { g as B, i as k, p } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { Portal as P } from "../../Portal/Portal.js";
|
|
5
5
|
import { LightBoxViewManagerConsts as l } from "./LightBoxViewManagerConsts.js";
|
|
6
6
|
const g = "LightBoxMountNodeViewManager", $ = ({
|
package/components/Link/Link.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as R, jsxs as t, Fragment as
|
|
1
|
+
import { jsx as R, jsxs as t, Fragment as i } from "react/jsx-runtime";
|
|
2
2
|
import L from "react";
|
|
3
|
-
import { c as a } from "../../chunks/vendor
|
|
4
|
-
const v = "
|
|
3
|
+
import { c as a } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const v = "link__c67135ee", F = "wordWithContent__8f9aef01", S = "before__630fc14d", T = "after__42cf14f2", 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__ */ t(
|
|
10
|
+
({ children: d, className: f, onBlur: N, onMouseDown: p, contentAfter: s, contentBefore: o, ...C }, W) => {
|
|
11
|
+
const c = () => o ? /* @__PURE__ */ t(i, { children: [
|
|
12
12
|
"",
|
|
13
13
|
o()
|
|
14
14
|
] }) : null, m = () => s ? s() : null, u = (n) => {
|
|
@@ -24,9 +24,9 @@ const v = "link__e23945d1", F = "wordWithContent__f9448dfb", S = "before__05ae63
|
|
|
24
24
|
m()
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
const l = r[0], h = r[r.length - 1],
|
|
27
|
+
const l = r[0], h = r[r.length - 1], k = r.slice(1, -1).join(" "), b = a(e.wordWithContent, {
|
|
28
28
|
[e.before]: !!o
|
|
29
|
-
}), g = o ? /* @__PURE__ */ t("span", { className:
|
|
29
|
+
}), g = o ? /* @__PURE__ */ t("span", { className: b, children: [
|
|
30
30
|
c(),
|
|
31
31
|
l
|
|
32
32
|
] }) : l, x = a(e.wordWithContent, {
|
|
@@ -35,30 +35,30 @@ const v = "link__e23945d1", F = "wordWithContent__f9448dfb", S = "before__05ae63
|
|
|
35
35
|
h,
|
|
36
36
|
m()
|
|
37
37
|
] }) : h;
|
|
38
|
-
return /* @__PURE__ */ t(
|
|
38
|
+
return /* @__PURE__ */ t(i, { 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, l = s ? s() : null;
|
|
47
|
-
return /* @__PURE__ */ t(
|
|
47
|
+
return /* @__PURE__ */ t(i, { children: [
|
|
48
48
|
r,
|
|
49
49
|
n,
|
|
50
50
|
l
|
|
51
51
|
] });
|
|
52
|
-
}, _ = o || s ? ((n) => typeof n == "string" ? u(n) : w(n))(
|
|
52
|
+
}, _ = o || s ? ((n) => typeof n == "string" ? u(n) : w(n))(d) : d;
|
|
53
53
|
return /* @__PURE__ */ R(
|
|
54
54
|
"a",
|
|
55
55
|
{
|
|
56
56
|
role: "link",
|
|
57
57
|
...C,
|
|
58
|
-
className: a(
|
|
59
|
-
onBlur:
|
|
58
|
+
className: a(f, e.link, "hoverable"),
|
|
59
|
+
onBlur: N,
|
|
60
60
|
onMouseDown: p,
|
|
61
|
-
"data-tx": "0.
|
|
61
|
+
"data-tx": "0.23.0",
|
|
62
62
|
ref: W,
|
|
63
63
|
children: _
|
|
64
64
|
}
|
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 l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { LoaderScreen as c } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
+
const d = "list__46bbf98d", f = {
|
|
6
|
+
list: d
|
|
7
|
+
}, p = m.forwardRef(({ children: s, className: t, loading: o, ...r }, i) => /* @__PURE__ */ l("ul", { className: a(f.list, t), ...r, "data-tx": "0.23.0", ref: i, children: [
|
|
8
8
|
s,
|
|
9
|
-
|
|
9
|
+
o ? /* @__PURE__ */ e(c, { type: "middle" }) : 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 { a as b, b as f, D as M, M as T, r as D, d as L, S as w, v as y, e as I, T as C, f as H } from "../../chunks/vendor
|
|
6
|
+
import { a as b, b as f, D as M, M as T, r as D, d as L, S as w, v as y, e as I, T as C, f as H } from "../../chunks/vendor---Om3uMV.js";
|
|
7
7
|
import { List as N } from "./List.js";
|
|
8
8
|
class u extends H {
|
|
9
9
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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---Om3uMV.js";
|
|
4
|
+
const p = "listEmptyState__cbf4bb7c", c = {
|
|
5
5
|
listEmptyState: p
|
|
6
|
-
},
|
|
7
|
-
({ children: t, className: s, ...m }, a) => /* @__PURE__ */ e("div", { className: o(
|
|
6
|
+
}, r = i.forwardRef(
|
|
7
|
+
({ children: t, className: s, ...m }, a) => /* @__PURE__ */ e("div", { className: o(c.listEmptyState, s), ...m, ref: a, children: t })
|
|
8
8
|
);
|
|
9
|
-
|
|
9
|
+
r.displayName = "ListItemEmpty";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
r as ListEmptyState
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=ListEmptyState.js.map
|
|
@@ -3,7 +3,7 @@ import a, { useState as d } from "react";
|
|
|
3
3
|
import { ListItemContext as l } from "./ListItemContext.js";
|
|
4
4
|
const c = a.forwardRef(({ children: e, className: r, ...o }, s) => {
|
|
5
5
|
const [i, m] = d(!1);
|
|
6
|
-
return /* @__PURE__ */ t(l.Provider, { value: { selected: i, setSelected: m }, children: /* @__PURE__ */ t("li", { className: r, ...o, "data-tx": "0.
|
|
6
|
+
return /* @__PURE__ */ t(l.Provider, { value: { selected: i, setSelected: m }, children: /* @__PURE__ */ t("li", { className: r, ...o, "data-tx": "0.23.0", ref: s, children: e }) });
|
|
7
7
|
});
|
|
8
8
|
c.displayName = "ListItem";
|
|
9
9
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import i, { useContext as l } from "react";
|
|
3
|
-
import { c as r } from "../../../chunks/vendor
|
|
3
|
+
import { c as r } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { ListItemContext as d } from "./ListItemContext.js";
|
|
5
|
-
const a = "
|
|
5
|
+
const a = "listItemContent__24c62904", C = "selected__76707d2b", t = {
|
|
6
6
|
listItemContent: a,
|
|
7
|
-
selected:
|
|
8
|
-
},
|
|
7
|
+
selected: C
|
|
8
|
+
}, I = i.forwardRef(
|
|
9
9
|
({ children: e, className: s, ...o }, n) => {
|
|
10
10
|
const { selected: m } = l(d);
|
|
11
11
|
return /* @__PURE__ */ c(
|
|
@@ -13,15 +13,15 @@ const a = "listItemContent__9bf15d13", f = "selected__15e4f0b2", t = {
|
|
|
13
13
|
{
|
|
14
14
|
className: r(t.listItemContent, { [t.selected]: m }, s),
|
|
15
15
|
...o,
|
|
16
|
-
"data-tx": "0.
|
|
16
|
+
"data-tx": "0.23.0",
|
|
17
17
|
ref: n,
|
|
18
18
|
children: e
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
I.displayName = "ListItemContent";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
I as ListItemContent
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=ListItemContent.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const i = "
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import l from "react";
|
|
3
|
+
import { c as m } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const i = "listItemControls__e35f7f9e", n = {
|
|
5
5
|
listItemControls: i
|
|
6
|
-
}, a =
|
|
7
|
-
({ children: t, className: o, ...s }, r) => /* @__PURE__ */
|
|
6
|
+
}, a = l.forwardRef(
|
|
7
|
+
({ children: t, className: o, ...s }, r) => /* @__PURE__ */ e("div", { className: m(n.listItemControls, o), ...s, ref: r, children: t })
|
|
8
8
|
);
|
|
9
9
|
a.displayName = "ListItemControls";
|
|
10
10
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor
|
|
4
|
-
import { L as e } from "../../../chunks/ListItemControlsButton-
|
|
3
|
+
import "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { L as e } from "../../../chunks/ListItemControlsButton-BLbj6vZS.js";
|
|
5
5
|
import "../../Typography/enums.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
export {
|