@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,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import y, { useState as p, createElement as z } from "react";
|
|
3
|
-
import { c as E } from "../../../chunks/vendor
|
|
3
|
+
import { c as E } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { createSizeToClassNameMap as N } from "../../../utils/classNameMaps.js";
|
|
5
5
|
import { Badge as S } from "../../Badge/Badge.js";
|
|
6
6
|
import { EComponentSize as f } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { Text as v } from "../../Typography/Text.js";
|
|
8
8
|
import { tabsLineSizeToTextSizeMap as x } from "../utils.js";
|
|
9
9
|
import { EFontType as c } from "../../Typography/enums.js";
|
|
10
|
-
import { s as e } from "../../../chunks/TabsLine.module-
|
|
10
|
+
import { s as e } from "../../../chunks/TabsLine.module-DXlTUTm_.js";
|
|
11
11
|
const L = N(e), R = y.forwardRef(
|
|
12
12
|
({
|
|
13
13
|
id: l,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { TabsLineItem as c } from "./TabsLineItem.js";
|
|
3
|
-
const
|
|
4
|
-
tabsLineMobileWrapper:
|
|
5
|
-
tabsLineMobile:
|
|
3
|
+
const p = "tabsLineMobileWrapper__1f062767", d = "tabsLineMobile__0938f20a", l = {
|
|
4
|
+
tabsLineMobileWrapper: p,
|
|
5
|
+
tabsLineMobile: d
|
|
6
6
|
}, h = ({ onChangeTab: r, selectedId: o, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
package/components/Tag/Tag.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { jsx as o, jsxs as D } from "react/jsx-runtime";
|
|
2
2
|
import E, { useCallback as S } from "react";
|
|
3
|
-
import { c as L } from "../../chunks/vendor
|
|
3
|
+
import { c as L } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { EditStrokeSrvIcon24 as N, EditStrokeSrvIcon20 as d, EditStrokeSrvIcon16 as v, CrossStrokeSrvIcon24 as y, CrossStrokeSrvIcon20 as z, CrossStrokeSrvIcon16 as G } from "@sberbusiness/icons-next";
|
|
5
5
|
import { Text as h } from "../Typography/Text.js";
|
|
6
6
|
import { ETextSize as I, EFontType as T } from "../Typography/enums.js";
|
|
7
7
|
import { ButtonIcon as _ } from "../Button/ButtonIcon.js";
|
|
8
8
|
import { createSizeToClassNameMap as j } from "../../utils/classNameMaps.js";
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
9
|
+
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "tag__3a77c379", R = "sm__a1fbbe83", b = "md__371b8df3", w = "lg__02cbcb56", F = "content__6c4d1ea1", l = {
|
|
11
11
|
tag: A,
|
|
12
12
|
sm: R,
|
|
13
|
-
md:
|
|
14
|
-
lg:
|
|
15
|
-
content:
|
|
16
|
-
},
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
13
|
+
md: b,
|
|
14
|
+
lg: w,
|
|
15
|
+
content: F
|
|
16
|
+
}, P = j(l), Y = {
|
|
17
|
+
[r.SM]: I.B4,
|
|
18
|
+
[r.MD]: I.B3,
|
|
19
|
+
[r.LG]: I.B2
|
|
20
20
|
}, q = {
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
21
|
+
[r.SM]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
22
|
+
[r.MD]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
23
|
+
[r.LG]: /* @__PURE__ */ o(N, { paletteIndex: 5 })
|
|
24
24
|
}, H = {
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
25
|
+
[r.SM]: /* @__PURE__ */ o(G, { paletteIndex: 5 }),
|
|
26
|
+
[r.MD]: /* @__PURE__ */ o(z, { paletteIndex: 5 }),
|
|
27
|
+
[r.LG]: /* @__PURE__ */ o(y, { paletteIndex: 5 })
|
|
28
28
|
}, $ = E.forwardRef(
|
|
29
|
-
({ children:
|
|
29
|
+
({ children: f, id: s, className: g, size: e, disabled: n, onRemove: a, onEdit: c, removeButtonProps: x, editButtonProps: M, ...u }, C) => {
|
|
30
30
|
const k = S(() => {
|
|
31
31
|
const t = n ? T.DISABLED : T.PRIMARY;
|
|
32
|
-
return /* @__PURE__ */ o(h, { className:
|
|
33
|
-
}, [
|
|
32
|
+
return /* @__PURE__ */ o(h, { className: l.content, type: t, size: Y[e], children: f });
|
|
33
|
+
}, [f, e, n]), B = S(() => {
|
|
34
34
|
const { onClick: t, ...m } = M || {};
|
|
35
35
|
return /* @__PURE__ */ o(
|
|
36
36
|
_,
|
|
@@ -40,10 +40,10 @@ const A = "tag__66bdb8f1", R = "sm__c37f23e7", w = "md__4efae8bb", F = "lg__0adc
|
|
|
40
40
|
c == null || c(s), t == null || t(p);
|
|
41
41
|
},
|
|
42
42
|
...m,
|
|
43
|
-
children: q[
|
|
43
|
+
children: q[e]
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
|
-
}, [s,
|
|
46
|
+
}, [s, e, n, M, c]), i = S(() => {
|
|
47
47
|
const { onClick: t, ...m } = x || {};
|
|
48
48
|
return /* @__PURE__ */ o(
|
|
49
49
|
_,
|
|
@@ -53,11 +53,11 @@ const A = "tag__66bdb8f1", R = "sm__c37f23e7", w = "md__4efae8bb", F = "lg__0adc
|
|
|
53
53
|
a == null || a(s), t == null || t(p);
|
|
54
54
|
},
|
|
55
55
|
...m,
|
|
56
|
-
children: H[
|
|
56
|
+
children: H[e]
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
|
-
}, [s,
|
|
60
|
-
return /* @__PURE__ */ D("span", { className: L(
|
|
59
|
+
}, [s, e, n, x, a]);
|
|
60
|
+
return /* @__PURE__ */ D("span", { className: L(l.tag, P[e], g), ...u, ref: C, children: [
|
|
61
61
|
k(),
|
|
62
62
|
c && B(),
|
|
63
63
|
i()
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor
|
|
3
|
+
import { c as m } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { createSizeToClassNameMap as f } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { ETagColorStatus as s } from "./enums.js";
|
|
6
|
-
const
|
|
7
|
-
tagColor:
|
|
8
|
-
sm:
|
|
6
|
+
const i = "tagColor__dced3b96", d = "sm__eb3f2967", g = "md__6557255c", C = "lg__c773bc69", S = "success__db9104db", p = "info__5514ca53", A = "warning__0508a76e", T = "error__3fb1e445", N = "content__24cbd2e3", o = {
|
|
7
|
+
tagColor: i,
|
|
8
|
+
sm: d,
|
|
9
9
|
md: g,
|
|
10
10
|
lg: C,
|
|
11
|
-
default: "
|
|
11
|
+
default: "default__4af961f4",
|
|
12
12
|
success: S,
|
|
13
13
|
info: p,
|
|
14
14
|
warning: A,
|
|
@@ -20,19 +20,19 @@ const d = "tagColor__04aec91f", i = "sm__231b0073", g = "md__d68d11bf", C = "lg_
|
|
|
20
20
|
[s.INFO]: o.info,
|
|
21
21
|
[s.WARNING]: o.warning,
|
|
22
22
|
[s.ERROR]: o.error
|
|
23
|
-
},
|
|
24
|
-
({ children:
|
|
23
|
+
}, b = l.forwardRef(
|
|
24
|
+
({ children: c, className: r, size: n, status: a = s.DEFAULT, ...e }, _) => /* @__PURE__ */ t(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
className: m(o.tagColor, u[
|
|
27
|
+
className: m(o.tagColor, u[n], E[a], r),
|
|
28
28
|
...e,
|
|
29
29
|
ref: _,
|
|
30
|
-
children: /* @__PURE__ */ t("span", { className: o.content, children:
|
|
30
|
+
children: /* @__PURE__ */ t("span", { className: o.content, children: c })
|
|
31
31
|
}
|
|
32
32
|
)
|
|
33
33
|
);
|
|
34
|
-
|
|
34
|
+
b.displayName = "TagColor";
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
b as TagColor
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=TagColor.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as p } from "../../chunks/vendor
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
const
|
|
6
|
-
tagGroup:
|
|
7
|
-
sm:
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { c as p } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
5
|
+
const l = "tagGroup__b7506ad6", d = "sm__52437aec", _ = "md__856ed71d", i = "lg__443e8803", o = {
|
|
6
|
+
tagGroup: l,
|
|
7
|
+
sm: d,
|
|
8
8
|
md: _,
|
|
9
9
|
lg: i
|
|
10
|
-
}, n =
|
|
11
|
-
({ children: s, className: a, size: r, ...t }, m) => /* @__PURE__ */
|
|
10
|
+
}, n = g(o), N = c.forwardRef(
|
|
11
|
+
({ children: s, className: a, size: r, ...t }, m) => /* @__PURE__ */ e(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
14
|
className: p(o.tagGroup, n[r], a),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { F as r } from "../../chunks/FormFieldInput-
|
|
2
|
+
import { F as r } from "../../chunks/FormFieldInput-Dr_WBweC.js";
|
|
3
3
|
import { TextFieldBase as t } from "./TextFieldBase.js";
|
|
4
4
|
const m = ({ inputProps: i, ...o }) => /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ e(r, { ...i }) });
|
|
5
5
|
m.displayName = "TextField";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { TextFieldBase as i } from "../TextField/TextFieldBase.js";
|
|
3
|
-
import "../FormField/
|
|
4
|
-
import "../FormField/components/FormFieldDescription.js";
|
|
3
|
+
import "../FormField/components/FormFieldClear.js";
|
|
5
4
|
import "../FormField/components/FormFieldCounter.js";
|
|
5
|
+
import "../FormField/components/FormFieldDescription.js";
|
|
6
|
+
import "../../chunks/FormFieldInput-Dr_WBweC.js";
|
|
6
7
|
import "../FormField/components/FormFieldLabel.js";
|
|
7
|
-
import "../FormField/components/FormFieldClear.js";
|
|
8
|
-
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
-
import "../../chunks/FormFieldInput-C75omt8Y.js";
|
|
10
8
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
9
|
import "../FormField/components/FormFieldPostfix.js";
|
|
12
10
|
import "../FormField/components/FormFieldPrefix.js";
|
|
11
|
+
import "../FormField/components/FormFieldTarget.js";
|
|
13
12
|
import { FormFieldTextarea as m } from "../FormField/components/FormFieldTextarea.js";
|
|
13
|
+
import "../FormField/FormField.js";
|
|
14
14
|
const j = ({ textareaProps: o, ...t }) => /* @__PURE__ */ r(i, { ...t, children: /* @__PURE__ */ r(m, { ...o }) });
|
|
15
15
|
export {
|
|
16
16
|
j as TextareaField
|
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { DesignTokenUtils as
|
|
5
|
-
import { ThemeProviderView as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as p, useLayoutEffect as m } from "react";
|
|
3
|
+
import { s as l, w as c, x } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { DesignTokenUtils as d } from "../DesignTokens/DesignTokenUtils.js";
|
|
5
|
+
import { ThemeProviderView as f } from "./components/ThemeProviderView.js";
|
|
6
6
|
import { ETriplexNextTheme as u } from "./ETriplexNextTheme.js";
|
|
7
|
-
const
|
|
8
|
-
children:
|
|
9
|
-
scopeClassName:
|
|
10
|
-
scopeRef:
|
|
11
|
-
theme:
|
|
12
|
-
tokens:
|
|
7
|
+
const h = (o) => `${o}${Date.now()}${Math.floor(Math.random() * 1e6)}`, C = ({
|
|
8
|
+
children: o,
|
|
9
|
+
scopeClassName: s,
|
|
10
|
+
scopeRef: i,
|
|
11
|
+
theme: t = u.LIGHT,
|
|
12
|
+
tokens: r
|
|
13
13
|
}) => {
|
|
14
|
-
const
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const p = `.${e} {${S.getStyle(r, s || {})}}`;
|
|
20
|
-
d(p, `triplex-next-dynamic-tokens-${e}`);
|
|
14
|
+
const e = p(() => s || h("triplex-next-theme-"), [s]);
|
|
15
|
+
return m(() => {
|
|
16
|
+
if (l()) {
|
|
17
|
+
const n = `.${e} {${d.getStyle(t, r || {})}}`;
|
|
18
|
+
c(n, `triplex-next-dynamic-tokens-${e}`);
|
|
21
19
|
} else
|
|
22
20
|
console.log("ThemeProvider", "SSR do not support dynamic theme with css variables.");
|
|
23
|
-
}, [e,
|
|
21
|
+
}, [e, t, r]), m(() => () => x(`triplex-next-dynamic-tokens-${e}`), [e]), /* @__PURE__ */ a(f, { scopeClassName: e, scopeRef: i, theme: t, tokens: r, children: o });
|
|
24
22
|
};
|
|
25
23
|
export {
|
|
26
|
-
|
|
24
|
+
C as ThemeProvider
|
|
27
25
|
};
|
|
28
26
|
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -1,36 +1,38 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useRef as u, useEffect as k } from "react";
|
|
3
|
-
import { ThemeProviderContext as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as u, useEffect as k, useMemo as D } from "react";
|
|
3
|
+
import { ThemeProviderContext as d } from "../ThemeProviderContext.js";
|
|
4
4
|
import { ETriplexNextTheme as m } from "../ETriplexNextTheme.js";
|
|
5
|
-
import { DesignTokensCore as
|
|
6
|
-
import { DesignTokensCoreThemeDark as
|
|
7
|
-
import { DesignTokensComponents as
|
|
8
|
-
import { DesignTokensComponentsThemeDark as
|
|
9
|
-
import { k as g } from "../../../chunks/vendor
|
|
10
|
-
const
|
|
11
|
-
children:
|
|
12
|
-
scopeClassName:
|
|
13
|
-
scopeRef:
|
|
5
|
+
import { DesignTokensCore as p } from "../../DesignTokens/DesignTokensCore.js";
|
|
6
|
+
import { DesignTokensCoreThemeDark as v } from "../../DesignTokens/DesignTokensCoreThemeDark.js";
|
|
7
|
+
import { DesignTokensComponents as x } from "../../DesignTokens/DesignTokensComponents.js";
|
|
8
|
+
import { DesignTokensComponentsThemeDark as c } from "../../DesignTokens/DesignTokensComponentsThemeDark.js";
|
|
9
|
+
import { k as g } from "../../../chunks/vendor---Om3uMV.js";
|
|
10
|
+
const w = ({
|
|
11
|
+
children: T,
|
|
12
|
+
scopeClassName: o,
|
|
13
|
+
scopeRef: n,
|
|
14
14
|
theme: e,
|
|
15
|
-
tokens:
|
|
15
|
+
tokens: i
|
|
16
16
|
}) => {
|
|
17
|
-
const
|
|
17
|
+
const t = u("");
|
|
18
18
|
k(() => {
|
|
19
|
-
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
-
o.current && ((i = t.current) == null || i.classList.remove(o.current));
|
|
19
|
+
const r = n.current;
|
|
20
|
+
return o && (r == null || r.classList.add(o)), t.current = o, () => {
|
|
21
|
+
t.current && (r == null || r.classList.remove(t.current));
|
|
23
22
|
};
|
|
24
|
-
}, [
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
}, [o, n]);
|
|
24
|
+
const f = D(() => {
|
|
25
|
+
const r = g(
|
|
26
|
+
{},
|
|
27
|
+
i,
|
|
28
|
+
e === m.LIGHT ? p : v,
|
|
29
|
+
e === m.LIGHT ? x : c
|
|
30
|
+
);
|
|
31
|
+
return { scopeClassName: o, theme: e, tokens: r };
|
|
32
|
+
}, [o, e, i]);
|
|
33
|
+
return /* @__PURE__ */ s(d.Provider, { value: f, children: T });
|
|
32
34
|
};
|
|
33
35
|
export {
|
|
34
|
-
|
|
36
|
+
w as ThemeProviderView
|
|
35
37
|
};
|
|
36
38
|
//# sourceMappingURL=ThemeProviderView.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
5
|
import { Text as l } from "../../../Typography/Text.js";
|
|
6
6
|
import { ELineType as p, ETextSize as c } from "../../../Typography/enums.js";
|
|
7
|
-
import { s as f } from "../../../../chunks/TooltipDesktop.module-
|
|
7
|
+
import { s as f } from "../../../../chunks/TooltipDesktop.module-D4z7cwlC.js";
|
|
8
8
|
const d = e.forwardRef(({ className: r, ...i }, t) => {
|
|
9
9
|
const m = s(f.tooltipBody, r);
|
|
10
10
|
return /* @__PURE__ */ o(a, { fallback: /* @__PURE__ */ o("div", { className: m, ...i, ref: t }), children: /* @__PURE__ */ o(l, { className: m, size: c.B3, line: p.NORMAL, tag: "div", ...i, ref: t }) });
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as l } from "../../../../chunks/vendor
|
|
3
|
+
import { c as l } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
|
-
const k = "
|
|
5
|
+
const k = "tooltipLink__52e23633", r = "desktop__946f41ca", m = "mobile__3ce0045d", o = {
|
|
6
6
|
tooltipLink: k,
|
|
7
7
|
desktop: r,
|
|
8
|
-
mobile:
|
|
9
|
-
},
|
|
8
|
+
mobile: m
|
|
9
|
+
}, c = n.forwardRef(
|
|
10
10
|
({ children: i, className: e, ...p }, s) => /* @__PURE__ */ t(a, { fallback: /* @__PURE__ */ t(
|
|
11
11
|
"a",
|
|
12
12
|
{
|
|
13
13
|
className: l(o.tooltipLink, o.desktop, e),
|
|
14
14
|
...p,
|
|
15
|
-
"data-tx": "0.
|
|
15
|
+
"data-tx": "0.23.0",
|
|
16
16
|
ref: s,
|
|
17
17
|
children: i
|
|
18
18
|
}
|
|
@@ -21,14 +21,14 @@ const k = "tooltipLink__87359dd3", r = "desktop__5bfa79d9", d = "mobile__536f366
|
|
|
21
21
|
{
|
|
22
22
|
className: l(o.tooltipLink, o.mobile, e),
|
|
23
23
|
...p,
|
|
24
|
-
"data-tx": "0.
|
|
24
|
+
"data-tx": "0.23.0",
|
|
25
25
|
ref: s,
|
|
26
26
|
children: i
|
|
27
27
|
}
|
|
28
28
|
) })
|
|
29
29
|
);
|
|
30
|
-
|
|
30
|
+
c.displayName = "TooltipLink";
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
c as TooltipLink
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=TooltipLink.js.map
|
|
@@ -3,7 +3,7 @@ import { useContext as m } from "react";
|
|
|
3
3
|
import { CrossStrokeSrvIcon16 as n } from "@sberbusiness/icons-next";
|
|
4
4
|
import { TooltipContext as i } from "../../TootlipContext.js";
|
|
5
5
|
import { ButtonIcon as a } from "../../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as l } from "../../../../chunks/TooltipDesktop.module-
|
|
6
|
+
import { s as l } from "../../../../chunks/TooltipDesktop.module-D4z7cwlC.js";
|
|
7
7
|
const I = ({ onClick: o, ...s }) => {
|
|
8
8
|
const { setTooltipOpen: p } = m(i), e = (t) => {
|
|
9
9
|
t.stopPropagation(), p(!1), o == null || o(t);
|
|
@@ -3,13 +3,13 @@ var _ = (p, a, i) => a in p ? H(p, a, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var t = (p, a, i) => _(p, typeof a != "symbol" ? a + "" : a, i);
|
|
4
4
|
import { jsxs as S, Fragment as P, jsx as x } from "react/jsx-runtime";
|
|
5
5
|
import O from "react";
|
|
6
|
-
import { i as M, c as $ } from "../../../../../chunks/vendor
|
|
6
|
+
import { i as M, c as $ } from "../../../../../chunks/vendor---Om3uMV.js";
|
|
7
7
|
import { TooltipContext as X } from "../../../TootlipContext.js";
|
|
8
8
|
import { Portal as Y } from "../../../../Portal/Portal.js";
|
|
9
9
|
import { ETooltipPreferPlace as u, ETooltipDirection as B, ETooltipAlign as z, ETooltipFlowTypes as I, ETooltipSizeParameter as r, ETooltipTypeName as C, ETooltipEndCoordinates as N, ETooltipStartCoordinates as R, ETooltipAxesType as G, ETooltipSize as U } from "../../../enums.js";
|
|
10
10
|
import { TooltipDesktopTip as V } from "./TooltipDesktopTip.js";
|
|
11
11
|
import { pickZone as j, axes as q, calcRelPos as K, centerOfBoundsFromBounds as Z, calcBounds as L, equalCoords as J } from "../../../utils/Positioning.js";
|
|
12
|
-
import { s as f } from "../../../../../chunks/TooltipDesktop.module-
|
|
12
|
+
import { s as f } from "../../../../../chunks/TooltipDesktop.module-D4z7cwlC.js";
|
|
13
13
|
const Q = {
|
|
14
14
|
column: "translateX",
|
|
15
15
|
row: "translateY"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { ETooltipDirection as e } from "../../../enums.js";
|
|
4
|
-
import { c } from "../../../../../chunks/vendor
|
|
5
|
-
import { s as t } from "../../../../../chunks/TooltipDesktop.module-
|
|
4
|
+
import { c } from "../../../../../chunks/vendor---Om3uMV.js";
|
|
5
|
+
import { s as t } from "../../../../../chunks/TooltipDesktop.module-D4z7cwlC.js";
|
|
6
6
|
const m = a.forwardRef((r, i) => {
|
|
7
7
|
const { direction: s } = r;
|
|
8
8
|
let o;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as b, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
2
|
+
import { useContext as u, useRef as f, useEffect as M } from "react";
|
|
3
3
|
import { TooltipContext as C } from "../../TootlipContext.js";
|
|
4
4
|
import { Portal as B } from "../../../Portal/Portal.js";
|
|
5
5
|
import { DropdownMobile as _ } from "../../../Dropdown/mobile/DropdownMobile.js";
|
|
6
6
|
import { DropdownMobileBody as x } from "../../../Dropdown/mobile/DropdownMobileBody.js";
|
|
7
7
|
import { TooltipMobileCloseButton as h } from "./components/TooltipMobileCloseButton.js";
|
|
8
|
-
import { c as y } from "../../../../chunks/vendor
|
|
9
|
-
const N = "
|
|
8
|
+
import { c as y } from "../../../../chunks/vendor---Om3uMV.js";
|
|
9
|
+
const N = "tooltipMobile__903d7668", T = "tooltipMobileContent__9a554815", g = "headerless__dc2ced18", H = "closeButton__68ee79db", o = {
|
|
10
10
|
tooltipMobile: N,
|
|
11
11
|
tooltipMobileContent: T,
|
|
12
12
|
headerless: g,
|
|
@@ -21,16 +21,16 @@ const N = "tooltipMobile__5954f505", T = "tooltipMobileContent__15d3ff6a", g = "
|
|
|
21
21
|
onShow: l,
|
|
22
22
|
...d
|
|
23
23
|
}) => {
|
|
24
|
-
const { elements:
|
|
24
|
+
const { elements: e, setTooltipOpen: p } = u(C), i = f(null), a = y(o.tooltipMobile, { [o.headerless]: e.mobileHeader === null }, c);
|
|
25
25
|
M(() => {
|
|
26
26
|
t && (l == null || l(i.current));
|
|
27
27
|
}, [t]);
|
|
28
28
|
const m = () => {
|
|
29
29
|
var s;
|
|
30
|
-
return /* @__PURE__ */ n("div", { className:
|
|
30
|
+
return /* @__PURE__ */ n("div", { className: o.closeButton, children: /* @__PURE__ */ n(h, { ...(s = e.closeButton) == null ? void 0 : s.props }) });
|
|
31
31
|
};
|
|
32
32
|
return /* @__PURE__ */ r(b, { children: [
|
|
33
|
-
|
|
33
|
+
e.target,
|
|
34
34
|
/* @__PURE__ */ n(B, { container: document.body, children: /* @__PURE__ */ r(
|
|
35
35
|
_,
|
|
36
36
|
{
|
|
@@ -41,11 +41,11 @@ const N = "tooltipMobile__5954f505", T = "tooltipMobileContent__15d3ff6a", g = "
|
|
|
41
41
|
...d,
|
|
42
42
|
ref: i,
|
|
43
43
|
children: [
|
|
44
|
-
|
|
45
|
-
/* @__PURE__ */ r(x, { className:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
e.mobileHeader,
|
|
45
|
+
/* @__PURE__ */ r(x, { className: o.tooltipMobileContent, children: [
|
|
46
|
+
e.body,
|
|
47
|
+
e.link,
|
|
48
|
+
e.mobileHeader === null && m()
|
|
49
49
|
] })
|
|
50
50
|
]
|
|
51
51
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
1
|
+
import { jsx as o, jsxs as I, Fragment as b } from "react/jsx-runtime";
|
|
2
2
|
import { useState as y, useRef as g, useEffect as B } from "react";
|
|
3
3
|
import { EOverlayDirection as R } from "../Overlay/OverlayBase.js";
|
|
4
4
|
import { Overlay as O } from "../Overlay/Overlay.js";
|
|
5
|
-
import { c as S, F as j } from "../../chunks/vendor
|
|
6
|
-
const E = "
|
|
5
|
+
import { c as S, F as j } from "../../chunks/vendor---Om3uMV.js";
|
|
6
|
+
const E = "topOverlayMask__33f030c7", w = "topOverlayWrapper__863ba408", A = "closing__87919d9b", D = "opened__d093e5a2", V = "topOverlayPanel__2c280532", $ = "topOverlay__99725552", t = {
|
|
7
7
|
topOverlayMask: E,
|
|
8
8
|
topOverlayWrapper: w,
|
|
9
9
|
closing: A,
|
|
@@ -18,7 +18,7 @@ const E = "topOverlayMask__a44536bf", w = "topOverlayWrapper__8563bbff", A = "cl
|
|
|
18
18
|
onOpen: n,
|
|
19
19
|
...h
|
|
20
20
|
}) => {
|
|
21
|
-
const [W, u] = y(!1), [
|
|
21
|
+
const [W, u] = y(!1), [x, d] = y(!1), [m, c] = y(0), p = g(e), s = g(null), f = () => {
|
|
22
22
|
if (s.current) {
|
|
23
23
|
const r = getComputedStyle(s.current).getPropertyValue("--lightBox-screen-top") || "0", i = s.current.getBoundingClientRect();
|
|
24
24
|
i.top < 0 ? c(
|
|
@@ -28,39 +28,39 @@ const E = "topOverlayMask__a44536bf", w = "topOverlayWrapper__8563bbff", A = "cl
|
|
|
28
28
|
(v) => parseInt(v, 10) - i.top + parseInt(r, 10)
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
|
-
},
|
|
32
|
-
|
|
31
|
+
}, k = () => {
|
|
32
|
+
f(), d(!0), n == null || n();
|
|
33
33
|
};
|
|
34
34
|
B(() => {
|
|
35
|
-
p.current && !e ? u(!0) : !p.current && e &&
|
|
35
|
+
p.current && !e ? u(!0) : !p.current && e && f(), p.current = e;
|
|
36
36
|
}, [e]);
|
|
37
|
-
const
|
|
37
|
+
const M = () => {
|
|
38
38
|
u(!1), c(0), l == null || l();
|
|
39
|
-
},
|
|
39
|
+
}, T = () => d(!1), F = (r) => /* @__PURE__ */ I(b, { children: [
|
|
40
40
|
/* @__PURE__ */ o(O.Mask, { opened: r.opened, className: t.topOverlayMask }),
|
|
41
41
|
/* @__PURE__ */ o(O.Panel, { className: t.topOverlayPanel, ...r, children: _ })
|
|
42
|
-
] }),
|
|
43
|
-
},
|
|
42
|
+
] }), N = () => {
|
|
43
|
+
}, P = S(t.topOverlayWrapper, {
|
|
44
44
|
[t.closing]: W,
|
|
45
45
|
[t.opened]: e
|
|
46
|
-
}),
|
|
46
|
+
}), C = /* @__PURE__ */ o(
|
|
47
47
|
O,
|
|
48
48
|
{
|
|
49
|
-
onClose:
|
|
50
|
-
onClosing:
|
|
51
|
-
onOpen:
|
|
49
|
+
onClose: M,
|
|
50
|
+
onClosing: T,
|
|
51
|
+
onOpen: k,
|
|
52
52
|
opened: e,
|
|
53
|
-
setOpened:
|
|
53
|
+
setOpened: N,
|
|
54
54
|
...h,
|
|
55
55
|
className: t.topOverlay,
|
|
56
56
|
direction: R.TOP,
|
|
57
|
-
children:
|
|
57
|
+
children: F
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
return /* @__PURE__ */ o(
|
|
61
61
|
j,
|
|
62
62
|
{
|
|
63
|
-
active:
|
|
63
|
+
active: x,
|
|
64
64
|
...a,
|
|
65
65
|
focusTrapOptions: {
|
|
66
66
|
allowOutsideClick: !0,
|
|
@@ -70,10 +70,10 @@ const E = "topOverlayMask__a44536bf", w = "topOverlayWrapper__8563bbff", A = "cl
|
|
|
70
70
|
children: /* @__PURE__ */ o(
|
|
71
71
|
"div",
|
|
72
72
|
{
|
|
73
|
-
className:
|
|
73
|
+
className: P,
|
|
74
74
|
ref: s,
|
|
75
|
-
style:
|
|
76
|
-
children:
|
|
75
|
+
style: m ? { top: `${m}px` } : void 0,
|
|
76
|
+
children: C
|
|
77
77
|
}
|
|
78
78
|
)
|
|
79
79
|
}
|
|
@@ -9,8 +9,8 @@ import { TreeViewContext as l } from "./TreeViewContext.js";
|
|
|
9
9
|
import { TreeViewAbstractNode as C } from "./TreeViewAbstractNode.js";
|
|
10
10
|
import { TreeViewNode as f } from "./components/TreeViewNode.js";
|
|
11
11
|
import { TreeViewGroup as b } from "./components/TreeViewGroup.js";
|
|
12
|
-
import { c as v } from "../../chunks/vendor
|
|
13
|
-
import { s as w } from "../../chunks/TreeView.module-
|
|
12
|
+
import { c as v } from "../../chunks/vendor---Om3uMV.js";
|
|
13
|
+
import { s as w } from "../../chunks/TreeView.module-DAOSEOZO.js";
|
|
14
14
|
const R = "rootNode";
|
|
15
15
|
class n extends m.Component {
|
|
16
16
|
constructor(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { s } from "../../../chunks/TreeView.module-
|
|
2
|
+
import { s } from "../../../chunks/TreeView.module-DAOSEOZO.js";
|
|
3
3
|
const m = ({ children: r, ...e }) => /* @__PURE__ */ o("ul", { role: "group", className: s.treeViewGroup, ...e, children: r });
|
|
4
4
|
export {
|
|
5
5
|
m as TreeViewGroup
|
|
@@ -6,8 +6,8 @@ import l from "react";
|
|
|
6
6
|
import { TreeViewContext as m, withTreeViewContext as x } from "../TreeViewContext.js";
|
|
7
7
|
import { TreeViewAbstractNode as b } from "../TreeViewAbstractNode.js";
|
|
8
8
|
import { TreeViewAbstractNodeUtils as n } from "../TreeViewAbstractNodeUtils.js";
|
|
9
|
-
import { c as w } from "../../../chunks/vendor
|
|
10
|
-
import { s as C } from "../../../chunks/TreeView.module-
|
|
9
|
+
import { c as w } from "../../../chunks/vendor---Om3uMV.js";
|
|
10
|
+
import { s as C } from "../../../chunks/TreeView.module-DAOSEOZO.js";
|
|
11
11
|
class V extends l.Component {
|
|
12
12
|
constructor(e) {
|
|
13
13
|
super(e);
|