@sberbusiness/triplex-next 1.25.0 → 1.26.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-Boz5enko.js +41 -0
- package/chunks/{CalendarViewItem-D-POWd2-.js → CalendarViewItem-DHFLturD.js} +13 -13
- package/chunks/Card.module-Bn676gKC.js +17 -0
- package/chunks/CheckboxTreeExtended.module-QbHPuClH.js +15 -0
- package/chunks/{Chip-DTIbYTEg.js → Chip-Di8g8Z6j.js} +19 -19
- package/chunks/Confirm.module-b8ZTqcR2.js +15 -0
- package/chunks/{DropdownListItem-DEiNYa7V.js → DropdownListItem-CjZLy9zZ.js} +16 -16
- package/chunks/DropdownMobile.module-B2yaydF-.js +23 -0
- package/chunks/Footer.module-DlTuw8bG.js +9 -0
- package/chunks/{FormFieldInput-DtYGQ_bi.js → FormFieldInput-C2TczHnQ.js} +29 -29
- package/chunks/HeaderLayoutSidebar.module-BR0oblQF.js +9 -0
- package/chunks/HeaderTabs.module-D88xeP19.js +9 -0
- package/chunks/{HeaderTitle.module-C31ELKBY.js → HeaderTitle.module-BdAYtCP5.js} +2 -2
- package/chunks/IslandAccordion.module-CbGSbbl6.js +25 -0
- package/chunks/IslandWidgetFooter.module-DzcObfJV.js +9 -0
- package/chunks/IslandWidgetHeader.module-_sYg-PBp.js +12 -0
- package/chunks/{LightBoxContent-9gb9WiYK.js → LightBoxContent-B8dwsZcd.js} +8 -8
- package/chunks/LightBoxControls.module-DHrZ8-M9.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CgO3NViT.js +9 -0
- package/chunks/{ListItemControlsButton-DYBfA1gz.js → ListItemControlsButton-DjUxcey4.js} +11 -11
- package/chunks/ListItemTail.module-CIBEtGa9.js +12 -0
- package/chunks/ListMasterFooter.module-DDv57q5J.js +10 -0
- package/chunks/ModalWindow.module-Cek3j-PN.js +17 -0
- package/chunks/Notification.module-BWxDmBI2.js +20 -0
- package/chunks/Overlay.module-CUZKmhvQ.js +18 -0
- package/chunks/Page.module-BD0MsbnW.js +11 -0
- package/chunks/SMSField.module-B6sFmN1l.js +16 -0
- package/chunks/SliderExtendedMarks.module-jwnpPZXf.js +15 -0
- package/chunks/SliderExtendedRail-BYK2Vyz9.js +40 -0
- package/chunks/StatusTracker.module-DQI30fwP.js +24 -0
- package/chunks/StepperStepArrowBorder-CHpL6Q5q.js +101 -0
- package/chunks/SuggestFieldMobileDropdownHint-BpAuE0ir.js +15 -0
- package/chunks/TableFooter.module-DB3LfuRN.js +14 -0
- package/chunks/TabsExtended.module-DbTk0iCS.js +16 -0
- package/chunks/TabsLine.module-D3zxaGjs.js +21 -0
- package/chunks/TooltipDesktop.module-BTHsU4ca.js +19 -0
- package/chunks/TreeView.module-BXHaAGRo.js +9 -0
- package/chunks/{UploadZoneInput-CUKt0mmY.js → UploadZoneInput-qDtiZYmT.js} +5 -5
- package/chunks/{constants-CmdvDG7U.js → constants-CtrvWwDT.js} +8 -8
- package/chunks/{utils-B8JwCW07.js → utils-4uYqfVa-.js} +4 -4
- package/chunks/{utils-DILds0zQ.js → utils-BYHIu3S4.js} +4 -4
- package/chunks/{utils-D0TxmRz_.js → utils-CqjXJ4Td.js} +8 -8
- package/chunks/utils-DhWCXYI8.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +25 -25
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +11 -11
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +6 -6
- package/components/Badge/Badge.js +13 -13
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +15 -15
- package/components/Badge/components/BadgePostfix.js +1 -1
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +22 -22
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +5 -5
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +23 -23
- 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 +14 -14
- package/components/Checkbox/CheckboxXGroup.js +9 -9
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +10 -10
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +28 -27
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +76 -66
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +142 -142
- package/components/CollapsableTree/components/CollapsableTreeNode.js +15 -15
- 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 +11 -11
- package/components/DateRange/DateRange.js +23 -23
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +7 -7
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +5 -5
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +2 -2
- package/components/EmptyView/EmptyView.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +9 -9
- 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 +20 -20
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +13 -13
- package/components/FormField/components/FormFieldMaskedInput.js +18 -18
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +10 -10
- package/components/FormField/components/FormFieldTextarea.js +18 -18
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +7 -7
- 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 +1 -1
- package/components/IconWrapper/IconWrapper.js +11 -11
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +14 -14
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +10 -10
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +16 -16
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +10 -10
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +14 -14
- package/components/Link/Link.js +18 -18
- package/components/List/List.js +3 -3
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- 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 +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +9 -9
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearFieldTarget.js +14 -13
- package/components/MonthYearRange/MonthYearRange.js +76 -0
- package/components/MonthYearRange/enums.js +5 -0
- package/components/MonthYearRange/index.js +7 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- 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/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +11 -11
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +14 -14
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +4 -4
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +16 -16
- package/components/SelectExtendedField/SelectExtendedField.js +4 -4
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +14 -14
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +20 -20
- 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 +12 -12
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +8 -8
- 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 +8 -8
- package/components/Stepper/Stepper.js +104 -89
- package/components/Stepper/StepperExtended.js +22 -20
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +62 -63
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +58 -58
- 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 +19 -19
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +8 -8
- package/components/Table/NoColumns.js +5 -5
- 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 +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- 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 +6 -6
- 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 +4 -4
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +25 -25
- package/components/TagColor/TagColor.js +14 -14
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +12 -12
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +3 -3
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +1 -1
- package/components/TopOverlay/TopOverlay.js +5 -5
- 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 +25 -25
- package/components/Typography/CodeText.js +2 -2
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +24 -24
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +8 -8
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +299 -294
- package/index.d.ts +56 -22
- package/index.js +329 -324
- package/package.json +6 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-B46jKfAb.js +0 -41
- package/chunks/Card.module-CncHGyjC.js +0 -17
- package/chunks/CheckboxTreeExtended.module-B1Kgd0nu.js +0 -15
- package/chunks/Confirm.module-EXbF7o_5.js +0 -15
- package/chunks/DropdownMobile.module-BoKjV5kN.js +0 -23
- package/chunks/Footer.module-DZkZf8cZ.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DgEDu6U2.js +0 -9
- package/chunks/HeaderTabs.module-BepwFanR.js +0 -9
- package/chunks/IslandAccordion.module-rpYHTG9-.js +0 -25
- package/chunks/IslandWidgetFooter.module-CGX_gIzr.js +0 -9
- package/chunks/IslandWidgetHeader.module-CBRjot0L.js +0 -12
- package/chunks/LightBoxControls.module-DW8BGlP2.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DfPgpuEZ.js +0 -9
- package/chunks/ListItemTail.module-BaV7s4hM.js +0 -12
- package/chunks/ListMasterFooter.module-DJ5zh4gk.js +0 -10
- package/chunks/ModalWindow.module-CBYym922.js +0 -17
- package/chunks/Notification.module-DxdRS8Y5.js +0 -20
- package/chunks/Overlay.module-BNFZ_rbt.js +0 -18
- package/chunks/Page.module-C50cd0OD.js +0 -11
- package/chunks/RightBorderArrow-BDD4mS5-.js +0 -146
- package/chunks/SMSField.module-C20gqTPw.js +0 -16
- package/chunks/SliderExtendedMarks.module-CsyPT1yp.js +0 -15
- package/chunks/SliderExtendedRail-D5G6Gddu.js +0 -40
- package/chunks/StatusTracker.module-Dn-2MvTp.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-Bl-fHUU9.js +0 -15
- package/chunks/TableFooter.module-CVe7H3F5.js +0 -14
- package/chunks/TabsExtended.module-DAVeemgZ.js +0 -16
- package/chunks/TabsLine.module-DpFaqhk4.js +0 -21
- package/chunks/TooltipDesktop.module-OpglHVA8.js +0 -19
- package/chunks/TreeView.module-D0XjOCzq.js +0 -9
- package/chunks/utils-iU8-da0U.js +0 -24
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -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-DudMBGKr.js";
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-DQI30fwP.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.26.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-DudMBGKr.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-DQI30fwP.js";
|
|
7
7
|
import { ETextSize as c, EFontType as a } from "../../Typography/enums.js";
|
|
8
8
|
import "../../Typography/Caption.js";
|
|
9
9
|
import "../../Typography/CodeText.js";
|
|
@@ -3,7 +3,7 @@ import e from "react";
|
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-DudMBGKr.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-DQI30fwP.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
e.forwardRef(function({ children: t, className: r, ...a }, s) {
|
|
9
9
|
return /* @__PURE__ */ o("div", { className: m(u.statusTrackerChild, r), ...a, ref: s, children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as m } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as a } from "../../../chunks/StatusTracker.module-DQI30fwP.js";
|
|
4
4
|
import { Button as p } from "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
6
6
|
import "../../Button/ButtonIcon.js";
|
|
@@ -5,7 +5,7 @@ import "../../Typography/Caption.js";
|
|
|
5
5
|
import "../../Typography/CodeText.js";
|
|
6
6
|
import { Text as c } from "../../Typography/Text.js";
|
|
7
7
|
import "../../Typography/Title.js";
|
|
8
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
8
|
+
import { s as a } from "../../../chunks/StatusTracker.module-DQI30fwP.js";
|
|
9
9
|
const E = (r) => {
|
|
10
10
|
const { children: t, className: s, ...o } = r;
|
|
11
11
|
return /* @__PURE__ */ e(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
3
|
import { c as i } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-DQI30fwP.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-DudMBGKr.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-DQI30fwP.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-DudMBGKr.js";
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-DQI30fwP.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-DudMBGKr.js";
|
|
3
|
-
import { s as m } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-DQI30fwP.js";
|
|
4
4
|
import { MarkerStatus as c } from "../../MarkerStatus/MarkerStatus.js";
|
|
5
5
|
const f = (s) => {
|
|
6
6
|
const { children: t, className: r, ...a } = s;
|
|
@@ -6,7 +6,7 @@ import "../../Typography/CodeText.js";
|
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
import { Title as a } from "../../Typography/Title.js";
|
|
8
8
|
import { Amount as c } from "../../Amount/Amount.js";
|
|
9
|
-
import { s as l } from "../../../chunks/StatusTracker.module-
|
|
9
|
+
import { s as l } from "../../../chunks/StatusTracker.module-DQI30fwP.js";
|
|
10
10
|
const k = (r) => {
|
|
11
11
|
const { className: o, amountProps: m, ...s } = r;
|
|
12
12
|
return /* @__PURE__ */ t(
|
|
@@ -5,7 +5,7 @@ import "../../Typography/Caption.js";
|
|
|
5
5
|
import "../../Typography/CodeText.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
import { Title as l } from "../../Typography/Title.js";
|
|
8
|
-
import { s as c } from "../../../chunks/StatusTracker.module-
|
|
8
|
+
import { s as c } from "../../../chunks/StatusTracker.module-DQI30fwP.js";
|
|
9
9
|
const k = (t) => {
|
|
10
10
|
const { children: r, className: e, ...i } = t;
|
|
11
11
|
return /* @__PURE__ */ s(
|
package/components/Step/Step.js
CHANGED
|
@@ -9,9 +9,9 @@ import "../Typography/CodeText.js";
|
|
|
9
9
|
import { Text as N } from "../Typography/Text.js";
|
|
10
10
|
import "../Typography/Title.js";
|
|
11
11
|
import { c as A } from "../../chunks/vendor-DudMBGKr.js";
|
|
12
|
-
const R = "
|
|
12
|
+
const R = "step__320e5d42", x = "done__b5d4912e", b = "warning__da1ff5a9", h = "active__3a78b995", v = "error__1038ec52", w = "disabled__d761e804", t = {
|
|
13
13
|
step: R,
|
|
14
|
-
default: "
|
|
14
|
+
default: "default__28268aa9",
|
|
15
15
|
done: x,
|
|
16
16
|
warning: b,
|
|
17
17
|
active: h,
|
|
@@ -31,16 +31,16 @@ const R = "step__aa77be9f", x = "done__d8c73a85", b = "warning__8585f9ce", h = "
|
|
|
31
31
|
}, U = (r, s) => s === 0 ? e.XFirst : s + 1 === r ? e.XLast : e.Default, z = ({
|
|
32
32
|
children: r,
|
|
33
33
|
className: s,
|
|
34
|
-
step:
|
|
34
|
+
step: c,
|
|
35
35
|
status: d,
|
|
36
|
-
position:
|
|
37
|
-
...
|
|
36
|
+
position: m = e.Default,
|
|
37
|
+
...f
|
|
38
38
|
}) => {
|
|
39
|
-
const l = u(null), T = y[
|
|
39
|
+
const l = u(null), T = y[m], E = A(t.step, L[d], s), p = () => /* @__PURE__ */ i("div", { ref: l, className: E, ...f, children: /* @__PURE__ */ i(N, { size: D.B1, weight: S.SEMIBOLD, children: c }) });
|
|
40
40
|
return r ? /* @__PURE__ */ g(a, { size: _.SM, toggleType: "hover", alignTip: T, targetRef: l, children: [
|
|
41
|
-
/* @__PURE__ */ i(a.Target, { children:
|
|
41
|
+
/* @__PURE__ */ i(a.Target, { children: p() }),
|
|
42
42
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
43
|
-
] }) :
|
|
43
|
+
] }) : p();
|
|
44
44
|
};
|
|
45
45
|
z.displayName = "Step";
|
|
46
46
|
export {
|
|
@@ -1,103 +1,118 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { scrollSmoothHorizontally as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
}, P = ({
|
|
31
|
-
className: m,
|
|
32
|
-
steps: b,
|
|
33
|
-
size: c = a.SM,
|
|
34
|
-
selectedStepId: l,
|
|
35
|
-
...E
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as A, useRef as b, useCallback as p, useEffect as w } from "react";
|
|
3
|
+
import { c as l } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { CaretleftStrokeSrvIcon24 as y, CaretrightStrokeSrvIcon24 as j } from "@sberbusiness/icons-next";
|
|
5
|
+
import { CarouselExtended as z } from "../CarouselExtended/CarouselExtended.js";
|
|
6
|
+
import { ButtonIcon as E } from "../Button/ButtonIcon.js";
|
|
7
|
+
import { StepperExtended as W } from "./StepperExtended.js";
|
|
8
|
+
import { StepperStep as G } from "./StepperStep.js";
|
|
9
|
+
import { createSizeToClassNameMap as H } from "../../utils/classNameMaps.js";
|
|
10
|
+
import { scrollSmoothHorizontally as h } from "../../utils/scroll.js";
|
|
11
|
+
import { EComponentSize as X } from "../../enums/EComponentSize.js";
|
|
12
|
+
import { EScreenWidth as $ } from "../../helpers/breakpoints.js";
|
|
13
|
+
import "./enums.js";
|
|
14
|
+
const q = "stepperCarousel__c8ee695c", D = "stepperButtonWrapper__0e2df55e", F = "prev__03e5e532", J = "next__cf6c9432", K = "stepperButton__0d828f0a", Q = "sm__87680fd7", U = "md__51fa40a2", V = "lg__f08681f9", s = {
|
|
15
|
+
stepperCarousel: q,
|
|
16
|
+
stepperButtonWrapper: D,
|
|
17
|
+
prev: F,
|
|
18
|
+
next: J,
|
|
19
|
+
stepperButton: K,
|
|
20
|
+
sm: Q,
|
|
21
|
+
md: U,
|
|
22
|
+
lg: V
|
|
23
|
+
}, g = H(s), Y = 0.3, Z = ({
|
|
24
|
+
className: I,
|
|
25
|
+
steps: S,
|
|
26
|
+
size: i = X.LG,
|
|
27
|
+
selectedStepId: c,
|
|
28
|
+
...M
|
|
36
29
|
}) => {
|
|
37
|
-
const [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
30
|
+
const [x, P] = A({ stepNext: 0, stepPrev: 0 }), m = b(null), v = b({}), L = S.findIndex((t) => t.id === c), O = p(
|
|
31
|
+
({ hidden: t, ...e }) => t ? null : /* @__PURE__ */ n("div", { className: l(s.stepperButtonWrapper, s.prev), children: /* @__PURE__ */ n(
|
|
32
|
+
E,
|
|
33
|
+
{
|
|
34
|
+
className: l(s.stepperButton, g[i]),
|
|
35
|
+
tabIndex: -1,
|
|
36
|
+
...e,
|
|
37
|
+
children: /* @__PURE__ */ n(y, { paletteIndex: 5 })
|
|
38
|
+
}
|
|
39
|
+
) }),
|
|
40
|
+
[i]
|
|
41
|
+
), T = p(
|
|
42
|
+
({ hidden: t, ...e }) => t ? null : /* @__PURE__ */ n("div", { className: l(s.stepperButtonWrapper, s.next), children: /* @__PURE__ */ n(
|
|
43
|
+
E,
|
|
44
|
+
{
|
|
45
|
+
className: l(s.stepperButton, g[i]),
|
|
46
|
+
tabIndex: -1,
|
|
47
|
+
...e,
|
|
48
|
+
children: /* @__PURE__ */ n(j, { paletteIndex: 5 })
|
|
49
|
+
}
|
|
50
|
+
) }),
|
|
51
|
+
[i]
|
|
53
52
|
);
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
w(() => {
|
|
54
|
+
const t = m.current;
|
|
55
|
+
if (t === null)
|
|
56
|
+
return;
|
|
57
|
+
const e = new ResizeObserver((r) => {
|
|
58
|
+
const a = r[0].contentRect.width * Y;
|
|
59
|
+
P({
|
|
60
|
+
stepNext: a,
|
|
61
|
+
stepPrev: a
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
return e.observe(t), () => {
|
|
65
|
+
e.disconnect();
|
|
66
|
+
};
|
|
60
67
|
}, []);
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
68
|
+
const C = p(
|
|
69
|
+
(t, e, r, o) => {
|
|
70
|
+
r > 0 && (e.nextElementSibling && (r -= o - e.nextElementSibling.getBoundingClientRect().right), h(t, Math.ceil(r)));
|
|
71
|
+
},
|
|
72
|
+
[]
|
|
73
|
+
), _ = p(
|
|
74
|
+
(t, e, r, o) => {
|
|
75
|
+
r < 0 && (e.previousElementSibling && (r -= o - e.previousElementSibling.getBoundingClientRect().left), h(t, Math.floor(r)));
|
|
76
|
+
},
|
|
77
|
+
[]
|
|
78
|
+
), B = p((t, e) => {
|
|
79
|
+
e && h(t, e);
|
|
80
|
+
}, []), R = p(
|
|
81
|
+
(t, e) => {
|
|
82
|
+
const { left: r, right: o, width: a } = t.getBoundingClientRect(), { left: f, right: N, width: k } = e.getBoundingClientRect(), u = r + a / 2, d = f + k / 2;
|
|
83
|
+
window.matchMedia(`(max-width: ${$.SM_MAX})`).matches ? B(t, d - u) : u > d ? _(t, e, f - r, f) : u < d && C(t, e, N - o, N);
|
|
84
|
+
},
|
|
85
|
+
[B, _, C]
|
|
86
|
+
);
|
|
87
|
+
return w(() => {
|
|
88
|
+
if (c) {
|
|
89
|
+
const { current: t } = m, e = v.current[c];
|
|
90
|
+
t && e && R(t, e);
|
|
75
91
|
}
|
|
76
|
-
}, [
|
|
77
|
-
|
|
92
|
+
}, [c, R]), /* @__PURE__ */ n(
|
|
93
|
+
z,
|
|
78
94
|
{
|
|
79
|
-
className:
|
|
80
|
-
buttonPrev:
|
|
81
|
-
buttonNext:
|
|
82
|
-
stepPrev:
|
|
83
|
-
stepNext:
|
|
84
|
-
ref:
|
|
85
|
-
children: /* @__PURE__ */
|
|
86
|
-
|
|
95
|
+
className: l(s.stepperCarousel, g[i], I),
|
|
96
|
+
buttonPrev: O,
|
|
97
|
+
buttonNext: T,
|
|
98
|
+
stepPrev: x.stepPrev,
|
|
99
|
+
stepNext: x.stepNext,
|
|
100
|
+
ref: m,
|
|
101
|
+
children: /* @__PURE__ */ n(W, { selectedStepId: c, size: i, ...M, children: S.map(({ label: t, ...e }, r) => /* @__PURE__ */ n(
|
|
102
|
+
W.Step,
|
|
87
103
|
{
|
|
88
|
-
forwardedRef: (o) =>
|
|
89
|
-
...
|
|
90
|
-
isInActiveStep: r >
|
|
91
|
-
children:
|
|
104
|
+
forwardedRef: (o) => v.current[e.id] = o,
|
|
105
|
+
...e,
|
|
106
|
+
isInActiveStep: r > L,
|
|
107
|
+
children: t
|
|
92
108
|
},
|
|
93
|
-
|
|
109
|
+
e.id
|
|
94
110
|
)) })
|
|
95
111
|
}
|
|
96
112
|
);
|
|
97
113
|
};
|
|
98
|
-
|
|
99
|
-
P.Step = X;
|
|
114
|
+
Z.Step = G;
|
|
100
115
|
export {
|
|
101
|
-
|
|
116
|
+
Z as Stepper
|
|
102
117
|
};
|
|
103
118
|
//# sourceMappingURL=Stepper.js.map
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { StepperWrapper as x } from "./StepperWrapper.js";
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as c } from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-DudMBGKr.js";
|
|
5
4
|
import { StepperStep as f } from "./StepperStep.js";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
import { StepperExtendedContext as i } from "./StepperExtendedContext.js";
|
|
6
|
+
import { EComponentSize as l } from "../../enums/EComponentSize.js";
|
|
7
|
+
const E = "stepperExtended__eb12aff6", u = {
|
|
8
|
+
stepperExtended: E
|
|
9
|
+
}, S = ({
|
|
10
|
+
children: p,
|
|
11
|
+
className: s,
|
|
12
|
+
size: e = l.LG,
|
|
13
|
+
onSelectStep: t,
|
|
14
|
+
selectedStepId: r,
|
|
15
|
+
forwardedRef: m,
|
|
16
|
+
...n
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
|
|
18
|
+
const d = a(u.stepperExtended, s), x = c(
|
|
19
|
+
() => ({ selectedId: r, size: e, onSelectStep: t }),
|
|
20
|
+
[r, e, t]
|
|
21
|
+
);
|
|
22
|
+
return /* @__PURE__ */ o(i.Provider, { value: x, children: /* @__PURE__ */ o("ol", { className: d, role: "tablist", ...n, ref: m, children: p }) });
|
|
20
23
|
};
|
|
21
|
-
|
|
22
|
-
t.Wrapper = x;
|
|
24
|
+
S.Step = f;
|
|
23
25
|
export {
|
|
24
|
-
|
|
26
|
+
S as StepperExtended
|
|
25
27
|
};
|
|
26
28
|
//# sourceMappingURL=StepperExtended.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
size: t.
|
|
2
|
+
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
3
|
+
const p = e.createContext({
|
|
4
|
+
size: t.LG,
|
|
5
|
+
selectedId: void 0,
|
|
5
6
|
onSelectStep: () => {
|
|
6
|
-
}
|
|
7
|
-
selectedId: void 0
|
|
7
|
+
}
|
|
8
8
|
});
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
p as StepperExtendedContext
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=StepperExtendedContext.js.map
|
|
@@ -1,86 +1,85 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as R, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as U, useState as V, useRef as k } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
3
|
+
import { c as q } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { StepperStepIcon as v } from "./StepperStepIcon.js";
|
|
5
|
+
import { createSizeToClassNameMap as F } from "../../utils/classNameMaps.js";
|
|
6
|
+
import { isKey as g } from "../../utils/keyboard.js";
|
|
7
|
+
import { StepperExtendedContext as H } from "./StepperExtendedContext.js";
|
|
8
|
+
import { EFocusSource as o } from "../../enums/EFocusSource.js";
|
|
9
|
+
import { EStepperStepType as y } from "./enums.js";
|
|
10
|
+
import { s as t, S as J } from "../../chunks/StepperStepArrowBorder-CHpL6Q5q.js";
|
|
11
|
+
import { IconWrapper as L } from "../IconWrapper/IconWrapper.js";
|
|
12
|
+
const Q = F(t), X = ({
|
|
13
|
+
children: N,
|
|
14
|
+
className: A,
|
|
15
|
+
id: s,
|
|
16
|
+
isInActiveStep: x,
|
|
17
|
+
onFocus: m,
|
|
18
|
+
onBlur: n,
|
|
19
|
+
onKeyDown: a,
|
|
20
|
+
onMouseDown: i,
|
|
21
|
+
onClick: f,
|
|
21
22
|
disabled: r,
|
|
22
|
-
icon:
|
|
23
|
-
forwardedRef:
|
|
24
|
-
type:
|
|
25
|
-
...
|
|
23
|
+
icon: h,
|
|
24
|
+
forwardedRef: c,
|
|
25
|
+
type: C,
|
|
26
|
+
...T
|
|
26
27
|
}) => {
|
|
27
|
-
const { selectedId:
|
|
28
|
-
|
|
28
|
+
const { selectedId: z, size: I, onSelectStep: S } = U(H), [l, u] = V(o.NONE), p = k(null), E = s === z, j = q(
|
|
29
|
+
t.stepperStep,
|
|
30
|
+
Q[I],
|
|
29
31
|
{
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[e.sm]: p === x.SM,
|
|
39
|
-
[e.md]: p === x.MD,
|
|
40
|
-
[e.lg]: p === x.LG
|
|
32
|
+
[t.active]: E,
|
|
33
|
+
[t.inactive]: x,
|
|
34
|
+
[t.completed]: !E && !x,
|
|
35
|
+
[t.disabled]: !!r,
|
|
36
|
+
[t.nonempty]: !!N,
|
|
37
|
+
[t.error]: !r && C === y.ERROR,
|
|
38
|
+
[t.warning]: !r && C === y.WARNING,
|
|
39
|
+
[t.focusVisible]: l === o.KEYBOARD
|
|
41
40
|
},
|
|
42
|
-
|
|
43
|
-
), W = (
|
|
44
|
-
!
|
|
45
|
-
}, Y = (
|
|
46
|
-
|
|
47
|
-
}, B = (
|
|
48
|
-
const O =
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
r ||
|
|
54
|
-
}, M = (
|
|
55
|
-
|
|
56
|
-
}, P = () => /* @__PURE__ */
|
|
57
|
-
return /* @__PURE__ */
|
|
41
|
+
A
|
|
42
|
+
), W = (e) => {
|
|
43
|
+
!l && p.current === e.target && u(o.KEYBOARD), m == null || m(e);
|
|
44
|
+
}, Y = (e) => {
|
|
45
|
+
p.current !== document.activeElement && p.current === e.target && u(o.NONE), n == null || n(e);
|
|
46
|
+
}, B = (e) => {
|
|
47
|
+
const O = e.code || e.keyCode;
|
|
48
|
+
g(O, "ENTER") ? r || S(s) : g(O, "SPACE") && (e.preventDefault(), r || S(s)), a == null || a(e);
|
|
49
|
+
}, G = (e) => {
|
|
50
|
+
l || u(o.MOUSE), i == null || i(e);
|
|
51
|
+
}, K = (e) => {
|
|
52
|
+
r || S(s), f == null || f(e);
|
|
53
|
+
}, M = (e) => {
|
|
54
|
+
p.current = e, typeof c == "function" ? c(e) : c && (c.current = e);
|
|
55
|
+
}, P = () => /* @__PURE__ */ d(L, { className: t.icon, disabled: !!r, children: h });
|
|
56
|
+
return /* @__PURE__ */ R(
|
|
58
57
|
"li",
|
|
59
58
|
{
|
|
60
|
-
className:
|
|
59
|
+
className: j,
|
|
61
60
|
onFocus: W,
|
|
62
61
|
onBlur: Y,
|
|
63
62
|
onKeyDown: B,
|
|
64
|
-
onMouseDown:
|
|
65
|
-
onClick:
|
|
63
|
+
onMouseDown: G,
|
|
64
|
+
onClick: K,
|
|
66
65
|
tabIndex: r ? -1 : 0,
|
|
67
66
|
"aria-disabled": r,
|
|
68
|
-
"aria-current":
|
|
67
|
+
"aria-current": E || void 0,
|
|
69
68
|
role: "button",
|
|
70
|
-
...
|
|
69
|
+
...T,
|
|
71
70
|
ref: M,
|
|
72
71
|
children: [
|
|
73
|
-
/* @__PURE__ */
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
/* @__PURE__ */ R("div", { className: t.content, "data-tx": "1.26.0", children: [
|
|
73
|
+
h && P(),
|
|
74
|
+
N
|
|
76
75
|
] }),
|
|
77
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ d(J, { size: I })
|
|
78
77
|
]
|
|
79
78
|
}
|
|
80
79
|
);
|
|
81
80
|
};
|
|
82
|
-
|
|
81
|
+
X.Icon = v;
|
|
83
82
|
export {
|
|
84
|
-
|
|
83
|
+
X as StepperStep
|
|
85
84
|
};
|
|
86
85
|
//# sourceMappingURL=StepperStep.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
var R = /* @__PURE__ */ ((r) => (r.
|
|
1
|
+
var R = /* @__PURE__ */ ((r) => (r.NEUTRAL = "neutral", r.ERROR = "error", r.WARNING = "warning", r))(R || {}), a = /* @__PURE__ */ ((r) => (r.FILLED = "filled", r.SUCCESS = "success", r.ERROR = "error", r.WARNING = "warning", r.WAIT = "wait", r))(a || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
a as EStepperStepType
|
|
3
|
+
a as EStepperStepIconType,
|
|
4
|
+
R as EStepperStepType
|
|
6
5
|
};
|
|
7
6
|
//# sourceMappingURL=enums.js.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Stepper as r } from "./Stepper.js";
|
|
2
|
-
import { StepperExtended as
|
|
3
|
-
import {
|
|
2
|
+
import { StepperExtended as o } from "./StepperExtended.js";
|
|
3
|
+
import { EStepperStepIconType as x, EStepperStepType as f } from "./enums.js";
|
|
4
4
|
export {
|
|
5
|
-
x as
|
|
6
|
-
E as EStepperStepIconType,
|
|
5
|
+
x as EStepperStepIconType,
|
|
7
6
|
f as EStepperStepType,
|
|
8
7
|
r as Stepper,
|
|
9
|
-
|
|
8
|
+
o as StepperExtended
|
|
10
9
|
};
|
|
11
10
|
//# sourceMappingURL=index.js.map
|