@sberbusiness/triplex-next 1.25.0 → 1.27.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-kutiygyc.js +41 -0
- package/chunks/{CalendarViewItem-D-POWd2-.js → CalendarViewItem-5MWTfOXg.js} +14 -14
- package/chunks/Card.module-BdHlvmcC.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CtU7nxR-.js +15 -0
- package/chunks/Chip-BOBB8hDQ.js +77 -0
- package/chunks/Confirm.module-DX-8Qawd.js +15 -0
- package/chunks/{DropdownListItem-DEiNYa7V.js → DropdownListItem-kVq_Shxy.js} +16 -16
- package/chunks/DropdownMobile.module-DxT1Mh6q.js +23 -0
- package/chunks/Footer.module-DBFjyD0W.js +9 -0
- package/chunks/{FormFieldInput-DtYGQ_bi.js → FormFieldInput-DB9UpgIs.js} +29 -29
- package/chunks/HeaderLayoutSidebar.module-BIMH5ZRB.js +9 -0
- package/chunks/HeaderTabs.module-D62rOoJt.js +9 -0
- package/chunks/{HeaderTitle.module-C31ELKBY.js → HeaderTitle.module-Ckh2V8ux.js} +2 -2
- package/chunks/IslandAccordion.module-BI69hCoR.js +25 -0
- package/chunks/IslandWidgetFooter.module-BUJQAvCe.js +9 -0
- package/chunks/IslandWidgetHeader.module-DqTmcCwj.js +12 -0
- package/chunks/{LightBoxContent-9gb9WiYK.js → LightBoxContent-CK07PlB9.js} +11 -11
- package/chunks/LightBoxControls.module-DR9tmKz6.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BiFhnV3i.js +9 -0
- package/chunks/{ListItemControlsButton-DYBfA1gz.js → ListItemControlsButton-27xRORri.js} +13 -13
- package/chunks/ListItemTail.module-DKJmlaMg.js +12 -0
- package/chunks/ListMasterFooter.module-DkH4Ou-p.js +10 -0
- package/chunks/ModalWindow.module-Be4wGbwq.js +17 -0
- package/chunks/Notification.module-O5iV5kzx.js +20 -0
- package/chunks/Overlay.module-B0iGlEWG.js +18 -0
- package/chunks/Page.module-D0FFKxyx.js +11 -0
- package/chunks/SMSField.module-DrbNbpz3.js +16 -0
- package/chunks/SliderExtendedMarks.module-A0_OgEiW.js +15 -0
- package/chunks/SliderExtendedRail-D7nuFyRp.js +40 -0
- package/chunks/StatusTracker.module-DenK6Z9K.js +24 -0
- package/chunks/StepperStepArrowBorder-D9rM6XEL.js +101 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Bl-fHUU9.js → SuggestFieldMobileDropdownHint-CSrNs8VF.js} +5 -5
- package/chunks/TableFooter.module-BqHcJ9ea.js +14 -0
- package/chunks/TabsExtended.module-BtTx6oxY.js +16 -0
- package/chunks/TabsLine.module-C9KVj0hj.js +21 -0
- package/chunks/TooltipDesktop.module-uHaX3xgt.js +19 -0
- package/chunks/TreeView.module-BKi0xbbR.js +9 -0
- package/chunks/{UploadZoneInput-CUKt0mmY.js → UploadZoneInput-Bjnmk93x.js} +4 -4
- package/chunks/{constants-CmdvDG7U.js → constants-1ccyxiKh.js} +4 -4
- package/chunks/{utils-iU8-da0U.js → utils-BxF0Dq4C.js} +6 -6
- package/chunks/utils-CVIZqPO7.js +28 -0
- package/chunks/{utils-B8JwCW07.js → utils-CZzNEYf-.js} +7 -7
- package/chunks/{utils-DILds0zQ.js → utils-DfVeTN89.js} +5 -5
- package/components/Alert/AlertContext/AlertContext.js +11 -11
- 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 +18 -18
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +20 -20
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +15 -15
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +15 -15
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +2 -2
- 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 +19 -19
- 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 +9 -9
- package/components/Checkbox/Checkbox.js +17 -17
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +4 -4
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- 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 +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +28 -27
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +75 -65
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/components/CollapsableTreeNode.js +11 -11
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +53 -51
- package/components/DateField/DateFieldTarget.js +39 -38
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +4 -4
- package/components/DateRange/DateRange.js +18 -18
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +7 -7
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- 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 +1 -1
- package/components/ExpandAnimation/ExpandAnimation.js +23 -23
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +20 -20
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +14 -14
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +4 -4
- package/components/FormField/components/FormFieldTextarea.js +28 -28
- 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 +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +69 -63
- package/components/IslandWidget/IslandWidget.js +49 -41
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- 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 +7 -7
- package/components/LightBox/LightBox.js +5 -5
- 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 +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +15 -15
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +30 -55
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +40 -39
- package/components/List/components/ListItemLoading.js +8 -8
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +22 -21
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +8 -8
- package/components/List/index.js +1 -1
- package/components/List/utils.js +20 -0
- package/components/ListMaster/ListMaster.js +20 -13
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +9 -9
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +7 -7
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- 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 +12 -12
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearField.js +32 -30
- package/components/MonthYearField/MonthYearFieldTarget.js +37 -36
- 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 +2 -2
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +8 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +6 -6
- 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 +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +10 -10
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +22 -22
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +26 -26
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +13 -13
- 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 +30 -24
- 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 +62 -63
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +58 -58
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +12 -12
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +2 -2
- 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 +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- 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 +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +6 -6
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +13 -13
- 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 +1 -1
- package/components/Tag/Tag.js +6 -6
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +7 -7
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +13 -13
- package/components/TopOverlay/TopOverlay.js +19 -19
- 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 +21 -21
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +24 -24
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +299 -294
- package/index.d.ts +115 -42
- package/index.js +329 -324
- package/package.json +6 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-B46jKfAb.js +0 -41
- package/chunks/Card.module-CncHGyjC.js +0 -17
- package/chunks/CheckboxTreeExtended.module-B1Kgd0nu.js +0 -15
- package/chunks/Chip-DTIbYTEg.js +0 -77
- package/chunks/Confirm.module-EXbF7o_5.js +0 -15
- package/chunks/DropdownMobile.module-BoKjV5kN.js +0 -23
- package/chunks/Footer.module-DZkZf8cZ.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DgEDu6U2.js +0 -9
- package/chunks/HeaderTabs.module-BepwFanR.js +0 -9
- package/chunks/IslandAccordion.module-rpYHTG9-.js +0 -25
- package/chunks/IslandWidgetFooter.module-CGX_gIzr.js +0 -9
- package/chunks/IslandWidgetHeader.module-CBRjot0L.js +0 -12
- package/chunks/LightBoxControls.module-DW8BGlP2.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DfPgpuEZ.js +0 -9
- package/chunks/ListItemTail.module-BaV7s4hM.js +0 -12
- package/chunks/ListMasterFooter.module-DJ5zh4gk.js +0 -10
- package/chunks/ModalWindow.module-CBYym922.js +0 -17
- package/chunks/Notification.module-DxdRS8Y5.js +0 -20
- package/chunks/Overlay.module-BNFZ_rbt.js +0 -18
- package/chunks/Page.module-C50cd0OD.js +0 -11
- package/chunks/RightBorderArrow-BDD4mS5-.js +0 -146
- package/chunks/SMSField.module-C20gqTPw.js +0 -16
- package/chunks/SliderExtendedMarks.module-CsyPT1yp.js +0 -15
- package/chunks/SliderExtendedRail-D5G6Gddu.js +0 -40
- package/chunks/StatusTracker.module-Dn-2MvTp.js +0 -24
- package/chunks/TableFooter.module-CVe7H3F5.js +0 -14
- package/chunks/TabsExtended.module-DAVeemgZ.js +0 -16
- package/chunks/TabsLine.module-DpFaqhk4.js +0 -21
- package/chunks/TooltipDesktop.module-OpglHVA8.js +0 -19
- package/chunks/TreeView.module-D0XjOCzq.js +0 -9
- package/chunks/utils-D0TxmRz_.js +0 -28
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
package/components/Step/Step.js
CHANGED
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as
|
|
1
|
+
import { jsxs as E, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as g } from "react";
|
|
3
3
|
import { EStepStatus as o, EStepPosition as e } from "./enums.js";
|
|
4
|
-
import { ETooltipAlign as n, ETooltipSize as
|
|
4
|
+
import { ETooltipAlign as n, ETooltipSize as A } from "../Tooltip/enums.js";
|
|
5
5
|
import { Tooltip as a } from "../Tooltip/Tooltip.js";
|
|
6
|
-
import { EFontWeightText as
|
|
6
|
+
import { EFontWeightText as u, ETextSize as N } from "../Typography/enums.js";
|
|
7
7
|
import "../Typography/Caption.js";
|
|
8
8
|
import "../Typography/CodeText.js";
|
|
9
|
-
import { Text as
|
|
9
|
+
import { Text as D } from "../Typography/Text.js";
|
|
10
10
|
import "../Typography/Title.js";
|
|
11
|
-
import { c as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
import { c as O } from "../../chunks/vendor-DudMBGKr.js";
|
|
12
|
+
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
13
|
+
import { createSizeToClassNameMap as L } from "../../utils/classNameMaps.js";
|
|
14
|
+
const M = "step__81d4c7ac", b = "sm__260b8e5d", P = "md__2d3b45d3", R = "lg__ce05aa48", x = "done__799c8b2a", C = "warning__56c95f9a", h = "active__e347ad2b", v = "error__21134d24", z = "disabled__14685324", t = {
|
|
15
|
+
step: M,
|
|
16
|
+
sm: b,
|
|
17
|
+
md: P,
|
|
18
|
+
lg: R,
|
|
19
|
+
default: "default__ddd85556",
|
|
15
20
|
done: x,
|
|
16
|
-
warning:
|
|
21
|
+
warning: C,
|
|
17
22
|
active: h,
|
|
18
23
|
error: v,
|
|
19
|
-
disabled:
|
|
20
|
-
},
|
|
24
|
+
disabled: z
|
|
25
|
+
}, w = {
|
|
21
26
|
[o.DEFAULT]: t.default,
|
|
22
27
|
[o.ACTIVE]: t.active,
|
|
23
28
|
[o.WARNING]: t.warning,
|
|
@@ -28,23 +33,24 @@ const R = "step__aa77be9f", x = "done__d8c73a85", b = "warning__8585f9ce", h = "
|
|
|
28
33
|
[e.XFirst]: n.START,
|
|
29
34
|
[e.Default]: n.CENTER,
|
|
30
35
|
[e.XLast]: n.END
|
|
31
|
-
},
|
|
36
|
+
}, B = L(t), Y = (r, s) => s === 0 ? e.XFirst : s + 1 === r ? e.XLast : e.Default, F = ({
|
|
32
37
|
children: r,
|
|
33
38
|
className: s,
|
|
34
|
-
step:
|
|
35
|
-
status:
|
|
36
|
-
position:
|
|
37
|
-
|
|
39
|
+
step: d,
|
|
40
|
+
status: m,
|
|
41
|
+
position: _ = e.Default,
|
|
42
|
+
size: p = I.MD,
|
|
43
|
+
...T
|
|
38
44
|
}) => {
|
|
39
|
-
const
|
|
40
|
-
return r ? /* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */ i(a.Target, { children:
|
|
45
|
+
const c = g(null), f = y[_], S = O(t.step, w[m], B[p], s), l = () => /* @__PURE__ */ i("div", { ref: c, className: S, ...T, children: /* @__PURE__ */ i(D, { size: N.B1, weight: u.SEMIBOLD, children: d }) });
|
|
46
|
+
return r ? /* @__PURE__ */ E(a, { size: A.SM, toggleType: "hover", alignTip: f, targetRef: c, children: [
|
|
47
|
+
/* @__PURE__ */ i(a.Target, { children: l() }),
|
|
42
48
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
43
|
-
] }) :
|
|
49
|
+
] }) : l();
|
|
44
50
|
};
|
|
45
|
-
|
|
51
|
+
F.displayName = "Step";
|
|
46
52
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
53
|
+
F as Step,
|
|
54
|
+
Y as calcPosition
|
|
49
55
|
};
|
|
50
56
|
//# sourceMappingURL=Step.js.map
|
|
@@ -1,103 +1,118 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { scrollSmoothHorizontally as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
}, P = ({
|
|
31
|
-
className: m,
|
|
32
|
-
steps: b,
|
|
33
|
-
size: c = a.SM,
|
|
34
|
-
selectedStepId: l,
|
|
35
|
-
...E
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as A, useRef as N, useCallback as p, useEffect as w } from "react";
|
|
3
|
+
import { c as l } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { CaretleftStrokeSrvIcon24 as y, CaretrightStrokeSrvIcon24 as j } from "@sberbusiness/icons-next";
|
|
5
|
+
import { CarouselExtended as z } from "../CarouselExtended/CarouselExtended.js";
|
|
6
|
+
import { ButtonIcon as E } from "../Button/ButtonIcon.js";
|
|
7
|
+
import { StepperExtended as W } from "./StepperExtended.js";
|
|
8
|
+
import { StepperStep as G } from "./StepperStep.js";
|
|
9
|
+
import { createSizeToClassNameMap as H } from "../../utils/classNameMaps.js";
|
|
10
|
+
import { scrollSmoothHorizontally as h } from "../../utils/scroll.js";
|
|
11
|
+
import { EComponentSize as X } from "../../enums/EComponentSize.js";
|
|
12
|
+
import { EScreenWidth as $ } from "../../helpers/breakpoints.js";
|
|
13
|
+
import "./enums.js";
|
|
14
|
+
const q = "stepperCarousel__5eee571a", D = "stepperButtonWrapper__4d6fa284", F = "prev__ee885a76", J = "next__ba65e078", K = "stepperButton__78db448f", Q = "sm__e079bc2f", U = "md__e40c6d30", V = "lg__744ee979", 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), v = 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 C = p(
|
|
69
|
+
(t, e, r, o) => {
|
|
70
|
+
r > 0 && (e.nextElementSibling && (r -= o - e.nextElementSibling.getBoundingClientRect().right), h(t, Math.ceil(r)));
|
|
71
|
+
},
|
|
72
|
+
[]
|
|
73
|
+
), _ = p(
|
|
74
|
+
(t, e, r, o) => {
|
|
75
|
+
r < 0 && (e.previousElementSibling && (r -= o - e.previousElementSibling.getBoundingClientRect().left), h(t, Math.floor(r)));
|
|
76
|
+
},
|
|
77
|
+
[]
|
|
78
|
+
), B = p((t, e) => {
|
|
79
|
+
e && h(t, e);
|
|
80
|
+
}, []), 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 ? B(t, d - f) : f > d ? _(t, e, u - r, u) : f < d && C(t, e, R - o, R);
|
|
84
|
+
},
|
|
85
|
+
[B, _, C]
|
|
86
|
+
);
|
|
87
|
+
return w(() => {
|
|
88
|
+
if (c) {
|
|
89
|
+
const { current: t } = m, e = v.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) => v.current[e.id] = o,
|
|
105
|
+
...e,
|
|
106
|
+
isInActiveStep: r > L,
|
|
107
|
+
children: t
|
|
92
108
|
},
|
|
93
|
-
|
|
109
|
+
e.id
|
|
94
110
|
)) })
|
|
95
111
|
}
|
|
96
112
|
);
|
|
97
113
|
};
|
|
98
|
-
|
|
99
|
-
P.Step = X;
|
|
114
|
+
Z.Step = G;
|
|
100
115
|
export {
|
|
101
|
-
|
|
116
|
+
Z as Stepper
|
|
102
117
|
};
|
|
103
118
|
//# sourceMappingURL=Stepper.js.map
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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 x } from "react";
|
|
3
|
+
import { c as i } from "../../chunks/vendor-DudMBGKr.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__c68c1f34", 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), c = x(
|
|
19
|
+
() => ({ selectedId: r, size: e, onSelectStep: t }),
|
|
20
|
+
[r, e, t]
|
|
21
|
+
);
|
|
22
|
+
return /* @__PURE__ */ o(a.Provider, { value: c, 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-DudMBGKr.js";
|
|
4
|
+
import { StepperStepIcon as v } from "./StepperStepIcon.js";
|
|
5
|
+
import { createSizeToClassNameMap as F } from "../../utils/classNameMaps.js";
|
|
6
|
+
import { isKey as g } from "../../utils/keyboard.js";
|
|
7
|
+
import { StepperExtendedContext as H } from "./StepperExtendedContext.js";
|
|
8
|
+
import { EFocusSource as o } from "../../enums/EFocusSource.js";
|
|
9
|
+
import { EStepperStepType as y } from "./enums.js";
|
|
10
|
+
import { s as t, S as J } from "../../chunks/StepperStepArrowBorder-D9rM6XEL.js";
|
|
11
|
+
import { IconWrapper as L } from "../IconWrapper/IconWrapper.js";
|
|
12
|
+
const Q = F(t), X = ({
|
|
13
|
+
children: N,
|
|
14
|
+
className: A,
|
|
15
|
+
id: s,
|
|
16
|
+
isInActiveStep: x,
|
|
17
|
+
onFocus: m,
|
|
18
|
+
onBlur: n,
|
|
19
|
+
onKeyDown: a,
|
|
20
|
+
onMouseDown: i,
|
|
21
|
+
onClick: f,
|
|
21
22
|
disabled: r,
|
|
22
|
-
icon:
|
|
23
|
-
forwardedRef:
|
|
24
|
-
type:
|
|
25
|
-
...
|
|
23
|
+
icon: h,
|
|
24
|
+
forwardedRef: c,
|
|
25
|
+
type: C,
|
|
26
|
+
...T
|
|
26
27
|
}) => {
|
|
27
|
-
const { selectedId:
|
|
28
|
-
|
|
28
|
+
const { selectedId: z, size: I, onSelectStep: S } = U(H), [l, u] = V(o.NONE), p = k(null), E = s === z, j = q(
|
|
29
|
+
t.stepperStep,
|
|
30
|
+
Q[I],
|
|
29
31
|
{
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[e.sm]: p === x.SM,
|
|
39
|
-
[e.md]: p === x.MD,
|
|
40
|
-
[e.lg]: p === x.LG
|
|
32
|
+
[t.active]: E,
|
|
33
|
+
[t.inactive]: x,
|
|
34
|
+
[t.completed]: !E && !x,
|
|
35
|
+
[t.disabled]: !!r,
|
|
36
|
+
[t.nonempty]: !!N,
|
|
37
|
+
[t.error]: !r && C === y.ERROR,
|
|
38
|
+
[t.warning]: !r && C === y.WARNING,
|
|
39
|
+
[t.focusVisible]: l === o.KEYBOARD
|
|
41
40
|
},
|
|
42
|
-
|
|
43
|
-
), W = (
|
|
44
|
-
!
|
|
45
|
-
}, Y = (
|
|
46
|
-
|
|
47
|
-
}, B = (
|
|
48
|
-
const O =
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
r ||
|
|
54
|
-
}, M = (
|
|
55
|
-
|
|
56
|
-
}, P = () => /* @__PURE__ */
|
|
57
|
-
return /* @__PURE__ */
|
|
41
|
+
A
|
|
42
|
+
), W = (e) => {
|
|
43
|
+
!l && p.current === e.target && u(o.KEYBOARD), m == null || m(e);
|
|
44
|
+
}, Y = (e) => {
|
|
45
|
+
p.current !== document.activeElement && p.current === e.target && u(o.NONE), n == null || n(e);
|
|
46
|
+
}, B = (e) => {
|
|
47
|
+
const O = e.code || e.keyCode;
|
|
48
|
+
g(O, "ENTER") ? r || S(s) : g(O, "SPACE") && (e.preventDefault(), r || S(s)), a == null || a(e);
|
|
49
|
+
}, G = (e) => {
|
|
50
|
+
l || u(o.MOUSE), i == null || i(e);
|
|
51
|
+
}, K = (e) => {
|
|
52
|
+
r || S(s), f == null || f(e);
|
|
53
|
+
}, M = (e) => {
|
|
54
|
+
p.current = e, typeof c == "function" ? c(e) : c && (c.current = e);
|
|
55
|
+
}, P = () => /* @__PURE__ */ d(L, { className: t.icon, disabled: !!r, children: h });
|
|
56
|
+
return /* @__PURE__ */ R(
|
|
58
57
|
"li",
|
|
59
58
|
{
|
|
60
|
-
className:
|
|
59
|
+
className: j,
|
|
61
60
|
onFocus: W,
|
|
62
61
|
onBlur: Y,
|
|
63
62
|
onKeyDown: B,
|
|
64
|
-
onMouseDown:
|
|
65
|
-
onClick:
|
|
63
|
+
onMouseDown: G,
|
|
64
|
+
onClick: K,
|
|
66
65
|
tabIndex: r ? -1 : 0,
|
|
67
66
|
"aria-disabled": r,
|
|
68
|
-
"aria-current":
|
|
67
|
+
"aria-current": E || void 0,
|
|
69
68
|
role: "button",
|
|
70
|
-
...
|
|
69
|
+
...T,
|
|
71
70
|
ref: M,
|
|
72
71
|
children: [
|
|
73
|
-
/* @__PURE__ */
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
/* @__PURE__ */ R("div", { className: t.content, "data-tx": "1.27.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
|
|
@@ -4,7 +4,7 @@ import { useSuggestContext as I } from "./SuggestContext.js";
|
|
|
4
4
|
import "../Dropdown/DropdownListContext.js";
|
|
5
5
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
6
6
|
import "../Dropdown/desktop/DropdownList.js";
|
|
7
|
-
import "../../chunks/DropdownListItem-
|
|
7
|
+
import "../../chunks/DropdownListItem-kVq_Shxy.js";
|
|
8
8
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
9
9
|
import { DropdownMobileBody as B } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
10
10
|
import { DropdownMobileClose as F } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -21,7 +21,7 @@ import "../Typography/Caption.js";
|
|
|
21
21
|
import "../Typography/CodeText.js";
|
|
22
22
|
import { Text as j } from "../Typography/Text.js";
|
|
23
23
|
import "../Typography/Title.js";
|
|
24
|
-
const k = "
|
|
24
|
+
const k = "suggestDropdownMobileBody__16fbe4ad", z = "suggestDropdownMobileNoOptionsText__c5ab2d1c", g = {
|
|
25
25
|
suggestDropdownMobileBody: k,
|
|
26
26
|
suggestDropdownMobileNoOptionsText: z
|
|
27
27
|
}, A = () => {
|
|
@@ -29,15 +29,15 @@ const k = "suggestDropdownMobileBody__f9e0d864", z = "suggestDropdownMobileNoOpt
|
|
|
29
29
|
value: r,
|
|
30
30
|
options: s,
|
|
31
31
|
inputValue: i,
|
|
32
|
-
placeholder:
|
|
33
|
-
noOptionsText:
|
|
32
|
+
placeholder: a,
|
|
33
|
+
noOptionsText: u,
|
|
34
34
|
loading: w,
|
|
35
|
-
clearInputOnFocus:
|
|
35
|
+
clearInputOnFocus: d,
|
|
36
36
|
dropdownListLoading: b,
|
|
37
37
|
onSelect: f,
|
|
38
38
|
onFilter: t,
|
|
39
39
|
onScrollEnd: l,
|
|
40
|
-
closeDropdown:
|
|
40
|
+
closeDropdown: p
|
|
41
41
|
} = I(), h = S(null), D = n(
|
|
42
42
|
(o) => {
|
|
43
43
|
if (l === void 0)
|
|
@@ -46,14 +46,14 @@ const k = "suggestDropdownMobileBody__f9e0d864", z = "suggestDropdownMobileNoOpt
|
|
|
46
46
|
y - C - N < 1 && l();
|
|
47
47
|
},
|
|
48
48
|
[l]
|
|
49
|
-
), M = n(() =>
|
|
49
|
+
), M = n(() => p(), [p]), x = n(
|
|
50
50
|
(o) => {
|
|
51
51
|
t(o.target.value);
|
|
52
52
|
},
|
|
53
53
|
[t]
|
|
54
54
|
), T = n(() => {
|
|
55
|
-
i.length !== 0 &&
|
|
56
|
-
}, [i.length,
|
|
55
|
+
i.length !== 0 && d === !0 && t("");
|
|
56
|
+
}, [i.length, d, t]);
|
|
57
57
|
return /* @__PURE__ */ c(m, { children: [
|
|
58
58
|
/* @__PURE__ */ e(
|
|
59
59
|
O,
|
|
@@ -66,7 +66,7 @@ const k = "suggestDropdownMobileBody__f9e0d864", z = "suggestDropdownMobileNoOpt
|
|
|
66
66
|
L,
|
|
67
67
|
{
|
|
68
68
|
value: i,
|
|
69
|
-
placeholder:
|
|
69
|
+
placeholder: a,
|
|
70
70
|
autoFocus: !0,
|
|
71
71
|
onFocus: T,
|
|
72
72
|
onChange: x
|
|
@@ -81,7 +81,7 @@ const k = "suggestDropdownMobileBody__f9e0d864", z = "suggestDropdownMobileNoOpt
|
|
|
81
81
|
type: H.PRIMARY,
|
|
82
82
|
size: E.B2,
|
|
83
83
|
tag: "div",
|
|
84
|
-
children:
|
|
84
|
+
children: u
|
|
85
85
|
}
|
|
86
86
|
) : /* @__PURE__ */ e(R, { loading: b, ref: h, children: s.map((o) => /* @__PURE__ */ e(
|
|
87
87
|
_,
|