@sberbusiness/triplex-next 1.20.0 → 1.21.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 +60 -22
- package/chunks/{AlertProcessSpoiler-CT4kuQU5.js → AlertProcessSpoiler-io5SjBK8.js} +12 -12
- package/chunks/CalendarViewItem-CW39vnxU.js +101 -0
- package/chunks/Card.module-wkZoieJo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-yaZgGm0h.js +15 -0
- package/chunks/{Chip-Df2PJxv_.js → Chip-CtmEt4Cp.js} +17 -17
- package/chunks/Confirm.module-Bi0IoVgW.js +15 -0
- package/chunks/{DropdownListItem-JDPG7EtK.js → DropdownListItem-gGRZUigY.js} +14 -14
- package/chunks/DropdownMobile.module-D1Tda3VC.js +23 -0
- package/chunks/Footer.module-dEM87TWq.js +9 -0
- package/chunks/FormFieldInput-BXZLkCG-.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-CPuC-nCL.js +9 -0
- package/chunks/HeaderTabs.module-lGf7L-VN.js +9 -0
- package/chunks/{HeaderTitle.module-Cz5VxXST.js → HeaderTitle.module-G-lXVibC.js} +2 -2
- package/chunks/IslandAccordion.module-CmJ_07-4.js +25 -0
- package/chunks/IslandWidgetFooter.module-PAcTvDvE.js +9 -0
- package/chunks/IslandWidgetHeader.module-CCpvQ7cl.js +12 -0
- package/chunks/{LightBoxContent-DcdEm4um.js → LightBoxContent-Dwdsxv-p.js} +12 -12
- package/chunks/LightBoxControls.module-C0ehN4OK.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DQQjxPZ4.js +9 -0
- package/chunks/{ListItemControlsButton-CWkrMtu6.js → ListItemControlsButton-CXrdUtOj.js} +10 -10
- package/chunks/ListItemTail.module-t77bOXMm.js +12 -0
- package/chunks/ListMasterFooter.module-S-2GdDuq.js +10 -0
- package/chunks/ModalWindow.module-BNDWxL9E.js +17 -0
- package/chunks/Notification.module-BukggXdi.js +20 -0
- package/chunks/Overlay.module-DNkYF6tu.js +18 -0
- package/chunks/Page.module-Bz9n-Dho.js +11 -0
- package/chunks/{RightBorderArrow-CD9RfiqH.js → RightBorderArrow-BStHeZkJ.js} +9 -9
- package/chunks/SMSField.module-DBEf-aa7.js +16 -0
- package/chunks/SliderExtendedMarks.module-QVPE-s18.js +15 -0
- package/chunks/{SliderExtendedRail-Alw2vXQr.js → SliderExtendedRail-1zC_WMFD.js} +15 -15
- package/chunks/StatusTracker.module-_Hh_EXXG.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BfOcMGUs.js → SuggestFieldMobileDropdownHint-DP7pX8_2.js} +4 -4
- package/chunks/TableFooter.module-nim97iDm.js +14 -0
- package/chunks/TabsExtended.module-33reL6bh.js +16 -0
- package/chunks/TabsLine.module-BS4pWC4f.js +21 -0
- package/chunks/TooltipDesktop.module-CU1qQ4fM.js +19 -0
- package/chunks/TreeView.module-7JefvvHQ.js +9 -0
- package/chunks/{UploadZoneInput-DWEQ023-.js → UploadZoneInput--cEsI9GG.js} +8 -8
- package/chunks/{constants-mUMWgzNs.js → constants-Dag2NxzH.js} +9 -9
- package/chunks/utils-C81PwsD3.js +24 -0
- package/chunks/utils-DKXtpqrd.js +73 -0
- package/chunks/{utils-B269a8Xy.js → utils-mDzXEbG8.js} +6 -6
- package/chunks/{utils-C64rf2gI.js → utils-wIML3CoI.js} +11 -11
- package/chunks/{vendor-BIl4KTrD.js → vendor-CuCj7SgU.js} +7115 -6975
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- 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 +1 -1
- package/components/Avatar/Avatar.js +12 -12
- package/components/Badge/Badge.js +8 -8
- package/components/Badge/BadgeDot.js +8 -8
- package/components/Badge/components/BadgeContent.js +7 -7
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +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 +11 -11
- 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 +7 -7
- package/components/Checkbox/Checkbox.js +13 -13
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- 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 +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +25 -24
- 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 +9 -9
- 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 +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +12 -12
- 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/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +8 -8
- 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/ExpandAnimation/ExpandAnimation.js +13 -13
- 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 +65 -63
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +18 -18
- package/components/FormField/components/FormFieldMaskedInput.js +9 -9
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +35 -33
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +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 +9 -9
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +6 -6
- 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 +14 -14
- 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/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +9 -9
- package/components/LightBox/LightBox.js +40 -40
- 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 +17 -17
- 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 +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +9 -9
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +11 -11
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- 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 +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +13 -13
- 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 +16 -16
- package/components/ModalWindow/ModalWindow.js +14 -14
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +10 -10
- 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 +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- 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 +6 -6
- 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 +5 -5
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +7 -7
- 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 +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +15 -15
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +74 -70
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +5 -5
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- 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 +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +20 -20
- 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/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +19 -19
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- 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 +23 -23
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +5 -5
- 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 +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 +4 -4
- 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/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +20 -20
- 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 +2 -2
- 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 +27 -27
- package/components/TagColor/TagColor.js +20 -18
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +3 -3
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- 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 +12 -12
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +16 -16
- 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 +20 -20
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- 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 +574 -560
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +220 -14
- package/index.js +618 -604
- package/package.json +5 -1
- package/styles/triplex-next.css +547 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-B22G4WdJ.js +0 -101
- package/chunks/Card.module-CYQS3e5D.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Bm15tlJo.js +0 -14
- package/chunks/Confirm.module-B2BrmONy.js +0 -15
- package/chunks/DropdownMobile.module-BEV1I-ay.js +0 -23
- package/chunks/Footer.module-Bd88HiEv.js +0 -9
- package/chunks/FormFieldInput-C4pLJsXx.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-CqfeCJ-B.js +0 -9
- package/chunks/HeaderTabs.module-CWX7b7Dh.js +0 -9
- package/chunks/IslandAccordion.module-CDvdz98b.js +0 -25
- package/chunks/IslandWidgetFooter.module-e4tVz5in.js +0 -9
- package/chunks/IslandWidgetHeader.module-Ch-s_cQT.js +0 -12
- package/chunks/LightBoxControls.module-uaiuwR-r.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CMuFmWFe.js +0 -9
- package/chunks/ListItemTail.module-7mfIAr0W.js +0 -12
- package/chunks/ListMasterFooter.module-P4_LpH8K.js +0 -10
- package/chunks/ModalWindow.module-D-5u9tYs.js +0 -17
- package/chunks/Notification.module-C0ZCimeJ.js +0 -20
- package/chunks/Overlay.module-DllxTgO6.js +0 -18
- package/chunks/Page.module-D8eZ3riP.js +0 -11
- package/chunks/SMSField.module-Ct20kGRY.js +0 -16
- package/chunks/SliderExtendedMarks.module-AiKoZWUL.js +0 -15
- package/chunks/StatusTracker.module-BS9GBa45.js +0 -24
- package/chunks/TableFooter.module-DYutPrdO.js +0 -14
- package/chunks/TabsExtended.module-uL61NvZ4.js +0 -16
- package/chunks/TabsLine.module-ByA3hnWg.js +0 -21
- package/chunks/TooltipDesktop.module-CWKvU1wk.js +0 -19
- package/chunks/TreeView.module-Co4Cu58-.js +0 -9
- package/chunks/utils-C8q6y8Et.js +0 -73
- package/chunks/utils-rInBvmh_.js +0 -24
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as x, Fragment as R, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as n, useEffect as B } from "react";
|
|
3
|
-
import { c as V,
|
|
4
|
-
import { L as
|
|
5
|
-
import { LightBoxControls as
|
|
6
|
-
import { LightBoxSideOverlay as
|
|
7
|
-
import { Portal as
|
|
8
|
-
import { addClassNameWithScrollbarWidth as
|
|
3
|
+
import { c as V, g as A } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { L as F, s as e } from "../../chunks/LightBoxContent-Dwdsxv-p.js";
|
|
5
|
+
import { LightBoxControls as I } from "./LightBoxControls/LightBoxControls.js";
|
|
6
|
+
import { LightBoxSideOverlay as T } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
|
+
import { Portal as k } from "../Portal/Portal.js";
|
|
8
|
+
import { addClassNameWithScrollbarWidth as D } from "../../utils/scroll/scrollbar.js";
|
|
9
9
|
import { TopOverlay as j } from "../TopOverlay/TopOverlay.js";
|
|
10
10
|
import { LightBoxViewManager as q } from "./LightBoxViewManager/LightBoxViewManager.js";
|
|
11
11
|
import { MobileView as W } from "../MobileView/MobileView.js";
|
|
@@ -14,67 +14,67 @@ 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
16
|
const Z = {
|
|
17
|
-
"scroll-0": "scroll-
|
|
18
|
-
"scroll-15": "scroll-
|
|
19
|
-
"scroll-16": "scroll-
|
|
20
|
-
"scroll-17": "scroll-
|
|
21
|
-
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node",
|
|
22
|
-
children:
|
|
23
|
-
className:
|
|
17
|
+
"scroll-0": "scroll-0__99d97d5d",
|
|
18
|
+
"scroll-15": "scroll-15__f797ac3f",
|
|
19
|
+
"scroll-16": "scroll-16__6f716b0e",
|
|
20
|
+
"scroll-17": "scroll-17__7db4a5f3"
|
|
21
|
+
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node", N = [e.bodyOverflowHidden], b = ({
|
|
22
|
+
children: M,
|
|
23
|
+
className: v,
|
|
24
24
|
focusTrapProps: r,
|
|
25
|
-
forwardRef:
|
|
25
|
+
forwardRef: c,
|
|
26
26
|
mountNode: s,
|
|
27
|
-
lightBoxViewManagerNodeId:
|
|
28
|
-
isLoading:
|
|
27
|
+
lightBoxViewManagerNodeId: d = L,
|
|
28
|
+
isLoading: m,
|
|
29
29
|
isSideOverlayOpened: i,
|
|
30
30
|
isTopOverlayOpened: y,
|
|
31
31
|
...S
|
|
32
32
|
}) => {
|
|
33
|
-
const l = n(null), u = n(null), { scopeClassName:
|
|
33
|
+
const l = n(null), u = n(null), { scopeClassName: C } = z(), E = () => {
|
|
34
34
|
let t = null;
|
|
35
35
|
return s ? t = s : (t = document.querySelector(`#${p}`), t || (t = document.createElement("div"), t.setAttribute("id", p), document.body.appendChild(t))), t;
|
|
36
|
-
},
|
|
36
|
+
}, w = () => {
|
|
37
37
|
let t = null;
|
|
38
|
-
return
|
|
39
|
-
},
|
|
40
|
-
|
|
38
|
+
return d && (t = document.querySelector(`#${d}`)), t || (t = document.createElement("div"), t.setAttribute("id", L), document.body.appendChild(t)), t;
|
|
39
|
+
}, a = n(E()), g = n(w()), h = () => {
|
|
40
|
+
N.forEach((t) => document.documentElement.classList.add(t));
|
|
41
41
|
};
|
|
42
|
-
B(() => (
|
|
42
|
+
B(() => (D(Z), h(), setTimeout(h, 100), () => N.forEach((t) => document.documentElement.classList.remove(t))), []), B(() => {
|
|
43
43
|
if (!i && l.current) {
|
|
44
44
|
const t = Math.round(Math.random() * 100);
|
|
45
45
|
l.current.style.zIndex = t.toString();
|
|
46
46
|
}
|
|
47
47
|
}, [i]);
|
|
48
|
-
const
|
|
49
|
-
u.current = t,
|
|
48
|
+
const _ = (t) => {
|
|
49
|
+
u.current = t, c && (c.current = t);
|
|
50
50
|
}, O = V(
|
|
51
|
-
|
|
51
|
+
C,
|
|
52
52
|
e.lightBox,
|
|
53
53
|
{
|
|
54
|
-
[e.isLoading]: !!
|
|
54
|
+
[e.isLoading]: !!m,
|
|
55
55
|
[e.lightBoxSideOverlayActive]: !!i,
|
|
56
56
|
[e.lightBoxTopOverlayActive]: !!y
|
|
57
57
|
},
|
|
58
|
-
|
|
58
|
+
v
|
|
59
59
|
);
|
|
60
|
-
if (!
|
|
60
|
+
if (!a.current)
|
|
61
61
|
return null;
|
|
62
|
-
const f = () => /* @__PURE__ */ x("div", { className: O, ref:
|
|
62
|
+
const f = () => /* @__PURE__ */ x("div", { className: O, ref: _, role: "dialog", "aria-modal": "true", ...S, children: [
|
|
63
63
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
64
|
-
|
|
64
|
+
M,
|
|
65
65
|
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
66
66
|
] });
|
|
67
67
|
return /* @__PURE__ */ x(R, { children: [
|
|
68
|
-
/* @__PURE__ */ o(
|
|
68
|
+
/* @__PURE__ */ o(k, { container: a.current, children: /* @__PURE__ */ o(
|
|
69
69
|
W,
|
|
70
70
|
{
|
|
71
71
|
fallback: /* @__PURE__ */ o(
|
|
72
72
|
A.FocusTrap,
|
|
73
73
|
{
|
|
74
|
-
active: !
|
|
74
|
+
active: !m,
|
|
75
75
|
...r,
|
|
76
76
|
focusTrapOptions: {
|
|
77
|
-
|
|
77
|
+
allowOutsideClick: !0,
|
|
78
78
|
initialFocus: () => $.getFirstInteractionElementByDataAttr(u.current),
|
|
79
79
|
preventScroll: !0,
|
|
80
80
|
...r == null ? void 0 : r.focusTrapOptions
|
|
@@ -89,22 +89,22 @@ const Z = {
|
|
|
89
89
|
q,
|
|
90
90
|
{
|
|
91
91
|
lightBoxViewManagerNode: g.current,
|
|
92
|
-
lightBoxMountNode:
|
|
92
|
+
lightBoxMountNode: a.current
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
|
-
|
|
98
|
-
const
|
|
99
|
-
Content:
|
|
100
|
-
SideOverlay:
|
|
97
|
+
b.displayName = "LightBoxBase";
|
|
98
|
+
const ct = Object.assign(b, {
|
|
99
|
+
Content: F,
|
|
100
|
+
SideOverlay: T,
|
|
101
101
|
TopOverlay: j,
|
|
102
|
-
Controls:
|
|
102
|
+
Controls: I,
|
|
103
103
|
LeftSidebar: H,
|
|
104
104
|
RightSidebar: U
|
|
105
105
|
});
|
|
106
106
|
export {
|
|
107
|
-
|
|
107
|
+
ct as LightBox,
|
|
108
108
|
p as lightBoxMountNodeIdDefault,
|
|
109
109
|
L as lightBoxViewManagerNodeIdDefault
|
|
110
110
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
4
|
-
import "../../chunks/vendor-
|
|
4
|
+
import "../../chunks/vendor-CuCj7SgU.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-Dwdsxv-p.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-CuCj7SgU.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-C0ehN4OK.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-CuCj7SgU.js";
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-C0ehN4OK.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-CuCj7SgU.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-C0ehN4OK.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-CuCj7SgU.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-C0ehN4OK.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as y, Fragment as T } from "react/jsx-runtime";
|
|
2
2
|
import { useState as B, useRef as O, useEffect as X } from "react";
|
|
3
|
-
import { c as v, F as Y } from "../../../chunks/vendor-
|
|
3
|
+
import { c as v, F as Y } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { OverlayBase as z, EOverlayDirection as L } from "../../Overlay/OverlayBase.js";
|
|
5
5
|
import { OverlayMask as R } from "../../Overlay/OverlayMask.js";
|
|
6
6
|
import { LightBoxSideOverlayLoader as j } from "./LightBoxSideOverlayLoader.js";
|
|
@@ -9,7 +9,7 @@ import { LightBoxSideOverlayCloseMobile as A } from "./LightBoxSideOverlayCloseM
|
|
|
9
9
|
import { LightBoxSideOverlayCloseDesktop as G } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
10
|
import { EComponentSize as U } from "../../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as q } from "../../../utils/classNameMaps.js";
|
|
12
|
-
const J = "
|
|
12
|
+
const J = "lightBoxSideOverlayMask__057d5da8", K = "lightBoxSideOverlayWrapper__35708611", Q = "overflowXHidden__f7e22593", V = "overflowYHidden__4c7626a8", Z = "closing__60ca6ece", $ = "opened__57004a87", P = "lightBoxSideOverlayContent__6cfbce4d", ee = "opening__f4d04c12", oe = "sm__a392be6a", te = "md__da48ae44", ie = "lg__919ac8b6", re = "lightBoxSideOverlay__bf4d6c06", e = {
|
|
13
13
|
lightBoxSideOverlayMask: J,
|
|
14
14
|
lightBoxSideOverlayWrapper: K,
|
|
15
15
|
overflowXHidden: Q,
|
|
@@ -31,19 +31,19 @@ const J = "lightBoxSideOverlayMask__889a572e", K = "lightBoxSideOverlayWrapper__
|
|
|
31
31
|
isTopLevelSideOverlayOpened: h,
|
|
32
32
|
isTopOverlayOpened: u,
|
|
33
33
|
onClose: s,
|
|
34
|
-
onOpen:
|
|
34
|
+
onOpen: c,
|
|
35
35
|
opened: o,
|
|
36
36
|
size: M = U.MD,
|
|
37
37
|
...k
|
|
38
38
|
}) => {
|
|
39
|
-
const [i,
|
|
39
|
+
const [i, d] = B(!1), [n, g] = B(!1), m = O(o), p = O(null);
|
|
40
40
|
X(() => {
|
|
41
|
-
m.current && !o ? (g(!1),
|
|
41
|
+
m.current && !o ? (g(!1), d(!0)) : !m.current && o && (d(!1), g(!0)), m.current = o;
|
|
42
42
|
}, [o]);
|
|
43
|
-
const
|
|
44
|
-
const { target:
|
|
45
|
-
|
|
46
|
-
},
|
|
43
|
+
const w = (r) => {
|
|
44
|
+
const { target: D, currentTarget: W } = r;
|
|
45
|
+
D === W && (i ? (d(!1), s == null || s()) : n && (g(!1), c == null || c()));
|
|
46
|
+
}, C = ({ opened: r }) => /* @__PURE__ */ t(R, { opened: r, className: e.lightBoxSideOverlayMask }), H = () => /* @__PURE__ */ y(
|
|
47
47
|
"div",
|
|
48
48
|
{
|
|
49
49
|
className: v(e.lightBoxSideOverlayContent, {
|
|
@@ -51,7 +51,7 @@ const J = "lightBoxSideOverlayMask__889a572e", K = "lightBoxSideOverlayWrapper__
|
|
|
51
51
|
[e.opening]: n,
|
|
52
52
|
[e.opened]: o
|
|
53
53
|
}),
|
|
54
|
-
onTransitionEnd:
|
|
54
|
+
onTransitionEnd: w,
|
|
55
55
|
ref: p,
|
|
56
56
|
children: [
|
|
57
57
|
x,
|
|
@@ -64,17 +64,17 @@ const J = "lightBoxSideOverlayMask__889a572e", K = "lightBoxSideOverlayWrapper__
|
|
|
64
64
|
[e.opened]: o,
|
|
65
65
|
[e.overflowXHidden]: !!h || !!a,
|
|
66
66
|
[e.overflowYHidden]: !!h || !!a || !!u
|
|
67
|
-
}),
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
] }),
|
|
67
|
+
}), E = (r) => /* @__PURE__ */ y(T, { children: [
|
|
68
|
+
C(r),
|
|
69
|
+
H()
|
|
70
|
+
] }), F = /* @__PURE__ */ t(
|
|
71
71
|
"div",
|
|
72
72
|
{
|
|
73
73
|
className: v(e.lightBoxSideOverlay, {
|
|
74
74
|
[e.closing]: i,
|
|
75
75
|
[e.opening]: n
|
|
76
76
|
}),
|
|
77
|
-
children: /* @__PURE__ */ t(z, { direction: L.RIGHT, opened: o, setOpened: N, children:
|
|
77
|
+
children: /* @__PURE__ */ t(z, { direction: L.RIGHT, opened: o, setOpened: N, children: E })
|
|
78
78
|
}
|
|
79
79
|
);
|
|
80
80
|
return /* @__PURE__ */ t(
|
|
@@ -83,12 +83,12 @@ const J = "lightBoxSideOverlayMask__889a572e", K = "lightBoxSideOverlayWrapper__
|
|
|
83
83
|
active: o && !n && !i,
|
|
84
84
|
...l,
|
|
85
85
|
focusTrapOptions: {
|
|
86
|
-
|
|
86
|
+
allowOutsideClick: !0,
|
|
87
87
|
initialFocus: () => I.getFirstInteractionElementByDataAttr(p.current),
|
|
88
88
|
preventScroll: !0,
|
|
89
89
|
...l == null ? void 0 : l.focusTrapOptions
|
|
90
90
|
},
|
|
91
|
-
children: /* @__PURE__ */ t("div", { className: b, role: "dialog", "aria-modal": "true", ...k, children:
|
|
91
|
+
children: /* @__PURE__ */ t("div", { className: b, role: "dialog", "aria-modal": "true", ...k, children: F })
|
|
92
92
|
}
|
|
93
93
|
);
|
|
94
94
|
};
|
|
@@ -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-CuCj7SgU.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-DQQjxPZ4.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-CuCj7SgU.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-DQQjxPZ4.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 d, useEffect as l } from "react";
|
|
3
|
+
import { LoaderScreen as p } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__98e3e54d", 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 = d(null);
|
|
8
|
+
return l(() => {
|
|
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(p, { type: "middle", children: a }) });
|
|
16
16
|
};
|
|
17
17
|
f.displayName = "LightBoxSideOverlayLoader";
|
|
18
18
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const f = "
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
const f = "lightBoxLeftSidebar__a862c056", x = "fixed__65d04821", s = "lightBoxLeftSidebarInner__ef0c74b8", e = {
|
|
4
4
|
lightBoxLeftSidebar: f,
|
|
5
5
|
fixed: x,
|
|
6
6
|
lightBoxLeftSidebarInner: s
|
|
@@ -8,8 +8,8 @@ const f = "lightBoxLeftSidebar__f5896df5", x = "fixed__e3ca756a", s = "lightBoxL
|
|
|
8
8
|
children: t,
|
|
9
9
|
className: o,
|
|
10
10
|
fixed: r,
|
|
11
|
-
...
|
|
12
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
11
|
+
...d
|
|
12
|
+
}) => /* @__PURE__ */ i("div", { className: a(o, e.lightBoxLeftSidebar, { [e.fixed]: r }), ...d, children: /* @__PURE__ */ i("div", { className: e.lightBoxLeftSidebarInner, children: t }) });
|
|
13
13
|
l.displayName = "LightBoxLeftSidebar";
|
|
14
14
|
export {
|
|
15
15
|
l as LightBoxLeftSidebar
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../../chunks/vendor-
|
|
3
|
-
const
|
|
4
|
-
lightBoxRightSidebar:
|
|
5
|
-
fixed:
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
const d = "lightBoxRightSidebar__02c9e733", a = "fixed__65d04821", x = "lightBoxRightSidebarInner__e6134078", i = {
|
|
4
|
+
lightBoxRightSidebar: d,
|
|
5
|
+
fixed: a,
|
|
6
6
|
lightBoxRightSidebarInner: x
|
|
7
7
|
}, s = ({
|
|
8
8
|
children: e,
|
|
@@ -2,8 +2,8 @@ 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 {
|
|
6
|
-
const g = "LightBoxMountNodeViewManager",
|
|
5
|
+
import { h as k, i as P, p } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
6
|
+
const g = "LightBoxMountNodeViewManager", $ = ({
|
|
7
7
|
lightBoxMountNode: a,
|
|
8
8
|
lightBoxViewManagerNode: x
|
|
9
9
|
}) => {
|
|
@@ -58,6 +58,6 @@ const g = "LightBoxMountNodeViewManager", M = ({
|
|
|
58
58
|
] }) });
|
|
59
59
|
};
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
$ as LightBoxViewManager
|
|
62
62
|
};
|
|
63
63
|
//# sourceMappingURL=LightBoxViewManager.js.map
|
package/components/Link/Link.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { jsx as R, jsxs 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
|
|
4
|
-
const v = "
|
|
3
|
+
import { c as a } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
const v = "link__5bf9d842", F = "wordWithContent__f17412e1", S = "before__2f92e013", T = "after__3b349276", e = {
|
|
5
5
|
link: v,
|
|
6
6
|
wordWithContent: F,
|
|
7
7
|
before: S,
|
|
8
8
|
after: T
|
|
9
9
|
}, q = L.forwardRef(
|
|
10
10
|
({ children: i, className: N, onBlur: f, onMouseDown: p, contentAfter: s, contentBefore: o, ...C }, _) => {
|
|
11
|
-
const c = () => o ? /* @__PURE__ */
|
|
11
|
+
const c = () => o ? /* @__PURE__ */ t(d, { children: [
|
|
12
12
|
"",
|
|
13
13
|
o()
|
|
14
14
|
] }) : null, m = () => s ? s() : null, u = (n) => {
|
|
15
15
|
const r = n.split(" ");
|
|
16
16
|
if (r.length < 2 || r.length < 3 && o && s) {
|
|
17
|
-
const y =
|
|
17
|
+
const y = a(e.wordWithContent, {
|
|
18
18
|
[e.after]: !!s,
|
|
19
19
|
[e.before]: !!o
|
|
20
20
|
});
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ t("span", { className: y, children: [
|
|
22
22
|
c(),
|
|
23
23
|
n,
|
|
24
24
|
m()
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const l = r[0], h = r[r.length - 1], w = r.slice(1, -1).join(" "), k = a(e.wordWithContent, {
|
|
28
28
|
[e.before]: !!o
|
|
29
|
-
}), g = o ? /* @__PURE__ */
|
|
29
|
+
}), g = o ? /* @__PURE__ */ t("span", { className: k, children: [
|
|
30
30
|
c(),
|
|
31
|
-
|
|
32
|
-
] }) :
|
|
31
|
+
l
|
|
32
|
+
] }) : l, x = a(e.wordWithContent, {
|
|
33
33
|
[e.after]: !!s
|
|
34
|
-
}), j = s ? /* @__PURE__ */
|
|
34
|
+
}), j = s ? /* @__PURE__ */ t("span", { className: x, children: [
|
|
35
35
|
h,
|
|
36
36
|
m()
|
|
37
37
|
] }) : h;
|
|
38
|
-
return /* @__PURE__ */
|
|
38
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
39
39
|
g,
|
|
40
40
|
" ",
|
|
41
|
-
|
|
41
|
+
w,
|
|
42
42
|
" ",
|
|
43
43
|
j
|
|
44
44
|
] });
|
|
45
45
|
}, W = (n) => {
|
|
46
|
-
const r = o ? o() : null,
|
|
47
|
-
return /* @__PURE__ */
|
|
46
|
+
const r = o ? o() : null, l = s ? s() : null;
|
|
47
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
48
48
|
r,
|
|
49
49
|
n,
|
|
50
|
-
|
|
50
|
+
l
|
|
51
51
|
] });
|
|
52
|
-
},
|
|
52
|
+
}, b = o || s ? ((n) => typeof n == "string" ? u(n) : W(n))(i) : i;
|
|
53
53
|
return /* @__PURE__ */ R(
|
|
54
54
|
"a",
|
|
55
55
|
{
|
|
56
56
|
role: "link",
|
|
57
57
|
...C,
|
|
58
|
-
className:
|
|
58
|
+
className: a(N, e.link, "hoverable"),
|
|
59
59
|
onBlur: f,
|
|
60
60
|
onMouseDown: p,
|
|
61
|
-
"data-tx": "1.
|
|
61
|
+
"data-tx": "1.21.0",
|
|
62
62
|
ref: _,
|
|
63
|
-
children:
|
|
63
|
+
children: b
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
package/components/List/List.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
import { LoaderScreen as
|
|
5
|
-
const f = "
|
|
3
|
+
import { c as m } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { LoaderScreen as c } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
+
const f = "list__11298ea5", p = {
|
|
6
6
|
list: f
|
|
7
|
-
}, d = i.forwardRef(({ children: s, className: t, loading: l, ...o }, r) => /* @__PURE__ */
|
|
7
|
+
}, d = i.forwardRef(({ children: s, className: t, loading: l, ...o }, r) => /* @__PURE__ */ a("ul", { className: m(p.list, t), ...o, "data-tx": "1.21.0", ref: r, children: [
|
|
8
8
|
s,
|
|
9
|
-
l ? /* @__PURE__ */
|
|
9
|
+
l ? /* @__PURE__ */ e(c, { type: "small" }) : null
|
|
10
10
|
] }));
|
|
11
11
|
d.displayName = "List";
|
|
12
12
|
export {
|
|
@@ -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,
|
|
6
|
+
import { a as b, b as f, D as M, M as T, r as D, d as L, S as w, v as y, e as I, T as C, f as H } from "../../chunks/vendor-CuCj7SgU.js";
|
|
7
7
|
import { List as N } from "./List.js";
|
|
8
8
|
class u extends H {
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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-CuCj7SgU.js";
|
|
4
|
+
const p = "listEmptyState__234b4d48", l = {
|
|
5
5
|
listEmptyState: p
|
|
6
6
|
}, r = i.forwardRef(
|
|
7
7
|
({ children: t, className: s, ...m }, a) => /* @__PURE__ */ e("div", { className: o(l.listEmptyState, s), ...m, ref: a, children: t })
|
|
@@ -3,7 +3,7 @@ import m, { useState as d } from "react";
|
|
|
3
3
|
import { ListItemContext as l } from "./ListItemContext.js";
|
|
4
4
|
const f = m.forwardRef(({ children: e, className: r, ...o }, s) => {
|
|
5
5
|
const [a, i] = d(!1);
|
|
6
|
-
return /* @__PURE__ */ t(l.Provider, { value: { selected: a, setSelected: i }, children: /* @__PURE__ */ t("li", { className: r, ...o, "data-tx": "1.
|
|
6
|
+
return /* @__PURE__ */ t(l.Provider, { value: { selected: a, setSelected: i }, children: /* @__PURE__ */ t("li", { className: r, ...o, "data-tx": "1.21.0", ref: s, children: e }) });
|
|
7
7
|
});
|
|
8
8
|
f.displayName = "ListItem";
|
|
9
9
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import l, { useContext as i } from "react";
|
|
3
|
-
import { c as r } from "../../../chunks/vendor-
|
|
3
|
+
import { c as r } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { ListItemContext as a } from "./ListItemContext.js";
|
|
5
|
-
const d = "
|
|
5
|
+
const d = "listItemContent__094c4756", C = "selected__d9a86ea6", t = {
|
|
6
6
|
listItemContent: d,
|
|
7
7
|
selected: C
|
|
8
8
|
}, f = l.forwardRef(
|
|
@@ -13,7 +13,7 @@ const d = "listItemContent__c09e0b76", C = "selected__22aa2908", t = {
|
|
|
13
13
|
{
|
|
14
14
|
className: r(t.listItemContent, { [t.selected]: m }, s),
|
|
15
15
|
...o,
|
|
16
|
-
"data-tx": "1.
|
|
16
|
+
"data-tx": "1.21.0",
|
|
17
17
|
ref: n,
|
|
18
18
|
children: e
|
|
19
19
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
const i = "
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
const i = "listItemControls__3e064619", n = {
|
|
5
5
|
listItemControls: i
|
|
6
6
|
}, a = e.forwardRef(
|
|
7
7
|
({ children: t, className: o, ...s }, l) => /* @__PURE__ */ r("div", { className: m(n.listItemControls, o), ...s, ref: l, children: t })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
4
|
-
import { L as e } from "../../../chunks/ListItemControlsButton-
|
|
3
|
+
import "../../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { L as e } from "../../../chunks/ListItemControlsButton-CXrdUtOj.js";
|
|
5
5
|
import "../../Typography/enums.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
export {
|
|
@@ -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 a, 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-CuCj7SgU.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 b } 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 h, L as V } from "../../../chunks/ListItemControlsButton-
|
|
21
|
+
import { s as h, L as V } from "../../../chunks/ListItemControlsButton-CXrdUtOj.js";
|
|
22
22
|
const G = P.forwardRef(
|
|
23
23
|
(y, l) => {
|
|
24
24
|
const { buttonAttributes: C, children: c, className: x, icon: B, options: d, selected: n, disabled: I, ...N } = y, u = a(null), f = a(null), [p, L] = E(), D = a(O()), v = ({ opened: e, setOpened: t }) => /* @__PURE__ */ o(
|