@sberbusiness/triplex-next 1.29.0 → 1.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-B4-vQnzw.js → AlertProcessSpoiler-BIiexkiG.js} +5 -5
- package/chunks/{CalendarViewItem-5_px9kHt.js → CalendarViewItem-DZix7Wi3.js} +26 -26
- package/chunks/Card.module-C57O8DQ9.js +18 -0
- package/chunks/CheckboxTreeExtended.module-D_Xqk2Z0.js +15 -0
- package/chunks/Chip-D73o-tIk.js +77 -0
- package/chunks/Confirm.module-CUcXlA0E.js +15 -0
- package/chunks/{DropdownListItem-C7Maa_Sz.js → DropdownListItem-PhDNj_sI.js} +12 -12
- package/chunks/DropdownMobile.module-DL87iBcj.js +23 -0
- package/chunks/Footer.module-DZzX_hiB.js +9 -0
- package/chunks/{FormFieldInput-BgrEEHVa.js → FormFieldInput-Du3nMTry.js} +18 -18
- package/chunks/HeaderLayoutSidebar.module-BOcwOhH9.js +9 -0
- package/chunks/HeaderTabs.module-D5xnWADy.js +9 -0
- package/chunks/{HeaderTitle.module-fEjlMYZ7.js → HeaderTitle.module-mufXm8bf.js} +2 -2
- package/chunks/IslandAccordion.module-cWQkjySQ.js +25 -0
- package/chunks/IslandWidgetFooter.module-K-i_a4VV.js +9 -0
- package/chunks/IslandWidgetHeader.module-BU39_xm_.js +13 -0
- package/chunks/{LightBoxContent-DdWEYnjf.js → LightBoxContent-oXmUc0O4.js} +7 -7
- package/chunks/LightBoxControls.module-BOBUS8MF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BLxHQH7u.js +9 -0
- package/chunks/{ListItemControlsButton-BrWqPMvQ.js → ListItemControlsButton-Cn_qKgVF.js} +8 -8
- package/chunks/ListItemTail.module-D7OEUQSH.js +12 -0
- package/chunks/ListMasterFooter.module-B2oYxI3b.js +10 -0
- package/chunks/ModalWindow.module-B7YcXJ55.js +17 -0
- package/chunks/Notification.module-OkzyDWlc.js +20 -0
- package/chunks/Overlay.module-CBlckNkR.js +18 -0
- package/chunks/Page.module-BkDd7q7x.js +11 -0
- package/chunks/SMSField.module-BBRpa0-4.js +16 -0
- package/chunks/SliderExtendedMarks.module-DOunMVrv.js +15 -0
- package/chunks/{SliderExtendedRail-B7cZIw4b.js → SliderExtendedRail-Cr47EmrH.js} +10 -10
- package/chunks/StatusTracker.module-B6VeAoHW.js +24 -0
- package/chunks/{StepperStepArrowBorder-BDDBpgah.js → StepperStepArrowBorder-C6up4LVv.js} +10 -10
- package/chunks/{SuggestFieldMobileDropdownHint-o1c16I20.js → SuggestFieldMobileDropdownHint-BZyaIt1i.js} +4 -4
- package/chunks/TableFooter.module-Exx3Pc8E.js +14 -0
- package/chunks/TabsExtended.module-D8onFEnM.js +16 -0
- package/chunks/TabsLine.module-BvYF3ue-.js +21 -0
- package/chunks/TooltipDesktop.module-DD0ESKwE.js +19 -0
- package/chunks/TreeView.module-ClEsZNDe.js +9 -0
- package/chunks/{UploadZoneInput-DRnwuj7v.js → UploadZoneInput-BbaamBLA.js} +9 -9
- package/chunks/{constants-BbgGoE1H.js → constants-DG4U-QtS.js} +12 -12
- package/chunks/utils-2vVjLvvg.js +24 -0
- package/chunks/{utils-BG289Tpd.js → utils-BTk2T8x6.js} +5 -5
- package/chunks/{utils-Cev1dXzE.js → utils-Bk10DX0W.js} +11 -11
- package/chunks/{utils-DmWZdfw8.js → utils-DgpN6CSa.js} +8 -8
- package/chunks/{vendor-C_uS77iF.js → vendor-82AnkPpo.js} +47 -44
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +11 -11
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +11 -11
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +25 -25
- package/components/Badge/Badge.js +12 -12
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +9 -9
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +27 -27
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +11 -11
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +4 -4
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/Checkbox/Checkbox.js +3 -3
- package/components/Checkbox/CheckboxXGroup.js +10 -10
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- 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/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 +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +137 -137
- 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/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +12 -12
- 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/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 +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +22 -22
- 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 +5 -5
- 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 +2 -2
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/EmptyView/EmptyView.js +16 -16
- package/components/ExpandAnimation/ExpandAnimation.js +18 -18
- 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 +25 -25
- package/components/FormField/components/FormFieldClear.js +2 -2
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +21 -21
- package/components/FormField/components/FormFieldPostfix.js +24 -17
- package/components/FormField/components/FormFieldPrefix.js +24 -17
- package/components/FormField/components/FormFieldTarget.js +19 -19
- package/components/FormField/components/FormFieldTextarea.js +24 -24
- 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 +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 +9 -9
- package/components/IconWrapper/IconWrapper.js +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- 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 +11 -11
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +16 -16
- 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 +11 -11
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +12 -12
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +8 -8
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +8 -8
- package/components/List/components/ListItemContent.js +21 -16
- package/components/List/components/ListItemContext.js +5 -2
- package/components/List/components/ListItemControls.js +7 -7
- 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 +28 -25
- package/components/List/components/ListItemTable.js +21 -20
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +7 -7
- package/components/List/components/ListSortableItemControls.js +2 -2
- 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 +2 -2
- 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 +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +7 -7
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +6 -6
- 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/MonthYearRange/MonthYearRange.js +6 -6
- package/components/MultiselectField/MultiselectField.js +19 -14
- package/components/MultiselectField/MultiselectFieldContext.js +5 -4
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +34 -31
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +13 -13
- 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 +3 -3
- 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/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +7 -7
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +6 -6
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +6 -6
- 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 +27 -27
- 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 +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +8 -8
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +25 -25
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +16 -16
- 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/Stepper.js +14 -14
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +16 -16
- 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 +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +18 -18
- package/components/Table/NoColumns.js +4 -4
- 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 +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- 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 +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +18 -18
- 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 +1 -1
- package/components/Tag/Tag.js +25 -25
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +24 -19
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +11 -11
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/TopOverlay/TopOverlay.js +8 -8
- 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 +24 -24
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +14 -14
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +9 -9
- 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 +1 -1
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +587 -579
- package/index.d.ts +134 -58
- package/index.js +628 -620
- package/package.json +8 -4
- package/styles/triplex-next.css +541 -538
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-Dx8nOFB3.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Bjimmb7-.js +0 -15
- package/chunks/Chip-D-_oIu-h.js +0 -77
- package/chunks/Confirm.module-CLPl_MFI.js +0 -15
- package/chunks/DropdownMobile.module-CaYNuqHU.js +0 -23
- package/chunks/Footer.module-B8adM4Do.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Cdc1sffY.js +0 -9
- package/chunks/HeaderTabs.module-DmDFhCmD.js +0 -9
- package/chunks/IslandAccordion.module-CNo4iFh8.js +0 -25
- package/chunks/IslandWidgetFooter.module-DZ6hXw2D.js +0 -9
- package/chunks/IslandWidgetHeader.module-CEVaTpbx.js +0 -13
- package/chunks/LightBoxControls.module-CnAa2Vmk.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Du9-TT1c.js +0 -9
- package/chunks/ListItemTail.module-ZBSoUByF.js +0 -12
- package/chunks/ListMasterFooter.module-CeZvln77.js +0 -10
- package/chunks/ModalWindow.module-lrXOmH_L.js +0 -17
- package/chunks/Notification.module-ZlSN0MGm.js +0 -20
- package/chunks/Overlay.module-BlvGry2e.js +0 -18
- package/chunks/Page.module-BkU_qm35.js +0 -11
- package/chunks/SMSField.module-DQdb4DNu.js +0 -16
- package/chunks/SliderExtendedMarks.module-BWYZDQtm.js +0 -15
- package/chunks/StatusTracker.module-C645B9ye.js +0 -24
- package/chunks/TableFooter.module-Bw739QXw.js +0 -14
- package/chunks/TabsExtended.module-DwTyq4mg.js +0 -16
- package/chunks/TabsLine.module-6sKjO9lB.js +0 -21
- package/chunks/TooltipDesktop.module-D1eY6eNm.js +0 -19
- package/chunks/TreeView.module-B4d0aSMp.js +0 -9
- package/chunks/utils-XC0joCai.js +0 -24
- package/components/CollapsableTree/CollapsableTree.js +0 -10
- package/components/CollapsableTree/components/CollapsableTreeNode.js +0 -79
- package/components/CollapsableTree/index.js +0 -7
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsxs as y, jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as y, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import r from "react";
|
|
3
3
|
import { SliderExtendedContext as _ } from "../../SliderExtendedContext.js";
|
|
4
|
-
import { c as e } from "../../../../chunks/vendor-
|
|
4
|
+
import { c as e } from "../../../../chunks/vendor-82AnkPpo.js";
|
|
5
5
|
import { createSizeToClassNameMap as v } from "../../../../utils/classNameMaps.js";
|
|
6
|
-
const E = "
|
|
6
|
+
const E = "sliderExtendedTooltipOverlay__a6dc99c6", C = "lg__388a3330", N = "tooltipBody__896d1309", O = "tooltipTip__64207458", t = {
|
|
7
7
|
sliderExtendedTooltipOverlay: E,
|
|
8
8
|
lg: C,
|
|
9
9
|
tooltipBody: N,
|
|
10
10
|
tooltipTip: O
|
|
11
11
|
}, h = v(t), W = ({
|
|
12
12
|
value: i,
|
|
13
|
-
children:
|
|
13
|
+
children: d,
|
|
14
14
|
...c
|
|
15
15
|
}) => {
|
|
16
|
-
const o =
|
|
16
|
+
const o = r.useRef(null), { min: l, max: p, size: a } = r.useContext(_), m = () => {
|
|
17
17
|
var s;
|
|
18
18
|
if (!o.current || i === void 0)
|
|
19
19
|
return 0;
|
|
@@ -27,8 +27,8 @@ const E = "sliderExtendedTooltipOverlay__01c6afd8", C = "lg__6d9db24b", N = "too
|
|
|
27
27
|
className: e(t.sliderExtendedTooltipOverlay, h[a]),
|
|
28
28
|
...c,
|
|
29
29
|
children: [
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ n("div", { className: e(t.tooltipBody), style: { left: `${m()}px` }, children: d }),
|
|
31
|
+
/* @__PURE__ */ n("div", { className: e(t.tooltipTip) })
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as B, Fragment as L, jsx as h } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
4
|
-
import { SliderExtendedContext as
|
|
2
|
+
import { useState as l, useContext as le, useRef as O, useLayoutEffect as P } from "react";
|
|
3
|
+
import { c as ae, l as X } from "../../../../chunks/vendor-82AnkPpo.js";
|
|
4
|
+
import { SliderExtendedContext as de } from "../../SliderExtendedContext.js";
|
|
5
5
|
import { SliderExtendedMoveHandler as ce } from "../SliderExtendedMoveHandler.js";
|
|
6
6
|
import { SliderExtendedUtils as z } from "../../SliderExtendedUtils.js";
|
|
7
|
-
import { SliderExtendedTrackActions as
|
|
7
|
+
import { SliderExtendedTrackActions as a } from "./SliderExtendedTrackActions.js";
|
|
8
8
|
import { EVENT_KEY_CODES as g } from "../../../../utils/keyboard.js";
|
|
9
9
|
import { KeyDownListener as F } from "../../../KeyDownListener/KeyDownListener.js";
|
|
10
10
|
import { createSizeToClassNameMap as ie } from "../../../../utils/classNameMaps.js";
|
|
11
|
-
const ne = "
|
|
11
|
+
const ne = "sliderExtendedTrack__fafb6885", fe = "lg__388a3330", ue = "focusedByClick__ed02356b", me = "hoverOrDragByMouse__7a0de28e", he = "staticSlider__343bf084", ge = "disabled__ebfd6efa", o = {
|
|
12
12
|
sliderExtendedTrack: ne,
|
|
13
|
-
lg:
|
|
14
|
-
focusedByClick:
|
|
13
|
+
lg: fe,
|
|
14
|
+
focusedByClick: ue,
|
|
15
15
|
hoverOrDragByMouse: me,
|
|
16
16
|
staticSlider: he,
|
|
17
17
|
disabled: ge
|
|
@@ -26,7 +26,7 @@ const ne = "sliderExtendedTrack__26f47086", ue = "lg__6d9db24b", fe = "focusedBy
|
|
|
26
26
|
onTouchStart: y,
|
|
27
27
|
...A
|
|
28
28
|
}) => {
|
|
29
|
-
const [W, k] =
|
|
29
|
+
const [W, k] = l(!1), [d, C] = l(!1), [H, v] = l(!1), [V, c] = l(!1), [U, S] = l(-1), {
|
|
30
30
|
disabled: M,
|
|
31
31
|
dots: s,
|
|
32
32
|
focused: i,
|
|
@@ -35,49 +35,49 @@ const ne = "sliderExtendedTrack__26f47086", ue = "lg__6d9db24b", fe = "focusedBy
|
|
|
35
35
|
setIsHoverOrDragTrack: n,
|
|
36
36
|
reverse: _,
|
|
37
37
|
setFocused: R,
|
|
38
|
-
steps:
|
|
38
|
+
steps: f,
|
|
39
39
|
size: $
|
|
40
|
-
} = de
|
|
40
|
+
} = le(de), u = O(0), m = O(null);
|
|
41
41
|
if (P(() => {
|
|
42
|
-
s.length > 1 && b ?
|
|
42
|
+
s.length > 1 && b ? d || C(!0) : d !== !1 && C(!1);
|
|
43
43
|
}, [s, b]), P(() => {
|
|
44
44
|
s.length > 1 && S(i ? 2 : -1);
|
|
45
45
|
}, [i]), !s.length)
|
|
46
46
|
return null;
|
|
47
47
|
const w = (e) => (t) => {
|
|
48
|
-
v(!0), c(!0), document.addEventListener("mouseup", N), r && (
|
|
48
|
+
v(!0), c(!0), document.addEventListener("mouseup", N), r && (u.current = z.getNormalizedCursorValue({
|
|
49
49
|
cursorXPosition: t.clientX,
|
|
50
50
|
railNode: r
|
|
51
51
|
})), e(t), x == null || x(t);
|
|
52
|
-
}, G = (e) =>
|
|
53
|
-
cursorPrevNormalizedValue:
|
|
52
|
+
}, G = (e) => a.dragDots({
|
|
53
|
+
cursorPrevNormalizedValue: u,
|
|
54
54
|
cursorXPosition: e.clientX,
|
|
55
55
|
dots: s,
|
|
56
56
|
railNode: r,
|
|
57
57
|
reverse: _,
|
|
58
|
-
steps:
|
|
58
|
+
steps: f
|
|
59
59
|
}), N = (e) => {
|
|
60
60
|
c(!1), e.target !== m.current && n(!1), document.removeEventListener("mouseup", N);
|
|
61
61
|
}, Y = (e) => (t) => {
|
|
62
|
-
t.touches.length == 1 && (v(!0), c(!0), document.addEventListener("touchend", I), r && (
|
|
62
|
+
t.touches.length == 1 && (v(!0), c(!0), document.addEventListener("touchend", I), r && (u.current = z.getNormalizedCursorValue({
|
|
63
63
|
cursorXPosition: t.touches[0].clientX,
|
|
64
64
|
railNode: r
|
|
65
65
|
})), e(t), y == null || y(t));
|
|
66
66
|
}, q = (e) => {
|
|
67
|
-
e.touches.length == 1 && (e.cancelable && e.preventDefault(),
|
|
68
|
-
cursorPrevNormalizedValue:
|
|
67
|
+
e.touches.length == 1 && (e.cancelable && e.preventDefault(), a.dragDots({
|
|
68
|
+
cursorPrevNormalizedValue: u,
|
|
69
69
|
cursorXPosition: e.touches[0].clientX,
|
|
70
70
|
dots: s,
|
|
71
71
|
railNode: r,
|
|
72
72
|
reverse: _,
|
|
73
|
-
steps:
|
|
73
|
+
steps: f
|
|
74
74
|
}));
|
|
75
75
|
}, I = (e) => {
|
|
76
76
|
e.cancelable && e.preventDefault(), c(!1), e.target !== m.current && n(!1), document.removeEventListener("touchend", I);
|
|
77
77
|
}, J = (e) => {
|
|
78
|
-
e.preventDefault(),
|
|
78
|
+
e.preventDefault(), a.moveToPrevStep(s, f);
|
|
79
79
|
}, Q = (e) => {
|
|
80
|
-
e.preventDefault(),
|
|
80
|
+
e.preventDefault(), a.moveToNextStep(s, f);
|
|
81
81
|
}, Z = (e) => {
|
|
82
82
|
i || R(!0), k(!0), E == null || E(e);
|
|
83
83
|
}, ee = (e) => {
|
|
@@ -86,7 +86,7 @@ const ne = "sliderExtendedTrack__26f47086", ue = "lg__6d9db24b", fe = "focusedBy
|
|
|
86
86
|
n(!0), D == null || D(e);
|
|
87
87
|
}, se = (e) => {
|
|
88
88
|
V || n(!1), T == null || T(e);
|
|
89
|
-
}, { left: re, right: oe } =
|
|
89
|
+
}, { left: re, right: oe } = a.getTrackPosition({ dots: s, reverse: _ });
|
|
90
90
|
return /* @__PURE__ */ B(L, { children: [
|
|
91
91
|
W && /* @__PURE__ */ B(L, { children: [
|
|
92
92
|
/* @__PURE__ */ h(
|
|
@@ -114,14 +114,14 @@ const ne = "sliderExtendedTrack__26f47086", ue = "lg__6d9db24b", fe = "focusedBy
|
|
|
114
114
|
"span",
|
|
115
115
|
{
|
|
116
116
|
role: "button",
|
|
117
|
-
tabIndex: !M &&
|
|
117
|
+
tabIndex: !M && d ? U : -1,
|
|
118
118
|
...A,
|
|
119
|
-
className:
|
|
119
|
+
className: ae(o.sliderExtendedTrack, pe[$], K, {
|
|
120
120
|
[o.disabled]: M,
|
|
121
121
|
[o.focusedByClick]: H,
|
|
122
122
|
[o.hoverOrDragByMouse]: j,
|
|
123
123
|
// Не перетаскиваемый.
|
|
124
|
-
[o.staticSlider]: !
|
|
124
|
+
[o.staticSlider]: !d
|
|
125
125
|
}),
|
|
126
126
|
onBlur: ee,
|
|
127
127
|
onFocus: Z,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
4
|
-
const o = "
|
|
3
|
+
import { c as p } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
|
+
const o = "smallInput__4fa13d81", n = {
|
|
5
5
|
smallInput: o
|
|
6
6
|
}, e = m.forwardRef(({ className: t, ...l }, a) => /* @__PURE__ */ s("input", { className: p(n.smallInput, t), ...l, type: "text", ref: a }));
|
|
7
7
|
e.displayName = "SmallInput";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import z, { useState as T, useRef as E, useCallback as w } from "react";
|
|
3
3
|
import { CaretdownStrokeSrvIcon20 as p, CaretdownStrokeSrvIcon16 as B } from "@sberbusiness/icons-next";
|
|
4
4
|
import { Button as L } from "../Button/Button.js";
|
|
@@ -7,10 +7,10 @@ import "../Button/ButtonIcon.js";
|
|
|
7
7
|
import "../Button/ButtonDropdown.js";
|
|
8
8
|
import "../Button/ButtonDropdownExtended.js";
|
|
9
9
|
import { EButtonTheme as R } from "../Button/enums.js";
|
|
10
|
-
import { EComponentSize as
|
|
10
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
12
|
-
import { u as j, c as _ } from "../../chunks/vendor-
|
|
13
|
-
const y = "
|
|
12
|
+
import { u as j, c as _ } from "../../chunks/vendor-82AnkPpo.js";
|
|
13
|
+
const y = "spoiler__528d0fad", D = "opened__7775d429", q = "caretIcon__998e0249", A = "head__a0b4601d", G = "content__d3a6a38c", H = "hidden__b6ad9261", K = "lg__c36f7b82", $ = "md__51303f42", F = "sm__c6b4c64c", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,25 +21,25 @@ const y = "spoiler__0b051546", D = "opened__8ca21b4e", q = "caretIcon__0c0c209f"
|
|
|
21
21
|
md: $,
|
|
22
22
|
sm: F
|
|
23
23
|
}, J = {
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
24
|
+
[s.SM]: /* @__PURE__ */ a(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
|
+
[s.MD]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
|
+
[s.LG]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon })
|
|
27
27
|
}, O = g(e), P = z.forwardRef((f, h) => {
|
|
28
28
|
const {
|
|
29
29
|
children: I,
|
|
30
|
-
expanded:
|
|
30
|
+
expanded: c,
|
|
31
31
|
onToggle: o,
|
|
32
|
-
toggle:
|
|
32
|
+
toggle: n,
|
|
33
33
|
className: x,
|
|
34
34
|
labelExpand: S,
|
|
35
35
|
labelCollapse: u,
|
|
36
36
|
rightBlock: N,
|
|
37
|
-
size: r =
|
|
38
|
-
...
|
|
39
|
-
} = f, d =
|
|
37
|
+
size: r = s.MD,
|
|
38
|
+
...C
|
|
39
|
+
} = f, d = c !== void 0, [b, v] = T(c), t = d ? c : b, m = E(`Spoiler-${j()}`), M = w(() => {
|
|
40
40
|
const i = !t;
|
|
41
|
-
d ?
|
|
42
|
-
}, [d,
|
|
41
|
+
d ? n == null || n(i) : v(i), o == null || o(i);
|
|
42
|
+
}, [d, n, t, o]), k = _(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
45
45
|
{
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__0b051546", D = "opened__8ca21b4e", q = "caretIcon__0c0c209f"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...C, className: k, "data-tx": "1.30.0", ref: h, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -65,7 +65,7 @@ const y = "spoiler__0b051546", D = "opened__8ca21b4e", q = "caretIcon__0c0c209f"
|
|
|
65
65
|
),
|
|
66
66
|
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ a("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: I })
|
|
69
69
|
] });
|
|
70
70
|
});
|
|
71
71
|
P.displayName = "Spoiler";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as T, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as a } from "../../chunks/vendor-
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
3
|
+
import { c as a } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
5
5
|
import { EStatusTrackerType as t, EStatusTrackerVerticalAlign as o } from "./enums.js";
|
|
6
6
|
import { StatusTrackerMedia as u } from "./components/StatusTrackerMedia.js";
|
|
7
7
|
import { StatusTrackerHeader as k } from "./components/StatusTrackerHeader.js";
|
|
@@ -27,7 +27,7 @@ const i = {
|
|
|
27
27
|
className: a(r.statusTrackerWrapper, m),
|
|
28
28
|
...d,
|
|
29
29
|
ref: p,
|
|
30
|
-
"data-tx": "1.
|
|
30
|
+
"data-tx": "1.30.0",
|
|
31
31
|
children: [
|
|
32
32
|
/* @__PURE__ */ s("div", { className: a(r.statusTrackerBackground, i[e]), children: /* @__PURE__ */ s("div", { className: a(r.statusTrackerColor, i[e]) }) }, e),
|
|
33
33
|
/* @__PURE__ */ s("div", { className: a(r.statusTracker, S[l]), children: c })
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../../chunks/vendor-
|
|
2
|
+
import { c as m } from "../../../chunks/vendor-82AnkPpo.js";
|
|
3
3
|
import "../../Alert/AlertContext/AlertContext.js";
|
|
4
4
|
import { AlertProcess as i } from "../../Alert/AlertProcess/AlertProcess.js";
|
|
5
5
|
import "../../Alert/AlertTypeUtils.js";
|
|
6
|
-
import { s as p } from "../../../chunks/StatusTracker.module-
|
|
6
|
+
import { s as p } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
7
7
|
import { ETextSize as c, EFontType as a } from "../../Typography/enums.js";
|
|
8
8
|
import "../../Typography/Caption.js";
|
|
9
9
|
import "../../Typography/CodeText.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { StatusTrackerStatus as c } from "./StatusTrackerStatus.js";
|
|
5
5
|
import { StatusTrackerAlert as i } from "./StatusTrackerAlert.js";
|
|
6
|
-
import { s as u } from "../../../chunks/StatusTracker.module-
|
|
6
|
+
import { s as u } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
e.forwardRef(function({ children: t, className: r, ...a }, s) {
|
|
9
9
|
return /* @__PURE__ */ o("div", { className: m(u.statusTrackerChild, r), ...a, ref: s, children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../../chunks/vendor-
|
|
3
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c as m } from "../../../chunks/vendor-82AnkPpo.js";
|
|
3
|
+
import { s as a } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
4
4
|
import { Button as p } from "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
6
6
|
import "../../Button/ButtonIcon.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../chunks/vendor-
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-82AnkPpo.js";
|
|
3
3
|
import { ETextSize as m, EFontType as p } from "../../Typography/enums.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
5
|
import "../../Typography/CodeText.js";
|
|
6
6
|
import { Text as c } from "../../Typography/Text.js";
|
|
7
7
|
import "../../Typography/Title.js";
|
|
8
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
8
|
+
import { s as a } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
9
9
|
const E = (r) => {
|
|
10
10
|
const { children: t, className: s, ...o } = r;
|
|
11
11
|
return /* @__PURE__ */ e(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
|
-
import { c as i } from "../../../chunks/vendor-
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { c as i } from "../../../chunks/vendor-82AnkPpo.js";
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
5
5
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
6
6
|
import { StatusTrackerButton as p } from "./StatusTrackerButton.js";
|
|
7
7
|
const u = Object.assign(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
|
-
import { c as i } from "../../../chunks/vendor-
|
|
3
|
+
import { c as i } from "../../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
5
5
|
import { StatusTrackerTitle as c } from "./StatusTrackerTitle.js";
|
|
6
6
|
import { StatusTrackerSum as u } from "./StatusTrackerSum.js";
|
|
7
|
-
import { s as f } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as f } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
8
8
|
const p = Object.assign(
|
|
9
9
|
o.forwardRef(function({ children: r, className: t, ...a }, e) {
|
|
10
10
|
return /* @__PURE__ */ s("div", { className: i(f.statusTrackerChild, t), ...a, ref: e, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c } from "../../../chunks/vendor-82AnkPpo.js";
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
4
4
|
const d = (s) => {
|
|
5
5
|
const { children: r, className: t, ...a } = s;
|
|
6
6
|
return /* @__PURE__ */ e("div", { className: c(o.statusTrackerChild, t), ...a, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import { s as m } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-82AnkPpo.js";
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
4
4
|
import { MarkerStatus as c } from "../../MarkerStatus/MarkerStatus.js";
|
|
5
5
|
const f = (s) => {
|
|
6
6
|
const { children: t, className: r, ...a } = s;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../chunks/vendor-
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-82AnkPpo.js";
|
|
3
3
|
import { ETitleSize as e, EFontWeightTitle as p } from "../../Typography/enums.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
5
|
import "../../Typography/CodeText.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
import { Title as a } from "../../Typography/Title.js";
|
|
8
8
|
import { Amount as c } from "../../Amount/Amount.js";
|
|
9
|
-
import { s as l } from "../../../chunks/StatusTracker.module-
|
|
9
|
+
import { s as l } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
10
10
|
const k = (r) => {
|
|
11
11
|
const { className: o, amountProps: m, ...s } = r;
|
|
12
12
|
return /* @__PURE__ */ t(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../chunks/vendor-
|
|
2
|
+
import { c as o } from "../../../chunks/vendor-82AnkPpo.js";
|
|
3
3
|
import { ETitleSize as m, EFontWeightTitle as a } from "../../Typography/enums.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
5
|
import "../../Typography/CodeText.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
import { Title as l } from "../../Typography/Title.js";
|
|
8
|
-
import { s as c } from "../../../chunks/StatusTracker.module-
|
|
8
|
+
import { s as c } from "../../../chunks/StatusTracker.module-B6VeAoHW.js";
|
|
9
9
|
const k = (t) => {
|
|
10
10
|
const { children: r, className: e, ...i } = t;
|
|
11
11
|
return /* @__PURE__ */ s(
|
package/components/Step/Step.js
CHANGED
|
@@ -8,17 +8,17 @@ import "../Typography/Caption.js";
|
|
|
8
8
|
import "../Typography/CodeText.js";
|
|
9
9
|
import { Text as D } from "../Typography/Text.js";
|
|
10
10
|
import "../Typography/Title.js";
|
|
11
|
-
import { c as O } from "../../chunks/vendor-
|
|
11
|
+
import { c as O } from "../../chunks/vendor-82AnkPpo.js";
|
|
12
12
|
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
13
13
|
import { createSizeToClassNameMap as L } from "../../utils/classNameMaps.js";
|
|
14
|
-
const M = "
|
|
14
|
+
const M = "step__debd7363", P = "sm__c4e6a100", R = "md__ea3371ab", x = "lg__adaf3298", C = "done__f6920f26", b = "warning__a96a2e07", h = "active__3cf3d436", v = "error__36e190a1", z = "disabled__6100fd79", t = {
|
|
15
15
|
step: M,
|
|
16
16
|
sm: P,
|
|
17
17
|
md: R,
|
|
18
|
-
lg:
|
|
19
|
-
default: "
|
|
20
|
-
done:
|
|
21
|
-
warning:
|
|
18
|
+
lg: x,
|
|
19
|
+
default: "default__8de8846c",
|
|
20
|
+
done: C,
|
|
21
|
+
warning: b,
|
|
22
22
|
active: h,
|
|
23
23
|
error: v,
|
|
24
24
|
disabled: z
|
|
@@ -38,11 +38,11 @@ const M = "step__9a859383", P = "sm__0eea81f2", R = "md__ebcf37a7", b = "lg__55b
|
|
|
38
38
|
className: s,
|
|
39
39
|
step: m,
|
|
40
40
|
status: _,
|
|
41
|
-
position:
|
|
42
|
-
size:
|
|
41
|
+
position: d = e.Default,
|
|
42
|
+
size: p = I.MD,
|
|
43
43
|
...f
|
|
44
44
|
}) => {
|
|
45
|
-
const c = g(null), T = y[
|
|
45
|
+
const c = g(null), T = y[d], S = O(t.step, w[_], B[p], s), l = () => /* @__PURE__ */ i("div", { ref: c, className: S, ...f, children: /* @__PURE__ */ i(D, { size: N.B1, weight: u.SEMIBOLD, children: m }) });
|
|
46
46
|
return r ? /* @__PURE__ */ E(a, { size: A.SM, toggleType: "hover", alignTip: T, targetRef: c, children: [
|
|
47
47
|
/* @__PURE__ */ i(a.Target, { children: l() }),
|
|
48
48
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useState as A, useRef as N, useCallback as p, useEffect as w } from "react";
|
|
3
|
-
import { c as l } from "../../chunks/vendor-
|
|
3
|
+
import { c as l } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { CaretleftStrokeSrvIcon24 as y, CaretrightStrokeSrvIcon24 as j } from "@sberbusiness/icons-next";
|
|
5
5
|
import { CarouselExtended as z } from "../CarouselExtended/CarouselExtended.js";
|
|
6
6
|
import { ButtonIcon as E } from "../Button/ButtonIcon.js";
|
|
@@ -11,7 +11,7 @@ import { scrollSmoothHorizontally as h } from "../../utils/scroll.js";
|
|
|
11
11
|
import { EComponentSize as X } from "../../enums/EComponentSize.js";
|
|
12
12
|
import { EScreenWidth as $ } from "../../helpers/breakpoints.js";
|
|
13
13
|
import "./enums.js";
|
|
14
|
-
const q = "
|
|
14
|
+
const q = "stepperCarousel__ec4b9559", D = "stepperButtonWrapper__bba15ca2", F = "prev__02c307f1", J = "next__e7913f9d", K = "stepperButton__b7d7b2c3", Q = "sm__c7108bbb", U = "md__5e5e9150", V = "lg__c0c003a3", s = {
|
|
15
15
|
stepperCarousel: q,
|
|
16
16
|
stepperButtonWrapper: D,
|
|
17
17
|
prev: F,
|
|
@@ -27,7 +27,7 @@ const q = "stepperCarousel__e8402b9c", D = "stepperButtonWrapper__c793b4fe", F =
|
|
|
27
27
|
selectedStepId: c,
|
|
28
28
|
...M
|
|
29
29
|
}) => {
|
|
30
|
-
const [x, P] = A({ stepNext: 0, stepPrev: 0 }), m = N(null),
|
|
30
|
+
const [x, P] = A({ stepNext: 0, stepPrev: 0 }), m = N(null), b = N({}), L = S.findIndex((t) => t.id === c), O = p(
|
|
31
31
|
({ hidden: t, ...e }) => t ? null : /* @__PURE__ */ n("div", { className: l(s.stepperButtonWrapper, s.prev), children: /* @__PURE__ */ n(
|
|
32
32
|
E,
|
|
33
33
|
{
|
|
@@ -65,31 +65,31 @@ const q = "stepperCarousel__e8402b9c", D = "stepperButtonWrapper__c793b4fe", F =
|
|
|
65
65
|
e.disconnect();
|
|
66
66
|
};
|
|
67
67
|
}, []);
|
|
68
|
-
const
|
|
68
|
+
const v = p(
|
|
69
69
|
(t, e, r, o) => {
|
|
70
70
|
r > 0 && (e.nextElementSibling && (r -= o - e.nextElementSibling.getBoundingClientRect().right), h(t, Math.ceil(r)));
|
|
71
71
|
},
|
|
72
72
|
[]
|
|
73
|
-
),
|
|
73
|
+
), C = p(
|
|
74
74
|
(t, e, r, o) => {
|
|
75
75
|
r < 0 && (e.previousElementSibling && (r -= o - e.previousElementSibling.getBoundingClientRect().left), h(t, Math.floor(r)));
|
|
76
76
|
},
|
|
77
77
|
[]
|
|
78
|
-
),
|
|
78
|
+
), _ = p((t, e) => {
|
|
79
79
|
e && h(t, e);
|
|
80
|
-
}, []),
|
|
80
|
+
}, []), B = p(
|
|
81
81
|
(t, e) => {
|
|
82
|
-
const { left: r, right: o, width: a } = t.getBoundingClientRect(), { left:
|
|
83
|
-
window.matchMedia(`(max-width: ${$.SM_MAX})`).matches ?
|
|
82
|
+
const { left: r, right: o, width: a } = t.getBoundingClientRect(), { left: u, right: R, width: k } = e.getBoundingClientRect(), f = r + a / 2, d = u + k / 2;
|
|
83
|
+
window.matchMedia(`(max-width: ${$.SM_MAX})`).matches ? _(t, d - f) : f > d ? C(t, e, u - r, u) : f < d && v(t, e, R - o, R);
|
|
84
84
|
},
|
|
85
|
-
[
|
|
85
|
+
[_, C, v]
|
|
86
86
|
);
|
|
87
87
|
return w(() => {
|
|
88
88
|
if (c) {
|
|
89
|
-
const { current: t } = m, e =
|
|
90
|
-
t && e &&
|
|
89
|
+
const { current: t } = m, e = b.current[c];
|
|
90
|
+
t && e && B(t, e);
|
|
91
91
|
}
|
|
92
|
-
}, [c,
|
|
92
|
+
}, [c, B]), /* @__PURE__ */ n(
|
|
93
93
|
z,
|
|
94
94
|
{
|
|
95
95
|
className: l(s.stepperCarousel, g[i], I),
|
|
@@ -101,7 +101,7 @@ const q = "stepperCarousel__e8402b9c", D = "stepperButtonWrapper__c793b4fe", F =
|
|
|
101
101
|
children: /* @__PURE__ */ n(W, { selectedStepId: c, size: i, ...M, children: S.map(({ label: t, ...e }, r) => /* @__PURE__ */ n(
|
|
102
102
|
W.Step,
|
|
103
103
|
{
|
|
104
|
-
forwardedRef: (o) =>
|
|
104
|
+
forwardedRef: (o) => b.current[e.id] = o,
|
|
105
105
|
...e,
|
|
106
106
|
isInActiveStep: r > L,
|
|
107
107
|
children: t
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as c } from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
import { StepperStep as
|
|
5
|
-
import { StepperExtendedContext as
|
|
3
|
+
import { c as a } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
|
+
import { StepperStep as i } from "./StepperStep.js";
|
|
5
|
+
import { StepperExtendedContext as l } from "./StepperExtendedContext.js";
|
|
6
6
|
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
7
|
-
const E = "
|
|
7
|
+
const E = "stepperExtended__1d0a4e17", u = {
|
|
8
8
|
stepperExtended: E
|
|
9
9
|
}, S = ({
|
|
10
10
|
children: p,
|
|
@@ -15,13 +15,13 @@ const E = "stepperExtended__955f8766", u = {
|
|
|
15
15
|
forwardedRef: m,
|
|
16
16
|
...n
|
|
17
17
|
}) => {
|
|
18
|
-
const d =
|
|
18
|
+
const d = a(u.stepperExtended, s), x = c(
|
|
19
19
|
() => ({ selectedId: r, size: e, onSelectStep: t }),
|
|
20
20
|
[r, e, t]
|
|
21
21
|
);
|
|
22
|
-
return /* @__PURE__ */ o(
|
|
22
|
+
return /* @__PURE__ */ o(l.Provider, { value: x, children: /* @__PURE__ */ o("ol", { className: d, role: "tablist", ...n, ref: m, children: p }) });
|
|
23
23
|
};
|
|
24
|
-
S.Step =
|
|
24
|
+
S.Step = i;
|
|
25
25
|
export {
|
|
26
26
|
S as StepperExtended
|
|
27
27
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as R, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as U, useState as V, useRef as k } from "react";
|
|
3
|
-
import { c as q } from "../../chunks/vendor-
|
|
3
|
+
import { c as q } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { StepperStepIcon as v } from "./StepperStepIcon.js";
|
|
5
5
|
import { createSizeToClassNameMap as F } from "../../utils/classNameMaps.js";
|
|
6
6
|
import { isKey as g } from "../../utils/keyboard.js";
|
|
7
7
|
import { StepperExtendedContext as H } from "./StepperExtendedContext.js";
|
|
8
8
|
import { EFocusSource as o } from "../../enums/EFocusSource.js";
|
|
9
9
|
import { EStepperStepType as y } from "./enums.js";
|
|
10
|
-
import { s as t, S as J } from "../../chunks/StepperStepArrowBorder-
|
|
10
|
+
import { s as t, S as J } from "../../chunks/StepperStepArrowBorder-C6up4LVv.js";
|
|
11
11
|
import { IconWrapper as L } from "../IconWrapper/IconWrapper.js";
|
|
12
12
|
const Q = F(t), X = ({
|
|
13
13
|
children: N,
|
|
@@ -69,7 +69,7 @@ const Q = F(t), X = ({
|
|
|
69
69
|
...T,
|
|
70
70
|
ref: M,
|
|
71
71
|
children: [
|
|
72
|
-
/* @__PURE__ */ R("div", { className: t.content, "data-tx": "1.
|
|
72
|
+
/* @__PURE__ */ R("div", { className: t.content, "data-tx": "1.30.0", children: [
|
|
73
73
|
h && P(),
|
|
74
74
|
N
|
|
75
75
|
] }),
|