@sberbusiness/triplex-next 0.24.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/README.md +0 -1
- package/chunks/AlertProcessSpoiler-BjHTZKgZ.js +41 -0
- package/chunks/{CalendarViewItem-DuqIjj7K.js → CalendarViewItem-BdyVWg8a.js} +11 -11
- 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-D_38hBVf.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-CP3P-T8_.js → FormFieldInput-CyAOOwnJ.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-CqLx3F7A.js +9 -0
- package/chunks/HeaderTabs.module-BQHI-7dx.js +9 -0
- package/chunks/{HeaderTitle.module-CoThbDwW.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-Bp6XRgdB.js +63 -0
- package/chunks/LightBoxControls.module-Dp8lh2Rg.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DDGxczL0.js +9 -0
- package/chunks/ListItemControlsButton-PANaJdYf.js +59 -0
- 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-B33WytbG.js +40 -0
- package/chunks/StatusTracker.module-CwUmaWht.js +24 -0
- package/chunks/StepperStepArrowBorder-9OXwuqOn.js +101 -0
- package/chunks/SuggestFieldMobileDropdownHint-dcZDUPZa.js +15 -0
- 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-DmnrQ-pa.js → UploadZoneInput-BsJhqlie.js} +2 -2
- package/chunks/{constants-BECBzrfZ.js → constants-KINy2OSZ.js} +10 -10
- package/chunks/utils-BVhTB5hC.js +73 -0
- package/chunks/{utils-BlzKyU4p.js → utils-CWqa2skI.js} +6 -6
- package/chunks/utils-DFHOghtD.js +28 -0
- package/chunks/utils-TZKbWcP7.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +20 -20
- package/components/Alert/AlertProcess/AlertProcess.js +41 -34
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Alert/AlertProcess/enums.js +5 -0
- package/components/Alert/AlertTypeUtils.js +2 -2
- package/components/Alert/index.js +7 -5
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +6 -6
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +9 -9
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +63 -86
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +66 -65
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +17 -19
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +5 -5
- 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 +6 -6
- 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 +34 -33
- package/components/Checkbox/CheckboxXGroup.js +18 -17
- package/components/Checkbox/CheckboxYGroup.js +10 -9
- 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 +3 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +38 -43
- 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 +15 -15
- package/components/Col/Col.js +134 -134
- package/components/CollapsableTree/components/CollapsableTreeNode.js +1 -1
- 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 +7 -7
- package/components/DateRange/DateRange.js +14 -14
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/AlertProcess.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +8 -8
- 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 +8 -8
- package/components/EmptyView/EmptyView.js +78 -0
- package/components/EmptyView/enums.js +5 -0
- package/components/EmptyView/index.js +7 -0
- package/components/EmptyView/types.js +2 -0
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- 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 +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +13 -13
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +15 -15
- package/components/FormField/components/FormFieldTextarea.js +19 -19
- 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 +5 -5
- 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 +92 -88
- package/components/IconWrapper/IconWrapper.js +27 -0
- package/components/IconWrapper/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +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 +28 -28
- package/components/IslandWidget/IslandWidget.js +24 -24
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- 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 +43 -40
- 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 +19 -19
- 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 +13 -13
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/enums.js +5 -0
- package/components/LightBox/index.js +4 -2
- package/components/Link/Link.js +41 -40
- package/components/List/List.js +4 -4
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +3 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +29 -30
- package/components/List/components/ListItemLoading.js +6 -6
- 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 +8 -8
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +12 -12
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +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 +2 -2
- 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 +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +19 -14
- 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 +8 -8
- 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 +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +5 -5
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +10 -10
- 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 +16 -16
- package/components/SegmentedControl/SegmentedControlSegment.js +36 -41
- 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 +92 -92
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +12 -12
- package/components/Stepper/Stepper.js +104 -89
- package/components/Stepper/StepperExtended.js +23 -21
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +61 -64
- 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 +5 -5
- 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 +10 -10
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +6 -6
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- 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 +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- 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 +17 -17
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +19 -19
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +10 -10
- 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 +6 -6
- package/components/TopOverlay/TopOverlay.js +15 -15
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +2 -2
- package/components/Typography/CodeText.js +6 -6
- package/components/Typography/Text.js +30 -30
- package/components/Typography/Title.js +15 -15
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- 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 +596 -581
- package/index.d.ts +136 -36
- package/index.js +642 -627
- package/package.json +14 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-BofkfSM8.js +0 -39
- package/chunks/Card.module-Cok9cKxI.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D_OBlNho.js +0 -15
- package/chunks/Chip-CFtA5mp4.js +0 -104
- package/chunks/Confirm.module-BgCUAiCk.js +0 -15
- package/chunks/DropdownMobile.module-Bccjckjq.js +0 -23
- package/chunks/Footer.module-CkVvrPtL.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Ci8iAZs7.js +0 -9
- package/chunks/HeaderTabs.module-2vtcjdH_.js +0 -9
- package/chunks/IslandAccordion.module-DLanAkfo.js +0 -25
- package/chunks/IslandWidgetFooter.module-kdzBJDuu.js +0 -9
- package/chunks/IslandWidgetHeader.module-BAcC1EB8.js +0 -12
- package/chunks/LightBoxContent-hyVn3q-T.js +0 -56
- package/chunks/LightBoxControls.module-CTUWde8O.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CnOh-RZn.js +0 -9
- package/chunks/ListItemControlsButton-BFfMrFr7.js +0 -51
- package/chunks/ListItemTail.module-BOV7kcBg.js +0 -12
- package/chunks/ListMasterFooter.module-DT_P8Iub.js +0 -10
- package/chunks/ModalWindow.module-DZdMA7rm.js +0 -17
- package/chunks/Notification.module-CJl-qcj8.js +0 -20
- package/chunks/Overlay.module-Buw8PcSy.js +0 -18
- package/chunks/Page.module-DIObxp8c.js +0 -11
- package/chunks/RightBorderArrow-TcR9E_47.js +0 -146
- package/chunks/SMSField.module-B170OigL.js +0 -16
- package/chunks/SliderExtendedMarks.module-SBpITDrZ.js +0 -15
- package/chunks/SliderExtendedRail-DawwH3OZ.js +0 -40
- package/chunks/StatusTracker.module-BT9AMEAv.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-_Gn-OMhG.js +0 -15
- package/chunks/TableFooter.module-DaFHVJUx.js +0 -14
- package/chunks/TabsExtended.module-vg1pJlhg.js +0 -16
- package/chunks/TabsLine.module-h8aBK1Tw.js +0 -21
- package/chunks/TooltipDesktop.module-oXI2FLzE.js +0 -19
- package/chunks/TreeView.module-C6t2uuwa.js +0 -9
- package/chunks/utils-BI5x-xfE.js +0 -24
- package/chunks/utils-C9aEOF3O.js +0 -73
- package/chunks/utils-WHBUmZgw.js +0 -28
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -7,10 +7,10 @@ import "../Button/ButtonIcon.js";
|
|
|
7
7
|
import "../Button/ButtonDropdown.js";
|
|
8
8
|
import "../Button/ButtonDropdownExtended.js";
|
|
9
9
|
import { EButtonTheme as R } from "../Button/enums.js";
|
|
10
|
-
import { EComponentSize as
|
|
10
|
+
import { EComponentSize as c } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
12
12
|
import { u as j, c as _ } from "../../chunks/vendor---Om3uMV.js";
|
|
13
|
-
const y = "
|
|
13
|
+
const y = "spoiler__0140d3c4", D = "opened__82117739", q = "caretIcon__551a44d0", A = "head__0922c4f3", G = "content__7cc4da6b", H = "hidden__e8c33007", K = "lg__a4a4177c", $ = "md__382c5ff3", F = "sm__fa4d9d90", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,24 +21,24 @@ const y = "spoiler__48289b00", D = "opened__febaeb8b", q = "caretIcon__853359ca"
|
|
|
21
21
|
md: $,
|
|
22
22
|
sm: F
|
|
23
23
|
}, J = {
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
24
|
+
[c.SM]: /* @__PURE__ */ a(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
|
+
[c.MD]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
|
+
[c.LG]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon })
|
|
27
27
|
}, O = g(e), P = z.forwardRef((f, h) => {
|
|
28
28
|
const {
|
|
29
29
|
children: I,
|
|
30
|
-
expanded:
|
|
30
|
+
expanded: s,
|
|
31
31
|
onToggle: o,
|
|
32
32
|
toggle: n,
|
|
33
33
|
className: x,
|
|
34
34
|
labelExpand: S,
|
|
35
|
-
labelCollapse:
|
|
36
|
-
rightBlock:
|
|
37
|
-
size: r =
|
|
38
|
-
...
|
|
39
|
-
} = f, d =
|
|
35
|
+
labelCollapse: u,
|
|
36
|
+
rightBlock: N,
|
|
37
|
+
size: r = c.MD,
|
|
38
|
+
...C
|
|
39
|
+
} = f, d = s !== void 0, [v, M] = T(s), t = d ? s : v, m = E(`Spoiler-${j()}`), b = w(() => {
|
|
40
40
|
const i = !t;
|
|
41
|
-
d ? n == null || n(i) :
|
|
41
|
+
d ? n == null || n(i) : M(i), o == null || o(i);
|
|
42
42
|
}, [d, n, t, o]), k = _(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__48289b00", D = "opened__febaeb8b", q = "caretIcon__853359ca"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...C, className: k, "data-tx": "0.26.0", ref: h, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -56,14 +56,14 @@ const y = "spoiler__48289b00", D = "opened__febaeb8b", q = "caretIcon__853359ca"
|
|
|
56
56
|
"aria-controls": m.current,
|
|
57
57
|
theme: R.LINK,
|
|
58
58
|
size: r,
|
|
59
|
-
onClick:
|
|
59
|
+
onClick: b,
|
|
60
60
|
children: [
|
|
61
|
-
t ?
|
|
61
|
+
t ? u : S,
|
|
62
62
|
J[r]
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
N
|
|
67
67
|
] }),
|
|
68
68
|
/* @__PURE__ */ a("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: I })
|
|
69
69
|
] });
|
|
@@ -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---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 { 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
|
...T,
|
|
25
25
|
ref: d,
|
|
26
|
-
"data-tx": "0.
|
|
26
|
+
"data-tx": "0.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---Om3uMV.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-CwUmaWht.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---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
|
@@ -9,13 +9,13 @@ 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---Om3uMV.js";
|
|
12
|
-
const R = "
|
|
12
|
+
const R = "step__53e25ba1", b = "done__78ff5b42", x = "warning__378d7f68", h = "active__cd685664", v = "error__cddcf01e", w = "disabled__f545c181", t = {
|
|
13
13
|
step: R,
|
|
14
|
-
default: "
|
|
15
|
-
done:
|
|
16
|
-
warning:
|
|
17
|
-
active:
|
|
18
|
-
error:
|
|
14
|
+
default: "default__4eaac9bc",
|
|
15
|
+
done: b,
|
|
16
|
+
warning: x,
|
|
17
|
+
active: h,
|
|
18
|
+
error: v,
|
|
19
19
|
disabled: w
|
|
20
20
|
}, L = {
|
|
21
21
|
[o.DEFAULT]: t.default,
|
|
@@ -33,14 +33,14 @@ const R = "step__289855a6", x = "done__ea60c434", h = "warning__47cc8f1e", v = "
|
|
|
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: i = 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 [
|
|
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:
|
|
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) => 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
|