@sberbusiness/triplex-next 1.4.0 → 1.6.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-BQv9QI6L.js → AlertProcessSpoiler-BCXIqVd5.js} +6 -6
- package/chunks/CalendarViewItem-CHiqUGxF.js +101 -0
- package/chunks/Card.module-CmXEvD5r.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +11 -0
- package/chunks/{Chip-G6cGXuGj.js → Chip-yWyfl_o2.js} +11 -11
- package/chunks/Confirm.module-Ds4ZMYVB.js +15 -0
- package/chunks/{DropdownListItem-D2hzyBGc.js → DropdownListItem-DgEkMGvB.js} +19 -19
- package/chunks/DropdownMobile.module-thvNKX4t.js +21 -0
- package/chunks/Footer.module-DZhiuTzP.js +9 -0
- package/chunks/{FormFieldInput-CO7yZP0Q.js → FormFieldInput-BBhoiftf.js} +10 -10
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +9 -0
- package/chunks/HeaderTabs.module-DK3rR1yV.js +9 -0
- package/chunks/{HeaderTitle.module-BHyH17ZI.js → HeaderTitle.module-CBMLSjn-.js} +2 -2
- package/chunks/IslandAccordion.module-D9LSijXT.js +26 -0
- package/chunks/{LightBoxContent-DmoszkOx.js → LightBoxContent-BjsBFl6W.js} +12 -12
- package/chunks/LightBoxControls.module-BHw6I5-d.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +8 -0
- package/chunks/{ListItemControlsButton-BoEiexyr.js → ListItemControlsButton-CueYzEGM.js} +10 -10
- package/chunks/ListItemTail.module-Bw2cyg-n.js +12 -0
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +10 -0
- package/chunks/ModalWindow.module-Nps-2rvx.js +17 -0
- package/chunks/Notification.module-DZZnmvDX.js +21 -0
- package/chunks/Overlay.module-BGfiVeol.js +18 -0
- package/chunks/Page.module-CV4uy77C.js +12 -0
- package/chunks/{RightBorderArrow-BHW7rkmN.js → RightBorderArrow-rROpeCX0.js} +8 -8
- package/chunks/SMSInput.module-Br6FTDVD.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +15 -0
- package/chunks/SliderExtendedRail-BmH-0W3L.js +40 -0
- package/chunks/StatusTracker.module-BVzGbfDD.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CMKMF0PQ.js → SuggestFieldMobileDropdownHint-Bh4smUeN.js} +2 -2
- package/chunks/TableFooter.module-hx13-EO6.js +14 -0
- package/chunks/TabsExtended.module-CNjCgifz.js +16 -0
- package/chunks/TabsLine.module-_Jn8K0jv.js +23 -0
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +19 -0
- package/chunks/TooltipMobileCloseButton-BUyQFHWX.js +20 -0
- package/chunks/TreeView.module-oeG4_2Ve.js +9 -0
- package/chunks/{UploadZoneInput-pdhICY56.js → UploadZoneInput-CjsECm07.js} +3 -3
- package/chunks/{utils-C8a4iCV0.js → utils-C1Q-0uVF.js} +6 -6
- package/chunks/utils-C8A7RzC0.js +20 -0
- package/chunks/utils-Cb3psf0n.js +73 -0
- package/chunks/{utils-C9-tOm2Z.js → utils-D-KMukhm.js} +8 -8
- package/chunks/utils-vwCIbf0H.js +24 -0
- package/chunks/vendor-D3hUOusX.js +14839 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +10 -10
- package/components/Alert/AlertContext/AlertContext.js +13 -13
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +13 -13
- package/components/Body/index.js +4 -2
- package/components/Button/Button.js +22 -22
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +188 -0
- package/components/Calendar/CalendarContext.js +22 -0
- package/components/Calendar/CalendarViewContext.js +8 -0
- package/components/Calendar/components/CalendarControls.js +98 -0
- package/components/Calendar/components/CalendarFooter.js +9 -0
- package/components/Calendar/components/CalendarFooterButton.js +31 -0
- package/components/Calendar/components/CalendarView.js +30 -0
- package/components/Calendar/components/CalendarViewDays.js +100 -0
- package/components/Calendar/components/CalendarViewItem.js +11 -0
- package/components/Calendar/components/CalendarViewMonths.js +64 -0
- package/components/Calendar/components/CalendarViewYears.js +64 -0
- package/components/Calendar/enums.js +7 -0
- package/components/Calendar/index.js +9 -0
- package/components/Calendar/types.js +2 -0
- package/components/Calendar/utils.js +38 -0
- package/components/Card/CardAction.js +14 -14
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +12 -12
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +5 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +8 -7
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +4 -3
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +22 -21
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +21 -24
- package/components/CheckboxTreeExtended/index.js +5 -0
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +46 -0
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +13 -9
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/Confirm/Confirm.js +41 -0
- package/components/Confirm/components/ConfirmClose.js +13 -0
- package/components/Confirm/components/ConfirmCloseButton.js +27 -0
- package/components/Confirm/components/ConfirmContent.js +13 -0
- package/components/Confirm/components/ConfirmContentSubTitle.js +15 -0
- package/components/Confirm/components/ConfirmContentTitle.js +16 -0
- package/components/Confirm/components/ConfirmControls.js +9 -0
- package/components/Confirm/enums.js +5 -0
- package/components/Confirm/index.js +5 -0
- package/components/DateField/DateField.js +135 -0
- package/components/DateField/DateFieldContext.js +12 -0
- package/components/DateField/DateFieldTarget.js +60 -0
- package/components/DateField/constants.js +5 -0
- package/components/DateField/index.js +5 -0
- package/components/DateField/types.js +2 -0
- package/components/DateField/utils.js +23 -0
- package/components/DatePickerExtended/DatePickerExtended.js +136 -0
- package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
- package/components/DateRange/DateRange.js +73 -0
- package/components/DateRange/enums.js +5 -0
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +94 -70
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +89 -65
- package/components/DesignTokens/DesignTokensCore.js +1 -1
- package/components/DesignTokens/components/Calendar.js +107 -0
- package/components/DesignTokens/components/Divider.js +4 -4
- package/components/DesignTokens/components/Island.js +4 -4
- package/components/DesignTokens/components/IslandAccordion.js +15 -4
- package/components/DesignTokens/components/ModalWindow.js +11 -0
- package/components/DesignTokens/components/MultiselectField.js +9 -0
- package/components/DesignTokens/components/Slider.js +59 -0
- package/components/DesignTokens/components/SmallInput.js +15 -0
- package/components/DesignTokens/components/TopOverlay.js +9 -0
- package/components/DesignTokens/components/UploadZone.js +1 -1
- package/components/DesignTokens/components/index.js +144 -126
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +64 -0
- package/components/DocumentNumberEdit/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +16 -16
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- 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 +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +11 -0
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +24 -24
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +25 -25
- package/components/FormField/components/FormFieldClear.js +13 -17
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +5 -5
- package/components/FormField/components/FormFieldMaskedInput.js +24 -28
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +37 -36
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +6 -6
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +81 -73
- package/components/LightBox/LightBox.js +29 -29
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +9 -9
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- 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 +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +2 -2
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +98 -0
- package/components/ModalWindow/components/ModalWindowBody.js +21 -0
- package/components/ModalWindow/components/ModalWindowClose.js +29 -0
- package/components/ModalWindow/components/ModalWindowContent.js +13 -0
- package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
- package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
- package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
- package/components/ModalWindow/index.js +17 -0
- package/components/MonthYearField/MonthYearField.js +66 -0
- package/components/MonthYearField/MonthYearFieldContext.js +9 -0
- package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
- package/components/MonthYearField/constants.js +5 -0
- package/components/MonthYearField/index.js +5 -0
- package/components/MonthYearField/types.js +2 -0
- package/components/MonthYearField/utils.js +22 -0
- package/components/MultiselectField/MultiselectField.js +22 -0
- package/components/MultiselectField/MultiselectFieldContext.js +10 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +65 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +23 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +13 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +13 -0
- package/components/MultiselectField/components/index.js +11 -0
- package/components/MultiselectField/index.js +5 -0
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- 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/Notification/index.js +7 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +10 -10
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.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 +2 -2
- package/components/Pagination/components/PaginationPageButton.js +9 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +6 -6
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +6 -6
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +6 -6
- package/components/SMSInput/SMSInput.js +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +7 -7
- package/components/SelectExtendedField/SelectExtendedField.js +60 -54
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +81 -67
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/Slider/Slider.js +20 -0
- package/components/Slider/index.js +5 -0
- package/components/SliderExtended/SliderExtended.js +102 -0
- package/components/SliderExtended/SliderExtendedContext.js +30 -0
- package/components/SliderExtended/SliderExtendedUtils.js +32 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +158 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDotActions.js +12 -0
- package/components/SliderExtended/components/SliderExtendedDot/useSliderExtendedDotTabIndex.js +21 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +48 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarkActions.js +27 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +9 -0
- package/components/SliderExtended/components/SliderExtendedMoveHandler.js +25 -0
- package/components/SliderExtended/components/SliderExtendedRail.js +10 -0
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +39 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +147 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrackActions.js +36 -0
- package/components/SliderExtended/index.js +5 -0
- package/components/SliderRange/SliderRange.js +63 -0
- package/components/SliderRange/index.js +5 -0
- package/components/SmallInput/SmallInput.js +11 -0
- package/components/SmallInput/index.js +5 -0
- package/components/Spoiler/Spoiler.js +15 -15
- package/components/StatusTracker/StatusTracker.js +13 -13
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/StatusTracker/enums.js +1 -1
- package/components/StatusTracker/index.js +3 -0
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +56 -56
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +25 -25
- 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 +20 -20
- package/components/Table/FilterPanel.js +7 -7
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +20 -20
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +31 -34
- package/components/Table/TableBasicSettings/TableBasicSettings.js +29 -31
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +14 -11
- 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 +6 -6
- package/components/Table/TabsLinePanelLinks.js +22 -10
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +15 -15
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +7 -7
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +13 -12
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- package/components/Tag/Tag.js +20 -20
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +19 -19
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +28 -32
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
- package/components/TopOverlay/TopOverlay.js +85 -0
- package/components/TopOverlay/index.js +5 -0
- package/components/TreeView/TreeView.js +9 -8
- package/components/TreeView/components/TreeViewGroup.js +3 -2
- package/components/TreeView/components/TreeViewNode.js +12 -11
- package/components/Typography/Caption.js +14 -14
- package/components/Typography/Text.js +29 -29
- package/components/Typography/Title.js +12 -12
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +515 -421
- package/consts/DateConst.js +14 -0
- package/helpers/less/z-indexes.less +6 -1
- package/index.d.ts +1344 -56
- package/index.js +518 -424
- package/package.json +62 -1
- package/styles/triplex-next.css +527 -472
- package/types/DateTypes.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-kTbr6OQy.js +0 -17
- package/chunks/DropdownMobile.module-Fa_t6vz1.js +0 -21
- package/chunks/Footer.module-B3uFxh54.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +0 -9
- package/chunks/HeaderTabs.module-DMuNfILv.js +0 -9
- package/chunks/IslandAccordion.module-7xAwgJVI.js +0 -22
- package/chunks/LightBoxControls.module-42gn-co3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +0 -8
- package/chunks/ListItemTail.module-BB5TJPEc.js +0 -12
- package/chunks/ListMasterFooter.module-DxZ_nXDV.js +0 -10
- package/chunks/Notification.module-C-HCMpAz.js +0 -21
- package/chunks/Overlay.module-q-oPhooa.js +0 -18
- package/chunks/Page.module-DjGbJ-Uw.js +0 -12
- package/chunks/SMSInput.module-Ci4GRnk_.js +0 -16
- package/chunks/StatusTracker.module-zTyojoH4.js +0 -24
- package/chunks/TableFooter.module-DrRycaTr.js +0 -13
- package/chunks/TabsExtended.module-Be8qpZYz.js +0 -16
- package/chunks/TabsLine.module-DKAp48Sx.js +0 -23
- package/chunks/TooltipDesktop.module-D72ObNia.js +0 -19
- package/chunks/utils-B7AjUpy-.js +0 -20
- package/chunks/utils-C-1ATq_g.js +0 -24
- package/chunks/utils-DwX2_kEA.js +0 -72
- package/chunks/vendor-Ba_pyhza.js +0 -12036
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +0 -86
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { TabsLineItem as
|
|
3
|
-
const d = "
|
|
2
|
+
import { TabsLineItem as c } from "./TabsLineItem.js";
|
|
3
|
+
const d = "tabsLineMobileWrapper__01ad80a7", p = "tabsLineMobile__049d334e", l = {
|
|
4
4
|
tabsLineMobileWrapper: d,
|
|
5
5
|
tabsLineMobile: p
|
|
6
|
-
}, u = ({ onChangeTab: r, selectedId:
|
|
6
|
+
}, u = ({ onChangeTab: r, selectedId: a, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
|
9
|
-
const
|
|
10
|
-
const b = (
|
|
9
|
+
const o = ({ selected: L, ...e }) => {
|
|
10
|
+
const b = (t) => {
|
|
11
11
|
var s;
|
|
12
|
-
r(e.id), (s = e.onClick) == null || s.call(e,
|
|
12
|
+
r(e.id), (s = e.onClick) == null || s.call(e, t);
|
|
13
13
|
};
|
|
14
|
-
return /* @__PURE__ */ n(
|
|
14
|
+
return /* @__PURE__ */ n(c, { selected: a === e.id, ...e, onClick: b }, e.id);
|
|
15
15
|
};
|
|
16
|
-
return /* @__PURE__ */ n("div", { className: l.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: l.tabsLineMobile, children: i.map(
|
|
16
|
+
return /* @__PURE__ */ n("div", { className: l.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: l.tabsLineMobile, children: i.map(o) }) });
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
19
19
|
u as TabsLineMobile
|
package/components/Tag/Tag.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { EditStrokeSrvIcon24 as
|
|
1
|
+
import { jsx as o, jsxs as D } from "react/jsx-runtime";
|
|
2
|
+
import E, { useCallback as S } from "react";
|
|
3
|
+
import { c as L } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { EditStrokeSrvIcon24 as N, EditStrokeSrvIcon20 as d, EditStrokeSrvIcon16 as v, CrossStrokeSrvIcon24 as y, CrossStrokeSrvIcon20 as z, CrossStrokeSrvIcon16 as G } from "@sberbusiness/icons-next";
|
|
5
5
|
import { Text as h } from "../Typography/Text.js";
|
|
6
6
|
import { ETextSize as I, EFontType as _ } from "../Typography/enums.js";
|
|
7
7
|
import { ButtonIcon as T } from "../Button/ButtonIcon.js";
|
|
8
8
|
import { createSizeToClassNameMap as j } from "../../utils/classNameMaps.js";
|
|
9
9
|
import { EComponentSize as e } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "tag__951c8030", R = "sm__172693f5", w = "md__587e6f50", F = "lg__c586ec56", P = "content__420fd521", f = {
|
|
11
11
|
tag: A,
|
|
12
12
|
sm: R,
|
|
13
13
|
md: w,
|
|
14
14
|
lg: F,
|
|
15
15
|
content: P
|
|
16
|
-
}, Y = j(
|
|
16
|
+
}, Y = j(f), q = {
|
|
17
17
|
[e.SM]: I.B4,
|
|
18
18
|
[e.MD]: I.B3,
|
|
19
19
|
[e.LG]: I.B2
|
|
20
|
-
}, q = {
|
|
21
|
-
[e.SM]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
22
|
-
[e.MD]: /* @__PURE__ */ o(N, { paletteIndex: 5 }),
|
|
23
|
-
[e.LG]: /* @__PURE__ */ o(L, { paletteIndex: 5 })
|
|
24
20
|
}, H = {
|
|
21
|
+
[e.SM]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
22
|
+
[e.MD]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
23
|
+
[e.LG]: /* @__PURE__ */ o(N, { paletteIndex: 5 })
|
|
24
|
+
}, J = {
|
|
25
25
|
[e.SM]: /* @__PURE__ */ o(G, { paletteIndex: 5 }),
|
|
26
26
|
[e.MD]: /* @__PURE__ */ o(z, { paletteIndex: 5 }),
|
|
27
27
|
[e.LG]: /* @__PURE__ */ o(y, { paletteIndex: 5 })
|
|
28
|
-
},
|
|
29
|
-
({ children:
|
|
28
|
+
}, b = E.forwardRef(
|
|
29
|
+
({ children: l, id: s, className: u, size: r, disabled: n, onRemove: a, onEdit: c, removeButtonProps: x, editButtonProps: M, ...g }, C) => {
|
|
30
30
|
const k = S(() => {
|
|
31
31
|
const t = n ? _.DISABLED : _.PRIMARY;
|
|
32
|
-
return /* @__PURE__ */ o(h, { className:
|
|
33
|
-
}, [
|
|
32
|
+
return /* @__PURE__ */ o(h, { className: f.content, type: t, size: q[r], children: l });
|
|
33
|
+
}, [l, r, n]), B = S(() => {
|
|
34
34
|
const { onClick: t, ...m } = M || {};
|
|
35
35
|
return /* @__PURE__ */ o(
|
|
36
36
|
T,
|
|
@@ -40,10 +40,10 @@ const A = "tag__e5da6a0e", R = "sm__19da04d7", w = "md__2b874a84", F = "lg__b6a8
|
|
|
40
40
|
c == null || c(s), t == null || t(p);
|
|
41
41
|
},
|
|
42
42
|
...m,
|
|
43
|
-
children:
|
|
43
|
+
children: H[r]
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
|
-
}, [s, r, n, M, c]),
|
|
46
|
+
}, [s, r, n, M, c]), i = S(() => {
|
|
47
47
|
const { onClick: t, ...m } = x || {};
|
|
48
48
|
return /* @__PURE__ */ o(
|
|
49
49
|
T,
|
|
@@ -53,18 +53,18 @@ const A = "tag__e5da6a0e", R = "sm__19da04d7", w = "md__2b874a84", F = "lg__b6a8
|
|
|
53
53
|
a == null || a(s), t == null || t(p);
|
|
54
54
|
},
|
|
55
55
|
...m,
|
|
56
|
-
children:
|
|
56
|
+
children: J[r]
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
59
|
}, [s, r, n, x, a]);
|
|
60
|
-
return /* @__PURE__ */
|
|
60
|
+
return /* @__PURE__ */ D("span", { className: L(f.tag, Y[r], u), ...g, ref: C, children: [
|
|
61
61
|
k(),
|
|
62
62
|
c && B(),
|
|
63
|
-
|
|
63
|
+
i()
|
|
64
64
|
] });
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
67
|
export {
|
|
68
|
-
|
|
68
|
+
b as Tag
|
|
69
69
|
};
|
|
70
70
|
//# sourceMappingURL=Tag.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
const
|
|
6
|
-
tagGroup:
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
10
|
-
},
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { createSizeToClassNameMap as l } from "../../utils/classNameMaps.js";
|
|
5
|
+
const _ = "tagGroup__5585d0b3", g = "sm__88f9e19e", f = "md__b75653ea", d = "lg__8aba9c9a", o = {
|
|
6
|
+
tagGroup: _,
|
|
7
|
+
sm: g,
|
|
8
|
+
md: f,
|
|
9
|
+
lg: d
|
|
10
|
+
}, i = l(o), x = c.forwardRef(
|
|
11
11
|
({ children: a, className: s, size: t, ...r }, m) => /* @__PURE__ */ e(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: p(o.tagGroup, i[t], s),
|
|
15
15
|
role: "group",
|
|
16
16
|
...r,
|
|
17
17
|
ref: m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { F as r } from "../../chunks/FormFieldInput-
|
|
2
|
+
import { F as r } from "../../chunks/FormFieldInput-BBhoiftf.js";
|
|
3
3
|
import { TextFieldBase as t } from "./TextFieldBase.js";
|
|
4
4
|
const m = ({ inputProps: i, ...o }) => /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ e(r, { ...i }) });
|
|
5
5
|
m.displayName = "TextField";
|
|
@@ -6,7 +6,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
6
6
|
import "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import "../FormField/components/FormFieldClear.js";
|
|
8
8
|
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
-
import "../../chunks/FormFieldInput-
|
|
9
|
+
import "../../chunks/FormFieldInput-BBhoiftf.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
12
12
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
2
|
+
import { useState as x, useEffect as i } from "react";
|
|
3
|
+
import { w as c, x as d, y as f } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { DesignTokenUtils as S } from "../DesignTokens/DesignTokenUtils.js";
|
|
5
5
|
import { ThemeProviderView as h } from "./components/ThemeProviderView.js";
|
|
6
6
|
import { ETriplexNextTheme as u } from "./ETriplexNextTheme.js";
|
|
@@ -11,11 +11,11 @@ const m = (t) => `${t}${Date.now()}${Math.floor(Math.random() * 1e6)}`, g = ({
|
|
|
11
11
|
theme: r = u.LIGHT,
|
|
12
12
|
tokens: s
|
|
13
13
|
}) => {
|
|
14
|
-
const [e, a] =
|
|
14
|
+
const [e, a] = x(o || m("triplex-next-theme-"));
|
|
15
15
|
return i(() => {
|
|
16
16
|
a(o || m("triplex-next-theme-"));
|
|
17
17
|
}, [o]), i(() => {
|
|
18
|
-
if (
|
|
18
|
+
if (c()) {
|
|
19
19
|
const p = `.${e} {${S.getStyle(r, s || {})}}`;
|
|
20
20
|
d(p, `triplex-next-dynamic-tokens-${e}`);
|
|
21
21
|
} else
|
|
@@ -6,7 +6,7 @@ import { DesignTokensCore as D } from "../../DesignTokens/DesignTokensCore.js";
|
|
|
6
6
|
import { DesignTokensCoreThemeDark as d } from "../../DesignTokens/DesignTokensCoreThemeDark.js";
|
|
7
7
|
import { DesignTokensComponents as v } from "../../DesignTokens/DesignTokensComponents.js";
|
|
8
8
|
import { DesignTokensComponentsThemeDark as x } from "../../DesignTokens/DesignTokensComponentsThemeDark.js";
|
|
9
|
-
import {
|
|
9
|
+
import { m as g } from "../../../chunks/vendor-D3hUOusX.js";
|
|
10
10
|
const I = ({
|
|
11
11
|
children: s,
|
|
12
12
|
scopeClassName: r,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
5
|
import { Text as l } from "../../../Typography/Text.js";
|
|
6
6
|
import { ELineType as p, ETextSize as c } from "../../../Typography/enums.js";
|
|
7
|
-
import { s as f } from "../../../../chunks/TooltipDesktop.module-
|
|
7
|
+
import { s as f } from "../../../../chunks/TooltipDesktop.module-Cx6fDiek.js";
|
|
8
8
|
const d = r.forwardRef(({ className: m, ...i }, t) => {
|
|
9
9
|
const e = s(f.tooltipBody, m);
|
|
10
10
|
return /* @__PURE__ */ o(a, { fallback: /* @__PURE__ */ o("div", { className: e, ...i, ref: t }), children: /* @__PURE__ */ o(l, { className: e, size: c.B3, line: p.NORMAL, tag: "div", ...i, ref: t }) });
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { MobileView as
|
|
5
|
-
const
|
|
6
|
-
tooltipLink:
|
|
7
|
-
desktop:
|
|
8
|
-
mobile:
|
|
9
|
-
},
|
|
10
|
-
({ children: i, className: e, ...
|
|
2
|
+
import n from "react";
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
|
+
const k = "tooltipLink__4f257dcf", r = "desktop__8e17437d", m = "mobile__62cf3ffe", o = {
|
|
6
|
+
tooltipLink: k,
|
|
7
|
+
desktop: r,
|
|
8
|
+
mobile: m
|
|
9
|
+
}, c = n.forwardRef(
|
|
10
|
+
({ children: i, className: e, ...l }, p) => /* @__PURE__ */ t(a, { fallback: /* @__PURE__ */ t(
|
|
11
11
|
"a",
|
|
12
12
|
{
|
|
13
|
-
className:
|
|
14
|
-
...
|
|
15
|
-
"data-tx": "1.
|
|
16
|
-
ref:
|
|
13
|
+
className: s(o.tooltipLink, o.desktop, e),
|
|
14
|
+
...l,
|
|
15
|
+
"data-tx": "1.6.0",
|
|
16
|
+
ref: p,
|
|
17
17
|
children: i
|
|
18
18
|
}
|
|
19
19
|
), children: /* @__PURE__ */ t(
|
|
20
20
|
"a",
|
|
21
21
|
{
|
|
22
|
-
className:
|
|
23
|
-
...
|
|
24
|
-
"data-tx": "1.
|
|
25
|
-
ref:
|
|
22
|
+
className: s(o.tooltipLink, o.mobile, e),
|
|
23
|
+
...l,
|
|
24
|
+
"data-tx": "1.6.0",
|
|
25
|
+
ref: p,
|
|
26
26
|
children: i
|
|
27
27
|
}
|
|
28
28
|
) })
|
|
29
29
|
);
|
|
30
|
-
|
|
30
|
+
c.displayName = "TooltipLink";
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
c as TooltipLink
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=TooltipLink.js.map
|
|
@@ -3,7 +3,7 @@ import { useContext as p } from "react";
|
|
|
3
3
|
import { CrossStrokeSrvIcon16 as n } from "@sberbusiness/icons-next";
|
|
4
4
|
import { TooltipContext as i } from "../../TootlipContext.js";
|
|
5
5
|
import { ButtonIcon as l } from "../../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/TooltipDesktop.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/TooltipDesktop.module-Cx6fDiek.js";
|
|
7
7
|
const I = ({ onClick: t, ...r }) => {
|
|
8
8
|
const { setTooltipOpen: e } = p(i), s = (m) => {
|
|
9
9
|
e(!1), t == null || t(m);
|
|
@@ -3,13 +3,13 @@ var H = (p, a, i) => a in p ? _(p, a, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var t = (p, a, i) => H(p, typeof a != "symbol" ? a + "" : a, i);
|
|
4
4
|
import { jsxs as S, Fragment as P, jsx as x } from "react/jsx-runtime";
|
|
5
5
|
import O from "react";
|
|
6
|
-
import { i as M, c as $ } from "../../../../../chunks/vendor-
|
|
6
|
+
import { i as M, c as $ } from "../../../../../chunks/vendor-D3hUOusX.js";
|
|
7
7
|
import { TooltipContext as X } from "../../../TootlipContext.js";
|
|
8
8
|
import { Portal as Y } from "../../../../Portal/Portal.js";
|
|
9
9
|
import { ETooltipPreferPlace as u, ETooltipDirection as B, ETooltipAlign as z, ETooltipFlowTypes as I, ETooltipSizeParameter as r, ETooltipTypeName as C, ETooltipEndCoordinates as N, ETooltipStartCoordinates as R, ETooltipAxesType as G, ETooltipSize as U } from "../../../enums.js";
|
|
10
10
|
import { TooltipDesktopTip as V } from "./TooltipDesktopTip.js";
|
|
11
11
|
import { pickZone as j, axes as q, calcRelPos as K, centerOfBoundsFromBounds as Z, calcBounds as L, equalCoords as J } from "../../../utils/Positioning.js";
|
|
12
|
-
import { s as f } from "../../../../../chunks/TooltipDesktop.module-
|
|
12
|
+
import { s as f } from "../../../../../chunks/TooltipDesktop.module-Cx6fDiek.js";
|
|
13
13
|
const Q = {
|
|
14
14
|
column: "translateX",
|
|
15
15
|
row: "translateY"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { ETooltipDirection as e } from "../../../enums.js";
|
|
4
|
-
import { c } from "../../../../../chunks/vendor-
|
|
5
|
-
import { s as t } from "../../../../../chunks/TooltipDesktop.module-
|
|
4
|
+
import { c } from "../../../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { s as t } from "../../../../../chunks/TooltipDesktop.module-Cx6fDiek.js";
|
|
6
6
|
const l = p.forwardRef((r, i) => {
|
|
7
7
|
const { direction: s } = r;
|
|
8
8
|
let o;
|
|
@@ -1,50 +1,46 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { TooltipContext as
|
|
4
|
-
import { Portal as
|
|
5
|
-
import { DropdownMobile as
|
|
6
|
-
import { DropdownMobileBody as
|
|
7
|
-
import {
|
|
8
|
-
import { c as
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
className: d,
|
|
16
|
-
renderContainer: R,
|
|
17
|
-
targetRef: j,
|
|
18
|
-
disableAdaptiveMode: D,
|
|
1
|
+
import { jsxs as r, Fragment as f, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as b, useRef as u, useEffect as x } from "react";
|
|
3
|
+
import { TooltipContext as M } from "../../TootlipContext.js";
|
|
4
|
+
import { Portal as C } from "../../../Portal/Portal.js";
|
|
5
|
+
import { DropdownMobile as T } from "../../../Dropdown/mobile/DropdownMobile.js";
|
|
6
|
+
import { DropdownMobileBody as y } from "../../../Dropdown/mobile/DropdownMobileBody.js";
|
|
7
|
+
import { s as l, T as B } from "../../../../chunks/TooltipMobileCloseButton-BUyQFHWX.js";
|
|
8
|
+
import { c as g } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
9
|
+
const P = ({
|
|
10
|
+
children: H,
|
|
11
|
+
className: m,
|
|
12
|
+
renderContainer: N,
|
|
13
|
+
targetRef: R,
|
|
14
|
+
disableAdaptiveMode: h,
|
|
19
15
|
isOpen: o,
|
|
20
16
|
onShow: t,
|
|
21
|
-
...
|
|
17
|
+
...d
|
|
22
18
|
}) => {
|
|
23
|
-
const { elements: e, setTooltipOpen:
|
|
24
|
-
|
|
19
|
+
const { elements: e, setTooltipOpen: a } = b(M), i = u(null), p = g(l.tooltipMobile, { [l.headerless]: e.mobileHeader === null }, m);
|
|
20
|
+
x(() => {
|
|
25
21
|
o && (t == null || t(i.current));
|
|
26
22
|
}, [o]);
|
|
27
|
-
const
|
|
23
|
+
const c = () => {
|
|
28
24
|
var n;
|
|
29
|
-
return /* @__PURE__ */ s(
|
|
25
|
+
return /* @__PURE__ */ s(B, { ...(n = e.closeButton) == null ? void 0 : n.props });
|
|
30
26
|
};
|
|
31
|
-
return /* @__PURE__ */
|
|
27
|
+
return /* @__PURE__ */ r(f, { children: [
|
|
32
28
|
e.target,
|
|
33
|
-
/* @__PURE__ */ s(
|
|
34
|
-
|
|
29
|
+
/* @__PURE__ */ s(C, { container: document.body, children: /* @__PURE__ */ r(
|
|
30
|
+
T,
|
|
35
31
|
{
|
|
36
|
-
className:
|
|
32
|
+
className: p,
|
|
37
33
|
tabIndex: -1,
|
|
38
34
|
opened: o,
|
|
39
|
-
setOpened:
|
|
40
|
-
...
|
|
35
|
+
setOpened: a,
|
|
36
|
+
...d,
|
|
41
37
|
ref: i,
|
|
42
38
|
children: [
|
|
43
39
|
e.mobileHeader,
|
|
44
|
-
/* @__PURE__ */
|
|
40
|
+
/* @__PURE__ */ r(y, { className: l.tooltipMobileContent, children: [
|
|
45
41
|
e.body,
|
|
46
42
|
e.link,
|
|
47
|
-
e.mobileHeader === null &&
|
|
43
|
+
e.mobileHeader === null && c()
|
|
48
44
|
] })
|
|
49
45
|
]
|
|
50
46
|
}
|
|
@@ -52,6 +48,6 @@ const T = "tooltipMobile__cd044b3c", g = "tooltipMobileContent__fd6829ce", H = "
|
|
|
52
48
|
] });
|
|
53
49
|
};
|
|
54
50
|
export {
|
|
55
|
-
|
|
51
|
+
P as TooltipMobile
|
|
56
52
|
};
|
|
57
53
|
//# sourceMappingURL=TooltipMobile.js.map
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
const { setTooltipOpen: e } = l(i);
|
|
7
|
-
return /* @__PURE__ */ p(s, { onClick: (r) => {
|
|
8
|
-
e(!1), o == null || o(r);
|
|
9
|
-
}, ...t });
|
|
10
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../../Dropdown/mobile/DropdownMobileClose.js";
|
|
4
|
+
import "../../../TootlipContext.js";
|
|
5
|
+
import { T as e } from "../../../../../chunks/TooltipMobileCloseButton-BUyQFHWX.js";
|
|
11
6
|
export {
|
|
12
|
-
|
|
7
|
+
e as TooltipMobileCloseButton
|
|
13
8
|
};
|
|
14
9
|
//# sourceMappingURL=TooltipMobileCloseButton.js.map
|
|
@@ -2,15 +2,15 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { useContext as n } from "react";
|
|
3
3
|
import { DropdownMobileHeader as p } from "../../../../Dropdown/mobile/DropdownMobileHeader.js";
|
|
4
4
|
import { TooltipContext as m } from "../../../TootlipContext.js";
|
|
5
|
-
import {
|
|
6
|
-
import { Text as
|
|
5
|
+
import { T as s } from "../../../../../chunks/TooltipMobileCloseButton-BUyQFHWX.js";
|
|
6
|
+
import { Text as l } from "../../../../Typography/Text.js";
|
|
7
7
|
import { EFontType as d, ETextSize as f } from "../../../../Typography/enums.js";
|
|
8
8
|
const b = ({ children: e, ...r }) => {
|
|
9
9
|
const { elements: i } = n(m);
|
|
10
10
|
return /* @__PURE__ */ o(p, { closeButton: () => {
|
|
11
11
|
var t;
|
|
12
|
-
return /* @__PURE__ */ o(
|
|
13
|
-
}, ...r, children: /* @__PURE__ */ o(
|
|
12
|
+
return /* @__PURE__ */ o(s, { ...(t = i.closeButton) == null ? void 0 : t.props });
|
|
13
|
+
}, ...r, children: /* @__PURE__ */ o(l, { size: f.B3, type: d.PRIMARY, tag: "div", children: e }) });
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
16
|
b as TooltipMobileHeader
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsx as o, jsxs as I, Fragment as B } from "react/jsx-runtime";
|
|
2
|
+
import { useState as y, useRef as g, useEffect as C } from "react";
|
|
3
|
+
import { EOverlayDirection as R } from "../Overlay/OverlayBase.js";
|
|
4
|
+
import { Overlay as O } from "../Overlay/Overlay.js";
|
|
5
|
+
import { c as S, F as j } from "../../chunks/vendor-D3hUOusX.js";
|
|
6
|
+
const D = "topOverlayMask__2d678efd", E = "topOverlayWrapper__07e10636", A = "closing__5fa60bcf", V = "opened__38bfeb9f", $ = "topOverlayPanel__038124dc", q = "topOverlay__eee20d5b", t = {
|
|
7
|
+
topOverlayMask: D,
|
|
8
|
+
topOverlayWrapper: E,
|
|
9
|
+
closing: A,
|
|
10
|
+
opened: V,
|
|
11
|
+
topOverlayPanel: $,
|
|
12
|
+
topOverlay: q
|
|
13
|
+
}, K = ({
|
|
14
|
+
children: _,
|
|
15
|
+
focusTrapProps: a,
|
|
16
|
+
opened: e,
|
|
17
|
+
onClose: l,
|
|
18
|
+
onOpen: n,
|
|
19
|
+
...h
|
|
20
|
+
}) => {
|
|
21
|
+
const [W, d] = y(!1), [x, f] = y(!1), [u, c] = y(0), p = g(e), s = g(null), m = () => {
|
|
22
|
+
if (s.current) {
|
|
23
|
+
const r = getComputedStyle(s.current).getPropertyValue("--lightBox-screen-top") || "0", i = s.current.getBoundingClientRect();
|
|
24
|
+
i.top < 0 ? c(
|
|
25
|
+
(v) => parseInt(v, 10) + Math.abs(i.top) + parseInt(r, 10)
|
|
26
|
+
) : c(
|
|
27
|
+
// Оверлей расположен ниже, чем нужно.
|
|
28
|
+
(v) => parseInt(v, 10) - i.top + parseInt(r, 10)
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
}, k = () => {
|
|
32
|
+
m(), f(!0), n == null || n();
|
|
33
|
+
};
|
|
34
|
+
C(() => {
|
|
35
|
+
p.current && !e ? d(!0) : !p.current && e && m(), p.current = e;
|
|
36
|
+
}, [e]);
|
|
37
|
+
const M = () => {
|
|
38
|
+
d(!1), c(0), l == null || l();
|
|
39
|
+
}, T = () => f(!1), b = (r) => /* @__PURE__ */ I(B, { children: [
|
|
40
|
+
/* @__PURE__ */ o(O.Mask, { opened: r.opened, className: t.topOverlayMask }),
|
|
41
|
+
/* @__PURE__ */ o(O.Panel, { className: t.topOverlayPanel, ...r, children: _ })
|
|
42
|
+
] }), F = () => {
|
|
43
|
+
}, N = S(t.topOverlayWrapper, {
|
|
44
|
+
[t.closing]: W,
|
|
45
|
+
[t.opened]: e
|
|
46
|
+
}), P = /* @__PURE__ */ o(
|
|
47
|
+
O,
|
|
48
|
+
{
|
|
49
|
+
onClose: M,
|
|
50
|
+
onClosing: T,
|
|
51
|
+
onOpen: k,
|
|
52
|
+
opened: e,
|
|
53
|
+
setOpened: F,
|
|
54
|
+
...h,
|
|
55
|
+
className: t.topOverlay,
|
|
56
|
+
direction: R.TOP,
|
|
57
|
+
children: b
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
return /* @__PURE__ */ o(
|
|
61
|
+
j,
|
|
62
|
+
{
|
|
63
|
+
active: x,
|
|
64
|
+
...a,
|
|
65
|
+
focusTrapOptions: {
|
|
66
|
+
clickOutsideDeactivates: !0,
|
|
67
|
+
preventScroll: !0,
|
|
68
|
+
...a == null ? void 0 : a.focusTrapOptions
|
|
69
|
+
},
|
|
70
|
+
children: /* @__PURE__ */ o(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
className: N,
|
|
74
|
+
ref: s,
|
|
75
|
+
style: u ? { top: `${u}px` } : void 0,
|
|
76
|
+
children: P
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
};
|
|
82
|
+
export {
|
|
83
|
+
K as TopOverlay
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=TopOverlay.js.map
|
|
@@ -3,15 +3,16 @@ var h = (r, d, e) => d in r ? c(r, d, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var s = (r, d, e) => h(r, typeof d != "symbol" ? d + "" : d, e);
|
|
4
4
|
import { jsx as N } from "react/jsx-runtime";
|
|
5
5
|
import { EVENT_KEY_CODES as u } from "../../utils/keyboard.js";
|
|
6
|
-
import
|
|
6
|
+
import m from "react";
|
|
7
7
|
import { TreeViewAbstractNodeUtils as i } from "./TreeViewAbstractNodeUtils.js";
|
|
8
|
-
import { TreeViewContext as
|
|
8
|
+
import { TreeViewContext as l } from "./TreeViewContext.js";
|
|
9
9
|
import { TreeViewAbstractNode as C } from "./TreeViewAbstractNode.js";
|
|
10
10
|
import { TreeViewNode as f } from "./components/TreeViewNode.js";
|
|
11
11
|
import { TreeViewGroup as b } from "./components/TreeViewGroup.js";
|
|
12
|
-
import { c as v } from "../../chunks/vendor-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
import { c as v } from "../../chunks/vendor-D3hUOusX.js";
|
|
13
|
+
import { s as w } from "../../chunks/TreeView.module-oeG4_2Ve.js";
|
|
14
|
+
const R = "rootNode";
|
|
15
|
+
class n extends m.Component {
|
|
15
16
|
constructor(e) {
|
|
16
17
|
super(e);
|
|
17
18
|
s(this, "abstractRootNode");
|
|
@@ -51,7 +52,7 @@ class n extends l.Component {
|
|
|
51
52
|
s(this, "handleKeyDown", (e) => {
|
|
52
53
|
i.getActiveNode(this.abstractRootNode) && (u.ARROW_DOWN === e.keyCode ? (i.setActiveNextNode(this.abstractRootNode), e.preventDefault(), this.setState(({ updateCount: t }) => ({ updateCount: t++ }))) : u.ARROW_UP === e.keyCode && (i.setActivePrevNode(this.abstractRootNode), e.preventDefault(), this.setState(({ updateCount: t }) => ({ updateCount: t++ }))));
|
|
53
54
|
});
|
|
54
|
-
this.abstractRootNode = new C({ id:
|
|
55
|
+
this.abstractRootNode = new C({ id: R }), this.state = {
|
|
55
56
|
updateCount: 0
|
|
56
57
|
};
|
|
57
58
|
}
|
|
@@ -64,7 +65,7 @@ class n extends l.Component {
|
|
|
64
65
|
render() {
|
|
65
66
|
const { children: e, className: t, ...o } = this.props, { updateCount: a } = this.state;
|
|
66
67
|
return /* @__PURE__ */ N(
|
|
67
|
-
|
|
68
|
+
l.Provider,
|
|
68
69
|
{
|
|
69
70
|
value: {
|
|
70
71
|
getNode: this.getNode,
|
|
@@ -76,7 +77,7 @@ class n extends l.Component {
|
|
|
76
77
|
setOpenedNode: this.setOpenedNode,
|
|
77
78
|
updateCount: a
|
|
78
79
|
},
|
|
79
|
-
children: /* @__PURE__ */ N("ul", { className: v(
|
|
80
|
+
children: /* @__PURE__ */ N("ul", { className: v(w.treeView, t), role: "tree", ...o, ref: this.setTreeDOMNode, children: e })
|
|
80
81
|
}
|
|
81
82
|
);
|
|
82
83
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { s } from "../../../chunks/TreeView.module-oeG4_2Ve.js";
|
|
3
|
+
const m = ({ children: r, ...e }) => /* @__PURE__ */ o("ul", { role: "group", className: s.treeViewGroup, ...e, children: r });
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
+
m as TreeViewGroup
|
|
5
6
|
};
|
|
6
7
|
//# sourceMappingURL=TreeViewGroup.js.map
|