@sberbusiness/triplex-next 0.25.0 → 0.27.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-DF_eSZ-p.js → AlertProcessSpoiler-CyQjNK-A.js} +10 -10
- package/chunks/{CalendarViewItem-CQErGrhc.js → CalendarViewItem-DRBt_s0Q.js} +19 -19
- package/chunks/Card.module-D8T8SSWF.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BQD7DKNP.js +15 -0
- package/chunks/Chip-BWrXp8b3.js +77 -0
- package/chunks/Confirm.module-D5UicEEs.js +15 -0
- package/chunks/{DropdownListItem-wT8cLRdZ.js → DropdownListItem-BflrX8i-.js} +18 -18
- package/chunks/DropdownMobile.module-3D5LlZCS.js +23 -0
- package/chunks/Footer.module-BfB70vm7.js +9 -0
- package/chunks/FormFieldInput-q8qt9K5c.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DP3SxiTp.js +9 -0
- package/chunks/HeaderTabs.module-Cx-Ctxui.js +9 -0
- package/chunks/{HeaderTitle.module-SmVWml2y.js → HeaderTitle.module-Y10Bm5lm.js} +2 -2
- package/chunks/IslandAccordion.module-CVxFZsLG.js +25 -0
- package/chunks/IslandWidgetFooter.module-VlqE7l7C.js +9 -0
- package/chunks/IslandWidgetHeader.module-DwIaQr1_.js +12 -0
- package/chunks/{LightBoxContent-DlDaCKV4.js → LightBoxContent-DHs-Qjcp.js} +12 -12
- package/chunks/LightBoxControls.module-D1KjqwKb.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DPT31Rzn.js +9 -0
- package/chunks/{ListItemControlsButton-UKjqQcv7.js → ListItemControlsButton-pIOQbY1R.js} +15 -15
- package/chunks/ListItemTail.module-Cu4UoxMF.js +12 -0
- package/chunks/ListMasterFooter.module-wznlsgml.js +10 -0
- package/chunks/ModalWindow.module-BrOAz5Ut.js +17 -0
- package/chunks/Notification.module-CyBTQm0m.js +20 -0
- package/chunks/Overlay.module-hR6GT0XD.js +18 -0
- package/chunks/Page.module-DydaWXa2.js +11 -0
- package/chunks/SMSField.module-DoBN7Aba.js +16 -0
- package/chunks/SliderExtendedMarks.module-DZXE3Uju.js +15 -0
- package/chunks/{SliderExtendedRail-jfLPbgEp.js → SliderExtendedRail-ylfekLwv.js} +11 -11
- package/chunks/StatusTracker.module-D8_bnGs2.js +24 -0
- package/chunks/StepperStepArrowBorder-DJAqKqGz.js +101 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CCyHjS-V.js → SuggestFieldMobileDropdownHint-DC3vUbne.js} +2 -2
- package/chunks/TableFooter.module-BG7ShSJ1.js +14 -0
- package/chunks/TabsExtended.module-D60HGy0o.js +16 -0
- package/chunks/TabsLine.module-BfBp0UOt.js +21 -0
- package/chunks/TooltipDesktop.module-BrcbbP-s.js +19 -0
- package/chunks/TreeView.module-lKZg_HMx.js +9 -0
- package/chunks/{UploadZoneInput-DYiPRAAI.js → UploadZoneInput-xOoub0aL.js} +7 -7
- package/chunks/{constants-Ctks52i0.js → constants-CoLWcWYQ.js} +12 -12
- package/chunks/utils-BXp6zjzV.js +28 -0
- package/chunks/utils-CfCPvNY4.js +73 -0
- package/chunks/{utils-C6a9XDaC.js → utils-D_H8vO74.js} +4 -4
- package/chunks/utils-PKY322-t.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +21 -21
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +4 -4
- package/components/Badge/Badge.js +14 -14
- package/components/Badge/BadgeDot.js +6 -6
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +18 -18
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +15 -15
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +13 -13
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +8 -8
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +8 -8
- package/components/Checkbox/CheckboxXGroup.js +10 -10
- package/components/Checkbox/CheckboxYGroup.js +5 -5
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +23 -22
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +73 -63
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +8 -8
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +53 -51
- package/components/DateField/DateFieldTarget.js +38 -37
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +11 -11
- package/components/DateRange/DateRange.js +15 -15
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +10 -10
- package/components/Dropdown/desktop/DropdownDesktop.js +27 -27
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +2 -2
- package/components/EmptyView/EmptyView.js +19 -19
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +22 -22
- package/components/FormField/components/FormFieldClear.js +5 -5
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +26 -26
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +1 -1
- package/components/FormField/components/FormFieldTextarea.js +21 -21
- 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 +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +4 -4
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +70 -64
- package/components/IslandWidget/IslandWidget.js +42 -34
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +10 -10
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +16 -16
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +6 -6
- package/components/Link/Link.js +16 -16
- package/components/List/List.js +4 -4
- package/components/List/ListSortable.js +30 -55
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +43 -42
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +21 -20
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/List/utils.js +20 -0
- package/components/ListMaster/ListMaster.js +22 -15
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +1 -1
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +5 -5
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearField.js +28 -26
- package/components/MonthYearField/MonthYearFieldTarget.js +37 -36
- package/components/MonthYearRange/MonthYearRange.js +76 -0
- package/components/MonthYearRange/enums.js +5 -0
- package/components/MonthYearRange/index.js +7 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- 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 +9 -9
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +4 -4
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +10 -10
- package/components/Radio/Radio.js +2 -2
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +18 -18
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +24 -24
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +22 -22
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +14 -14
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +29 -23
- package/components/Stepper/Stepper.js +102 -87
- package/components/Stepper/StepperExtended.js +23 -21
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +62 -63
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +5 -5
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +63 -63
- 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 +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +7 -7
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +6 -6
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +15 -15
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +18 -18
- package/components/TagColor/TagColor.js +18 -18
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- 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 +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
- package/components/TopOverlay/TopOverlay.js +15 -15
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +11 -11
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +6 -6
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +299 -294
- package/index.d.ts +115 -42
- package/index.js +329 -324
- package/package.json +6 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/Card.module-Ce9rAKOc.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cj2c6m06.js +0 -15
- package/chunks/Chip-BEnNi0nL.js +0 -77
- package/chunks/Confirm.module-CbAi5bkG.js +0 -15
- package/chunks/DropdownMobile.module-rYB54yd0.js +0 -23
- package/chunks/Footer.module-CzJ_N1fs.js +0 -9
- package/chunks/FormFieldInput-Dj2JAqj2.js +0 -79
- package/chunks/HeaderLayoutSidebar.module-HXJhEmKU.js +0 -9
- package/chunks/HeaderTabs.module-CjapozXy.js +0 -9
- package/chunks/IslandAccordion.module-YvqRlzmi.js +0 -25
- package/chunks/IslandWidgetFooter.module-iMuqKnPP.js +0 -9
- package/chunks/IslandWidgetHeader.module-CnPne0Uq.js +0 -12
- package/chunks/LightBoxControls.module-laAGRPrR.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B3L_EV1B.js +0 -9
- package/chunks/ListItemTail.module-igeWTjyg.js +0 -12
- package/chunks/ListMasterFooter.module-C0eM4fK4.js +0 -10
- package/chunks/ModalWindow.module-Cpk4uhwk.js +0 -17
- package/chunks/Notification.module-9japFkgv.js +0 -20
- package/chunks/Overlay.module-B3Az7dZS.js +0 -18
- package/chunks/Page.module-DOHwIYM4.js +0 -11
- package/chunks/RightBorderArrow-C6j8565V.js +0 -146
- package/chunks/SMSField.module-BOpUjsSJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-cdkiaSbT.js +0 -15
- package/chunks/StatusTracker.module-OAxbFucN.js +0 -24
- package/chunks/TableFooter.module-CGWCS8e3.js +0 -14
- package/chunks/TabsExtended.module-BJOWXSHt.js +0 -16
- package/chunks/TabsLine.module-BsiLhw0I.js +0 -21
- package/chunks/TooltipDesktop.module-DVp6GHr8.js +0 -19
- package/chunks/TreeView.module-C2WPNvMq.js +0 -9
- package/chunks/utils-Bz5uKYQD.js +0 -24
- package/chunks/utils-CrkRbGiM.js +0 -28
- package/chunks/utils-QVs0E_e3.js +0 -73
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const o = "
|
|
4
|
+
const o = "smallInput__fd9b5ac3", n = {
|
|
5
5
|
smallInput: o
|
|
6
|
-
},
|
|
7
|
-
|
|
6
|
+
}, r = m.forwardRef(({ className: t, ...l }, s) => /* @__PURE__ */ a("input", { className: p(n.smallInput, t), ...l, type: "text", ref: s }));
|
|
7
|
+
r.displayName = "SmallInput";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
r as SmallInput
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=SmallInput.js.map
|
|
@@ -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 c } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
12
12
|
import { u as j, c as f } from "../../chunks/vendor---Om3uMV.js";
|
|
13
|
-
const y = "
|
|
13
|
+
const y = "spoiler__c7233c8c", D = "opened__07c5fd6a", q = "caretIcon__98667817", A = "head__b1f92dba", G = "content__9d5ff9b9", H = "hidden__0f29ad65", K = "lg__8cf3cb21", $ = "md__9bb3a3d9", F = "sm__53b1e315", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,25 +21,25 @@ const y = "spoiler__afb0e17d", D = "opened__4fae9a94", q = "caretIcon__c5b99aa2"
|
|
|
21
21
|
md: $,
|
|
22
22
|
sm: F
|
|
23
23
|
}, J = {
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
24
|
+
[c.SM]: /* @__PURE__ */ a(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
|
+
[c.MD]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
|
+
[c.LG]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon })
|
|
27
27
|
}, O = g(e), P = z.forwardRef((_, h) => {
|
|
28
28
|
const {
|
|
29
29
|
children: I,
|
|
30
|
-
expanded:
|
|
30
|
+
expanded: s,
|
|
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 =
|
|
37
|
+
size: r = c.MD,
|
|
38
38
|
...b
|
|
39
|
-
} = _, d =
|
|
39
|
+
} = _, 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 ? n == null || n(i) : v(i), o == null || o(i);
|
|
42
|
+
}, [d, n, t, o]), k = f(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
45
45
|
{
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__afb0e17d", D = "opened__4fae9a94", q = "caretIcon__c5b99aa2"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...b, className: k, "data-tx": "0.
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...b, className: k, "data-tx": "0.27.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__afb0e17d", D = "opened__4fae9a94", q = "caretIcon__c5b99aa2"
|
|
|
65
65
|
),
|
|
66
66
|
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ a("div", { id: m.current, className: f(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 n, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { c as a } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-D8_bnGs2.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";
|
|
@@ -23,7 +23,7 @@ const c = {
|
|
|
23
23
|
className: a(r.statusTrackerWrapper, m),
|
|
24
24
|
...T,
|
|
25
25
|
ref: d,
|
|
26
|
-
"data-tx": "0.
|
|
26
|
+
"data-tx": "0.27.0",
|
|
27
27
|
children: [
|
|
28
28
|
/* @__PURE__ */ s("div", { className: a(r.statusTrackerBackground, c[e]), children: /* @__PURE__ */ s("div", { className: a(r.statusTrackerColor, c[e]) }) }, e),
|
|
29
29
|
/* @__PURE__ */ s("div", { className: a(r.statusTracker, S[l]), children: i })
|
|
@@ -3,7 +3,7 @@ import { c as m } from "../../../chunks/vendor---Om3uMV.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-D8_bnGs2.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";
|
|
@@ -3,7 +3,7 @@ import e from "react";
|
|
|
3
3
|
import { c as m } from "../../../chunks/vendor---Om3uMV.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-D8_bnGs2.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
e.forwardRef(function({ children: r, className: t, ...a }, s) {
|
|
9
9
|
return /* @__PURE__ */ o("div", { className: m(u.statusTrackerChild, t), ...a, ref: s, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as m } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as a } from "../../../chunks/StatusTracker.module-D8_bnGs2.js";
|
|
4
4
|
import { Button as p } from "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
6
6
|
import "../../Button/ButtonIcon.js";
|
|
@@ -5,7 +5,7 @@ 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-D8_bnGs2.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
3
|
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-D8_bnGs2.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(
|
|
@@ -4,7 +4,7 @@ import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
|
4
4
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
5
5
|
import { StatusTrackerTitle as c } from "./StatusTrackerTitle.js";
|
|
6
6
|
import { StatusTrackerSum as p } from "./StatusTrackerSum.js";
|
|
7
|
-
import { s as u } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as u } from "../../../chunks/StatusTracker.module-D8_bnGs2.js";
|
|
8
8
|
const f = Object.assign(
|
|
9
9
|
o.forwardRef(function({ children: r, className: t, ...a }, e) {
|
|
10
10
|
return /* @__PURE__ */ s("div", { className: i(u.statusTrackerChild, t), ...a, ref: e, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { c } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-D8_bnGs2.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
2
|
import { c as e } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as m } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-D8_bnGs2.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;
|
|
@@ -6,7 +6,7 @@ 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-D8_bnGs2.js";
|
|
10
10
|
const k = (r) => {
|
|
11
11
|
const { className: o, amountProps: m, ...s } = r;
|
|
12
12
|
return /* @__PURE__ */ t(
|
|
@@ -5,7 +5,7 @@ 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-D8_bnGs2.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
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as
|
|
1
|
+
import { jsxs as E, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as g } from "react";
|
|
3
3
|
import { EStepStatus as o, EStepPosition as e } from "./enums.js";
|
|
4
|
-
import { ETooltipAlign as n, ETooltipSize as
|
|
4
|
+
import { ETooltipAlign as n, ETooltipSize as A } from "../Tooltip/enums.js";
|
|
5
5
|
import { Tooltip as a } from "../Tooltip/Tooltip.js";
|
|
6
|
-
import { EFontWeightText as
|
|
6
|
+
import { EFontWeightText as u, ETextSize as N } from "../Typography/enums.js";
|
|
7
7
|
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
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
import { c as O } from "../../chunks/vendor---Om3uMV.js";
|
|
12
|
+
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
13
|
+
import { createSizeToClassNameMap as L } from "../../utils/classNameMaps.js";
|
|
14
|
+
const M = "step__d8fa9aa8", P = "sm__103cce27", R = "md__6ec459c8", b = "lg__b4e19e84", x = "done__bffb010d", C = "warning__a616187f", h = "active__998fd109", v = "error__2e581996", z = "disabled__da8ec289", t = {
|
|
15
|
+
step: M,
|
|
16
|
+
sm: P,
|
|
17
|
+
md: R,
|
|
18
|
+
lg: b,
|
|
19
|
+
default: "default__2d0765a2",
|
|
20
|
+
done: x,
|
|
21
|
+
warning: C,
|
|
17
22
|
active: h,
|
|
18
23
|
error: v,
|
|
19
|
-
disabled:
|
|
20
|
-
},
|
|
24
|
+
disabled: z
|
|
25
|
+
}, w = {
|
|
21
26
|
[o.DEFAULT]: t.default,
|
|
22
27
|
[o.ACTIVE]: t.active,
|
|
23
28
|
[o.WARNING]: t.warning,
|
|
@@ -28,23 +33,24 @@ const A = "step__10bbe76c", R = "done__d04e089c", x = "warning__74b2a59b", h = "
|
|
|
28
33
|
[e.XFirst]: n.START,
|
|
29
34
|
[e.Default]: n.CENTER,
|
|
30
35
|
[e.XLast]: n.END
|
|
31
|
-
},
|
|
36
|
+
}, B = L(t), Y = (r, s) => s === 0 ? e.XFirst : s + 1 === r ? e.XLast : e.Default, F = ({
|
|
32
37
|
children: r,
|
|
33
38
|
className: s,
|
|
34
|
-
step:
|
|
35
|
-
status:
|
|
36
|
-
position:
|
|
39
|
+
step: m,
|
|
40
|
+
status: _,
|
|
41
|
+
position: p = e.Default,
|
|
42
|
+
size: d = I.MD,
|
|
37
43
|
...f
|
|
38
44
|
}) => {
|
|
39
|
-
const
|
|
40
|
-
return r ? /* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */ i(a.Target, { children:
|
|
45
|
+
const c = g(null), T = y[p], S = O(t.step, w[_], B[d], s), l = () => /* @__PURE__ */ i("div", { ref: c, className: S, ...f, children: /* @__PURE__ */ i(D, { size: N.B1, weight: u.SEMIBOLD, children: m }) });
|
|
46
|
+
return r ? /* @__PURE__ */ E(a, { size: A.SM, toggleType: "hover", alignTip: T, targetRef: c, children: [
|
|
47
|
+
/* @__PURE__ */ i(a.Target, { children: l() }),
|
|
42
48
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
43
|
-
] }) :
|
|
49
|
+
] }) : l();
|
|
44
50
|
};
|
|
45
|
-
|
|
51
|
+
F.displayName = "Step";
|
|
46
52
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
53
|
+
F as Step,
|
|
54
|
+
Y as calcPosition
|
|
49
55
|
};
|
|
50
56
|
//# sourceMappingURL=Step.js.map
|
|
@@ -1,103 +1,118 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { scrollSmoothHorizontally as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
}, P = ({
|
|
31
|
-
className: m,
|
|
32
|
-
steps: h,
|
|
33
|
-
size: c = a.SM,
|
|
34
|
-
selectedStepId: l,
|
|
35
|
-
...E
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as A, useRef as N, useCallback as p, useEffect as w } from "react";
|
|
3
|
+
import { c as l } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { CaretleftStrokeSrvIcon24 as y, CaretrightStrokeSrvIcon24 as j } from "@sberbusiness/icons-next";
|
|
5
|
+
import { CarouselExtended as z } from "../CarouselExtended/CarouselExtended.js";
|
|
6
|
+
import { ButtonIcon as E } from "../Button/ButtonIcon.js";
|
|
7
|
+
import { StepperExtended as W } from "./StepperExtended.js";
|
|
8
|
+
import { StepperStep as G } from "./StepperStep.js";
|
|
9
|
+
import { createSizeToClassNameMap as H } from "../../utils/classNameMaps.js";
|
|
10
|
+
import { scrollSmoothHorizontally as h } from "../../utils/scroll.js";
|
|
11
|
+
import { EComponentSize as X } from "../../enums/EComponentSize.js";
|
|
12
|
+
import { EScreenWidth as $ } from "../../helpers/breakpoints.js";
|
|
13
|
+
import "./enums.js";
|
|
14
|
+
const q = "stepperCarousel__951f3b17", D = "stepperButtonWrapper__dc06a7bb", F = "prev__b0e3aff4", J = "next__012063ae", K = "stepperButton__54c99757", Q = "sm__8adc9829", U = "md__677f1705", V = "lg__5967ae13", s = {
|
|
15
|
+
stepperCarousel: q,
|
|
16
|
+
stepperButtonWrapper: D,
|
|
17
|
+
prev: F,
|
|
18
|
+
next: J,
|
|
19
|
+
stepperButton: K,
|
|
20
|
+
sm: Q,
|
|
21
|
+
md: U,
|
|
22
|
+
lg: V
|
|
23
|
+
}, g = H(s), Y = 0.3, Z = ({
|
|
24
|
+
className: I,
|
|
25
|
+
steps: S,
|
|
26
|
+
size: i = X.LG,
|
|
27
|
+
selectedStepId: c,
|
|
28
|
+
...M
|
|
36
29
|
}) => {
|
|
37
|
-
const [x,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
30
|
+
const [x, P] = A({ stepNext: 0, stepPrev: 0 }), m = N(null), v = N({}), L = S.findIndex((t) => t.id === c), O = p(
|
|
31
|
+
({ hidden: t, ...e }) => t ? null : /* @__PURE__ */ n("div", { className: l(s.stepperButtonWrapper, s.prev), children: /* @__PURE__ */ n(
|
|
32
|
+
E,
|
|
33
|
+
{
|
|
34
|
+
className: l(s.stepperButton, g[i]),
|
|
35
|
+
tabIndex: -1,
|
|
36
|
+
...e,
|
|
37
|
+
children: /* @__PURE__ */ n(y, { paletteIndex: 5 })
|
|
38
|
+
}
|
|
39
|
+
) }),
|
|
40
|
+
[i]
|
|
41
|
+
), T = p(
|
|
42
|
+
({ hidden: t, ...e }) => t ? null : /* @__PURE__ */ n("div", { className: l(s.stepperButtonWrapper, s.next), children: /* @__PURE__ */ n(
|
|
43
|
+
E,
|
|
44
|
+
{
|
|
45
|
+
className: l(s.stepperButton, g[i]),
|
|
46
|
+
tabIndex: -1,
|
|
47
|
+
...e,
|
|
48
|
+
children: /* @__PURE__ */ n(j, { paletteIndex: 5 })
|
|
49
|
+
}
|
|
50
|
+
) }),
|
|
51
|
+
[i]
|
|
53
52
|
);
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
w(() => {
|
|
54
|
+
const t = m.current;
|
|
55
|
+
if (t === null)
|
|
56
|
+
return;
|
|
57
|
+
const e = new ResizeObserver((r) => {
|
|
58
|
+
const a = r[0].contentRect.width * Y;
|
|
59
|
+
P({
|
|
60
|
+
stepNext: a,
|
|
61
|
+
stepPrev: a
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
return e.observe(t), () => {
|
|
65
|
+
e.disconnect();
|
|
66
|
+
};
|
|
60
67
|
}, []);
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
68
|
+
const C = p(
|
|
69
|
+
(t, e, r, o) => {
|
|
70
|
+
r > 0 && (e.nextElementSibling && (r -= o - e.nextElementSibling.getBoundingClientRect().right), h(t, Math.ceil(r)));
|
|
71
|
+
},
|
|
72
|
+
[]
|
|
73
|
+
), _ = p(
|
|
74
|
+
(t, e, r, o) => {
|
|
75
|
+
r < 0 && (e.previousElementSibling && (r -= o - e.previousElementSibling.getBoundingClientRect().left), h(t, Math.floor(r)));
|
|
76
|
+
},
|
|
77
|
+
[]
|
|
78
|
+
), B = p((t, e) => {
|
|
79
|
+
e && h(t, e);
|
|
80
|
+
}, []), b = p(
|
|
81
|
+
(t, e) => {
|
|
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 ? B(t, d - f) : f > d ? _(t, e, u - r, u) : f < d && C(t, e, R - o, R);
|
|
84
|
+
},
|
|
85
|
+
[B, _, C]
|
|
86
|
+
);
|
|
87
|
+
return w(() => {
|
|
88
|
+
if (c) {
|
|
89
|
+
const { current: t } = m, e = v.current[c];
|
|
90
|
+
t && e && b(t, e);
|
|
75
91
|
}
|
|
76
|
-
}, [
|
|
77
|
-
|
|
92
|
+
}, [c, b]), /* @__PURE__ */ n(
|
|
93
|
+
z,
|
|
78
94
|
{
|
|
79
|
-
className:
|
|
80
|
-
buttonPrev:
|
|
81
|
-
buttonNext:
|
|
95
|
+
className: l(s.stepperCarousel, g[i], I),
|
|
96
|
+
buttonPrev: O,
|
|
97
|
+
buttonNext: T,
|
|
82
98
|
stepPrev: x.stepPrev,
|
|
83
99
|
stepNext: x.stepNext,
|
|
84
|
-
ref:
|
|
85
|
-
children: /* @__PURE__ */
|
|
86
|
-
|
|
100
|
+
ref: m,
|
|
101
|
+
children: /* @__PURE__ */ n(W, { selectedStepId: c, size: i, ...M, children: S.map(({ label: t, ...e }, r) => /* @__PURE__ */ n(
|
|
102
|
+
W.Step,
|
|
87
103
|
{
|
|
88
|
-
forwardedRef: (o) =>
|
|
89
|
-
...
|
|
90
|
-
isInActiveStep: r >
|
|
91
|
-
children:
|
|
104
|
+
forwardedRef: (o) => v.current[e.id] = o,
|
|
105
|
+
...e,
|
|
106
|
+
isInActiveStep: r > L,
|
|
107
|
+
children: t
|
|
92
108
|
},
|
|
93
|
-
|
|
109
|
+
e.id
|
|
94
110
|
)) })
|
|
95
111
|
}
|
|
96
112
|
);
|
|
97
113
|
};
|
|
98
|
-
|
|
99
|
-
P.Step = X;
|
|
114
|
+
Z.Step = G;
|
|
100
115
|
export {
|
|
101
|
-
|
|
116
|
+
Z as Stepper
|
|
102
117
|
};
|
|
103
118
|
//# sourceMappingURL=Stepper.js.map
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
stepperExtended:
|
|
9
|
-
},
|
|
10
|
-
children:
|
|
11
|
-
className:
|
|
12
|
-
size:
|
|
13
|
-
onSelectStep:
|
|
14
|
-
selectedStepId:
|
|
15
|
-
forwardedRef:
|
|
16
|
-
...
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as x } from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { StepperStep as i } from "./StepperStep.js";
|
|
5
|
+
import { StepperExtendedContext as l } from "./StepperExtendedContext.js";
|
|
6
|
+
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
7
|
+
const E = "stepperExtended__755c9ca5", u = {
|
|
8
|
+
stepperExtended: E
|
|
9
|
+
}, S = ({
|
|
10
|
+
children: p,
|
|
11
|
+
className: s,
|
|
12
|
+
size: e = f.LG,
|
|
13
|
+
onSelectStep: t,
|
|
14
|
+
selectedStepId: r,
|
|
15
|
+
forwardedRef: m,
|
|
16
|
+
...n
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
|
|
18
|
+
const d = a(u.stepperExtended, s), c = x(
|
|
19
|
+
() => ({ selectedId: r, size: e, onSelectStep: t }),
|
|
20
|
+
[r, e, t]
|
|
21
|
+
);
|
|
22
|
+
return /* @__PURE__ */ o(l.Provider, { value: c, children: /* @__PURE__ */ o("ol", { className: d, role: "tablist", ...n, ref: m, children: p }) });
|
|
20
23
|
};
|
|
21
|
-
|
|
22
|
-
t.Wrapper = x;
|
|
24
|
+
S.Step = i;
|
|
23
25
|
export {
|
|
24
|
-
|
|
26
|
+
S as StepperExtended
|
|
25
27
|
};
|
|
26
28
|
//# sourceMappingURL=StepperExtended.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
size: t.
|
|
2
|
+
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
3
|
+
const p = e.createContext({
|
|
4
|
+
size: t.LG,
|
|
5
|
+
selectedId: void 0,
|
|
5
6
|
onSelectStep: () => {
|
|
6
|
-
}
|
|
7
|
-
selectedId: void 0
|
|
7
|
+
}
|
|
8
8
|
});
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
p as StepperExtendedContext
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=StepperExtendedContext.js.map
|