@sberbusiness/triplex-next 0.25.0 → 0.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-BjHTZKgZ.js +41 -0
- package/chunks/{CalendarViewItem-CQErGrhc.js → CalendarViewItem-BdyVWg8a.js} +20 -20
- package/chunks/Card.module-gPkzcCGo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BqmTzdxy.js +15 -0
- package/chunks/Chip-CuoqjaG4.js +77 -0
- package/chunks/Confirm.module-bXfHpEZY.js +15 -0
- package/chunks/{DropdownListItem-wT8cLRdZ.js → DropdownListItem-CRdOVwlq.js} +15 -15
- package/chunks/DropdownMobile.module-H5txYrQf.js +23 -0
- package/chunks/Footer.module-Dhevv5cy.js +9 -0
- package/chunks/{FormFieldInput-Dj2JAqj2.js → FormFieldInput-CyAOOwnJ.js} +6 -6
- package/chunks/HeaderLayoutSidebar.module-CqLx3F7A.js +9 -0
- package/chunks/HeaderTabs.module-BQHI-7dx.js +9 -0
- package/chunks/{HeaderTitle.module-SmVWml2y.js → HeaderTitle.module-BDZQCHuH.js} +2 -2
- package/chunks/IslandAccordion.module-ElAylnXP.js +25 -0
- package/chunks/IslandWidgetFooter.module-km-5hDpn.js +9 -0
- package/chunks/IslandWidgetHeader.module-DZJujJ9z.js +12 -0
- package/chunks/{LightBoxContent-DlDaCKV4.js → LightBoxContent-Bp6XRgdB.js} +9 -9
- package/chunks/LightBoxControls.module-Dp8lh2Rg.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DDGxczL0.js +9 -0
- package/chunks/{ListItemControlsButton-UKjqQcv7.js → ListItemControlsButton-PANaJdYf.js} +8 -8
- package/chunks/ListItemTail.module-BKP1QEpv.js +12 -0
- package/chunks/ListMasterFooter.module-D1BeGub8.js +10 -0
- package/chunks/ModalWindow.module-PJk-BOT5.js +17 -0
- package/chunks/Notification.module-7THtDpDh.js +20 -0
- package/chunks/Overlay.module-B0Fayqn2.js +18 -0
- package/chunks/Page.module-oxsZ2i2v.js +11 -0
- package/chunks/SMSField.module-DQoHDr5D.js +16 -0
- package/chunks/SliderExtendedMarks.module-CEOeXrfd.js +15 -0
- package/chunks/{SliderExtendedRail-jfLPbgEp.js → SliderExtendedRail-B33WytbG.js} +7 -7
- package/chunks/StatusTracker.module-CwUmaWht.js +24 -0
- package/chunks/StepperStepArrowBorder-9OXwuqOn.js +101 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CCyHjS-V.js → SuggestFieldMobileDropdownHint-dcZDUPZa.js} +4 -4
- package/chunks/TableFooter.module-DaFBiojx.js +14 -0
- package/chunks/TabsExtended.module-D4GCJESe.js +16 -0
- package/chunks/TabsLine.module-BEA3Lssg.js +21 -0
- package/chunks/TooltipDesktop.module-hff_h0-q.js +19 -0
- package/chunks/TreeView.module-C-XaQJbB.js +9 -0
- package/chunks/{UploadZoneInput-DYiPRAAI.js → UploadZoneInput-BsJhqlie.js} +2 -2
- package/chunks/{constants-Ctks52i0.js → constants-KINy2OSZ.js} +13 -13
- package/chunks/utils-BVhTB5hC.js +73 -0
- package/chunks/{utils-C6a9XDaC.js → utils-CWqa2skI.js} +4 -4
- package/chunks/utils-DFHOghtD.js +28 -0
- package/chunks/utils-TZKbWcP7.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +21 -21
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +4 -4
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +10 -10
- package/components/Badge/components/BadgePostfix.js +8 -8
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +10 -10
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +3 -3
- package/components/Calendar/Calendar.js +20 -20
- package/components/Calendar/components/CalendarControls.js +13 -13
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +7 -7
- 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 +2 -2
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +9 -9
- 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 +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +23 -22
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +76 -66
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +16 -16
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- 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 +9 -9
- package/components/DateRange/DateRange.js +19 -19
- 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 +28 -28
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +7 -7
- package/components/EmptyView/EmptyView.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- 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 +18 -18
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +11 -11
- package/components/FormField/components/FormFieldTextarea.js +22 -22
- 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 +8 -8
- 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 +15 -15
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +12 -12
- 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 +3 -3
- package/components/LightBox/LightBox.js +17 -17
- 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 +15 -15
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/Link/Link.js +10 -10
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +8 -8
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +7 -7
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +5 -5
- 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 +5 -5
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- 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 +12 -11
- 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 +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- 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 +6 -6
- 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 +9 -9
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +11 -11
- package/components/Radio/Radio.js +18 -18
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +9 -9
- 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 +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +24 -24
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +4 -4
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +18 -18
- 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 +13 -13
- package/components/Stepper/Stepper.js +102 -87
- package/components/Stepper/StepperExtended.js +23 -21
- 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 +63 -63
- 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 +14 -14
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +6 -6
- 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 +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +18 -18
- 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 +6 -6
- package/components/Tag/Tag.js +15 -15
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +13 -13
- 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 +15 -15
- 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 +3 -3
- package/components/TopOverlay/TopOverlay.js +14 -14
- 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 +19 -19
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +26 -26
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- 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-DF_eSZ-p.js +0 -41
- package/chunks/Card.module-Ce9rAKOc.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cj2c6m06.js +0 -15
- package/chunks/Chip-BEnNi0nL.js +0 -77
- package/chunks/Confirm.module-CbAi5bkG.js +0 -15
- package/chunks/DropdownMobile.module-rYB54yd0.js +0 -23
- package/chunks/Footer.module-CzJ_N1fs.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-HXJhEmKU.js +0 -9
- package/chunks/HeaderTabs.module-CjapozXy.js +0 -9
- package/chunks/IslandAccordion.module-YvqRlzmi.js +0 -25
- package/chunks/IslandWidgetFooter.module-iMuqKnPP.js +0 -9
- package/chunks/IslandWidgetHeader.module-CnPne0Uq.js +0 -12
- package/chunks/LightBoxControls.module-laAGRPrR.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B3L_EV1B.js +0 -9
- package/chunks/ListItemTail.module-igeWTjyg.js +0 -12
- package/chunks/ListMasterFooter.module-C0eM4fK4.js +0 -10
- package/chunks/ModalWindow.module-Cpk4uhwk.js +0 -17
- package/chunks/Notification.module-9japFkgv.js +0 -20
- package/chunks/Overlay.module-B3Az7dZS.js +0 -18
- package/chunks/Page.module-DOHwIYM4.js +0 -11
- package/chunks/RightBorderArrow-C6j8565V.js +0 -146
- package/chunks/SMSField.module-BOpUjsSJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-cdkiaSbT.js +0 -15
- package/chunks/StatusTracker.module-OAxbFucN.js +0 -24
- package/chunks/TableFooter.module-CGWCS8e3.js +0 -14
- package/chunks/TabsExtended.module-BJOWXSHt.js +0 -16
- package/chunks/TabsLine.module-BsiLhw0I.js +0 -21
- package/chunks/TooltipDesktop.module-DVp6GHr8.js +0 -19
- package/chunks/TreeView.module-C2WPNvMq.js +0 -9
- package/chunks/utils-Bz5uKYQD.js +0 -24
- package/chunks/utils-CrkRbGiM.js +0 -28
- package/chunks/utils-QVs0E_e3.js +0 -73
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -3,7 +3,7 @@ import e from "react";
|
|
|
3
3
|
import { c as m } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { StatusTrackerStatus as c } from "./StatusTrackerStatus.js";
|
|
5
5
|
import { StatusTrackerAlert as i } from "./StatusTrackerAlert.js";
|
|
6
|
-
import { s as u } from "../../../chunks/StatusTracker.module-
|
|
6
|
+
import { s as u } from "../../../chunks/StatusTracker.module-CwUmaWht.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
e.forwardRef(function({ children: r, className: t, ...a }, s) {
|
|
9
9
|
return /* @__PURE__ */ o("div", { className: m(u.statusTrackerChild, t), ...a, ref: s, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as m } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as a } from "../../../chunks/StatusTracker.module-CwUmaWht.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-CwUmaWht.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---Om3uMV.js";
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-CwUmaWht.js";
|
|
5
5
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
6
6
|
import { StatusTrackerButton as p } from "./StatusTrackerButton.js";
|
|
7
7
|
const u = Object.assign(
|
|
@@ -4,7 +4,7 @@ import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
|
4
4
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
5
5
|
import { StatusTrackerTitle as c } from "./StatusTrackerTitle.js";
|
|
6
6
|
import { StatusTrackerSum as p } from "./StatusTrackerSum.js";
|
|
7
|
-
import { s as u } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as u } from "../../../chunks/StatusTracker.module-CwUmaWht.js";
|
|
8
8
|
const f = Object.assign(
|
|
9
9
|
o.forwardRef(function({ children: r, className: t, ...a }, e) {
|
|
10
10
|
return /* @__PURE__ */ s("div", { className: i(u.statusTrackerChild, t), ...a, ref: e, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { c } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-CwUmaWht.js";
|
|
4
4
|
const d = (s) => {
|
|
5
5
|
const { children: r, className: t, ...a } = s;
|
|
6
6
|
return /* @__PURE__ */ e("div", { className: c(o.statusTrackerChild, t), ...a, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as m } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-CwUmaWht.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-CwUmaWht.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-CwUmaWht.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
|
@@ -3,16 +3,16 @@ import { useRef as u } from "react";
|
|
|
3
3
|
import { EStepStatus as o, EStepPosition as e } from "./enums.js";
|
|
4
4
|
import { ETooltipAlign as n, ETooltipSize as _ } from "../Tooltip/enums.js";
|
|
5
5
|
import { Tooltip as a } from "../Tooltip/Tooltip.js";
|
|
6
|
-
import { EFontWeightText as S, ETextSize as
|
|
6
|
+
import { EFontWeightText as S, ETextSize as D } from "../Typography/enums.js";
|
|
7
7
|
import "../Typography/Caption.js";
|
|
8
8
|
import "../Typography/CodeText.js";
|
|
9
|
-
import { Text as
|
|
9
|
+
import { Text as N } from "../Typography/Text.js";
|
|
10
10
|
import "../Typography/Title.js";
|
|
11
|
-
import { c as
|
|
12
|
-
const
|
|
13
|
-
step:
|
|
14
|
-
default: "
|
|
15
|
-
done:
|
|
11
|
+
import { c as A } from "../../chunks/vendor---Om3uMV.js";
|
|
12
|
+
const R = "step__53e25ba1", b = "done__78ff5b42", x = "warning__378d7f68", h = "active__cd685664", v = "error__cddcf01e", w = "disabled__f545c181", t = {
|
|
13
|
+
step: R,
|
|
14
|
+
default: "default__4eaac9bc",
|
|
15
|
+
done: b,
|
|
16
16
|
warning: x,
|
|
17
17
|
active: h,
|
|
18
18
|
error: v,
|
|
@@ -33,14 +33,14 @@ const A = "step__10bbe76c", R = "done__d04e089c", x = "warning__74b2a59b", h = "
|
|
|
33
33
|
className: s,
|
|
34
34
|
step: p,
|
|
35
35
|
status: d,
|
|
36
|
-
position:
|
|
37
|
-
...
|
|
36
|
+
position: f = e.Default,
|
|
37
|
+
...m
|
|
38
38
|
}) => {
|
|
39
|
-
const
|
|
40
|
-
return r ? /* @__PURE__ */ g(a, { size: _.SM, toggleType: "hover", alignTip: T, targetRef:
|
|
41
|
-
/* @__PURE__ */ i(a.Target, { children:
|
|
39
|
+
const c = u(null), T = y[f], E = A(t.step, L[d], s), l = () => /* @__PURE__ */ i("div", { ref: c, className: E, ...m, children: /* @__PURE__ */ i(N, { size: D.B1, weight: S.SEMIBOLD, children: p }) });
|
|
40
|
+
return r ? /* @__PURE__ */ g(a, { size: _.SM, toggleType: "hover", alignTip: T, targetRef: c, children: [
|
|
41
|
+
/* @__PURE__ */ i(a.Target, { children: l() }),
|
|
42
42
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
43
|
-
] }) :
|
|
43
|
+
] }) : l();
|
|
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: h,
|
|
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 N, useCallback as p, useEffect as w } from "react";
|
|
3
|
+
import { c as l } from "../../chunks/vendor---Om3uMV.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__648bd8a8", D = "stepperButtonWrapper__ec47b674", F = "prev__bc9c96fd", J = "next__887436bc", K = "stepperButton__88a9e2ce", Q = "sm__ab4f2b90", U = "md__44a9f41d", V = "lg__5c1b81b3", 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 [x,
|
|
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 = N(null), b = N({}), 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 v = 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
|
+
), C = 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
|
+
), _ = p((t, e) => {
|
|
79
|
+
e && h(t, e);
|
|
80
|
+
}, []), B = p(
|
|
81
|
+
(t, e) => {
|
|
82
|
+
const { left: r, right: o, width: a } = t.getBoundingClientRect(), { left: u, right: R, width: k } = e.getBoundingClientRect(), f = r + a / 2, d = u + k / 2;
|
|
83
|
+
window.matchMedia(`(max-width: ${$.SM_MAX})`).matches ? _(t, d - f) : f > d ? C(t, e, u - r, u) : f < d && v(t, e, R - o, R);
|
|
84
|
+
},
|
|
85
|
+
[_, C, v]
|
|
86
|
+
);
|
|
87
|
+
return w(() => {
|
|
88
|
+
if (c) {
|
|
89
|
+
const { current: t } = m, e = b.current[c];
|
|
90
|
+
t && e && B(t, e);
|
|
75
91
|
}
|
|
76
|
-
}, [
|
|
77
|
-
|
|
92
|
+
}, [c, B]), /* @__PURE__ */ n(
|
|
93
|
+
z,
|
|
78
94
|
{
|
|
79
|
-
className:
|
|
80
|
-
buttonPrev:
|
|
81
|
-
buttonNext:
|
|
95
|
+
className: l(s.stepperCarousel, g[i], I),
|
|
96
|
+
buttonPrev: O,
|
|
97
|
+
buttonNext: T,
|
|
82
98
|
stepPrev: x.stepPrev,
|
|
83
99
|
stepNext: x.stepNext,
|
|
84
|
-
ref:
|
|
85
|
-
children: /* @__PURE__ */
|
|
86
|
-
|
|
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) => b.current[
|
|
89
|
-
...
|
|
90
|
-
isInActiveStep: r >
|
|
91
|
-
children:
|
|
104
|
+
forwardedRef: (o) => b.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 {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
stepperExtended:
|
|
9
|
-
},
|
|
10
|
-
children:
|
|
11
|
-
className:
|
|
12
|
-
size:
|
|
13
|
-
onSelectStep:
|
|
14
|
-
selectedStepId:
|
|
15
|
-
forwardedRef:
|
|
16
|
-
...
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as c } from "react";
|
|
3
|
+
import { c as i } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { StepperStep as l } from "./StepperStep.js";
|
|
5
|
+
import { StepperExtendedContext as a } from "./StepperExtendedContext.js";
|
|
6
|
+
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
7
|
+
const E = "stepperExtended__bd635652", u = {
|
|
8
|
+
stepperExtended: E
|
|
9
|
+
}, S = ({
|
|
10
|
+
children: p,
|
|
11
|
+
className: s,
|
|
12
|
+
size: e = f.LG,
|
|
13
|
+
onSelectStep: t,
|
|
14
|
+
selectedStepId: r,
|
|
15
|
+
forwardedRef: m,
|
|
16
|
+
...n
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
|
|
18
|
+
const d = i(u.stepperExtended, s), x = c(
|
|
19
|
+
() => ({ selectedId: r, size: e, onSelectStep: t }),
|
|
20
|
+
[r, e, t]
|
|
21
|
+
);
|
|
22
|
+
return /* @__PURE__ */ o(a.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 = l;
|
|
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---Om3uMV.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-9OXwuqOn.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": "0.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
|