@sberbusiness/triplex-next 1.26.0 → 1.28.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-NldQtvco.js +41 -0
- package/chunks/{CalendarViewItem-DHFLturD.js → CalendarViewItem-83koObqy.js} +11 -11
- package/chunks/Card.module-c3-33ce8.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DmQ81avO.js +15 -0
- package/chunks/Chip-BQ_gYzxq.js +77 -0
- package/chunks/Confirm.module-NvQ6x492.js +15 -0
- package/chunks/{DropdownListItem-CjZLy9zZ.js → DropdownListItem-CVJjluxY.js} +19 -19
- package/chunks/DropdownMobile.module-BzplQxLc.js +23 -0
- package/chunks/Footer.module-C5auaCMC.js +9 -0
- package/chunks/{FormFieldInput-C2TczHnQ.js → FormFieldInput-BTVRGCId.js} +19 -19
- package/chunks/HeaderLayoutSidebar.module-CmVwh8YX.js +9 -0
- package/chunks/HeaderTabs.module-BTcgQwsE.js +9 -0
- package/chunks/{HeaderTitle.module-BdAYtCP5.js → HeaderTitle.module-Bh2WjxIN.js} +2 -2
- package/chunks/IslandAccordion.module-B-19rXcD.js +25 -0
- package/chunks/IslandWidgetFooter.module-BO73Tgxq.js +9 -0
- package/chunks/IslandWidgetHeader.module-Df2VlDhN.js +12 -0
- package/chunks/{LightBoxContent-B8dwsZcd.js → LightBoxContent-BV0_QYb_.js} +2 -2
- package/chunks/LightBoxControls.module-DbEH8RB1.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DX1kP1BM.js +9 -0
- package/chunks/{ListItemControlsButton-DjUxcey4.js → ListItemControlsButton-_-tEvYQM.js} +13 -13
- package/chunks/ListItemTail.module-BKoqbpG6.js +12 -0
- package/chunks/ListMasterFooter.module-Dbk-k1aZ.js +10 -0
- package/chunks/ModalWindow.module-Dt8kEFNo.js +17 -0
- package/chunks/Notification.module-B9uJ73NL.js +20 -0
- package/chunks/Overlay.module-D6x0Rc2c.js +18 -0
- package/chunks/Page.module-Dp-a8BZr.js +11 -0
- package/chunks/SMSField.module-C2BQO6iZ.js +16 -0
- package/chunks/SliderExtendedMarks.module-DI6EJLUh.js +15 -0
- package/chunks/{SliderExtendedRail-BYK2Vyz9.js → SliderExtendedRail-Dp8PruYh.js} +7 -7
- package/chunks/StatusTracker.module-CF7eqrdv.js +24 -0
- package/chunks/{StepperStepArrowBorder-CHpL6Q5q.js → StepperStepArrowBorder-BhxHSVsg.js} +9 -9
- package/chunks/{SuggestFieldMobileDropdownHint-BpAuE0ir.js → SuggestFieldMobileDropdownHint-Dj6gWOOm.js} +6 -6
- package/chunks/TableFooter.module-BBF-DJGA.js +14 -0
- package/chunks/TabsExtended.module-C4CTakbs.js +16 -0
- package/chunks/TabsLine.module-CQy-1q2X.js +21 -0
- package/chunks/TooltipDesktop.module-BsYuxr3t.js +19 -0
- package/chunks/TreeView.module-BkeBRmgo.js +9 -0
- package/chunks/{UploadZoneInput-qDtiZYmT.js → UploadZoneInput-Bhz9sU72.js} +10 -10
- package/chunks/{constants-CtrvWwDT.js → constants-CAK3AnS2.js} +6 -6
- package/chunks/utils-BeYLwFL4.js +24 -0
- package/chunks/utils-CWZKt6QH.js +73 -0
- package/chunks/{utils-BYHIu3S4.js → utils-JveQLn3C.js} +4 -4
- package/chunks/{utils-CqjXJ4Td.js → utils-m2ZY7x9c.js} +2 -2
- package/components/Alert/AlertContext/AlertContext.js +20 -20
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +11 -11
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +17 -17
- package/components/Badge/Badge.js +12 -12
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +1 -1
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +23 -23
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +17 -17
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +16 -16
- 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 +6 -6
- package/components/Checkbox/Checkbox.js +2 -2
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- 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 +6 -6
- 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 +8 -8
- 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 +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +140 -140
- 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 +53 -51
- package/components/DateField/DateFieldTarget.js +39 -38
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +9 -9
- package/components/DateRange/DateRange.js +18 -18
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +13 -13
- 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 +6 -6
- 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 +2 -2
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/EmptyView/EmptyView.js +20 -20
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +24 -24
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +5 -5
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +9 -9
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- 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 +5 -5
- package/components/IconWrapper/IconWrapper.js +3 -3
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +3 -3
- 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 +48 -40
- 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 +1 -1
- package/components/LightBox/LightBox.js +18 -18
- 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 +68 -61
- 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 +14 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +13 -13
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +30 -55
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +40 -39
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +1 -1
- 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 +23 -22
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +1 -1
- 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 +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +61 -65
- package/components/ModalWindow/components/ModalWindowBody.js +13 -12
- package/components/ModalWindow/components/ModalWindowClose.js +15 -16
- package/components/ModalWindow/components/ModalWindowContent.js +22 -16
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +27 -26
- package/components/MonthYearField/MonthYearField.js +32 -30
- package/components/MonthYearField/MonthYearFieldTarget.js +36 -36
- package/components/MonthYearRange/MonthYearRange.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +12 -12
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +11 -11
- 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 +1 -1
- 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 +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Radio/Radio.js +9 -9
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/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 +15 -15
- package/components/SegmentedControl/SegmentedControlSegment.js +16 -16
- 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 +13 -13
- 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 +13 -13
- 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 +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +25 -25
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +7 -7
- 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 +29 -23
- package/components/Stepper/Stepper.js +14 -14
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +15 -15
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- 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 +20 -20
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +4 -4
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +15 -15
- 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 +5 -5
- package/components/Tag/Tag.js +15 -15
- package/components/TagColor/TagColor.js +7 -7
- package/components/TagGroup/TagGroup.js +8 -8
- 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 +6 -6
- 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 +5 -5
- package/components/TopOverlay/TopOverlay.js +18 -18
- 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 +30 -30
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +24 -24
- package/components/Typography/Title.js +18 -18
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +8 -8
- 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 +5 -5
- package/index.d.ts +96 -28
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +538 -538
- package/chunks/AlertProcessSpoiler-Boz5enko.js +0 -41
- package/chunks/Card.module-Bn676gKC.js +0 -17
- package/chunks/CheckboxTreeExtended.module-QbHPuClH.js +0 -15
- package/chunks/Chip-Di8g8Z6j.js +0 -77
- package/chunks/Confirm.module-b8ZTqcR2.js +0 -15
- package/chunks/DropdownMobile.module-B2yaydF-.js +0 -23
- package/chunks/Footer.module-DlTuw8bG.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BR0oblQF.js +0 -9
- package/chunks/HeaderTabs.module-D88xeP19.js +0 -9
- package/chunks/IslandAccordion.module-CbGSbbl6.js +0 -25
- package/chunks/IslandWidgetFooter.module-DzcObfJV.js +0 -9
- package/chunks/IslandWidgetHeader.module-_sYg-PBp.js +0 -12
- package/chunks/LightBoxControls.module-DHrZ8-M9.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CgO3NViT.js +0 -9
- package/chunks/ListItemTail.module-CIBEtGa9.js +0 -12
- package/chunks/ListMasterFooter.module-DDv57q5J.js +0 -10
- package/chunks/ModalWindow.module-Cek3j-PN.js +0 -17
- package/chunks/Notification.module-BWxDmBI2.js +0 -20
- package/chunks/Overlay.module-CUZKmhvQ.js +0 -18
- package/chunks/Page.module-BD0MsbnW.js +0 -11
- package/chunks/SMSField.module-B6sFmN1l.js +0 -16
- package/chunks/SliderExtendedMarks.module-jwnpPZXf.js +0 -15
- package/chunks/StatusTracker.module-DQI30fwP.js +0 -24
- package/chunks/TableFooter.module-DB3LfuRN.js +0 -14
- package/chunks/TabsExtended.module-DbTk0iCS.js +0 -16
- package/chunks/TabsLine.module-D3zxaGjs.js +0 -21
- package/chunks/TooltipDesktop.module-BTHsU4ca.js +0 -19
- package/chunks/TreeView.module-BXHaAGRo.js +0 -9
- package/chunks/utils-4uYqfVa-.js +0 -73
- package/chunks/utils-DhWCXYI8.js +0 -24
|
@@ -9,7 +9,7 @@ import { useSliderExtendedDotTabIndex as me } from "./useSliderExtendedDotTabInd
|
|
|
9
9
|
import { KeyDownListener as F } from "../../../KeyDownListener/KeyDownListener.js";
|
|
10
10
|
import { EVENT_KEY_CODES as p } from "../../../../utils/keyboard.js";
|
|
11
11
|
import { createSizeToClassNameMap as fe } from "../../../../utils/classNameMaps.js";
|
|
12
|
-
const pe = "
|
|
12
|
+
const pe = "sliderExtendedDot__39595f57", xe = "focusedByClick__47220356", he = "disabled__4cd433c8", ge = "dragByMouse__ef114b2c", De = "lg__b2eeba92", i = {
|
|
13
13
|
sliderExtendedDot: pe,
|
|
14
14
|
focusedByClick: xe,
|
|
15
15
|
disabled: he,
|
|
@@ -41,7 +41,7 @@ const pe = "sliderExtendedDot__99b38613", xe = "focusedByClick__e793bc67", he =
|
|
|
41
41
|
steps: s,
|
|
42
42
|
updateDot: G,
|
|
43
43
|
size: Y
|
|
44
|
-
} = re(ce), $ = me(_, l, z, y),
|
|
44
|
+
} = re(ce), $ = me(_, l, z, y), b = le(null);
|
|
45
45
|
L(() => () => q(l), []), ae(() => {
|
|
46
46
|
const e = o.getNormalizedValue({ max: c, min: u, value: d });
|
|
47
47
|
j({
|
|
@@ -65,7 +65,7 @@ const pe = "sliderExtendedDot__99b38613", xe = "focusedByClick__e793bc67", he =
|
|
|
65
65
|
});
|
|
66
66
|
}, [r, d, c, u, s]);
|
|
67
67
|
const J = (e) => (t) => {
|
|
68
|
-
E(!0), n(!0), document.addEventListener("mouseup",
|
|
68
|
+
E(!0), n(!0), document.addEventListener("mouseup", C), e(t), g == null || g(t);
|
|
69
69
|
}, Q = (e) => {
|
|
70
70
|
if (m) {
|
|
71
71
|
let t = o.getNormalizedCursorValue({
|
|
@@ -76,10 +76,10 @@ const pe = "sliderExtendedDot__99b38613", xe = "focusedByClick__e793bc67", he =
|
|
|
76
76
|
const S = o.getNearestStep({ normalizedValue: t, steps: s });
|
|
77
77
|
r(S.value);
|
|
78
78
|
}
|
|
79
|
-
},
|
|
80
|
-
n(!1), document.removeEventListener("mouseup",
|
|
79
|
+
}, C = () => {
|
|
80
|
+
n(!1), document.removeEventListener("mouseup", C);
|
|
81
81
|
}, Z = (e) => (t) => {
|
|
82
|
-
t.touches.length == 1 && (E(!0), n(!0), document.addEventListener("touchend",
|
|
82
|
+
t.touches.length == 1 && (E(!0), n(!0), document.addEventListener("touchend", R), e(t), D == null || D(t));
|
|
83
83
|
}, ee = (e) => {
|
|
84
84
|
if (e.touches.length == 1 && (e.cancelable && e.preventDefault(), m)) {
|
|
85
85
|
let t = o.getNormalizedCursorValue({
|
|
@@ -90,12 +90,12 @@ const pe = "sliderExtendedDot__99b38613", xe = "focusedByClick__e793bc67", he =
|
|
|
90
90
|
const S = o.getNearestStep({ normalizedValue: t, steps: s });
|
|
91
91
|
r(S.value);
|
|
92
92
|
}
|
|
93
|
-
},
|
|
94
|
-
e.cancelable && e.preventDefault(), n(!1), document.removeEventListener("touchend",
|
|
95
|
-
},
|
|
96
|
-
e.preventDefault(), O.moveToPrevStep(
|
|
93
|
+
}, R = (e) => {
|
|
94
|
+
e.cancelable && e.preventDefault(), n(!1), document.removeEventListener("touchend", R);
|
|
95
|
+
}, T = () => z.filter((e) => e.id === l)[0], te = (e) => {
|
|
96
|
+
e.preventDefault(), O.moveToPrevStep(T(), s);
|
|
97
97
|
}, oe = (e) => {
|
|
98
|
-
e.preventDefault(), O.moveToNextStep(
|
|
98
|
+
e.preventDefault(), O.moveToNextStep(T(), s);
|
|
99
99
|
}, se = (e) => {
|
|
100
100
|
y || V(!0), N(!0), h == null || h(e);
|
|
101
101
|
}, de = (e) => {
|
|
@@ -123,7 +123,7 @@ const pe = "sliderExtendedDot__99b38613", xe = "focusedByClick__e793bc67", he =
|
|
|
123
123
|
{
|
|
124
124
|
onMouseMove: k.throttle(Q, 50),
|
|
125
125
|
onTouchMove: k.throttle(ee),
|
|
126
|
-
targetRef:
|
|
126
|
+
targetRef: b,
|
|
127
127
|
children: ({ onTargetMouseDown: e, onTargetTouchStart: t }) => /* @__PURE__ */ f(
|
|
128
128
|
"span",
|
|
129
129
|
{
|
|
@@ -143,7 +143,7 @@ const pe = "sliderExtendedDot__99b38613", xe = "focusedByClick__e793bc67", he =
|
|
|
143
143
|
onMouseDown: J(e),
|
|
144
144
|
onTouchStart: Z(t),
|
|
145
145
|
style: { left: `${U}%` },
|
|
146
|
-
ref:
|
|
146
|
+
ref: b,
|
|
147
147
|
children: K
|
|
148
148
|
}
|
|
149
149
|
)
|
|
@@ -3,7 +3,7 @@ import C from "react";
|
|
|
3
3
|
import { SliderExtendedContext as M } from "../../SliderExtendedContext.js";
|
|
4
4
|
import { SliderExtendedMarkActions as s } from "./SliderExtendedMarkActions.js";
|
|
5
5
|
import { c as o } from "../../../../chunks/vendor-DudMBGKr.js";
|
|
6
|
-
import { s as e } from "../../../../chunks/SliderExtendedMarks.module-
|
|
6
|
+
import { s as e } from "../../../../chunks/SliderExtendedMarks.module-DI6EJLUh.js";
|
|
7
7
|
import { EComponentSize as z } from "../../../../enums/EComponentSize.js";
|
|
8
8
|
import { ETextSize as c } from "../../../Typography/enums.js";
|
|
9
9
|
import { Text as N } from "../../../Typography/Text.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { s as a } from "../../../../chunks/SliderExtendedMarks.module-
|
|
3
|
+
import { s as a } from "../../../../chunks/SliderExtendedMarks.module-DI6EJLUh.js";
|
|
4
4
|
const t = ({ className: s, ...e }) => /* @__PURE__ */ r("div", { className: d(a.sliderExtendedMarks, s), ...e });
|
|
5
5
|
t.displayName = "SliderExtendedMarks";
|
|
6
6
|
export {
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../SliderExtendedContext.js";
|
|
4
4
|
import "../SliderExtendedUtils.js";
|
|
5
5
|
import "../../../chunks/vendor-DudMBGKr.js";
|
|
6
|
-
import { S as d } from "../../../chunks/SliderExtendedRail-
|
|
6
|
+
import { S as d } from "../../../chunks/SliderExtendedRail-Dp8PruYh.js";
|
|
7
7
|
export {
|
|
8
8
|
d as SliderExtendedRail
|
|
9
9
|
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { jsxs as y, jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as y, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import r from "react";
|
|
3
3
|
import { SliderExtendedContext as _ } from "../../SliderExtendedContext.js";
|
|
4
4
|
import { c as e } from "../../../../chunks/vendor-DudMBGKr.js";
|
|
5
5
|
import { createSizeToClassNameMap as v } from "../../../../utils/classNameMaps.js";
|
|
6
|
-
const E = "
|
|
6
|
+
const E = "sliderExtendedTooltipOverlay__66d2e26c", C = "lg__b2eeba92", N = "tooltipBody__540855a5", O = "tooltipTip__f64eff2e", t = {
|
|
7
7
|
sliderExtendedTooltipOverlay: E,
|
|
8
8
|
lg: C,
|
|
9
9
|
tooltipBody: N,
|
|
10
10
|
tooltipTip: O
|
|
11
11
|
}, h = v(t), W = ({
|
|
12
12
|
value: i,
|
|
13
|
-
children:
|
|
13
|
+
children: d,
|
|
14
14
|
...c
|
|
15
15
|
}) => {
|
|
16
|
-
const o =
|
|
16
|
+
const o = r.useRef(null), { min: l, max: p, size: a } = r.useContext(_), f = () => {
|
|
17
17
|
var s;
|
|
18
18
|
if (!o.current || i === void 0)
|
|
19
19
|
return 0;
|
|
20
|
-
const m = 8, x = 16, T = ((s = o.current) == null ? void 0 : s.clientWidth) || 0, u = (i - l) / (
|
|
20
|
+
const m = 8, x = 16, T = ((s = o.current) == null ? void 0 : s.clientWidth) || 0, u = (i - l) / (p - l);
|
|
21
21
|
return (T / 2 - m - x) * (1 - 2 * u);
|
|
22
22
|
};
|
|
23
23
|
return /* @__PURE__ */ y(
|
|
24
24
|
"div",
|
|
25
25
|
{
|
|
26
26
|
ref: o,
|
|
27
|
-
className: e(t.sliderExtendedTooltipOverlay, h[
|
|
27
|
+
className: e(t.sliderExtendedTooltipOverlay, h[a]),
|
|
28
28
|
...c,
|
|
29
29
|
children: [
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ n("div", { className: e(t.tooltipBody), style: { left: `${f()}px` }, children: d }),
|
|
31
|
+
/* @__PURE__ */ n("div", { className: e(t.tooltipTip) })
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as B, Fragment as L, jsx as h } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
4
|
-
import { SliderExtendedContext as
|
|
2
|
+
import { useState as a, useContext as ae, useRef as O, useLayoutEffect as P } from "react";
|
|
3
|
+
import { c as ce, l as X } from "../../../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { SliderExtendedContext as le } from "../../SliderExtendedContext.js";
|
|
5
5
|
import { SliderExtendedMoveHandler as de } from "../SliderExtendedMoveHandler.js";
|
|
6
6
|
import { SliderExtendedUtils as z } from "../../SliderExtendedUtils.js";
|
|
7
|
-
import { SliderExtendedTrackActions as
|
|
7
|
+
import { SliderExtendedTrackActions as c } from "./SliderExtendedTrackActions.js";
|
|
8
8
|
import { EVENT_KEY_CODES as g } from "../../../../utils/keyboard.js";
|
|
9
9
|
import { KeyDownListener as F } from "../../../KeyDownListener/KeyDownListener.js";
|
|
10
10
|
import { createSizeToClassNameMap as ie } from "../../../../utils/classNameMaps.js";
|
|
11
|
-
const ne = "
|
|
11
|
+
const ne = "sliderExtendedTrack__98817778", ue = "lg__b2eeba92", fe = "focusedByClick__47220356", me = "hoverOrDragByMouse__10a508a8", he = "staticSlider__15a3c2a9", ge = "disabled__4cd433c8", o = {
|
|
12
12
|
sliderExtendedTrack: ne,
|
|
13
|
-
lg:
|
|
14
|
-
focusedByClick:
|
|
13
|
+
lg: ue,
|
|
14
|
+
focusedByClick: fe,
|
|
15
15
|
hoverOrDragByMouse: me,
|
|
16
16
|
staticSlider: he,
|
|
17
17
|
disabled: ge
|
|
@@ -26,7 +26,7 @@ const ne = "sliderExtendedTrack__853145f1", fe = "lg__2643545c", ue = "focusedBy
|
|
|
26
26
|
onTouchStart: y,
|
|
27
27
|
...A
|
|
28
28
|
}) => {
|
|
29
|
-
const [W, C] =
|
|
29
|
+
const [W, C] = a(!1), [l, S] = a(!1), [H, v] = a(!1), [V, d] = a(!1), [U, b] = a(-1), {
|
|
30
30
|
disabled: M,
|
|
31
31
|
dots: s,
|
|
32
32
|
focused: i,
|
|
@@ -35,49 +35,49 @@ const ne = "sliderExtendedTrack__853145f1", fe = "lg__2643545c", ue = "focusedBy
|
|
|
35
35
|
setIsHoverOrDragTrack: n,
|
|
36
36
|
reverse: _,
|
|
37
37
|
setFocused: R,
|
|
38
|
-
steps:
|
|
38
|
+
steps: u,
|
|
39
39
|
size: $
|
|
40
|
-
} =
|
|
40
|
+
} = ae(le), f = O(0), m = O(null);
|
|
41
41
|
if (P(() => {
|
|
42
|
-
s.length > 1 && k ?
|
|
42
|
+
s.length > 1 && k ? l || S(!0) : l !== !1 && S(!1);
|
|
43
43
|
}, [s, k]), P(() => {
|
|
44
44
|
s.length > 1 && b(i ? 2 : -1);
|
|
45
45
|
}, [i]), !s.length)
|
|
46
46
|
return null;
|
|
47
47
|
const w = (e) => (t) => {
|
|
48
|
-
v(!0), d(!0), document.addEventListener("mouseup", N), r && (
|
|
48
|
+
v(!0), d(!0), document.addEventListener("mouseup", N), r && (f.current = z.getNormalizedCursorValue({
|
|
49
49
|
cursorXPosition: t.clientX,
|
|
50
50
|
railNode: r
|
|
51
51
|
})), e(t), x == null || x(t);
|
|
52
|
-
}, G = (e) =>
|
|
53
|
-
cursorPrevNormalizedValue:
|
|
52
|
+
}, G = (e) => c.dragDots({
|
|
53
|
+
cursorPrevNormalizedValue: f,
|
|
54
54
|
cursorXPosition: e.clientX,
|
|
55
55
|
dots: s,
|
|
56
56
|
railNode: r,
|
|
57
57
|
reverse: _,
|
|
58
|
-
steps:
|
|
58
|
+
steps: u
|
|
59
59
|
}), N = (e) => {
|
|
60
60
|
d(!1), e.target !== m.current && n(!1), document.removeEventListener("mouseup", N);
|
|
61
61
|
}, Y = (e) => (t) => {
|
|
62
|
-
t.touches.length == 1 && (v(!0), d(!0), document.addEventListener("touchend", I), r && (
|
|
62
|
+
t.touches.length == 1 && (v(!0), d(!0), document.addEventListener("touchend", I), r && (f.current = z.getNormalizedCursorValue({
|
|
63
63
|
cursorXPosition: t.touches[0].clientX,
|
|
64
64
|
railNode: r
|
|
65
65
|
})), e(t), y == null || y(t));
|
|
66
66
|
}, q = (e) => {
|
|
67
|
-
e.touches.length == 1 && (e.cancelable && e.preventDefault(),
|
|
68
|
-
cursorPrevNormalizedValue:
|
|
67
|
+
e.touches.length == 1 && (e.cancelable && e.preventDefault(), c.dragDots({
|
|
68
|
+
cursorPrevNormalizedValue: f,
|
|
69
69
|
cursorXPosition: e.touches[0].clientX,
|
|
70
70
|
dots: s,
|
|
71
71
|
railNode: r,
|
|
72
72
|
reverse: _,
|
|
73
|
-
steps:
|
|
73
|
+
steps: u
|
|
74
74
|
}));
|
|
75
75
|
}, I = (e) => {
|
|
76
76
|
e.cancelable && e.preventDefault(), d(!1), e.target !== m.current && n(!1), document.removeEventListener("touchend", I);
|
|
77
77
|
}, J = (e) => {
|
|
78
|
-
e.preventDefault(),
|
|
78
|
+
e.preventDefault(), c.moveToPrevStep(s, u);
|
|
79
79
|
}, Q = (e) => {
|
|
80
|
-
e.preventDefault(),
|
|
80
|
+
e.preventDefault(), c.moveToNextStep(s, u);
|
|
81
81
|
}, Z = (e) => {
|
|
82
82
|
i || R(!0), C(!0), E == null || E(e);
|
|
83
83
|
}, ee = (e) => {
|
|
@@ -86,7 +86,7 @@ const ne = "sliderExtendedTrack__853145f1", fe = "lg__2643545c", ue = "focusedBy
|
|
|
86
86
|
n(!0), D == null || D(e);
|
|
87
87
|
}, se = (e) => {
|
|
88
88
|
V || n(!1), T == null || T(e);
|
|
89
|
-
}, { left: re, right: oe } =
|
|
89
|
+
}, { left: re, right: oe } = c.getTrackPosition({ dots: s, reverse: _ });
|
|
90
90
|
return /* @__PURE__ */ B(L, { children: [
|
|
91
91
|
W && /* @__PURE__ */ B(L, { children: [
|
|
92
92
|
/* @__PURE__ */ h(
|
|
@@ -114,14 +114,14 @@ const ne = "sliderExtendedTrack__853145f1", fe = "lg__2643545c", ue = "focusedBy
|
|
|
114
114
|
"span",
|
|
115
115
|
{
|
|
116
116
|
role: "button",
|
|
117
|
-
tabIndex: !M &&
|
|
117
|
+
tabIndex: !M && l ? U : -1,
|
|
118
118
|
...A,
|
|
119
|
-
className:
|
|
119
|
+
className: ce(o.sliderExtendedTrack, pe[$], K, {
|
|
120
120
|
[o.disabled]: M,
|
|
121
121
|
[o.focusedByClick]: H,
|
|
122
122
|
[o.hoverOrDragByMouse]: j,
|
|
123
123
|
// Не перетаскиваемый.
|
|
124
|
-
[o.staticSlider]: !
|
|
124
|
+
[o.staticSlider]: !l
|
|
125
125
|
}),
|
|
126
126
|
onBlur: ee,
|
|
127
127
|
onFocus: Z,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
const o = "
|
|
4
|
+
const o = "smallInput__e646a41c", e = {
|
|
5
5
|
smallInput: o
|
|
6
|
-
},
|
|
7
|
-
|
|
6
|
+
}, n = m.forwardRef(({ className: t, ...l }, a) => /* @__PURE__ */ s("input", { className: p(e.smallInput, t), ...l, type: "text", ref: a }));
|
|
7
|
+
n.displayName = "SmallInput";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
n as SmallInput
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=SmallInput.js.map
|
|
@@ -10,7 +10,7 @@ import { EButtonTheme as R } from "../Button/enums.js";
|
|
|
10
10
|
import { EComponentSize as s } 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-DudMBGKr.js";
|
|
13
|
-
const y = "
|
|
13
|
+
const y = "spoiler__0e5d2c15", D = "opened__cf0240df", q = "caretIcon__8b5f9b77", A = "head__56b6d936", G = "content__16210aa6", H = "hidden__d5259204", K = "lg__cbf58916", $ = "md__ef63e6c5", F = "sm__198d41e3", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -24,9 +24,9 @@ const y = "spoiler__72163c99", D = "opened__222b2923", q = "caretIcon__7299104a"
|
|
|
24
24
|
[s.SM]: /* @__PURE__ */ a(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
25
|
[s.MD]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
26
|
[s.LG]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon })
|
|
27
|
-
}, O = g(e), P = z.forwardRef((
|
|
27
|
+
}, O = g(e), P = z.forwardRef((f, h) => {
|
|
28
28
|
const {
|
|
29
|
-
children:
|
|
29
|
+
children: I,
|
|
30
30
|
expanded: c,
|
|
31
31
|
onToggle: o,
|
|
32
32
|
toggle: n,
|
|
@@ -35,8 +35,8 @@ const y = "spoiler__72163c99", D = "opened__222b2923", q = "caretIcon__7299104a"
|
|
|
35
35
|
labelCollapse: u,
|
|
36
36
|
rightBlock: N,
|
|
37
37
|
size: r = s.MD,
|
|
38
|
-
...
|
|
39
|
-
} =
|
|
38
|
+
...C
|
|
39
|
+
} = f, d = c !== void 0, [b, v] = T(c), t = d ? c : b, m = E(`Spoiler-${j()}`), M = w(() => {
|
|
40
40
|
const i = !t;
|
|
41
41
|
d ? n == null || n(i) : v(i), o == null || o(i);
|
|
42
42
|
}, [d, n, t, o]), k = _(
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__72163c99", D = "opened__222b2923", q = "caretIcon__7299104a"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...C, className: k, "data-tx": "1.28.0", ref: h, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -65,7 +65,7 @@ const y = "spoiler__72163c99", D = "opened__222b2923", q = "caretIcon__7299104a"
|
|
|
65
65
|
),
|
|
66
66
|
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */ a("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children:
|
|
68
|
+
/* @__PURE__ */ a("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: I })
|
|
69
69
|
] });
|
|
70
70
|
});
|
|
71
71
|
P.displayName = "Spoiler";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { c as a } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-CF7eqrdv.js";
|
|
5
5
|
import { EStatusTrackerType as t, EStatusTrackerVerticalAlign as o } from "./enums.js";
|
|
6
6
|
import { StatusTrackerMedia as u } from "./components/StatusTrackerMedia.js";
|
|
7
7
|
import { StatusTrackerHeader as k } from "./components/StatusTrackerHeader.js";
|
|
@@ -23,7 +23,7 @@ const c = {
|
|
|
23
23
|
className: a(r.statusTrackerWrapper, m),
|
|
24
24
|
...d,
|
|
25
25
|
ref: T,
|
|
26
|
-
"data-tx": "1.
|
|
26
|
+
"data-tx": "1.28.0",
|
|
27
27
|
children: [
|
|
28
28
|
/* @__PURE__ */ s("div", { className: a(r.statusTrackerBackground, c[e]), children: /* @__PURE__ */ s("div", { className: a(r.statusTrackerColor, c[e]) }) }, e),
|
|
29
29
|
/* @__PURE__ */ s("div", { className: a(r.statusTracker, S[l]), children: i })
|
|
@@ -3,7 +3,7 @@ import { c as m } from "../../../chunks/vendor-DudMBGKr.js";
|
|
|
3
3
|
import "../../Alert/AlertContext/AlertContext.js";
|
|
4
4
|
import { AlertProcess as i } from "../../Alert/AlertProcess/AlertProcess.js";
|
|
5
5
|
import "../../Alert/AlertTypeUtils.js";
|
|
6
|
-
import { s as p } from "../../../chunks/StatusTracker.module-
|
|
6
|
+
import { s as p } from "../../../chunks/StatusTracker.module-CF7eqrdv.js";
|
|
7
7
|
import { ETextSize as c, EFontType as a } from "../../Typography/enums.js";
|
|
8
8
|
import "../../Typography/Caption.js";
|
|
9
9
|
import "../../Typography/CodeText.js";
|
|
@@ -3,7 +3,7 @@ import e from "react";
|
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { StatusTrackerStatus as c } from "./StatusTrackerStatus.js";
|
|
5
5
|
import { StatusTrackerAlert as i } from "./StatusTrackerAlert.js";
|
|
6
|
-
import { s as u } from "../../../chunks/StatusTracker.module-
|
|
6
|
+
import { s as u } from "../../../chunks/StatusTracker.module-CF7eqrdv.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
e.forwardRef(function({ children: t, className: r, ...a }, s) {
|
|
9
9
|
return /* @__PURE__ */ o("div", { className: m(u.statusTrackerChild, r), ...a, ref: s, children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as m } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as a } from "../../../chunks/StatusTracker.module-CF7eqrdv.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-CF7eqrdv.js";
|
|
9
9
|
const E = (r) => {
|
|
10
10
|
const { children: t, className: s, ...o } = r;
|
|
11
11
|
return /* @__PURE__ */ e(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
3
|
import { c as i } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-CF7eqrdv.js";
|
|
5
5
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
6
6
|
import { StatusTrackerButton as p } from "./StatusTrackerButton.js";
|
|
7
7
|
const u = Object.assign(
|
|
@@ -4,7 +4,7 @@ import { c as i } from "../../../chunks/vendor-DudMBGKr.js";
|
|
|
4
4
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
5
5
|
import { StatusTrackerTitle as c } from "./StatusTrackerTitle.js";
|
|
6
6
|
import { StatusTrackerSum as u } from "./StatusTrackerSum.js";
|
|
7
|
-
import { s as f } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as f } from "../../../chunks/StatusTracker.module-CF7eqrdv.js";
|
|
8
8
|
const p = Object.assign(
|
|
9
9
|
o.forwardRef(function({ children: r, className: t, ...a }, e) {
|
|
10
10
|
return /* @__PURE__ */ s("div", { className: i(f.statusTrackerChild, t), ...a, ref: e, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { c } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-CF7eqrdv.js";
|
|
4
4
|
const d = (s) => {
|
|
5
5
|
const { children: r, className: t, ...a } = s;
|
|
6
6
|
return /* @__PURE__ */ e("div", { className: c(o.statusTrackerChild, t), ...a, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { s as m } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-CF7eqrdv.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-CF7eqrdv.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-CF7eqrdv.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
|
@@ -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__d1204310", P = "sm__45987137", R = "md__1c08f67c", b = "lg__68757009", x = "done__1ddfbd08", C = "warning__b12d3667", h = "active__19e7f4ff", v = "error__007e6106", z = "disabled__4c736b05", t = {
|
|
15
|
+
step: M,
|
|
16
|
+
sm: P,
|
|
17
|
+
md: R,
|
|
18
|
+
lg: b,
|
|
19
|
+
default: "default__25f25704",
|
|
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__320e5d42", x = "done__b5d4912e", b = "warning__da1ff5a9", 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:
|
|
39
|
+
step: m,
|
|
40
|
+
status: _,
|
|
41
|
+
position: p = e.Default,
|
|
42
|
+
size: d = I.MD,
|
|
37
43
|
...f
|
|
38
44
|
}) => {
|
|
39
|
-
const
|
|
40
|
-
return r ? /* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */ i(a.Target, { children:
|
|
45
|
+
const c = g(null), T = y[p], S = O(t.step, w[_], B[d], s), l = () => /* @__PURE__ */ i("div", { ref: c, className: S, ...f, children: /* @__PURE__ */ i(D, { size: N.B1, weight: u.SEMIBOLD, children: m }) });
|
|
46
|
+
return r ? /* @__PURE__ */ E(a, { size: A.SM, toggleType: "hover", alignTip: T, 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,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { useState as A, useRef as
|
|
2
|
+
import { useState as A, useRef as N, useCallback as p, useEffect as w } from "react";
|
|
3
3
|
import { c as l } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { CaretleftStrokeSrvIcon24 as y, CaretrightStrokeSrvIcon24 as j } from "@sberbusiness/icons-next";
|
|
5
5
|
import { CarouselExtended as z } from "../CarouselExtended/CarouselExtended.js";
|
|
@@ -11,7 +11,7 @@ import { scrollSmoothHorizontally as h } from "../../utils/scroll.js";
|
|
|
11
11
|
import { EComponentSize as X } from "../../enums/EComponentSize.js";
|
|
12
12
|
import { EScreenWidth as $ } from "../../helpers/breakpoints.js";
|
|
13
13
|
import "./enums.js";
|
|
14
|
-
const q = "
|
|
14
|
+
const q = "stepperCarousel__3dccf9df", D = "stepperButtonWrapper__63b8ba73", F = "prev__e4b63062", J = "next__bd825cb4", K = "stepperButton__19fbeca2", Q = "sm__04653c45", U = "md__d76e2c03", V = "lg__68370bb1", s = {
|
|
15
15
|
stepperCarousel: q,
|
|
16
16
|
stepperButtonWrapper: D,
|
|
17
17
|
prev: F,
|
|
@@ -27,7 +27,7 @@ const q = "stepperCarousel__c8ee695c", D = "stepperButtonWrapper__0e2df55e", F =
|
|
|
27
27
|
selectedStepId: c,
|
|
28
28
|
...M
|
|
29
29
|
}) => {
|
|
30
|
-
const [x, P] = A({ stepNext: 0, stepPrev: 0 }), m =
|
|
30
|
+
const [x, P] = A({ stepNext: 0, stepPrev: 0 }), m = N(null), b = N({}), L = S.findIndex((t) => t.id === c), O = p(
|
|
31
31
|
({ hidden: t, ...e }) => t ? null : /* @__PURE__ */ n("div", { className: l(s.stepperButtonWrapper, s.prev), children: /* @__PURE__ */ n(
|
|
32
32
|
E,
|
|
33
33
|
{
|
|
@@ -65,31 +65,31 @@ const q = "stepperCarousel__c8ee695c", D = "stepperButtonWrapper__0e2df55e", F =
|
|
|
65
65
|
e.disconnect();
|
|
66
66
|
};
|
|
67
67
|
}, []);
|
|
68
|
-
const
|
|
68
|
+
const v = p(
|
|
69
69
|
(t, e, r, o) => {
|
|
70
70
|
r > 0 && (e.nextElementSibling && (r -= o - e.nextElementSibling.getBoundingClientRect().right), h(t, Math.ceil(r)));
|
|
71
71
|
},
|
|
72
72
|
[]
|
|
73
|
-
),
|
|
73
|
+
), C = p(
|
|
74
74
|
(t, e, r, o) => {
|
|
75
75
|
r < 0 && (e.previousElementSibling && (r -= o - e.previousElementSibling.getBoundingClientRect().left), h(t, Math.floor(r)));
|
|
76
76
|
},
|
|
77
77
|
[]
|
|
78
|
-
),
|
|
78
|
+
), _ = p((t, e) => {
|
|
79
79
|
e && h(t, e);
|
|
80
|
-
}, []),
|
|
80
|
+
}, []), B = p(
|
|
81
81
|
(t, e) => {
|
|
82
|
-
const { left: r, right: o, width: a } = t.getBoundingClientRect(), { left:
|
|
83
|
-
window.matchMedia(`(max-width: ${$.SM_MAX})`).matches ?
|
|
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
84
|
},
|
|
85
|
-
[
|
|
85
|
+
[_, C, v]
|
|
86
86
|
);
|
|
87
87
|
return w(() => {
|
|
88
88
|
if (c) {
|
|
89
|
-
const { current: t } = m, e =
|
|
90
|
-
t && e &&
|
|
89
|
+
const { current: t } = m, e = b.current[c];
|
|
90
|
+
t && e && B(t, e);
|
|
91
91
|
}
|
|
92
|
-
}, [c,
|
|
92
|
+
}, [c, B]), /* @__PURE__ */ n(
|
|
93
93
|
z,
|
|
94
94
|
{
|
|
95
95
|
className: l(s.stepperCarousel, g[i], I),
|
|
@@ -101,7 +101,7 @@ const q = "stepperCarousel__c8ee695c", D = "stepperButtonWrapper__0e2df55e", F =
|
|
|
101
101
|
children: /* @__PURE__ */ n(W, { selectedStepId: c, size: i, ...M, children: S.map(({ label: t, ...e }, r) => /* @__PURE__ */ n(
|
|
102
102
|
W.Step,
|
|
103
103
|
{
|
|
104
|
-
forwardedRef: (o) =>
|
|
104
|
+
forwardedRef: (o) => b.current[e.id] = o,
|
|
105
105
|
...e,
|
|
106
106
|
isInActiveStep: r > L,
|
|
107
107
|
children: t
|