@sberbusiness/triplex-next 1.4.0 → 1.5.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-BQv9QI6L.js → AlertProcessSpoiler-M7W9D-p3.js} +6 -6
- package/chunks/CalendarViewItem-Cs4qo2T0.js +105 -0
- package/chunks/Card.module-lZl8x0iL.js +17 -0
- package/chunks/{Chip-G6cGXuGj.js → Chip-DpSJGyYK.js} +10 -10
- package/chunks/{DropdownListItem-D2hzyBGc.js → DropdownListItem-SqymKZn5.js} +10 -10
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +21 -0
- package/chunks/Footer.module-3tcvZGt3.js +9 -0
- package/chunks/{FormFieldInput-CO7yZP0Q.js → FormFieldInput-BSxKZxcq.js} +11 -11
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +9 -0
- package/chunks/HeaderTabs.module-DegB0R8X.js +9 -0
- package/chunks/{HeaderTitle.module-BHyH17ZI.js → HeaderTitle.module-CEMLCR13.js} +2 -2
- package/chunks/IslandAccordion.module-DFvQwhSg.js +22 -0
- package/chunks/{LightBoxContent-DmoszkOx.js → LightBoxContent-DTTxRVLQ.js} +16 -16
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +8 -0
- package/chunks/{ListItemControlsButton-BoEiexyr.js → ListItemControlsButton-AbCEipFe.js} +10 -10
- package/chunks/ListItemTail.module-CZYSMJRz.js +12 -0
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +10 -0
- package/chunks/ModalWindow.module-DGcF8-xJ.js +17 -0
- package/chunks/Notification.module-Cj_Pd4DQ.js +21 -0
- package/chunks/Overlay.module-BqJXvoeX.js +18 -0
- package/chunks/Page.module-DUQ6i8Ez.js +12 -0
- package/chunks/{RightBorderArrow-BHW7rkmN.js → RightBorderArrow-Co_RT8lZ.js} +12 -12
- package/chunks/SMSInput.module-D1TiDw_A.js +16 -0
- package/chunks/StatusTracker.module-DetC6Udk.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CMKMF0PQ.js → SuggestFieldMobileDropdownHint-nZwpz9Eo.js} +2 -2
- package/chunks/TableFooter.module-BF4P3QCw.js +13 -0
- package/chunks/TabsExtended.module-BciQYRi4.js +16 -0
- package/chunks/TabsLine.module-Cx0n_AdV.js +23 -0
- package/chunks/TooltipDesktop.module-DK06gaHe.js +19 -0
- package/chunks/TooltipMobileCloseButton-DTtQoE3B.js +20 -0
- package/chunks/{UploadZoneInput-pdhICY56.js → UploadZoneInput-C2-_7DoS.js} +3 -3
- package/chunks/{utils-B7AjUpy-.js → utils-CFlJg-k1.js} +5 -5
- package/chunks/{utils-DwX2_kEA.js → utils-CXhKCNyM.js} +14 -14
- package/chunks/utils-CoHHiBA8.js +24 -0
- package/chunks/utils-D9w2Kvyk.js +36 -0
- package/chunks/{utils-C9-tOm2Z.js → utils-Dhi5F6Da.js} +9 -9
- package/chunks/vendor-9KVE23Ri.js +14839 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +16 -16
- 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 +2 -2
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +18 -18
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +183 -0
- package/components/Calendar/CalendarContext.js +22 -0
- package/components/Calendar/CalendarRange.js +28 -0
- package/components/Calendar/CalendarViewContext.js +8 -0
- package/components/Calendar/components/CalendarControls.js +98 -0
- package/components/Calendar/components/CalendarFooter.js +9 -0
- package/components/Calendar/components/CalendarTodayButton.js +31 -0
- package/components/Calendar/components/CalendarView.js +30 -0
- package/components/Calendar/components/CalendarViewDays.js +109 -0
- package/components/Calendar/components/CalendarViewItem.js +11 -0
- package/components/Calendar/components/CalendarViewMonths.js +64 -0
- package/components/Calendar/components/CalendarViewYears.js +64 -0
- package/components/Calendar/enums.js +7 -0
- package/components/Calendar/index.js +9 -0
- package/components/Calendar/types.js +2 -0
- package/components/Calendar/utils.js +38 -0
- package/components/Card/CardAction.js +14 -14
- 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 +7 -7
- package/components/Checkbox/Checkbox.js +12 -12
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- 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/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipOptions.js +7 -7
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +7 -5
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +142 -142
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/DateField/DateField.js +135 -0
- package/components/DateField/DateFieldContext.js +12 -0
- package/components/DateField/DateFieldTarget.js +60 -0
- package/components/DateField/constants.js +5 -0
- package/components/DateField/index.js +5 -0
- package/components/DateField/types.js +2 -0
- package/components/DateField/utils.js +23 -0
- package/components/DatePickerExtended/DatePickerExtended.js +136 -0
- package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +77 -70
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +71 -64
- package/components/DesignTokens/DesignTokensCore.js +1 -1
- package/components/DesignTokens/components/Calendar.js +109 -0
- package/components/DesignTokens/components/Divider.js +4 -4
- package/components/DesignTokens/components/ModalWindow.js +11 -0
- package/components/DesignTokens/components/index.js +132 -126
- package/components/Divider/Divider.js +21 -21
- package/components/Dropdown/desktop/DropdownDesktop.js +17 -17
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +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 +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +11 -0
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +21 -21
- 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 +21 -21
- package/components/FormField/components/FormFieldClear.js +12 -16
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +25 -29
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- 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 +6 -6
- 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 +9 -9
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +6 -6
- package/components/Island/components/IslandHeader.js +4 -4
- 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 +3 -3
- package/components/LightBox/LightBox.js +16 -16
- 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 +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +15 -15
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +20 -20
- 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 +7 -7
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +5 -5
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +10 -10
- package/components/List/components/ListSortableItemControls.js +7 -7
- 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 +5 -5
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +98 -0
- package/components/ModalWindow/components/ModalWindowBody.js +189 -0
- package/components/ModalWindow/components/ModalWindowClose.js +29 -0
- package/components/ModalWindow/components/ModalWindowContent.js +13 -0
- package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
- package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
- package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
- package/components/ModalWindow/index.js +17 -0
- package/components/MonthYearField/MonthYearField.js +66 -0
- package/components/MonthYearField/MonthYearFieldContext.js +9 -0
- package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
- package/components/MonthYearField/constants.js +5 -0
- package/components/MonthYearField/index.js +5 -0
- package/components/MonthYearField/types.js +2 -0
- package/components/MonthYearField/utils.js +22 -0
- 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/NotificationBodyContent.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 +5 -5
- package/components/OrderedList/OrderedListItem.js +8 -8
- 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 +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +9 -9
- 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 +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +11 -11
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +19 -19
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/Spoiler/Spoiler.js +16 -16
- 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 +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +56 -56
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +13 -13
- 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 +16 -16
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +20 -20
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +6 -6
- 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 +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +7 -7
- 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 +6 -6
- 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 +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +18 -18
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +19 -19
- 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 +28 -32
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +26 -26
- package/components/Typography/Title.js +17 -17
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- 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 +423 -413
- package/consts/DateConst.js +14 -0
- package/index.d.ts +284 -4
- package/index.js +432 -422
- package/package.json +18 -1
- package/styles/triplex-next.css +501 -472
- package/types/DateTypes.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-kTbr6OQy.js +0 -17
- package/chunks/DropdownMobile.module-Fa_t6vz1.js +0 -21
- package/chunks/Footer.module-B3uFxh54.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +0 -9
- package/chunks/HeaderTabs.module-DMuNfILv.js +0 -9
- package/chunks/IslandAccordion.module-7xAwgJVI.js +0 -22
- package/chunks/LightBoxControls.module-42gn-co3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +0 -8
- package/chunks/ListItemTail.module-BB5TJPEc.js +0 -12
- package/chunks/ListMasterFooter.module-DxZ_nXDV.js +0 -10
- package/chunks/Notification.module-C-HCMpAz.js +0 -21
- package/chunks/Overlay.module-q-oPhooa.js +0 -18
- package/chunks/Page.module-DjGbJ-Uw.js +0 -12
- package/chunks/SMSInput.module-Ci4GRnk_.js +0 -16
- package/chunks/StatusTracker.module-zTyojoH4.js +0 -24
- package/chunks/TableFooter.module-DrRycaTr.js +0 -13
- package/chunks/TabsExtended.module-Be8qpZYz.js +0 -16
- package/chunks/TabsLine.module-DKAp48Sx.js +0 -23
- package/chunks/TooltipDesktop.module-D72ObNia.js +0 -19
- package/chunks/utils-C-1ATq_g.js +0 -24
- package/chunks/utils-C8a4iCV0.js +0 -36
- package/chunks/vendor-Ba_pyhza.js +0 -12036
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import z, { useState as T, useRef as E, useCallback as w } from "react";
|
|
3
3
|
import { CaretdownStrokeSrvIcon20 as p, CaretdownStrokeSrvIcon16 as B } from "@sberbusiness/icons-next";
|
|
4
4
|
import { Button as L } from "../Button/Button.js";
|
|
@@ -7,10 +7,10 @@ import "../Button/ButtonIcon.js";
|
|
|
7
7
|
import "../Button/ButtonDropdown.js";
|
|
8
8
|
import "../Button/ButtonDropdownExtended.js";
|
|
9
9
|
import { EButtonTheme as R } from "../Button/enums.js";
|
|
10
|
-
import { EComponentSize as
|
|
10
|
+
import { EComponentSize as c } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
12
|
-
import { a as j, c as _ } from "../../chunks/vendor-
|
|
13
|
-
const y = "
|
|
12
|
+
import { a as j, c as _ } from "../../chunks/vendor-9KVE23Ri.js";
|
|
13
|
+
const y = "spoiler__1b0b25b2", D = "opened__5c632c47", q = "caretIcon__0efe0fe0", A = "head__c9328c0e", G = "content__7f411aee", H = "hidden__9e333767", K = "lg__c4ecadca", $ = "md__f11f34bc", F = "sm__6afd5768", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,25 +21,25 @@ const y = "spoiler__15264a2f", D = "opened__998aeaab", q = "caretIcon__c89287da"
|
|
|
21
21
|
md: $,
|
|
22
22
|
sm: F
|
|
23
23
|
}, J = {
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
24
|
+
[c.SM]: /* @__PURE__ */ a(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
|
+
[c.MD]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
|
+
[c.LG]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon })
|
|
27
27
|
}, O = g(e), P = z.forwardRef((f, h) => {
|
|
28
28
|
const {
|
|
29
29
|
children: I,
|
|
30
|
-
expanded:
|
|
30
|
+
expanded: s,
|
|
31
31
|
onToggle: o,
|
|
32
|
-
toggle:
|
|
32
|
+
toggle: n,
|
|
33
33
|
className: x,
|
|
34
34
|
labelExpand: S,
|
|
35
35
|
labelCollapse: u,
|
|
36
36
|
rightBlock: N,
|
|
37
|
-
size: r =
|
|
38
|
-
...
|
|
39
|
-
} = f, d =
|
|
37
|
+
size: r = c.MD,
|
|
38
|
+
...C
|
|
39
|
+
} = f, d = s !== void 0, [b, v] = T(s), t = d ? s : b, m = E(`Spoiler-${j()}`), M = w(() => {
|
|
40
40
|
const i = !t;
|
|
41
|
-
d ?
|
|
42
|
-
}, [d,
|
|
41
|
+
d ? n == null || n(i) : v(i), o == null || o(i);
|
|
42
|
+
}, [d, n, t, o]), k = _(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
45
45
|
{
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__15264a2f", D = "opened__998aeaab", q = "caretIcon__c89287da"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...C, className: k, "data-tx": "1.5.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__15264a2f", D = "opened__998aeaab", q = "caretIcon__c89287da"
|
|
|
65
65
|
),
|
|
66
66
|
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ a("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: I })
|
|
69
69
|
] });
|
|
70
70
|
});
|
|
71
71
|
P.displayName = "Spoiler";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
|
-
import { c as a } from "../../chunks/vendor-
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
3
|
+
import { c as a } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-DetC6Udk.js";
|
|
5
5
|
import { EStatusTrackerType as t, EVerticalAlign as o } from "./enums.js";
|
|
6
6
|
import { StatusTrackerMedia as u } from "./components/StatusTrackerMedia.js";
|
|
7
7
|
import { StatusTrackerHeader as f } 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.5.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, g[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-9KVE23Ri.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-DetC6Udk.js";
|
|
7
7
|
import "../../Typography/Title.js";
|
|
8
8
|
import { Text as c } from "../../Typography/Text.js";
|
|
9
9
|
import "../../Typography/Caption.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-9KVE23Ri.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-DetC6Udk.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
|
-
import { c as a } from "../../../chunks/vendor-
|
|
3
|
-
import { s as c } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { s as c } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
|
|
4
4
|
import { Button as e } 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-9KVE23Ri.js";
|
|
3
3
|
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-DetC6Udk.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-9KVE23Ri.js";
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-DetC6Udk.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-9KVE23Ri.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-DetC6Udk.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-9KVE23Ri.js";
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-DetC6Udk.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-9KVE23Ri.js";
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-DetC6Udk.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-9KVE23Ri.js";
|
|
3
3
|
import { Title as i } from "../../Typography/Title.js";
|
|
4
4
|
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-DetC6Udk.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-9KVE23Ri.js";
|
|
3
3
|
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-DetC6Udk.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 D, ETextSize as N } from "../Typography/enums.js";
|
|
10
|
+
import { c as A } from "../../chunks/vendor-9KVE23Ri.js";
|
|
11
|
+
const R = "step__5a55b579", b = "done__13ee1e4f", x = "warning__af3b18cc", h = "active__00d6288c", v = "error__a4f5a4ba", w = "disabled__00d3e95f", t = {
|
|
12
|
+
step: R,
|
|
13
|
+
default: "default__5d80d639",
|
|
14
|
+
done: b,
|
|
15
15
|
warning: x,
|
|
16
16
|
active: h,
|
|
17
17
|
error: v,
|
|
@@ -35,7 +35,7 @@ const A = "step__8a2b79f6", R = "done__3fc8c503", x = "warning__d6aeb6f5", h = "
|
|
|
35
35
|
position: f = e.Default,
|
|
36
36
|
...m
|
|
37
37
|
}) => {
|
|
38
|
-
const l = u(null), T = y[f], E =
|
|
38
|
+
const l = u(null), T = y[f], E = A(t.step, L[d], s), c = () => /* @__PURE__ */ i("div", { ref: l, className: E, ...m, children: /* @__PURE__ */ i(S, { size: N.B1, weight: D.SEMIBOLD, children: p }) });
|
|
39
39
|
return r ? /* @__PURE__ */ g(a, { size: _.SM, toggleType: "hover", alignTip: T, targetRef: l, children: [
|
|
40
40
|
/* @__PURE__ */ i(a.Target, { children: c() }),
|
|
41
41
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { StepperExtended as
|
|
4
|
-
import { StepperWrapper as
|
|
5
|
-
import { StepperStep as
|
|
6
|
-
import { CarouselExtended as
|
|
7
|
-
import { ButtonIcon as
|
|
8
|
-
import { CaretrightStrokeSrvIcon24 as
|
|
9
|
-
import { EScreenWidth as
|
|
10
|
-
import { scrollSmoothHorizontally as
|
|
11
|
-
import { c as i } from "../../chunks/vendor-
|
|
12
|
-
import { EStepperSize as
|
|
13
|
-
const
|
|
14
|
-
stepper:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
switch (
|
|
23
|
-
case
|
|
2
|
+
import { useState as G, useRef as v, useEffect as C } from "react";
|
|
3
|
+
import { StepperExtended as _ } from "./StepperExtended.js";
|
|
4
|
+
import { StepperWrapper as H } from "./StepperWrapper.js";
|
|
5
|
+
import { StepperStep as X } from "./StepperStep.js";
|
|
6
|
+
import { CarouselExtended as $ } from "../CarouselExtended/CarouselExtended.js";
|
|
7
|
+
import { ButtonIcon as R } from "../Button/ButtonIcon.js";
|
|
8
|
+
import { CaretrightStrokeSrvIcon24 as q, CaretleftStrokeSrvIcon24 as F } from "@sberbusiness/icons-next";
|
|
9
|
+
import { EScreenWidth as J } from "../../helpers/breakpoints.js";
|
|
10
|
+
import { scrollSmoothHorizontally as S } from "../../utils/scroll.js";
|
|
11
|
+
import { c as i } from "../../chunks/vendor-9KVE23Ri.js";
|
|
12
|
+
import { EStepperSize as a } from "./enums.js";
|
|
13
|
+
const K = "stepper__94ad66fb", O = "sm__8b29a980", Q = "md__8ab08d06", T = "lg__e25e45ca", U = "stepperCarousel__be926ce2", V = "buttonPrev__0ae5084c", Y = "buttonNext__5f7946bf", n = {
|
|
14
|
+
stepper: K,
|
|
15
|
+
sm: O,
|
|
16
|
+
md: Q,
|
|
17
|
+
lg: T,
|
|
18
|
+
stepperCarousel: U,
|
|
19
|
+
buttonPrev: V,
|
|
20
|
+
buttonNext: Y
|
|
21
|
+
}, p = (m) => {
|
|
22
|
+
switch (m) {
|
|
23
|
+
case a.LG:
|
|
24
24
|
return n.lg;
|
|
25
|
-
case
|
|
25
|
+
case a.MD:
|
|
26
26
|
return n.md;
|
|
27
|
-
case
|
|
27
|
+
case a.SM:
|
|
28
28
|
return n.sm;
|
|
29
29
|
}
|
|
30
30
|
}, P = ({
|
|
31
|
-
className:
|
|
32
|
-
steps:
|
|
33
|
-
size:
|
|
34
|
-
selectedStepId:
|
|
31
|
+
className: m,
|
|
32
|
+
steps: h,
|
|
33
|
+
size: c = a.SM,
|
|
34
|
+
selectedStepId: l,
|
|
35
35
|
...E
|
|
36
36
|
}) => {
|
|
37
|
-
const [
|
|
38
|
-
|
|
37
|
+
const [b, w] = G({ stepNext: 0, stepPrev: 0 }), u = v(null), x = v({}), B = i(n.stepper, p(c), m), M = h.findIndex((e) => e.id === l), I = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
|
|
38
|
+
R,
|
|
39
39
|
{
|
|
40
|
-
className: i(n.buttonPrev,
|
|
40
|
+
className: i(n.buttonPrev, p(c)),
|
|
41
41
|
...t,
|
|
42
42
|
"aria-label": "Прокрутить назад",
|
|
43
|
-
children: /* @__PURE__ */ s(
|
|
43
|
+
children: /* @__PURE__ */ s(F, { className: i(n.buttonPrevIcon), paletteIndex: 5 })
|
|
44
44
|
}
|
|
45
45
|
), W = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
|
|
46
|
-
|
|
46
|
+
R,
|
|
47
47
|
{
|
|
48
|
-
className: i(n.buttonNext,
|
|
48
|
+
className: i(n.buttonNext, p(c)),
|
|
49
49
|
...t,
|
|
50
50
|
"aria-label": "Прокрутить вперёд",
|
|
51
|
-
children: /* @__PURE__ */ s(
|
|
51
|
+
children: /* @__PURE__ */ s(q, { className: i(n.buttonNextIcon), paletteIndex: 5 })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
|
-
|
|
55
|
-
const { current: e } =
|
|
54
|
+
C(() => {
|
|
55
|
+
const { current: e } = u;
|
|
56
56
|
if (e) {
|
|
57
57
|
const t = e.getBoundingClientRect().width * 0.3;
|
|
58
58
|
w({ stepNext: t, stepPrev: t });
|
|
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:
|
|
69
|
-
window.matchMedia(`(max-width: ${
|
|
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
|
-
return
|
|
72
|
-
if (
|
|
73
|
-
const { current: e } =
|
|
71
|
+
return C(() => {
|
|
72
|
+
if (l) {
|
|
73
|
+
const { current: e } = u, t = x.current[l];
|
|
74
74
|
e && t && A(e, t);
|
|
75
75
|
}
|
|
76
|
-
}, [
|
|
77
|
-
|
|
76
|
+
}, [l]), /* @__PURE__ */ s(
|
|
77
|
+
$,
|
|
78
78
|
{
|
|
79
|
-
className: i(n.stepperCarousel),
|
|
79
|
+
className: i(n.stepperCarousel, p(c)),
|
|
80
80
|
buttonPrev: I,
|
|
81
81
|
buttonNext: W,
|
|
82
|
-
stepPrev:
|
|
83
|
-
stepNext:
|
|
84
|
-
ref:
|
|
85
|
-
children: /* @__PURE__ */ s(
|
|
86
|
-
|
|
82
|
+
stepPrev: b.stepPrev,
|
|
83
|
+
stepNext: b.stepNext,
|
|
84
|
+
ref: u,
|
|
85
|
+
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size: c, ...E, children: h.map(({ label: e, ...t }, r) => /* @__PURE__ */ s(
|
|
86
|
+
_.Step,
|
|
87
87
|
{
|
|
88
|
-
forwardedRef: (o) =>
|
|
88
|
+
forwardedRef: (o) => x.current[t.id] = o,
|
|
89
89
|
...t,
|
|
90
90
|
isInActiveStep: r > M,
|
|
91
91
|
children: e
|
|
@@ -95,8 +95,8 @@ const J = "stepper__c10ca561", K = "stepperCarousel__0ecc2c7b", O = "buttonPrev_
|
|
|
95
95
|
}
|
|
96
96
|
);
|
|
97
97
|
};
|
|
98
|
-
P.Wrapper =
|
|
99
|
-
P.Step =
|
|
98
|
+
P.Wrapper = H;
|
|
99
|
+
P.Step = X;
|
|
100
100
|
export {
|
|
101
101
|
P as Stepper
|
|
102
102
|
};
|
|
@@ -3,8 +3,8 @@ import { EStepperSize as a } from "./enums.js";
|
|
|
3
3
|
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
|
-
import { c as E } from "../../chunks/vendor-
|
|
7
|
-
const b = "
|
|
6
|
+
import { c as E } from "../../chunks/vendor-9KVE23Ri.js";
|
|
7
|
+
const b = "stepperExtended__4b848bf0", h = {
|
|
8
8
|
stepperExtended: b
|
|
9
9
|
}, t = ({
|
|
10
10
|
children: r,
|
|
@@ -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-9KVE23Ri.js";
|
|
8
|
+
import { s as t, R as F } from "../../chunks/RightBorderArrow-Co_RT8lZ.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.5.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 c = "
|
|
2
|
+
import { c as a } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
const c = "stepperWrapper__7bf77bc7", o = {
|
|
4
4
|
stepperWrapper: c
|
|
5
5
|
}, W = ({ children: p, className: r, ...e }) => {
|
|
6
6
|
const s = a(o.stepperWrapper, r);
|
|
7
|
-
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.5.0", children: p });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
W as StepperWrapper
|
|
@@ -5,7 +5,7 @@ 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-SqymKZn5.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__4b6bccca", z = "suggestDropdownMobileNoOptionsText__10ee8dd1", m = {
|
|
24
24
|
suggestDropdownMobileBody: k,
|
|
25
25
|
suggestDropdownMobileNoOptionsText: z
|
|
26
26
|
}, po = () => {
|
|
@@ -31,13 +31,13 @@ const k = "suggestDropdownMobileBody__a090dc85", z = "suggestDropdownMobileNoOpt
|
|
|
31
31
|
placeholder: g,
|
|
32
32
|
noOptionsText: u,
|
|
33
33
|
loading: a,
|
|
34
|
-
clearInputOnFocus:
|
|
35
|
-
dropdownListLoading:
|
|
36
|
-
onSelect:
|
|
34
|
+
clearInputOnFocus: p,
|
|
35
|
+
dropdownListLoading: b,
|
|
36
|
+
onSelect: w,
|
|
37
37
|
onFilter: t,
|
|
38
38
|
onScrollEnd: l,
|
|
39
|
-
closeDropdown:
|
|
40
|
-
} = F(),
|
|
39
|
+
closeDropdown: d
|
|
40
|
+
} = F(), D = B(null), f = r(
|
|
41
41
|
(o) => {
|
|
42
42
|
if (l === void 0)
|
|
43
43
|
return;
|
|
@@ -45,14 +45,14 @@ const k = "suggestDropdownMobileBody__a090dc85", z = "suggestDropdownMobileNoOpt
|
|
|
45
45
|
y - C === T && l();
|
|
46
46
|
},
|
|
47
47
|
[l]
|
|
48
|
-
), h = r(() =>
|
|
48
|
+
), h = r(() => d(), [d]), M = r(
|
|
49
49
|
(o) => {
|
|
50
50
|
t(o.target.value);
|
|
51
51
|
},
|
|
52
52
|
[t]
|
|
53
53
|
), x = r(() => {
|
|
54
|
-
i.length !== 0 &&
|
|
55
|
-
}, [i.length,
|
|
54
|
+
i.length !== 0 && p === !0 && t("");
|
|
55
|
+
}, [i.length, p, t]);
|
|
56
56
|
return /* @__PURE__ */ c(S, { children: [
|
|
57
57
|
/* @__PURE__ */ c(O, { closeButton: () => /* @__PURE__ */ e(N, { onClick: h }), children: [
|
|
58
58
|
/* @__PURE__ */ e(
|
|
@@ -67,7 +67,7 @@ const k = "suggestDropdownMobileBody__a090dc85", z = "suggestDropdownMobileNoOpt
|
|
|
67
67
|
),
|
|
68
68
|
a && /* @__PURE__ */ e(v, {})
|
|
69
69
|
] }),
|
|
70
|
-
/* @__PURE__ */ e(I, { className: m.suggestDropdownMobileBody, onScroll:
|
|
70
|
+
/* @__PURE__ */ e(I, { className: m.suggestDropdownMobileBody, onScroll: f, children: s.length === 0 ? /* @__PURE__ */ e(
|
|
71
71
|
E,
|
|
72
72
|
{
|
|
73
73
|
className: m.suggestDropdownMobileNoOptionsText,
|
|
@@ -76,13 +76,13 @@ const k = "suggestDropdownMobileBody__a090dc85", z = "suggestDropdownMobileNoOpt
|
|
|
76
76
|
tag: "div",
|
|
77
77
|
children: u
|
|
78
78
|
}
|
|
79
|
-
) : /* @__PURE__ */ e(R, { loading:
|
|
79
|
+
) : /* @__PURE__ */ e(R, { loading: b, ref: D, children: s.map((o) => /* @__PURE__ */ e(
|
|
80
80
|
_,
|
|
81
81
|
{
|
|
82
82
|
id: o.id,
|
|
83
83
|
selected: o.id === (n == null ? void 0 : n.id),
|
|
84
84
|
onSelect: () => {
|
|
85
|
-
|
|
85
|
+
w(o);
|
|
86
86
|
},
|
|
87
87
|
children: o.content || o.label
|
|
88
88
|
},
|
|
@@ -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-nZwpz9Eo.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";
|
|
@@ -5,7 +5,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
5
5
|
import { FormFieldLabel as p } from "../FormField/components/FormFieldLabel.js";
|
|
6
6
|
import "../FormField/components/FormFieldClear.js";
|
|
7
7
|
import "../FormField/components/FormFieldTarget.js";
|
|
8
|
-
import { F as d } from "../../chunks/FormFieldInput-
|
|
8
|
+
import { F as d } from "../../chunks/FormFieldInput-BSxKZxcq.js";
|
|
9
9
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
10
10
|
import "../FormField/components/FormFieldPostfix.js";
|
|
11
11
|
import { FormFieldPrefix as l } from "../FormField/components/FormFieldPrefix.js";
|
|
@@ -6,7 +6,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
6
6
|
import "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldClear as f } from "../FormField/components/FormFieldClear.js";
|
|
8
8
|
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
-
import "../../chunks/FormFieldInput-
|
|
9
|
+
import "../../chunks/FormFieldInput-BSxKZxcq.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import { FormFieldPostfix as d } from "../FormField/components/FormFieldPostfix.js";
|
|
12
12
|
import "../FormField/components/FormFieldPrefix.js";
|