@sberbusiness/triplex-next 0.32.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -32
- package/chunks/AlertProcessSpoiler-D5Z3QhxI.js +41 -0
- package/chunks/{CalendarViewItem-DnsWMQ6f.js → CalendarViewItem-jaPGc7g9.js} +19 -19
- package/chunks/Card.module-BT82F3Ky.js +18 -0
- package/chunks/CheckboxTreeExtended.module-dWJEHy4I.js +15 -0
- package/chunks/Chip-DEoNciDr.js +85 -0
- package/chunks/Confirm.module-Bek5Y_d5.js +15 -0
- package/chunks/{DropdownListItem-Bp1g9j21.js → DropdownListItem-9uM7fY6X.js} +19 -19
- package/chunks/DropdownMobile.module-Dn9sFUCq.js +23 -0
- package/chunks/Footer.module-cwVzdGju.js +9 -0
- package/chunks/{FormFieldInput-DZ9wvF_L.js → FormFieldInput-CLHhO8Kh.js} +21 -21
- package/chunks/HeaderLayoutSidebar.module-By0WroW0.js +9 -0
- package/chunks/HeaderTabs.module-nNfmab3J.js +9 -0
- package/chunks/{HeaderTitle.module-Bjd_PeFL.js → HeaderTitle.module-D4SZQJKQ.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-BV4sYkkw.js +17 -0
- package/chunks/{ImageGalleryExtendedThumb-A47Rfe5O.js → ImageGalleryExtendedThumb-DVMRe0a9.js} +8 -8
- package/chunks/IslandAccordion.module-DZaeBDfB.js +25 -0
- package/chunks/IslandWidgetFooter.module-gs1vcAcR.js +9 -0
- package/chunks/IslandWidgetHeader.module-DCfKgbBN.js +13 -0
- package/chunks/{LightBoxContent-9n7KZhyO.js → LightBoxContent-CJPhUyR3.js} +8 -8
- package/chunks/LightBoxControls.module-Dw9yTb8h.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-PasYNDqH.js +9 -0
- package/chunks/{ListItemControlsButton-CvLzuMWL.js → ListItemControlsButton-BsJp3m-o.js} +11 -11
- package/chunks/ListItemTail.module-C_0Ilv6P.js +12 -0
- package/chunks/ListMasterFooter.module-BtdNBL90.js +10 -0
- package/chunks/ModalWindow.module-BL1rtFYz.js +17 -0
- package/chunks/Notification.module-DGitAi0W.js +20 -0
- package/chunks/Overlay.module-C4CvBteS.js +18 -0
- package/chunks/Page.module-C0z8yMeg.js +11 -0
- package/chunks/SMSField.module-BcNuX5lS.js +16 -0
- package/chunks/SliderExtendedMarks.module-C_x_7ws7.js +15 -0
- package/chunks/{SliderExtendedRail-BAv_g4xj.js → SliderExtendedRail-SYhKGslJ.js} +12 -12
- package/chunks/StatusTracker.module-DkbOCTwb.js +24 -0
- package/chunks/{StepperStepArrowBorder-zBMxIbHq.js → StepperStepArrowBorder-B59UgJt-.js} +6 -6
- package/chunks/{SuggestFieldMobileDropdownHint-DoCjNfsA.js → SuggestFieldMobileDropdownHint-GTMw7Nng.js} +2 -2
- package/chunks/TableFooter.module-CGgvFs4s.js +14 -0
- package/chunks/TabsExtended.module-D6URUq4g.js +16 -0
- package/chunks/TabsLine.module-DZEuIiZO.js +21 -0
- package/chunks/TooltipDesktop.module-DK_Fl-Dq.js +19 -0
- package/chunks/TreeView.module-Bq5-RYgn.js +9 -0
- package/chunks/{UploadZoneInput-CZ0-33sV.js → UploadZoneInput-NoKos3kX.js} +4 -4
- package/chunks/{constants-8_Umj6ax.js → constants-DXTFMfA_.js} +9 -9
- package/chunks/{utils-gmsD_32w.js → utils-C2i3hSWR.js} +4 -4
- package/chunks/utils-D55sjebM.js +73 -0
- package/chunks/utils-DDzMRlrV.js +28 -0
- package/chunks/utils-DVaJTyM2.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +4 -4
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +26 -26
- package/components/Badge/Badge.js +15 -15
- package/components/Badge/BadgeDot.js +6 -6
- package/components/Badge/components/BadgeContent.js +5 -5
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- 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 +8 -8
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +8 -8
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- 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 +8 -8
- 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 +10 -10
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +15 -15
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +46 -42
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +143 -143
- package/components/CollapsibleTree/CollapsibleTree.js +7 -7
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +5 -5
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +4 -4
- 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/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Button.js +1 -1
- package/components/DesignTokens/components/Chip.js +1 -1
- package/components/DesignTokens/components/LightBox.js +10 -4
- package/components/DesignTokens/components/Tabs.js +2 -2
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- 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 +5 -5
- package/components/EmptyView/EmptyView.js +7 -7
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/FocusTrapExtended/FocusTrapExtended.js +34 -0
- package/components/FocusTrapExtended/index.js +5 -0
- 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 +17 -17
- package/components/FormField/components/FormFieldClear.js +4 -4
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +8 -8
- package/components/FormField/components/FormFieldPostfix.js +3 -3
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +18 -18
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +11 -11
- 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 +6 -6
- 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 +4 -4
- package/components/IconWrapper/IconWrapper.js +11 -11
- package/components/ImageGallery/ImageGallery.js +10 -9
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +6 -6
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +12 -12
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +9 -8
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +1 -1
- package/components/ImageGalleryExtended/components/index.js +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- 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/IslandWidgetHeaderControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +51 -50
- 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 +105 -97
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +13 -13
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +16 -16
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +13 -13
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +12 -12
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +8 -8
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +4 -4
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +18 -18
- package/components/MobileView/index.js +3 -1
- package/components/MobileView/useMobileView.js +10 -0
- package/components/ModalWindow/ModalWindow.js +33 -33
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearRange/MonthYearRange.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- 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 +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +6 -6
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +14 -14
- 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 +2 -2
- package/components/SegmentedControl/SegmentedControlSegment.js +18 -18
- package/components/SelectExtendedField/SelectExtendedField.js +12 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +14 -14
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +12 -12
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +12 -12
- 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/StatusTrackerStatusGroup.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +12 -12
- package/components/Stepper/Stepper.js +31 -30
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Stepper/index.js +9 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -12
- 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 +15 -15
- package/components/Table/ChipPanel.js +1 -1
- package/components/Table/ChipPanelLinks.js +1 -1
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +9 -9
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- 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 +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +6 -6
- 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 +12 -11
- 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 +13 -13
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.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 +10 -10
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +1 -1
- package/components/TopOverlay/TopOverlay.js +44 -44
- 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 +24 -24
- package/components/Typography/CodeText.js +12 -12
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +28 -28
- package/components/Typography/constants.js +1 -1
- package/components/Typography/enums.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/UploadZone/index.js +1 -1
- package/components/index.js +363 -359
- package/index.d.ts +33 -39
- package/index.js +397 -393
- package/package.json +5 -1
- package/styles/triplex-next.css +557 -556
- package/chunks/AlertProcessSpoiler-DW0BhZ40.js +0 -41
- package/chunks/Card.module-CXz8VlRt.js +0 -18
- package/chunks/CheckboxTreeExtended.module-eCBHjGXW.js +0 -15
- package/chunks/Chip-C4673wYg.js +0 -85
- package/chunks/Confirm.module-DXe0cS1V.js +0 -15
- package/chunks/DropdownMobile.module-B-gfhyrz.js +0 -23
- package/chunks/Footer.module-CHW5czGs.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-ChykZk2C.js +0 -9
- package/chunks/HeaderTabs.module-CXzQ8YYa.js +0 -9
- package/chunks/ImageGalleryExtendedMain.module-DtrGKrbn.js +0 -17
- package/chunks/IslandAccordion.module-Cez7gPQx.js +0 -25
- package/chunks/IslandWidgetFooter.module-DJ6DLnlZ.js +0 -9
- package/chunks/IslandWidgetHeader.module-Cax47StS.js +0 -13
- package/chunks/LightBoxControls.module-CqE7tSjd.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-76jyTCms.js +0 -9
- package/chunks/ListItemTail.module-Cj1qtzG7.js +0 -12
- package/chunks/ListMasterFooter.module-BFddN0Fo.js +0 -10
- package/chunks/ModalWindow.module-DRSCJT-j.js +0 -17
- package/chunks/Notification.module-XEc1_4xz.js +0 -20
- package/chunks/Overlay.module-CG_bCws2.js +0 -18
- package/chunks/Page.module-w5MrLoeL.js +0 -11
- package/chunks/SMSField.module-CKYqfE0O.js +0 -16
- package/chunks/SliderExtendedMarks.module-BrV0KqUb.js +0 -15
- package/chunks/StatusTracker.module-Bxjr2F_-.js +0 -24
- package/chunks/TableFooter.module-nSntoxBZ.js +0 -14
- package/chunks/TabsExtended.module-BAblULYn.js +0 -16
- package/chunks/TabsLine.module-BB5LVegW.js +0 -21
- package/chunks/TooltipDesktop.module-DNiN5lh5.js +0 -19
- package/chunks/TreeView.module-C8K0ykxB.js +0 -9
- package/chunks/utils-BT5PPv2k.js +0 -24
- package/chunks/utils-CP79T5VE.js +0 -73
- package/chunks/utils-De8Skuhh.js +0 -28
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsxs as B, Fragment as L, jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useContext as ce, useRef as O, useLayoutEffect as P } from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
import { SliderExtendedContext as
|
|
3
|
+
import { c as de, l as X } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { SliderExtendedContext as le } from "../../SliderExtendedContext.js";
|
|
5
5
|
import { SliderExtendedMoveHandler as ae } from "../SliderExtendedMoveHandler.js";
|
|
6
6
|
import { SliderExtendedUtils as z } from "../../SliderExtendedUtils.js";
|
|
7
|
-
import { SliderExtendedTrackActions as
|
|
7
|
+
import { SliderExtendedTrackActions as d } 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__515dc6c3", ue = "lg__b19d94cb", fe = "focusedByClick__6b37fafc", me = "hoverOrDragByMouse__d34cfdd6", he = "staticSlider__d76b50e7", ge = "disabled__5e5606e9", 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
|
|
18
18
|
}, pe = ie(o), Ee = ({
|
|
19
19
|
className: K,
|
|
20
|
-
draggable:
|
|
20
|
+
draggable: b = !0,
|
|
21
21
|
onBlur: p,
|
|
22
22
|
onFocus: E,
|
|
23
23
|
onMouseDown: x,
|
|
@@ -26,7 +26,7 @@ const ne = "sliderExtendedTrack__cef1c544", fe = "lg__f8cc176c", ue = "focusedBy
|
|
|
26
26
|
onTouchStart: y,
|
|
27
27
|
...A
|
|
28
28
|
}) => {
|
|
29
|
-
const [W,
|
|
29
|
+
const [W, k] = c(!1), [l, C] = c(!1), [H, v] = c(!1), [V, a] = c(!1), [U, S] = c(-1), {
|
|
30
30
|
disabled: M,
|
|
31
31
|
dots: s,
|
|
32
32
|
focused: i,
|
|
@@ -35,58 +35,58 @@ const ne = "sliderExtendedTrack__cef1c544", fe = "lg__f8cc176c", ue = "focusedBy
|
|
|
35
35
|
setIsHoverOrDragTrack: n,
|
|
36
36
|
reverse: _,
|
|
37
37
|
setFocused: R,
|
|
38
|
-
steps:
|
|
38
|
+
steps: u,
|
|
39
39
|
size: $
|
|
40
|
-
} = ce(
|
|
40
|
+
} = ce(le), f = O(0), m = O(null);
|
|
41
41
|
if (P(() => {
|
|
42
|
-
s.length > 1 &&
|
|
43
|
-
}, [s,
|
|
44
|
-
s.length > 1 &&
|
|
42
|
+
s.length > 1 && b ? l || C(!0) : l !== !1 && C(!1);
|
|
43
|
+
}, [s, b]), P(() => {
|
|
44
|
+
s.length > 1 && S(i ? 2 : -1);
|
|
45
45
|
}, [i]), !s.length)
|
|
46
46
|
return null;
|
|
47
47
|
const w = (e) => (t) => {
|
|
48
|
-
v(!0), a(!0), document.addEventListener("mouseup", N), r && (
|
|
48
|
+
v(!0), a(!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) => d.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
|
a(!1), e.target !== m.current && n(!1), document.removeEventListener("mouseup", N);
|
|
61
61
|
}, Y = (e) => (t) => {
|
|
62
|
-
t.touches.length == 1 && (v(!0), a(!0), document.addEventListener("touchend", I), r && (
|
|
62
|
+
t.touches.length == 1 && (v(!0), a(!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(), d.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(), a(!1), e.target !== m.current && n(!1), document.removeEventListener("touchend", I);
|
|
77
77
|
}, J = (e) => {
|
|
78
|
-
e.preventDefault(),
|
|
78
|
+
e.preventDefault(), d.moveToPrevStep(s, u);
|
|
79
79
|
}, Q = (e) => {
|
|
80
|
-
e.preventDefault(),
|
|
80
|
+
e.preventDefault(), d.moveToNextStep(s, u);
|
|
81
81
|
}, Z = (e) => {
|
|
82
|
-
i || R(!0),
|
|
82
|
+
i || R(!0), k(!0), E == null || E(e);
|
|
83
83
|
}, ee = (e) => {
|
|
84
|
-
i && R(!1), v(!1),
|
|
84
|
+
i && R(!1), v(!1), k(!1), p == null || p(e);
|
|
85
85
|
}, te = (e) => {
|
|
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 } = d.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__cef1c544", fe = "lg__f8cc176c", 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: de(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,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const o = "
|
|
4
|
+
const o = "smallInput__df8fda36", n = {
|
|
5
5
|
smallInput: o
|
|
6
|
-
}, r =
|
|
6
|
+
}, r = m.forwardRef(({ className: t, ...l }, s) => /* @__PURE__ */ a("input", { className: p(n.smallInput, t), ...l, type: "text", ref: s }));
|
|
7
7
|
r.displayName = "SmallInput";
|
|
8
8
|
export {
|
|
9
9
|
r as SmallInput
|
|
@@ -9,8 +9,8 @@ import "../Button/ButtonDropdownExtended.js";
|
|
|
9
9
|
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
|
-
import { u as j, c as
|
|
13
|
-
const y = "
|
|
12
|
+
import { u as j, c as _ } from "../../chunks/vendor-z35N2Tap.js";
|
|
13
|
+
const y = "spoiler__2e8f1556", D = "opened__d94d3907", q = "caretIcon__e3837ec7", A = "head__81b8afb7", G = "content__0aa25333", H = "hidden__e064017f", K = "lg__72e5398b", $ = "md__08317c48", F = "sm__62b1f853", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -24,7 +24,7 @@ const y = "spoiler__9750f4b6", D = "opened__3c3a021a", q = "caretIcon__14a27e0b"
|
|
|
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
29
|
children: I,
|
|
30
30
|
expanded: c,
|
|
@@ -32,14 +32,14 @@ const y = "spoiler__9750f4b6", D = "opened__3c3a021a", q = "caretIcon__14a27e0b"
|
|
|
32
32
|
toggle: n,
|
|
33
33
|
className: x,
|
|
34
34
|
labelExpand: S,
|
|
35
|
-
labelCollapse:
|
|
36
|
-
rightBlock:
|
|
35
|
+
labelCollapse: u,
|
|
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
|
-
}, [d, n, t, o]), k =
|
|
42
|
+
}, [d, n, t, o]), k = _(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
45
45
|
{
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__9750f4b6", D = "opened__3c3a021a", q = "caretIcon__14a27e0b"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...C, className: k, "data-tx": "0.33.0", ref: h, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -58,14 +58,14 @@ const y = "spoiler__9750f4b6", D = "opened__3c3a021a", q = "caretIcon__14a27e0b"
|
|
|
58
58
|
size: r,
|
|
59
59
|
onClick: M,
|
|
60
60
|
children: [
|
|
61
|
-
t ?
|
|
61
|
+
t ? u : S,
|
|
62
62
|
J[r]
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */ a("div", { id: m.current, className:
|
|
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 d, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
3
|
import { c as a } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-DkbOCTwb.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";
|
|
@@ -27,7 +27,7 @@ const i = {
|
|
|
27
27
|
className: a(r.statusTrackerWrapper, m),
|
|
28
28
|
...p,
|
|
29
29
|
ref: T,
|
|
30
|
-
"data-tx": "0.
|
|
30
|
+
"data-tx": "0.33.0",
|
|
31
31
|
children: [
|
|
32
32
|
/* @__PURE__ */ s("div", { className: a(r.statusTrackerBackground, i[e]), children: /* @__PURE__ */ s("div", { className: a(r.statusTrackerColor, i[e]) }) }, e),
|
|
33
33
|
/* @__PURE__ */ s("div", { className: a(r.statusTracker, S[l]), children: c })
|
|
@@ -3,7 +3,7 @@ import { c as m } from "../../../chunks/vendor-z35N2Tap.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-DkbOCTwb.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";
|
|
@@ -4,7 +4,7 @@ import { c as m } from "../../../chunks/vendor-z35N2Tap.js";
|
|
|
4
4
|
import { StatusTrackerAlert as u } from "./StatusTrackerAlert.js";
|
|
5
5
|
import { StatusTrackerStatus as c } from "./StatusTrackerStatus.js";
|
|
6
6
|
import { StatusTrackerStatusGroup as i } from "./StatusTrackerStatusGroup.js";
|
|
7
|
-
import { s as p } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as p } from "../../../chunks/StatusTracker.module-DkbOCTwb.js";
|
|
8
8
|
const f = Object.assign(
|
|
9
9
|
e.forwardRef(function({ children: t, className: r, ...a }, s) {
|
|
10
10
|
return /* @__PURE__ */ o("div", { className: m(p.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-z35N2Tap.js";
|
|
3
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as a } from "../../../chunks/StatusTracker.module-DkbOCTwb.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-DkbOCTwb.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-z35N2Tap.js";
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-DkbOCTwb.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-z35N2Tap.js";
|
|
|
4
4
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
5
5
|
import { StatusTrackerTitle as c } from "./StatusTrackerTitle.js";
|
|
6
6
|
import { StatusTrackerSum as p } from "./StatusTrackerSum.js";
|
|
7
|
-
import { s as u } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as u } from "../../../chunks/StatusTracker.module-DkbOCTwb.js";
|
|
8
8
|
const f = Object.assign(
|
|
9
9
|
o.forwardRef(function({ children: r, className: t, ...a }, e) {
|
|
10
10
|
return /* @__PURE__ */ s("div", { className: i(u.statusTrackerChild, t), ...a, ref: e, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { c } from "../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-DkbOCTwb.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-z35N2Tap.js";
|
|
3
|
-
import { s as m } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-DkbOCTwb.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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
3
|
import { c } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const e = "
|
|
4
|
+
const e = "statusTrackerStatusGroup__12ec0b31", p = {
|
|
5
5
|
statusTrackerStatusGroup: e
|
|
6
6
|
}, m = o.forwardRef(
|
|
7
7
|
({ children: t, className: r, ...s }, a) => /* @__PURE__ */ u("div", { className: c(p.statusTrackerStatusGroup, r), ...s, ref: a, children: t })
|
|
@@ -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-DkbOCTwb.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-DkbOCTwb.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
|
@@ -2,7 +2,7 @@ import { jsxs as E, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as g } from "react";
|
|
3
3
|
import { EStepStatus as o, EStepPosition as e } from "./enums.js";
|
|
4
4
|
import { ETooltipAlign as n, ETooltipSize as A } from "../Tooltip/enums.js";
|
|
5
|
-
import { Tooltip as
|
|
5
|
+
import { Tooltip as a } from "../Tooltip/Tooltip.js";
|
|
6
6
|
import { EFontWeightText as u, ETextSize as N } from "../Typography/enums.js";
|
|
7
7
|
import "../Typography/Caption.js";
|
|
8
8
|
import "../Typography/CodeText.js";
|
|
@@ -11,12 +11,12 @@ import "../Typography/Title.js";
|
|
|
11
11
|
import { c as D } from "../../chunks/vendor-z35N2Tap.js";
|
|
12
12
|
import { EComponentSize as O } from "../../enums/EComponentSize.js";
|
|
13
13
|
import { createSizeToClassNameMap as I } from "../../utils/classNameMaps.js";
|
|
14
|
-
const L = "
|
|
14
|
+
const L = "step__2db96937", M = "sm__f2d996b1", P = "md__3134727c", R = "lg__2bd479d4", x = "done__89425410", C = "warning__82a726b9", h = "active__6d8f0e37", v = "error__0e805868", z = "disabled__0f6b3ba1", t = {
|
|
15
15
|
step: L,
|
|
16
16
|
sm: M,
|
|
17
17
|
md: P,
|
|
18
18
|
lg: R,
|
|
19
|
-
default: "
|
|
19
|
+
default: "default__abe7528a",
|
|
20
20
|
done: x,
|
|
21
21
|
warning: C,
|
|
22
22
|
active: h,
|
|
@@ -36,17 +36,17 @@ const L = "step__d2e6dcc1", M = "sm__a5c3732c", P = "md__79ec3cd4", R = "lg__7c7
|
|
|
36
36
|
}, B = I(t), Y = (r, s) => s === 0 ? e.XFirst : s + 1 === r ? e.XLast : e.Default, F = ({
|
|
37
37
|
children: r,
|
|
38
38
|
className: s,
|
|
39
|
-
step:
|
|
40
|
-
status:
|
|
41
|
-
position:
|
|
42
|
-
size:
|
|
39
|
+
step: m,
|
|
40
|
+
status: _,
|
|
41
|
+
position: p = e.Default,
|
|
42
|
+
size: d = O.MD,
|
|
43
43
|
...f
|
|
44
44
|
}) => {
|
|
45
|
-
const
|
|
46
|
-
return r ? /* @__PURE__ */ E(
|
|
47
|
-
/* @__PURE__ */ i(
|
|
48
|
-
/* @__PURE__ */ i(
|
|
49
|
-
] }) :
|
|
45
|
+
const l = g(null), T = y[p], S = D(t.step, w[_], B[d], s), c = () => /* @__PURE__ */ i("div", { ref: l, className: S, ...f, children: /* @__PURE__ */ i(b, { size: N.B1, weight: u.SEMIBOLD, children: m }) });
|
|
46
|
+
return r ? /* @__PURE__ */ E(a, { size: A.SM, toggleType: "hover", alignTip: T, targetRef: l, children: [
|
|
47
|
+
/* @__PURE__ */ i(a.Target, { children: c() }),
|
|
48
|
+
/* @__PURE__ */ i(a.Body, { children: r })
|
|
49
|
+
] }) : c();
|
|
50
50
|
};
|
|
51
51
|
F.displayName = "Step";
|
|
52
52
|
export {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./enums.js";
|
|
1
2
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
3
|
import { useState as A, useRef as N, useCallback as p, useEffect as w } from "react";
|
|
3
4
|
import { c as l } from "../../chunks/vendor-z35N2Tap.js";
|
|
@@ -10,8 +11,8 @@ import { createSizeToClassNameMap as H } from "../../utils/classNameMaps.js";
|
|
|
10
11
|
import { scrollSmoothHorizontally as h } from "../../utils/scroll.js";
|
|
11
12
|
import { EComponentSize as X } from "../../enums/EComponentSize.js";
|
|
12
13
|
import { EScreenWidth as $ } from "../../helpers/breakpoints.js";
|
|
13
|
-
import "./
|
|
14
|
-
const q = "
|
|
14
|
+
import "./StepperStepIcon.js";
|
|
15
|
+
const q = "stepperCarousel__6b4ffb64", D = "stepperButtonWrapper__bc736339", F = "prev__ac4cce93", J = "next__38ecdc67", K = "stepperButton__395ad61c", Q = "sm__c0014822", U = "md__d91e66af", V = "lg__46307780", s = {
|
|
15
16
|
stepperCarousel: q,
|
|
16
17
|
stepperButtonWrapper: D,
|
|
17
18
|
prev: F,
|
|
@@ -27,69 +28,69 @@ const q = "stepperCarousel__58a42485", D = "stepperButtonWrapper__ce59ad3b", F =
|
|
|
27
28
|
selectedStepId: c,
|
|
28
29
|
...M
|
|
29
30
|
}) => {
|
|
30
|
-
const [x, P] = A({ stepNext: 0, stepPrev: 0 }), m = N(null), v = N({}), L = S.findIndex((
|
|
31
|
-
({ hidden:
|
|
31
|
+
const [x, P] = A({ stepNext: 0, stepPrev: 0 }), m = N(null), v = N({}), L = S.findIndex((e) => e.id === c), O = p(
|
|
32
|
+
({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ n("div", { className: l(s.stepperButtonWrapper, s.prev), children: /* @__PURE__ */ n(
|
|
32
33
|
E,
|
|
33
34
|
{
|
|
34
35
|
className: l(s.stepperButton, g[i]),
|
|
35
36
|
tabIndex: -1,
|
|
36
|
-
...
|
|
37
|
+
...t,
|
|
37
38
|
children: /* @__PURE__ */ n(y, { paletteIndex: 5 })
|
|
38
39
|
}
|
|
39
40
|
) }),
|
|
40
41
|
[i]
|
|
41
42
|
), T = p(
|
|
42
|
-
({ hidden:
|
|
43
|
+
({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ n("div", { className: l(s.stepperButtonWrapper, s.next), children: /* @__PURE__ */ n(
|
|
43
44
|
E,
|
|
44
45
|
{
|
|
45
46
|
className: l(s.stepperButton, g[i]),
|
|
46
47
|
tabIndex: -1,
|
|
47
|
-
...
|
|
48
|
+
...t,
|
|
48
49
|
children: /* @__PURE__ */ n(j, { paletteIndex: 5 })
|
|
49
50
|
}
|
|
50
51
|
) }),
|
|
51
52
|
[i]
|
|
52
53
|
);
|
|
53
54
|
w(() => {
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
55
|
+
const e = m.current;
|
|
56
|
+
if (e === null)
|
|
56
57
|
return;
|
|
57
|
-
const
|
|
58
|
+
const t = new ResizeObserver((r) => {
|
|
58
59
|
const a = r[0].contentRect.width * Y;
|
|
59
60
|
P({
|
|
60
61
|
stepNext: a,
|
|
61
62
|
stepPrev: a
|
|
62
63
|
});
|
|
63
64
|
});
|
|
64
|
-
return
|
|
65
|
-
|
|
65
|
+
return t.observe(e), () => {
|
|
66
|
+
t.disconnect();
|
|
66
67
|
};
|
|
67
68
|
}, []);
|
|
68
69
|
const C = p(
|
|
69
|
-
(
|
|
70
|
-
r > 0 && (
|
|
70
|
+
(e, t, r, o) => {
|
|
71
|
+
r > 0 && (t.nextElementSibling && (r -= o - t.nextElementSibling.getBoundingClientRect().right), h(e, Math.ceil(r)));
|
|
71
72
|
},
|
|
72
73
|
[]
|
|
73
74
|
), _ = p(
|
|
74
|
-
(
|
|
75
|
-
r < 0 && (
|
|
75
|
+
(e, t, r, o) => {
|
|
76
|
+
r < 0 && (t.previousElementSibling && (r -= o - t.previousElementSibling.getBoundingClientRect().left), h(e, Math.floor(r)));
|
|
76
77
|
},
|
|
77
78
|
[]
|
|
78
|
-
), B = p((
|
|
79
|
-
|
|
80
|
-
}, []),
|
|
81
|
-
(
|
|
82
|
-
const { left: r, right: o, width: a } =
|
|
83
|
-
window.matchMedia(`(max-width: ${$.SM_MAX})`).matches ? B(
|
|
79
|
+
), B = p((e, t) => {
|
|
80
|
+
t && h(e, t);
|
|
81
|
+
}, []), b = p(
|
|
82
|
+
(e, t) => {
|
|
83
|
+
const { left: r, right: o, width: a } = e.getBoundingClientRect(), { left: u, right: R, width: k } = t.getBoundingClientRect(), f = r + a / 2, d = u + k / 2;
|
|
84
|
+
window.matchMedia(`(max-width: ${$.SM_MAX})`).matches ? B(e, d - f) : f > d ? _(e, t, u - r, u) : f < d && C(e, t, R - o, R);
|
|
84
85
|
},
|
|
85
86
|
[B, _, C]
|
|
86
87
|
);
|
|
87
88
|
return w(() => {
|
|
88
89
|
if (c) {
|
|
89
|
-
const { current:
|
|
90
|
-
|
|
90
|
+
const { current: e } = m, t = v.current[c];
|
|
91
|
+
e && t && b(e, t);
|
|
91
92
|
}
|
|
92
|
-
}, [c,
|
|
93
|
+
}, [c, b]), /* @__PURE__ */ n(
|
|
93
94
|
z,
|
|
94
95
|
{
|
|
95
96
|
className: l(s.stepperCarousel, g[i], I),
|
|
@@ -98,15 +99,15 @@ const q = "stepperCarousel__58a42485", D = "stepperButtonWrapper__ce59ad3b", F =
|
|
|
98
99
|
stepPrev: x.stepPrev,
|
|
99
100
|
stepNext: x.stepNext,
|
|
100
101
|
ref: m,
|
|
101
|
-
children: /* @__PURE__ */ n(W, { selectedStepId: c, size: i, ...M, children: S.map(({ label:
|
|
102
|
+
children: /* @__PURE__ */ n(W, { selectedStepId: c, size: i, ...M, children: S.map(({ label: e, ...t }, r) => /* @__PURE__ */ n(
|
|
102
103
|
W.Step,
|
|
103
104
|
{
|
|
104
|
-
forwardedRef: (o) => v.current[
|
|
105
|
-
...
|
|
105
|
+
forwardedRef: (o) => v.current[t.id] = o,
|
|
106
|
+
...t,
|
|
106
107
|
isInActiveStep: r > L,
|
|
107
|
-
children:
|
|
108
|
+
children: e
|
|
108
109
|
},
|
|
109
|
-
|
|
110
|
+
t.id
|
|
110
111
|
)) })
|
|
111
112
|
}
|
|
112
113
|
);
|
|
@@ -4,7 +4,7 @@ import { c } from "../../chunks/vendor-z35N2Tap.js";
|
|
|
4
4
|
import { StepperStep as i } from "./StepperStep.js";
|
|
5
5
|
import { StepperExtendedContext as l } from "./StepperExtendedContext.js";
|
|
6
6
|
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
7
|
-
const E = "
|
|
7
|
+
const E = "stepperExtended__a95ad445", u = {
|
|
8
8
|
stepperExtended: E
|
|
9
9
|
}, S = ({
|
|
10
10
|
children: p,
|
|
@@ -7,7 +7,7 @@ import { isKey as g } from "../../utils/keyboard.js";
|
|
|
7
7
|
import { StepperExtendedContext as H } from "./StepperExtendedContext.js";
|
|
8
8
|
import { EFocusSource as o } from "../../enums/EFocusSource.js";
|
|
9
9
|
import { EStepperStepType as y } from "./enums.js";
|
|
10
|
-
import { s as t, S as J } from "../../chunks/StepperStepArrowBorder-
|
|
10
|
+
import { s as t, S as J } from "../../chunks/StepperStepArrowBorder-B59UgJt-.js";
|
|
11
11
|
import { IconWrapper as L } from "../IconWrapper/IconWrapper.js";
|
|
12
12
|
const Q = F(t), X = ({
|
|
13
13
|
children: N,
|
|
@@ -69,7 +69,7 @@ const Q = F(t), X = ({
|
|
|
69
69
|
...T,
|
|
70
70
|
ref: M,
|
|
71
71
|
children: [
|
|
72
|
-
/* @__PURE__ */ R("div", { className: t.content, "data-tx": "0.
|
|
72
|
+
/* @__PURE__ */ R("div", { className: t.content, "data-tx": "0.33.0", children: [
|
|
73
73
|
h && P(),
|
|
74
74
|
N
|
|
75
75
|
] }),
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { EStepperStepIconType as r, EStepperStepType as t } from "./enums.js";
|
|
2
|
+
import { Stepper as S } from "./Stepper.js";
|
|
3
|
+
import { StepperExtended as f } from "./StepperExtended.js";
|
|
4
|
+
import { StepperStepIcon as n } from "./StepperStepIcon.js";
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
r as EStepperStepIconType,
|
|
7
|
+
t as EStepperStepType,
|
|
8
|
+
S as Stepper,
|
|
9
|
+
f as StepperExtended,
|
|
10
|
+
n as StepperStepIcon
|
|
9
11
|
};
|
|
10
12
|
//# sourceMappingURL=index.js.map
|