@sberbusiness/triplex-next 0.22.0 → 0.24.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 +8 -1
- package/assets/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/chunks/AlertProcessSpoiler-BofkfSM8.js +39 -0
- package/chunks/{CalendarViewItem-EhHNwDDy.js → CalendarViewItem-DuqIjj7K.js} +20 -20
- package/chunks/Card.module-Cok9cKxI.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D_OBlNho.js +15 -0
- package/chunks/Chip-CFtA5mp4.js +104 -0
- package/chunks/Confirm.module-BgCUAiCk.js +15 -0
- package/chunks/{DropdownListItem-C5KVFMFN.js → DropdownListItem-D_38hBVf.js} +8 -8
- package/chunks/DropdownMobile.module-Bccjckjq.js +23 -0
- package/chunks/Footer.module-CkVvrPtL.js +9 -0
- package/chunks/{FormFieldInput-Dp--anY3.js → FormFieldInput-CP3P-T8_.js} +20 -20
- package/chunks/HeaderLayoutSidebar.module-Ci8iAZs7.js +9 -0
- package/chunks/HeaderTabs.module-2vtcjdH_.js +9 -0
- package/chunks/{HeaderTitle.module-C_Qbl_yg.js → HeaderTitle.module-CoThbDwW.js} +2 -2
- package/chunks/IslandAccordion.module-DLanAkfo.js +25 -0
- package/chunks/IslandWidgetFooter.module-kdzBJDuu.js +9 -0
- package/chunks/IslandWidgetHeader.module-BAcC1EB8.js +12 -0
- package/chunks/{LightBoxContent-qf3pAUrN.js → LightBoxContent-hyVn3q-T.js} +16 -16
- package/chunks/LightBoxControls.module-CTUWde8O.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CnOh-RZn.js +9 -0
- package/chunks/ListItemControlsButton-BFfMrFr7.js +51 -0
- package/chunks/ListItemTail.module-BOV7kcBg.js +12 -0
- package/chunks/ListMasterFooter.module-DT_P8Iub.js +10 -0
- package/chunks/ModalWindow.module-DZdMA7rm.js +17 -0
- package/chunks/Notification.module-CJl-qcj8.js +20 -0
- package/chunks/Overlay.module-Buw8PcSy.js +18 -0
- package/chunks/Page.module-DIObxp8c.js +11 -0
- package/chunks/{RightBorderArrow-BBut2Is3.js → RightBorderArrow-TcR9E_47.js} +12 -12
- package/chunks/SMSField.module-B170OigL.js +16 -0
- package/chunks/SliderExtendedMarks.module-SBpITDrZ.js +15 -0
- package/chunks/{SliderExtendedRail-DbmfJHLD.js → SliderExtendedRail-DawwH3OZ.js} +8 -8
- package/chunks/StatusTracker.module-BT9AMEAv.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BZd9-Rmk.js → SuggestFieldMobileDropdownHint-_Gn-OMhG.js} +6 -5
- package/chunks/TableFooter.module-DaFHVJUx.js +14 -0
- package/chunks/TabsExtended.module-vg1pJlhg.js +16 -0
- package/chunks/TabsLine.module-h8aBK1Tw.js +21 -0
- package/chunks/TooltipDesktop.module-oXI2FLzE.js +19 -0
- package/chunks/TreeView.module-C6t2uuwa.js +9 -0
- package/chunks/{UploadZoneInput-BfYcVOW-.js → UploadZoneInput-DmnrQ-pa.js} +2 -2
- package/chunks/{constants-BuiH5bGa.js → constants-BECBzrfZ.js} +15 -15
- package/chunks/utils-BI5x-xfE.js +24 -0
- package/chunks/{utils-D7L6Tbas.js → utils-BlzKyU4p.js} +2 -2
- package/chunks/{utils-BgxjtTHV.js → utils-C9aEOF3O.js} +20 -20
- package/chunks/{utils-BnE2k27o.js → utils-WHBUmZgw.js} +8 -8
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +4 -3
- package/components/Avatar/Avatar.js +6 -6
- package/components/Badge/Badge.js +14 -14
- package/components/Badge/BadgeDot.js +6 -6
- package/components/Badge/components/BadgeContent.js +9 -9
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +3 -3
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +29 -29
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +64 -64
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +11 -11
- package/components/Calendar/Calendar.js +17 -17
- package/components/Calendar/components/CalendarControls.js +1 -1
- 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 +16 -16
- 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 +10 -9
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +3 -2
- package/components/Chip/ChipClearButton.js +5 -5
- 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 +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +22 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +8 -8
- 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/ConfirmContentSubTitle.js +4 -3
- 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 +5 -5
- package/components/DateRange/DateRange.js +15 -15
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +74 -67
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/enums.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +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 +7 -7
- 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 +24 -24
- package/components/FormField/components/FormFieldClear.js +4 -4
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +10 -10
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +3 -3
- package/components/FormField/components/FormFieldTarget.js +13 -13
- package/components/FormField/components/FormFieldTextarea.js +27 -27
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +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 +9 -9
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +9 -7
- package/components/Island/components/IslandFooter.js +3 -3
- 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 +3 -2
- package/components/IslandWidget/IslandWidget.js +18 -18
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- 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 +6 -6
- package/components/LightBox/LightBox.js +16 -16
- 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 +28 -28
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/Link/Link.js +16 -16
- package/components/List/List.js +8 -8
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +12 -10
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +20 -18
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +6 -14
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +11 -11
- 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 +8 -12
- 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 +12 -12
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -13
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- 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 +33 -46
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- 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 +6 -6
- package/components/OrderedList/OrderedListItem.js +10 -9
- 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 +8 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +9 -9
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +10 -9
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -2
- package/components/Pagination/components/PaginationSelect.js +15 -14
- package/components/Radio/Radio.js +15 -14
- package/components/Radio/RadioXGroup.js +15 -15
- package/components/Radio/RadioYGroup.js +4 -4
- 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 +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +1 -1
- package/components/SelectExtendedField/SelectExtendedField.js +51 -42
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +4 -3
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +11 -11
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +12 -12
- 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 +1 -1
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +20 -20
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +4 -3
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +4 -3
- 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 +11 -10
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -7
- package/components/Step/Step.js +11 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +16 -16
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +25 -23
- package/components/SuggestField/SuggestField.js +13 -12
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +10 -10
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -30
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +40 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +54 -52
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +3 -2
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +10 -10
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +6 -6
- package/components/Table/NoColumns.js +1 -1
- 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 +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- 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 +4 -4
- 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 +5 -5
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +20 -20
- 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 +5 -4
- 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 +5 -4
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +11 -11
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +5 -5
- 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 +10 -10
- 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 +1 -1
- package/components/TopOverlay/TopOverlay.js +11 -11
- 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 +22 -22
- package/components/Typography/CodeText.js +28 -0
- package/components/Typography/Text.js +29 -29
- package/components/Typography/Title.js +19 -19
- package/components/Typography/constants.js +1 -1
- package/components/Typography/index.js +12 -10
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +10 -9
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +17 -15
- package/index.d.ts +43 -16
- package/index.js +61 -59
- package/package.json +1 -1
- package/styles/triplex-next.css +541 -541
- package/chunks/AlertProcessSpoiler-BsywFBZZ.js +0 -39
- package/chunks/Card.module-Dgcuvaxs.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CjEhZ2aL.js +0 -15
- package/chunks/Chip-6YRhubRU.js +0 -90
- package/chunks/Confirm.module-BMm4u38e.js +0 -15
- package/chunks/DropdownMobile.module-Cxm5Uhf1.js +0 -23
- package/chunks/Footer.module-CTy6Jb7Q.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DE1rx-T9.js +0 -9
- package/chunks/HeaderTabs.module-CU5av8Im.js +0 -9
- package/chunks/IslandAccordion.module-DLX2HyLA.js +0 -25
- package/chunks/IslandWidgetFooter.module-CevMa9bc.js +0 -9
- package/chunks/IslandWidgetHeader.module-DTRWPBN8.js +0 -12
- package/chunks/LightBoxControls.module-Bg_GYyOS.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Cgag40bQ.js +0 -9
- package/chunks/ListItemControlsButton-BAYnQi20.js +0 -43
- package/chunks/ListItemTail.module-Cu07UH0y.js +0 -12
- package/chunks/ListMasterFooter.module-CAY0qwdE.js +0 -10
- package/chunks/ModalWindow.module-CwlDT1jn.js +0 -17
- package/chunks/Notification.module-C93nRGIm.js +0 -20
- package/chunks/Overlay.module-CYkgbbXG.js +0 -18
- package/chunks/Page.module-DZHBTNJd.js +0 -11
- package/chunks/SMSField.module-BUVlPOpO.js +0 -16
- package/chunks/SliderExtendedMarks.module-B93JtPsG.js +0 -15
- package/chunks/StatusTracker.module-BhVoYRB1.js +0 -24
- package/chunks/TableFooter.module-CwKjzhF7.js +0 -14
- package/chunks/TabsExtended.module-NTLSSjNf.js +0 -16
- package/chunks/TabsLine.module-CCjh6UnA.js +0 -21
- package/chunks/TooltipDesktop.module-CDF6HmOX.js +0 -19
- package/chunks/TreeView.module-7cPW-p6b.js +0 -9
- package/chunks/utils-Z5FN_0vH.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 de } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { SliderExtendedContext as le } 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 d } 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__62908933", ue = "lg__252d9dbc", fe = "focusedByClick__6cabcf3c", me = "hoverOrDragByMouse__7dd23f08", he = "staticSlider__cee05f68", ge = "disabled__ecdc9e74", o = {
|
|
12
12
|
sliderExtendedTrack: ne,
|
|
13
13
|
lg: ue,
|
|
14
14
|
focusedByClick: fe,
|
|
@@ -17,7 +17,7 @@ const ne = "sliderExtendedTrack__660fba2a", ue = "lg__c1e7cbc6", fe = "focusedBy
|
|
|
17
17
|
disabled: ge
|
|
18
18
|
}, pe = ie(o), Ee = ({
|
|
19
19
|
className: K,
|
|
20
|
-
draggable:
|
|
20
|
+
draggable: k = !0,
|
|
21
21
|
onBlur: p,
|
|
22
22
|
onFocus: E,
|
|
23
23
|
onMouseDown: x,
|
|
@@ -26,7 +26,7 @@ const ne = "sliderExtendedTrack__660fba2a", ue = "lg__c1e7cbc6", fe = "focusedBy
|
|
|
26
26
|
onTouchStart: y,
|
|
27
27
|
...A
|
|
28
28
|
}) => {
|
|
29
|
-
const [W,
|
|
29
|
+
const [W, C] = c(!1), [l, 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,11 +37,11 @@ const ne = "sliderExtendedTrack__660fba2a", ue = "lg__c1e7cbc6", fe = "focusedBy
|
|
|
37
37
|
setFocused: R,
|
|
38
38
|
steps: u,
|
|
39
39
|
size: $
|
|
40
|
-
} = ce(
|
|
40
|
+
} = ce(le), f = O(0), m = O(null);
|
|
41
41
|
if (P(() => {
|
|
42
|
-
s.length > 1 &&
|
|
43
|
-
}, [s,
|
|
44
|
-
s.length > 1 &&
|
|
42
|
+
s.length > 1 && k ? l || S(!0) : l !== !1 && S(!1);
|
|
43
|
+
}, [s, k]), P(() => {
|
|
44
|
+
s.length > 1 && b(i ? 2 : -1);
|
|
45
45
|
}, [i]), !s.length)
|
|
46
46
|
return null;
|
|
47
47
|
const w = (e) => (t) => {
|
|
@@ -49,7 +49,7 @@ const ne = "sliderExtendedTrack__660fba2a", ue = "lg__c1e7cbc6", 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) => d.dragDots({
|
|
53
53
|
cursorPrevNormalizedValue: f,
|
|
54
54
|
cursorXPosition: e.clientX,
|
|
55
55
|
dots: s,
|
|
@@ -64,7 +64,7 @@ const ne = "sliderExtendedTrack__660fba2a", ue = "lg__c1e7cbc6", 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(), d.dragDots({
|
|
68
68
|
cursorPrevNormalizedValue: f,
|
|
69
69
|
cursorXPosition: e.touches[0].clientX,
|
|
70
70
|
dots: s,
|
|
@@ -75,18 +75,18 @@ const ne = "sliderExtendedTrack__660fba2a", ue = "lg__c1e7cbc6", 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(), d.moveToPrevStep(s, u);
|
|
79
79
|
}, Q = (e) => {
|
|
80
|
-
e.preventDefault(),
|
|
80
|
+
e.preventDefault(), d.moveToNextStep(s, u);
|
|
81
81
|
}, Z = (e) => {
|
|
82
|
-
i || R(!0),
|
|
82
|
+
i || R(!0), C(!0), E == null || E(e);
|
|
83
83
|
}, ee = (e) => {
|
|
84
|
-
i && R(!1), v(!1),
|
|
84
|
+
i && R(!1), v(!1), C(!1), p == null || p(e);
|
|
85
85
|
}, te = (e) => {
|
|
86
86
|
n(!0), D == null || D(e);
|
|
87
87
|
}, se = (e) => {
|
|
88
88
|
V || n(!1), T == null || T(e);
|
|
89
|
-
}, { left: re, right: oe } =
|
|
89
|
+
}, { left: re, right: oe } = d.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__660fba2a", ue = "lg__c1e7cbc6", fe = "focusedBy
|
|
|
114
114
|
"span",
|
|
115
115
|
{
|
|
116
116
|
role: "button",
|
|
117
|
-
tabIndex: !M &&
|
|
117
|
+
tabIndex: !M && l ? U : -1,
|
|
118
118
|
...A,
|
|
119
|
-
className:
|
|
119
|
+
className: de(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]: !l
|
|
125
125
|
}),
|
|
126
126
|
onBlur: ee,
|
|
127
127
|
onFocus: Z,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const o = "
|
|
4
|
+
const o = "smallInput__65120c8d", n = {
|
|
5
5
|
smallInput: o
|
|
6
|
-
}, r =
|
|
6
|
+
}, r = a.forwardRef(({ className: t, ...l }, s) => /* @__PURE__ */ m("input", { className: p(n.smallInput, t), ...l, type: "text", ref: s }));
|
|
7
7
|
r.displayName = "SmallInput";
|
|
8
8
|
export {
|
|
9
9
|
r as SmallInput
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import z, { useState as T, useRef as E, useCallback as w } from "react";
|
|
3
3
|
import { CaretdownStrokeSrvIcon20 as p, CaretdownStrokeSrvIcon16 as B } from "@sberbusiness/icons-next";
|
|
4
4
|
import { Button as L } from "../Button/Button.js";
|
|
@@ -10,7 +10,7 @@ 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
12
|
import { u as j, c as _ } from "../../chunks/vendor---Om3uMV.js";
|
|
13
|
-
const y = "
|
|
13
|
+
const y = "spoiler__48289b00", D = "opened__febaeb8b", q = "caretIcon__853359ca", A = "head__99b1cb4e", G = "content__723b5ee3", H = "hidden__9baebf4e", K = "lg__79874da1", $ = "md__eac8e00f", F = "sm__f8dfe079", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,25 +21,25 @@ const y = "spoiler__7d6ec4ac", D = "opened__1fc6ad9f", q = "caretIcon__42b3f81e"
|
|
|
21
21
|
md: $,
|
|
22
22
|
sm: F
|
|
23
23
|
}, J = {
|
|
24
|
-
[s.SM]: /* @__PURE__ */
|
|
25
|
-
[s.MD]: /* @__PURE__ */
|
|
26
|
-
[s.LG]: /* @__PURE__ */
|
|
24
|
+
[s.SM]: /* @__PURE__ */ a(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
|
+
[s.MD]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
|
+
[s.LG]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon })
|
|
27
27
|
}, O = g(e), P = z.forwardRef((f, h) => {
|
|
28
28
|
const {
|
|
29
29
|
children: I,
|
|
30
30
|
expanded: c,
|
|
31
31
|
onToggle: o,
|
|
32
|
-
toggle:
|
|
32
|
+
toggle: n,
|
|
33
33
|
className: x,
|
|
34
34
|
labelExpand: S,
|
|
35
|
-
labelCollapse:
|
|
36
|
-
rightBlock:
|
|
35
|
+
labelCollapse: b,
|
|
36
|
+
rightBlock: u,
|
|
37
37
|
size: r = s.MD,
|
|
38
|
-
...
|
|
39
|
-
} = f, d = c !== void 0, [
|
|
38
|
+
...N
|
|
39
|
+
} = f, 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 ? n == null || n(i) : v(i), o == null || o(i);
|
|
42
|
+
}, [d, n, t, o]), k = _(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
45
45
|
{
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__7d6ec4ac", D = "opened__1fc6ad9f", q = "caretIcon__42b3f81e"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...N, className: k, "data-tx": "0.24.0", ref: h, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -56,16 +56,16 @@ const y = "spoiler__7d6ec4ac", D = "opened__1fc6ad9f", q = "caretIcon__42b3f81e"
|
|
|
56
56
|
"aria-controls": m.current,
|
|
57
57
|
theme: R.LINK,
|
|
58
58
|
size: r,
|
|
59
|
-
onClick:
|
|
59
|
+
onClick: M,
|
|
60
60
|
children: [
|
|
61
|
-
t ?
|
|
61
|
+
t ? b : S,
|
|
62
62
|
J[r]
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
u
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ a("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: I })
|
|
69
69
|
] });
|
|
70
70
|
});
|
|
71
71
|
P.displayName = "Spoiler";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as 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-BT9AMEAv.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.24.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,16 +3,17 @@ 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-BT9AMEAv.js";
|
|
7
7
|
import { ETextSize as c, EFontType as a } from "../../Typography/enums.js";
|
|
8
8
|
import "../../Typography/Caption.js";
|
|
9
|
+
import "../../Typography/CodeText.js";
|
|
9
10
|
import { Text as l } from "../../Typography/Text.js";
|
|
10
11
|
import "../../Typography/Title.js";
|
|
11
|
-
const
|
|
12
|
+
const E = (t) => {
|
|
12
13
|
const { children: o, className: e, ...s } = t;
|
|
13
14
|
return /* @__PURE__ */ r(i, { className: m(p.statusTrackerAlert, e), ...s, children: /* @__PURE__ */ r(l, { type: a.PRIMARY, size: c.B3, children: o }) });
|
|
14
15
|
};
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
+
E as StatusTrackerAlert
|
|
17
18
|
};
|
|
18
19
|
//# sourceMappingURL=StatusTrackerAlert.js.map
|
|
@@ -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-BT9AMEAv.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-BT9AMEAv.js";
|
|
4
4
|
import { Button as p } from "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
6
6
|
import "../../Button/ButtonIcon.js";
|
|
@@ -2,10 +2,11 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { ETextSize as m, EFontType as p } from "../../Typography/enums.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
|
+
import "../../Typography/CodeText.js";
|
|
5
6
|
import { Text as c } from "../../Typography/Text.js";
|
|
6
7
|
import "../../Typography/Title.js";
|
|
7
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
8
|
-
const
|
|
8
|
+
import { s as a } from "../../../chunks/StatusTracker.module-BT9AMEAv.js";
|
|
9
|
+
const E = (r) => {
|
|
9
10
|
const { children: t, className: s, ...o } = r;
|
|
10
11
|
return /* @__PURE__ */ e(
|
|
11
12
|
c,
|
|
@@ -19,6 +20,6 @@ const D = (r) => {
|
|
|
19
20
|
);
|
|
20
21
|
};
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
E as StatusTrackerDescription
|
|
23
24
|
};
|
|
24
25
|
//# sourceMappingURL=StatusTrackerDescription.js.map
|
|
@@ -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-BT9AMEAv.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-BT9AMEAv.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-BT9AMEAv.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-BT9AMEAv.js";
|
|
4
4
|
import { MarkerStatus as c } from "../../MarkerStatus/MarkerStatus.js";
|
|
5
5
|
const f = (s) => {
|
|
6
6
|
const { children: t, className: r, ...a } = s;
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import { ETitleSize as
|
|
2
|
+
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { ETitleSize as e, EFontWeightTitle as p } from "../../Typography/enums.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
|
+
import "../../Typography/CodeText.js";
|
|
5
6
|
import "../../Typography/Text.js";
|
|
6
|
-
import { Title as
|
|
7
|
+
import { Title as a } from "../../Typography/Title.js";
|
|
7
8
|
import { Amount as c } from "../../Amount/Amount.js";
|
|
8
|
-
import { s as l } from "../../../chunks/StatusTracker.module-
|
|
9
|
-
const
|
|
9
|
+
import { s as l } from "../../../chunks/StatusTracker.module-BT9AMEAv.js";
|
|
10
|
+
const k = (r) => {
|
|
10
11
|
const { className: o, amountProps: m, ...s } = r;
|
|
11
12
|
return /* @__PURE__ */ t(
|
|
12
|
-
|
|
13
|
+
a,
|
|
13
14
|
{
|
|
14
|
-
weight:
|
|
15
|
-
size:
|
|
16
|
-
className:
|
|
15
|
+
weight: p.SEMIBOLD,
|
|
16
|
+
size: e.H1,
|
|
17
|
+
className: i(l.statusTrackerSum, o),
|
|
17
18
|
...s,
|
|
18
19
|
children: /* @__PURE__ */ t(c, { ...m })
|
|
19
20
|
}
|
|
20
21
|
);
|
|
21
22
|
};
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
k as StatusTrackerSum
|
|
24
25
|
};
|
|
25
26
|
//# sourceMappingURL=StatusTrackerSum.js.map
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as o } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { ETitleSize as m, EFontWeightTitle as a } from "../../Typography/enums.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
|
+
import "../../Typography/CodeText.js";
|
|
5
6
|
import "../../Typography/Text.js";
|
|
6
7
|
import { Title as l } from "../../Typography/Title.js";
|
|
7
|
-
import { s as c } from "../../../chunks/StatusTracker.module-
|
|
8
|
-
const
|
|
9
|
-
const { children: r, className: e, ...
|
|
10
|
-
return /* @__PURE__ */
|
|
8
|
+
import { s as c } from "../../../chunks/StatusTracker.module-BT9AMEAv.js";
|
|
9
|
+
const k = (t) => {
|
|
10
|
+
const { children: r, className: e, ...i } = t;
|
|
11
|
+
return /* @__PURE__ */ s(
|
|
11
12
|
l,
|
|
12
13
|
{
|
|
13
14
|
weight: a.BOLD,
|
|
14
15
|
size: m.H3,
|
|
15
16
|
className: o(c.statusTrackerTitle, e),
|
|
16
|
-
...
|
|
17
|
+
...i,
|
|
17
18
|
children: r
|
|
18
19
|
}
|
|
19
20
|
);
|
|
20
21
|
};
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
k as StatusTrackerTitle
|
|
23
24
|
};
|
|
24
25
|
//# sourceMappingURL=StatusTrackerTitle.js.map
|
package/components/Step/Step.js
CHANGED
|
@@ -5,16 +5,17 @@ import { ETooltipAlign as n, ETooltipSize as _ } from "../Tooltip/enums.js";
|
|
|
5
5
|
import { Tooltip as a } from "../Tooltip/Tooltip.js";
|
|
6
6
|
import { EFontWeightText as S, ETextSize as D } from "../Typography/enums.js";
|
|
7
7
|
import "../Typography/Caption.js";
|
|
8
|
+
import "../Typography/CodeText.js";
|
|
8
9
|
import { Text as N } from "../Typography/Text.js";
|
|
9
10
|
import "../Typography/Title.js";
|
|
10
11
|
import { c as A } from "../../chunks/vendor---Om3uMV.js";
|
|
11
|
-
const R = "
|
|
12
|
+
const R = "step__289855a6", x = "done__ea60c434", h = "warning__47cc8f1e", v = "active__532d98c2", b = "error__172bda2f", w = "disabled__0c211446", t = {
|
|
12
13
|
step: R,
|
|
13
|
-
default: "
|
|
14
|
+
default: "default__a5298071",
|
|
14
15
|
done: x,
|
|
15
|
-
warning:
|
|
16
|
-
active:
|
|
17
|
-
error:
|
|
16
|
+
warning: h,
|
|
17
|
+
active: v,
|
|
18
|
+
error: b,
|
|
18
19
|
disabled: w
|
|
19
20
|
}, L = {
|
|
20
21
|
[o.DEFAULT]: t.default,
|
|
@@ -27,15 +28,15 @@ const R = "step__3a740cf5", x = "done__3ca28262", b = "warning__6c209dda", h = "
|
|
|
27
28
|
[e.XFirst]: n.START,
|
|
28
29
|
[e.Default]: n.CENTER,
|
|
29
30
|
[e.XLast]: n.END
|
|
30
|
-
},
|
|
31
|
+
}, U = (r, s) => s === 0 ? e.XFirst : s + 1 === r ? e.XLast : e.Default, z = ({
|
|
31
32
|
children: r,
|
|
32
33
|
className: s,
|
|
33
34
|
step: p,
|
|
34
35
|
status: d,
|
|
35
|
-
position:
|
|
36
|
-
...
|
|
36
|
+
position: m = e.Default,
|
|
37
|
+
...f
|
|
37
38
|
}) => {
|
|
38
|
-
const l = u(null), T = y[
|
|
39
|
+
const l = u(null), T = y[m], E = A(t.step, L[d], s), c = () => /* @__PURE__ */ i("div", { ref: l, className: E, ...f, children: /* @__PURE__ */ i(N, { size: D.B1, weight: S.SEMIBOLD, children: p }) });
|
|
39
40
|
return r ? /* @__PURE__ */ g(a, { size: _.SM, toggleType: "hover", alignTip: T, targetRef: l, children: [
|
|
40
41
|
/* @__PURE__ */ i(a.Target, { children: c() }),
|
|
41
42
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
@@ -44,6 +45,6 @@ const R = "step__3a740cf5", x = "done__3ca28262", b = "warning__6c209dda", h = "
|
|
|
44
45
|
z.displayName = "Step";
|
|
45
46
|
export {
|
|
46
47
|
z as Step,
|
|
47
|
-
|
|
48
|
+
U as calcPosition
|
|
48
49
|
};
|
|
49
50
|
//# sourceMappingURL=Step.js.map
|
|
@@ -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
|
|
11
|
+
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
12
12
|
import { EStepperSize as a } from "./enums.js";
|
|
13
|
-
const K = "
|
|
13
|
+
const K = "stepper__56036f20", O = "sm__95acaf1e", Q = "md__e41d5bec", T = "lg__28b8f7cc", U = "stepperCarousel__bb4611c4", V = "buttonPrev__974ce2cb", Y = "buttonNext__3bf5c548", n = {
|
|
14
14
|
stepper: K,
|
|
15
15
|
sm: O,
|
|
16
16
|
md: Q,
|
|
@@ -30,25 +30,25 @@ const K = "stepper__0e8906ea", O = "sm__7a3705a4", Q = "md__a05bda44", T = "lg__
|
|
|
30
30
|
}, P = ({
|
|
31
31
|
className: m,
|
|
32
32
|
steps: h,
|
|
33
|
-
size:
|
|
33
|
+
size: i = a.SM,
|
|
34
34
|
selectedStepId: l,
|
|
35
35
|
...E
|
|
36
36
|
}) => {
|
|
37
|
-
const [
|
|
37
|
+
const [b, w] = G({ stepNext: 0, stepPrev: 0 }), u = v(null), x = v({}), B = c(n.stepper, p(i), 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: c(n.buttonPrev, p(i)),
|
|
41
41
|
...t,
|
|
42
42
|
"aria-label": "Прокрутить назад",
|
|
43
|
-
children: /* @__PURE__ */ s(F, { className:
|
|
43
|
+
children: /* @__PURE__ */ s(F, { className: c(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: c(n.buttonNext, p(i)),
|
|
49
49
|
...t,
|
|
50
50
|
"aria-label": "Прокрутить вперёд",
|
|
51
|
-
children: /* @__PURE__ */ s(q, { className:
|
|
51
|
+
children: /* @__PURE__ */ s(q, { className: c(n.buttonNextIcon), paletteIndex: 5 })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
C(() => {
|
|
@@ -65,27 +65,27 @@ const K = "stepper__0e8906ea", O = "sm__7a3705a4", Q = "md__a05bda44", 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(), g = r + j / 2, d = f + D / 2;
|
|
69
|
+
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e, d - g) : g > d ? k(e, t, f - r - 32, f) : g < d && 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 = x.current[l];
|
|
74
74
|
e && t && A(e, t);
|
|
75
75
|
}
|
|
76
76
|
}, [l]), /* @__PURE__ */ s(
|
|
77
77
|
$,
|
|
78
78
|
{
|
|
79
|
-
className:
|
|
79
|
+
className: c(n.stepperCarousel, p(i)),
|
|
80
80
|
buttonPrev: I,
|
|
81
81
|
buttonNext: W,
|
|
82
|
-
stepPrev:
|
|
83
|
-
stepNext:
|
|
82
|
+
stepPrev: b.stepPrev,
|
|
83
|
+
stepNext: b.stepNext,
|
|
84
84
|
ref: u,
|
|
85
|
-
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size:
|
|
85
|
+
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size: i, ...E, children: h.map(({ label: e, ...t }, r) => /* @__PURE__ */ s(
|
|
86
86
|
_.Step,
|
|
87
87
|
{
|
|
88
|
-
forwardedRef: (o) =>
|
|
88
|
+
forwardedRef: (o) => x.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__6e3e1c76", u = {
|
|
8
8
|
stepperExtended: h
|
|
9
9
|
}, t = ({
|
|
10
10
|
children: r,
|
|
@@ -5,7 +5,7 @@ import { isKey as A } from "../../utils/keyboard.js";
|
|
|
5
5
|
import { StepperExtendedContext as D } from "./StepperExtendedContext.js";
|
|
6
6
|
import { EFocusSource as s } from "../../enums/EFocusSource.js";
|
|
7
7
|
import { c as C } from "../../chunks/vendor---Om3uMV.js";
|
|
8
|
-
import { s as t, R as F } from "../../chunks/RightBorderArrow-
|
|
8
|
+
import { s as t, R as F } from "../../chunks/RightBorderArrow-TcR9E_47.js";
|
|
9
9
|
import { EStepperSize as h, EStepperStepType as j } from "./enums.js";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: x,
|
|
@@ -72,7 +72,7 @@ const H = ({
|
|
|
72
72
|
...G,
|
|
73
73
|
ref: P,
|
|
74
74
|
children: [
|
|
75
|
-
/* @__PURE__ */ I("div", { className: t.content, "data-tx": "0.
|
|
75
|
+
/* @__PURE__ */ I("div", { className: t.content, "data-tx": "0.24.0", children: [
|
|
76
76
|
g && U(),
|
|
77
77
|
x
|
|
78
78
|
] }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as a } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
const
|
|
4
|
-
stepperWrapper:
|
|
3
|
+
const c = "stepperWrapper__ddb1f17c", o = {
|
|
4
|
+
stepperWrapper: c
|
|
5
5
|
}, W = ({ children: p, className: r, ...e }) => {
|
|
6
|
-
const s = a(
|
|
7
|
-
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "0.
|
|
6
|
+
const s = a(o.stepperWrapper, r);
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "0.24.0", children: p });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
W as StepperWrapper
|