@sberbusiness/triplex-next 1.3.0 → 1.5.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-M7W9D-p3.js +39 -0
- package/chunks/CalendarViewItem-Cs4qo2T0.js +105 -0
- package/chunks/Card.module-lZl8x0iL.js +17 -0
- package/chunks/Chip-DpSJGyYK.js +90 -0
- package/chunks/DropdownListItem-SqymKZn5.js +57 -0
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +21 -0
- package/chunks/Footer.module-3tcvZGt3.js +9 -0
- package/chunks/FormFieldInput-BSxKZxcq.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +9 -0
- package/chunks/HeaderTabs.module-DegB0R8X.js +9 -0
- package/chunks/HeaderTitle.module-CEMLCR13.js +11 -0
- package/chunks/IslandAccordion.module-DFvQwhSg.js +22 -0
- package/chunks/LightBoxContent-DTTxRVLQ.js +56 -0
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +8 -0
- package/chunks/{ListItemControlsButton-Ms4q9wDe.js → ListItemControlsButton-AbCEipFe.js} +7 -7
- package/chunks/ListItemTail.module-CZYSMJRz.js +12 -0
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +10 -0
- package/chunks/ModalWindow.module-DGcF8-xJ.js +17 -0
- package/chunks/Notification.module-Cj_Pd4DQ.js +21 -0
- package/chunks/Overlay.module-BqJXvoeX.js +18 -0
- package/chunks/Page.module-DUQ6i8Ez.js +12 -0
- package/chunks/{RightBorderArrow-D6ZllSTT.js → RightBorderArrow-Co_RT8lZ.js} +14 -14
- package/chunks/SMSInput.module-D1TiDw_A.js +16 -0
- package/chunks/StatusTracker.module-DetC6Udk.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Cc_fZLBH.js → SuggestFieldMobileDropdownHint-nZwpz9Eo.js} +2 -2
- package/chunks/TableFooter.module-BF4P3QCw.js +13 -0
- package/chunks/TabsExtended.module-BciQYRi4.js +16 -0
- package/chunks/TabsLine.module-Cx0n_AdV.js +23 -0
- package/chunks/TooltipDesktop.module-DK06gaHe.js +19 -0
- package/chunks/TooltipMobileCloseButton-DTtQoE3B.js +20 -0
- package/chunks/{UploadZoneInput-Bkv3b0F5.js → UploadZoneInput-C2-_7DoS.js} +3 -3
- package/chunks/{utils-CVSz7tV_.js → utils-CFlJg-k1.js} +5 -5
- package/chunks/utils-CXhKCNyM.js +72 -0
- package/chunks/utils-CoHHiBA8.js +24 -0
- package/chunks/{utils-DWPj89gs.js → utils-D9w2Kvyk.js} +7 -7
- package/chunks/{utils-BZFu5eVD.js → utils-Dhi5F6Da.js} +8 -8
- package/chunks/vendor-9KVE23Ri.js +14839 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +23 -24
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +25 -8
- package/components/Body/enums.js +5 -0
- package/components/Button/Button.js +45 -44
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +183 -0
- package/components/Calendar/CalendarContext.js +22 -0
- package/components/Calendar/CalendarRange.js +28 -0
- package/components/Calendar/CalendarViewContext.js +8 -0
- package/components/Calendar/components/CalendarControls.js +98 -0
- package/components/Calendar/components/CalendarFooter.js +9 -0
- package/components/Calendar/components/CalendarTodayButton.js +31 -0
- package/components/Calendar/components/CalendarView.js +30 -0
- package/components/Calendar/components/CalendarViewDays.js +109 -0
- package/components/Calendar/components/CalendarViewItem.js +11 -0
- package/components/Calendar/components/CalendarViewMonths.js +64 -0
- package/components/Calendar/components/CalendarViewYears.js +64 -0
- package/components/Calendar/enums.js +7 -0
- package/components/Calendar/index.js +9 -0
- package/components/Calendar/utils.js +38 -0
- package/components/Card/CardAction.js +16 -16
- 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 +2 -2
- package/components/Checkbox/Checkbox.js +20 -20
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +3 -3
- package/components/Chip/Chip.js +5 -3
- package/components/Chip/ChipClearButton.js +16 -24
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
- package/components/Chip/ChipSuggest/index.js +7 -0
- package/components/Chip/ChipSuggest/types.js +2 -0
- package/components/Chip/index.js +9 -3
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/DateField/DateField.js +135 -0
- package/components/DateField/DateFieldContext.js +12 -0
- package/components/DateField/DateFieldTarget.js +60 -0
- package/components/DateField/constants.js +5 -0
- package/components/DateField/index.js +5 -0
- package/components/DateField/types.js +2 -0
- package/components/DateField/utils.js +23 -0
- package/components/DatePickerExtended/DatePickerExtended.js +136 -0
- package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +91 -70
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +88 -62
- package/components/DesignTokens/DesignTokensCore.js +1 -1
- package/components/DesignTokens/components/Calendar.js +109 -0
- package/components/DesignTokens/components/Card.js +6 -3
- package/components/DesignTokens/components/Divider.js +4 -4
- package/components/DesignTokens/components/Island.js +1 -1
- package/components/DesignTokens/components/IslandAccordion.js +9 -0
- package/components/DesignTokens/components/LightBox.js +11 -0
- package/components/DesignTokens/components/Loader.js +13 -7
- package/components/DesignTokens/components/ModalWindow.js +11 -0
- package/components/DesignTokens/components/SMSInput.js +26 -0
- package/components/DesignTokens/components/StatusTracker.js +35 -0
- package/components/DesignTokens/components/Step.js +44 -0
- package/components/DesignTokens/components/index.js +127 -109
- package/components/Divider/Divider.js +18 -18
- package/components/Dropdown/desktop/DropdownDesktop.js +23 -23
- package/components/Dropdown/desktop/DropdownList.js +42 -41
- 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 +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 +11 -0
- package/components/Ellipsis/Ellipsis.js +10 -10
- package/components/ExpandAnimation/ExpandAnimation.js +27 -27
- package/components/Footer/Footer.js +9 -20
- 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 +22 -22
- package/components/FormField/components/FormFieldClear.js +14 -18
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +14 -18
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +36 -32
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +15 -27
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +15 -7
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
- package/components/HelpBox/HelpBox.js +21 -21
- package/components/Island/Island.js +12 -16
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +6 -6
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/components/index.js +9 -0
- package/components/Island/index.js +7 -1
- package/components/Island/utils.js +1 -3
- package/components/IslandAccordion/IslandAccordion.js +31 -0
- package/components/IslandAccordion/IslandAccordionContext.js +16 -0
- package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
- package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
- package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
- package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
- package/components/IslandAccordion/components/index.js +11 -0
- package/components/IslandAccordion/index.js +13 -0
- package/components/LightBox/LightBox.js +105 -0
- package/components/LightBox/LightBoxContent.js +10 -0
- package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
- package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
- package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
- package/components/LightBox/index.js +7 -0
- package/components/Link/Link.js +12 -12
- package/components/List/List.js +7 -7
- 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 +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +8 -8
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +9 -9
- 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 +7 -7
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -12
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +19 -20
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +98 -0
- package/components/ModalWindow/components/ModalWindowBody.js +189 -0
- package/components/ModalWindow/components/ModalWindowClose.js +29 -0
- package/components/ModalWindow/components/ModalWindowContent.js +13 -0
- package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
- package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
- package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
- package/components/ModalWindow/index.js +17 -0
- package/components/MonthYearField/MonthYearField.js +66 -0
- package/components/MonthYearField/MonthYearFieldContext.js +9 -0
- package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
- package/components/MonthYearField/constants.js +5 -0
- package/components/MonthYearField/index.js +5 -0
- package/components/MonthYearField/types.js +2 -0
- package/components/MonthYearField/utils.js +22 -0
- package/components/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/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +11 -11
- 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 +13 -13
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +35 -29
- package/components/Page/components/HeaderPage.js +22 -28
- package/components/Page/components/useStickyCornerRadius.js +32 -22
- 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 +3 -3
- package/components/Pagination/components/PaginationSelect.js +12 -12
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +41 -0
- package/components/SMSInput/SMSInputContext.js +23 -0
- package/components/SMSInput/components/RefreshIcon.js +35 -0
- package/components/SMSInput/components/SMSInputInput.js +63 -0
- package/components/SMSInput/components/SMSInputRefresh.js +39 -0
- package/components/SMSInput/components/SMSInputSubmit.js +43 -0
- package/components/SMSInput/components/SMSInputTooltip.js +38 -0
- package/components/SMSInput/components/SubmitIcon.js +19 -0
- package/components/SMSInput/index.js +5 -0
- package/components/SMSInput/types.js +2 -0
- package/components/SegmentedControl/SegmentedControl.js +15 -15
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +20 -20
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +6 -6
- package/components/Spoiler/Spoiler.js +75 -0
- package/components/Spoiler/index.js +5 -0
- package/components/StatusTracker/StatusTracker.js +45 -0
- package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
- package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
- package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
- package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
- package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
- package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
- package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
- package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
- package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
- package/components/StatusTracker/enums.js +6 -0
- package/components/StatusTracker/index.js +5 -0
- package/components/Step/Step.js +49 -0
- package/components/Step/enums.js +6 -0
- package/components/Step/index.js +9 -0
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +54 -54
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +99 -0
- package/components/Suggest/SuggestContext.js +29 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
- package/components/Suggest/index.js +8 -0
- package/components/Suggest/types.js +2 -0
- package/components/SuggestField/SuggestField.js +11 -12
- package/components/SuggestField/SuggestFieldTarget.js +35 -32
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +73 -72
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
- 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 +13 -13
- 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 +33 -32
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +9 -9
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- 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 +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +17 -17
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +18 -0
- package/components/TextareaField/index.js +5 -0
- package/components/TextareaField/types.js +2 -0
- package/components/ThemeProvider/ThemeProvider.js +6 -6
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +26 -30
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
- package/components/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +24 -24
- package/components/Typography/Title.js +15 -15
- package/components/Typography/index.js +15 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +18 -0
- package/components/index.js +428 -366
- package/consts/DateConst.js +14 -0
- package/index.d.ts +1022 -60
- package/index.js +434 -372
- package/package.json +50 -1
- package/styles/triplex-next.css +501 -441
- package/types/DateTypes.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/utils/focus/FocusTrapUtils.js +11 -0
- package/utils/scroll/scrollbar.js +14 -0
- package/chunks/AlertProcessSpoiler-B91XiZ7K.js +0 -39
- package/chunks/Card.module-NgdHcwYS.js +0 -17
- package/chunks/Chip-XyednI9u.js +0 -87
- package/chunks/DropdownListItem-g0mYNHIW.js +0 -57
- package/chunks/DropdownMobile.module-BBY44sVr.js +0 -21
- package/chunks/Footer.module-4a0n1yRR.js +0 -11
- package/chunks/FormFieldInput-qaJqBTBV.js +0 -63
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +0 -9
- package/chunks/HeaderTabs.module-CXcyvbb5.js +0 -9
- package/chunks/HeaderTitle.module-B-6xJFnf.js +0 -9
- package/chunks/ListItemTail.module-D5VudFCz.js +0 -12
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +0 -10
- package/chunks/Notification.module-MX1NZXsu.js +0 -21
- package/chunks/Overlay.module-B1IlIRoo.js +0 -18
- package/chunks/Page.module-Cwb_zvqj.js +0 -12
- package/chunks/TableFooter.module-D9_esv5A.js +0 -13
- package/chunks/TabsExtended.module--2PQhvJQ.js +0 -16
- package/chunks/TabsLine.module-CH_sqFyE.js +0 -23
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +0 -19
- package/chunks/utils-D8e1oAR3.js +0 -72
- package/chunks/utils-dyCpsmr1.js +0 -48
- package/chunks/vendor-CehxOAkM.js +0 -11907
- package/components/DesignTokens/components/Page.js +0 -9
- /package/components/{Island → Calendar}/types.js +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as s } from "react";
|
|
3
|
+
import { TriggerClickOnKeyDownEvent as n } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
4
|
+
import { EVENT_KEY_CODES as l } from "../../../utils/keyboard.js";
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
6
|
+
import { CrossStrokeSrvIcon32 as f } from "@sberbusiness/icons-next";
|
|
7
|
+
import { EButtonTheme as a } from "../../Button/enums.js";
|
|
8
|
+
import { EComponentSize as c } from "../../../enums/EComponentSize.js";
|
|
9
|
+
import { Button as d } from "../../Button/Button.js";
|
|
10
|
+
import { s as u } from "../../../chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js";
|
|
11
|
+
const C = ({
|
|
12
|
+
className: r,
|
|
13
|
+
clickByEsc: m,
|
|
14
|
+
...i
|
|
15
|
+
}) => {
|
|
16
|
+
const o = s(null), t = () => /* @__PURE__ */ e(
|
|
17
|
+
d,
|
|
18
|
+
{
|
|
19
|
+
"data-exclude-modal-focus": !0,
|
|
20
|
+
className: p(r, u.lightBoxSideOverlayCloseDesktop),
|
|
21
|
+
title: "Закрыть",
|
|
22
|
+
...i,
|
|
23
|
+
ref: o,
|
|
24
|
+
icon: /* @__PURE__ */ e(f, { paletteIndex: 0 }),
|
|
25
|
+
size: c.LG,
|
|
26
|
+
theme: a.SECONDARY_LIGHT
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
return m ? /* @__PURE__ */ e(n, { eventKeyCode: l.ESCAPE, targetRef: o, children: t() }) : t();
|
|
30
|
+
};
|
|
31
|
+
C.displayName = "LightBoxSideOverlayCloseDesktop";
|
|
32
|
+
export {
|
|
33
|
+
C as LightBoxSideOverlayCloseDesktop
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=LightBoxSideOverlayCloseDesktop.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { CrossStrokeSrvIcon20 as i } from "@sberbusiness/icons-next";
|
|
4
|
+
import { s as m } from "../../../chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js";
|
|
5
|
+
import { EButtonTheme as l } from "../../Button/enums.js";
|
|
6
|
+
import { EComponentSize as s } from "../../../enums/EComponentSize.js";
|
|
7
|
+
import { Button as a } from "../../Button/Button.js";
|
|
8
|
+
const p = ({
|
|
9
|
+
className: e,
|
|
10
|
+
...t
|
|
11
|
+
}) => /* @__PURE__ */ o(
|
|
12
|
+
a,
|
|
13
|
+
{
|
|
14
|
+
"data-exclude-modal-focus": !0,
|
|
15
|
+
className: r(e, m.lightBoxSideOverlayCloseMobile),
|
|
16
|
+
title: "Закрыть",
|
|
17
|
+
...t,
|
|
18
|
+
icon: /* @__PURE__ */ o(i, { paletteIndex: 0 }),
|
|
19
|
+
size: s.MD,
|
|
20
|
+
theme: l.SECONDARY
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
p.displayName = "LightBoxSideOverlayCloseMobile";
|
|
24
|
+
export {
|
|
25
|
+
p as LightBoxSideOverlayCloseMobile
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=LightBoxSideOverlayCloseMobile.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s, useRef as l, useEffect as p } from "react";
|
|
3
|
+
import { LoaderScreen as d } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__804a9c6e", c = {
|
|
5
|
+
lightBoxSideOverlayLoaderWrapper: n
|
|
6
|
+
}, f = ({ loadingTitle: a }) => {
|
|
7
|
+
const [t, r] = s(0), e = l(null);
|
|
8
|
+
return p(() => {
|
|
9
|
+
setTimeout(() => {
|
|
10
|
+
if (e.current) {
|
|
11
|
+
const o = e.current.getBoundingClientRect();
|
|
12
|
+
o.top !== t && (o.top > 0 ? r(0) : r(Math.abs(o.top)));
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
}, []), /* @__PURE__ */ i("div", { ref: e, className: c.lightBoxSideOverlayLoaderWrapper, style: { top: `${t}px` }, children: /* @__PURE__ */ i(d, { type: "middle", children: a }) });
|
|
16
|
+
};
|
|
17
|
+
f.displayName = "LightBoxSideOverlayLoader";
|
|
18
|
+
export {
|
|
19
|
+
f as LightBoxSideOverlayLoader
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=LightBoxSideOverlayLoader.js.map
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { jsx as l, jsxs as I, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { useState as v, useRef as d, useEffect as C } from "react";
|
|
3
|
+
import { c as R, F as S } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { EOverlayDirection as j } from "../../Overlay/OverlayBase.js";
|
|
5
|
+
import { Overlay as y } from "../../Overlay/Overlay.js";
|
|
6
|
+
const D = "lightBoxTopOverlayMask__8781ea4a", E = "lightBoxTopOverlayWrapper__82000b44", L = "closing__5780974d", A = "opened__b3683801", V = "lightBoxTopOverlayPanel__e3dd5f29", $ = "lightBoxTopOverlay__a349d4fe", t = {
|
|
7
|
+
lightBoxTopOverlayMask: D,
|
|
8
|
+
lightBoxTopOverlayWrapper: E,
|
|
9
|
+
closing: L,
|
|
10
|
+
opened: A,
|
|
11
|
+
lightBoxTopOverlayPanel: V,
|
|
12
|
+
lightBoxTopOverlay: $
|
|
13
|
+
}, q = ({
|
|
14
|
+
children: B,
|
|
15
|
+
focusTrapProps: r,
|
|
16
|
+
opened: e,
|
|
17
|
+
onClose: s,
|
|
18
|
+
onOpen: i,
|
|
19
|
+
...u
|
|
20
|
+
}) => {
|
|
21
|
+
const [m, h] = v(!1), [f, O] = v(!1), [x, n] = v(0), c = d(e), a = d(null), T = () => {
|
|
22
|
+
if (a.current) {
|
|
23
|
+
const o = getComputedStyle(a.current).getPropertyValue("--lightBox-screen-top") || "0", p = a.current.getBoundingClientRect();
|
|
24
|
+
p.top < 0 ? n(
|
|
25
|
+
(g) => parseInt(g, 10) + Math.abs(p.top) + parseInt(o, 10)
|
|
26
|
+
) : n(
|
|
27
|
+
// Оверлей расположен ниже, чем нужно.
|
|
28
|
+
(g) => parseInt(g, 10) - p.top + parseInt(o, 10)
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
}, _ = () => {
|
|
32
|
+
T(), O(!0), i == null || i();
|
|
33
|
+
};
|
|
34
|
+
C(() => {
|
|
35
|
+
c.current && !e ? h(!0) : !c.current && e && T(), c.current = e;
|
|
36
|
+
}, [e]);
|
|
37
|
+
const W = () => {
|
|
38
|
+
h(!1), n(0), s == null || s();
|
|
39
|
+
}, k = () => O(!1), M = (o) => /* @__PURE__ */ I(b, { children: [
|
|
40
|
+
/* @__PURE__ */ l(y.Mask, { opened: o.opened, className: t.lightBoxTopOverlayMask }),
|
|
41
|
+
/* @__PURE__ */ l(y.Panel, { className: t.lightBoxTopOverlayPanel, ...o, children: B })
|
|
42
|
+
] }), N = () => {
|
|
43
|
+
}, F = R(t.lightBoxTopOverlayWrapper, {
|
|
44
|
+
[t.closing]: m,
|
|
45
|
+
[t.opened]: e
|
|
46
|
+
}), P = /* @__PURE__ */ l(
|
|
47
|
+
y,
|
|
48
|
+
{
|
|
49
|
+
onClose: W,
|
|
50
|
+
onClosing: k,
|
|
51
|
+
onOpen: _,
|
|
52
|
+
opened: e,
|
|
53
|
+
setOpened: N,
|
|
54
|
+
...u,
|
|
55
|
+
className: t.lightBoxTopOverlay,
|
|
56
|
+
direction: j.TOP,
|
|
57
|
+
children: M
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
return /* @__PURE__ */ l(
|
|
61
|
+
S,
|
|
62
|
+
{
|
|
63
|
+
active: f,
|
|
64
|
+
...r,
|
|
65
|
+
focusTrapOptions: {
|
|
66
|
+
clickOutsideDeactivates: !0,
|
|
67
|
+
preventScroll: !0,
|
|
68
|
+
...r == null ? void 0 : r.focusTrapOptions
|
|
69
|
+
},
|
|
70
|
+
children: /* @__PURE__ */ l(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
className: F,
|
|
74
|
+
ref: a,
|
|
75
|
+
style: x ? { top: `${x}px` } : void 0,
|
|
76
|
+
children: P
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
};
|
|
82
|
+
q.displayName = "LightBoxTopOverlay";
|
|
83
|
+
export {
|
|
84
|
+
q as LightBoxTopOverlay
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=LightBoxTopOverlay.js.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { jsx as r, jsxs as N } from "react/jsx-runtime";
|
|
2
|
+
import { useState as m, useRef as L, useCallback as n, useLayoutEffect as c } from "react";
|
|
3
|
+
import { Portal as B } from "../../Portal/Portal.js";
|
|
4
|
+
import { LightBoxViewManagerConsts as l } from "./LightBoxViewManagerConsts.js";
|
|
5
|
+
import { u as k, i as P, m as p } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
6
|
+
const g = "LightBoxMountNodeViewManager", $ = ({
|
|
7
|
+
lightBoxMountNode: a,
|
|
8
|
+
lightBoxViewManagerNode: x
|
|
9
|
+
}) => {
|
|
10
|
+
const [t, h] = m(), [s, R] = m(""), o = L(null), d = n(
|
|
11
|
+
(e) => {
|
|
12
|
+
if (!e)
|
|
13
|
+
return;
|
|
14
|
+
let i = [];
|
|
15
|
+
e.width <= l.lightBoxMediaPoint0 ? i.push(l.breakPointsClassNames["less-or-equal-media-point-0"]) : i.push(l.breakPointsClassNames["more-media-point-0"]), i = i.sort().join(" "), s !== i && R(i);
|
|
16
|
+
},
|
|
17
|
+
[s]
|
|
18
|
+
), w = () => {
|
|
19
|
+
if (o.current) {
|
|
20
|
+
const e = o.current.getBoundingClientRect();
|
|
21
|
+
P(
|
|
22
|
+
p(t, ["top", "left", "width", "height"]),
|
|
23
|
+
p(e, ["top", "left", "width", "height"])
|
|
24
|
+
) || h(e);
|
|
25
|
+
}
|
|
26
|
+
}, f = n(() => {
|
|
27
|
+
if (o.current) {
|
|
28
|
+
const e = o.current.getBoundingClientRect();
|
|
29
|
+
h(e), d(e);
|
|
30
|
+
}
|
|
31
|
+
}, [d]), u = n(() => {
|
|
32
|
+
s && (Array.from(a.classList).forEach((e) => {
|
|
33
|
+
e.includes("LB-") && a.classList.toggle(e);
|
|
34
|
+
}), s.split(" ").forEach((e) => a.classList.add(e)));
|
|
35
|
+
}, [s, a.classList]);
|
|
36
|
+
c(() => {
|
|
37
|
+
f(), a.classList.add(g);
|
|
38
|
+
}, []), c(() => {
|
|
39
|
+
u();
|
|
40
|
+
}, [s, u]), c(() => {
|
|
41
|
+
w();
|
|
42
|
+
});
|
|
43
|
+
const { ref: C } = k({
|
|
44
|
+
handleWidth: !0,
|
|
45
|
+
onResize: f,
|
|
46
|
+
refreshMode: "throttle",
|
|
47
|
+
refreshRate: 150
|
|
48
|
+
});
|
|
49
|
+
return /* @__PURE__ */ r(B, { container: x, children: /* @__PURE__ */ N("div", { ref: o, style: { height: "100%" }, children: [
|
|
50
|
+
/* @__PURE__ */ r("div", { ref: C, style: { width: "100%", height: "100%", position: "absolute" } }),
|
|
51
|
+
t && /* @__PURE__ */ r("style", { children: `
|
|
52
|
+
.${g} {
|
|
53
|
+
--lightBox-screen-left: ${t.x >= 0 ? t.x : 0}px;
|
|
54
|
+
--lightBox-screen-width: ${t.width}px;
|
|
55
|
+
--lightBox-screen-top: ${t.height}px;
|
|
56
|
+
}
|
|
57
|
+
` })
|
|
58
|
+
] }) });
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
$ as LightBoxViewManager
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=LightBoxViewManager.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { getScrollbarWidth as r } from "../../../utils/scroll/scrollbar.js";
|
|
2
|
+
const o = 64, i = 16, t = 16, e = o + i + t, a = 1024, l = {
|
|
3
|
+
/**
|
|
4
|
+
* ClassNames для обозначения ширины контейнера.
|
|
5
|
+
* Используются для замены media query в Css, т.к. media query учитывает только ширину экрана, а не ширину элемента.
|
|
6
|
+
*/
|
|
7
|
+
breakPointsClassNames: {
|
|
8
|
+
// Ширина меньше или равна lightBoxMediaPoint0.
|
|
9
|
+
"less-or-equal-media-point-0": "global-LB-less-or-equal-media-point-0",
|
|
10
|
+
// Ширина больше lightBoxMediaPoint0.
|
|
11
|
+
// У этого класса нет стилей, поэтому тут произвольный класс.
|
|
12
|
+
"more-media-point-0": "global-LB-more-media-point-0"
|
|
13
|
+
},
|
|
14
|
+
// Расстояние от стрелки до лайтбокса.
|
|
15
|
+
lightBoxArrowMarginToLightBox: i,
|
|
16
|
+
// Расстояние от стрелки до края экрана.
|
|
17
|
+
lightBoxArrowMarginToScreen: t,
|
|
18
|
+
// Ширина стрелки лайтбокса.
|
|
19
|
+
lightBoxArrowWidth: o,
|
|
20
|
+
// Ширина стрелки лайтбокса с полями по бокам.
|
|
21
|
+
lightBoxArrowWithMarginWidth: e,
|
|
22
|
+
// Breakpoint для экранов менее 1024px.
|
|
23
|
+
lightBoxMediaPoint0: a + r()
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
l as LightBoxViewManagerConsts
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=LightBoxViewManagerConsts.js.map
|
package/components/Link/Link.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
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 l } from "../../chunks/vendor-
|
|
4
|
-
const v = "
|
|
3
|
+
import { c as l } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
const v = "link__99e46f02", F = "wordWithContent__f1706c3e", S = "before__69f507fd", T = "after__a4fa136b", e = {
|
|
5
5
|
link: v,
|
|
6
6
|
wordWithContent: F,
|
|
7
7
|
before: S,
|
|
8
8
|
after: T
|
|
9
9
|
}, q = L.forwardRef(
|
|
10
|
-
({ children: i, className:
|
|
10
|
+
({ children: i, className: h, onBlur: N, onMouseDown: p, contentAfter: s, contentBefore: o, ...C }, _) => {
|
|
11
11
|
const c = () => o ? /* @__PURE__ */ t(d, { children: [
|
|
12
12
|
"",
|
|
13
13
|
o()
|
|
@@ -24,21 +24,21 @@ const v = "link__873f9874", F = "wordWithContent__6c3e27a0", S = "before__748dcd
|
|
|
24
24
|
m()
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
const a = r[0],
|
|
27
|
+
const a = r[0], f = r[r.length - 1], b = r.slice(1, -1).join(" "), k = l(e.wordWithContent, {
|
|
28
28
|
[e.before]: !!o
|
|
29
|
-
}), g = o ? /* @__PURE__ */ t("span", { className:
|
|
29
|
+
}), g = o ? /* @__PURE__ */ t("span", { className: k, children: [
|
|
30
30
|
c(),
|
|
31
31
|
a
|
|
32
32
|
] }) : a, x = l(e.wordWithContent, {
|
|
33
33
|
[e.after]: !!s
|
|
34
34
|
}), j = s ? /* @__PURE__ */ t("span", { className: x, children: [
|
|
35
|
-
|
|
35
|
+
f,
|
|
36
36
|
m()
|
|
37
|
-
] }) :
|
|
37
|
+
] }) : f;
|
|
38
38
|
return /* @__PURE__ */ t(d, { children: [
|
|
39
39
|
g,
|
|
40
40
|
" ",
|
|
41
|
-
|
|
41
|
+
b,
|
|
42
42
|
" ",
|
|
43
43
|
j
|
|
44
44
|
] });
|
|
@@ -55,10 +55,10 @@ const v = "link__873f9874", F = "wordWithContent__6c3e27a0", S = "before__748dcd
|
|
|
55
55
|
{
|
|
56
56
|
role: "link",
|
|
57
57
|
...C,
|
|
58
|
-
className: l(
|
|
59
|
-
onBlur:
|
|
60
|
-
onMouseDown:
|
|
61
|
-
"data-tx": "1.
|
|
58
|
+
className: l(h, e.link, "hoverable"),
|
|
59
|
+
onBlur: N,
|
|
60
|
+
onMouseDown: p,
|
|
61
|
+
"data-tx": "1.5.0",
|
|
62
62
|
ref: _,
|
|
63
63
|
children: w
|
|
64
64
|
}
|
package/components/List/List.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as e, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { LoaderScreen as c } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
-
const f = "
|
|
5
|
+
const f = "list__93ce112b", p = {
|
|
6
6
|
list: f
|
|
7
|
-
},
|
|
7
|
+
}, d = i.forwardRef(({ children: s, className: t, loading: l, ...o }, r) => /* @__PURE__ */ e("ul", { className: m(p.list, t), ...o, "data-tx": "1.5.0", ref: r, children: [
|
|
8
8
|
s,
|
|
9
|
-
l ? /* @__PURE__ */
|
|
9
|
+
l ? /* @__PURE__ */ a(c, { type: "small" }) : null
|
|
10
10
|
] }));
|
|
11
|
-
|
|
11
|
+
d.displayName = "List";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
d 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-9KVE23Ri.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-9KVE23Ri.js";
|
|
4
|
+
const p = "listEmptyState__91235b82", 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.5.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-9KVE23Ri.js";
|
|
4
4
|
import { ListItemContext as a } from "./ListItemContext.js";
|
|
5
|
-
const d = "
|
|
5
|
+
const d = "listItemContent__13b3660e", C = "selected__b6aa1ed9", t = {
|
|
6
6
|
listItemContent: d,
|
|
7
7
|
selected: C
|
|
8
8
|
}, f = l.forwardRef(
|
|
@@ -13,7 +13,7 @@ const d = "listItemContent__ec71b02b", C = "selected__208bb57a", t = {
|
|
|
13
13
|
{
|
|
14
14
|
className: r(t.listItemContent, { [t.selected]: m }, s),
|
|
15
15
|
...o,
|
|
16
|
-
"data-tx": "1.
|
|
16
|
+
"data-tx": "1.5.0",
|
|
17
17
|
ref: n,
|
|
18
18
|
children: e
|
|
19
19
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const i = "
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
const i = "listItemControls__dfc790a7", a = {
|
|
5
5
|
listItemControls: i
|
|
6
|
-
},
|
|
7
|
-
({ children: t, className: o, ...s }, l) => /* @__PURE__ */ r("div", { className:
|
|
6
|
+
}, n = m.forwardRef(
|
|
7
|
+
({ children: t, className: o, ...s }, l) => /* @__PURE__ */ r("div", { className: e(a.listItemControls, o), ...s, ref: l, children: t })
|
|
8
8
|
);
|
|
9
|
-
|
|
9
|
+
n.displayName = "ListItemControls";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
n as ListItemControls
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=ListItemControls.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
4
|
-
import { L as e } from "../../../chunks/ListItemControlsButton-
|
|
3
|
+
import "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { L as e } from "../../../chunks/ListItemControlsButton-AbCEipFe.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 m, useState as E, createElement as b } from "react";
|
|
3
|
-
import { a as O, c as g } from "../../../chunks/vendor-
|
|
3
|
+
import { a as O, c as g } from "../../../chunks/vendor-9KVE23Ri.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 R } 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 h } from "../../Dropdown/desktop/DropdownList.js";
|
|
21
|
-
import { s as y, L as V } from "../../../chunks/ListItemControlsButton-
|
|
21
|
+
import { s as y, L as V } from "../../../chunks/ListItemControlsButton-AbCEipFe.js";
|
|
22
22
|
const G = P.forwardRef(
|
|
23
23
|
(C, l) => {
|
|
24
24
|
const { buttonAttributes: x, children: c, className: I, icon: N, options: d, selected: n, disabled: B, ...L } = C, f = m(null), u = m(null), [p, v] = E(), D = m(O()), A = ({ opened: e, setOpened: t }) => /* @__PURE__ */ o(
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import { c as s } from "../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { LoaderScreen as a } from "../../LoaderScreen/LoaderScreen.js";
|
|
5
5
|
import { EComponentSize as r } from "../../../enums/EComponentSize.js";
|
|
6
|
-
const
|
|
7
|
-
listItemLoading:
|
|
6
|
+
const d = "listItemLoading__ee98bdac", n = {
|
|
7
|
+
listItemLoading: d
|
|
8
8
|
}, l = m.forwardRef(
|
|
9
|
-
({ className: o, ...
|
|
9
|
+
({ className: o, ...e }, i) => /* @__PURE__ */ t("div", { className: s(n.listItemLoading, o), ...e, ref: i, children: /* @__PURE__ */ t(a, { type: "small", size: r.MD }) })
|
|
10
10
|
);
|
|
11
11
|
l.displayName = "ListItemLoading";
|
|
12
12
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import p, { useContext as m, useEffect as d } from "react";
|
|
3
|
-
import { c as k } from "../../../chunks/vendor-
|
|
3
|
+
import { c as k } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { Checkbox as x } from "../../Checkbox/Checkbox.js";
|
|
5
5
|
import { ListItemContext as _ } from "./ListItemContext.js";
|
|
6
|
-
const f = "
|
|
6
|
+
const f = "listItemSelectable__0cb893cf", L = "selected__b6aa1ed9", C = "checkboxWrapper__d54433bb", W = "childrenWrapper__ab7bb08f", I = "checkboxLabel__0bed8b70", S = "checkboxLabelClickArea__0a503fce", e = {
|
|
7
7
|
listItemSelectable: f,
|
|
8
8
|
selected: L,
|
|
9
9
|
checkboxWrapper: C,
|
|
@@ -11,7 +11,7 @@ const f = "listItemSelectable__20b7c276", L = "selected__208bb57a", C = "checkbo
|
|
|
11
11
|
checkboxLabel: I,
|
|
12
12
|
checkboxLabelClickArea: S
|
|
13
13
|
}, N = p.forwardRef(
|
|
14
|
-
({ selected: c, children: l, className: r, onSelect: s, ...
|
|
14
|
+
({ selected: c, children: l, className: r, onSelect: s, ...b }, o) => {
|
|
15
15
|
const { setSelected: a } = m(_), i = (h) => {
|
|
16
16
|
s(h.target.checked);
|
|
17
17
|
};
|
|
@@ -21,8 +21,8 @@ const f = "listItemSelectable__20b7c276", L = "selected__208bb57a", C = "checkbo
|
|
|
21
21
|
"div",
|
|
22
22
|
{
|
|
23
23
|
className: k(e.listItemSelectable, { [e.selected]: c }, r),
|
|
24
|
-
...
|
|
25
|
-
ref:
|
|
24
|
+
...b,
|
|
25
|
+
ref: o,
|
|
26
26
|
children: [
|
|
27
27
|
/* @__PURE__ */ t("div", { className: e.childrenWrapper, children: l }),
|
|
28
28
|
/* @__PURE__ */ t("div", { className: e.checkboxWrapper, children: /* @__PURE__ */ t(
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { SwipeableArea as
|
|
4
|
-
import { ListItem as
|
|
3
|
+
import { SwipeableArea as b } from "../../SwipeableArea/SwipeableArea.js";
|
|
4
|
+
import { ListItem as I } from "./ListItem.js";
|
|
5
5
|
import { ListItemContent as L } from "./ListItemContent.js";
|
|
6
6
|
import { ListItemControls as T } from "./ListItemControls.js";
|
|
7
7
|
import { ListItemSelectable as h } from "./ListItemSelectable.js";
|
|
8
8
|
import { ListItemTailRight as x } from "./ListItemTailRight.js";
|
|
9
|
-
import { c as y } from "../../../chunks/vendor-
|
|
10
|
-
const C = "
|
|
9
|
+
import { c as y } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
10
|
+
const C = "listItemTable__6d4b00a3", _ = {
|
|
11
11
|
listItemTable: C
|
|
12
12
|
}, u = d.forwardRef(
|
|
13
13
|
({ children: o, className: s, controlButtons: t, onClickItem: l, onSelect: i, selected: r, swipeableAreaRef: a, ...n }, f) => {
|
|
14
14
|
const p = typeof i < "u" && typeof r < "u", m = () => /* @__PURE__ */ e(L, { onClick: l, children: o });
|
|
15
|
-
return /* @__PURE__ */ e(
|
|
16
|
-
|
|
15
|
+
return /* @__PURE__ */ e(I, { className: y(_.listItemTable, s), ...n, ref: f, children: /* @__PURE__ */ c(
|
|
16
|
+
b,
|
|
17
17
|
{
|
|
18
18
|
ref: a,
|
|
19
19
|
rightSwipeableArea: t ? /* @__PURE__ */ e(T, { children: t }) : void 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor-
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-CZYSMJRz.js";
|
|
5
5
|
const r = m.forwardRef(
|
|
6
6
|
({ className: a, ...e }, i) => /* @__PURE__ */ l(
|
|
7
7
|
"span",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor-
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-CZYSMJRz.js";
|
|
5
5
|
const r = e.forwardRef(
|
|
6
6
|
({ className: a, ...i }, l) => /* @__PURE__ */ m(
|
|
7
7
|
"span",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { z as u, A as I, c as _ } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { ListItem as y } from "./ListItem.js";
|
|
5
5
|
import { ListSortableItemTarget as L } from "./ListSortableItemTarget.js";
|
|
6
|
-
const R = "
|
|
6
|
+
const R = "listSortableItem__54b4751d", N = "dragging__480cdceb", i = {
|
|
7
7
|
listSortableItem: R,
|
|
8
8
|
dragging: N
|
|
9
9
|
}, x = Object.assign(
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const a = "
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { c as l } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
const a = "listSortableItemControls__efe71024", m = {
|
|
5
5
|
listSortableItemControls: a
|
|
6
|
-
}, i =
|
|
7
|
-
({ className: t, ...o },
|
|
6
|
+
}, i = s.forwardRef(
|
|
7
|
+
({ className: t, ...o }, e) => /* @__PURE__ */ r(
|
|
8
8
|
"div",
|
|
9
9
|
{
|
|
10
|
-
className:
|
|
10
|
+
className: l(m.listSortableItemControls, t),
|
|
11
11
|
"data-draggable": "false",
|
|
12
12
|
...o,
|
|
13
|
-
ref:
|
|
13
|
+
ref: e
|
|
14
14
|
}
|
|
15
15
|
)
|
|
16
16
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { DragdotsStrokeSrvIcon24 as n } from "@sberbusiness/icons-next";
|
|
4
|
-
import { c
|
|
5
|
-
const I = "
|
|
4
|
+
import { c } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
5
|
+
const I = "listSortableItemTarget__eac06d71", b = "dragging__480cdceb", d = "listSortableItemTargetContent__123252ce", S = "listSortableItemTargetIcon__eda5d1b6", t = {
|
|
6
6
|
listSortableItemTarget: I,
|
|
7
|
-
dragging:
|
|
8
|
-
listSortableItemTargetContent:
|
|
9
|
-
listSortableItemTargetIcon:
|
|
7
|
+
dragging: b,
|
|
8
|
+
listSortableItemTargetContent: d,
|
|
9
|
+
listSortableItemTargetIcon: S
|
|
10
10
|
}, T = m.forwardRef(
|
|
11
11
|
({ children: a, className: r, disabled: o, dragging: l, ...s }, g) => /* @__PURE__ */ i(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: c(t.listSortableItemTarget, { [t.dragging]: l }, "hoverable", r),
|
|
15
15
|
...s,
|
|
16
16
|
ref: g,
|
|
17
17
|
children: [
|
package/components/List/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { AdvancedMouseSensor as m, AdvancedTouchSensor as s, ListSortable as i }
|
|
|
3
3
|
import { ListItem as p } from "./components/ListItem.js";
|
|
4
4
|
import { ListItemControls as x } from "./components/ListItemControls.js";
|
|
5
5
|
import { ListItemContent as n } from "./components/ListItemContent.js";
|
|
6
|
-
import { L as I } from "../../chunks/ListItemControlsButton-
|
|
6
|
+
import { L as I } from "../../chunks/ListItemControlsButton-AbCEipFe.js";
|
|
7
7
|
import { ListItemControlsButtonDropdown as b } from "./components/ListItemControlsButtonDropdown.js";
|
|
8
8
|
import { ListEmptyState as C } from "./components/ListEmptyState.js";
|
|
9
9
|
import { ListItemLoading as c } from "./components/ListItemLoading.js";
|