@sberbusiness/triplex-next 1.19.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-QOnBvPaB.js → AlertProcessSpoiler-CT4kuQU5.js} +14 -14
- package/chunks/{CalendarViewItem-JEkNv5BF.js → CalendarViewItem-B22G4WdJ.js} +10 -10
- package/chunks/Card.module-CYQS3e5D.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Bm15tlJo.js +14 -0
- package/chunks/{Chip-Hpw_8UIG.js → Chip-Df2PJxv_.js} +9 -9
- package/chunks/Confirm.module-B2BrmONy.js +15 -0
- package/chunks/{DropdownListItem-DkfeETTd.js → DropdownListItem-JDPG7EtK.js} +23 -23
- package/chunks/DropdownMobile.module-BEV1I-ay.js +23 -0
- package/chunks/Footer.module-Bd88HiEv.js +9 -0
- package/chunks/{FormFieldInput-Bf7Hleek.js → FormFieldInput-C4pLJsXx.js} +17 -17
- package/chunks/HeaderLayoutSidebar.module-CqfeCJ-B.js +9 -0
- package/chunks/HeaderTabs.module-CWX7b7Dh.js +9 -0
- package/chunks/{HeaderTitle.module-CKSdXcBH.js → HeaderTitle.module-Cz5VxXST.js} +2 -2
- package/chunks/IslandAccordion.module-CDvdz98b.js +25 -0
- package/chunks/IslandWidgetFooter.module-e4tVz5in.js +9 -0
- package/chunks/IslandWidgetHeader.module-Ch-s_cQT.js +12 -0
- package/chunks/LightBoxContent-DcdEm4um.js +56 -0
- package/chunks/LightBoxControls.module-uaiuwR-r.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CMuFmWFe.js +9 -0
- package/chunks/{ListItemControlsButton-WjTBGtRH.js → ListItemControlsButton-CWkrMtu6.js} +7 -7
- package/chunks/ListItemTail.module-7mfIAr0W.js +12 -0
- package/chunks/ListMasterFooter.module-P4_LpH8K.js +10 -0
- package/chunks/ModalWindow.module-D-5u9tYs.js +17 -0
- package/chunks/Notification.module-C0ZCimeJ.js +20 -0
- package/chunks/Overlay.module-DllxTgO6.js +18 -0
- package/chunks/Page.module-D8eZ3riP.js +11 -0
- package/chunks/{RightBorderArrow-DzKQo2fL.js → RightBorderArrow-CD9RfiqH.js} +10 -10
- package/chunks/SMSField.module-Ct20kGRY.js +16 -0
- package/chunks/SliderExtendedMarks.module-AiKoZWUL.js +15 -0
- package/chunks/{SliderExtendedRail-Cb5r_qJ5.js → SliderExtendedRail-Alw2vXQr.js} +8 -8
- package/chunks/StatusTracker.module-BS9GBa45.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-BfOcMGUs.js +14 -0
- package/chunks/TableFooter.module-DYutPrdO.js +14 -0
- package/chunks/TabsExtended.module-uL61NvZ4.js +16 -0
- package/chunks/TabsLine.module-ByA3hnWg.js +21 -0
- package/chunks/TooltipDesktop.module-CWKvU1wk.js +19 -0
- package/chunks/TreeView.module-Co4Cu58-.js +9 -0
- package/chunks/{UploadZoneInput-BYWNSrDW.js → UploadZoneInput-DWEQ023-.js} +5 -5
- package/chunks/{constants-nPkk17A0.js → constants-mUMWgzNs.js} +15 -15
- package/chunks/{utils-v_hn9TAd.js → utils-B269a8Xy.js} +5 -5
- package/chunks/utils-C64rf2gI.js +27 -0
- package/chunks/{utils-9cQ-Vroa.js → utils-C8q6y8Et.js} +12 -12
- package/chunks/{utils-OZcknB0Z.js → utils-rInBvmh_.js} +7 -7
- package/chunks/{vendor-Dlne6Znf.js → vendor-BIl4KTrD.js} +3 -4
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +3 -3
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +5 -5
- package/components/Badge/Badge.js +7 -7
- package/components/Badge/BadgeDot.js +6 -6
- package/components/Badge/components/BadgeContent.js +12 -12
- package/components/Badge/components/BadgePostfix.js +2 -2
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +19 -19
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +18 -18
- package/components/Button/ButtonDropdownExtended.js +6 -6
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +12 -12
- package/components/Checkbox/Checkbox.js +9 -9
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +35 -28
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +16 -16
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +3 -3
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +6 -6
- package/components/Dropdown/mobile/DropdownMobileList.js +14 -21
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +37 -37
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +10 -10
- package/components/FormField/components/FormFieldTarget.js +18 -18
- package/components/FormField/components/FormFieldTextarea.js +7 -7
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +9 -9
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +7 -7
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +75 -69
- package/components/IslandWidget/IslandWidget.js +3 -3
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +23 -23
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +9 -9
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +2 -2
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +32 -32
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +9 -9
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +6 -6
- 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 -8
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +4 -4
- package/components/Loader/LoaderSmall/LoaderSmall.js +12 -12
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -14
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +18 -18
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +14 -14
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +18 -18
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +27 -27
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +20 -20
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +5 -5
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +19 -19
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +21 -20
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +141 -137
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +59 -55
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +53 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +75 -67
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +32 -32
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +12 -12
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +120 -156
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +5 -5
- package/components/Tag/Tag.js +11 -11
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +17 -17
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/TopOverlay/TopOverlay.js +15 -15
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +29 -29
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +5 -5
- package/index.d.ts +11 -54
- package/index.js +5 -5
- package/package.json +2 -1
- package/styles/triplex-next.css +546 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-B-kskzDu.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CZUMscf2.js +0 -14
- package/chunks/Confirm.module-BCr1BTe_.js +0 -15
- package/chunks/DropdownMobile.module-GswY2cBC.js +0 -23
- package/chunks/Footer.module-eHCIMM8b.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DylAdbY5.js +0 -9
- package/chunks/HeaderTabs.module-ePuFE0tR.js +0 -9
- package/chunks/IslandAccordion.module-CSfaBgt7.js +0 -25
- package/chunks/IslandWidgetFooter.module-Njc7vX7n.js +0 -9
- package/chunks/IslandWidgetHeader.module-Boy2QpEU.js +0 -12
- package/chunks/LightBoxContent-BhMRbJFV.js +0 -56
- package/chunks/LightBoxControls.module-BIML4FtD.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DO3lZMTa.js +0 -8
- package/chunks/ListItemTail.module-DbwOPqPM.js +0 -12
- package/chunks/ListMasterFooter.module-C_iN2cC2.js +0 -10
- package/chunks/ModalWindow.module-BHzR_A-u.js +0 -17
- package/chunks/Notification.module-DKVKCNAc.js +0 -20
- package/chunks/Overlay.module-BA4wfORe.js +0 -18
- package/chunks/Page.module-ClDxwmIg.js +0 -11
- package/chunks/SMSField.module-Bzh5rJPE.js +0 -16
- package/chunks/SliderExtendedMarks.module-CxeVaMq1.js +0 -15
- package/chunks/StatusTracker.module-BML0rfx7.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-B1GcRtym.js +0 -14
- package/chunks/TableFooter.module-CSQttYnz.js +0 -14
- package/chunks/TabsExtended.module-Dd8drRUU.js +0 -16
- package/chunks/TabsLine.module-BByAjI5u.js +0 -21
- package/chunks/TooltipDesktop.module-FxzkC1sv.js +0 -19
- package/chunks/TreeView.module-Cm7rvpYW.js +0 -9
- package/chunks/utils-DjcQ_hhv.js +0 -27
|
@@ -1,23 +1,23 @@
|
|
|
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 {
|
|
4
|
-
import { SliderExtendedContext as
|
|
5
|
-
import { SliderExtendedMoveHandler as
|
|
3
|
+
import { c as le, l as X } from "../../../../chunks/vendor-BIl4KTrD.js";
|
|
4
|
+
import { SliderExtendedContext as ae } from "../../SliderExtendedContext.js";
|
|
5
|
+
import { SliderExtendedMoveHandler as de } from "../SliderExtendedMoveHandler.js";
|
|
6
6
|
import { SliderExtendedUtils as z } from "../../SliderExtendedUtils.js";
|
|
7
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__032b18ca", fe = "lg__55fd54cc", ue = "focusedByClick__b93f4cf7", me = "hoverOrDragByMouse__3cccb67e", he = "staticSlider__ff88a0e2", ge = "disabled__86e6c0f6", o = {
|
|
12
12
|
sliderExtendedTrack: ne,
|
|
13
|
-
lg:
|
|
14
|
-
focusedByClick:
|
|
13
|
+
lg: fe,
|
|
14
|
+
focusedByClick: ue,
|
|
15
15
|
hoverOrDragByMouse: me,
|
|
16
16
|
staticSlider: he,
|
|
17
17
|
disabled: ge
|
|
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__9b99fac3", ue = "lg__c301dfe0", fe = "focusedBy
|
|
|
26
26
|
onTouchStart: y,
|
|
27
27
|
...A
|
|
28
28
|
}) => {
|
|
29
|
-
const [W,
|
|
29
|
+
const [W, b] = c(!1), [a, C] = c(!1), [H, v] = c(!1), [V, d] = c(!1), [U, S] = c(-1), {
|
|
30
30
|
disabled: M,
|
|
31
31
|
dots: s,
|
|
32
32
|
focused: i,
|
|
@@ -35,53 +35,53 @@ const ne = "sliderExtendedTrack__9b99fac3", ue = "lg__c301dfe0", fe = "focusedBy
|
|
|
35
35
|
setIsHoverOrDragTrack: n,
|
|
36
36
|
reverse: _,
|
|
37
37
|
setFocused: R,
|
|
38
|
-
steps:
|
|
38
|
+
steps: f,
|
|
39
39
|
size: $
|
|
40
|
-
} = ce(
|
|
40
|
+
} = ce(ae), u = O(0), m = O(null);
|
|
41
41
|
if (P(() => {
|
|
42
|
-
s.length > 1 &&
|
|
43
|
-
}, [s,
|
|
42
|
+
s.length > 1 && k ? a || C(!0) : a !== !1 && C(!1);
|
|
43
|
+
}, [s, k]), P(() => {
|
|
44
44
|
s.length > 1 && S(i ? 2 : -1);
|
|
45
45
|
}, [i]), !s.length)
|
|
46
46
|
return null;
|
|
47
47
|
const w = (e) => (t) => {
|
|
48
|
-
v(!0),
|
|
48
|
+
v(!0), d(!0), document.addEventListener("mouseup", N), r && (u.current = z.getNormalizedCursorValue({
|
|
49
49
|
cursorXPosition: t.clientX,
|
|
50
50
|
railNode: r
|
|
51
51
|
})), e(t), x == null || x(t);
|
|
52
52
|
}, G = (e) => l.dragDots({
|
|
53
|
-
cursorPrevNormalizedValue:
|
|
53
|
+
cursorPrevNormalizedValue: u,
|
|
54
54
|
cursorXPosition: e.clientX,
|
|
55
55
|
dots: s,
|
|
56
56
|
railNode: r,
|
|
57
57
|
reverse: _,
|
|
58
|
-
steps:
|
|
58
|
+
steps: f
|
|
59
59
|
}), N = (e) => {
|
|
60
|
-
|
|
60
|
+
d(!1), e.target !== m.current && n(!1), document.removeEventListener("mouseup", N);
|
|
61
61
|
}, Y = (e) => (t) => {
|
|
62
|
-
t.touches.length == 1 && (v(!0),
|
|
62
|
+
t.touches.length == 1 && (v(!0), d(!0), document.addEventListener("touchend", I), r && (u.current = z.getNormalizedCursorValue({
|
|
63
63
|
cursorXPosition: t.touches[0].clientX,
|
|
64
64
|
railNode: r
|
|
65
65
|
})), e(t), y == null || y(t));
|
|
66
66
|
}, q = (e) => {
|
|
67
67
|
e.touches.length == 1 && (e.cancelable && e.preventDefault(), l.dragDots({
|
|
68
|
-
cursorPrevNormalizedValue:
|
|
68
|
+
cursorPrevNormalizedValue: u,
|
|
69
69
|
cursorXPosition: e.touches[0].clientX,
|
|
70
70
|
dots: s,
|
|
71
71
|
railNode: r,
|
|
72
72
|
reverse: _,
|
|
73
|
-
steps:
|
|
73
|
+
steps: f
|
|
74
74
|
}));
|
|
75
75
|
}, I = (e) => {
|
|
76
|
-
e.cancelable && e.preventDefault(),
|
|
76
|
+
e.cancelable && e.preventDefault(), d(!1), e.target !== m.current && n(!1), document.removeEventListener("touchend", I);
|
|
77
77
|
}, J = (e) => {
|
|
78
|
-
e.preventDefault(), l.moveToPrevStep(s,
|
|
78
|
+
e.preventDefault(), l.moveToPrevStep(s, f);
|
|
79
79
|
}, Q = (e) => {
|
|
80
|
-
e.preventDefault(), l.moveToNextStep(s,
|
|
80
|
+
e.preventDefault(), l.moveToNextStep(s, f);
|
|
81
81
|
}, Z = (e) => {
|
|
82
|
-
i || R(!0),
|
|
82
|
+
i || R(!0), b(!0), E == null || E(e);
|
|
83
83
|
}, ee = (e) => {
|
|
84
|
-
i && R(!1), v(!1),
|
|
84
|
+
i && R(!1), v(!1), b(!1), p == null || p(e);
|
|
85
85
|
}, te = (e) => {
|
|
86
86
|
n(!0), D == null || D(e);
|
|
87
87
|
}, se = (e) => {
|
|
@@ -105,7 +105,7 @@ const ne = "sliderExtendedTrack__9b99fac3", ue = "lg__c301dfe0", fe = "focusedBy
|
|
|
105
105
|
)
|
|
106
106
|
] }),
|
|
107
107
|
/* @__PURE__ */ h(
|
|
108
|
-
|
|
108
|
+
de,
|
|
109
109
|
{
|
|
110
110
|
onMouseMove: X.throttle(G, 100),
|
|
111
111
|
onTouchMove: X.throttle(q),
|
|
@@ -114,14 +114,14 @@ const ne = "sliderExtendedTrack__9b99fac3", ue = "lg__c301dfe0", fe = "focusedBy
|
|
|
114
114
|
"span",
|
|
115
115
|
{
|
|
116
116
|
role: "button",
|
|
117
|
-
tabIndex: !M &&
|
|
117
|
+
tabIndex: !M && a ? U : -1,
|
|
118
118
|
...A,
|
|
119
119
|
className: le(o.sliderExtendedTrack, pe[$], K, {
|
|
120
120
|
[o.disabled]: M,
|
|
121
121
|
[o.focusedByClick]: H,
|
|
122
122
|
[o.hoverOrDragByMouse]: j,
|
|
123
123
|
// Не перетаскиваемый.
|
|
124
|
-
[o.staticSlider]: !
|
|
124
|
+
[o.staticSlider]: !a
|
|
125
125
|
}),
|
|
126
126
|
onBlur: ee,
|
|
127
127
|
onFocus: Z,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
4
|
-
const o = "
|
|
3
|
+
import { c as p } from "../../chunks/vendor-BIl4KTrD.js";
|
|
4
|
+
const o = "smallInput__ef917bbc", e = {
|
|
5
5
|
smallInput: o
|
|
6
|
-
},
|
|
7
|
-
|
|
6
|
+
}, n = m.forwardRef(({ className: t, ...l }, s) => /* @__PURE__ */ a("input", { className: p(e.smallInput, t), ...l, type: "text", ref: s }));
|
|
7
|
+
n.displayName = "SmallInput";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
n 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-BIl4KTrD.js";
|
|
13
|
+
const y = "spoiler__ddc5d93f", D = "opened__24bde3fa", q = "caretIcon__f20149bd", A = "head__1fbe8fb3", G = "content__bbfabe8c", H = "hidden__aa284a07", K = "lg__2480dce0", $ = "md__efd54e63", F = "sm__73d5b72a", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,33 +21,33 @@ const y = "spoiler__91836dd7", D = "opened__c23b38bc", q = "caretIcon__018e29fb"
|
|
|
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
35
|
labelCollapse: u,
|
|
36
|
-
rightBlock:
|
|
37
|
-
size:
|
|
38
|
-
...
|
|
39
|
-
} =
|
|
36
|
+
rightBlock: b,
|
|
37
|
+
size: r = s.MD,
|
|
38
|
+
...N
|
|
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
|
-
|
|
42
|
-
}, [
|
|
41
|
+
d ? a == null || a(i) : v(i), o == null || o(i);
|
|
42
|
+
}, [d, a, t, o]), k = f(
|
|
43
43
|
e.spoiler,
|
|
44
|
-
O[
|
|
44
|
+
O[r],
|
|
45
45
|
{
|
|
46
46
|
[e.opened]: t
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...N, className: k, "data-tx": "1.20.0", ref: h, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -55,17 +55,17 @@ const y = "spoiler__91836dd7", D = "opened__c23b38bc", q = "caretIcon__018e29fb"
|
|
|
55
55
|
"aria-expanded": t,
|
|
56
56
|
"aria-controls": m.current,
|
|
57
57
|
theme: R.LINK,
|
|
58
|
-
size:
|
|
58
|
+
size: r,
|
|
59
59
|
onClick: M,
|
|
60
60
|
children: [
|
|
61
61
|
t ? u : S,
|
|
62
|
-
J[
|
|
62
|
+
J[r]
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
b
|
|
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
|
-
import { c as a } from "../../chunks/vendor-
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
3
|
+
import { c as a } from "../../chunks/vendor-BIl4KTrD.js";
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-BS9GBa45.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
|
...d,
|
|
25
25
|
ref: T,
|
|
26
|
-
"data-tx": "1.
|
|
26
|
+
"data-tx": "1.20.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 })
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../../chunks/vendor-
|
|
2
|
+
import { c as m } from "../../../chunks/vendor-BIl4KTrD.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-BS9GBa45.js";
|
|
7
7
|
import { ETextSize as c, EFontType as a } from "../../Typography/enums.js";
|
|
8
8
|
import "../../Typography/Caption.js";
|
|
9
9
|
import { Text as l } from "../../Typography/Text.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-BIl4KTrD.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-BS9GBa45.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
e.forwardRef(function({ children: t, className: r, ...a }, s) {
|
|
9
9
|
return /* @__PURE__ */ o("div", { className: m(u.statusTrackerChild, r), ...a, ref: s, children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../../chunks/vendor-
|
|
3
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c as m } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
import { s as a } from "../../../chunks/StatusTracker.module-BS9GBa45.js";
|
|
4
4
|
import { Button as p } from "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
6
6
|
import "../../Button/ButtonIcon.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../chunks/vendor-
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
3
|
import { ETextSize as m, EFontType as p } from "../../Typography/enums.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
5
|
import { Text as c } from "../../Typography/Text.js";
|
|
6
6
|
import "../../Typography/Title.js";
|
|
7
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as a } from "../../../chunks/StatusTracker.module-BS9GBa45.js";
|
|
8
8
|
const D = (r) => {
|
|
9
9
|
const { children: t, className: s, ...o } = r;
|
|
10
10
|
return /* @__PURE__ */ e(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
|
-
import { c as i } from "../../../chunks/vendor-
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { c as i } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-BS9GBa45.js";
|
|
5
5
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
6
6
|
import { StatusTrackerButton as p } from "./StatusTrackerButton.js";
|
|
7
7
|
const u = Object.assign(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
|
-
import { c as i } from "../../../chunks/vendor-
|
|
3
|
+
import { c as i } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
4
4
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
5
5
|
import { StatusTrackerTitle as c } from "./StatusTrackerTitle.js";
|
|
6
6
|
import { StatusTrackerSum as u } from "./StatusTrackerSum.js";
|
|
7
|
-
import { s as f } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as f } from "../../../chunks/StatusTracker.module-BS9GBa45.js";
|
|
8
8
|
const p = Object.assign(
|
|
9
9
|
o.forwardRef(function({ children: r, className: t, ...a }, e) {
|
|
10
10
|
return /* @__PURE__ */ s("div", { className: i(f.statusTrackerChild, t), ...a, ref: e, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-BS9GBa45.js";
|
|
4
4
|
const d = (s) => {
|
|
5
5
|
const { children: r, className: t, ...a } = s;
|
|
6
6
|
return /* @__PURE__ */ e("div", { className: c(o.statusTrackerChild, t), ...a, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import { s as m } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-BS9GBa45.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,11 +1,11 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
3
|
import { ETitleSize as i, EFontWeightTitle as a } from "../../Typography/enums.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
5
|
import "../../Typography/Text.js";
|
|
6
6
|
import { Title as p } from "../../Typography/Title.js";
|
|
7
7
|
import { Amount as c } from "../../Amount/Amount.js";
|
|
8
|
-
import { s as l } from "../../../chunks/StatusTracker.module-
|
|
8
|
+
import { s as l } from "../../../chunks/StatusTracker.module-BS9GBa45.js";
|
|
9
9
|
const g = (r) => {
|
|
10
10
|
const { className: o, amountProps: m, ...s } = r;
|
|
11
11
|
return /* @__PURE__ */ t(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../chunks/vendor-
|
|
2
|
+
import { c as o } from "../../../chunks/vendor-BIl4KTrD.js";
|
|
3
3
|
import { ETitleSize as m, EFontWeightTitle as a } from "../../Typography/enums.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
5
|
import "../../Typography/Text.js";
|
|
6
6
|
import { Title as l } from "../../Typography/Title.js";
|
|
7
|
-
import { s as c } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as c } from "../../../chunks/StatusTracker.module-BS9GBa45.js";
|
|
8
8
|
const g = (t) => {
|
|
9
9
|
const { children: r, className: e, ...s } = t;
|
|
10
10
|
return /* @__PURE__ */ i(
|
package/components/Step/Step.js
CHANGED
|
@@ -7,12 +7,12 @@ import { EFontWeightText as S, ETextSize as D } from "../Typography/enums.js";
|
|
|
7
7
|
import "../Typography/Caption.js";
|
|
8
8
|
import { Text as N } from "../Typography/Text.js";
|
|
9
9
|
import "../Typography/Title.js";
|
|
10
|
-
import { c as A } from "../../chunks/vendor-
|
|
11
|
-
const R = "
|
|
10
|
+
import { c as A } from "../../chunks/vendor-BIl4KTrD.js";
|
|
11
|
+
const R = "step__a1916e52", b = "done__fe95ae1c", x = "warning__89c0f544", h = "active__0c887dff", v = "error__bb389760", w = "disabled__45709215", t = {
|
|
12
12
|
step: R,
|
|
13
|
-
default: "
|
|
14
|
-
done:
|
|
15
|
-
warning:
|
|
13
|
+
default: "default__849ab235",
|
|
14
|
+
done: b,
|
|
15
|
+
warning: x,
|
|
16
16
|
active: h,
|
|
17
17
|
error: v,
|
|
18
18
|
disabled: w
|
|
@@ -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 as i } from "../../chunks/vendor-
|
|
12
|
-
import { EStepperSize as
|
|
13
|
-
const K = "
|
|
11
|
+
import { c as i } from "../../chunks/vendor-BIl4KTrD.js";
|
|
12
|
+
import { EStepperSize as p } from "./enums.js";
|
|
13
|
+
const K = "stepper__44ffc554", O = "sm__4b73daaa", Q = "md__cac0fea9", T = "lg__55799ab9", U = "stepperCarousel__ea9adc8f", V = "buttonPrev__63a5b1f6", Y = "buttonNext__af0bc600", n = {
|
|
14
14
|
stepper: K,
|
|
15
15
|
sm: O,
|
|
16
16
|
md: Q,
|
|
@@ -18,26 +18,26 @@ const K = "stepper__560c214a", O = "sm__95ccea9f", Q = "md__d8d1f5fc", T = "lg__
|
|
|
18
18
|
stepperCarousel: U,
|
|
19
19
|
buttonPrev: V,
|
|
20
20
|
buttonNext: Y
|
|
21
|
-
},
|
|
21
|
+
}, l = (m) => {
|
|
22
22
|
switch (m) {
|
|
23
|
-
case
|
|
23
|
+
case p.LG:
|
|
24
24
|
return n.lg;
|
|
25
|
-
case
|
|
25
|
+
case p.MD:
|
|
26
26
|
return n.md;
|
|
27
|
-
case
|
|
27
|
+
case p.SM:
|
|
28
28
|
return n.sm;
|
|
29
29
|
}
|
|
30
30
|
}, P = ({
|
|
31
31
|
className: m,
|
|
32
32
|
steps: h,
|
|
33
|
-
size: c =
|
|
34
|
-
selectedStepId:
|
|
33
|
+
size: c = p.SM,
|
|
34
|
+
selectedStepId: a,
|
|
35
35
|
...E
|
|
36
36
|
}) => {
|
|
37
|
-
const [x, w] = G({ stepNext: 0, stepPrev: 0 }), u = v(null), b = v({}), B = i(n.stepper,
|
|
37
|
+
const [x, w] = G({ stepNext: 0, stepPrev: 0 }), u = v(null), b = v({}), B = i(n.stepper, l(c), m), M = h.findIndex((e) => e.id === a), I = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
|
|
38
38
|
R,
|
|
39
39
|
{
|
|
40
|
-
className: i(n.buttonPrev,
|
|
40
|
+
className: i(n.buttonPrev, l(c)),
|
|
41
41
|
...t,
|
|
42
42
|
"aria-label": "Прокрутить назад",
|
|
43
43
|
children: /* @__PURE__ */ s(F, { className: i(n.buttonPrevIcon), paletteIndex: 5 })
|
|
@@ -45,7 +45,7 @@ const K = "stepper__560c214a", O = "sm__95ccea9f", Q = "md__d8d1f5fc", T = "lg__
|
|
|
45
45
|
), W = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
|
|
46
46
|
R,
|
|
47
47
|
{
|
|
48
|
-
className: i(n.buttonNext,
|
|
48
|
+
className: i(n.buttonNext, l(c)),
|
|
49
49
|
...t,
|
|
50
50
|
"aria-label": "Прокрутить вперёд",
|
|
51
51
|
children: /* @__PURE__ */ s(q, { className: i(n.buttonNextIcon), paletteIndex: 5 })
|
|
@@ -65,24 +65,24 @@ const K = "stepper__560c214a", O = "sm__95ccea9f", Q = "md__d8d1f5fc", 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
|
-
if (
|
|
73
|
-
const { current: e } = u, t = b.current[
|
|
72
|
+
if (a) {
|
|
73
|
+
const { current: e } = u, t = b.current[a];
|
|
74
74
|
e && t && A(e, t);
|
|
75
75
|
}
|
|
76
|
-
}, [
|
|
76
|
+
}, [a]), /* @__PURE__ */ s(
|
|
77
77
|
$,
|
|
78
78
|
{
|
|
79
|
-
className: i(n.stepperCarousel,
|
|
79
|
+
className: i(n.stepperCarousel, l(c)),
|
|
80
80
|
buttonPrev: I,
|
|
81
81
|
buttonNext: W,
|
|
82
82
|
stepPrev: x.stepPrev,
|
|
83
83
|
stepNext: x.stepNext,
|
|
84
84
|
ref: u,
|
|
85
|
-
children: /* @__PURE__ */ s(_, { className: B, selectedStepId:
|
|
85
|
+
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: a, size: c, ...E, children: h.map(({ label: e, ...t }, r) => /* @__PURE__ */ s(
|
|
86
86
|
_.Step,
|
|
87
87
|
{
|
|
88
88
|
forwardedRef: (o) => b.current[t.id] = o,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { EStepperSize as a } from "./enums.js";
|
|
3
|
-
import { StepperExtendedContext as
|
|
4
|
-
import { StepperWrapper as
|
|
5
|
-
import { StepperStep as
|
|
6
|
-
import { c as E } from "../../chunks/vendor-
|
|
7
|
-
const h = "
|
|
3
|
+
import { StepperExtendedContext as f } from "./StepperExtendedContext.js";
|
|
4
|
+
import { StepperWrapper as i } from "./StepperWrapper.js";
|
|
5
|
+
import { StepperStep as x } from "./StepperStep.js";
|
|
6
|
+
import { c as E } from "../../chunks/vendor-BIl4KTrD.js";
|
|
7
|
+
const h = "stepperExtended__f17f3fe3", u = {
|
|
8
8
|
stepperExtended: h
|
|
9
9
|
}, t = ({
|
|
10
10
|
children: r,
|
|
@@ -13,13 +13,13 @@ const h = "stepperExtended__fe6c02a1", u = {
|
|
|
13
13
|
onSelectStep: s,
|
|
14
14
|
selectedStepId: d,
|
|
15
15
|
forwardedRef: n,
|
|
16
|
-
...
|
|
16
|
+
...m
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
return /* @__PURE__ */ e(
|
|
18
|
+
const c = E(u.stepperExtended, p), l = (S) => s(S);
|
|
19
|
+
return /* @__PURE__ */ e(f.Provider, { value: { onSelectStep: l, selectedId: d, size: o }, children: /* @__PURE__ */ e("ol", { className: c, role: "tablist", ...m, ref: n, children: r }) });
|
|
20
20
|
};
|
|
21
|
-
t.Step =
|
|
22
|
-
t.Wrapper =
|
|
21
|
+
t.Step = x;
|
|
22
|
+
t.Wrapper = i;
|
|
23
23
|
export {
|
|
24
24
|
t as StepperExtended
|
|
25
25
|
};
|
|
@@ -4,8 +4,8 @@ import { StepperStepIcon as q } from "./StepperStepIcon.js";
|
|
|
4
4
|
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
|
-
import { c as C } from "../../chunks/vendor-
|
|
8
|
-
import { s as t, R as F } from "../../chunks/RightBorderArrow-
|
|
7
|
+
import { c as C } from "../../chunks/vendor-BIl4KTrD.js";
|
|
8
|
+
import { s as t, R as F } from "../../chunks/RightBorderArrow-CD9RfiqH.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": "1.
|
|
75
|
+
/* @__PURE__ */ I("div", { className: t.content, "data-tx": "1.20.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
|
-
import { c as a } from "../../chunks/vendor-
|
|
3
|
-
const
|
|
4
|
-
stepperWrapper:
|
|
2
|
+
import { c as a } from "../../chunks/vendor-BIl4KTrD.js";
|
|
3
|
+
const o = "stepperWrapper__59b2a836", c = {
|
|
4
|
+
stepperWrapper: o
|
|
5
5
|
}, W = ({ children: p, className: r, ...e }) => {
|
|
6
|
-
const s = a(
|
|
7
|
-
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.
|
|
6
|
+
const s = a(c.stepperWrapper, r);
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.20.0", children: p });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
W as StepperWrapper
|