@sberbusiness/triplex-next 1.14.0 → 1.16.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-DALLbh4Y.js → AlertProcessSpoiler-BG_kloAp.js} +14 -14
- package/chunks/{CalendarViewItem-DE57LdxF.js → CalendarViewItem-CQQGgtHA.js} +18 -18
- package/chunks/Card.module-D_9Nt5tA.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D7lKoA-a.js +14 -0
- package/chunks/{Chip-CBP_avtm.js → Chip-D_XuO-fG.js} +19 -19
- package/chunks/Confirm.module-BFd_0tH_.js +15 -0
- package/chunks/{DropdownListItem-C6I9gVRb.js → DropdownListItem-DzngoNVf.js} +8 -8
- package/chunks/DropdownMobile.module-Ct6WVB7d.js +23 -0
- package/chunks/Footer.module-Cz5Pu1VT.js +9 -0
- package/chunks/{FormFieldInput-D2lqfg4n.js → FormFieldInput-TbDWEJtn.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-Bce5gLLP.js +9 -0
- package/chunks/HeaderTabs.module-Bwx0AJwd.js +9 -0
- package/chunks/{HeaderTitle.module-D2Le-Vmd.js → HeaderTitle.module-DVxCsuq0.js} +2 -2
- package/chunks/IslandAccordion.module-oqHSoL0z.js +25 -0
- package/chunks/IslandWidgetFooter.module-Bp7thdVi.js +9 -0
- package/chunks/IslandWidgetHeader.module-B2SJ3aL2.js +12 -0
- package/chunks/{LightBoxContent-Bi0IQWNc.js → LightBoxContent-CY1Sxlp1.js} +10 -10
- package/chunks/LightBoxControls.module-CXoONiYm.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BeAPadn5.js +8 -0
- package/chunks/{ListItemControlsButton--Ek4l8AX.js → ListItemControlsButton-C55hc-cr.js} +8 -8
- package/chunks/ListItemTail.module-BlucpMEa.js +12 -0
- package/chunks/ListMasterFooter.module-D93cBp3m.js +10 -0
- package/chunks/ModalWindow.module-AO3qbtIE.js +17 -0
- package/chunks/Notification.module-3pjGHWYU.js +21 -0
- package/chunks/Overlay.module-yINooO_5.js +18 -0
- package/chunks/Page.module-fTNmaZZ6.js +11 -0
- package/chunks/{RightBorderArrow-BqzM7D6K.js → RightBorderArrow-D4dScyRx.js} +11 -11
- package/chunks/SMSField.module-D01Witvu.js +16 -0
- package/chunks/SliderExtendedMarks.module-BLyZ9qYi.js +15 -0
- package/chunks/{SliderExtendedRail-BxflNPkW.js → SliderExtendedRail-Bgz2tkUx.js} +8 -8
- package/chunks/StatusTracker.module-DPlTQG3M.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-CaLnhNmM.js +14 -0
- package/chunks/TableFooter.module-zC8u9DwX.js +14 -0
- package/chunks/TabsExtended.module-C65aq0XO.js +16 -0
- package/chunks/TabsLine.module-B3O0egAv.js +21 -0
- package/chunks/TooltipDesktop.module-D1K6FcqB.js +19 -0
- package/chunks/TreeView.module-Vpz40gNk.js +9 -0
- package/chunks/UploadZoneInput-DxG_yQtm.js +33 -0
- package/chunks/constants-DAn1uZaw.js +57 -0
- package/chunks/{utils-DPkyEvqV.js → utils-9tQwQbYj.js} +11 -11
- package/chunks/{utils-Cyb1tecG.js → utils-D7Yx6kDI.js} +4 -4
- package/chunks/utils-DV0NGebi.js +24 -0
- package/chunks/utils-HLMbnICl.js +73 -0
- package/chunks/{vendor-DucOfXwy.js → vendor-Dlne6Znf.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +10 -10
- package/components/AmountField/AmountField.js +27 -27
- package/components/Avatar/Avatar.js +15 -15
- package/components/Badge/Badge.js +30 -0
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +21 -21
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Calendar/Calendar.js +21 -21
- package/components/Calendar/components/CalendarControls.js +9 -9
- 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 +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +16 -16
- 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 +2 -2
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- 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 +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- 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 +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +51 -42
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- 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 +13 -13
- package/components/Col/Col.js +145 -145
- package/components/CollapsableTree/components/CollapsableTreeNode.js +19 -19
- 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/ConfirmContentSubTitle.js +5 -5
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DateField/DateFieldTarget.js +31 -30
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +23 -23
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- 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 +35 -35
- 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 +3 -3
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +12 -12
- package/components/ExpandAnimation/index.js +5 -0
- 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 +79 -75
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +16 -16
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +9 -9
- 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 +38 -37
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- 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 +89 -74
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +3 -3
- 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 +28 -10
- 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 +14 -15
- 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 +68 -70
- 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/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +5 -5
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +23 -23
- package/components/List/List.js +8 -8
- 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 +3 -3
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +9 -9
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +9 -9
- 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 +7 -7
- 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 +8 -8
- 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 +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- 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 +15 -15
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +3 -3
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +6 -6
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- 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 +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +8 -8
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/Pagination.js +4 -4
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +4 -4
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +6 -6
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +22 -22
- package/components/SelectField/SelectField.js +11 -11
- package/components/Skeleton/Skeleton.js +5 -5
- 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 +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +6 -6
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +8 -8
- 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 +8 -8
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -8
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +52 -88
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +18 -18
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +128 -129
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- package/components/SwipeableArea/SwipeableArea.js +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +3 -3
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- 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 +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- 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 +9 -9
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +12 -12
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +23 -28
- 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 +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 +2 -2
- package/components/TopOverlay/TopOverlay.js +23 -23
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +41 -43
- package/components/Typography/Text.js +49 -51
- package/components/Typography/Title.js +40 -42
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +12 -12
- 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 +532 -533
- package/index.d.ts +236 -237
- package/index.js +576 -577
- package/package.json +9 -1
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D18ujhsr.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BGrgoYFp.js +0 -14
- package/chunks/Confirm.module-Y-2NyRFX.js +0 -15
- package/chunks/DropdownMobile.module-ppF6TvoG.js +0 -23
- package/chunks/Footer.module-BlHDTNCR.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-hEx6xNDd.js +0 -9
- package/chunks/HeaderTabs.module-msmMm_BI.js +0 -9
- package/chunks/IslandAccordion.module-DpgAGmIN.js +0 -25
- package/chunks/IslandWidgetFooter.module-DhoYKy6M.js +0 -9
- package/chunks/IslandWidgetHeader.module-BFXzve-T.js +0 -9
- package/chunks/LightBoxControls.module-DTFEWumP.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CLzUeuQG.js +0 -8
- package/chunks/ListItemTail.module-DrFpbbjw.js +0 -12
- package/chunks/ListMasterFooter.module-CMNUIWxu.js +0 -10
- package/chunks/ModalWindow.module-CMT6Qwhi.js +0 -17
- package/chunks/Notification.module-8g0up3Mn.js +0 -21
- package/chunks/Overlay.module-CJZIns4Y.js +0 -18
- package/chunks/Page.module-Cq-KMJ_J.js +0 -11
- package/chunks/SMSField.module-Dpw_velC.js +0 -16
- package/chunks/SliderExtendedMarks.module-Cwy_TAtg.js +0 -15
- package/chunks/StatusTracker.module-BPaAftS3.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-CooicUNx.js +0 -15
- package/chunks/TableFooter.module-BXib8bAF.js +0 -14
- package/chunks/TabsExtended.module-41dIJqTz.js +0 -16
- package/chunks/TabsLine.module-DY1bt47O.js +0 -21
- package/chunks/TooltipDesktop.module-BP9en5Mr.js +0 -19
- package/chunks/TreeView.module-ssEB6Mn6.js +0 -9
- package/chunks/UploadZoneInput--oJn7HTT.js +0 -33
- package/chunks/utils-6FIQkvvy.js +0 -36
- package/chunks/utils-B5Py99ZO.js +0 -73
- package/chunks/utils-BX1E8zy3.js +0 -24
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, Fragment as R, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as n, useEffect as B } from "react";
|
|
3
|
-
import { c as V, h as A } from "../../chunks/vendor-
|
|
4
|
-
import { L as D, s as e } from "../../chunks/LightBoxContent-
|
|
3
|
+
import { c as V, h as A } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { L as D, s as e } from "../../chunks/LightBoxContent-CY1Sxlp1.js";
|
|
5
5
|
import { LightBoxControls as F } from "./LightBoxControls/LightBoxControls.js";
|
|
6
6
|
import { LightBoxSideOverlay as I } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
7
|
import { Portal as T } from "../Portal/Portal.js";
|
|
@@ -13,17 +13,16 @@ import { FocusTrapUtils as $ } from "../../utils/focus/FocusTrapUtils.js";
|
|
|
13
13
|
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
|
-
import "./LightBoxSideOverlay/enums.js";
|
|
17
16
|
const Z = {
|
|
18
|
-
"scroll-0": "scroll-
|
|
19
|
-
"scroll-15": "scroll-
|
|
20
|
-
"scroll-16": "scroll-
|
|
21
|
-
"scroll-17": "scroll-
|
|
17
|
+
"scroll-0": "scroll-0__7f4f6850",
|
|
18
|
+
"scroll-15": "scroll-15__b625dc77",
|
|
19
|
+
"scroll-16": "scroll-16__ee525cb0",
|
|
20
|
+
"scroll-17": "scroll-17__c136e77a"
|
|
22
21
|
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node", N = [e.bodyOverflowHidden], b = ({
|
|
23
22
|
children: v,
|
|
24
23
|
className: M,
|
|
25
24
|
focusTrapProps: r,
|
|
26
|
-
forwardRef:
|
|
25
|
+
forwardRef: a,
|
|
27
26
|
mountNode: s,
|
|
28
27
|
lightBoxViewManagerNodeId: m = L,
|
|
29
28
|
isLoading: d,
|
|
@@ -37,7 +36,7 @@ const Z = {
|
|
|
37
36
|
}, _ = () => {
|
|
38
37
|
let t = null;
|
|
39
38
|
return m && (t = document.querySelector(`#${m}`)), t || (t = document.createElement("div"), t.setAttribute("id", L), document.body.appendChild(t)), t;
|
|
40
|
-
},
|
|
39
|
+
}, c = n(C()), g = n(_()), h = () => {
|
|
41
40
|
N.forEach((t) => document.documentElement.classList.add(t));
|
|
42
41
|
};
|
|
43
42
|
B(() => (k(Z), h(), setTimeout(h, 100), () => N.forEach((t) => document.documentElement.classList.remove(t))), []), B(() => {
|
|
@@ -47,7 +46,7 @@ const Z = {
|
|
|
47
46
|
}
|
|
48
47
|
}, [i]);
|
|
49
48
|
const w = (t) => {
|
|
50
|
-
u.current = t,
|
|
49
|
+
u.current = t, a && (a.current = t);
|
|
51
50
|
}, O = V(
|
|
52
51
|
E,
|
|
53
52
|
e.lightBox,
|
|
@@ -58,7 +57,7 @@ const Z = {
|
|
|
58
57
|
},
|
|
59
58
|
M
|
|
60
59
|
);
|
|
61
|
-
if (!
|
|
60
|
+
if (!c.current)
|
|
62
61
|
return null;
|
|
63
62
|
const f = () => /* @__PURE__ */ x("div", { className: O, ref: w, role: "dialog", "aria-modal": "true", ...S, children: [
|
|
64
63
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
@@ -66,7 +65,7 @@ const Z = {
|
|
|
66
65
|
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
67
66
|
] });
|
|
68
67
|
return /* @__PURE__ */ x(R, { children: [
|
|
69
|
-
/* @__PURE__ */ o(T, { container:
|
|
68
|
+
/* @__PURE__ */ o(T, { container: c.current, children: /* @__PURE__ */ o(
|
|
70
69
|
W,
|
|
71
70
|
{
|
|
72
71
|
fallback: /* @__PURE__ */ o(
|
|
@@ -90,13 +89,13 @@ const Z = {
|
|
|
90
89
|
q,
|
|
91
90
|
{
|
|
92
91
|
lightBoxViewManagerNode: g.current,
|
|
93
|
-
lightBoxMountNode:
|
|
92
|
+
lightBoxMountNode: c.current
|
|
94
93
|
}
|
|
95
94
|
)
|
|
96
95
|
] });
|
|
97
96
|
};
|
|
98
97
|
b.displayName = "LightBoxBase";
|
|
99
|
-
const
|
|
98
|
+
const at = Object.assign(b, {
|
|
100
99
|
Content: D,
|
|
101
100
|
SideOverlay: I,
|
|
102
101
|
TopOverlay: j,
|
|
@@ -105,7 +104,7 @@ const st = Object.assign(b, {
|
|
|
105
104
|
RightSidebar: U
|
|
106
105
|
});
|
|
107
106
|
export {
|
|
108
|
-
|
|
107
|
+
at as LightBox,
|
|
109
108
|
p as lightBoxMountNodeIdDefault,
|
|
110
109
|
L as lightBoxViewManagerNodeIdDefault
|
|
111
110
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
4
|
-
import "../../chunks/vendor-
|
|
4
|
+
import "../../chunks/vendor-Dlne6Znf.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-CY1Sxlp1.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-Dlne6Znf.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-CXoONiYm.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-Dlne6Znf.js";
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-CXoONiYm.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-Dlne6Znf.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-CXoONiYm.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-Dlne6Znf.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-CXoONiYm.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -1,103 +1,101 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as m, F as
|
|
4
|
-
import { OverlayBase as
|
|
5
|
-
import { OverlayMask as
|
|
6
|
-
import { LightBoxSideOverlayLoader as
|
|
7
|
-
import { FocusTrapUtils as
|
|
1
|
+
import { jsx as t, jsxs as y, Fragment as T } from "react/jsx-runtime";
|
|
2
|
+
import { useState as B, useRef as O, useEffect as X } from "react";
|
|
3
|
+
import { c as m, F as Y } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { OverlayBase as z, EOverlayDirection as L } from "../../Overlay/OverlayBase.js";
|
|
5
|
+
import { OverlayMask as R } from "../../Overlay/OverlayMask.js";
|
|
6
|
+
import { LightBoxSideOverlayLoader as j } from "./LightBoxSideOverlayLoader.js";
|
|
7
|
+
import { FocusTrapUtils as I } from "../../../utils/focus/FocusTrapUtils.js";
|
|
8
8
|
import { LightBoxSideOverlayCloseMobile as A } from "./LightBoxSideOverlayCloseMobile.js";
|
|
9
|
-
import { LightBoxSideOverlayCloseDesktop as
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
import { LightBoxSideOverlayCloseDesktop as G } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
|
+
import { EComponentSize as U } from "../../../enums/EComponentSize.js";
|
|
11
|
+
import { createSizeToClassNameMap as q } from "../../../utils/classNameMaps.js";
|
|
12
|
+
const J = "lightBoxSideOverlayMask__91af1ba1", K = "lightBoxSideOverlayWrapper__bd07ba15", Q = "overflowXHidden__8c35e319", V = "overflowYHidden__be0b9b8c", Z = "closing__827e8281", $ = "opened__5ef407fe", P = "lightBoxSideOverlayContent__9f740726", ee = "opening__b573a01f", oe = "sm__29d52167", te = "md__91b8d6fa", ie = "lg__67677bc9", re = "lightBoxSideOverlay__0f1d801f", e = {
|
|
13
|
+
lightBoxSideOverlayMask: J,
|
|
14
|
+
lightBoxSideOverlayWrapper: K,
|
|
15
|
+
overflowXHidden: Q,
|
|
16
|
+
overflowYHidden: V,
|
|
17
|
+
closing: Z,
|
|
18
|
+
opened: $,
|
|
19
|
+
lightBoxSideOverlayContent: P,
|
|
20
|
+
opening: ee,
|
|
21
|
+
sm: oe,
|
|
22
|
+
md: te,
|
|
23
|
+
lg: ie,
|
|
24
|
+
lightBoxSideOverlay: re
|
|
25
|
+
}, le = q(e), v = ({
|
|
26
|
+
children: x,
|
|
27
|
+
className: S,
|
|
27
28
|
focusTrapProps: l,
|
|
28
29
|
isLoading: a,
|
|
29
|
-
loadingTitle:
|
|
30
|
-
isTopLevelSideOverlayOpened:
|
|
31
|
-
isTopOverlayOpened:
|
|
32
|
-
onClose:
|
|
33
|
-
onOpen:
|
|
34
|
-
opened:
|
|
35
|
-
size:
|
|
36
|
-
...
|
|
30
|
+
loadingTitle: _,
|
|
31
|
+
isTopLevelSideOverlayOpened: h,
|
|
32
|
+
isTopOverlayOpened: u,
|
|
33
|
+
onClose: s,
|
|
34
|
+
onOpen: c,
|
|
35
|
+
opened: o,
|
|
36
|
+
size: b = U.MD,
|
|
37
|
+
...M
|
|
37
38
|
}) => {
|
|
38
|
-
const [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}, [
|
|
42
|
-
const
|
|
43
|
-
const { target:
|
|
44
|
-
|
|
45
|
-
},
|
|
39
|
+
const [i, d] = B(!1), [n, g] = B(!1), f = O(o), p = O(null);
|
|
40
|
+
X(() => {
|
|
41
|
+
f.current && !o ? (g(!1), d(!0)) : !f.current && o && (d(!1), g(!0)), f.current = o;
|
|
42
|
+
}, [o]);
|
|
43
|
+
const k = (r) => {
|
|
44
|
+
const { target: F, currentTarget: W } = r;
|
|
45
|
+
F === W && (i ? (d(!1), s == null || s()) : n && (g(!1), c == null || c()));
|
|
46
|
+
}, H = ({ opened: r }) => /* @__PURE__ */ t(R, { opened: r, className: e.lightBoxSideOverlayMask }), w = () => /* @__PURE__ */ y(
|
|
46
47
|
"div",
|
|
47
48
|
{
|
|
48
49
|
className: m(e.lightBoxSideOverlayContent, {
|
|
49
|
-
[e.closing]:
|
|
50
|
+
[e.closing]: i,
|
|
50
51
|
[e.opening]: n,
|
|
51
|
-
[e.opened]:
|
|
52
|
+
[e.opened]: o
|
|
52
53
|
}),
|
|
53
|
-
onTransitionEnd:
|
|
54
|
-
ref:
|
|
54
|
+
onTransitionEnd: k,
|
|
55
|
+
ref: p,
|
|
55
56
|
children: [
|
|
56
|
-
|
|
57
|
-
a && /* @__PURE__ */ t(
|
|
57
|
+
x,
|
|
58
|
+
a && /* @__PURE__ */ t(j, { loadingTitle: _ })
|
|
58
59
|
]
|
|
59
60
|
}
|
|
60
|
-
),
|
|
61
|
-
},
|
|
62
|
-
[e.closing]:
|
|
63
|
-
[e.opened]:
|
|
64
|
-
[e.overflowXHidden]: !!
|
|
65
|
-
[e.overflowYHidden]: !!
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}), E =
|
|
70
|
-
k(r),
|
|
71
|
-
H()
|
|
72
|
-
] }), F = /* @__PURE__ */ t(
|
|
61
|
+
), C = () => {
|
|
62
|
+
}, N = m(S, e.lightBoxSideOverlayWrapper, le[b], {
|
|
63
|
+
[e.closing]: i,
|
|
64
|
+
[e.opened]: o,
|
|
65
|
+
[e.overflowXHidden]: !!h || !!a,
|
|
66
|
+
[e.overflowYHidden]: !!h || !!a || !!u
|
|
67
|
+
}), D = (r) => /* @__PURE__ */ y(T, { children: [
|
|
68
|
+
H(r),
|
|
69
|
+
w()
|
|
70
|
+
] }), E = /* @__PURE__ */ t(
|
|
73
71
|
"div",
|
|
74
72
|
{
|
|
75
73
|
className: m(e.lightBoxSideOverlay, {
|
|
76
|
-
[e.closing]:
|
|
74
|
+
[e.closing]: i,
|
|
77
75
|
[e.opening]: n
|
|
78
76
|
}),
|
|
79
|
-
children: /* @__PURE__ */ t(
|
|
77
|
+
children: /* @__PURE__ */ t(z, { direction: L.RIGHT, opened: o, setOpened: C, children: D })
|
|
80
78
|
}
|
|
81
79
|
);
|
|
82
80
|
return /* @__PURE__ */ t(
|
|
83
|
-
|
|
81
|
+
Y,
|
|
84
82
|
{
|
|
85
|
-
active:
|
|
83
|
+
active: o && !n && !i,
|
|
86
84
|
...l,
|
|
87
85
|
focusTrapOptions: {
|
|
88
86
|
clickOutsideDeactivates: !0,
|
|
89
|
-
initialFocus: () =>
|
|
87
|
+
initialFocus: () => I.getFirstInteractionElementByDataAttr(p.current),
|
|
90
88
|
preventScroll: !0,
|
|
91
89
|
...l == null ? void 0 : l.focusTrapOptions
|
|
92
90
|
},
|
|
93
|
-
children: /* @__PURE__ */ t("div", { className:
|
|
91
|
+
children: /* @__PURE__ */ t("div", { className: N, role: "dialog", "aria-modal": "true", ...M, children: E })
|
|
94
92
|
}
|
|
95
93
|
);
|
|
96
94
|
};
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
v.displayName = "LightBoxSideOverlay";
|
|
96
|
+
v.CloseDesktop = G;
|
|
97
|
+
v.CloseMobile = A;
|
|
100
98
|
export {
|
|
101
|
-
|
|
99
|
+
v as LightBoxSideOverlay
|
|
102
100
|
};
|
|
103
101
|
//# sourceMappingURL=LightBoxSideOverlay.js.map
|
|
@@ -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-Dlne6Znf.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-BeAPadn5.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-Dlne6Znf.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-BeAPadn5.js";
|
|
5
5
|
import { EButtonTheme as l } from "../../Button/enums.js";
|
|
6
6
|
import { EComponentSize as s } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { Button as a } from "../../Button/Button.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { useState as s, useRef as
|
|
3
|
-
import { LoaderScreen as
|
|
4
|
-
const n = "
|
|
2
|
+
import { useState as s, useRef as d, useEffect as l } from "react";
|
|
3
|
+
import { LoaderScreen as p } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__36e223d2", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
|
-
const [t, r] = s(0), e =
|
|
8
|
-
return
|
|
7
|
+
const [t, r] = s(0), e = d(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 {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "../../../chunks/vendor-
|
|
3
|
-
const
|
|
4
|
-
lightBoxLeftSidebar:
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
const d = "lightBoxLeftSidebar__a013ff4b", x = "fixed__1f16afbd", s = "lightBoxLeftSidebarInner__4b1e4f56", e = {
|
|
4
|
+
lightBoxLeftSidebar: d,
|
|
5
5
|
fixed: x,
|
|
6
6
|
lightBoxLeftSidebarInner: s
|
|
7
7
|
}, l = ({
|
|
8
8
|
children: t,
|
|
9
|
-
className:
|
|
9
|
+
className: f,
|
|
10
10
|
fixed: o,
|
|
11
11
|
...r
|
|
12
|
-
}) => /* @__PURE__ */ i("div", { className: a(
|
|
12
|
+
}) => /* @__PURE__ */ i("div", { className: a(f, e.lightBoxLeftSidebar, { [e.fixed]: o }), ...r, children: /* @__PURE__ */ i("div", { className: e.lightBoxLeftSidebarInner, children: t }) });
|
|
13
13
|
l.displayName = "LightBoxLeftSidebar";
|
|
14
14
|
export {
|
|
15
15
|
l as LightBoxLeftSidebar
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
lightBoxRightSidebar:
|
|
5
|
-
fixed:
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
const a = "lightBoxRightSidebar__42023e7a", d = "fixed__1f16afbd", x = "lightBoxRightSidebarInner__758b2615", i = {
|
|
4
|
+
lightBoxRightSidebar: a,
|
|
5
|
+
fixed: d,
|
|
6
6
|
lightBoxRightSidebarInner: x
|
|
7
7
|
}, s = ({
|
|
8
8
|
children: e,
|
|
9
9
|
className: h,
|
|
10
|
-
fixed:
|
|
11
|
-
...
|
|
12
|
-
}) => /* @__PURE__ */ t("div", { className:
|
|
10
|
+
fixed: g,
|
|
11
|
+
...o
|
|
12
|
+
}) => /* @__PURE__ */ t("div", { className: r(h, i.lightBoxRightSidebar, { [i.fixed]: g }), ...o, children: /* @__PURE__ */ t("div", { className: i.lightBoxRightSidebarInner, children: e }) });
|
|
13
13
|
s.displayName = "LightBoxRightSidebar";
|
|
14
14
|
export {
|
|
15
15
|
s as LightBoxRightSidebar
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as m, useRef as L, useCallback as n, useLayoutEffect as c } from "react";
|
|
3
3
|
import { Portal as B } from "../../Portal/Portal.js";
|
|
4
4
|
import { LightBoxViewManagerConsts as l } from "./LightBoxViewManagerConsts.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as k, i as P, j as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
6
6
|
const g = "LightBoxMountNodeViewManager", M = ({
|
|
7
7
|
lightBoxMountNode: a,
|
|
8
8
|
lightBoxViewManagerNode: x
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { LightBox as t, lightBoxMountNodeIdDefault as i, lightBoxViewManagerNodeIdDefault as r } from "./LightBox.js";
|
|
2
2
|
import { LightBoxSideOverlay as a } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
3
|
-
import { ELightBoxSideOverlaySize as g } from "./LightBoxSideOverlay/enums.js";
|
|
4
3
|
export {
|
|
5
|
-
g as ELightBoxSideOverlaySize,
|
|
6
4
|
t as LightBox,
|
|
7
5
|
a as LightBoxSideOverlay,
|
|
8
6
|
i as lightBoxMountNodeIdDefault,
|
package/components/Link/Link.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { jsx as R, jsxs 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
|
|
4
|
-
const v = "
|
|
3
|
+
import { c as a } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const v = "link__37e7675b", F = "wordWithContent__abe76e2c", S = "before__fb6116cf", T = "after__6e659506", r = {
|
|
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__ */
|
|
10
|
+
({ children: d, className: N, onBlur: f, onMouseDown: p, contentAfter: s, contentBefore: o, ...C }, _) => {
|
|
11
|
+
const c = () => o ? /* @__PURE__ */ t(i, { children: [
|
|
12
12
|
"",
|
|
13
13
|
o()
|
|
14
|
-
] }) : null, m = () => s ? s() : null,
|
|
14
|
+
] }) : null, m = () => s ? s() : null, b = (n) => {
|
|
15
15
|
const e = n.split(" ");
|
|
16
16
|
if (e.length < 2 || e.length < 3 && o && s) {
|
|
17
|
-
const y =
|
|
17
|
+
const y = a(r.wordWithContent, {
|
|
18
18
|
[r.after]: !!s,
|
|
19
19
|
[r.before]: !!o
|
|
20
20
|
});
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ t("span", { className: y, children: [
|
|
22
22
|
c(),
|
|
23
23
|
n,
|
|
24
24
|
m()
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const l = e[0], h = e[e.length - 1], w = e.slice(1, -1).join(" "), k = a(r.wordWithContent, {
|
|
28
28
|
[r.before]: !!o
|
|
29
|
-
}), g = o ? /* @__PURE__ */
|
|
29
|
+
}), g = o ? /* @__PURE__ */ t("span", { className: k, children: [
|
|
30
30
|
c(),
|
|
31
|
-
|
|
32
|
-
] }) :
|
|
31
|
+
l
|
|
32
|
+
] }) : l, x = a(r.wordWithContent, {
|
|
33
33
|
[r.after]: !!s
|
|
34
|
-
}), j = s ? /* @__PURE__ */
|
|
34
|
+
}), j = s ? /* @__PURE__ */ t("span", { className: x, children: [
|
|
35
35
|
h,
|
|
36
36
|
m()
|
|
37
37
|
] }) : h;
|
|
38
|
-
return /* @__PURE__ */
|
|
38
|
+
return /* @__PURE__ */ t(i, { children: [
|
|
39
39
|
g,
|
|
40
40
|
" ",
|
|
41
41
|
w,
|
|
@@ -43,23 +43,23 @@ const v = "link__c7a74ecf", F = "wordWithContent__2aa828ef", S = "before__9eabfb
|
|
|
43
43
|
j
|
|
44
44
|
] });
|
|
45
45
|
}, u = (n) => {
|
|
46
|
-
const e = o ? o() : null,
|
|
47
|
-
return /* @__PURE__ */
|
|
46
|
+
const e = o ? o() : null, l = s ? s() : null;
|
|
47
|
+
return /* @__PURE__ */ t(i, { children: [
|
|
48
48
|
e,
|
|
49
49
|
n,
|
|
50
|
-
|
|
50
|
+
l
|
|
51
51
|
] });
|
|
52
|
-
}, W = o || s ? ((n) => typeof n == "string" ?
|
|
52
|
+
}, W = o || s ? ((n) => typeof n == "string" ? b(n) : u(n))(d) : d;
|
|
53
53
|
return /* @__PURE__ */ R(
|
|
54
54
|
"a",
|
|
55
55
|
{
|
|
56
56
|
role: "link",
|
|
57
|
-
...
|
|
58
|
-
className:
|
|
59
|
-
onBlur:
|
|
57
|
+
...C,
|
|
58
|
+
className: a(N, r.link, "hoverable"),
|
|
59
|
+
onBlur: f,
|
|
60
60
|
onMouseDown: p,
|
|
61
|
-
"data-tx": "1.
|
|
62
|
-
ref:
|
|
61
|
+
"data-tx": "1.16.0",
|
|
62
|
+
ref: _,
|
|
63
63
|
children: W
|
|
64
64
|
}
|
|
65
65
|
);
|
package/components/List/List.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { LoaderScreen as c } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
-
const
|
|
6
|
-
list:
|
|
7
|
-
},
|
|
5
|
+
const d = "list__3055b2d8", 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.16.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-Dlne6Znf.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-Dlne6Znf.js";
|
|
4
|
+
const p = "listEmptyState__5fbdbdd7", 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 })
|
|
@@ -3,7 +3,7 @@ import m, { useState as d } from "react";
|
|
|
3
3
|
import { ListItemContext as l } from "./ListItemContext.js";
|
|
4
4
|
const f = m.forwardRef(({ children: e, className: r, ...o }, s) => {
|
|
5
5
|
const [a, i] = d(!1);
|
|
6
|
-
return /* @__PURE__ */ t(l.Provider, { value: { selected: a, setSelected: i }, children: /* @__PURE__ */ t("li", { className: r, ...o, "data-tx": "1.
|
|
6
|
+
return /* @__PURE__ */ t(l.Provider, { value: { selected: a, setSelected: i }, children: /* @__PURE__ */ t("li", { className: r, ...o, "data-tx": "1.16.0", ref: s, children: e }) });
|
|
7
7
|
});
|
|
8
8
|
f.displayName = "ListItem";
|
|
9
9
|
export {
|