@sberbusiness/triplex-next 0.28.0 → 0.30.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-vonjWRtY.js → AlertProcessSpoiler-u6M_UUD9.js} +13 -13
- package/chunks/{CalendarViewItem-DysxnR-B.js → CalendarViewItem-0qx9TN09.js} +23 -23
- package/chunks/Card.module-Dk_x12aX.js +18 -0
- package/chunks/CheckboxTreeExtended.module-BYEXhagY.js +15 -0
- package/chunks/Chip-CgSrMLOj.js +77 -0
- package/chunks/Confirm.module-D-Z-baL7.js +15 -0
- package/chunks/{DropdownListItem-DEMHVloq.js → DropdownListItem-DsKl9Gi-.js} +18 -18
- package/chunks/DropdownMobile.module-DBKmP6tH.js +23 -0
- package/chunks/Footer.module-D19luc11.js +9 -0
- package/chunks/{FormFieldInput-Cb-NqZOL.js → FormFieldInput-DM8lK78a.js} +16 -16
- package/chunks/HeaderLayoutSidebar.module-BEWjTVQC.js +9 -0
- package/chunks/HeaderTabs.module-B3OUkcWC.js +9 -0
- package/chunks/{HeaderTitle.module-B2aVG-8s.js → HeaderTitle.module-wm7lWk21.js} +2 -2
- package/chunks/IslandAccordion.module-CkjSe196.js +25 -0
- package/chunks/IslandWidgetFooter.module-DkGCGVtt.js +9 -0
- package/chunks/IslandWidgetHeader.module-D_0Z5Wkx.js +13 -0
- package/chunks/{LightBoxContent-CpxzDBba.js → LightBoxContent-C-Q4JvDf.js} +9 -9
- package/chunks/LightBoxControls.module-D6dJVyd1.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Pvh5SxlA.js +9 -0
- package/chunks/{ListItemControlsButton-BcWg1BjZ.js → ListItemControlsButton-B52gadtt.js} +10 -10
- package/chunks/ListItemTail.module-96x050E6.js +12 -0
- package/chunks/ListMasterFooter.module-QCC2uvr7.js +10 -0
- package/chunks/ModalWindow.module-D3XZrRCV.js +17 -0
- package/chunks/Notification.module-MWvLXIRM.js +20 -0
- package/chunks/Overlay.module-nAMUorJ1.js +18 -0
- package/chunks/Page.module-BDTFNqSr.js +11 -0
- package/chunks/SMSField.module-Dt8sZq_D.js +16 -0
- package/chunks/SliderExtendedMarks.module-BIprSBVE.js +15 -0
- package/chunks/{SliderExtendedRail-D-T2vfBA.js → SliderExtendedRail-EN9dWr8g.js} +10 -10
- package/chunks/StatusTracker.module-GZp9BaaE.js +24 -0
- package/chunks/{StepperStepArrowBorder-DoCkMkMz.js → StepperStepArrowBorder-B2mxgMOK.js} +4 -4
- package/chunks/{SuggestFieldMobileDropdownHint-DMUtIm6D.js → SuggestFieldMobileDropdownHint-8plGk4NO.js} +4 -4
- package/chunks/TableFooter.module-C1wbovyw.js +14 -0
- package/chunks/TabsExtended.module-DATvYZNn.js +16 -0
- package/chunks/TabsLine.module-O3-2VgYL.js +21 -0
- package/chunks/TooltipDesktop.module-COHJz2TY.js +19 -0
- package/chunks/TreeView.module-Cxj4qOdA.js +9 -0
- package/chunks/{UploadZoneInput-DBUlHhad.js → UploadZoneInput-B-gVlolB.js} +8 -8
- package/chunks/{constants-3hOLYskn.js → constants-CgVlsuXP.js} +14 -14
- package/chunks/{utils-C3N8DE_4.js → utils-B3jUITHO.js} +5 -5
- package/chunks/{utils-BzsnXGYj.js → utils-BygtCSQo.js} +5 -5
- package/chunks/{utils-8R7OR9DQ.js → utils-Dwhaig77.js} +7 -7
- package/chunks/utils-mJogbZdW.js +73 -0
- package/chunks/vendor-z35N2Tap.js +12618 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +30 -30
- 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 +1 -1
- package/components/Avatar/Avatar.js +48 -23
- package/components/Badge/Badge.js +6 -6
- package/components/Badge/BadgeDot.js +12 -12
- package/components/Badge/components/BadgeContent.js +17 -17
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +5 -5
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +21 -21
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +16 -16
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +124 -118
- package/components/Calendar/CalendarContext.js +6 -6
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarFooterButton.js +19 -21
- package/components/Calendar/components/CalendarViewDays.js +7 -10
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +29 -29
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Calendar/enums.js +1 -1
- package/components/Card/CardAction.js +13 -13
- 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 +19 -19
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +5 -5
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +10 -10
- package/components/CheckboxTreeExtended/index.js +3 -1
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +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 +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +17 -17
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +141 -141
- package/components/CollapsibleTree/CollapsibleTree.js +23 -0
- package/components/CollapsibleTree/components/CollapsibleTreeBranchNode.js +37 -0
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +13 -0
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +24 -0
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +44 -0
- package/components/CollapsibleTree/components/CollapsibleTreeNodeLabel.js +12 -0
- package/components/CollapsibleTree/index.js +11 -0
- package/components/CollapsibleTree/types.js +5 -0
- package/components/CollapsibleTreeExtended/CollapsibleTreeExtended.js +10 -0
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +71 -0
- package/components/CollapsibleTreeExtended/index.js +7 -0
- 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 +18 -28
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +2 -2
- package/components/DatePickerExtended/index.js +5 -0
- package/components/DateRange/DateRange.js +25 -25
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +89 -84
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +83 -78
- package/components/DesignTokens/components/Calendar.js +34 -42
- package/components/DesignTokens/components/CollapsibleTree.js +11 -0
- package/components/DesignTokens/components/ListItem.js +7 -4
- package/components/DesignTokens/components/index.js +138 -135
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +19 -19
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +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 +5 -5
- package/components/EmptyView/EmptyView.js +15 -15
- 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 +15 -15
- package/components/FormField/components/FormFieldClear.js +5 -5
- package/components/FormField/components/FormFieldCounter.js +9 -11
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +2 -2
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +24 -17
- package/components/FormField/components/FormFieldPrefix.js +24 -17
- package/components/FormField/components/FormFieldTarget.js +9 -9
- package/components/FormField/components/FormFieldTextarea.js +7 -7
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +17 -17
- package/components/IconWrapper/IconWrapper.js +8 -8
- 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 +3 -3
- 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 +15 -15
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- 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 +19 -17
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +18 -0
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +21 -6
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +18 -0
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +11 -11
- 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 +20 -20
- 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 +8 -8
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +12 -12
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +28 -28
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +8 -8
- package/components/List/components/ListItemContent.js +20 -15
- package/components/List/components/ListItemContext.js +5 -2
- 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 +5 -5
- package/components/List/components/ListItemSelectable.js +30 -27
- package/components/List/components/ListItemTable.js +14 -13
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +8 -8
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- 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 +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/ModalWindow/index.js +11 -10
- package/components/MonthYearField/MonthYearField.js +19 -19
- package/components/MonthYearRange/MonthYearRange.js +2 -2
- package/components/MultiselectField/MultiselectField.js +19 -14
- package/components/MultiselectField/MultiselectFieldContext.js +5 -4
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +32 -29
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +7 -7
- package/components/OrderedList/OrderedListItem.js +6 -6
- 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/Page/components/useStickyCornerRadius.js +16 -16
- package/components/Page/index.js +10 -4
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +6 -6
- package/components/Pagination/components/PaginationSelect.js +18 -18
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +7 -7
- 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 +29 -29
- 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/SMSField/index.js +9 -1
- package/components/SegmentedControl/SegmentedControl.js +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +2 -2
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +14 -14
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +2 -2
- 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 +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +12 -12
- package/components/StatusTracker/StatusTracker.js +16 -12
- 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/StatusTracker/index.js +21 -5
- package/components/Step/Step.js +10 -10
- package/components/Stepper/Stepper.js +33 -33
- package/components/Stepper/StepperExtended.js +8 -8
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +15 -15
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +24 -20
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +12 -12
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +3 -3
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/index.js +25 -17
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +23 -23
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagGroup/TagGroup.js +6 -6
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +22 -17
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +5 -5
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +10 -10
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +12 -12
- package/components/TopOverlay/TopOverlay.js +22 -22
- 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/TreeView/index.js +10 -0
- package/components/Triggers/index.js +5 -0
- package/components/Typography/Caption.js +19 -19
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +22 -22
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/UploadZone/index.js +4 -2
- package/components/WindowResizeListener/WindowResizeListener.js +4 -4
- package/components/WindowResizeListener/index.js +5 -0
- package/components/index.js +643 -575
- package/index.d.ts +514 -99
- package/index.js +666 -598
- package/package.json +25 -1
- package/styles/triplex-next.css +541 -538
- package/types/index.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-DLzMeKEe.js +0 -17
- package/chunks/CheckboxTreeExtended.module-_hckc6T1.js +0 -15
- package/chunks/Chip-C8WEqATD.js +0 -77
- package/chunks/Confirm.module-C9UyoM6r.js +0 -15
- package/chunks/DropdownMobile.module-D_HYruos.js +0 -23
- package/chunks/Footer.module-BijXXNLX.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BvSSRT60.js +0 -9
- package/chunks/HeaderTabs.module-Yh7VuJr3.js +0 -9
- package/chunks/IslandAccordion.module-DXpQN7Ws.js +0 -25
- package/chunks/IslandWidgetFooter.module-DsHrU6Ao.js +0 -9
- package/chunks/IslandWidgetHeader.module-BntNmew_.js +0 -12
- package/chunks/LightBoxControls.module-BulvfqYp.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-jdGcrQ0Q.js +0 -9
- package/chunks/ListItemTail.module-lle264d5.js +0 -12
- package/chunks/ListMasterFooter.module-ezPsYAZz.js +0 -10
- package/chunks/ModalWindow.module-CbeisCTo.js +0 -17
- package/chunks/Notification.module-Cdt0qyac.js +0 -20
- package/chunks/Overlay.module-s6l_vTfQ.js +0 -18
- package/chunks/Page.module-DfXEH6KZ.js +0 -11
- package/chunks/SMSField.module-CTGDSJ9H.js +0 -16
- package/chunks/SliderExtendedMarks.module-CEd_dK23.js +0 -15
- package/chunks/StatusTracker.module-DhavZ4lj.js +0 -24
- package/chunks/TableFooter.module-BEbAVyAP.js +0 -14
- package/chunks/TabsExtended.module-DvTlvDRg.js +0 -16
- package/chunks/TabsLine.module-Dc3Qo19q.js +0 -21
- package/chunks/TooltipDesktop.module-CU7dGBwe.js +0 -19
- package/chunks/TreeView.module-BYYaw1fa.js +0 -9
- package/chunks/utils-C0T4qN0O.js +0 -73
- package/chunks/vendor---Om3uMV.js +0 -12477
- package/components/CollapsableTree/CollapsableTree.js +0 -10
- package/components/CollapsableTree/components/CollapsableTreeNode.js +0 -79
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
|
|
4
|
-
import { EditStrokeSrvIcon24 as N, EditStrokeSrvIcon20 as
|
|
3
|
+
import { c as L } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { EditStrokeSrvIcon24 as N, EditStrokeSrvIcon20 as v, EditStrokeSrvIcon16 as y, CrossStrokeSrvIcon24 as z, CrossStrokeSrvIcon20 as G, CrossStrokeSrvIcon16 as d } 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 e } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "tag__2a95643a", R = "sm__068eea3b", w = "md__ea955391", F = "lg__e211f5d1", P = "content__c366888e", l = {
|
|
11
11
|
tag: A,
|
|
12
12
|
sm: R,
|
|
13
13
|
md: w,
|
|
14
14
|
lg: F,
|
|
15
15
|
content: P
|
|
16
|
-
}, Y = j(
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
16
|
+
}, Y = j(l), q = {
|
|
17
|
+
[e.SM]: I.B4,
|
|
18
|
+
[e.MD]: I.B3,
|
|
19
|
+
[e.LG]: I.B2
|
|
20
20
|
}, H = {
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
21
|
+
[e.SM]: /* @__PURE__ */ o(y, { paletteIndex: 5 }),
|
|
22
|
+
[e.MD]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
23
|
+
[e.LG]: /* @__PURE__ */ o(N, { paletteIndex: 5 })
|
|
24
24
|
}, J = {
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
25
|
+
[e.SM]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
26
|
+
[e.MD]: /* @__PURE__ */ o(G, { paletteIndex: 5 }),
|
|
27
|
+
[e.LG]: /* @__PURE__ */ o(z, { paletteIndex: 5 })
|
|
28
28
|
}, b = E.forwardRef(
|
|
29
|
-
({ children:
|
|
29
|
+
({ children: x, id: s, className: g, size: r, disabled: n, onRemove: a, onEdit: c, removeButtonProps: f, 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: q[r], children: x });
|
|
33
|
+
}, [x, r, n]), B = S(() => {
|
|
34
34
|
const { onClick: t, ...m } = M || {};
|
|
35
35
|
return /* @__PURE__ */ o(
|
|
36
36
|
_,
|
|
@@ -40,11 +40,11 @@ const A = "tag__b7978d9f", R = "sm__064c6f82", w = "md__0cc30a29", F = "lg__d6fe
|
|
|
40
40
|
c == null || c(s), t == null || t(p);
|
|
41
41
|
},
|
|
42
42
|
...m,
|
|
43
|
-
children: H[
|
|
43
|
+
children: H[r]
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
|
-
}, [s,
|
|
47
|
-
const { onClick: t, ...m } =
|
|
46
|
+
}, [s, r, n, M, c]), i = S(() => {
|
|
47
|
+
const { onClick: t, ...m } = f || {};
|
|
48
48
|
return /* @__PURE__ */ o(
|
|
49
49
|
_,
|
|
50
50
|
{
|
|
@@ -53,11 +53,11 @@ const A = "tag__b7978d9f", R = "sm__064c6f82", w = "md__0cc30a29", F = "lg__d6fe
|
|
|
53
53
|
a == null || a(s), t == null || t(p);
|
|
54
54
|
},
|
|
55
55
|
...m,
|
|
56
|
-
children: J[
|
|
56
|
+
children: J[r]
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
|
-
}, [s,
|
|
60
|
-
return /* @__PURE__ */ D("span", { className: L(
|
|
59
|
+
}, [s, r, n, f, a]);
|
|
60
|
+
return /* @__PURE__ */ D("span", { className: L(l.tag, Y[r], g), ...u, ref: C, children: [
|
|
61
61
|
k(),
|
|
62
62
|
c && B(),
|
|
63
63
|
i()
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import l from "react";
|
|
3
|
+
import { c as m } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { createSizeToClassNameMap as f } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { ETagColorStatus as s } from "./enums.js";
|
|
6
|
-
const i = "
|
|
6
|
+
const i = "tagColor__1d89e030", d = "sm__89a9e74e", g = "md__c1182b64", C = "lg__d7e3b0e6", S = "success__83e8776a", p = "info__c32e28e1", A = "warning__72b4f5dc", T = "error__4d81f4d2", N = "content__373b8ef2", o = {
|
|
7
7
|
tagColor: i,
|
|
8
|
-
sm:
|
|
9
|
-
md:
|
|
8
|
+
sm: d,
|
|
9
|
+
md: g,
|
|
10
10
|
lg: C,
|
|
11
|
-
default: "
|
|
11
|
+
default: "default__2df50293",
|
|
12
12
|
success: S,
|
|
13
13
|
info: p,
|
|
14
14
|
warning: A,
|
|
15
15
|
error: T,
|
|
16
16
|
content: N
|
|
17
|
-
}, u =
|
|
17
|
+
}, u = f(o), E = {
|
|
18
18
|
[s.DEFAULT]: o.default,
|
|
19
19
|
[s.SUCCESS]: o.success,
|
|
20
20
|
[s.INFO]: o.info,
|
|
21
21
|
[s.WARNING]: o.warning,
|
|
22
22
|
[s.ERROR]: o.error
|
|
23
|
-
},
|
|
24
|
-
({ children:
|
|
23
|
+
}, R = l.forwardRef(
|
|
24
|
+
({ children: r, className: e, size: n, status: c = s.DEFAULT, ...a }, _) => /* @__PURE__ */ t(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
className:
|
|
28
|
-
...
|
|
27
|
+
className: m(o.tagColor, u[n], E[c], e),
|
|
28
|
+
...a,
|
|
29
29
|
ref: _,
|
|
30
|
-
children: /* @__PURE__ */
|
|
30
|
+
children: /* @__PURE__ */ t("span", { className: o.content, children: r })
|
|
31
31
|
}
|
|
32
32
|
)
|
|
33
33
|
);
|
|
34
|
-
|
|
34
|
+
R.displayName = "TagColor";
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
R 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
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as p } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "tagGroup__d5b57f45", f = "sm__888af3aa", _ = "md__11e93826", i = "lg__991c1c76", o = {
|
|
6
6
|
tagGroup: l,
|
|
7
7
|
sm: f,
|
|
8
8
|
md: _,
|
|
9
9
|
lg: i
|
|
10
|
-
}, n = g(o), N =
|
|
11
|
-
({ children: s, className: a, size: r, ...t }, m) => /* @__PURE__ */
|
|
10
|
+
}, n = g(o), N = e.forwardRef(
|
|
11
|
+
({ children: s, className: a, size: r, ...t }, m) => /* @__PURE__ */ c(
|
|
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-DM8lK78a.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,23 +1,28 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
import n from "react";
|
|
3
|
+
import { FormGroup as f } from "../FormGroup/FormGroup.js";
|
|
4
|
+
import "../FormField/components/FormFieldClear.js";
|
|
5
|
+
import { FormFieldCounter as c } from "../FormField/components/FormFieldCounter.js";
|
|
6
|
+
import { FormFieldDescription as h } from "../FormField/components/FormFieldDescription.js";
|
|
7
|
+
import "../../chunks/FormFieldInput-DM8lK78a.js";
|
|
8
|
+
import { FormFieldLabel as s } from "../FormField/components/FormFieldLabel.js";
|
|
9
|
+
import "../FormField/components/FormFieldMaskedInput.js";
|
|
10
|
+
import { FormFieldPostfix as a } from "../FormField/components/FormFieldPostfix.js";
|
|
11
|
+
import { FormFieldPrefix as u } from "../FormField/components/FormFieldPrefix.js";
|
|
12
|
+
import "../FormField/components/FormFieldTarget.js";
|
|
13
|
+
import "../FormField/components/FormFieldTextarea.js";
|
|
14
|
+
import { FormField as x } from "../FormField/FormField.js";
|
|
15
|
+
const j = n.forwardRef(
|
|
16
|
+
({ children: d, description: i, label: l, prefix: e, postfix: t, counter: o, ...p }, F) => /* @__PURE__ */ m(f, { children: [
|
|
17
|
+
/* @__PURE__ */ m(x, { ...p, ref: F, children: [
|
|
18
|
+
e ? /* @__PURE__ */ r(u, { children: e }) : null,
|
|
19
|
+
d,
|
|
20
|
+
l ? /* @__PURE__ */ r(s, { children: l }) : null,
|
|
21
|
+
t ? /* @__PURE__ */ r(a, { children: t }) : null
|
|
17
22
|
] }),
|
|
18
|
-
i || o ? /* @__PURE__ */ m(
|
|
23
|
+
i || o ? /* @__PURE__ */ m(h, { children: [
|
|
19
24
|
i,
|
|
20
|
-
o ? /* @__PURE__ */ r(
|
|
25
|
+
o ? /* @__PURE__ */ r(c, { children: o }) : null
|
|
21
26
|
] }) : null
|
|
22
27
|
] })
|
|
23
28
|
);
|
|
@@ -3,7 +3,7 @@ import { TextFieldBase as i } from "../TextField/TextFieldBase.js";
|
|
|
3
3
|
import "../FormField/components/FormFieldClear.js";
|
|
4
4
|
import "../FormField/components/FormFieldCounter.js";
|
|
5
5
|
import "../FormField/components/FormFieldDescription.js";
|
|
6
|
-
import "../../chunks/FormFieldInput-
|
|
6
|
+
import "../../chunks/FormFieldInput-DM8lK78a.js";
|
|
7
7
|
import "../FormField/components/FormFieldLabel.js";
|
|
8
8
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
9
9
|
import "../FormField/components/FormFieldPostfix.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as p, useLayoutEffect as m } from "react";
|
|
3
|
-
import { s as l,
|
|
4
|
-
import { DesignTokenUtils as
|
|
5
|
-
import { ThemeProviderView as
|
|
3
|
+
import { s as l, t as c, w as d } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { DesignTokenUtils as f } from "../DesignTokens/DesignTokenUtils.js";
|
|
5
|
+
import { ThemeProviderView as x } from "./components/ThemeProviderView.js";
|
|
6
6
|
import { ETriplexNextTheme as u } from "./ETriplexNextTheme.js";
|
|
7
7
|
const h = (o) => `${o}${Date.now()}${Math.floor(Math.random() * 1e6)}`, C = ({
|
|
8
8
|
children: o,
|
|
@@ -14,11 +14,11 @@ const h = (o) => `${o}${Date.now()}${Math.floor(Math.random() * 1e6)}`, C = ({
|
|
|
14
14
|
const e = p(() => s || h("triplex-next-theme-"), [s]);
|
|
15
15
|
return m(() => {
|
|
16
16
|
if (l()) {
|
|
17
|
-
const n = `.${e} {${
|
|
17
|
+
const n = `.${e} {${f.getStyle(t, r || {})}}`;
|
|
18
18
|
c(n, `triplex-next-dynamic-tokens-${e}`);
|
|
19
19
|
} else
|
|
20
20
|
console.log("ThemeProvider", "SSR do not support dynamic theme with css variables.");
|
|
21
|
-
}, [e, t, r]), m(() => () =>
|
|
21
|
+
}, [e, t, r]), m(() => () => d(`triplex-next-dynamic-tokens-${e}`), [e]), /* @__PURE__ */ a(x, { scopeClassName: e, scopeRef: i, theme: t, tokens: r, children: o });
|
|
22
22
|
};
|
|
23
23
|
export {
|
|
24
24
|
C as ThemeProvider
|
|
@@ -6,7 +6,7 @@ import { DesignTokensCore as p } from "../../DesignTokens/DesignTokensCore.js";
|
|
|
6
6
|
import { DesignTokensCoreThemeDark as v } from "../../DesignTokens/DesignTokensCoreThemeDark.js";
|
|
7
7
|
import { DesignTokensComponents as x } from "../../DesignTokens/DesignTokensComponents.js";
|
|
8
8
|
import { DesignTokensComponentsThemeDark as c } from "../../DesignTokens/DesignTokensComponentsThemeDark.js";
|
|
9
|
-
import { k as g } from "../../../chunks/vendor
|
|
9
|
+
import { k as g } from "../../../chunks/vendor-z35N2Tap.js";
|
|
10
10
|
const w = ({
|
|
11
11
|
children: T,
|
|
12
12
|
scopeClassName: o,
|
|
@@ -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-z35N2Tap.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-COHJz2TY.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,27 +1,27 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { MobileView as
|
|
5
|
-
const k = "
|
|
2
|
+
import l from "react";
|
|
3
|
+
import { c as a } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { MobileView as n } from "../../../MobileView/MobileView.js";
|
|
5
|
+
const k = "tooltipLink__a3a0c5e5", r = "desktop__78d1268f", m = "mobile__019bbeab", o = {
|
|
6
6
|
tooltipLink: k,
|
|
7
7
|
desktop: r,
|
|
8
8
|
mobile: m
|
|
9
|
-
}, c =
|
|
10
|
-
({ children: i, className: e, ...p }, s) => /* @__PURE__ */ t(
|
|
9
|
+
}, c = l.forwardRef(
|
|
10
|
+
({ children: i, className: e, ...p }, s) => /* @__PURE__ */ t(n, { fallback: /* @__PURE__ */ t(
|
|
11
11
|
"a",
|
|
12
12
|
{
|
|
13
|
-
className:
|
|
13
|
+
className: a(o.tooltipLink, o.desktop, e),
|
|
14
14
|
...p,
|
|
15
|
-
"data-tx": "0.
|
|
15
|
+
"data-tx": "0.30.0",
|
|
16
16
|
ref: s,
|
|
17
17
|
children: i
|
|
18
18
|
}
|
|
19
19
|
), children: /* @__PURE__ */ t(
|
|
20
20
|
"a",
|
|
21
21
|
{
|
|
22
|
-
className:
|
|
22
|
+
className: a(o.tooltipLink, o.mobile, e),
|
|
23
23
|
...p,
|
|
24
|
-
"data-tx": "0.
|
|
24
|
+
"data-tx": "0.30.0",
|
|
25
25
|
ref: s,
|
|
26
26
|
children: i
|
|
27
27
|
}
|
|
@@ -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-COHJz2TY.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-z35N2Tap.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-COHJz2TY.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-z35N2Tap.js";
|
|
5
|
+
import { s as t } from "../../../../../chunks/TooltipDesktop.module-COHJz2TY.js";
|
|
6
6
|
const m = a.forwardRef((r, i) => {
|
|
7
7
|
const { direction: s } = r;
|
|
8
8
|
let o;
|
|
@@ -5,8 +5,8 @@ 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-z35N2Tap.js";
|
|
9
|
+
const N = "tooltipMobile__025a9d2b", T = "tooltipMobileContent__bee7e5ca", g = "headerless__581cb6ac", H = "closeButton__0d2c9912", o = {
|
|
10
10
|
tooltipMobile: N,
|
|
11
11
|
tooltipMobileContent: T,
|
|
12
12
|
headerless: g,
|
|
@@ -21,31 +21,31 @@ const N = "tooltipMobile__124b2d86", T = "tooltipMobileContent__76a17386", g = "
|
|
|
21
21
|
onShow: l,
|
|
22
22
|
...d
|
|
23
23
|
}) => {
|
|
24
|
-
const { elements:
|
|
24
|
+
const { elements: e, setTooltipOpen: a } = u(C), i = f(null), p = 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
|
{
|
|
37
|
-
className:
|
|
37
|
+
className: p,
|
|
38
38
|
tabIndex: -1,
|
|
39
39
|
opened: t,
|
|
40
|
-
setOpened:
|
|
40
|
+
setOpened: a,
|
|
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
|
|
1
|
+
import { jsx as a, jsxs as C, Fragment as I } 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-z35N2Tap.js";
|
|
6
|
+
const E = "topOverlayMask__b5ad18ca", w = "topOverlayWrapper__2a809273", A = "closing__8759bfcb", D = "opened__49f2d5a4", V = "topOverlayPanel__d1e91180", $ = "topOverlay__eee4bca6", t = {
|
|
7
7
|
topOverlayMask: E,
|
|
8
8
|
topOverlayWrapper: w,
|
|
9
9
|
closing: A,
|
|
@@ -12,13 +12,13 @@ const E = "topOverlayMask__fc454e31", w = "topOverlayWrapper__9bfce16e", A = "cl
|
|
|
12
12
|
topOverlay: $
|
|
13
13
|
}, K = ({
|
|
14
14
|
children: _,
|
|
15
|
-
focusTrapProps:
|
|
15
|
+
focusTrapProps: o,
|
|
16
16
|
opened: e,
|
|
17
17
|
onClose: l,
|
|
18
18
|
onOpen: n,
|
|
19
19
|
...h
|
|
20
20
|
}) => {
|
|
21
|
-
const [W,
|
|
21
|
+
const [W, d] = y(!1), [x, u] = y(!1), [f, c] = y(0), p = g(e), s = g(null), m = () => {
|
|
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(
|
|
@@ -32,48 +32,48 @@ const E = "topOverlayMask__fc454e31", w = "topOverlayWrapper__9bfce16e", A = "cl
|
|
|
32
32
|
m(), u(!0), n == null || n();
|
|
33
33
|
};
|
|
34
34
|
B(() => {
|
|
35
|
-
p.current && !e ?
|
|
35
|
+
p.current && !e ? d(!0) : !p.current && e && m(), p.current = e;
|
|
36
36
|
}, [e]);
|
|
37
37
|
const M = () => {
|
|
38
|
-
|
|
39
|
-
}, T = () => u(!1),
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */
|
|
42
|
-
] }),
|
|
43
|
-
},
|
|
38
|
+
d(!1), c(0), l == null || l();
|
|
39
|
+
}, T = () => u(!1), b = (r) => /* @__PURE__ */ C(I, { children: [
|
|
40
|
+
/* @__PURE__ */ a(O.Mask, { opened: r.opened, className: t.topOverlayMask }),
|
|
41
|
+
/* @__PURE__ */ a(O.Panel, { className: t.topOverlayPanel, ...r, children: _ })
|
|
42
|
+
] }), F = () => {
|
|
43
|
+
}, N = S(t.topOverlayWrapper, {
|
|
44
44
|
[t.closing]: W,
|
|
45
45
|
[t.opened]: e
|
|
46
|
-
}),
|
|
46
|
+
}), P = /* @__PURE__ */ a(
|
|
47
47
|
O,
|
|
48
48
|
{
|
|
49
49
|
onClose: M,
|
|
50
50
|
onClosing: T,
|
|
51
51
|
onOpen: k,
|
|
52
52
|
opened: e,
|
|
53
|
-
setOpened:
|
|
53
|
+
setOpened: F,
|
|
54
54
|
...h,
|
|
55
55
|
className: t.topOverlay,
|
|
56
56
|
direction: R.TOP,
|
|
57
|
-
children:
|
|
57
|
+
children: b
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
|
-
return /* @__PURE__ */
|
|
60
|
+
return /* @__PURE__ */ a(
|
|
61
61
|
j,
|
|
62
62
|
{
|
|
63
63
|
active: x,
|
|
64
|
-
...
|
|
64
|
+
...o,
|
|
65
65
|
focusTrapOptions: {
|
|
66
66
|
allowOutsideClick: !0,
|
|
67
67
|
preventScroll: !0,
|
|
68
|
-
...
|
|
68
|
+
...o == null ? void 0 : o.focusTrapOptions
|
|
69
69
|
},
|
|
70
|
-
children: /* @__PURE__ */
|
|
70
|
+
children: /* @__PURE__ */ a(
|
|
71
71
|
"div",
|
|
72
72
|
{
|
|
73
|
-
className:
|
|
73
|
+
className: N,
|
|
74
74
|
ref: s,
|
|
75
|
-
style:
|
|
76
|
-
children:
|
|
75
|
+
style: f ? { top: `${f}px` } : void 0,
|
|
76
|
+
children: P
|
|
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-z35N2Tap.js";
|
|
13
|
+
import { s as w } from "../../chunks/TreeView.module-Cxj4qOdA.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-Cxj4qOdA.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-z35N2Tap.js";
|
|
10
|
+
import { s as C } from "../../../chunks/TreeView.module-Cxj4qOdA.js";
|
|
11
11
|
class V extends l.Component {
|
|
12
12
|
constructor(e) {
|
|
13
13
|
super(e);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TreeView as o } from "./TreeView.js";
|
|
2
|
+
import { TreeViewNode as i, TreeViewNodeWithContext as p } from "./components/TreeViewNode.js";
|
|
3
|
+
import { TreeViewGroup as x } from "./components/TreeViewGroup.js";
|
|
4
|
+
export {
|
|
5
|
+
o as TreeView,
|
|
6
|
+
x as TreeViewGroup,
|
|
7
|
+
i as TreeViewNode,
|
|
8
|
+
p as TreeViewNodeWithContext
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { jsx as E } from "react/jsx-runtime";
|
|
2
2
|
import S from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
import { ECaptionSize as s, EFontWeightCaption as
|
|
5
|
-
import { t, F as
|
|
6
|
-
const
|
|
7
|
-
caption:
|
|
3
|
+
import { c as T } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { ECaptionSize as s, EFontWeightCaption as e, EFontType as g } from "./enums.js";
|
|
5
|
+
import { t, F as C } from "../../chunks/constants-CgVlsuXP.js";
|
|
6
|
+
const b = "caption__a2862e98", y = "regular__eea5675c", M = "semibold__6deb3387", R = "c1__260bb6e6", f = "c2__817cada0", N = "d1__bcc5de89", o = {
|
|
7
|
+
caption: b,
|
|
8
8
|
regular: y,
|
|
9
9
|
semibold: M,
|
|
10
10
|
c1: R,
|
|
11
|
-
c2:
|
|
12
|
-
d1:
|
|
11
|
+
c2: f,
|
|
12
|
+
d1: N
|
|
13
13
|
}, L = {
|
|
14
14
|
[s.C1]: o.c1,
|
|
15
15
|
[s.C2]: o.c2,
|
|
16
16
|
[s.D1]: o.d1
|
|
17
17
|
}, O = {
|
|
18
|
-
[
|
|
19
|
-
[
|
|
18
|
+
[e.REGULAR]: o.regular,
|
|
19
|
+
[e.SEMIBOLD]: o.semibold
|
|
20
20
|
}, u = S.forwardRef(
|
|
21
21
|
({
|
|
22
|
-
children:
|
|
23
|
-
className:
|
|
22
|
+
children: _,
|
|
23
|
+
className: r,
|
|
24
24
|
size: n,
|
|
25
25
|
tag: p,
|
|
26
|
-
weight: i =
|
|
27
|
-
type: m =
|
|
26
|
+
weight: i = e.REGULAR,
|
|
27
|
+
type: m = g.PRIMARY,
|
|
28
28
|
underline: c,
|
|
29
29
|
strikethrough: a,
|
|
30
|
-
...
|
|
31
|
-
},
|
|
32
|
-
const A =
|
|
30
|
+
...l
|
|
31
|
+
}, d) => {
|
|
32
|
+
const A = T(
|
|
33
33
|
t.typography,
|
|
34
34
|
o.caption,
|
|
35
35
|
L[n],
|
|
36
36
|
O[i],
|
|
37
|
-
|
|
37
|
+
C[m],
|
|
38
38
|
{
|
|
39
39
|
[t.strikethrough]: !!a && !c,
|
|
40
40
|
[t.underline]: !!c && !a,
|
|
41
41
|
[t.underlineStrikethrough]: !!a && !!c
|
|
42
42
|
},
|
|
43
|
-
|
|
43
|
+
r
|
|
44
44
|
);
|
|
45
|
-
return /* @__PURE__ */ E(p || "span", { ref:
|
|
45
|
+
return /* @__PURE__ */ E(p || "span", { ref: d, className: A, ...l, children: _ });
|
|
46
46
|
}
|
|
47
47
|
);
|
|
48
48
|
u.displayName = "Caption";
|