@sberbusiness/triplex-next 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/chunks/AlertProcessSpoiler-DF_eSZ-p.js +41 -0
- package/chunks/{CalendarViewItem-DuqIjj7K.js → CalendarViewItem-CQErGrhc.js} +26 -26
- package/chunks/Card.module-Ce9rAKOc.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Cj2c6m06.js +15 -0
- package/chunks/Chip-BEnNi0nL.js +77 -0
- package/chunks/Confirm.module-CbAi5bkG.js +15 -0
- package/chunks/{DropdownListItem-D_38hBVf.js → DropdownListItem-wT8cLRdZ.js} +14 -14
- package/chunks/DropdownMobile.module-rYB54yd0.js +23 -0
- package/chunks/Footer.module-CzJ_N1fs.js +9 -0
- package/chunks/{FormFieldInput-CP3P-T8_.js → FormFieldInput-Dj2JAqj2.js} +12 -12
- package/chunks/HeaderLayoutSidebar.module-HXJhEmKU.js +9 -0
- package/chunks/HeaderTabs.module-CjapozXy.js +9 -0
- package/chunks/{HeaderTitle.module-CoThbDwW.js → HeaderTitle.module-SmVWml2y.js} +2 -2
- package/chunks/IslandAccordion.module-YvqRlzmi.js +25 -0
- package/chunks/IslandWidgetFooter.module-iMuqKnPP.js +9 -0
- package/chunks/IslandWidgetHeader.module-CnPne0Uq.js +12 -0
- package/chunks/LightBoxContent-DlDaCKV4.js +63 -0
- package/chunks/LightBoxControls.module-laAGRPrR.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B3L_EV1B.js +9 -0
- package/chunks/ListItemControlsButton-UKjqQcv7.js +59 -0
- package/chunks/ListItemTail.module-igeWTjyg.js +12 -0
- package/chunks/ListMasterFooter.module-C0eM4fK4.js +10 -0
- package/chunks/ModalWindow.module-Cpk4uhwk.js +17 -0
- package/chunks/Notification.module-9japFkgv.js +20 -0
- package/chunks/Overlay.module-B3Az7dZS.js +18 -0
- package/chunks/Page.module-DOHwIYM4.js +11 -0
- package/chunks/{RightBorderArrow-TcR9E_47.js → RightBorderArrow-C6j8565V.js} +9 -9
- package/chunks/SMSField.module-BOpUjsSJ.js +16 -0
- package/chunks/SliderExtendedMarks.module-cdkiaSbT.js +15 -0
- package/chunks/{SliderExtendedRail-DawwH3OZ.js → SliderExtendedRail-jfLPbgEp.js} +9 -9
- package/chunks/StatusTracker.module-OAxbFucN.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-_Gn-OMhG.js → SuggestFieldMobileDropdownHint-CCyHjS-V.js} +6 -6
- package/chunks/TableFooter.module-CGWCS8e3.js +14 -0
- package/chunks/TabsExtended.module-BJOWXSHt.js +16 -0
- package/chunks/TabsLine.module-BsiLhw0I.js +21 -0
- package/chunks/TooltipDesktop.module-DVp6GHr8.js +19 -0
- package/chunks/TreeView.module-C2WPNvMq.js +9 -0
- package/chunks/{UploadZoneInput-DmnrQ-pa.js → UploadZoneInput-DYiPRAAI.js} +2 -2
- package/chunks/{constants-BECBzrfZ.js → constants-Ctks52i0.js} +14 -14
- package/chunks/utils-Bz5uKYQD.js +24 -0
- package/chunks/{utils-BlzKyU4p.js → utils-C6a9XDaC.js} +5 -5
- package/chunks/{utils-WHBUmZgw.js → utils-CrkRbGiM.js} +9 -9
- package/chunks/{utils-C9aEOF3O.js → utils-QVs0E_e3.js} +15 -15
- package/components/Alert/AlertContext/AlertContext.js +28 -28
- package/components/Alert/AlertProcess/AlertProcess.js +41 -34
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Alert/AlertProcess/enums.js +5 -0
- package/components/Alert/AlertTypeUtils.js +2 -2
- package/components/Alert/index.js +7 -5
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +15 -15
- package/components/Badge/BadgeDot.js +6 -6
- package/components/Badge/components/BadgeContent.js +18 -18
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +63 -86
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +63 -62
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +17 -19
- package/components/Calendar/Calendar.js +20 -20
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- 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 +34 -33
- package/components/Checkbox/CheckboxXGroup.js +18 -17
- package/components/Checkbox/CheckboxYGroup.js +8 -7
- 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 +3 -2
- package/components/Chip/ChipClearButton.js +6 -6
- 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 +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +38 -43
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +5 -5
- 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 +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +4 -4
- package/components/DateRange/DateRange.js +13 -13
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/AlertProcess.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +22 -22
- 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 +2 -2
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/EmptyView/EmptyView.js +78 -0
- package/components/EmptyView/enums.js +5 -0
- package/components/EmptyView/index.js +7 -0
- package/components/EmptyView/types.js +2 -0
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- 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 +17 -17
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +6 -6
- package/components/FormField/components/FormFieldMaskedInput.js +9 -9
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +12 -12
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- 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 +5 -5
- 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 +92 -88
- package/components/IconWrapper/IconWrapper.js +27 -0
- package/components/IconWrapper/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +1 -1
- 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 +28 -28
- package/components/IslandWidget/IslandWidget.js +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +10 -10
- 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 +1 -1
- package/components/LightBox/LightBox.js +36 -33
- 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 +11 -11
- 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 +11 -11
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +3 -3
- package/components/LightBox/enums.js +5 -0
- package/components/LightBox/index.js +4 -2
- package/components/Link/Link.js +42 -41
- package/components/List/List.js +4 -4
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +8 -8
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +3 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +29 -30
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +12 -12
- 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 +1 -1
- 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 +10 -10
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +8 -8
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- 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 +19 -14
- package/components/OrderedList/OrderedListItem.js +2 -2
- 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 +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- 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 +7 -7
- package/components/Radio/Radio.js +11 -11
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +7 -7
- 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 +17 -17
- package/components/SegmentedControl/SegmentedControlSegment.js +37 -42
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +90 -90
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +5 -5
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +15 -15
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +18 -18
- 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 +11 -11
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +16 -16
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +63 -65
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- 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 +8 -8
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +6 -6
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +4 -4
- 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 +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +6 -6
- 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 +1 -1
- 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 +6 -6
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +18 -18
- 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 +17 -17
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +25 -25
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +7 -7
- 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 +3 -3
- 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 +24 -24
- 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 +19 -19
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +9 -9
- package/components/Typography/Title.js +10 -10
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- 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 +591 -581
- package/index.d.ts +80 -14
- package/index.js +639 -629
- package/package.json +9 -1
- package/styles/triplex-next.css +541 -541
- package/chunks/AlertProcessSpoiler-BofkfSM8.js +0 -39
- package/chunks/Card.module-Cok9cKxI.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D_OBlNho.js +0 -15
- package/chunks/Chip-CFtA5mp4.js +0 -104
- package/chunks/Confirm.module-BgCUAiCk.js +0 -15
- package/chunks/DropdownMobile.module-Bccjckjq.js +0 -23
- package/chunks/Footer.module-CkVvrPtL.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Ci8iAZs7.js +0 -9
- package/chunks/HeaderTabs.module-2vtcjdH_.js +0 -9
- package/chunks/IslandAccordion.module-DLanAkfo.js +0 -25
- package/chunks/IslandWidgetFooter.module-kdzBJDuu.js +0 -9
- package/chunks/IslandWidgetHeader.module-BAcC1EB8.js +0 -12
- package/chunks/LightBoxContent-hyVn3q-T.js +0 -56
- package/chunks/LightBoxControls.module-CTUWde8O.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CnOh-RZn.js +0 -9
- package/chunks/ListItemControlsButton-BFfMrFr7.js +0 -51
- package/chunks/ListItemTail.module-BOV7kcBg.js +0 -12
- package/chunks/ListMasterFooter.module-DT_P8Iub.js +0 -10
- package/chunks/ModalWindow.module-DZdMA7rm.js +0 -17
- package/chunks/Notification.module-CJl-qcj8.js +0 -20
- package/chunks/Overlay.module-Buw8PcSy.js +0 -18
- package/chunks/Page.module-DIObxp8c.js +0 -11
- package/chunks/SMSField.module-B170OigL.js +0 -16
- package/chunks/SliderExtendedMarks.module-SBpITDrZ.js +0 -15
- package/chunks/StatusTracker.module-BT9AMEAv.js +0 -24
- package/chunks/TableFooter.module-DaFHVJUx.js +0 -14
- package/chunks/TabsExtended.module-vg1pJlhg.js +0 -16
- package/chunks/TabsLine.module-h8aBK1Tw.js +0 -21
- package/chunks/TooltipDesktop.module-oXI2FLzE.js +0 -19
- package/chunks/TreeView.module-C6t2uuwa.js +0 -9
- package/chunks/utils-BI5x-xfE.js +0 -24
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as B, Fragment as L, jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useContext as ce, useRef as O, useLayoutEffect as P } from "react";
|
|
3
|
-
import { l as X, c as
|
|
4
|
-
import { SliderExtendedContext as
|
|
3
|
+
import { l as X, c as le } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { SliderExtendedContext as de } from "../../SliderExtendedContext.js";
|
|
5
5
|
import { SliderExtendedMoveHandler as ae } 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__66146f2b", ue = "lg__27a4c827", fe = "focusedByClick__cd875098", me = "hoverOrDragByMouse__53d11976", he = "staticSlider__e0bf660e", ge = "disabled__34926d7c", o = {
|
|
12
12
|
sliderExtendedTrack: ne,
|
|
13
13
|
lg: ue,
|
|
14
14
|
focusedByClick: fe,
|
|
@@ -26,7 +26,7 @@ const ne = "sliderExtendedTrack__62908933", ue = "lg__252d9dbc", fe = "focusedBy
|
|
|
26
26
|
onTouchStart: y,
|
|
27
27
|
...A
|
|
28
28
|
}) => {
|
|
29
|
-
const [W, C] = c(!1), [
|
|
29
|
+
const [W, C] = c(!1), [d, S] = c(!1), [H, v] = c(!1), [V, a] = c(!1), [U, b] = c(-1), {
|
|
30
30
|
disabled: M,
|
|
31
31
|
dots: s,
|
|
32
32
|
focused: i,
|
|
@@ -37,9 +37,9 @@ const ne = "sliderExtendedTrack__62908933", ue = "lg__252d9dbc", fe = "focusedBy
|
|
|
37
37
|
setFocused: R,
|
|
38
38
|
steps: u,
|
|
39
39
|
size: $
|
|
40
|
-
} = ce(
|
|
40
|
+
} = ce(de), f = O(0), m = O(null);
|
|
41
41
|
if (P(() => {
|
|
42
|
-
s.length > 1 && k ?
|
|
42
|
+
s.length > 1 && k ? d || S(!0) : d !== !1 && S(!1);
|
|
43
43
|
}, [s, k]), P(() => {
|
|
44
44
|
s.length > 1 && b(i ? 2 : -1);
|
|
45
45
|
}, [i]), !s.length)
|
|
@@ -49,7 +49,7 @@ const ne = "sliderExtendedTrack__62908933", ue = "lg__252d9dbc", fe = "focusedBy
|
|
|
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,
|
|
@@ -64,7 +64,7 @@ const ne = "sliderExtendedTrack__62908933", ue = "lg__252d9dbc", fe = "focusedBy
|
|
|
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,
|
|
@@ -75,9 +75,9 @@ const ne = "sliderExtendedTrack__62908933", ue = "lg__252d9dbc", fe = "focusedBy
|
|
|
75
75
|
}, I = (e) => {
|
|
76
76
|
e.cancelable && e.preventDefault(), a(!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
82
|
i || R(!0), C(!0), E == null || E(e);
|
|
83
83
|
}, ee = (e) => {
|
|
@@ -86,7 +86,7 @@ const ne = "sliderExtendedTrack__62908933", ue = "lg__252d9dbc", fe = "focusedBy
|
|
|
86
86
|
n(!0), D == null || D(e);
|
|
87
87
|
}, se = (e) => {
|
|
88
88
|
V || n(!1), T == null || T(e);
|
|
89
|
-
}, { left: re, right: oe } =
|
|
89
|
+
}, { left: re, right: oe } = l.getTrackPosition({ dots: s, reverse: _ });
|
|
90
90
|
return /* @__PURE__ */ B(L, { children: [
|
|
91
91
|
W && /* @__PURE__ */ B(L, { children: [
|
|
92
92
|
/* @__PURE__ */ h(
|
|
@@ -114,14 +114,14 @@ const ne = "sliderExtendedTrack__62908933", ue = "lg__252d9dbc", fe = "focusedBy
|
|
|
114
114
|
"span",
|
|
115
115
|
{
|
|
116
116
|
role: "button",
|
|
117
|
-
tabIndex: !M &&
|
|
117
|
+
tabIndex: !M && d ? U : -1,
|
|
118
118
|
...A,
|
|
119
|
-
className:
|
|
119
|
+
className: 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]: !d
|
|
125
125
|
}),
|
|
126
126
|
onBlur: ee,
|
|
127
127
|
onFocus: Z,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const o = "
|
|
4
|
+
const o = "smallInput__94c12bea", n = {
|
|
5
5
|
smallInput: o
|
|
6
|
-
},
|
|
7
|
-
|
|
6
|
+
}, e = m.forwardRef(({ className: t, ...l }, s) => /* @__PURE__ */ a("input", { className: p(n.smallInput, t), ...l, type: "text", ref: s }));
|
|
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";
|
|
@@ -9,8 +9,8 @@ import "../Button/ButtonDropdownExtended.js";
|
|
|
9
9
|
import { EButtonTheme as R } from "../Button/enums.js";
|
|
10
10
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
12
|
-
import { u as j, c as
|
|
13
|
-
const y = "
|
|
12
|
+
import { u as j, c as f } from "../../chunks/vendor---Om3uMV.js";
|
|
13
|
+
const y = "spoiler__afb0e17d", D = "opened__4fae9a94", q = "caretIcon__c5b99aa2", A = "head__2f11d88a", G = "content__1d837faf", H = "hidden__8fae1ac8", K = "lg__baf7147b", $ = "md__3e894f12", F = "sm__c40fbbb1", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,25 +21,25 @@ const y = "spoiler__48289b00", D = "opened__febaeb8b", q = "caretIcon__853359ca"
|
|
|
21
21
|
md: $,
|
|
22
22
|
sm: F
|
|
23
23
|
}, J = {
|
|
24
|
-
[s.SM]: /* @__PURE__ */
|
|
25
|
-
[s.MD]: /* @__PURE__ */
|
|
26
|
-
[s.LG]: /* @__PURE__ */
|
|
27
|
-
}, O = g(e), P = z.forwardRef((
|
|
24
|
+
[s.SM]: /* @__PURE__ */ n(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
|
+
[s.MD]: /* @__PURE__ */ n(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
|
+
[s.LG]: /* @__PURE__ */ n(p, { paletteIndex: 5, className: e.caretIcon })
|
|
27
|
+
}, O = g(e), P = z.forwardRef((_, h) => {
|
|
28
28
|
const {
|
|
29
29
|
children: I,
|
|
30
30
|
expanded: c,
|
|
31
31
|
onToggle: o,
|
|
32
|
-
toggle:
|
|
32
|
+
toggle: a,
|
|
33
33
|
className: x,
|
|
34
34
|
labelExpand: S,
|
|
35
|
-
labelCollapse:
|
|
36
|
-
rightBlock:
|
|
35
|
+
labelCollapse: u,
|
|
36
|
+
rightBlock: N,
|
|
37
37
|
size: r = s.MD,
|
|
38
|
-
...
|
|
39
|
-
} =
|
|
38
|
+
...b
|
|
39
|
+
} = _, d = c !== void 0, [C, v] = T(c), t = d ? c : 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 = f(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
45
45
|
{
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__48289b00", D = "opened__febaeb8b", q = "caretIcon__853359ca"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...b, className: k, "data-tx": "0.25.0", ref: h, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -58,14 +58,14 @@ const y = "spoiler__48289b00", D = "opened__febaeb8b", q = "caretIcon__853359ca"
|
|
|
58
58
|
size: r,
|
|
59
59
|
onClick: M,
|
|
60
60
|
children: [
|
|
61
|
-
t ?
|
|
61
|
+
t ? u : S,
|
|
62
62
|
J[r]
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ n("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-OAxbFucN.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.25.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-OAxbFucN.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-OAxbFucN.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-OAxbFucN.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-OAxbFucN.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-OAxbFucN.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-OAxbFucN.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-OAxbFucN.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-OAxbFucN.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-OAxbFucN.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-OAxbFucN.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
|
@@ -3,19 +3,19 @@ import { useRef as u } from "react";
|
|
|
3
3
|
import { EStepStatus as o, EStepPosition as e } from "./enums.js";
|
|
4
4
|
import { ETooltipAlign as n, ETooltipSize as _ } from "../Tooltip/enums.js";
|
|
5
5
|
import { Tooltip as a } from "../Tooltip/Tooltip.js";
|
|
6
|
-
import { EFontWeightText as S, ETextSize as
|
|
6
|
+
import { EFontWeightText as S, ETextSize as b } from "../Typography/enums.js";
|
|
7
7
|
import "../Typography/Caption.js";
|
|
8
8
|
import "../Typography/CodeText.js";
|
|
9
|
-
import { Text as
|
|
9
|
+
import { Text as D } from "../Typography/Text.js";
|
|
10
10
|
import "../Typography/Title.js";
|
|
11
|
-
import { c as
|
|
12
|
-
const
|
|
13
|
-
step:
|
|
14
|
-
default: "
|
|
15
|
-
done:
|
|
16
|
-
warning:
|
|
17
|
-
active:
|
|
18
|
-
error:
|
|
11
|
+
import { c as N } from "../../chunks/vendor---Om3uMV.js";
|
|
12
|
+
const A = "step__10bbe76c", R = "done__d04e089c", x = "warning__74b2a59b", h = "active__c8b40417", v = "error__c555165d", w = "disabled__fb4a6ea0", t = {
|
|
13
|
+
step: A,
|
|
14
|
+
default: "default__45458f91",
|
|
15
|
+
done: R,
|
|
16
|
+
warning: x,
|
|
17
|
+
active: h,
|
|
18
|
+
error: v,
|
|
19
19
|
disabled: w
|
|
20
20
|
}, L = {
|
|
21
21
|
[o.DEFAULT]: t.default,
|
|
@@ -36,7 +36,7 @@ const R = "step__289855a6", x = "done__ea60c434", h = "warning__47cc8f1e", v = "
|
|
|
36
36
|
position: m = e.Default,
|
|
37
37
|
...f
|
|
38
38
|
}) => {
|
|
39
|
-
const l = u(null), T = y[m], E =
|
|
39
|
+
const l = u(null), T = y[m], E = N(t.step, L[d], s), c = () => /* @__PURE__ */ i("div", { ref: l, className: E, ...f, children: /* @__PURE__ */ i(D, { size: b.B1, weight: S.SEMIBOLD, children: p }) });
|
|
40
40
|
return r ? /* @__PURE__ */ g(a, { size: _.SM, toggleType: "hover", alignTip: T, targetRef: l, children: [
|
|
41
41
|
/* @__PURE__ */ i(a.Target, { children: c() }),
|
|
42
42
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
@@ -8,9 +8,9 @@ import { ButtonIcon as R } from "../Button/ButtonIcon.js";
|
|
|
8
8
|
import { CaretrightStrokeSrvIcon24 as q, CaretleftStrokeSrvIcon24 as F } from "@sberbusiness/icons-next";
|
|
9
9
|
import { EScreenWidth as J } from "../../helpers/breakpoints.js";
|
|
10
10
|
import { scrollSmoothHorizontally as S } from "../../utils/scroll.js";
|
|
11
|
-
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
11
|
+
import { c as i } from "../../chunks/vendor---Om3uMV.js";
|
|
12
12
|
import { EStepperSize as a } from "./enums.js";
|
|
13
|
-
const K = "
|
|
13
|
+
const K = "stepper__29313d95", O = "sm__136a59ec", Q = "md__931b859f", T = "lg__59985e00", U = "stepperCarousel__b7b95d54", V = "buttonPrev__02463b91", Y = "buttonNext__347ad6df", n = {
|
|
14
14
|
stepper: K,
|
|
15
15
|
sm: O,
|
|
16
16
|
md: Q,
|
|
@@ -30,25 +30,25 @@ const K = "stepper__56036f20", O = "sm__95acaf1e", Q = "md__e41d5bec", T = "lg__
|
|
|
30
30
|
}, P = ({
|
|
31
31
|
className: m,
|
|
32
32
|
steps: h,
|
|
33
|
-
size:
|
|
33
|
+
size: c = a.SM,
|
|
34
34
|
selectedStepId: l,
|
|
35
35
|
...E
|
|
36
36
|
}) => {
|
|
37
|
-
const [
|
|
37
|
+
const [x, w] = G({ stepNext: 0, stepPrev: 0 }), u = v(null), b = v({}), B = i(n.stepper, p(c), m), M = h.findIndex((e) => e.id === l), I = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
|
|
38
38
|
R,
|
|
39
39
|
{
|
|
40
|
-
className:
|
|
40
|
+
className: i(n.buttonPrev, p(c)),
|
|
41
41
|
...t,
|
|
42
42
|
"aria-label": "Прокрутить назад",
|
|
43
|
-
children: /* @__PURE__ */ s(F, { className:
|
|
43
|
+
children: /* @__PURE__ */ s(F, { className: i(n.buttonPrevIcon), paletteIndex: 5 })
|
|
44
44
|
}
|
|
45
45
|
), W = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
|
|
46
46
|
R,
|
|
47
47
|
{
|
|
48
|
-
className:
|
|
48
|
+
className: i(n.buttonNext, p(c)),
|
|
49
49
|
...t,
|
|
50
50
|
"aria-label": "Прокрутить вперёд",
|
|
51
|
-
children: /* @__PURE__ */ s(q, { className:
|
|
51
|
+
children: /* @__PURE__ */ s(q, { className: i(n.buttonNextIcon), paletteIndex: 5 })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
C(() => {
|
|
@@ -65,27 +65,27 @@ const K = "stepper__56036f20", O = "sm__95acaf1e", Q = "md__e41d5bec", T = "lg__
|
|
|
65
65
|
}, y = (e, t) => {
|
|
66
66
|
t && S(e, t);
|
|
67
67
|
}, A = (e, t) => {
|
|
68
|
-
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: f, right: N, width: D } = t.getBoundingClientRect(),
|
|
69
|
-
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e,
|
|
68
|
+
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: f, right: N, width: D } = t.getBoundingClientRect(), d = r + j / 2, g = f + D / 2;
|
|
69
|
+
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e, g - d) : d > g ? k(e, t, f - r - 32, f) : d < g && L(e, t, N - o + 32, N);
|
|
70
70
|
};
|
|
71
71
|
return C(() => {
|
|
72
72
|
if (l) {
|
|
73
|
-
const { current: e } = u, t =
|
|
73
|
+
const { current: e } = u, t = b.current[l];
|
|
74
74
|
e && t && A(e, t);
|
|
75
75
|
}
|
|
76
76
|
}, [l]), /* @__PURE__ */ s(
|
|
77
77
|
$,
|
|
78
78
|
{
|
|
79
|
-
className:
|
|
79
|
+
className: i(n.stepperCarousel, p(c)),
|
|
80
80
|
buttonPrev: I,
|
|
81
81
|
buttonNext: W,
|
|
82
|
-
stepPrev:
|
|
83
|
-
stepNext:
|
|
82
|
+
stepPrev: x.stepPrev,
|
|
83
|
+
stepNext: x.stepNext,
|
|
84
84
|
ref: u,
|
|
85
|
-
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size:
|
|
85
|
+
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size: c, ...E, children: h.map(({ label: e, ...t }, r) => /* @__PURE__ */ s(
|
|
86
86
|
_.Step,
|
|
87
87
|
{
|
|
88
|
-
forwardedRef: (o) =>
|
|
88
|
+
forwardedRef: (o) => b.current[t.id] = o,
|
|
89
89
|
...t,
|
|
90
90
|
isInActiveStep: r > M,
|
|
91
91
|
children: e
|
|
@@ -4,7 +4,7 @@ import { StepperExtendedContext as i } from "./StepperExtendedContext.js";
|
|
|
4
4
|
import { StepperWrapper as x } from "./StepperWrapper.js";
|
|
5
5
|
import { StepperStep as f } from "./StepperStep.js";
|
|
6
6
|
import { c as E } from "../../chunks/vendor---Om3uMV.js";
|
|
7
|
-
const h = "
|
|
7
|
+
const h = "stepperExtended__0a9410f5", u = {
|
|
8
8
|
stepperExtended: h
|
|
9
9
|
}, t = ({
|
|
10
10
|
children: r,
|
|
@@ -13,10 +13,10 @@ const h = "stepperExtended__6e3e1c76", u = {
|
|
|
13
13
|
onSelectStep: s,
|
|
14
14
|
selectedStepId: d,
|
|
15
15
|
forwardedRef: n,
|
|
16
|
-
...
|
|
16
|
+
...m
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
return /* @__PURE__ */ e(i.Provider, { value: { onSelectStep: l, selectedId: d, size: o }, children: /* @__PURE__ */ e("ol", { className:
|
|
18
|
+
const c = E(u.stepperExtended, p), l = (S) => s(S);
|
|
19
|
+
return /* @__PURE__ */ e(i.Provider, { value: { onSelectStep: l, selectedId: d, size: o }, children: /* @__PURE__ */ e("ol", { className: c, role: "tablist", ...m, ref: n, children: r }) });
|
|
20
20
|
};
|
|
21
21
|
t.Step = f;
|
|
22
22
|
t.Wrapper = x;
|
|
@@ -1,88 +1,86 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useContext as
|
|
1
|
+
import { jsxs as d, jsx as y } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as U, useState as V, useRef as k } from "react";
|
|
3
3
|
import { StepperStepIcon as q } from "./StepperStepIcon.js";
|
|
4
4
|
import { isKey as A } from "../../utils/keyboard.js";
|
|
5
|
-
import { StepperExtendedContext as
|
|
6
|
-
import { EFocusSource as
|
|
7
|
-
import { c as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
import { StepperExtendedContext as v } from "./StepperExtendedContext.js";
|
|
6
|
+
import { EFocusSource as c } from "../../enums/EFocusSource.js";
|
|
7
|
+
import { c as D } from "../../chunks/vendor---Om3uMV.js";
|
|
8
|
+
import { EStepperSize as x, EStepperStepType as C } from "./enums.js";
|
|
9
|
+
import { s as e, R as F } from "../../chunks/RightBorderArrow-C6j8565V.js";
|
|
10
|
+
import { IconWrapper as H } from "../IconWrapper/IconWrapper.js";
|
|
11
|
+
const J = ({
|
|
12
|
+
children: h,
|
|
13
|
+
className: j,
|
|
14
|
+
id: o,
|
|
14
15
|
isInActiveStep: R,
|
|
15
|
-
onFocus:
|
|
16
|
-
onBlur:
|
|
17
|
-
onKeyDown:
|
|
18
|
-
onMouseDown:
|
|
19
|
-
onClick:
|
|
16
|
+
onFocus: n,
|
|
17
|
+
onBlur: i,
|
|
18
|
+
onKeyDown: f,
|
|
19
|
+
onMouseDown: a,
|
|
20
|
+
onClick: S,
|
|
20
21
|
disabled: r,
|
|
21
22
|
icon: g,
|
|
22
|
-
forwardedRef:
|
|
23
|
-
type:
|
|
24
|
-
...
|
|
23
|
+
forwardedRef: s,
|
|
24
|
+
type: I,
|
|
25
|
+
...z
|
|
25
26
|
}) => {
|
|
26
|
-
const { selectedId:
|
|
27
|
-
|
|
27
|
+
const { selectedId: G, size: p, onSelectStep: l } = U(v), [u, E] = V(c.NONE), m = k(null), N = o === G, T = D(
|
|
28
|
+
e.stepperStep,
|
|
28
29
|
{
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
30
|
+
[e.active]: N,
|
|
31
|
+
[e.inactive]: R,
|
|
32
|
+
[e.completed]: !N && !R,
|
|
33
|
+
[e.disabled]: !!r,
|
|
34
|
+
[e.nonempty]: !!h,
|
|
35
|
+
[e.error]: !r && I === C.ERROR,
|
|
36
|
+
[e.warning]: !r && I === C.WARNING,
|
|
37
|
+
[e.focusVisible]: u === c.KEYBOARD,
|
|
38
|
+
[e.sm]: p === x.SM,
|
|
39
|
+
[e.md]: p === x.MD,
|
|
40
|
+
[e.lg]: p === x.LG
|
|
40
41
|
},
|
|
41
|
-
|
|
42
|
-
),
|
|
43
|
-
!u &&
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
const
|
|
48
|
-
A(
|
|
49
|
-
},
|
|
50
|
-
u || E(
|
|
51
|
-
},
|
|
52
|
-
r ||
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
return /* @__PURE__ */ y("span", { className: e, children: g });
|
|
58
|
-
};
|
|
59
|
-
return /* @__PURE__ */ I(
|
|
42
|
+
j
|
|
43
|
+
), W = (t) => {
|
|
44
|
+
!u && m.current === t.target && E(c.KEYBOARD), n == null || n(t);
|
|
45
|
+
}, Y = (t) => {
|
|
46
|
+
m.current !== document.activeElement && m.current === t.target && E(c.NONE), i == null || i(t);
|
|
47
|
+
}, B = (t) => {
|
|
48
|
+
const O = t.code || t.keyCode;
|
|
49
|
+
A(O, "ENTER") ? r || l(o) : A(O, "SPACE") && (t.preventDefault(), r || l(o)), f == null || f(t);
|
|
50
|
+
}, K = (t) => {
|
|
51
|
+
u || E(c.MOUSE), a == null || a(t);
|
|
52
|
+
}, L = (t) => {
|
|
53
|
+
r || l(o), S == null || S(t);
|
|
54
|
+
}, M = (t) => {
|
|
55
|
+
m.current = t, typeof s == "function" ? s(t) : s && (s.current = t);
|
|
56
|
+
}, P = () => /* @__PURE__ */ y(H, { className: e.icon, disabled: !!r, children: g });
|
|
57
|
+
return /* @__PURE__ */ d(
|
|
60
58
|
"li",
|
|
61
59
|
{
|
|
62
|
-
className:
|
|
63
|
-
onFocus:
|
|
64
|
-
onBlur:
|
|
65
|
-
onKeyDown:
|
|
66
|
-
onMouseDown:
|
|
67
|
-
onClick:
|
|
60
|
+
className: T,
|
|
61
|
+
onFocus: W,
|
|
62
|
+
onBlur: Y,
|
|
63
|
+
onKeyDown: B,
|
|
64
|
+
onMouseDown: K,
|
|
65
|
+
onClick: L,
|
|
68
66
|
tabIndex: r ? -1 : 0,
|
|
69
67
|
"aria-disabled": r,
|
|
70
68
|
"aria-current": N || void 0,
|
|
71
69
|
role: "button",
|
|
72
|
-
...
|
|
73
|
-
ref:
|
|
70
|
+
...z,
|
|
71
|
+
ref: M,
|
|
74
72
|
children: [
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
g &&
|
|
77
|
-
|
|
73
|
+
/* @__PURE__ */ d("div", { className: e.content, "data-tx": "0.25.0", children: [
|
|
74
|
+
g && P(),
|
|
75
|
+
h
|
|
78
76
|
] }),
|
|
79
|
-
/* @__PURE__ */ y(F, { size:
|
|
77
|
+
/* @__PURE__ */ y(F, { size: p })
|
|
80
78
|
]
|
|
81
79
|
}
|
|
82
80
|
);
|
|
83
81
|
};
|
|
84
|
-
|
|
82
|
+
J.Icon = q;
|
|
85
83
|
export {
|
|
86
|
-
|
|
84
|
+
J as StepperStep
|
|
87
85
|
};
|
|
88
86
|
//# sourceMappingURL=StepperStep.js.map
|