@sberbusiness/triplex-next 1.2.0 → 1.3.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-B3Xzh0I2.js → AlertProcessSpoiler-B91XiZ7K.js} +6 -6
- package/chunks/Card.module-NgdHcwYS.js +17 -0
- package/chunks/Chip-XyednI9u.js +87 -0
- package/chunks/{DropdownListItem-B1GkU8rn.js → DropdownListItem-g0mYNHIW.js} +16 -16
- package/chunks/DropdownMobile.module-BBY44sVr.js +21 -0
- package/chunks/Footer.module-4a0n1yRR.js +11 -0
- package/chunks/{FormFieldInput-n8Ee4EcP.js → FormFieldInput-qaJqBTBV.js} +16 -16
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +9 -0
- package/chunks/HeaderTabs.module-CXcyvbb5.js +9 -0
- package/chunks/HeaderTitle.module-B-6xJFnf.js +9 -0
- package/chunks/{ListItemControlsButton-BdtSkcyn.js → ListItemControlsButton-Ms4q9wDe.js} +2 -2
- package/chunks/ListItemTail.module-D5VudFCz.js +12 -0
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +10 -0
- package/chunks/Notification.module-MX1NZXsu.js +21 -0
- package/chunks/Overlay.module-B1IlIRoo.js +18 -0
- package/chunks/Page.module-Cwb_zvqj.js +12 -0
- package/chunks/{RightBorderArrow-BA2_2Ry3.js → RightBorderArrow-D6ZllSTT.js} +14 -14
- package/chunks/{SuggestFieldMobileDropdownHint-Dz-VDDoR.js → SuggestFieldMobileDropdownHint-Cc_fZLBH.js} +2 -2
- package/chunks/TableFooter.module-D9_esv5A.js +13 -0
- package/chunks/TabsExtended.module--2PQhvJQ.js +16 -0
- package/chunks/TabsLine.module-CH_sqFyE.js +23 -0
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +19 -0
- package/chunks/{UploadZoneInput-CioKsqkV.js → UploadZoneInput-Bkv3b0F5.js} +9 -9
- package/chunks/{utils-B5p23Ple.js → utils-BZFu5eVD.js} +10 -10
- package/chunks/utils-CVSz7tV_.js +20 -0
- package/chunks/utils-D8e1oAR3.js +72 -0
- package/chunks/utils-DWPj89gs.js +36 -0
- package/chunks/utils-dyCpsmr1.js +48 -0
- package/components/AbstractTree/AbstractTreeNode.js +50 -0
- package/components/AccordionBase/protected/AccordionBase.js +83 -0
- package/components/AccordionBase/types.js +2 -0
- package/components/Alert/AlertContext/AlertContext.js +6 -6
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +2 -2
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +17 -17
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +16 -20
- package/components/Button/enums.js +2 -3
- package/components/Button/index.js +9 -10
- package/components/Card/CardAction.js +11 -11
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +6 -6
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- package/components/CheckboxTree/CheckboxTree.js +39 -0
- package/components/CheckboxTree/types.js +2 -0
- package/components/CheckboxTree/utils.js +22 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +13 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +52 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +39 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +53 -0
- package/components/CheckboxTreeExtended/isStaticCheckboxTreeExtended.js +5 -0
- package/components/Chip/Chip.js +6 -83
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +4 -4
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +55 -0
- package/components/Chip/index.js +5 -5
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/CollapsableTree.js +10 -0
- package/components/CollapsableTree/components/CollapsableTreeNode.js +79 -0
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +31 -24
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +33 -26
- package/components/DesignTokens/components/LoaderScreen.js +17 -0
- package/components/DesignTokens/components/Marker.js +4 -4
- package/components/DesignTokens/components/Notification.js +15 -0
- package/components/DesignTokens/components/Tag.js +9 -0
- package/components/DesignTokens/components/index.js +38 -32
- package/components/Divider/Divider.js +17 -17
- package/components/Dropdown/desktop/DropdownDesktop.js +10 -10
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +7 -7
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Ellipsis/Ellipsis.js +10 -10
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +2 -2
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +21 -21
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +12 -12
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +3 -3
- package/components/FormField/components/FormFieldTarget.js +21 -21
- package/components/FormField/components/FormFieldTextarea.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +4 -4
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +17 -17
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- 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 +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +13 -13
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +1 -1
- package/components/Loader/LoaderSmall/LoaderSmall.js +12 -12
- package/components/LoaderScreen/LoaderScreen.js +29 -0
- package/components/LoaderScreen/index.js +5 -0
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +31 -27
- package/components/Notification/Notification.js +40 -0
- package/components/Notification/NotificationGrouped.js +12 -0
- package/components/Notification/components/NotificationBody.js +19 -0
- package/components/Notification/components/NotificationBodyContent.js +8 -0
- package/components/Notification/components/NotificationBodyList.js +11 -0
- package/components/Notification/components/NotificationClose.js +14 -0
- package/components/Notification/components/NotificationFooter.js +8 -0
- package/components/Notification/components/NotificationGroupedFooter.js +11 -0
- package/components/Notification/components/NotificationHeader.js +8 -0
- package/components/Notification/components/NotificationIcon.js +8 -0
- package/components/Notification/components/NotificationTime.js +8 -0
- package/components/NumberField/NumberField.js +8 -0
- package/components/NumberField/NumberFieldInput.js +38 -0
- package/components/NumberField/index.js +5 -0
- package/components/NumberField/types.js +2 -0
- package/components/OrderedList/OrderedList.js +8 -8
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +1 -1
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +11 -11
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +6 -6
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +6 -6
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +20 -20
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +17 -17
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +6 -6
- package/components/Table/TableFooter/TableFooter.js +1 -1
- 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 +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +13 -13
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- package/components/Tag/Tag.js +70 -0
- package/components/Tag/index.js +5 -0
- package/components/Tag/types.js +2 -0
- package/components/TagGroup/TagGroup.js +25 -0
- package/components/TagGroup/index.js +5 -0
- package/components/TagGroup/types.js +2 -0
- package/components/TextField/TextField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +10 -10
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +1 -1
- package/components/TreeView/TreeView.js +88 -0
- package/components/TreeView/TreeViewAbstractNode.js +38 -0
- package/components/TreeView/TreeViewAbstractNodeUtils.js +112 -0
- package/components/TreeView/TreeViewContext.js +30 -0
- package/components/TreeView/components/TreeViewGroup.js +6 -0
- package/components/TreeView/components/TreeViewNode.js +81 -0
- package/components/Typography/Caption.js +15 -15
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +358 -348
- package/helpers/less/z-indexes.less +3 -3
- package/index.d.ts +215 -33
- package/index.js +362 -352
- package/package.json +17 -5
- package/styles/triplex-next.css +441 -436
- package/chunks/Card.module-Dh5vP2zv.js +0 -17
- package/chunks/DropdownMobile.module-CYlB98Oc.js +0 -21
- package/chunks/Footer.module-Bk8QkaWN.js +0 -11
- package/chunks/HeaderLayoutSidebar.module-CDNHX5_G.js +0 -9
- package/chunks/HeaderTabs.module-yaGpurOU.js +0 -9
- package/chunks/HeaderTitle.module-XzB-YndL.js +0 -9
- package/chunks/ListItemTail.module-D_m5pMsh.js +0 -12
- package/chunks/ListMasterFooter.module-DXrsYZZo.js +0 -10
- package/chunks/Overlay.module-BghrPKKn.js +0 -18
- package/chunks/Page.module-D6xCdUbr.js +0 -12
- package/chunks/TableFooter.module-BzfTOGS_.js +0 -13
- package/chunks/TabsExtended.module-B3nvdhKr.js +0 -16
- package/chunks/TabsLine.module-Dlj__Yjk.js +0 -23
- package/chunks/TooltipDesktop.module-TiWl3v5C.js +0 -19
- package/chunks/utils-BtcCJ4_U.js +0 -20
- package/chunks/utils-D7E_PKCe.js +0 -36
- package/chunks/utils-DPXynVs1.js +0 -72
- package/chunks/utils-DjxtOr-n.js +0 -48
- package/components/Chip/enums.js +0 -5
- package/components/DesignTokens/components/LoaderWidget.js +0 -17
- package/components/LoaderWidget/LoaderWidget.js +0 -29
- package/components/LoaderWidget/index.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as M, useState as
|
|
1
|
+
import { jsxs as x, Fragment as E, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as M, useState as h, useId as R } from "react";
|
|
3
3
|
import { c as S, x as _ } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { HintFilledSrvIcon16 as L } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as j } from "../Button/ButtonIcon.js";
|
|
@@ -9,25 +9,25 @@ import { TooltipMobileHeader as z } from "../Tooltip/components/mobile/component
|
|
|
9
9
|
import { MobileView as C } from "../MobileView/MobileView.js";
|
|
10
10
|
import { getDataHTMLAttributes as D } from "../../utils/html/DataAttributes.js";
|
|
11
11
|
import { getAriaHTMLAttributes as V } from "../../utils/html/AriaAttributes.js";
|
|
12
|
-
const X = "
|
|
12
|
+
const X = "helpBoxButton__a3accdca", $ = "helpBoxTooltipBody__0184e907", f = {
|
|
13
13
|
helpBoxButton: X,
|
|
14
14
|
helpBoxTooltipBody: $
|
|
15
15
|
}, q = ({
|
|
16
16
|
children: T,
|
|
17
17
|
className: y,
|
|
18
18
|
focusTrapProps: e,
|
|
19
|
-
mobileHeaderContent:
|
|
19
|
+
mobileHeaderContent: c,
|
|
20
20
|
isOpen: i,
|
|
21
21
|
onShow: n,
|
|
22
22
|
tooltipSize: I,
|
|
23
|
-
preferPlace:
|
|
23
|
+
preferPlace: v,
|
|
24
24
|
toggle: a,
|
|
25
|
-
tooltipAriaAttributes:
|
|
25
|
+
tooltipAriaAttributes: s,
|
|
26
26
|
tooltipDataAttributes: p,
|
|
27
|
-
...
|
|
27
|
+
...F
|
|
28
28
|
}) => {
|
|
29
|
-
const d = M(null), [
|
|
30
|
-
i === void 0 &&
|
|
29
|
+
const d = M(null), [O, b] = h(!!i), [m, B] = h(null), u = R(), r = i ?? O, H = (o) => {
|
|
30
|
+
i === void 0 && b(o), o || B(null), a == null || a(o);
|
|
31
31
|
}, N = (o) => {
|
|
32
32
|
B(o), n == null || n(o);
|
|
33
33
|
}, g = (o) => /* @__PURE__ */ t(
|
|
@@ -50,8 +50,8 @@ const X = "helpBoxButton__f22aafa8", $ = "helpBoxTooltipBody__cadb6839", h = {
|
|
|
50
50
|
children: null
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
return /* @__PURE__ */
|
|
54
|
-
/* @__PURE__ */
|
|
53
|
+
return /* @__PURE__ */ x(E, { children: [
|
|
54
|
+
/* @__PURE__ */ x(
|
|
55
55
|
l,
|
|
56
56
|
{
|
|
57
57
|
id: u,
|
|
@@ -59,27 +59,27 @@ const X = "helpBoxButton__f22aafa8", $ = "helpBoxTooltipBody__cadb6839", h = {
|
|
|
59
59
|
role: "dialog",
|
|
60
60
|
toggleType: "hover",
|
|
61
61
|
size: I,
|
|
62
|
-
preferPlace:
|
|
62
|
+
preferPlace: v,
|
|
63
63
|
isOpen: r,
|
|
64
64
|
toggle: H,
|
|
65
65
|
onShow: N,
|
|
66
66
|
targetRef: d,
|
|
67
|
-
...!!
|
|
67
|
+
...!!s && V(s),
|
|
68
68
|
...!!p && D(p),
|
|
69
69
|
children: [
|
|
70
70
|
/* @__PURE__ */ t(l.Target, { children: /* @__PURE__ */ t(
|
|
71
71
|
j,
|
|
72
72
|
{
|
|
73
|
-
className: S(
|
|
73
|
+
className: S(f.helpBoxButton, y),
|
|
74
74
|
"aria-label": "Подсказка",
|
|
75
75
|
shape: k.CIRCLE,
|
|
76
76
|
ref: d,
|
|
77
|
-
...
|
|
77
|
+
...F,
|
|
78
78
|
children: /* @__PURE__ */ t(L, { paletteIndex: 5 })
|
|
79
79
|
}
|
|
80
80
|
) }),
|
|
81
|
-
|
|
82
|
-
/* @__PURE__ */ t(l.Body, { className:
|
|
81
|
+
c && /* @__PURE__ */ t(z, { children: c }),
|
|
82
|
+
/* @__PURE__ */ t(l.Body, { className: f.helpBoxTooltipBody, children: T }),
|
|
83
83
|
/* @__PURE__ */ t(l.XButton, { "aria-label": "Закрыть" })
|
|
84
84
|
]
|
|
85
85
|
}
|
|
@@ -5,7 +5,7 @@ import { EIslandType as p } from "./enums.js";
|
|
|
5
5
|
import { IslandBody as f } from "./components/IslandBody.js";
|
|
6
6
|
import { IslandHeader as n } from "./components/IslandHeader.js";
|
|
7
7
|
import { IslandFooter as c } from "./components/IslandFooter.js";
|
|
8
|
-
import { m as y, s as I, a as T, b as N } from "../../chunks/utils-
|
|
8
|
+
import { m as y, s as I, a as T, b as N } from "../../chunks/utils-dyCpsmr1.js";
|
|
9
9
|
const u = Object.assign(
|
|
10
10
|
i.forwardRef(
|
|
11
11
|
({ type: a = p.TYPE_1, borderRadius: s = 16, paddingSize: o = 16, className: r, children: m, ...e }, d) => /* @__PURE__ */ t(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { c as t } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
const
|
|
5
|
-
islandBody:
|
|
6
|
-
}, m = r.forwardRef(({ children: o, ...s }, d) => /* @__PURE__ */ a("div", { className: t(
|
|
4
|
+
const l = "islandBody__24a5c135", n = {
|
|
5
|
+
islandBody: l
|
|
6
|
+
}, m = r.forwardRef(({ children: o, ...s }, d) => /* @__PURE__ */ a("div", { className: t(n.islandBody), ref: d, ...s, children: o }));
|
|
7
7
|
export {
|
|
8
8
|
m as IslandBody
|
|
9
9
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
3
|
import { c as a } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
const d = "
|
|
4
|
+
const d = "islandFooter__307b6d00", l = {
|
|
5
5
|
islandFooter: d
|
|
6
|
-
},
|
|
6
|
+
}, m = e.forwardRef(({ children: o, ...r }, t) => /* @__PURE__ */ s("div", { className: a(l.islandFooter), ref: t, ...r, children: o }));
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
m as IslandFooter
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=IslandFooter.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
3
|
import { c as o } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "islandHeader__0571c0f9", l = {
|
|
5
5
|
islandHeader: t
|
|
6
|
-
},
|
|
6
|
+
}, f = d.forwardRef(({ children: e, ...a }, r) => /* @__PURE__ */ s("div", { className: o(l.islandHeader), ref: r, ...a, children: e }));
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
f as IslandHeader
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=IslandHeader.js.map
|
package/components/Link/Link.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
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
|
|
4
|
-
const v = "
|
|
3
|
+
import { c as l } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const v = "link__873f9874", F = "wordWithContent__6c3e27a0", S = "before__748dcd5d", T = "after__0a80da7e", 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: N, onBlur:
|
|
10
|
+
({ children: i, className: N, onBlur: p, onMouseDown: f, contentAfter: s, contentBefore: o, ...C }, _) => {
|
|
11
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 = l(e.wordWithContent, {
|
|
18
18
|
[e.after]: !!s,
|
|
19
19
|
[e.before]: !!o
|
|
20
20
|
});
|
|
@@ -24,12 +24,12 @@ const v = "link__8f03eb47", F = "wordWithContent__c110ba0e", S = "before__f054d0
|
|
|
24
24
|
m()
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const a = r[0], h = r[r.length - 1], k = r.slice(1, -1).join(" "), b = l(e.wordWithContent, {
|
|
28
28
|
[e.before]: !!o
|
|
29
|
-
}), g = o ? /* @__PURE__ */ t("span", { className:
|
|
29
|
+
}), g = o ? /* @__PURE__ */ t("span", { className: b, children: [
|
|
30
30
|
c(),
|
|
31
|
-
|
|
32
|
-
] }) :
|
|
31
|
+
a
|
|
32
|
+
] }) : a, x = l(e.wordWithContent, {
|
|
33
33
|
[e.after]: !!s
|
|
34
34
|
}), j = s ? /* @__PURE__ */ t("span", { className: x, children: [
|
|
35
35
|
h,
|
|
@@ -38,29 +38,29 @@ const v = "link__8f03eb47", F = "wordWithContent__c110ba0e", S = "before__f054d0
|
|
|
38
38
|
return /* @__PURE__ */ t(d, { children: [
|
|
39
39
|
g,
|
|
40
40
|
" ",
|
|
41
|
-
|
|
41
|
+
k,
|
|
42
42
|
" ",
|
|
43
43
|
j
|
|
44
44
|
] });
|
|
45
45
|
}, W = (n) => {
|
|
46
|
-
const r = o ? o() : null,
|
|
46
|
+
const r = o ? o() : null, a = s ? s() : null;
|
|
47
47
|
return /* @__PURE__ */ t(d, { children: [
|
|
48
48
|
r,
|
|
49
49
|
n,
|
|
50
|
-
|
|
50
|
+
a
|
|
51
51
|
] });
|
|
52
|
-
},
|
|
52
|
+
}, w = 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:
|
|
59
|
-
onBlur:
|
|
60
|
-
onMouseDown:
|
|
61
|
-
"data-tx": "1.
|
|
58
|
+
className: l(N, e.link, "hoverable"),
|
|
59
|
+
onBlur: p,
|
|
60
|
+
onMouseDown: f,
|
|
61
|
+
"data-tx": "1.3.0",
|
|
62
62
|
ref: _,
|
|
63
|
-
children:
|
|
63
|
+
children: w
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
package/components/List/List.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
import {
|
|
5
|
-
const f = "
|
|
4
|
+
import { LoaderScreen as c } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
+
const f = "list__36f8a11d", d = {
|
|
6
6
|
list: f
|
|
7
|
-
}, p =
|
|
8
|
-
|
|
9
|
-
l ? /* @__PURE__ */
|
|
7
|
+
}, p = i.forwardRef(({ children: s, className: t, loading: l, ...o }, r) => /* @__PURE__ */ a("ul", { className: m(d.list, t), ...o, "data-tx": "1.3.0", ref: r, children: [
|
|
8
|
+
s,
|
|
9
|
+
l ? /* @__PURE__ */ e(c, { type: "small" }) : null
|
|
10
10
|
] }));
|
|
11
11
|
p.displayName = "List";
|
|
12
12
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as o } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
const p = "
|
|
4
|
+
const p = "listEmptyState__ab57b91c", 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.3.0", ref: s, children: e }) });
|
|
7
7
|
});
|
|
8
8
|
f.displayName = "ListItem";
|
|
9
9
|
export {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import l, { useContext as
|
|
3
|
-
import { c as
|
|
4
|
-
import { ListItemContext as
|
|
5
|
-
const d = "
|
|
2
|
+
import l, { useContext as i } from "react";
|
|
3
|
+
import { c as r } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { ListItemContext as a } from "./ListItemContext.js";
|
|
5
|
+
const d = "listItemContent__ec71b02b", C = "selected__208bb57a", t = {
|
|
6
6
|
listItemContent: d,
|
|
7
|
-
selected:
|
|
8
|
-
},
|
|
7
|
+
selected: C
|
|
8
|
+
}, f = l.forwardRef(
|
|
9
9
|
({ children: e, className: s, ...o }, n) => {
|
|
10
|
-
const { selected: m } = a
|
|
10
|
+
const { selected: m } = i(a);
|
|
11
11
|
return /* @__PURE__ */ c(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: r(t.listItemContent, { [t.selected]: m }, s),
|
|
15
15
|
...o,
|
|
16
|
-
"data-tx": "1.
|
|
16
|
+
"data-tx": "1.3.0",
|
|
17
17
|
ref: n,
|
|
18
18
|
children: e
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
f.displayName = "ListItemContent";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
f as ListItemContent
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=ListItemContent.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const i = "
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const i = "listItemControls__38ebb05b", n = {
|
|
5
5
|
listItemControls: i
|
|
6
|
-
},
|
|
7
|
-
({ children: t, className: o, ...s }, l) => /* @__PURE__ */ r("div", { className:
|
|
6
|
+
}, a = e.forwardRef(
|
|
7
|
+
({ children: t, className: o, ...s }, l) => /* @__PURE__ */ r("div", { className: m(n.listItemControls, o), ...s, ref: l, children: t })
|
|
8
8
|
);
|
|
9
|
-
|
|
9
|
+
a.displayName = "ListItemControls";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
a as ListItemControls
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=ListItemControls.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
import { L as e } from "../../../chunks/ListItemControlsButton-
|
|
4
|
+
import { L as e } from "../../../chunks/ListItemControlsButton-Ms4q9wDe.js";
|
|
5
5
|
import "../../Typography/enums.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
export {
|
|
@@ -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-Ms4q9wDe.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,15 +1,15 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { c as s } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
import {
|
|
4
|
+
import { LoaderScreen as a } from "../../LoaderScreen/LoaderScreen.js";
|
|
5
5
|
import { EComponentSize as r } from "../../../enums/EComponentSize.js";
|
|
6
|
-
const
|
|
7
|
-
listItemLoading:
|
|
8
|
-
},
|
|
9
|
-
({ className: o, ...i }, e) => /* @__PURE__ */ t("div", { className: s(
|
|
6
|
+
const n = "listItemLoading__1fb4613c", d = {
|
|
7
|
+
listItemLoading: n
|
|
8
|
+
}, l = m.forwardRef(
|
|
9
|
+
({ className: o, ...i }, e) => /* @__PURE__ */ t("div", { className: s(d.listItemLoading, o), ...i, ref: e, children: /* @__PURE__ */ t(a, { type: "small", size: r.MD }) })
|
|
10
10
|
);
|
|
11
|
-
|
|
11
|
+
l.displayName = "ListItemLoading";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
l as ListItemLoading
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=ListItemLoading.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as n, jsx as
|
|
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
3
|
import { c as k } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { Checkbox as x } from "../../Checkbox/Checkbox.js";
|
|
5
|
-
import { ListItemContext as
|
|
6
|
-
const
|
|
7
|
-
listItemSelectable:
|
|
5
|
+
import { ListItemContext as _ } from "./ListItemContext.js";
|
|
6
|
+
const f = "listItemSelectable__20b7c276", L = "selected__208bb57a", C = "checkboxWrapper__3635df4c", W = "childrenWrapper__4fd32a52", I = "checkboxLabel__7a9185b1", S = "checkboxLabelClickArea__12737d1b", e = {
|
|
7
|
+
listItemSelectable: f,
|
|
8
8
|
selected: L,
|
|
9
9
|
checkboxWrapper: C,
|
|
10
10
|
childrenWrapper: W,
|
|
@@ -12,26 +12,26 @@ const _ = "listItemSelectable__fab52e2f", L = "selected__5f3a650a", C = "checkbo
|
|
|
12
12
|
checkboxLabelClickArea: S
|
|
13
13
|
}, N = p.forwardRef(
|
|
14
14
|
({ selected: c, children: l, className: r, onSelect: s, ...o }, b) => {
|
|
15
|
-
const { setSelected:
|
|
15
|
+
const { setSelected: a } = m(_), i = (h) => {
|
|
16
16
|
s(h.target.checked);
|
|
17
17
|
};
|
|
18
18
|
return d(() => {
|
|
19
|
-
|
|
20
|
-
}, [c,
|
|
19
|
+
a(c);
|
|
20
|
+
}, [c, a]), /* @__PURE__ */ n(
|
|
21
21
|
"div",
|
|
22
22
|
{
|
|
23
23
|
className: k(e.listItemSelectable, { [e.selected]: c }, r),
|
|
24
24
|
...o,
|
|
25
25
|
ref: b,
|
|
26
26
|
children: [
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ t("div", { className: e.childrenWrapper, children: l }),
|
|
28
|
+
/* @__PURE__ */ t("div", { className: e.checkboxWrapper, children: /* @__PURE__ */ t(
|
|
29
29
|
x,
|
|
30
30
|
{
|
|
31
31
|
checked: c,
|
|
32
32
|
onChange: i,
|
|
33
33
|
labelAttributes: { className: e.checkboxLabel },
|
|
34
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ t("span", { className: e.checkboxLabelClickArea })
|
|
35
35
|
}
|
|
36
36
|
) })
|
|
37
37
|
]
|
|
@@ -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 I } from "../../SwipeableArea/SwipeableArea.js";
|
|
4
|
+
import { ListItem as b } 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
9
|
import { c as y } from "../../../chunks/vendor-CehxOAkM.js";
|
|
10
|
-
const C = "
|
|
10
|
+
const C = "listItemTable__2473a0c9", _ = {
|
|
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(b, { className: y(_.listItemTable, s), ...n, ref: f, children: /* @__PURE__ */ c(
|
|
16
|
+
I,
|
|
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
3
|
import { c as o } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-D5VudFCz.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
3
|
import { c as o } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-D5VudFCz.js";
|
|
5
5
|
const r = e.forwardRef(
|
|
6
6
|
({ className: a, ...i }, l) => /* @__PURE__ */ m(
|
|
7
7
|
"span",
|
|
@@ -3,19 +3,19 @@ import p from "react";
|
|
|
3
3
|
import { t as u, C as I, c as _ } from "../../../chunks/vendor-CehxOAkM.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__ae7fbecc", N = "dragging__92b4d22d", i = {
|
|
7
7
|
listSortableItem: R,
|
|
8
8
|
dragging: N
|
|
9
9
|
}, x = Object.assign(
|
|
10
10
|
p.forwardRef(function({ children: e, className: n, style: g, disabled: r, ...s }, t) {
|
|
11
|
-
const { transform: m, transition: l, listeners: f, isDragging: a, setNodeRef: c, setActivatorNodeRef:
|
|
11
|
+
const { transform: m, transition: l, listeners: f, isDragging: a, setNodeRef: c, setActivatorNodeRef: d } = u({
|
|
12
12
|
disabled: r,
|
|
13
13
|
id: s.id,
|
|
14
14
|
transition: {
|
|
15
15
|
duration: 300,
|
|
16
16
|
easing: "ease-out"
|
|
17
17
|
}
|
|
18
|
-
}),
|
|
18
|
+
}), S = (o) => {
|
|
19
19
|
c(o), typeof t == "function" ? t(o) : t && (t.current = o);
|
|
20
20
|
};
|
|
21
21
|
return /* @__PURE__ */ b(
|
|
@@ -24,8 +24,8 @@ const R = "listSortableItem__42a6b413", N = "dragging__de06a03e", i = {
|
|
|
24
24
|
className: _(i.listSortableItem, { [i.dragging]: a }, n),
|
|
25
25
|
style: { transform: I.Translate.toString(m), transition: l, ...g },
|
|
26
26
|
...s,
|
|
27
|
-
ref:
|
|
28
|
-
children: typeof e == "function" ? e({ disabled: r, dragging: a, listeners: f, setActivatorNodeRef:
|
|
27
|
+
ref: S,
|
|
28
|
+
children: typeof e == "function" ? e({ disabled: r, dragging: a, listeners: f, setActivatorNodeRef: d }) : e
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
31
|
}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { c as e } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
const a = "
|
|
4
|
+
const a = "listSortableItemControls__ba110cc1", m = {
|
|
5
5
|
listSortableItemControls: a
|
|
6
6
|
}, i = l.forwardRef(
|
|
7
7
|
({ className: t, ...o }, r) => /* @__PURE__ */ s(
|
|
@@ -1,9 +1,9 @@
|
|
|
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 as
|
|
5
|
-
const
|
|
6
|
-
listSortableItemTarget:
|
|
4
|
+
import { c as b } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
|
+
const I = "listSortableItemTarget__640732be", c = "dragging__92b4d22d", S = "listSortableItemTargetContent__5a5b4a0b", d = "listSortableItemTargetIcon__c1b59e1d", t = {
|
|
6
|
+
listSortableItemTarget: I,
|
|
7
7
|
dragging: c,
|
|
8
8
|
listSortableItemTargetContent: S,
|
|
9
9
|
listSortableItemTargetIcon: d
|
|
@@ -11,7 +11,7 @@ const b = "listSortableItemTarget__bb934592", c = "dragging__de06a03e", S = "lis
|
|
|
11
11
|
({ children: a, className: r, disabled: o, dragging: l, ...s }, g) => /* @__PURE__ */ i(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: b(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-Ms4q9wDe.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";
|
|
@@ -6,7 +6,7 @@ import { ListMasterHeader as a } from "./components/ListMasterHeader.js";
|
|
|
6
6
|
import { SelectionControls as n } from "./components/SelectionControls.js";
|
|
7
7
|
import { ListMasterFooterControls as f } from "./components/ListMasterFooterControls.js";
|
|
8
8
|
import { ListMasterFooterDescription as L } from "./components/ListMasterFooterDescription.js";
|
|
9
|
-
const o = ({ children: t, className: r, ...e }) => /* @__PURE__ */ i("div", { className: r, ...e, "data-tx": "1.
|
|
9
|
+
const o = ({ children: t, className: r, ...e }) => /* @__PURE__ */ i("div", { className: r, ...e, "data-tx": "1.3.0", children: t });
|
|
10
10
|
o.Body = m;
|
|
11
11
|
o.ChipGroup = s;
|
|
12
12
|
o.Footer = p;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const e = "
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import o from "react";
|
|
3
|
+
import { c as p } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const e = "listMasterChipGroup__6aa97a5d", l = {
|
|
5
5
|
listMasterChipGroup: e
|
|
6
|
-
}, m =
|
|
7
|
-
({ children: s, className: t, ...r },
|
|
6
|
+
}, m = o.forwardRef(
|
|
7
|
+
({ children: s, className: t, ...r }, a) => (
|
|
8
8
|
// <ChipGroup className={clsx("cssClass[listMasterChipGroup]", className)} oneLine {...rest} ref={ref}>
|
|
9
9
|
// {children}
|
|
10
10
|
// </ChipGroup>
|
|
11
|
-
/* @__PURE__ */
|
|
11
|
+
/* @__PURE__ */ i("div", { className: p(l.listMasterChipGroup, t), ref: a, ...r, children: s })
|
|
12
12
|
)
|
|
13
13
|
);
|
|
14
14
|
m.displayName = "ListMasterChips";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { c as f } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
import { s as t } from "../../../chunks/ListMasterFooter.module-
|
|
4
|
+
import { s as t } from "../../../chunks/ListMasterFooter.module-DzXu5TSC.js";
|
|
5
5
|
const c = m.forwardRef(
|
|
6
6
|
({ children: r, className: s, sticky: o = !0, ...e }, a) => /* @__PURE__ */ i(
|
|
7
7
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
import { s as i } from "../../../chunks/ListMasterFooter.module-
|
|
4
|
+
import { s as i } from "../../../chunks/ListMasterFooter.module-DzXu5TSC.js";
|
|
5
5
|
const l = a.forwardRef(
|
|
6
6
|
({ children: o, className: t, ...r }, s) => /* @__PURE__ */ e("div", { className: m(i.listMasterFooterControls, t), ...r, ref: s, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as a } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
import { s as m } from "../../../chunks/ListMasterFooter.module-
|
|
4
|
+
import { s as m } from "../../../chunks/ListMasterFooter.module-DzXu5TSC.js";
|
|
5
5
|
const p = i.forwardRef(
|
|
6
6
|
({ children: t, className: o, ...r }, s) => /* @__PURE__ */ e("div", { className: a(m.listMasterFooterDescription, o), ...r, ref: s, children: t })
|
|
7
7
|
);
|