@sberbusiness/triplex-next 1.28.0 → 1.29.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 +41 -0
- package/chunks/{CalendarViewItem-83koObqy.js → CalendarViewItem-5_px9kHt.js} +30 -30
- package/chunks/Card.module-Dx8nOFB3.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Bjimmb7-.js +15 -0
- package/chunks/{Chip-BQ_gYzxq.js → Chip-D-_oIu-h.js} +20 -20
- package/chunks/Confirm.module-CLPl_MFI.js +15 -0
- package/chunks/{DropdownListItem-CVJjluxY.js → DropdownListItem-C7Maa_Sz.js} +21 -21
- package/chunks/DropdownMobile.module-CaYNuqHU.js +23 -0
- package/chunks/Footer.module-B8adM4Do.js +9 -0
- package/chunks/{FormFieldInput-BTVRGCId.js → FormFieldInput-BgrEEHVa.js} +11 -11
- package/chunks/HeaderLayoutSidebar.module-Cdc1sffY.js +9 -0
- package/chunks/HeaderTabs.module-DmDFhCmD.js +9 -0
- package/chunks/{HeaderTitle.module-Bh2WjxIN.js → HeaderTitle.module-fEjlMYZ7.js} +2 -2
- package/chunks/IslandAccordion.module-CNo4iFh8.js +25 -0
- package/chunks/IslandWidgetFooter.module-DZ6hXw2D.js +9 -0
- package/chunks/IslandWidgetHeader.module-CEVaTpbx.js +13 -0
- package/chunks/{LightBoxContent-BV0_QYb_.js → LightBoxContent-DdWEYnjf.js} +9 -9
- package/chunks/LightBoxControls.module-CnAa2Vmk.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Du9-TT1c.js +9 -0
- package/chunks/{ListItemControlsButton-_-tEvYQM.js → ListItemControlsButton-BrWqPMvQ.js} +13 -13
- package/chunks/ListItemTail.module-ZBSoUByF.js +12 -0
- package/chunks/ListMasterFooter.module-CeZvln77.js +10 -0
- package/chunks/ModalWindow.module-lrXOmH_L.js +17 -0
- package/chunks/Notification.module-ZlSN0MGm.js +20 -0
- package/chunks/Overlay.module-BlvGry2e.js +18 -0
- package/chunks/Page.module-BkU_qm35.js +11 -0
- package/chunks/SMSField.module-DQdb4DNu.js +16 -0
- package/chunks/SliderExtendedMarks.module-BWYZDQtm.js +15 -0
- package/chunks/SliderExtendedRail-B7cZIw4b.js +40 -0
- package/chunks/StatusTracker.module-C645B9ye.js +24 -0
- package/chunks/{StepperStepArrowBorder-BhxHSVsg.js → StepperStepArrowBorder-BDDBpgah.js} +10 -10
- package/chunks/{SuggestFieldMobileDropdownHint-Dj6gWOOm.js → SuggestFieldMobileDropdownHint-o1c16I20.js} +4 -4
- package/chunks/TableFooter.module-Bw739QXw.js +14 -0
- package/chunks/TabsExtended.module-DwTyq4mg.js +16 -0
- package/chunks/TabsLine.module-6sKjO9lB.js +21 -0
- package/chunks/TooltipDesktop.module-D1eY6eNm.js +19 -0
- package/chunks/TreeView.module-B4d0aSMp.js +9 -0
- package/chunks/UploadZoneInput-DRnwuj7v.js +33 -0
- package/chunks/{constants-CAK3AnS2.js → constants-BbgGoE1H.js} +10 -10
- package/chunks/{utils-JveQLn3C.js → utils-BG289Tpd.js} +5 -5
- package/chunks/{utils-CWZKt6QH.js → utils-Cev1dXzE.js} +11 -11
- package/chunks/{utils-m2ZY7x9c.js → utils-DmWZdfw8.js} +10 -10
- package/chunks/utils-XC0joCai.js +24 -0
- package/chunks/{vendor-DudMBGKr.js → vendor-C_uS77iF.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +29 -29
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +47 -22
- package/components/Badge/Badge.js +6 -6
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +17 -17
- package/components/Badge/components/BadgePostfix.js +2 -2
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +29 -29
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +3 -3
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +11 -11
- package/components/Calendar/Calendar.js +120 -114
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- 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 +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +20 -20
- package/components/Checkbox/CheckboxXGroup.js +8 -8
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/CheckboxTreeExtended/index.js +3 -1
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +4 -4
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- 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 +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +12 -12
- package/components/CollapsableTree/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 +5 -5
- package/components/DatePickerExtended/index.js +5 -0
- package/components/DateRange/DateRange.js +2 -2
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/Calendar.js +34 -42
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +15 -15
- 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 +3 -3
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/EmptyView/EmptyView.js +22 -22
- package/components/ExpandAnimation/ExpandAnimation.js +19 -19
- 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 +14 -14
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +9 -11
- package/components/FormField/components/FormFieldDescription.js +2 -2
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +2 -2
- package/components/FormField/components/FormFieldMaskedInput.js +6 -6
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +2 -2
- package/components/FormField/components/FormFieldTarget.js +9 -9
- package/components/FormField/components/FormFieldTextarea.js +27 -27
- 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 +2 -2
- package/components/IconWrapper/IconWrapper.js +12 -12
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/IslandWidget/IslandWidget.js +20 -20
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- 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 +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 +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 +8 -8
- 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 +11 -11
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +12 -12
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +6 -6
- package/components/List/List.js +3 -3
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- 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 +6 -6
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +2 -2
- 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 +2 -2
- package/components/List/components/ListSortableItemTarget.js +2 -2
- 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 +8 -8
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +6 -6
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +9 -9
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/ModalWindow/index.js +11 -10
- package/components/MonthYearField/MonthYearField.js +22 -22
- package/components/MonthYearRange/MonthYearRange.js +14 -14
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +15 -15
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +8 -8
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/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 +5 -5
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +11 -11
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +5 -5
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SMSField/index.js +9 -1
- package/components/SegmentedControl/SegmentedControl.js +3 -3
- 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 +19 -19
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +10 -10
- 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 +10 -10
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +27 -27
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +15 -11
- 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 +3 -3
- package/components/Stepper/Stepper.js +14 -14
- package/components/Stepper/StepperExtended.js +9 -9
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- 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 +28 -24
- 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 +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/index.js +25 -17
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +15 -15
- 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 +7 -7
- package/components/Tag/Tag.js +7 -7
- package/components/TagColor/TagColor.js +9 -9
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- 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 +4 -4
- 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 +5 -5
- package/components/TopOverlay/TopOverlay.js +19 -19
- 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 +20 -20
- package/components/Typography/CodeText.js +9 -9
- package/components/Typography/Text.js +14 -14
- package/components/Typography/Title.js +16 -16
- 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 +4 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/WindowResizeListener/index.js +5 -0
- package/components/index.js +632 -572
- package/index.d.ts +398 -59
- package/index.js +653 -593
- package/package.json +21 -1
- package/styles/triplex-next.css +538 -538
- package/types/index.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-NldQtvco.js +0 -41
- package/chunks/Card.module-c3-33ce8.js +0 -17
- package/chunks/CheckboxTreeExtended.module-DmQ81avO.js +0 -15
- package/chunks/Confirm.module-NvQ6x492.js +0 -15
- package/chunks/DropdownMobile.module-BzplQxLc.js +0 -23
- package/chunks/Footer.module-C5auaCMC.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CmVwh8YX.js +0 -9
- package/chunks/HeaderTabs.module-BTcgQwsE.js +0 -9
- package/chunks/IslandAccordion.module-B-19rXcD.js +0 -25
- package/chunks/IslandWidgetFooter.module-BO73Tgxq.js +0 -9
- package/chunks/IslandWidgetHeader.module-Df2VlDhN.js +0 -12
- package/chunks/LightBoxControls.module-DbEH8RB1.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DX1kP1BM.js +0 -9
- package/chunks/ListItemTail.module-BKoqbpG6.js +0 -12
- package/chunks/ListMasterFooter.module-Dbk-k1aZ.js +0 -10
- package/chunks/ModalWindow.module-Dt8kEFNo.js +0 -17
- package/chunks/Notification.module-B9uJ73NL.js +0 -20
- package/chunks/Overlay.module-D6x0Rc2c.js +0 -18
- package/chunks/Page.module-Dp-a8BZr.js +0 -11
- package/chunks/SMSField.module-C2BQO6iZ.js +0 -16
- package/chunks/SliderExtendedMarks.module-DI6EJLUh.js +0 -15
- package/chunks/SliderExtendedRail-Dp8PruYh.js +0 -40
- package/chunks/StatusTracker.module-CF7eqrdv.js +0 -24
- package/chunks/TableFooter.module-BBF-DJGA.js +0 -14
- package/chunks/TabsExtended.module-C4CTakbs.js +0 -16
- package/chunks/TabsLine.module-CQy-1q2X.js +0 -21
- package/chunks/TooltipDesktop.module-BsYuxr3t.js +0 -19
- package/chunks/TreeView.module-BkeBRmgo.js +0 -9
- package/chunks/UploadZoneInput-Bhz9sU72.js +0 -33
- package/chunks/utils-BeYLwFL4.js +0 -24
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { jsxs as y, jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as y, jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import n 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-C_uS77iF.js";
|
|
5
5
|
import { createSizeToClassNameMap as v } from "../../../../utils/classNameMaps.js";
|
|
6
|
-
const E = "
|
|
6
|
+
const E = "sliderExtendedTooltipOverlay__01c6afd8", C = "lg__6d9db24b", N = "tooltipBody__1439c7e2", O = "tooltipTip__e3406411", 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: r,
|
|
14
14
|
...c
|
|
15
15
|
}) => {
|
|
16
|
-
const o =
|
|
16
|
+
const o = n.useRef(null), { min: l, max: p, size: a } = n.useContext(_), m = () => {
|
|
17
17
|
var s;
|
|
18
18
|
if (!o.current || i === void 0)
|
|
19
19
|
return 0;
|
|
20
|
-
const
|
|
21
|
-
return (T / 2 -
|
|
20
|
+
const f = 8, x = 16, T = ((s = o.current) == null ? void 0 : s.clientWidth) || 0, u = (i - l) / (p - l);
|
|
21
|
+
return (T / 2 - f - x) * (1 - 2 * u);
|
|
22
22
|
};
|
|
23
23
|
return /* @__PURE__ */ y(
|
|
24
24
|
"div",
|
|
@@ -27,8 +27,8 @@ const E = "sliderExtendedTooltipOverlay__66d2e26c", C = "lg__b2eeba92", N = "too
|
|
|
27
27
|
className: e(t.sliderExtendedTooltipOverlay, h[a]),
|
|
28
28
|
...c,
|
|
29
29
|
children: [
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ d("div", { className: e(t.tooltipBody), style: { left: `${m()}px` }, children: r }),
|
|
31
|
+
/* @__PURE__ */ d("div", { className: e(t.tooltipTip) })
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
);
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
|
5
|
-
import { SliderExtendedMoveHandler as
|
|
2
|
+
import { useState as d, useContext as de, useRef as O, useLayoutEffect as P } from "react";
|
|
3
|
+
import { c as le, l as X } from "../../../../chunks/vendor-C_uS77iF.js";
|
|
4
|
+
import { SliderExtendedContext as ae } from "../../SliderExtendedContext.js";
|
|
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 l } 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__26f47086", ue = "lg__6d9db24b", fe = "focusedByClick__0112bd07", me = "hoverOrDragByMouse__d3171b99", he = "staticSlider__3a2683a1", ge = "disabled__67fbee90", o = {
|
|
12
12
|
sliderExtendedTrack: ne,
|
|
13
13
|
lg: ue,
|
|
14
14
|
focusedByClick: fe,
|
|
@@ -17,7 +17,7 @@ const ne = "sliderExtendedTrack__98817778", ue = "lg__b2eeba92", fe = "focusedBy
|
|
|
17
17
|
disabled: ge
|
|
18
18
|
}, pe = ie(o), Ee = ({
|
|
19
19
|
className: K,
|
|
20
|
-
draggable:
|
|
20
|
+
draggable: b = !0,
|
|
21
21
|
onBlur: p,
|
|
22
22
|
onFocus: E,
|
|
23
23
|
onMouseDown: x,
|
|
@@ -26,7 +26,7 @@ const ne = "sliderExtendedTrack__98817778", ue = "lg__b2eeba92", fe = "focusedBy
|
|
|
26
26
|
onTouchStart: y,
|
|
27
27
|
...A
|
|
28
28
|
}) => {
|
|
29
|
-
const [W,
|
|
29
|
+
const [W, k] = d(!1), [a, C] = d(!1), [H, v] = d(!1), [V, c] = d(!1), [U, S] = d(-1), {
|
|
30
30
|
disabled: M,
|
|
31
31
|
dots: s,
|
|
32
32
|
focused: i,
|
|
@@ -37,19 +37,19 @@ const ne = "sliderExtendedTrack__98817778", ue = "lg__b2eeba92", fe = "focusedBy
|
|
|
37
37
|
setFocused: R,
|
|
38
38
|
steps: u,
|
|
39
39
|
size: $
|
|
40
|
-
} = ae
|
|
40
|
+
} = de(ae), f = O(0), m = O(null);
|
|
41
41
|
if (P(() => {
|
|
42
|
-
s.length > 1 &&
|
|
43
|
-
}, [s,
|
|
44
|
-
s.length > 1 &&
|
|
42
|
+
s.length > 1 && b ? a || C(!0) : a !== !1 && C(!1);
|
|
43
|
+
}, [s, b]), P(() => {
|
|
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),
|
|
48
|
+
v(!0), c(!0), document.addEventListener("mouseup", N), r && (f.current = z.getNormalizedCursorValue({
|
|
49
49
|
cursorXPosition: t.clientX,
|
|
50
50
|
railNode: r
|
|
51
51
|
})), e(t), x == null || x(t);
|
|
52
|
-
}, G = (e) =>
|
|
52
|
+
}, G = (e) => l.dragDots({
|
|
53
53
|
cursorPrevNormalizedValue: f,
|
|
54
54
|
cursorXPosition: e.clientX,
|
|
55
55
|
dots: s,
|
|
@@ -57,14 +57,14 @@ const ne = "sliderExtendedTrack__98817778", ue = "lg__b2eeba92", fe = "focusedBy
|
|
|
57
57
|
reverse: _,
|
|
58
58
|
steps: u
|
|
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),
|
|
62
|
+
t.touches.length == 1 && (v(!0), c(!0), document.addEventListener("touchend", I), r && (f.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(),
|
|
67
|
+
e.touches.length == 1 && (e.cancelable && e.preventDefault(), l.dragDots({
|
|
68
68
|
cursorPrevNormalizedValue: f,
|
|
69
69
|
cursorXPosition: e.touches[0].clientX,
|
|
70
70
|
dots: s,
|
|
@@ -73,20 +73,20 @@ const ne = "sliderExtendedTrack__98817778", ue = "lg__b2eeba92", fe = "focusedBy
|
|
|
73
73
|
steps: u
|
|
74
74
|
}));
|
|
75
75
|
}, I = (e) => {
|
|
76
|
-
e.cancelable && e.preventDefault(),
|
|
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(), l.moveToPrevStep(s, u);
|
|
79
79
|
}, Q = (e) => {
|
|
80
|
-
e.preventDefault(),
|
|
80
|
+
e.preventDefault(), l.moveToNextStep(s, u);
|
|
81
81
|
}, Z = (e) => {
|
|
82
|
-
i || R(!0),
|
|
82
|
+
i || R(!0), k(!0), E == null || E(e);
|
|
83
83
|
}, ee = (e) => {
|
|
84
|
-
i && R(!1), v(!1),
|
|
84
|
+
i && R(!1), v(!1), k(!1), p == null || p(e);
|
|
85
85
|
}, te = (e) => {
|
|
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 } = l.getTrackPosition({ dots: s, reverse: _ });
|
|
90
90
|
return /* @__PURE__ */ B(L, { children: [
|
|
91
91
|
W && /* @__PURE__ */ B(L, { children: [
|
|
92
92
|
/* @__PURE__ */ h(
|
|
@@ -105,7 +105,7 @@ const ne = "sliderExtendedTrack__98817778", ue = "lg__b2eeba92", fe = "focusedBy
|
|
|
105
105
|
)
|
|
106
106
|
] }),
|
|
107
107
|
/* @__PURE__ */ h(
|
|
108
|
-
|
|
108
|
+
ce,
|
|
109
109
|
{
|
|
110
110
|
onMouseMove: X.throttle(G, 100),
|
|
111
111
|
onTouchMove: X.throttle(q),
|
|
@@ -114,14 +114,14 @@ const ne = "sliderExtendedTrack__98817778", ue = "lg__b2eeba92", fe = "focusedBy
|
|
|
114
114
|
"span",
|
|
115
115
|
{
|
|
116
116
|
role: "button",
|
|
117
|
-
tabIndex: !M &&
|
|
117
|
+
tabIndex: !M && a ? U : -1,
|
|
118
118
|
...A,
|
|
119
|
-
className:
|
|
119
|
+
className: le(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]: !a
|
|
125
125
|
}),
|
|
126
126
|
onBlur: ee,
|
|
127
127
|
onFocus: Z,
|
|
@@ -1,11 +1,11 @@
|
|
|
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-C_uS77iF.js";
|
|
4
|
+
const o = "smallInput__62a31215", n = {
|
|
5
5
|
smallInput: o
|
|
6
|
-
},
|
|
7
|
-
|
|
6
|
+
}, e = m.forwardRef(({ className: t, ...l }, a) => /* @__PURE__ */ s("input", { className: p(n.smallInput, t), ...l, type: "text", ref: a }));
|
|
7
|
+
e.displayName = "SmallInput";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
e as SmallInput
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=SmallInput.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n, 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 c } 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-C_uS77iF.js";
|
|
13
|
+
const y = "spoiler__0b051546", D = "opened__8ca21b4e", q = "caretIcon__0c0c209f", A = "head__aaaabab6", G = "content__3df42bc4", H = "hidden__7f6693f6", K = "lg__b3c80245", $ = "md__5237f982", F = "sm__5362cb16", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,25 +21,25 @@ const y = "spoiler__0e5d2c15", D = "opened__cf0240df", q = "caretIcon__8b5f9b77"
|
|
|
21
21
|
md: $,
|
|
22
22
|
sm: F
|
|
23
23
|
}, J = {
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
24
|
+
[c.SM]: /* @__PURE__ */ n(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
|
+
[c.MD]: /* @__PURE__ */ n(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
|
+
[c.LG]: /* @__PURE__ */ n(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: s,
|
|
31
31
|
onToggle: o,
|
|
32
|
-
toggle:
|
|
32
|
+
toggle: a,
|
|
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 = c.MD,
|
|
38
|
+
...b
|
|
39
|
+
} = f, d = s !== void 0, [C, v] = T(s), t = d ? s : C, m = E(`Spoiler-${j()}`), M = w(() => {
|
|
40
40
|
const i = !t;
|
|
41
|
-
d ?
|
|
42
|
-
}, [d,
|
|
41
|
+
d ? a == null || a(i) : v(i), o == null || o(i);
|
|
42
|
+
}, [d, a, t, o]), k = _(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
45
45
|
{
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__0e5d2c15", D = "opened__cf0240df", q = "caretIcon__8b5f9b77"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...b, className: k, "data-tx": "1.29.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__0e5d2c15", D = "opened__cf0240df", q = "caretIcon__8b5f9b77"
|
|
|
65
65
|
),
|
|
66
66
|
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ n("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: I })
|
|
69
69
|
] });
|
|
70
70
|
});
|
|
71
71
|
P.displayName = "Spoiler";
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { c as a } from "../../chunks/vendor-
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
1
|
+
import { jsxs as T, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import n from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-C_uS77iF.js";
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-C645B9ye.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";
|
|
8
8
|
import { StatusTrackerBody as f } from "./components/StatusTrackerBody.js";
|
|
9
9
|
import { StatusTrackerFooter as N } from "./components/StatusTrackerFooter.js";
|
|
10
|
-
|
|
10
|
+
import "./components/StatusTrackerTitle.js";
|
|
11
|
+
import "./components/StatusTrackerDescription.js";
|
|
12
|
+
import "./components/StatusTrackerSum.js";
|
|
13
|
+
import "./components/StatusTrackerButton.js";
|
|
14
|
+
const i = {
|
|
11
15
|
[t.REJECTED]: r.rejected,
|
|
12
16
|
[t.WAITING]: r.waiting,
|
|
13
17
|
[t.WARNING]: r.warning,
|
|
@@ -16,17 +20,17 @@ const c = {
|
|
|
16
20
|
[o.MIDDLE]: r.verticalAlignMiddle,
|
|
17
21
|
[o.BOTTOM]: r.verticalAlignBottom
|
|
18
22
|
}, g = Object.assign(
|
|
19
|
-
|
|
20
|
-
return /* @__PURE__ */
|
|
23
|
+
n.forwardRef(function({ children: c, className: m, type: e, verticalAlign: l = o.TOP, ...d }, p) {
|
|
24
|
+
return /* @__PURE__ */ T(
|
|
21
25
|
"div",
|
|
22
26
|
{
|
|
23
27
|
className: a(r.statusTrackerWrapper, m),
|
|
24
28
|
...d,
|
|
25
|
-
ref:
|
|
26
|
-
"data-tx": "1.
|
|
29
|
+
ref: p,
|
|
30
|
+
"data-tx": "1.29.0",
|
|
27
31
|
children: [
|
|
28
|
-
/* @__PURE__ */ s("div", { className: a(r.statusTrackerBackground,
|
|
29
|
-
/* @__PURE__ */ s("div", { className: a(r.statusTracker, S[l]), children:
|
|
32
|
+
/* @__PURE__ */ s("div", { className: a(r.statusTrackerBackground, i[e]), children: /* @__PURE__ */ s("div", { className: a(r.statusTrackerColor, i[e]) }) }, e),
|
|
33
|
+
/* @__PURE__ */ s("div", { className: a(r.statusTracker, S[l]), children: c })
|
|
30
34
|
]
|
|
31
35
|
}
|
|
32
36
|
);
|
|
@@ -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-C_uS77iF.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-C645B9ye.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-C_uS77iF.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-C645B9ye.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-C_uS77iF.js";
|
|
3
|
+
import { s as a } from "../../../chunks/StatusTracker.module-C645B9ye.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-C_uS77iF.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-C645B9ye.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-C_uS77iF.js";
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-C645B9ye.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-C_uS77iF.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-C645B9ye.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-C_uS77iF.js";
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-C645B9ye.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-C_uS77iF.js";
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-C645B9ye.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-C_uS77iF.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-C645B9ye.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-C_uS77iF.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-C645B9ye.js";
|
|
9
9
|
const k = (t) => {
|
|
10
10
|
const { children: r, className: e, ...i } = t;
|
|
11
11
|
return /* @__PURE__ */ s(
|
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
import { StatusTracker as
|
|
2
|
-
import { EStatusTrackerType as
|
|
1
|
+
import { StatusTracker as e } from "./StatusTracker.js";
|
|
2
|
+
import { EStatusTrackerType as o, EStatusTrackerVerticalAlign as c } from "./enums.js";
|
|
3
|
+
import { StatusTrackerHeader as T } from "./components/StatusTrackerHeader.js";
|
|
4
|
+
import { StatusTrackerFooter as s } from "./components/StatusTrackerFooter.js";
|
|
5
|
+
import { StatusTrackerTitle as k } from "./components/StatusTrackerTitle.js";
|
|
6
|
+
import { StatusTrackerDescription as f } from "./components/StatusTrackerDescription.js";
|
|
7
|
+
import { StatusTrackerMedia as i } from "./components/StatusTrackerMedia.js";
|
|
8
|
+
import { StatusTrackerSum as l } from "./components/StatusTrackerSum.js";
|
|
9
|
+
import { StatusTrackerBody as y } from "./components/StatusTrackerBody.js";
|
|
10
|
+
import { StatusTrackerButton as E } from "./components/StatusTrackerButton.js";
|
|
3
11
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
12
|
+
o as EStatusTrackerType,
|
|
13
|
+
c as EStatusTrackerVerticalAlign,
|
|
14
|
+
e as StatusTracker,
|
|
15
|
+
y as StatusTrackerBody,
|
|
16
|
+
E as StatusTrackerButton,
|
|
17
|
+
f as StatusTrackerDescription,
|
|
18
|
+
s as StatusTrackerFooter,
|
|
19
|
+
T as StatusTrackerHeader,
|
|
20
|
+
i as StatusTrackerMedia,
|
|
21
|
+
l as StatusTrackerSum,
|
|
22
|
+
k as StatusTrackerTitle
|
|
7
23
|
};
|
|
8
24
|
//# sourceMappingURL=index.js.map
|
package/components/Step/Step.js
CHANGED
|
@@ -8,15 +8,15 @@ 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-C_uS77iF.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__9a859383", P = "sm__0eea81f2", R = "md__ebcf37a7", b = "lg__55b33538", x = "done__47a63210", C = "warning__86f45ba8", h = "active__97924ecf", v = "error__97019d52", z = "disabled__ed047878", t = {
|
|
15
15
|
step: M,
|
|
16
16
|
sm: P,
|
|
17
17
|
md: R,
|
|
18
18
|
lg: b,
|
|
19
|
-
default: "
|
|
19
|
+
default: "default__2e6d92c7",
|
|
20
20
|
done: x,
|
|
21
21
|
warning: C,
|
|
22
22
|
active: h,
|
|
@@ -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-C_uS77iF.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__e8402b9c", D = "stepperButtonWrapper__c793b4fe", F = "prev__f6479acf", J = "next__1154984e", K = "stepperButton__4f4c3c8a", Q = "sm__37105d79", U = "md__fd9d082c", V = "lg__3572dfce", s = {
|
|
15
15
|
stepperCarousel: q,
|
|
16
16
|
stepperButtonWrapper: D,
|
|
17
17
|
prev: F,
|
|
@@ -27,7 +27,7 @@ const q = "stepperCarousel__3dccf9df", D = "stepperButtonWrapper__63b8ba73", 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), v = 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__3dccf9df", D = "stepperButtonWrapper__63b8ba73", F =
|
|
|
65
65
|
e.disconnect();
|
|
66
66
|
};
|
|
67
67
|
}, []);
|
|
68
|
-
const
|
|
68
|
+
const C = 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
|
+
), _ = 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
|
+
), B = p((t, e) => {
|
|
79
79
|
e && h(t, e);
|
|
80
|
-
}, []),
|
|
80
|
+
}, []), R = 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: f, right: b, width: k } = e.getBoundingClientRect(), u = r + a / 2, d = f + k / 2;
|
|
83
|
+
window.matchMedia(`(max-width: ${$.SM_MAX})`).matches ? B(t, d - u) : u > d ? _(t, e, f - r, f) : u < d && C(t, e, b - o, b);
|
|
84
84
|
},
|
|
85
|
-
[_, C
|
|
85
|
+
[B, _, C]
|
|
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 = v.current[c];
|
|
90
|
+
t && e && R(t, e);
|
|
91
91
|
}
|
|
92
|
-
}, [c,
|
|
92
|
+
}, [c, R]), /* @__PURE__ */ n(
|
|
93
93
|
z,
|
|
94
94
|
{
|
|
95
95
|
className: l(s.stepperCarousel, g[i], I),
|
|
@@ -101,7 +101,7 @@ const q = "stepperCarousel__3dccf9df", D = "stepperButtonWrapper__63b8ba73", 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) => v.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 i } from "../../chunks/vendor-C_uS77iF.js";
|
|
4
|
+
import { StepperStep as l } from "./StepperStep.js";
|
|
5
|
+
import { StepperExtendedContext as a } from "./StepperExtendedContext.js";
|
|
6
6
|
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
7
|
-
const E = "
|
|
7
|
+
const E = "stepperExtended__955f8766", u = {
|
|
8
8
|
stepperExtended: E
|
|
9
9
|
}, S = ({
|
|
10
10
|
children: p,
|
|
@@ -12,16 +12,16 @@ const E = "stepperExtended__dafde456", u = {
|
|
|
12
12
|
size: e = f.LG,
|
|
13
13
|
onSelectStep: t,
|
|
14
14
|
selectedStepId: r,
|
|
15
|
-
forwardedRef:
|
|
16
|
-
...
|
|
15
|
+
forwardedRef: m,
|
|
16
|
+
...n
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
18
|
+
const d = i(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(a.Provider, { value: x, children: /* @__PURE__ */ o("ol", { className: d, role: "tablist", ...n, ref: m, children: p }) });
|
|
23
23
|
};
|
|
24
|
-
S.Step =
|
|
24
|
+
S.Step = l;
|
|
25
25
|
export {
|
|
26
26
|
S as StepperExtended
|
|
27
27
|
};
|