@sberbusiness/triplex-next 1.32.0 → 1.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 +36 -33
- package/chunks/AlertProcessSpoiler-Bw11lY_2.js +41 -0
- package/chunks/CalendarViewItem-9zvGz6lK.js +101 -0
- package/chunks/Card.module-CHntSBGP.js +18 -0
- package/chunks/CheckboxTreeExtended.module-DZCnZPkk.js +15 -0
- package/chunks/{Chip-Fb7_tfTx.js → Chip-DUgRidoA.js} +18 -18
- package/chunks/Confirm.module-DzA_7mQO.js +15 -0
- package/chunks/{DropdownListItem-CBAmYB__.js → DropdownListItem-DfdRzHWo.js} +13 -13
- package/chunks/DropdownMobile.module-B2_eLIZO.js +23 -0
- package/chunks/Footer.module-CV6e-B3r.js +9 -0
- package/chunks/{FormFieldInput-d6WkPngW.js → FormFieldInput-CxAdhoLS.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-GsbsfEiJ.js +9 -0
- package/chunks/HeaderTabs.module-fOX5YNsl.js +9 -0
- package/chunks/{HeaderTitle.module-CFdpGGVy.js → HeaderTitle.module-tH470aDn.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-BRSQsPqY.js +17 -0
- package/chunks/{ImageGalleryExtendedThumb-BVI6zmzL.js → ImageGalleryExtendedThumb-Cpk1nE0q.js} +9 -9
- package/chunks/IslandAccordion.module-b2tphik7.js +25 -0
- package/chunks/IslandWidgetFooter.module-CKmwyHR4.js +9 -0
- package/chunks/IslandWidgetHeader.module-CZL2t5u0.js +13 -0
- package/chunks/{LightBoxContent-CUHF8ym9.js → LightBoxContent-Dzx47lKv.js} +7 -7
- package/chunks/LightBoxControls.module-RG62wDXb.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B7Fno0cK.js +9 -0
- package/chunks/{ListItemControlsButton-GwTSx9t3.js → ListItemControlsButton-Dc6wY6Fp.js} +9 -9
- package/chunks/ListItemTail.module-DMJ9K0rM.js +12 -0
- package/chunks/ListMasterFooter.module-C58NLDG2.js +10 -0
- package/chunks/ModalWindow.module-CszS7FwS.js +17 -0
- package/chunks/Notification.module-BNsYZ_Ak.js +20 -0
- package/chunks/Overlay.module-DOk5L_-8.js +18 -0
- package/chunks/Page.module-TORdWU5G.js +11 -0
- package/chunks/SMSField.module-BjG_FEkT.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bt31TtEn.js +15 -0
- package/chunks/{SliderExtendedRail-s3nj0g7A.js → SliderExtendedRail-BYOwvNNf.js} +11 -11
- package/chunks/StatusTracker.module-jqMWmKxs.js +24 -0
- package/chunks/{StepperStepArrowBorder-7nXw_k6S.js → StepperStepArrowBorder-j6OP5KT9.js} +5 -5
- package/chunks/{SuggestFieldMobileDropdownHint-DTd9ZRJc.js → SuggestFieldMobileDropdownHint-C8OEdlFf.js} +4 -4
- package/chunks/TableFooter.module-BrNleOTT.js +14 -0
- package/chunks/TabsExtended.module-BStXryDc.js +16 -0
- package/chunks/TabsLine.module-CR0Zbz9g.js +21 -0
- package/chunks/TooltipDesktop.module-lEItFyAS.js +19 -0
- package/chunks/TreeView.module-SA9BUUel.js +9 -0
- package/chunks/{UploadZoneInput-DH0deFXt.js → UploadZoneInput-B_FFSQm7.js} +6 -6
- package/chunks/{constants-Dsgjokad.js → constants-Dm1nkJLa.js} +11 -11
- package/chunks/{utils-C0vdTK6h.js → utils-C7AeO50S.js} +4 -4
- package/chunks/{utils-CXTWVT_w.js → utils-C88ipzKd.js} +5 -5
- package/chunks/utils-CqED8Odf.js +73 -0
- package/chunks/utils-DIpdLSK7.js +24 -0
- package/chunks/{vendor-82AnkPpo.js → vendor-D5cfSbgz.js} +1114 -1116
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +24 -24
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +5 -5
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +6 -6
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +25 -25
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +27 -27
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +2 -2
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- 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 +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 +19 -19
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +2 -2
- 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 +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- 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 +12 -12
- package/components/Col/Col.js +139 -139
- package/components/CollapsibleTree/CollapsibleTree.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +13 -13
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +2 -2
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +2 -2
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- 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 +23 -23
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +5 -5
- package/components/Dropdown/desktop/DropdownDesktop.js +15 -15
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/EmptyView/EmptyView.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +19 -19
- 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 +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +23 -23
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +8 -8
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +13 -13
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +20 -20
- package/components/FormField/components/FormFieldTextarea.js +10 -10
- 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 +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 +3 -3
- 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 +7 -7
- package/components/IconWrapper/IconWrapper.js +11 -11
- package/components/ImageGallery/ImageGallery.js +5 -4
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +15 -15
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +11 -11
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +8 -7
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +2 -2
- package/components/ImageGalleryExtended/components/index.js +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +3 -3
- package/components/IslandWidget/IslandWidget.js +19 -19
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +5 -5
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +45 -44
- 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 +105 -97
- 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/LightBoxSidebars/LightBoxLeftSidebar.js +12 -12
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +13 -13
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +10 -10
- package/components/List/List.js +3 -3
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +14 -14
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +7 -7
- 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 +6 -6
- 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 +8 -8
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +5 -5
- package/components/MobileView/index.js +3 -1
- package/components/MobileView/useMobileView.js +10 -0
- package/components/ModalWindow/ModalWindow.js +30 -30
- package/components/ModalWindow/components/ModalWindowBody.js +7 -7
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +7 -7
- package/components/MonthYearRange/MonthYearRange.js +12 -12
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +13 -13
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- 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/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/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +8 -8
- package/components/OrderedList/OrderedListItem.js +6 -6
- 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 +9 -9
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +14 -14
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +10 -10
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +17 -17
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +13 -13
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +27 -27
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +10 -10
- package/components/StatusTracker/StatusTracker.js +3 -3
- 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/StatusTrackerStatusGroup.js +4 -4
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +19 -19
- package/components/Stepper/Stepper.js +33 -32
- package/components/Stepper/StepperExtended.js +11 -11
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Stepper/index.js +9 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- 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 +3 -3
- package/components/Table/ChipPanel.js +4 -4
- package/components/Table/ChipPanelLinks.js +6 -6
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- 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 +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- 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 +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 +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +13 -12
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +30 -30
- package/components/TagColor/TagColor.js +9 -9
- package/components/TagGroup/TagGroup.js +6 -6
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +5 -5
- package/components/TopOverlay/TopOverlay.js +46 -46
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +25 -25
- package/components/Typography/CodeText.js +3 -3
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +18 -18
- package/components/Typography/constants.js +1 -1
- package/components/Typography/enums.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/UploadZone/index.js +1 -1
- package/components/WindowResizeListener/WindowResizeListener.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/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-p-fWJ9CC.js +0 -41
- package/chunks/CalendarViewItem-y_OwskEF.js +0 -101
- package/chunks/Card.module-DLre-hDg.js +0 -18
- package/chunks/CheckboxTreeExtended.module-BsnFYetJ.js +0 -15
- package/chunks/Confirm.module-ONNAnitW.js +0 -15
- package/chunks/DropdownMobile.module-C99ad0jt.js +0 -23
- package/chunks/Footer.module-fCYYdKPC.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BUlWJH2L.js +0 -9
- package/chunks/HeaderTabs.module-f0pOEOus.js +0 -9
- package/chunks/ImageGalleryExtendedMain.module-BGe90A85.js +0 -17
- package/chunks/IslandAccordion.module-CpsIbUZS.js +0 -25
- package/chunks/IslandWidgetFooter.module-Cv-pFx97.js +0 -9
- package/chunks/IslandWidgetHeader.module-DZ7u5KdZ.js +0 -13
- package/chunks/LightBoxControls.module-BGzxKeYz.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CmhYqDUn.js +0 -9
- package/chunks/ListItemTail.module-_zPCXCQZ.js +0 -12
- package/chunks/ListMasterFooter.module-OOs3HMYn.js +0 -10
- package/chunks/ModalWindow.module-BkI79oza.js +0 -17
- package/chunks/Notification.module-CtpYgvcX.js +0 -20
- package/chunks/Overlay.module-C3WPSJN5.js +0 -18
- package/chunks/Page.module-CkMrRJ3E.js +0 -11
- package/chunks/SMSField.module-Bo60-Oyi.js +0 -16
- package/chunks/SliderExtendedMarks.module-kdIHU6Y0.js +0 -15
- package/chunks/StatusTracker.module-DiLzRUA8.js +0 -24
- package/chunks/TableFooter.module-Bq-wqvaF.js +0 -14
- package/chunks/TabsExtended.module-CsY7VuxQ.js +0 -16
- package/chunks/TabsLine.module-BWx30e5X.js +0 -21
- package/chunks/TooltipDesktop.module-BkTwHXKO.js +0 -19
- package/chunks/TreeView.module-seYxUon6.js +0 -9
- package/chunks/utils-BIYQTFij.js +0 -24
- package/chunks/utils-CXwYWTdr.js +0 -73
|
@@ -1,108 +1,116 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { jsx as t, jsxs as h, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import L, { useState as p, useRef as y, useEffect as T } from "react";
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
import { FocusTrapExtended as X } from "../../FocusTrapExtended/FocusTrapExtended.js";
|
|
5
|
+
import { OverlayBase as Y, EOverlayDirection as j } from "../../Overlay/OverlayBase.js";
|
|
6
|
+
import { OverlayMask as z } from "../../Overlay/OverlayMask.js";
|
|
6
7
|
import { LightBoxSideOverlayLoader as I } from "./LightBoxSideOverlayLoader.js";
|
|
7
8
|
import { FocusTrapUtils as A } from "../../../utils/focus/FocusTrapUtils.js";
|
|
8
9
|
import { LightBoxSideOverlayCloseMobile as G } from "./LightBoxSideOverlayCloseMobile.js";
|
|
9
10
|
import { LightBoxSideOverlayCloseDesktop as U } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
|
-
import { MobileView as V } from "../../MobileView/MobileView.js";
|
|
11
11
|
import { EComponentSize as q } from "../../../enums/EComponentSize.js";
|
|
12
12
|
import { createSizeToClassNameMap as J } from "../../../utils/classNameMaps.js";
|
|
13
|
-
const K = "
|
|
13
|
+
const K = "lightBoxSideOverlayMask__0d208521", Q = "lightBoxSideOverlayWrapper__7f53027a", V = "overflowXHidden__1740ffe0", Z = "overflowYHidden__7c37c684", $ = "closing__2b22c7c4", P = "opened__a9fe69fe", ee = "lightBoxSideOverlayContent__d76675e7", oe = "opening__3141af52", te = "sm__8d70cd9c", ie = "md__79979f22", re = "lg__c0135f2f", le = "lightBoxSideOverlay__b5afe751", e = {
|
|
14
14
|
lightBoxSideOverlayMask: K,
|
|
15
15
|
lightBoxSideOverlayWrapper: Q,
|
|
16
|
-
overflowXHidden:
|
|
17
|
-
overflowYHidden:
|
|
18
|
-
closing:
|
|
19
|
-
opened:
|
|
20
|
-
lightBoxSideOverlayContent:
|
|
21
|
-
opening:
|
|
22
|
-
sm:
|
|
23
|
-
md:
|
|
24
|
-
lg:
|
|
25
|
-
lightBoxSideOverlay:
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
16
|
+
overflowXHidden: V,
|
|
17
|
+
overflowYHidden: Z,
|
|
18
|
+
closing: $,
|
|
19
|
+
opened: P,
|
|
20
|
+
lightBoxSideOverlayContent: ee,
|
|
21
|
+
opening: oe,
|
|
22
|
+
sm: te,
|
|
23
|
+
md: ie,
|
|
24
|
+
lg: re,
|
|
25
|
+
lightBoxSideOverlay: le
|
|
26
|
+
}, ne = J(e), O = L.forwardRef(
|
|
27
|
+
({
|
|
28
|
+
children: x,
|
|
29
|
+
className: _,
|
|
30
|
+
focusTrapProps: l,
|
|
31
|
+
isLoading: a,
|
|
32
|
+
loadingTitle: S,
|
|
33
|
+
isTopLevelSideOverlayOpened: v,
|
|
34
|
+
isTopOverlayOpened: u,
|
|
35
|
+
onClose: s,
|
|
36
|
+
onOpen: c,
|
|
37
|
+
opened: o,
|
|
38
|
+
size: M = q.MD,
|
|
39
|
+
...w
|
|
40
|
+
}, k) => {
|
|
41
|
+
const [i, d] = p(!1), [n, f] = p(!1), g = y(o), B = y(null);
|
|
42
|
+
T(() => {
|
|
43
|
+
g.current && !o ? (f(!1), d(!0)) : !g.current && o && (d(!1), f(!0)), g.current = o;
|
|
44
|
+
}, [o]);
|
|
45
|
+
const C = (r) => {
|
|
46
|
+
const { target: F, currentTarget: R } = r;
|
|
47
|
+
F === R && (i ? (d(!1), s == null || s()) : n && (f(!1), c == null || c()));
|
|
48
|
+
}, H = ({ opened: r }) => /* @__PURE__ */ t(z, { opened: r, className: e.lightBoxSideOverlayMask }), N = () => /* @__PURE__ */ h(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: m(e.lightBoxSideOverlayContent, {
|
|
52
|
+
[e.closing]: i,
|
|
53
|
+
[e.opening]: n,
|
|
54
|
+
[e.opened]: o
|
|
55
|
+
}),
|
|
56
|
+
onTransitionEnd: C,
|
|
57
|
+
ref: B,
|
|
58
|
+
children: [
|
|
59
|
+
x,
|
|
60
|
+
a && /* @__PURE__ */ t(I, { loadingTitle: S })
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
), E = () => {
|
|
64
|
+
}, b = m(_, e.lightBoxSideOverlayWrapper, ne[M], {
|
|
65
|
+
[e.closing]: i,
|
|
66
|
+
[e.opened]: o,
|
|
67
|
+
[e.overflowXHidden]: !!v || !!a,
|
|
68
|
+
[e.overflowYHidden]: !!v || !!a || !!u
|
|
69
|
+
}), D = (r) => /* @__PURE__ */ h(W, { children: [
|
|
70
|
+
H(r),
|
|
71
|
+
N()
|
|
72
|
+
] });
|
|
73
|
+
return /* @__PURE__ */ t(
|
|
74
|
+
X,
|
|
75
|
+
{
|
|
76
|
+
active: o && !n && !i,
|
|
77
|
+
...l,
|
|
78
|
+
focusTrapOptions: {
|
|
79
|
+
allowOutsideClick: !0,
|
|
80
|
+
initialFocus: () => A.getFirstInteractionElementByDataAttr(B.current),
|
|
81
|
+
preventScroll: !0,
|
|
82
|
+
...l == null ? void 0 : l.focusTrapOptions
|
|
83
|
+
},
|
|
84
|
+
children: /* @__PURE__ */ t(
|
|
85
|
+
"div",
|
|
86
|
+
{
|
|
87
|
+
className: b,
|
|
88
|
+
role: "dialog",
|
|
89
|
+
"aria-modal": "true",
|
|
90
|
+
...w,
|
|
91
|
+
ref: k,
|
|
92
|
+
children: /* @__PURE__ */ t(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
className: m(e.lightBoxSideOverlay, {
|
|
96
|
+
[e.closing]: i,
|
|
97
|
+
[e.opening]: n
|
|
98
|
+
}),
|
|
99
|
+
children: /* @__PURE__ */ t(Y, { direction: j.RIGHT, opened: o, setOpened: E, children: D })
|
|
100
|
+
}
|
|
101
|
+
)
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
O.displayName = "LightBoxSideOverlay";
|
|
109
|
+
const Oe = Object.assign(O, {
|
|
110
|
+
CloseDesktop: U,
|
|
111
|
+
CloseMobile: G
|
|
112
|
+
});
|
|
105
113
|
export {
|
|
106
|
-
|
|
114
|
+
Oe as LightBoxSideOverlay
|
|
107
115
|
};
|
|
108
116
|
//# sourceMappingURL=LightBoxSideOverlay.js.map
|
|
@@ -2,12 +2,12 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as l } from "react";
|
|
3
3
|
import { TriggerClickOnKeyDownEvent as a } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
4
4
|
import { EVENT_KEY_CODES as p } from "../../../utils/keyboard.js";
|
|
5
|
-
import { c } from "../../../chunks/vendor-
|
|
5
|
+
import { c } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
6
6
|
import { CrossStrokeSrvIcon32 as d } from "@sberbusiness/icons-next";
|
|
7
7
|
import { EButtonTheme as f } from "../../Button/enums.js";
|
|
8
8
|
import { EComponentSize as C } from "../../../enums/EComponentSize.js";
|
|
9
9
|
import { Button as u } from "../../Button/Button.js";
|
|
10
|
-
import { s as r } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
10
|
+
import { s as r } from "../../../chunks/LightBoxSideOverlayClose.module-B7Fno0cK.js";
|
|
11
11
|
const E = ({
|
|
12
12
|
className: i,
|
|
13
13
|
clickByEsc: s,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../../chunks/vendor-
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
3
3
|
import { CrossStrokeSrvIcon20 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { s as m } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
4
|
+
import { s as m } from "../../../chunks/LightBoxSideOverlayClose.module-B7Fno0cK.js";
|
|
5
5
|
import { EButtonTheme as l } from "../../Button/enums.js";
|
|
6
6
|
import { EComponentSize as s } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { Button as a } from "../../Button/Button.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { useState as s, useRef as
|
|
3
|
-
import { LoaderScreen as
|
|
4
|
-
const n = "
|
|
2
|
+
import { useState as s, useRef as l, useEffect as p } from "react";
|
|
3
|
+
import { LoaderScreen as d } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__9b3cca75", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
|
-
const [t, r] = s(0), e =
|
|
8
|
-
return
|
|
7
|
+
const [t, r] = s(0), e = l(null);
|
|
8
|
+
return p(() => {
|
|
9
9
|
setTimeout(() => {
|
|
10
10
|
if (e.current) {
|
|
11
11
|
const o = e.current.getBoundingClientRect();
|
|
12
12
|
o.top !== t && (o.top > 0 ? r(0) : r(Math.abs(o.top)));
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
}, []), /* @__PURE__ */ i("div", { ref: e, className: c.lightBoxSideOverlayLoaderWrapper, style: { top: `${t}px` }, children: /* @__PURE__ */ i(
|
|
15
|
+
}, []), /* @__PURE__ */ i("div", { ref: e, className: c.lightBoxSideOverlayLoaderWrapper, style: { top: `${t}px` }, children: /* @__PURE__ */ i(d, { type: "middle", children: a }) });
|
|
16
16
|
};
|
|
17
17
|
f.displayName = "LightBoxSideOverlayLoader";
|
|
18
18
|
export {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as N, useRef as
|
|
3
|
-
import { c as h } from "../../../chunks/vendor-
|
|
4
|
-
const j = "
|
|
2
|
+
import { forwardRef as N, useRef as d, useImperativeHandle as R, useState as V, useEffect as b } from "react";
|
|
3
|
+
import { c as h } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
const j = "lightBoxLeftSidebar__f590f7ab", z = "fixed__637dddc3", E = "hidden__056645ae", r = {
|
|
5
5
|
lightBoxLeftSidebar: j,
|
|
6
6
|
fixed: z,
|
|
7
7
|
hidden: E
|
|
8
8
|
}, O = N(
|
|
9
|
-
({ children: m, className: L, fixed: B, minVisibleWidth:
|
|
10
|
-
const n =
|
|
9
|
+
({ children: m, className: L, fixed: B, minVisibleWidth: o = 100, onShow: s, onHide: i, ...g }, p) => {
|
|
10
|
+
const n = d(null);
|
|
11
11
|
R(p, () => n.current);
|
|
12
|
-
const [v, _] = V(!0), e =
|
|
12
|
+
const [v, _] = V(!0), e = d(s), t = d(i);
|
|
13
13
|
return b(() => {
|
|
14
14
|
e.current = s, t.current = i;
|
|
15
15
|
}, [s, i]), b(() => {
|
|
16
16
|
const f = n.current;
|
|
17
17
|
if (!f) return;
|
|
18
|
-
const
|
|
18
|
+
const a = new ResizeObserver((S) => {
|
|
19
19
|
for (const y of S) {
|
|
20
|
-
const c = y.contentRect.width >
|
|
20
|
+
const c = y.contentRect.width > o;
|
|
21
21
|
_((I) => {
|
|
22
|
-
var
|
|
23
|
-
return c !== I && (c ? (
|
|
22
|
+
var l, u;
|
|
23
|
+
return c !== I && (c ? (l = e.current) == null || l.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
return
|
|
28
|
-
}, [
|
|
27
|
+
return a.observe(f), () => a.disconnect();
|
|
28
|
+
}, [o]), /* @__PURE__ */ x(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
31
|
ref: n,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx as h } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as N, useRef as
|
|
3
|
-
import { c as x } from "../../../chunks/vendor-
|
|
4
|
-
const j = "
|
|
2
|
+
import { forwardRef as N, useRef as d, useImperativeHandle as L, useState as V, useEffect as g } from "react";
|
|
3
|
+
import { c as x } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
const j = "lightBoxRightSidebar__53077f16", z = "fixed__637dddc3", E = "hidden__056645ae", r = {
|
|
5
5
|
lightBoxRightSidebar: j,
|
|
6
6
|
fixed: z,
|
|
7
7
|
hidden: E
|
|
8
8
|
}, O = N(
|
|
9
|
-
({ children: b, className: m, fixed: R, minVisibleWidth:
|
|
10
|
-
const n =
|
|
9
|
+
({ children: b, className: m, fixed: R, minVisibleWidth: o = 100, onShow: i, onHide: s, ...B }, p) => {
|
|
10
|
+
const n = d(null);
|
|
11
11
|
L(p, () => n.current);
|
|
12
|
-
const [v, _] = V(!0), e =
|
|
12
|
+
const [v, _] = V(!0), e = d(i), t = d(s);
|
|
13
13
|
return g(() => {
|
|
14
14
|
e.current = i, t.current = s;
|
|
15
15
|
}, [i, s]), g(() => {
|
|
16
|
-
const
|
|
17
|
-
if (!
|
|
16
|
+
const a = n.current;
|
|
17
|
+
if (!a) return;
|
|
18
18
|
const l = new ResizeObserver((S) => {
|
|
19
19
|
for (const y of S) {
|
|
20
|
-
const c = y.contentRect.width >
|
|
20
|
+
const c = y.contentRect.width > o;
|
|
21
21
|
_((I) => {
|
|
22
|
-
var
|
|
23
|
-
return c !== I && (c ? (
|
|
22
|
+
var f, u;
|
|
23
|
+
return c !== I && (c ? (f = e.current) == null || f.call(e) : (u = t.current) == null || u.call(t)), c;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
return l.observe(
|
|
28
|
-
}, [
|
|
27
|
+
return l.observe(a), () => l.disconnect();
|
|
28
|
+
}, [o]), /* @__PURE__ */ h(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
31
|
ref: n,
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as m, useRef as L, useCallback as n, useLayoutEffect as c } from "react";
|
|
3
3
|
import { Portal as B } from "../../Portal/Portal.js";
|
|
4
4
|
import { LightBoxViewManagerConsts as l } from "./LightBoxViewManagerConsts.js";
|
|
5
|
-
import {
|
|
5
|
+
import { g as k, i as P, p } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
6
6
|
const g = "LightBoxMountNodeViewManager", $ = ({
|
|
7
7
|
lightBoxMountNode: a,
|
|
8
8
|
lightBoxViewManagerNode: x
|
package/components/Link/Link.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as h, jsxs as t, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import L from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as a } from "../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { IconWrapper as F } from "../IconWrapper/IconWrapper.js";
|
|
5
|
-
const I = "
|
|
5
|
+
const I = "link__d2efb9b1", S = "wordWithContent__b7e86e6d", T = "before__c7c3286c", q = "after__c284660c", e = {
|
|
6
6
|
link: I,
|
|
7
7
|
wordWithContent: S,
|
|
8
8
|
before: T,
|
|
@@ -15,7 +15,7 @@ const I = "link__bf53db7e", S = "wordWithContent__6c91bf03", T = "before__da43ad
|
|
|
15
15
|
] }) : null, m = () => s ? s() : null, _ = (o) => {
|
|
16
16
|
const r = o.split(" ");
|
|
17
17
|
if (r.length < 2 || r.length < 3 && n && s) {
|
|
18
|
-
const R =
|
|
18
|
+
const R = a(e.wordWithContent, {
|
|
19
19
|
[e.after]: !!s,
|
|
20
20
|
[e.before]: !!n
|
|
21
21
|
});
|
|
@@ -25,12 +25,12 @@ const I = "link__bf53db7e", S = "wordWithContent__6c91bf03", T = "before__da43ad
|
|
|
25
25
|
m()
|
|
26
26
|
] });
|
|
27
27
|
}
|
|
28
|
-
const
|
|
28
|
+
const l = r[0], p = r[r.length - 1], k = r.slice(1, -1).join(" "), g = a(e.wordWithContent, {
|
|
29
29
|
[e.before]: !!n
|
|
30
30
|
}), x = n ? /* @__PURE__ */ t("span", { className: g, children: [
|
|
31
31
|
c(),
|
|
32
|
-
|
|
33
|
-
] }) :
|
|
32
|
+
l
|
|
33
|
+
] }) : l, y = a(e.wordWithContent, {
|
|
34
34
|
[e.after]: !!s
|
|
35
35
|
}), j = s ? /* @__PURE__ */ t("span", { className: y, children: [
|
|
36
36
|
p,
|
|
@@ -44,11 +44,11 @@ const I = "link__bf53db7e", S = "wordWithContent__6c91bf03", T = "before__da43ad
|
|
|
44
44
|
j
|
|
45
45
|
] });
|
|
46
46
|
}, b = (o) => {
|
|
47
|
-
const r = n ? n() : null,
|
|
47
|
+
const r = n ? n() : null, l = s ? s() : null;
|
|
48
48
|
return /* @__PURE__ */ t(d, { children: [
|
|
49
49
|
r,
|
|
50
50
|
o,
|
|
51
|
-
|
|
51
|
+
l
|
|
52
52
|
] });
|
|
53
53
|
}, w = n || s ? ((o) => typeof o == "string" ? _(o) : b(o))(i) : i;
|
|
54
54
|
return /* @__PURE__ */ h(
|
|
@@ -56,10 +56,10 @@ const I = "link__bf53db7e", S = "wordWithContent__6c91bf03", T = "before__da43ad
|
|
|
56
56
|
{
|
|
57
57
|
role: "link",
|
|
58
58
|
...u,
|
|
59
|
-
className:
|
|
59
|
+
className: a(N, e.link),
|
|
60
60
|
onBlur: f,
|
|
61
61
|
onMouseDown: C,
|
|
62
|
-
"data-tx": "1.
|
|
62
|
+
"data-tx": "1.33.0",
|
|
63
63
|
ref: W,
|
|
64
64
|
children: /* @__PURE__ */ h(F, { displayContents: !0, children: w })
|
|
65
65
|
}
|
package/components/List/List.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
3
|
+
import { c } from "../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { LoaderScreen as m } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
-
const d = "
|
|
5
|
+
const d = "list__c3c9985e", f = {
|
|
6
6
|
list: d
|
|
7
|
-
}, p = a.forwardRef(({ children: t, className: s, loading: e, ...l }, o) => /* @__PURE__ */ r("ul", { className: c(f.list, s), ...l, "data-tx": "1.
|
|
7
|
+
}, p = a.forwardRef(({ children: t, className: s, loading: e, ...l }, o) => /* @__PURE__ */ r("ul", { className: c(f.list, s), ...l, "data-tx": "1.33.0", ref: o, children: [
|
|
8
8
|
t,
|
|
9
9
|
e ? /* @__PURE__ */ i(m, { type: "middle" }) : null
|
|
10
10
|
] }));
|
|
@@ -3,7 +3,7 @@ var b = (t, e, r) => e in t ? p(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var n = (t, e, r) => b(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
import { jsx as o } from "react/jsx-runtime";
|
|
5
5
|
import D from "react";
|
|
6
|
-
import { a as T, b as i, D as y, M as E, r as I, d as M, S as L, v as w, e as C, T as N, f as R } from "../../chunks/vendor-
|
|
6
|
+
import { a as T, b as i, D as y, M as E, r as I, d as M, S as L, v as w, e as C, T as N, f as R } from "../../chunks/vendor-D5cfSbgz.js";
|
|
7
7
|
import { List as _ } from "./List.js";
|
|
8
8
|
import { isDraggableTarget as l } from "./utils.js";
|
|
9
9
|
class u extends R {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor-
|
|
4
|
-
const p = "
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
const p = "listEmptyState__4a2661c8", l = {
|
|
5
5
|
listEmptyState: p
|
|
6
6
|
}, r = i.forwardRef(
|
|
7
|
-
({ children: t, className: s, ...a },
|
|
7
|
+
({ children: t, className: s, ...a }, m) => /* @__PURE__ */ e("div", { className: o(l.listEmptyState, s), ...a, ref: m, children: t })
|
|
8
8
|
);
|
|
9
9
|
r.displayName = "ListEmptyState";
|
|
10
10
|
export {
|
|
@@ -3,7 +3,7 @@ import d, { useState as t } from "react";
|
|
|
3
3
|
import { ListItemContext as f } from "./ListItemContext.js";
|
|
4
4
|
const n = d.forwardRef(({ children: s, className: r, ...a }, l) => {
|
|
5
5
|
const [o, i] = t(!1), [m, c] = t(!1);
|
|
6
|
-
return /* @__PURE__ */ e(f.Provider, { value: { selected: o, setSelected: i, selectable: m, setSelectable: c }, children: /* @__PURE__ */ e("li", { className: r, ...a, "data-tx": "1.
|
|
6
|
+
return /* @__PURE__ */ e(f.Provider, { value: { selected: o, setSelected: i, selectable: m, setSelectable: c }, children: /* @__PURE__ */ e("li", { className: r, ...a, "data-tx": "1.33.0", ref: l, children: s }) });
|
|
7
7
|
});
|
|
8
8
|
n.displayName = "ListItem";
|
|
9
9
|
export {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as r } from "../../../chunks/vendor-
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import m, { useContext as i } from "react";
|
|
3
|
+
import { c as r } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { ListItemContext as d } from "./ListItemContext.js";
|
|
5
|
-
const
|
|
6
|
-
listItemContent:
|
|
7
|
-
selected:
|
|
8
|
-
selectable:
|
|
9
|
-
},
|
|
5
|
+
const C = "listItemContent__9b730d22", _ = "selected__68c6e785", f = "selectable__57aaeca3", t = {
|
|
6
|
+
listItemContent: C,
|
|
7
|
+
selected: _,
|
|
8
|
+
selectable: f
|
|
9
|
+
}, I = m.forwardRef(
|
|
10
10
|
({ children: e, className: s, ...l }, o) => {
|
|
11
|
-
const { selected:
|
|
12
|
-
return /* @__PURE__ */
|
|
11
|
+
const { selected: c, selectable: n } = i(d);
|
|
12
|
+
return /* @__PURE__ */ a(
|
|
13
13
|
"div",
|
|
14
14
|
{
|
|
15
15
|
className: r(
|
|
16
16
|
t.listItemContent,
|
|
17
|
-
{ [t.selected]:
|
|
17
|
+
{ [t.selected]: c, [t.selectable]: n },
|
|
18
18
|
s
|
|
19
19
|
),
|
|
20
20
|
...l,
|
|
21
|
-
"data-tx": "1.
|
|
21
|
+
"data-tx": "1.33.0",
|
|
22
22
|
ref: o,
|
|
23
23
|
children: e
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
|
-
|
|
28
|
+
I.displayName = "ListItemContent";
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
I as ListItemContent
|
|
31
31
|
};
|
|
32
32
|
//# sourceMappingURL=ListItemContent.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const i = "
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
const i = "listItemControls__58168091", n = {
|
|
5
5
|
listItemControls: i
|
|
6
|
-
},
|
|
7
|
-
({ children: t, className: o, ...s }, l) => /* @__PURE__ */ r("div", { className:
|
|
6
|
+
}, a = m.forwardRef(
|
|
7
|
+
({ children: t, className: o, ...s }, l) => /* @__PURE__ */ r("div", { className: e(n.listItemControls, o), ...s, ref: l, children: t })
|
|
8
8
|
);
|
|
9
|
-
|
|
9
|
+
a.displayName = "ListItemControls";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
a as ListItemControls
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=ListItemControls.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
4
|
-
import { L as n } from "../../../chunks/ListItemControlsButton-
|
|
3
|
+
import "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
import { L as n } from "../../../chunks/ListItemControlsButton-Dc6wY6Fp.js";
|
|
5
5
|
import "../../Typography/enums.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
import "../../IconWrapper/IconWrapper.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as W, Fragment as _ } from "react/jsx-runtime";
|
|
2
2
|
import P, { useRef as l, useState as E, createElement as w } from "react";
|
|
3
|
-
import { u as O, c as g } from "../../../chunks/vendor-
|
|
3
|
+
import { u as O, c as g } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { ETextSize as K } from "../../Typography/enums.js";
|
|
5
5
|
import { Text as T } from "../../Typography/Text.js";
|
|
6
6
|
import { ButtonDropdownExtended as D } from "../../Button/ButtonDropdownExtended.js";
|
|
@@ -18,7 +18,7 @@ import { DropdownMobileListItem as H } from "../../Dropdown/mobile/DropdownMobil
|
|
|
18
18
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
19
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
20
20
|
import { DropdownList as R } from "../../Dropdown/desktop/DropdownList.js";
|
|
21
|
-
import { s as b, L as V } from "../../../chunks/ListItemControlsButton-
|
|
21
|
+
import { s as b, L as V } from "../../../chunks/ListItemControlsButton-Dc6wY6Fp.js";
|
|
22
22
|
import { setForwardedRef as G } from "../utils.js";
|
|
23
23
|
const J = P.forwardRef(
|
|
24
24
|
(h, C) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { EComponentSize as
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { c as r } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
import { EComponentSize as a } from "../../../enums/EComponentSize.js";
|
|
5
5
|
import { LoaderSmall as s } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
6
6
|
import { ELoaderSmallTheme as l } from "../../Loader/LoaderSmall/enum.js";
|
|
7
7
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
8
|
-
const d = "
|
|
8
|
+
const d = "listItemLoading__eb5b6721", n = {
|
|
9
9
|
listItemLoading: d
|
|
10
|
-
}, p =
|
|
11
|
-
({ className: t, ...m },
|
|
10
|
+
}, p = i.forwardRef(
|
|
11
|
+
({ className: t, ...m }, e) => /* @__PURE__ */ o("div", { className: r(n.listItemLoading, t), ...m, ref: e, children: /* @__PURE__ */ o(s, { theme: l.BRAND, size: a.MD }) })
|
|
12
12
|
);
|
|
13
13
|
p.displayName = "ListItemLoading";
|
|
14
14
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import k, { useContext as x, useEffect as r } from "react";
|
|
3
|
-
import { c as f } from "../../../chunks/vendor-
|
|
3
|
+
import { c as f } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { Checkbox as _ } from "../../Checkbox/Checkbox.js";
|
|
5
5
|
import { ListItemContext as L } from "./ListItemContext.js";
|
|
6
|
-
const C = "
|
|
6
|
+
const C = "listItemSelectable__cc2ebfda", S = "selected__68c6e785", W = "checkboxWrapper__b67f1af7", u = "childrenWrapper__ca80a7a9", I = "checkboxLabel__0597d96d", N = "checkboxLabelClickArea__0139d049", e = {
|
|
7
7
|
listItemSelectable: C,
|
|
8
8
|
selected: S,
|
|
9
9
|
checkboxWrapper: W,
|