@sberbusiness/triplex-next 1.6.1 → 1.8.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-C7qEZRwB.js +39 -0
- package/chunks/{CalendarViewItem-BoFDPLNT.js → CalendarViewItem-CUPkQFFY.js} +20 -20
- package/chunks/Card.module-D1ZooBvB.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CjWzaGb4.js +11 -0
- package/chunks/{Chip-C91-I9zb.js → Chip-CCv72AgN.js} +12 -12
- package/chunks/Confirm.module-DCsU0G6f.js +15 -0
- package/chunks/DropdownListItem-BcXHt5bk.js +63 -0
- package/chunks/DropdownMobile.module-B-UZ3LiZ.js +23 -0
- package/chunks/Footer.module-lZvJ02_q.js +9 -0
- package/chunks/{FormFieldInput-BL8yYnKo.js → FormFieldInput-BnHKlreA.js} +9 -9
- package/chunks/HeaderLayoutSidebar.module-CWZIkcLe.js +9 -0
- package/chunks/HeaderTabs.module-C-ZA_mn1.js +9 -0
- package/chunks/{HeaderTitle.module-29jwPQr2.js → HeaderTitle.module-0YuV_UNN.js} +2 -2
- package/chunks/IslandAccordion.module-h_O6zE1D.js +26 -0
- package/chunks/IslandWidgetFooter.module-Qje3BoKp.js +9 -0
- package/chunks/IslandWidgetHeader.module-CX_EFZUr.js +9 -0
- package/chunks/{LightBoxContent-D9VFXK17.js → LightBoxContent-CzLiq8KE.js} +13 -13
- package/chunks/LightBoxControls.module-BRiJRrAF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CCW9Lhhe.js +8 -0
- package/chunks/{ListItemControlsButton-DnuVSFV7.js → ListItemControlsButton-BB9ENDS-.js} +8 -8
- package/chunks/ListItemTail.module-BNCbqffO.js +12 -0
- package/chunks/ListMasterFooter.module-TZgSWuoA.js +10 -0
- package/chunks/ModalWindow.module-Bf1JWUeo.js +17 -0
- package/chunks/Notification.module-BRB3HPvc.js +21 -0
- package/chunks/Overlay.module-BPWZrFj3.js +18 -0
- package/chunks/Page.module-qLhls7XX.js +11 -0
- package/chunks/{RightBorderArrow-esMRIv7g.js → RightBorderArrow-BsoQkq2D.js} +13 -13
- package/chunks/SMSInput.module-C87wEVmB.js +16 -0
- package/chunks/SliderExtendedMarks.module-DwPWr28H.js +15 -0
- package/chunks/SliderExtendedRail-DCMgHGfh.js +40 -0
- package/chunks/StatusTracker.module-8ARjpbBi.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CpoZIQ7a.js → SuggestFieldMobileDropdownHint-BEzPFmOF.js} +4 -4
- package/chunks/TableFooter.module-DgtjRZYk.js +14 -0
- package/chunks/TabsExtended.module-B0_ktbZ6.js +16 -0
- package/chunks/TabsLine.module-DGic2tTZ.js +21 -0
- package/chunks/TooltipDesktop.module-krYzO0tT.js +19 -0
- package/chunks/{TooltipMobileCloseButton-Bdw8P_WT.js → TooltipMobileCloseButton-D5h1S51t.js} +7 -7
- package/chunks/TreeView.module-7xjkN1j1.js +9 -0
- package/chunks/{UploadZoneInput-Cr1wEu6A.js → UploadZoneInput-BES4iuW5.js} +5 -5
- package/chunks/{utils-PII_juCp.js → utils-Bg2EU04u.js} +7 -7
- package/chunks/{utils-DpVkLh52.js → utils-CIob06mu.js} +4 -4
- package/chunks/utils-D2zZhfuB.js +27 -0
- package/chunks/{utils-BGuB8cgl.js → utils-DRFlp8Cg.js} +16 -16
- package/chunks/utils-TKCSmJUI.js +24 -0
- 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 +11 -11
- package/components/Body/Body.js +8 -25
- package/components/Body/index.js +2 -4
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +97 -98
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- 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 +17 -17
- 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 +6 -6
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +91 -0
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +34 -0
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +4 -4
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/components/CollapsableTreeNode.js +11 -11
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +16 -19
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +36 -31
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +42 -37
- package/components/DesignTokens/components/DropdownMobile.js +1 -1
- package/components/DesignTokens/components/Island.js +2 -2
- package/components/DesignTokens/components/IslandWidget.js +14 -0
- package/components/DesignTokens/components/ModalWindow.js +2 -2
- package/components/DesignTokens/components/Tabs.js +1 -1
- package/components/DesignTokens/components/TabsLine.js +0 -3
- package/components/DesignTokens/components/index.js +63 -60
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +5 -5
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +3 -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 +10 -10
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +25 -25
- package/components/Dropdown/mobile/DropdownMobileLoader.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 +19 -19
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +15 -15
- 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 +1 -1
- 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 +34 -34
- package/components/HelpBox/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- 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 +2 -2
- package/components/IslandWidget/IslandWidget.js +51 -0
- package/components/IslandWidget/IslandWidgetContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -0
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +23 -0
- package/components/IslandWidget/components/IslandWidgetFooter.js +13 -0
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +11 -0
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +11 -0
- package/components/IslandWidget/components/IslandWidgetHeader.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +13 -0
- package/components/IslandWidget/components/IslandWidgetWrapper.js +17 -0
- package/components/IslandWidget/components/index.js +15 -0
- package/components/IslandWidget/index.js +17 -0
- package/components/LightBox/LightBox.js +16 -15
- 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 +61 -64
- 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/LightBoxSideOverlay/enums.js +5 -0
- package/components/LightBox/LightBoxSideOverlay/index.js +7 -0
- package/components/LightBox/index.js +7 -3
- package/components/Link/Link.js +21 -21
- package/components/List/List.js +5 -5
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +9 -9
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +38 -35
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +4 -4
- 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 +1 -1
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +37 -36
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +15 -9
- package/components/ModalWindow/components/ModalWindowHeader.js +5 -5
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.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/NotificationIcon/NotificationIcon.js +10 -0
- package/components/NotificationIcon/index.js +5 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +22 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Page/components/enums.js +5 -3
- package/components/Page/index.js +7 -5
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +7 -7
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSInput/SMSInput.js +2 -2
- package/components/SMSInput/components/RefreshIcon.js +1 -1
- package/components/SMSInput/components/SMSInputInput.js +2 -2
- package/components/SMSInput/components/SMSInputRefresh.js +1 -1
- package/components/SMSInput/components/SMSInputSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +6 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/Skeleton/Skeleton.js +13 -13
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- 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 +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +1 -1
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +10 -10
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +12 -12
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +14 -14
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +41 -35
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +44 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +2 -2
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +7 -7
- package/components/Table/PaginationPanel.js +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 +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +7 -7
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +31 -30
- 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 +18 -14
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +18 -17
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +50 -52
- package/components/TabsLine/components/TabsLineItem.js +16 -15
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +26 -26
- package/components/TagGroup/TagGroup.js +9 -9
- 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 +7 -7
- 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/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +9 -11
- package/components/TopOverlay/TopOverlay.js +15 -15
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +20 -20
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +10 -10
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +561 -528
- package/index.d.ts +288 -27
- package/index.js +403 -354
- package/package.json +13 -1
- package/styles/triplex-next.css +528 -527
- package/utils/index.js +30 -0
- package/chunks/AlertProcessSpoiler-Dq0fm-3a.js +0 -39
- package/chunks/Card.module-xUBtHcBW.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CzX04UVi.js +0 -11
- package/chunks/Confirm.module-yvrei2lL.js +0 -15
- package/chunks/DropdownListItem-PbfrmOZJ.js +0 -57
- package/chunks/DropdownMobile.module-CvDbPL9W.js +0 -21
- package/chunks/Footer.module-Kij9_qbS.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CPvbS61i.js +0 -9
- package/chunks/HeaderTabs.module-xhlfJ1R9.js +0 -9
- package/chunks/IslandAccordion.module-C7SBNJJJ.js +0 -26
- package/chunks/LightBoxControls.module-C76N_yWS.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CwTd-n3M.js +0 -8
- package/chunks/ListItemTail.module-DE8OWHba.js +0 -12
- package/chunks/ListMasterFooter.module-FTLh0QAQ.js +0 -10
- package/chunks/ModalWindow.module-C7N9wjxW.js +0 -17
- package/chunks/Notification.module-ByRBfuR2.js +0 -21
- package/chunks/Overlay.module-EIMAbb4c.js +0 -18
- package/chunks/Page.module-BokYwJr5.js +0 -12
- package/chunks/SMSInput.module-5r7uaeim.js +0 -16
- package/chunks/SliderExtendedMarks.module-D1DTVGpV.js +0 -15
- package/chunks/SliderExtendedRail-Ck23Ui6E.js +0 -40
- package/chunks/StatusTracker.module-D1-siBfk.js +0 -24
- package/chunks/TableFooter.module-D8h1OLCP.js +0 -14
- package/chunks/TabsExtended.module-Dvvx9orv.js +0 -16
- package/chunks/TabsLine.module-BW1667el.js +0 -23
- package/chunks/TooltipDesktop.module-E3qNKUvc.js +0 -19
- package/chunks/TreeView.module-CKfLtgeC.js +0 -9
- package/chunks/utils-BJhZJ9SO.js +0 -24
- package/chunks/utils-GixgRYNn.js +0 -26
- package/components/Body/enums.js +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as b, Fragment as B, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { useState as a, useContext as re, useRef as le, useLayoutEffect as L, useEffect as ae } from "react";
|
|
3
3
|
import { a as ie, l as k, c as ne } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { SliderExtendedUtils as o } from "../../SliderExtendedUtils.js";
|
|
@@ -9,7 +9,7 @@ import { useSliderExtendedDotTabIndex as me } from "./useSliderExtendedDotTabInd
|
|
|
9
9
|
import { KeyDownListener as F } from "../../../KeyDownListener/KeyDownListener.js";
|
|
10
10
|
import { EVENT_KEY_CODES as p } from "../../../../utils/keyboard.js";
|
|
11
11
|
import { createSizeToClassNameMap as fe } from "../../../../utils/classNameMaps.js";
|
|
12
|
-
const pe = "
|
|
12
|
+
const pe = "sliderExtendedDot__505edd49", xe = "focusedByClick__79c300dd", he = "disabled__1dce7f7e", ge = "dragByMouse__3d7e12b1", De = "lg__5c759d7d", i = {
|
|
13
13
|
sliderExtendedDot: pe,
|
|
14
14
|
focusedByClick: xe,
|
|
15
15
|
disabled: he,
|
|
@@ -92,17 +92,17 @@ const pe = "sliderExtendedDot__b815cf3e", xe = "focusedByClick__2cc57ee2", he =
|
|
|
92
92
|
}
|
|
93
93
|
}, T = (e) => {
|
|
94
94
|
e.cancelable && e.preventDefault(), n(!1), document.removeEventListener("touchend", T);
|
|
95
|
-
},
|
|
96
|
-
e.preventDefault(), O.moveToPrevStep(
|
|
95
|
+
}, I = () => z.filter((e) => e.id === l)[0], te = (e) => {
|
|
96
|
+
e.preventDefault(), O.moveToPrevStep(I(), s);
|
|
97
97
|
}, oe = (e) => {
|
|
98
|
-
e.preventDefault(), O.moveToNextStep(
|
|
98
|
+
e.preventDefault(), O.moveToNextStep(I(), s);
|
|
99
99
|
}, se = (e) => {
|
|
100
100
|
y || V(!0), N(!0), h == null || h(e);
|
|
101
101
|
}, de = (e) => {
|
|
102
102
|
y && V(!1), E(!1), N(!1), x == null || x(e);
|
|
103
103
|
};
|
|
104
|
-
return /* @__PURE__ */
|
|
105
|
-
W && /* @__PURE__ */
|
|
104
|
+
return /* @__PURE__ */ b(B, { children: [
|
|
105
|
+
W && /* @__PURE__ */ b(B, { children: [
|
|
106
106
|
/* @__PURE__ */ f(
|
|
107
107
|
F,
|
|
108
108
|
{
|
|
@@ -3,7 +3,7 @@ import C from "react";
|
|
|
3
3
|
import { SliderExtendedContext as M } from "../../SliderExtendedContext.js";
|
|
4
4
|
import { SliderExtendedMarkActions as s } from "./SliderExtendedMarkActions.js";
|
|
5
5
|
import { c as o } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
-
import { s as e } from "../../../../chunks/SliderExtendedMarks.module-
|
|
6
|
+
import { s as e } from "../../../../chunks/SliderExtendedMarks.module-DwPWr28H.js";
|
|
7
7
|
import { EComponentSize as z } from "../../../../enums/EComponentSize.js";
|
|
8
8
|
import { ETextSize as c } from "../../../Typography/enums.js";
|
|
9
9
|
import { Text as N } from "../../../Typography/Text.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { s as a } from "../../../../chunks/SliderExtendedMarks.module-
|
|
3
|
+
import { s as a } from "../../../../chunks/SliderExtendedMarks.module-DwPWr28H.js";
|
|
4
4
|
const t = ({ className: s, ...e }) => /* @__PURE__ */ r("div", { className: d(a.sliderExtendedMarks, s), ...e });
|
|
5
5
|
t.displayName = "SliderExtendedMarks";
|
|
6
6
|
export {
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../SliderExtendedContext.js";
|
|
4
4
|
import "../SliderExtendedUtils.js";
|
|
5
5
|
import "../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
-
import { S as d } from "../../../chunks/SliderExtendedRail-
|
|
6
|
+
import { S as d } from "../../../chunks/SliderExtendedRail-DCMgHGfh.js";
|
|
7
7
|
export {
|
|
8
8
|
d as SliderExtendedRail
|
|
9
9
|
};
|
|
@@ -3,28 +3,28 @@ import r from "react";
|
|
|
3
3
|
import { SliderExtendedContext as _ } from "../../SliderExtendedContext.js";
|
|
4
4
|
import { c as e } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
5
5
|
import { createSizeToClassNameMap as v } from "../../../../utils/classNameMaps.js";
|
|
6
|
-
const E = "
|
|
6
|
+
const E = "sliderExtendedTooltipOverlay__66a78ae6", C = "lg__5c759d7d", N = "tooltipBody__2c4a85ca", O = "tooltipTip__a639cacb", t = {
|
|
7
7
|
sliderExtendedTooltipOverlay: E,
|
|
8
8
|
lg: C,
|
|
9
9
|
tooltipBody: N,
|
|
10
10
|
tooltipTip: O
|
|
11
|
-
}, h = v(t),
|
|
11
|
+
}, h = v(t), W = ({
|
|
12
12
|
value: i,
|
|
13
13
|
children: d,
|
|
14
14
|
...c
|
|
15
15
|
}) => {
|
|
16
|
-
const o = r.useRef(null), { min: l, max:
|
|
16
|
+
const o = r.useRef(null), { min: l, max: a, size: p } = r.useContext(_), m = () => {
|
|
17
17
|
var s;
|
|
18
18
|
if (!o.current || i === void 0)
|
|
19
19
|
return 0;
|
|
20
|
-
const f = 8, x = 16, T = ((s = o.current) == null ? void 0 : s.clientWidth) || 0, u = (i - l) / (
|
|
20
|
+
const f = 8, x = 16, T = ((s = o.current) == null ? void 0 : s.clientWidth) || 0, u = (i - l) / (a - l);
|
|
21
21
|
return (T / 2 - f - x) * (1 - 2 * u);
|
|
22
22
|
};
|
|
23
23
|
return /* @__PURE__ */ y(
|
|
24
24
|
"div",
|
|
25
25
|
{
|
|
26
26
|
ref: o,
|
|
27
|
-
className: e(t.sliderExtendedTooltipOverlay, h[
|
|
27
|
+
className: e(t.sliderExtendedTooltipOverlay, h[p]),
|
|
28
28
|
...c,
|
|
29
29
|
children: [
|
|
30
30
|
/* @__PURE__ */ n("div", { className: e(t.tooltipBody), style: { left: `${m()}px` }, children: d }),
|
|
@@ -34,6 +34,6 @@ const E = "sliderExtendedTooltipOverlay__88cc5b92", C = "lg__30d07955", N = "too
|
|
|
34
34
|
);
|
|
35
35
|
};
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
W as SliderExtendedTooltip
|
|
38
38
|
};
|
|
39
39
|
//# sourceMappingURL=SliderExtendedTooltip.js.map
|
|
@@ -8,7 +8,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__82dc2082", ue = "lg__5c759d7d", fe = "focusedByClick__79c300dd", me = "hoverOrDragByMouse__971c97a0", he = "staticSlider__5cfa81e8", ge = "disabled__1dce7f7e", o = {
|
|
12
12
|
sliderExtendedTrack: ne,
|
|
13
13
|
lg: ue,
|
|
14
14
|
focusedByClick: fe,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const o = "
|
|
4
|
+
const o = "smallInput__861b5591", n = {
|
|
5
5
|
smallInput: o
|
|
6
|
-
},
|
|
7
|
-
|
|
6
|
+
}, e = m.forwardRef(({ className: t, ...l }, s) => /* @__PURE__ */ a("input", { className: p(n.smallInput, t), ...l, type: "text", ref: s }));
|
|
7
|
+
e.displayName = "SmallInput";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
e as SmallInput
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=SmallInput.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import z, { useState as T, useRef as E, useCallback as w } from "react";
|
|
3
3
|
import { CaretdownStrokeSrvIcon20 as p, CaretdownStrokeSrvIcon16 as B } from "@sberbusiness/icons-next";
|
|
4
4
|
import { Button as L } from "../Button/Button.js";
|
|
@@ -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 { a as j, c as _ } from "../../chunks/vendor-D3hUOusX.js";
|
|
13
|
-
const y = "
|
|
13
|
+
const y = "spoiler__ea2279d8", D = "opened__bcf61799", q = "caretIcon__5a1f1eb0", A = "head__426fdec5", G = "content__9b3bd652", H = "hidden__0e3af2b8", K = "lg__90a55ed1", $ = "md__22afe9b0", F = "sm__3c38f288", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,15 +21,15 @@ const y = "spoiler__f3c82f5c", D = "opened__51fd3a27", q = "caretIcon__bc0db52b"
|
|
|
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__ */ 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
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: a,
|
|
33
33
|
className: x,
|
|
34
34
|
labelExpand: S,
|
|
35
35
|
labelCollapse: u,
|
|
@@ -38,8 +38,8 @@ const y = "spoiler__f3c82f5c", D = "opened__51fd3a27", q = "caretIcon__bc0db52b"
|
|
|
38
38
|
...b
|
|
39
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 ? a == null || a(i) : v(i), o == null || o(i);
|
|
42
|
+
}, [d, a, t, o]), k = _(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
45
45
|
{
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__f3c82f5c", D = "opened__51fd3a27", q = "caretIcon__bc0db52b"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...b, className: k, "data-tx": "1.
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...b, className: k, "data-tx": "1.8.0", ref: h, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -65,7 +65,7 @@ const y = "spoiler__f3c82f5c", D = "opened__51fd3a27", q = "caretIcon__bc0db52b"
|
|
|
65
65
|
),
|
|
66
66
|
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ n("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: I })
|
|
69
69
|
] });
|
|
70
70
|
});
|
|
71
71
|
P.displayName = "Spoiler";
|
|
@@ -1,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-D3hUOusX.js";
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-8ARjpbBi.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.8.0",
|
|
27
27
|
children: [
|
|
28
28
|
/* @__PURE__ */ s("div", { className: a(r.statusTrackerBackground, c[e]), children: /* @__PURE__ */ s("div", { className: a(r.statusTrackerColor, c[e]) }) }, e),
|
|
29
29
|
/* @__PURE__ */ s("div", { className: a(r.statusTracker, S[l]), children: i })
|
|
@@ -3,7 +3,7 @@ import { c as m } from "../../../chunks/vendor-D3hUOusX.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-8ARjpbBi.js";
|
|
7
7
|
import "../../Typography/Title.js";
|
|
8
8
|
import { Text as c } from "../../Typography/Text.js";
|
|
9
9
|
import "../../Typography/Caption.js";
|
|
@@ -3,7 +3,7 @@ import e from "react";
|
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-D3hUOusX.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-8ARjpbBi.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 m } from "react/jsx-runtime";
|
|
2
2
|
import { c as a } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { s as c } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as c } from "../../../chunks/StatusTracker.module-8ARjpbBi.js";
|
|
4
4
|
import { Button as e } from "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
6
6
|
import "../../Button/ButtonIcon.js";
|
|
@@ -4,7 +4,7 @@ import "../../Typography/Title.js";
|
|
|
4
4
|
import { Text as m } from "../../Typography/Text.js";
|
|
5
5
|
import "../../Typography/Caption.js";
|
|
6
6
|
import { ETextSize as p, EFontType as c } from "../../Typography/enums.js";
|
|
7
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as a } from "../../../chunks/StatusTracker.module-8ARjpbBi.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
3
|
import { c as i } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-8ARjpbBi.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-D3hUOusX.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-8ARjpbBi.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
2
|
import { c } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-8ARjpbBi.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-D3hUOusX.js";
|
|
3
|
-
import { s as m } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-8ARjpbBi.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;
|
|
@@ -5,7 +5,7 @@ import "../../Typography/Text.js";
|
|
|
5
5
|
import "../../Typography/Caption.js";
|
|
6
6
|
import { ETitleSize as a, EFontWeightTitle as p } from "../../Typography/enums.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-8ARjpbBi.js";
|
|
9
9
|
const g = (r) => {
|
|
10
10
|
const { className: o, amountProps: m, ...s } = r;
|
|
11
11
|
return /* @__PURE__ */ t(
|
|
@@ -4,7 +4,7 @@ import { Title as m } from "../../Typography/Title.js";
|
|
|
4
4
|
import "../../Typography/Text.js";
|
|
5
5
|
import "../../Typography/Caption.js";
|
|
6
6
|
import { ETitleSize as a, EFontWeightTitle as l } from "../../Typography/enums.js";
|
|
7
|
-
import { s as c } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as c } from "../../../chunks/StatusTracker.module-8ARjpbBi.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
|
@@ -6,12 +6,12 @@ import { Tooltip as a } from "../Tooltip/Tooltip.js";
|
|
|
6
6
|
import "../Typography/Title.js";
|
|
7
7
|
import { Text as S } from "../Typography/Text.js";
|
|
8
8
|
import "../Typography/Caption.js";
|
|
9
|
-
import { EFontWeightText as
|
|
10
|
-
import { c as
|
|
11
|
-
const
|
|
12
|
-
step:
|
|
13
|
-
default: "
|
|
14
|
-
done:
|
|
9
|
+
import { EFontWeightText as b, ETextSize as D } from "../Typography/enums.js";
|
|
10
|
+
import { c as N } from "../../chunks/vendor-D3hUOusX.js";
|
|
11
|
+
const A = "step__b0d56126", R = "done__be120d99", x = "warning__eccb93bd", h = "active__61cae471", v = "error__c919d448", w = "disabled__599166be", t = {
|
|
12
|
+
step: A,
|
|
13
|
+
default: "default__90d1882a",
|
|
14
|
+
done: R,
|
|
15
15
|
warning: x,
|
|
16
16
|
active: h,
|
|
17
17
|
error: v,
|
|
@@ -30,16 +30,16 @@ const R = "step__897a18f9", b = "done__5b10b25f", x = "warning__dd241ddf", h = "
|
|
|
30
30
|
}, G = (r, s) => s === 0 ? e.XFirst : s + 1 === r ? e.XLast : e.Default, z = ({
|
|
31
31
|
children: r,
|
|
32
32
|
className: s,
|
|
33
|
-
step:
|
|
33
|
+
step: p,
|
|
34
34
|
status: d,
|
|
35
|
-
position:
|
|
36
|
-
...
|
|
35
|
+
position: m = e.Default,
|
|
36
|
+
...f
|
|
37
37
|
}) => {
|
|
38
|
-
const l = u(null), T = y[
|
|
38
|
+
const l = u(null), T = y[m], E = N(t.step, L[d], s), c = () => /* @__PURE__ */ i("div", { ref: l, className: E, ...f, children: /* @__PURE__ */ i(S, { size: D.B1, weight: b.SEMIBOLD, children: p }) });
|
|
39
39
|
return r ? /* @__PURE__ */ g(a, { size: _.SM, toggleType: "hover", alignTip: T, targetRef: l, children: [
|
|
40
|
-
/* @__PURE__ */ i(a.Target, { children:
|
|
40
|
+
/* @__PURE__ */ i(a.Target, { children: c() }),
|
|
41
41
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
42
|
-
] }) :
|
|
42
|
+
] }) : c();
|
|
43
43
|
};
|
|
44
44
|
z.displayName = "Step";
|
|
45
45
|
export {
|
|
@@ -7,10 +7,10 @@ import { CarouselExtended as $ } from "../CarouselExtended/CarouselExtended.js";
|
|
|
7
7
|
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
|
-
import { scrollSmoothHorizontally as
|
|
10
|
+
import { scrollSmoothHorizontally as S } from "../../utils/scroll.js";
|
|
11
11
|
import { c as i } from "../../chunks/vendor-D3hUOusX.js";
|
|
12
12
|
import { EStepperSize as a } from "./enums.js";
|
|
13
|
-
const K = "
|
|
13
|
+
const K = "stepper__db7ae7ee", O = "sm__c539d524", Q = "md__3b40a16f", T = "lg__a9912fc3", U = "stepperCarousel__4e4da501", V = "buttonPrev__46ad1d93", Y = "buttonNext__d5aad45a", n = {
|
|
14
14
|
stepper: K,
|
|
15
15
|
sm: O,
|
|
16
16
|
md: Q,
|
|
@@ -29,12 +29,12 @@ const K = "stepper__be37962b", O = "sm__a66b3e2e", Q = "md__0c0bc3a7", T = "lg__
|
|
|
29
29
|
}
|
|
30
30
|
}, P = ({
|
|
31
31
|
className: m,
|
|
32
|
-
steps:
|
|
32
|
+
steps: h,
|
|
33
33
|
size: c = a.SM,
|
|
34
34
|
selectedStepId: l,
|
|
35
35
|
...E
|
|
36
36
|
}) => {
|
|
37
|
-
const [
|
|
37
|
+
const [x, w] = G({ stepNext: 0, stepPrev: 0 }), u = v(null), b = v({}), B = i(n.stepper, p(c), m), M = h.findIndex((e) => e.id === l), I = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
|
|
38
38
|
R,
|
|
39
39
|
{
|
|
40
40
|
className: i(n.buttonPrev, p(c)),
|
|
@@ -59,18 +59,18 @@ const K = "stepper__be37962b", O = "sm__a66b3e2e", Q = "md__0c0bc3a7", T = "lg__
|
|
|
59
59
|
}
|
|
60
60
|
}, []);
|
|
61
61
|
const L = (e, t, r, o) => {
|
|
62
|
-
r > 0 && (t.nextElementSibling && (r -= o - t.nextElementSibling.getBoundingClientRect().right),
|
|
62
|
+
r > 0 && (t.nextElementSibling && (r -= o - t.nextElementSibling.getBoundingClientRect().right), S(e, Math.ceil(r)));
|
|
63
63
|
}, k = (e, t, r, o) => {
|
|
64
|
-
r < 0 && (t.previousElementSibling && (r -= o - t.previousElementSibling.getBoundingClientRect().left),
|
|
64
|
+
r < 0 && (t.previousElementSibling && (r -= o - t.previousElementSibling.getBoundingClientRect().left), S(e, Math.floor(r)));
|
|
65
65
|
}, y = (e, t) => {
|
|
66
|
-
t &&
|
|
66
|
+
t && S(e, t);
|
|
67
67
|
}, A = (e, t) => {
|
|
68
|
-
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: f, right: N, width: D } = t.getBoundingClientRect(),
|
|
69
|
-
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e,
|
|
68
|
+
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: f, right: N, width: D } = t.getBoundingClientRect(), d = r + j / 2, g = f + D / 2;
|
|
69
|
+
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e, g - d) : d > g ? k(e, t, f - r - 32, f) : d < g && L(e, t, N - o + 32, N);
|
|
70
70
|
};
|
|
71
71
|
return C(() => {
|
|
72
72
|
if (l) {
|
|
73
|
-
const { current: e } = u, t =
|
|
73
|
+
const { current: e } = u, t = b.current[l];
|
|
74
74
|
e && t && A(e, t);
|
|
75
75
|
}
|
|
76
76
|
}, [l]), /* @__PURE__ */ s(
|
|
@@ -79,13 +79,13 @@ const K = "stepper__be37962b", O = "sm__a66b3e2e", Q = "md__0c0bc3a7", T = "lg__
|
|
|
79
79
|
className: i(n.stepperCarousel, p(c)),
|
|
80
80
|
buttonPrev: I,
|
|
81
81
|
buttonNext: W,
|
|
82
|
-
stepPrev:
|
|
83
|
-
stepNext:
|
|
82
|
+
stepPrev: x.stepPrev,
|
|
83
|
+
stepNext: x.stepNext,
|
|
84
84
|
ref: u,
|
|
85
|
-
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size: c, ...E, children:
|
|
85
|
+
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size: c, ...E, children: h.map(({ label: e, ...t }, r) => /* @__PURE__ */ s(
|
|
86
86
|
_.Step,
|
|
87
87
|
{
|
|
88
|
-
forwardedRef: (o) =>
|
|
88
|
+
forwardedRef: (o) => b.current[t.id] = o,
|
|
89
89
|
...t,
|
|
90
90
|
isInActiveStep: r > M,
|
|
91
91
|
children: e
|
|
@@ -4,7 +4,7 @@ import { StepperExtendedContext as i } from "./StepperExtendedContext.js";
|
|
|
4
4
|
import { StepperWrapper as x } from "./StepperWrapper.js";
|
|
5
5
|
import { StepperStep as f } from "./StepperStep.js";
|
|
6
6
|
import { c as E } from "../../chunks/vendor-D3hUOusX.js";
|
|
7
|
-
const b = "
|
|
7
|
+
const b = "stepperExtended__9dfb025d", h = {
|
|
8
8
|
stepperExtended: b
|
|
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-D3hUOusX.js";
|
|
8
|
-
import { s as t, R as F } from "../../chunks/RightBorderArrow-
|
|
8
|
+
import { s as t, R as F } from "../../chunks/RightBorderArrow-BsoQkq2D.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.8.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-D3hUOusX.js";
|
|
3
|
-
const o = "
|
|
3
|
+
const o = "stepperWrapper__7e417b75", c = {
|
|
4
4
|
stepperWrapper: o
|
|
5
5
|
}, W = ({ children: p, className: r, ...e }) => {
|
|
6
6
|
const s = a(c.stepperWrapper, r);
|
|
7
|
-
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.8.0", children: p });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
W as StepperWrapper
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as c, Fragment as
|
|
1
|
+
import { jsxs as c, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as B, useCallback as r } from "react";
|
|
3
3
|
import { useSuggestContext as F } from "./SuggestContext.js";
|
|
4
4
|
import "../Dropdown/Dropdown.js";
|
|
5
5
|
import "../Dropdown/DropdownListContext.js";
|
|
6
6
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
7
7
|
import "../Dropdown/desktop/DropdownList.js";
|
|
8
|
-
import "../../chunks/DropdownListItem-
|
|
8
|
+
import "../../chunks/DropdownListItem-BcXHt5bk.js";
|
|
9
9
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
10
10
|
import { DropdownMobileBody as I } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
11
11
|
import { DropdownMobileClose as N } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -20,7 +20,7 @@ import "../Typography/Title.js";
|
|
|
20
20
|
import { Text as E } from "../Typography/Text.js";
|
|
21
21
|
import "../Typography/Caption.js";
|
|
22
22
|
import { ETextSize as H, EFontType as j } from "../Typography/enums.js";
|
|
23
|
-
const k = "
|
|
23
|
+
const k = "suggestDropdownMobileBody__ede2130c", z = "suggestDropdownMobileNoOptionsText__1e97d7c5", g = {
|
|
24
24
|
suggestDropdownMobileBody: k,
|
|
25
25
|
suggestDropdownMobileNoOptionsText: z
|
|
26
26
|
}, po = () => {
|
|
@@ -28,61 +28,67 @@ const k = "suggestDropdownMobileBody__ba452620", z = "suggestDropdownMobileNoOpt
|
|
|
28
28
|
value: n,
|
|
29
29
|
options: s,
|
|
30
30
|
inputValue: i,
|
|
31
|
-
placeholder:
|
|
32
|
-
noOptionsText:
|
|
33
|
-
loading:
|
|
34
|
-
clearInputOnFocus:
|
|
31
|
+
placeholder: u,
|
|
32
|
+
noOptionsText: a,
|
|
33
|
+
loading: w,
|
|
34
|
+
clearInputOnFocus: d,
|
|
35
35
|
dropdownListLoading: b,
|
|
36
|
-
onSelect:
|
|
36
|
+
onSelect: h,
|
|
37
37
|
onFilter: t,
|
|
38
38
|
onScrollEnd: l,
|
|
39
|
-
closeDropdown:
|
|
40
|
-
} = F(),
|
|
39
|
+
closeDropdown: p
|
|
40
|
+
} = F(), D = B(null), f = r(
|
|
41
41
|
(o) => {
|
|
42
42
|
if (l === void 0)
|
|
43
43
|
return;
|
|
44
|
-
const { clientHeight:
|
|
45
|
-
|
|
44
|
+
const { clientHeight: y, scrollHeight: C, scrollTop: S } = o.target;
|
|
45
|
+
C - S === y && l();
|
|
46
46
|
},
|
|
47
47
|
[l]
|
|
48
|
-
),
|
|
48
|
+
), M = r(() => p(), [p]), x = r(
|
|
49
49
|
(o) => {
|
|
50
50
|
t(o.target.value);
|
|
51
51
|
},
|
|
52
52
|
[t]
|
|
53
|
-
),
|
|
54
|
-
i.length !== 0 &&
|
|
55
|
-
}, [i.length,
|
|
56
|
-
return /* @__PURE__ */ c(
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
53
|
+
), T = r(() => {
|
|
54
|
+
i.length !== 0 && d === !0 && t("");
|
|
55
|
+
}, [i.length, d, t]);
|
|
56
|
+
return /* @__PURE__ */ c(m, { children: [
|
|
57
|
+
/* @__PURE__ */ e(
|
|
58
|
+
O,
|
|
59
|
+
{
|
|
60
|
+
controlButtons: /* @__PURE__ */ c(m, { children: [
|
|
61
|
+
w && /* @__PURE__ */ e(v, {}),
|
|
62
|
+
/* @__PURE__ */ e(N, { onClick: M })
|
|
63
|
+
] }),
|
|
64
|
+
children: /* @__PURE__ */ e(
|
|
65
|
+
L,
|
|
66
|
+
{
|
|
67
|
+
value: i,
|
|
68
|
+
placeholder: u,
|
|
69
|
+
autoFocus: !0,
|
|
70
|
+
onFocus: T,
|
|
71
|
+
onChange: x
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
/* @__PURE__ */ e(I, { className: g.suggestDropdownMobileBody, onScroll: f, children: s.length === 0 ? /* @__PURE__ */ e(
|
|
71
77
|
E,
|
|
72
78
|
{
|
|
73
|
-
className:
|
|
79
|
+
className: g.suggestDropdownMobileNoOptionsText,
|
|
74
80
|
type: j.PRIMARY,
|
|
75
81
|
size: H.B2,
|
|
76
82
|
tag: "div",
|
|
77
|
-
children:
|
|
83
|
+
children: a
|
|
78
84
|
}
|
|
79
|
-
) : /* @__PURE__ */ e(R, { loading: b, ref:
|
|
85
|
+
) : /* @__PURE__ */ e(R, { loading: b, ref: D, children: s.map((o) => /* @__PURE__ */ e(
|
|
80
86
|
_,
|
|
81
87
|
{
|
|
82
88
|
id: o.id,
|
|
83
89
|
selected: o.id === (n == null ? void 0 : n.id),
|
|
84
90
|
onSelect: () => {
|
|
85
|
-
|
|
91
|
+
h(o);
|
|
86
92
|
},
|
|
87
93
|
children: o.content || o.label
|
|
88
94
|
},
|
|
@@ -2,7 +2,7 @@ import "./desktop/SuggestFieldDesktopDropdown.js";
|
|
|
2
2
|
import { SuggestFieldDesktop as L } from "./desktop/SuggestFieldDesktop.js";
|
|
3
3
|
import { SuggestFieldMobile as O } from "./mobile/SuggestFieldMobile.js";
|
|
4
4
|
import "./mobile/SuggestFieldMobileDropdown.js";
|
|
5
|
-
import "../../chunks/SuggestFieldMobileDropdownHint-
|
|
5
|
+
import "../../chunks/SuggestFieldMobileDropdownHint-BEzPFmOF.js";
|
|
6
6
|
import "./mobile/SuggestFieldMobileTarget.js";
|
|
7
7
|
import { jsx as e } from "react/jsx-runtime";
|
|
8
8
|
import { MobileView as h } from "../MobileView/MobileView.js";
|