@sberbusiness/triplex-next 0.14.1 → 0.16.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-BfExIHyf.js +39 -0
- package/chunks/{CalendarViewItem-bjlzO6fA.js → CalendarViewItem-DjDlwsr-.js} +18 -18
- package/chunks/Card.module-BDhkqA-1.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DvYrGq2d.js +14 -0
- package/chunks/{Chip-BjcDj2XE.js → Chip-Is4KDVHc.js} +3 -3
- package/chunks/Confirm.module-DJgmkdgX.js +15 -0
- package/chunks/{DropdownListItem-BByGOD7_.js → DropdownListItem-BdSacGyt.js} +21 -21
- package/chunks/DropdownMobile.module-04Mon9FN.js +23 -0
- package/chunks/Footer.module-B0GfNisY.js +9 -0
- package/chunks/FormFieldInput-DDUEO0k6.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-BvdGzIVf.js +9 -0
- package/chunks/HeaderTabs.module-COsRYfxE.js +9 -0
- package/chunks/{HeaderTitle.module-Aa8Ayziq.js → HeaderTitle.module-LN1Fj13p.js} +2 -2
- package/chunks/IslandAccordion.module-GnMVxP0n.js +25 -0
- package/chunks/IslandWidgetFooter.module-Cvl5d8YC.js +9 -0
- package/chunks/IslandWidgetHeader.module-JkauVtWn.js +12 -0
- package/chunks/{LightBoxContent-B5TEJXI-.js → LightBoxContent-CN7SmRwX.js} +13 -13
- package/chunks/LightBoxControls.module-koLoz_-f.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D6FP9Ulx.js +8 -0
- package/chunks/{ListItemControlsButton-BQWXaAf7.js → ListItemControlsButton-CgrHz7BO.js} +3 -3
- package/chunks/ListItemTail.module-DNRGTk64.js +12 -0
- package/chunks/ListMasterFooter.module-iy5cZxzC.js +10 -0
- package/chunks/ModalWindow.module-boLwaSVC.js +17 -0
- package/chunks/Notification.module-6l7KFShv.js +21 -0
- package/chunks/Overlay.module-COWWNc0T.js +18 -0
- package/chunks/Page.module-UL2Y8-XU.js +11 -0
- package/chunks/{RightBorderArrow-BjcGiO4Y.js → RightBorderArrow-B47Am4iB.js} +9 -9
- package/chunks/SMSField.module-BGqA-NcR.js +16 -0
- package/chunks/SliderExtendedMarks.module-CrvLHlu0.js +15 -0
- package/chunks/{SliderExtendedRail-DHe0BU85.js → SliderExtendedRail-C_eWUceV.js} +6 -6
- package/chunks/StatusTracker.module-BIpb3AbV.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-C_9OyUAk.js +14 -0
- package/chunks/TableFooter.module-DpjOyrUF.js +14 -0
- package/chunks/TabsExtended.module-hRiksHlb.js +16 -0
- package/chunks/TabsLine.module-3hdH-7s8.js +21 -0
- package/chunks/TooltipDesktop.module-BQ_-qhMK.js +19 -0
- package/chunks/TreeView.module-BHzh1VmC.js +9 -0
- package/chunks/UploadZoneInput--8r5kxhe.js +33 -0
- package/chunks/constants-BY1BSJmu.js +57 -0
- package/chunks/{utils-DQttOWML.js → utils-Bg2bllE8.js} +9 -9
- package/chunks/utils-e1nAN4Kk.js +20 -0
- package/chunks/utils-rqbzWAF8.js +24 -0
- package/chunks/utils-zNOBXKDX.js +73 -0
- package/chunks/{vendor-CalMVkfj.js → vendor-DE8Zvm0w.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- 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 +26 -26
- package/components/Avatar/Avatar.js +14 -14
- package/components/Badge/Badge.js +30 -0
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +36 -36
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +24 -24
- package/components/Button/ButtonDropdownExtended.js +6 -6
- package/components/Button/ButtonIcon.js +10 -10
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- 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 +12 -12
- 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 +5 -5
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- 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 +51 -42
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +16 -16
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- 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/ConfirmContentSubTitle.js +5 -5
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DateField/DateFieldTarget.js +29 -28
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- 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 +35 -35
- 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 +4 -4
- 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 +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +20 -20
- package/components/ExpandAnimation/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 +79 -75
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +8 -8
- 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 +4 -4
- 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 +37 -36
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +87 -72
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +3 -3
- 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 +28 -10
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +21 -22
- 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 +70 -72
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +28 -28
- package/components/List/List.js +6 -6
- 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 +7 -7
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +7 -7
- 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 +5 -5
- package/components/List/components/ListSortableItemTarget.js +2 -2
- 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 +8 -8
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- 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 +12 -12
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- 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 +13 -13
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/Pagination.js +4 -4
- 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 +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- 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 +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +12 -12
- package/components/SelectField/SelectField.js +5 -5
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +21 -21
- 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 +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +20 -20
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +6 -6
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +8 -8
- 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 +8 -8
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -8
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +9 -9
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +52 -89
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +9 -9
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +132 -133
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- package/components/SwipeableArea/SwipeableArea.js +17 -17
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +20 -20
- 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 +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- 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/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- 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 +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 +19 -19
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +18 -18
- package/components/TagColor/TagColor.js +18 -18
- package/components/TagGroup/TagGroup.js +14 -14
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +25 -30
- 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 +12 -12
- 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 +6 -6
- package/components/TopOverlay/TopOverlay.js +10 -10
- 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 +40 -42
- package/components/Typography/Text.js +44 -46
- package/components/Typography/Title.js +40 -42
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +12 -12
- 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 +532 -533
- package/index.d.ts +108 -117
- package/index.js +576 -577
- package/package.json +9 -1
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-w7bEDQkZ.js +0 -39
- package/chunks/Card.module-BLsCGNSy.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CgfwcCEk.js +0 -14
- package/chunks/Confirm.module-CzudnAyq.js +0 -15
- package/chunks/DropdownMobile.module-DOLon8EA.js +0 -23
- package/chunks/Footer.module-BVFglVCT.js +0 -9
- package/chunks/FormFieldInput-CXE2lpa2.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-DKuCSX50.js +0 -9
- package/chunks/HeaderTabs.module-BD-cjJN0.js +0 -9
- package/chunks/IslandAccordion.module-DuBXHdTP.js +0 -25
- package/chunks/IslandWidgetFooter.module-Dv6ikQyO.js +0 -9
- package/chunks/IslandWidgetHeader.module-ChVPLOQn.js +0 -9
- package/chunks/LightBoxControls.module-4BsaXW9O.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Bx568ER4.js +0 -8
- package/chunks/ListItemTail.module-Dqje1Ta9.js +0 -12
- package/chunks/ListMasterFooter.module-CQ5ySLht.js +0 -10
- package/chunks/ModalWindow.module-BhRZeAo8.js +0 -17
- package/chunks/Notification.module-DwrRfWOt.js +0 -21
- package/chunks/Overlay.module-B6CO6ER3.js +0 -18
- package/chunks/Page.module-DkHondpd.js +0 -11
- package/chunks/SMSField.module-CDTpuKgF.js +0 -16
- package/chunks/SliderExtendedMarks.module--4YyXPzu.js +0 -15
- package/chunks/StatusTracker.module-DkISSFNd.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-BM9lOqXe.js +0 -15
- package/chunks/TableFooter.module-zu7cE58N.js +0 -14
- package/chunks/TabsExtended.module-CKJx5gTC.js +0 -16
- package/chunks/TabsLine.module-dWFH4Lb0.js +0 -21
- package/chunks/TooltipDesktop.module-8uJuXz2F.js +0 -19
- package/chunks/TreeView.module-CBWqJQ3g.js +0 -9
- package/chunks/UploadZoneInput-DgPYo5Ct.js +0 -33
- package/chunks/utils-D6gsTR6V.js +0 -73
- package/chunks/utils-DXZkhXsb.js +0 -24
- package/chunks/utils-Ds7Etruz.js +0 -20
- package/chunks/utils-QtOC5s-T.js +0 -36
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as n, useEffect as
|
|
3
|
-
import { c as V, F as A } from "../../chunks/vendor-
|
|
4
|
-
import { L as D, s as e } from "../../chunks/LightBoxContent-
|
|
1
|
+
import { jsxs as B, Fragment as F, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as n, useEffect as f } from "react";
|
|
3
|
+
import { c as V, F as A } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { L as D, s as e } from "../../chunks/LightBoxContent-CN7SmRwX.js";
|
|
5
5
|
import { LightBoxControls as I } from "./LightBoxControls/LightBoxControls.js";
|
|
6
6
|
import { LightBoxSideOverlay as R } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
7
|
import { Portal as k } from "../Portal/Portal.js";
|
|
@@ -13,17 +13,16 @@ import { FocusTrapUtils as $ } from "../../utils/focus/FocusTrapUtils.js";
|
|
|
13
13
|
import { useToken as z } from "../ThemeProvider/useToken.js";
|
|
14
14
|
import { LightBoxLeftSidebar as H } from "./LightBoxSidebars/LightBoxLeftSidebar.js";
|
|
15
15
|
import { LightBoxRightSidebar as U } from "./LightBoxSidebars/LightBoxRightSidebar.js";
|
|
16
|
-
import "./LightBoxSideOverlay/enums.js";
|
|
17
16
|
const Z = {
|
|
18
|
-
"scroll-0": "scroll-
|
|
19
|
-
"scroll-15": "scroll-
|
|
20
|
-
"scroll-16": "scroll-
|
|
21
|
-
"scroll-17": "scroll-
|
|
17
|
+
"scroll-0": "scroll-0__2f142dcb",
|
|
18
|
+
"scroll-15": "scroll-15__ea1504b8",
|
|
19
|
+
"scroll-16": "scroll-16__13caa597",
|
|
20
|
+
"scroll-17": "scroll-17__6a9693a4"
|
|
22
21
|
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node", N = [e.bodyOverflowHidden], b = ({
|
|
23
22
|
children: v,
|
|
24
23
|
className: M,
|
|
25
24
|
focusTrapProps: r,
|
|
26
|
-
forwardRef:
|
|
25
|
+
forwardRef: c,
|
|
27
26
|
mountNode: s,
|
|
28
27
|
lightBoxViewManagerNodeId: m = L,
|
|
29
28
|
isLoading: d,
|
|
@@ -37,17 +36,17 @@ const Z = {
|
|
|
37
36
|
}, _ = () => {
|
|
38
37
|
let t = null;
|
|
39
38
|
return m && (t = document.querySelector(`#${m}`)), t || (t = document.createElement("div"), t.setAttribute("id", L), document.body.appendChild(t)), t;
|
|
40
|
-
},
|
|
39
|
+
}, a = n(E()), g = n(_()), h = () => {
|
|
41
40
|
N.forEach((t) => document.documentElement.classList.add(t));
|
|
42
41
|
};
|
|
43
|
-
|
|
42
|
+
f(() => (T(Z), h(), setTimeout(h, 100), () => N.forEach((t) => document.documentElement.classList.remove(t))), []), f(() => {
|
|
44
43
|
if (!i && l.current) {
|
|
45
44
|
const t = Math.round(Math.random() * 100);
|
|
46
45
|
l.current.style.zIndex = t.toString();
|
|
47
46
|
}
|
|
48
47
|
}, [i]);
|
|
49
48
|
const w = (t) => {
|
|
50
|
-
u.current = t,
|
|
49
|
+
u.current = t, c && (c.current = t);
|
|
51
50
|
}, O = V(
|
|
52
51
|
C,
|
|
53
52
|
e.lightBox,
|
|
@@ -58,15 +57,15 @@ const Z = {
|
|
|
58
57
|
},
|
|
59
58
|
M
|
|
60
59
|
);
|
|
61
|
-
if (!
|
|
60
|
+
if (!a.current)
|
|
62
61
|
return null;
|
|
63
|
-
const
|
|
62
|
+
const x = () => /* @__PURE__ */ B("div", { className: O, ref: w, role: "dialog", "aria-modal": "true", ...S, children: [
|
|
64
63
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
65
64
|
v,
|
|
66
65
|
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
67
66
|
] });
|
|
68
|
-
return /* @__PURE__ */
|
|
69
|
-
/* @__PURE__ */ o(k, { container:
|
|
67
|
+
return /* @__PURE__ */ B(F, { children: [
|
|
68
|
+
/* @__PURE__ */ o(k, { container: a.current, children: /* @__PURE__ */ o(
|
|
70
69
|
W,
|
|
71
70
|
{
|
|
72
71
|
fallback: /* @__PURE__ */ o(
|
|
@@ -80,23 +79,23 @@ const Z = {
|
|
|
80
79
|
preventScroll: !0,
|
|
81
80
|
...r == null ? void 0 : r.focusTrapOptions
|
|
82
81
|
},
|
|
83
|
-
children:
|
|
82
|
+
children: x()
|
|
84
83
|
}
|
|
85
84
|
),
|
|
86
|
-
children:
|
|
85
|
+
children: x()
|
|
87
86
|
}
|
|
88
87
|
) }),
|
|
89
88
|
g.current && /* @__PURE__ */ o(
|
|
90
89
|
q,
|
|
91
90
|
{
|
|
92
91
|
lightBoxViewManagerNode: g.current,
|
|
93
|
-
lightBoxMountNode:
|
|
92
|
+
lightBoxMountNode: a.current
|
|
94
93
|
}
|
|
95
94
|
)
|
|
96
95
|
] });
|
|
97
96
|
};
|
|
98
97
|
b.displayName = "LightBoxBase";
|
|
99
|
-
const
|
|
98
|
+
const ct = Object.assign(b, {
|
|
100
99
|
Content: D,
|
|
101
100
|
SideOverlay: R,
|
|
102
101
|
TopOverlay: j,
|
|
@@ -105,7 +104,7 @@ const st = Object.assign(b, {
|
|
|
105
104
|
RightSidebar: U
|
|
106
105
|
});
|
|
107
106
|
export {
|
|
108
|
-
|
|
107
|
+
ct as LightBox,
|
|
109
108
|
p as lightBoxMountNodeIdDefault,
|
|
110
109
|
L as lightBoxViewManagerNodeIdDefault
|
|
111
110
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../chunks/vendor-
|
|
3
|
+
import "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-CN7SmRwX.js";
|
|
7
7
|
export {
|
|
8
8
|
n as LightBoxContent
|
|
9
9
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e, Fragment as f } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as h } from "react";
|
|
3
|
-
import { c as u } from "../../../chunks/vendor-
|
|
3
|
+
import { c as u } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { CrossStrokeSrvIcon32 as x, CrossStrokeSrvIcon20 as C } from "@sberbusiness/icons-next";
|
|
5
5
|
import { TriggerClickOnKeyDownEvent as E } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
6
6
|
import { EVENT_KEY_CODES as g } from "../../../utils/keyboard.js";
|
|
7
7
|
import { EButtonTheme as i } from "../../Button/enums.js";
|
|
8
8
|
import { Button as l } from "../../Button/Button.js";
|
|
9
9
|
import { EComponentSize as a } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-koLoz_-f.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: c,
|
|
13
13
|
onClick: t,
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { LightBoxClose as m } from "./LightBoxClose.js";
|
|
3
3
|
import { LightBoxNext as l } from "./LightBoxNext.js";
|
|
4
4
|
import { LightBoxPrev as x } from "./LightBoxPrev.js";
|
|
5
|
-
import { c as e } from "../../../chunks/vendor-
|
|
6
|
-
import { s as p } from "../../../chunks/LightBoxControls.module-
|
|
5
|
+
import { c as e } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-koLoz_-f.js";
|
|
7
7
|
const o = ({ children: t, className: r, ...s }) => /* @__PURE__ */ i("div", { className: e(r, p.lightBoxControls), ...s, "data-lightbox-component": "controls", children: t });
|
|
8
8
|
o.displayName = "LightBoxControls";
|
|
9
9
|
o.Close = m;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as x, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as m } from "react";
|
|
3
|
-
import { c as n } from "../../../chunks/vendor-
|
|
3
|
+
import { c as n } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { CaretrightStrokeSrvIcon32 as E, CaretrightStrokeSrvIcon20 as D } from "@sberbusiness/icons-next";
|
|
5
5
|
import { TriggerClickOnKeyDownEvent as I } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
6
6
|
import { EVENT_KEY_CODES as R } from "../../../utils/keyboard.js";
|
|
7
7
|
import { Button as c } from "../../Button/Button.js";
|
|
8
8
|
import { EButtonTheme as s } from "../../Button/enums.js";
|
|
9
9
|
import { EComponentSize as f } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-koLoz_-f.js";
|
|
11
11
|
const v = ({
|
|
12
12
|
className: g,
|
|
13
13
|
clickByArrowRight: u,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as f, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as m } from "react";
|
|
3
|
-
import { c as n } from "../../../chunks/vendor-
|
|
3
|
+
import { c as n } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { CaretleftStrokeSrvIcon32 as E, CaretleftStrokeSrvIcon20 as D } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EButtonTheme as h } from "../../Button/enums.js";
|
|
6
6
|
import { TriggerClickOnKeyDownEvent as C } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
7
7
|
import { EVENT_KEY_CODES as I } from "../../../utils/keyboard.js";
|
|
8
8
|
import { Button as s } from "../../Button/Button.js";
|
|
9
9
|
import { EComponentSize as v } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-koLoz_-f.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -1,103 +1,101 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
4
|
-
import { OverlayBase as
|
|
5
|
-
import { OverlayMask as
|
|
6
|
-
import { LightBoxSideOverlayLoader as
|
|
7
|
-
import { FocusTrapUtils as
|
|
1
|
+
import { jsx as t, jsxs as y, Fragment as T } from "react/jsx-runtime";
|
|
2
|
+
import { useState as B, useRef as O, useEffect as X } from "react";
|
|
3
|
+
import { c as v, F as Y } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { OverlayBase as z, EOverlayDirection as L } from "../../Overlay/OverlayBase.js";
|
|
5
|
+
import { OverlayMask as R } from "../../Overlay/OverlayMask.js";
|
|
6
|
+
import { LightBoxSideOverlayLoader as j } from "./LightBoxSideOverlayLoader.js";
|
|
7
|
+
import { FocusTrapUtils as I } from "../../../utils/focus/FocusTrapUtils.js";
|
|
8
8
|
import { LightBoxSideOverlayCloseMobile as A } from "./LightBoxSideOverlayCloseMobile.js";
|
|
9
|
-
import { LightBoxSideOverlayCloseDesktop as
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
import { LightBoxSideOverlayCloseDesktop as G } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
|
+
import { EComponentSize as U } from "../../../enums/EComponentSize.js";
|
|
11
|
+
import { createSizeToClassNameMap as q } from "../../../utils/classNameMaps.js";
|
|
12
|
+
const J = "lightBoxSideOverlayMask__3e21049a", K = "lightBoxSideOverlayWrapper__11a314cd", Q = "overflowXHidden__0cb2ebe1", V = "overflowYHidden__76d623ca", Z = "closing__22b4a521", $ = "opened__a78fe837", P = "lightBoxSideOverlayContent__c2a9f9b5", ee = "opening__03fbcc66", oe = "sm__bae2ff3d", te = "md__e989e512", ie = "lg__bf837c50", re = "lightBoxSideOverlay__aa14ce1a", e = {
|
|
13
|
+
lightBoxSideOverlayMask: J,
|
|
14
|
+
lightBoxSideOverlayWrapper: K,
|
|
15
|
+
overflowXHidden: Q,
|
|
16
|
+
overflowYHidden: V,
|
|
17
|
+
closing: Z,
|
|
18
|
+
opened: $,
|
|
19
|
+
lightBoxSideOverlayContent: P,
|
|
20
|
+
opening: ee,
|
|
21
|
+
sm: oe,
|
|
22
|
+
md: te,
|
|
23
|
+
lg: ie,
|
|
24
|
+
lightBoxSideOverlay: re
|
|
25
|
+
}, le = q(e), f = ({
|
|
26
|
+
children: x,
|
|
27
|
+
className: S,
|
|
27
28
|
focusTrapProps: l,
|
|
28
29
|
isLoading: a,
|
|
29
|
-
loadingTitle:
|
|
30
|
-
isTopLevelSideOverlayOpened:
|
|
31
|
-
isTopOverlayOpened:
|
|
32
|
-
onClose:
|
|
33
|
-
onOpen:
|
|
34
|
-
opened:
|
|
35
|
-
size:
|
|
36
|
-
...
|
|
30
|
+
loadingTitle: _,
|
|
31
|
+
isTopLevelSideOverlayOpened: h,
|
|
32
|
+
isTopOverlayOpened: u,
|
|
33
|
+
onClose: s,
|
|
34
|
+
onOpen: c,
|
|
35
|
+
opened: o,
|
|
36
|
+
size: M = U.MD,
|
|
37
|
+
...b
|
|
37
38
|
}) => {
|
|
38
|
-
const [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}, [
|
|
42
|
-
const
|
|
43
|
-
const { target:
|
|
44
|
-
|
|
45
|
-
},
|
|
39
|
+
const [i, d] = B(!1), [n, g] = B(!1), m = O(o), p = O(null);
|
|
40
|
+
X(() => {
|
|
41
|
+
m.current && !o ? (g(!1), d(!0)) : !m.current && o && (d(!1), g(!0)), m.current = o;
|
|
42
|
+
}, [o]);
|
|
43
|
+
const k = (r) => {
|
|
44
|
+
const { target: F, currentTarget: W } = r;
|
|
45
|
+
F === W && (i ? (d(!1), s == null || s()) : n && (g(!1), c == null || c()));
|
|
46
|
+
}, H = ({ opened: r }) => /* @__PURE__ */ t(R, { opened: r, className: e.lightBoxSideOverlayMask }), w = () => /* @__PURE__ */ y(
|
|
46
47
|
"div",
|
|
47
48
|
{
|
|
48
|
-
className:
|
|
49
|
-
[e.closing]:
|
|
49
|
+
className: v(e.lightBoxSideOverlayContent, {
|
|
50
|
+
[e.closing]: i,
|
|
50
51
|
[e.opening]: n,
|
|
51
|
-
[e.opened]:
|
|
52
|
+
[e.opened]: o
|
|
52
53
|
}),
|
|
53
|
-
onTransitionEnd:
|
|
54
|
-
ref:
|
|
54
|
+
onTransitionEnd: k,
|
|
55
|
+
ref: p,
|
|
55
56
|
children: [
|
|
56
|
-
|
|
57
|
-
a && /* @__PURE__ */ t(
|
|
57
|
+
x,
|
|
58
|
+
a && /* @__PURE__ */ t(j, { loadingTitle: _ })
|
|
58
59
|
]
|
|
59
60
|
}
|
|
60
|
-
),
|
|
61
|
-
},
|
|
62
|
-
[e.closing]:
|
|
63
|
-
[e.opened]:
|
|
64
|
-
[e.overflowXHidden]: !!
|
|
65
|
-
[e.overflowYHidden]: !!
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}), E =
|
|
70
|
-
k(r),
|
|
71
|
-
H()
|
|
72
|
-
] }), F = /* @__PURE__ */ t(
|
|
61
|
+
), C = () => {
|
|
62
|
+
}, N = v(S, e.lightBoxSideOverlayWrapper, le[M], {
|
|
63
|
+
[e.closing]: i,
|
|
64
|
+
[e.opened]: o,
|
|
65
|
+
[e.overflowXHidden]: !!h || !!a,
|
|
66
|
+
[e.overflowYHidden]: !!h || !!a || !!u
|
|
67
|
+
}), D = (r) => /* @__PURE__ */ y(T, { children: [
|
|
68
|
+
H(r),
|
|
69
|
+
w()
|
|
70
|
+
] }), E = /* @__PURE__ */ t(
|
|
73
71
|
"div",
|
|
74
72
|
{
|
|
75
|
-
className:
|
|
76
|
-
[e.closing]:
|
|
73
|
+
className: v(e.lightBoxSideOverlay, {
|
|
74
|
+
[e.closing]: i,
|
|
77
75
|
[e.opening]: n
|
|
78
76
|
}),
|
|
79
|
-
children: /* @__PURE__ */ t(
|
|
77
|
+
children: /* @__PURE__ */ t(z, { direction: L.RIGHT, opened: o, setOpened: C, children: D })
|
|
80
78
|
}
|
|
81
79
|
);
|
|
82
80
|
return /* @__PURE__ */ t(
|
|
83
|
-
|
|
81
|
+
Y,
|
|
84
82
|
{
|
|
85
|
-
active:
|
|
83
|
+
active: o && !n && !i,
|
|
86
84
|
...l,
|
|
87
85
|
focusTrapOptions: {
|
|
88
86
|
clickOutsideDeactivates: !0,
|
|
89
|
-
initialFocus: () =>
|
|
87
|
+
initialFocus: () => I.getFirstInteractionElementByDataAttr(p.current),
|
|
90
88
|
preventScroll: !0,
|
|
91
89
|
...l == null ? void 0 : l.focusTrapOptions
|
|
92
90
|
},
|
|
93
|
-
children: /* @__PURE__ */ t("div", { className:
|
|
91
|
+
children: /* @__PURE__ */ t("div", { className: N, role: "dialog", "aria-modal": "true", ...b, children: E })
|
|
94
92
|
}
|
|
95
93
|
);
|
|
96
94
|
};
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
f.displayName = "LightBoxSideOverlay";
|
|
96
|
+
f.CloseDesktop = G;
|
|
97
|
+
f.CloseMobile = A;
|
|
100
98
|
export {
|
|
101
|
-
|
|
99
|
+
f as LightBoxSideOverlay
|
|
102
100
|
};
|
|
103
101
|
//# sourceMappingURL=LightBoxSideOverlay.js.map
|
|
@@ -2,12 +2,12 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as s } from "react";
|
|
3
3
|
import { TriggerClickOnKeyDownEvent as n } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
4
4
|
import { EVENT_KEY_CODES as l } from "../../../utils/keyboard.js";
|
|
5
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
6
6
|
import { CrossStrokeSrvIcon32 as f } from "@sberbusiness/icons-next";
|
|
7
7
|
import { EButtonTheme as a } from "../../Button/enums.js";
|
|
8
8
|
import { EComponentSize as c } from "../../../enums/EComponentSize.js";
|
|
9
9
|
import { Button as d } from "../../Button/Button.js";
|
|
10
|
-
import { s as u } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
10
|
+
import { s as u } from "../../../chunks/LightBoxSideOverlayClose.module-D6FP9Ulx.js";
|
|
11
11
|
const C = ({
|
|
12
12
|
className: r,
|
|
13
13
|
clickByEsc: m,
|
|
@@ -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-DE8Zvm0w.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-D6FP9Ulx.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,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useRef as l, useEffect as p } from "react";
|
|
3
3
|
import { LoaderScreen as d } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
-
const n = "
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__082b87ae", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
7
|
const [t, r] = s(0), e = l(null);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "../../../chunks/vendor-
|
|
3
|
-
const f = "
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const f = "lightBoxLeftSidebar__73451c94", x = "fixed__40748df6", s = "lightBoxLeftSidebarInner__7c1d6dad", e = {
|
|
4
4
|
lightBoxLeftSidebar: f,
|
|
5
5
|
fixed: x,
|
|
6
6
|
lightBoxLeftSidebarInner: s
|
|
7
7
|
}, l = ({
|
|
8
8
|
children: t,
|
|
9
|
-
className:
|
|
10
|
-
fixed:
|
|
11
|
-
...
|
|
12
|
-
}) => /* @__PURE__ */ i("div", { className: a(
|
|
9
|
+
className: d,
|
|
10
|
+
fixed: o,
|
|
11
|
+
...r
|
|
12
|
+
}) => /* @__PURE__ */ i("div", { className: a(d, e.lightBoxLeftSidebar, { [e.fixed]: o }), ...r, children: /* @__PURE__ */ i("div", { className: e.lightBoxLeftSidebarInner, children: t }) });
|
|
13
13
|
l.displayName = "LightBoxLeftSidebar";
|
|
14
14
|
export {
|
|
15
15
|
l as LightBoxLeftSidebar
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../chunks/vendor-
|
|
3
|
-
const r = "
|
|
2
|
+
import { c as o } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const r = "lightBoxRightSidebar__85b1fd5e", a = "fixed__40748df6", x = "lightBoxRightSidebarInner__ef2f7811", i = {
|
|
4
4
|
lightBoxRightSidebar: r,
|
|
5
|
-
fixed:
|
|
5
|
+
fixed: a,
|
|
6
6
|
lightBoxRightSidebarInner: x
|
|
7
7
|
}, s = ({
|
|
8
8
|
children: e,
|
|
9
9
|
className: h,
|
|
10
|
-
fixed:
|
|
10
|
+
fixed: d,
|
|
11
11
|
...g
|
|
12
|
-
}) => /* @__PURE__ */ t("div", { className: o(h, i.lightBoxRightSidebar, { [i.fixed]:
|
|
12
|
+
}) => /* @__PURE__ */ t("div", { className: o(h, i.lightBoxRightSidebar, { [i.fixed]: d }), ...g, children: /* @__PURE__ */ t("div", { className: i.lightBoxRightSidebarInner, children: e }) });
|
|
13
13
|
s.displayName = "LightBoxRightSidebar";
|
|
14
14
|
export {
|
|
15
15
|
s as LightBoxRightSidebar
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
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
|
-
import {
|
|
3
|
+
import { a as B, i as k, h as p } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { Portal as P } from "../../Portal/Portal.js";
|
|
5
5
|
import { LightBoxViewManagerConsts as l } from "./LightBoxViewManagerConsts.js";
|
|
6
6
|
const g = "LightBoxMountNodeViewManager", $ = ({
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { LightBox as t, lightBoxMountNodeIdDefault as i, lightBoxViewManagerNodeIdDefault as r } from "./LightBox.js";
|
|
2
2
|
import { LightBoxSideOverlay as a } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
3
|
-
import { ELightBoxSideOverlaySize as g } from "./LightBoxSideOverlay/enums.js";
|
|
4
3
|
export {
|
|
5
|
-
g as ELightBoxSideOverlaySize,
|
|
6
4
|
t as LightBox,
|
|
7
5
|
a as LightBoxSideOverlay,
|
|
8
6
|
i as lightBoxMountNodeIdDefault,
|
package/components/Link/Link.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { jsx as R, jsxs as t, Fragment as
|
|
1
|
+
import { jsx as R, jsxs as t, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import L from "react";
|
|
3
|
-
import { c as a } from "../../chunks/vendor-
|
|
4
|
-
const v = "
|
|
3
|
+
import { c as a } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
const v = "link__7077e0bb", F = "wordWithContent__e5dc3b9d", S = "before__90b0e096", T = "after__b103ecf9", r = {
|
|
5
5
|
link: v,
|
|
6
6
|
wordWithContent: F,
|
|
7
7
|
before: S,
|
|
8
8
|
after: T
|
|
9
9
|
}, q = L.forwardRef(
|
|
10
|
-
({ children:
|
|
11
|
-
const
|
|
10
|
+
({ children: i, className: N, onBlur: b, onMouseDown: p, contentAfter: s, contentBefore: o, ...C }, f) => {
|
|
11
|
+
const c = () => o ? /* @__PURE__ */ t(d, { children: [
|
|
12
12
|
"",
|
|
13
13
|
o()
|
|
14
|
-
] }) : null, m = () => s ? s() : null,
|
|
15
|
-
const
|
|
16
|
-
if (
|
|
17
|
-
const y = a(
|
|
18
|
-
[
|
|
19
|
-
[
|
|
14
|
+
] }) : null, m = () => s ? s() : null, W = (n) => {
|
|
15
|
+
const e = n.split(" ");
|
|
16
|
+
if (e.length < 2 || e.length < 3 && o && s) {
|
|
17
|
+
const y = a(r.wordWithContent, {
|
|
18
|
+
[r.after]: !!s,
|
|
19
|
+
[r.before]: !!o
|
|
20
20
|
});
|
|
21
21
|
return /* @__PURE__ */ t("span", { className: y, children: [
|
|
22
|
-
|
|
22
|
+
c(),
|
|
23
23
|
n,
|
|
24
24
|
m()
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
const l =
|
|
28
|
-
[
|
|
27
|
+
const l = e[0], h = e[e.length - 1], _ = e.slice(1, -1).join(" "), k = a(r.wordWithContent, {
|
|
28
|
+
[r.before]: !!o
|
|
29
29
|
}), g = o ? /* @__PURE__ */ t("span", { className: k, children: [
|
|
30
|
-
|
|
30
|
+
c(),
|
|
31
31
|
l
|
|
32
|
-
] }) : l, x = a(
|
|
33
|
-
[
|
|
32
|
+
] }) : l, x = a(r.wordWithContent, {
|
|
33
|
+
[r.after]: !!s
|
|
34
34
|
}), j = s ? /* @__PURE__ */ t("span", { className: x, children: [
|
|
35
35
|
h,
|
|
36
36
|
m()
|
|
37
37
|
] }) : h;
|
|
38
|
-
return /* @__PURE__ */ t(
|
|
38
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
39
39
|
g,
|
|
40
40
|
" ",
|
|
41
41
|
_,
|
|
@@ -43,23 +43,23 @@ const v = "link__7566ec48", F = "wordWithContent__bccac27f", S = "before__2587b8
|
|
|
43
43
|
j
|
|
44
44
|
] });
|
|
45
45
|
}, u = (n) => {
|
|
46
|
-
const
|
|
47
|
-
return /* @__PURE__ */ t(
|
|
48
|
-
|
|
46
|
+
const e = o ? o() : null, l = s ? s() : null;
|
|
47
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
48
|
+
e,
|
|
49
49
|
n,
|
|
50
50
|
l
|
|
51
51
|
] });
|
|
52
|
-
}, w = o || s ? ((n) => typeof n == "string" ?
|
|
52
|
+
}, w = o || s ? ((n) => typeof n == "string" ? W(n) : u(n))(i) : i;
|
|
53
53
|
return /* @__PURE__ */ R(
|
|
54
54
|
"a",
|
|
55
55
|
{
|
|
56
56
|
role: "link",
|
|
57
|
-
...
|
|
58
|
-
className: a(N,
|
|
59
|
-
onBlur:
|
|
60
|
-
onMouseDown:
|
|
61
|
-
"data-tx": "0.
|
|
62
|
-
ref:
|
|
57
|
+
...C,
|
|
58
|
+
className: a(N, r.link, "hoverable"),
|
|
59
|
+
onBlur: b,
|
|
60
|
+
onMouseDown: p,
|
|
61
|
+
"data-tx": "0.16.0",
|
|
62
|
+
ref: f,
|
|
63
63
|
children: w
|
|
64
64
|
}
|
|
65
65
|
);
|
package/components/List/List.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { LoaderScreen as c } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
-
const
|
|
6
|
-
list:
|
|
7
|
-
},
|
|
5
|
+
const p = "list__700ecb10", f = {
|
|
6
|
+
list: p
|
|
7
|
+
}, n = a.forwardRef(({ children: s, className: t, loading: l, ...o }, r) => /* @__PURE__ */ e("ul", { className: m(f.list, t), ...o, "data-tx": "0.16.0", ref: r, children: [
|
|
8
8
|
s,
|
|
9
9
|
l ? /* @__PURE__ */ i(c, { type: "small" }) : null
|
|
10
10
|
] }));
|
|
11
|
-
|
|
11
|
+
n.displayName = "List";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
n as List
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=List.js.map
|
|
@@ -3,7 +3,7 @@ var p = (t, e, r) => e in t ? x(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var o = (t, e, r) => p(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
import { jsx as d } from "react/jsx-runtime";
|
|
5
5
|
import E from "react";
|
|
6
|
-
import { b, d as f, D as M, M as T, r as D, e as L, S as w, v as y, f as I, T as C, g as H } from "../../chunks/vendor-
|
|
6
|
+
import { b, d as f, D as M, M as T, r as D, e as L, S as w, v as y, f as I, T as C, g as H } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
7
7
|
import { List as N } from "./List.js";
|
|
8
8
|
class u extends H {
|
|
9
9
|
}
|
|
@@ -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-DE8Zvm0w.js";
|
|
4
|
+
const p = "listEmptyState__05870388", r = {
|
|
5
5
|
listEmptyState: p
|
|
6
6
|
}, l = i.forwardRef(
|
|
7
|
-
({ children: t, className: s, ...m },
|
|
7
|
+
({ children: t, className: s, ...m }, a) => /* @__PURE__ */ e("div", { className: o(r.listEmptyState, s), ...m, ref: a, children: t })
|
|
8
8
|
);
|
|
9
9
|
l.displayName = "ListItemEmpty";
|
|
10
10
|
export {
|
|
@@ -3,7 +3,7 @@ import a, { useState as d } from "react";
|
|
|
3
3
|
import { ListItemContext as l } from "./ListItemContext.js";
|
|
4
4
|
const c = a.forwardRef(({ children: e, className: r, ...o }, s) => {
|
|
5
5
|
const [i, m] = d(!1);
|
|
6
|
-
return /* @__PURE__ */ t(l.Provider, { value: { selected: i, setSelected: m }, children: /* @__PURE__ */ t("li", { className: r, ...o, "data-tx": "0.
|
|
6
|
+
return /* @__PURE__ */ t(l.Provider, { value: { selected: i, setSelected: m }, children: /* @__PURE__ */ t("li", { className: r, ...o, "data-tx": "0.16.0", ref: s, children: e }) });
|
|
7
7
|
});
|
|
8
8
|
c.displayName = "ListItem";
|
|
9
9
|
export {
|