@sberbusiness/triplex-next 1.0.0 → 1.1.1
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-JRcPtVtX.js → AlertProcessSpoiler-Caa0745n.js} +11 -11
- package/chunks/Card.module-BRANBAxP.js +17 -0
- package/chunks/{DropdownListItem-Be_BBAWh.js → DropdownListItem-DIIAnvmw.js} +17 -17
- package/chunks/DropdownMobile.module-BUeZuAYr.js +19 -0
- package/chunks/Footer.module-BFo05t5_.js +11 -0
- package/chunks/FormFieldInput-rV5ZVe9k.js +63 -0
- package/chunks/HeaderLayoutSidebar.module-CEqBuRNu.js +9 -0
- package/chunks/HeaderTabs.module-BEaVu2Hx.js +9 -0
- package/chunks/HeaderTitle.module-Db-1fcNm.js +9 -0
- package/chunks/{ListItemControlsButton-DWU_FtH8.js → ListItemControlsButton-Ch-5PQYH.js} +7 -7
- package/chunks/ListItemTail.module-C5-4SAqt.js +12 -0
- package/chunks/ListMasterFooter.module-Dph-_lLg.js +10 -0
- package/chunks/Overlay.module-D6LEz1jT.js +18 -0
- package/chunks/Page.module-Ct9ky9ko.js +16 -0
- package/chunks/TabsExtended.module-CmU9j8zG.js +13 -0
- package/chunks/{TabsExtendedUtils-BLpZL63j.js → TabsExtendedUtils-CkAvE1fA.js} +2 -2
- package/chunks/TooltipDesktop.module-KrPZMfQD.js +19 -0
- package/chunks/UploadZoneInput-CXjerIVV.js +33 -0
- package/chunks/{utils-Ck6y6vsC.js → utils-bbbspEnw.js} +7 -7
- package/chunks/{vendor-CF2m175I.js → vendor-D-uL_icH.js} +38 -34
- 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/Body/Body.js +8 -8
- package/components/Button/Button.js +95 -10
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +184 -23
- package/components/Button/ButtonDropdownExtended.js +50 -6
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Button/enums.js +5 -4
- package/components/Button/index.js +14 -12
- package/components/Card/CardAction.js +20 -20
- 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/Checkbox/Checkbox.js +9 -9
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/Col/Col.js +143 -143
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +9 -7
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +15 -13
- package/components/DesignTokens/components/Button.js +27 -0
- package/components/DesignTokens/components/FormField.js +22 -4
- package/components/DesignTokens/components/Island.js +26 -0
- package/components/DesignTokens/components/index.js +17 -14
- package/components/Dropdown/Dropdown.js +22 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +94 -18
- package/components/Dropdown/desktop/DropdownList.js +65 -94
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/index.js +27 -25
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Footer/Footer.js +3 -3
- 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 +52 -51
- package/components/FormField/FormFieldContext.js +8 -8
- package/components/FormField/components/FormFieldClear.js +16 -15
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +32 -31
- package/components/FormField/components/FormFieldMaskedInput.js +102 -92
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +49 -0
- package/components/FormField/components/FormFieldTextarea.js +25 -24
- package/components/FormField/enums.js +3 -2
- package/components/FormField/index.js +19 -16
- package/components/FormField/types.js +2 -0
- package/components/Header/Header.js +10 -10
- 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 +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/Island/Island.js +78 -0
- package/components/Island/components/IslandBody.js +10 -0
- package/components/Island/components/IslandFooter.js +10 -0
- package/components/Island/components/IslandHeader.js +10 -0
- package/components/Island/enums.js +7 -0
- package/components/Island/index.js +9 -0
- package/components/KeyDownListener/ComposedKeyDownListener.js +13 -0
- package/components/KeyDownListener/KeyDownListener.js +27 -0
- package/components/KeyDownListener/index.js +7 -0
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +9 -9
- 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 +7 -7
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +98 -15
- package/components/List/components/ListItemLoading.js +5 -5
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTable.js +29 -19
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +37 -18
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +9 -9
- package/components/List/index.js +22 -20
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +11 -11
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +2 -2
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderWidget/LoaderWidget.js +5 -5
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +17 -17
- package/components/Pagination/utils/paginationUtils.js +10 -10
- package/components/Radio/Radio.js +3 -3
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +6 -6
- package/components/SegmentedControl/SegmentedControl.js +64 -7
- package/components/SegmentedControl/SegmentedControlContext.js +13 -0
- package/components/SegmentedControl/SegmentedControlSegment.js +68 -8
- package/components/SegmentedControl/index.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +57 -0
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +25 -0
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +86 -0
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +101 -0
- package/components/SelectExtendedField/index.js +9 -0
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SwipeableArea/SwipeableArea.js +19 -19
- package/components/TabsExtended/TabsExtended.js +7 -7
- package/components/TabsExtended/TabsExtendedUtils.js +1 -1
- package/components/TabsExtended/components/TabsExtendedContent.js +11 -11
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/types.js +2 -0
- package/components/TextField/MaskedField.js +6 -89
- package/components/TextField/TextField.js +6 -89
- package/components/TextField/TextFieldBase.js +30 -89
- package/components/TextField/index.js +4 -3
- package/components/ThemeProvider/ThemeProvider.js +8 -8
- package/components/ThemeProvider/components/ThemeProviderView.js +8 -8
- package/components/Tooltip/components/common/TooltipBody.js +7 -7
- package/components/Tooltip/components/common/TooltipLink.js +14 -14
- 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 +9 -9
- package/components/Typography/Caption.js +12 -12
- package/components/Typography/Text.js +22 -22
- package/components/Typography/Title.js +18 -18
- package/components/Typography/utils.js +1 -1
- package/components/UploadZone/UploadZone.js +109 -7
- package/components/UploadZone/UploadZoneContext.js +11 -0
- package/components/UploadZone/components/UploadZoneInput.js +5 -140
- package/components/UploadZone/index.js +2 -3
- package/components/UploadZone/types.js +2 -0
- package/components/index.js +279 -248
- package/index.d.ts +212 -27
- package/index.js +277 -246
- package/package.json +13 -1
- package/styles/triplex-next.css +354 -333
- package/chunks/Card.module-Cr47sRot.js +0 -17
- package/chunks/DropdownMobile.module-PWShExJh.js +0 -19
- package/chunks/Footer.module-Gh9uBYjc.js +0 -11
- package/chunks/FormFieldInput-H-fZrt84.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-MHb8aSSn.js +0 -9
- package/chunks/HeaderTabs.module-Bfiwon3k.js +0 -9
- package/chunks/HeaderTitle.module-xLu0Kmjc.js +0 -9
- package/chunks/ListItemTail.module-DZnDKE1u.js +0 -12
- package/chunks/ListMasterFooter.module-DVmdCqc9.js +0 -10
- package/chunks/Overlay.module-C1GsZR5Z.js +0 -18
- package/chunks/Page.module-kOw5fybr.js +0 -16
- package/chunks/TabsExtended.module-lHzNgwBX.js +0 -13
- package/chunks/TooltipDesktop.module-HNPcWO41.js +0 -19
- package/chunks/index-CgNJLkzr.js +0 -931
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const m = "
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as a } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
const m = "listItemLoading__8d7b5e37", d = {
|
|
5
5
|
listItemLoading: m
|
|
6
|
-
}, l =
|
|
7
|
-
({ className: t, ...i }, o) => /* @__PURE__ */ s("div", { className:
|
|
6
|
+
}, l = e.forwardRef(
|
|
7
|
+
({ className: t, ...i }, o) => /* @__PURE__ */ s("div", { className: a(d.listItemLoading, t), ...i, ref: o, children: "Лоадер" })
|
|
8
8
|
);
|
|
9
9
|
l.displayName = "ListItemLoading";
|
|
10
10
|
export {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as k } from "../../../chunks/vendor-
|
|
2
|
+
import d, { useContext as p, useEffect as m } from "react";
|
|
3
|
+
import { c as k } from "../../../chunks/vendor-D-uL_icH.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__bca7e1e8", L = "selected__a7373903", C = "checkboxWrapper__14e022da", W = "childrenWrapper__75d81dd2", I = "checkboxLabel__48845d0f", S = "checkboxLabelClickArea__e374b69d", e = {
|
|
7
7
|
listItemSelectable: f,
|
|
8
8
|
selected: L,
|
|
9
9
|
checkboxWrapper: C,
|
|
10
10
|
childrenWrapper: W,
|
|
11
11
|
checkboxLabel: I,
|
|
12
12
|
checkboxLabelClickArea: S
|
|
13
|
-
}, N =
|
|
13
|
+
}, N = d.forwardRef(
|
|
14
14
|
({ selected: c, children: l, className: r, onSelect: s, ...o }, b) => {
|
|
15
|
-
const { setSelected: a } =
|
|
15
|
+
const { setSelected: a } = p(_), i = (h) => {
|
|
16
16
|
s(h.target.checked);
|
|
17
17
|
};
|
|
18
|
-
return
|
|
18
|
+
return m(() => {
|
|
19
19
|
a(c);
|
|
20
20
|
}, [c, a]), /* @__PURE__ */ n(
|
|
21
21
|
"div",
|
|
@@ -1,22 +1,32 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../SwipeableArea/SwipeableArea.js";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "../../../chunks/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { jsx as e, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { SwipeableArea as b } from "../../SwipeableArea/SwipeableArea.js";
|
|
4
|
+
import { ListItem as I } from "./ListItem.js";
|
|
5
|
+
import { ListItemContent as L } from "./ListItemContent.js";
|
|
6
|
+
import { ListItemControls as T } from "./ListItemControls.js";
|
|
7
|
+
import { ListItemSelectable as h } from "./ListItemSelectable.js";
|
|
8
|
+
import { ListItemTailRight as x } from "./ListItemTailRight.js";
|
|
9
|
+
import { c as y } from "../../../chunks/vendor-D-uL_icH.js";
|
|
10
|
+
const C = "listItemTable__c4302c6b", _ = {
|
|
11
|
+
listItemTable: C
|
|
12
|
+
}, u = d.forwardRef(
|
|
13
|
+
({ children: o, className: s, controlButtons: t, onClickItem: l, onSelect: i, selected: r, swipeableAreaRef: a, ...n }, f) => {
|
|
14
|
+
const c = typeof i < "u" && typeof r < "u", m = () => /* @__PURE__ */ e(L, { onClick: l, children: o });
|
|
15
|
+
return /* @__PURE__ */ e(I, { className: y(_.listItemTable, s), ...n, ref: f, children: /* @__PURE__ */ p(
|
|
16
|
+
b,
|
|
17
|
+
{
|
|
18
|
+
ref: a,
|
|
19
|
+
rightSwipeableArea: t ? /* @__PURE__ */ e(T, { children: t }) : void 0,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ e(x, {}),
|
|
22
|
+
c ? /* @__PURE__ */ e(h, { selected: r, onSelect: i, children: m() }) : m()
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
) });
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
u.displayName = "ListItemTable";
|
|
19
29
|
export {
|
|
20
|
-
|
|
30
|
+
u as ListItemTable
|
|
21
31
|
};
|
|
22
32
|
//# sourceMappingURL=ListItemTable.js.map
|
|
@@ -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-D-uL_icH.js";
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-C5-4SAqt.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-D-uL_icH.js";
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-C5-4SAqt.js";
|
|
5
5
|
const r = e.forwardRef(
|
|
6
6
|
({ className: a, ...i }, l) => /* @__PURE__ */ m(
|
|
7
7
|
"span",
|
|
@@ -1,21 +1,40 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { s as u, C as I, c as _ } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
import { ListItem as y } from "./ListItem.js";
|
|
5
|
+
import { ListSortableItemTarget as L } from "./ListSortableItemTarget.js";
|
|
6
|
+
const R = "listSortableItem__5c8a32f8", N = "dragging__0bcce740", i = {
|
|
7
|
+
listSortableItem: R,
|
|
8
|
+
dragging: N
|
|
9
|
+
}, x = Object.assign(
|
|
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: S } = u({
|
|
12
|
+
disabled: r,
|
|
13
|
+
id: s.id,
|
|
14
|
+
transition: {
|
|
15
|
+
duration: 300,
|
|
16
|
+
easing: "ease-out"
|
|
17
|
+
}
|
|
18
|
+
}), b = (o) => {
|
|
19
|
+
c(o), typeof t == "function" ? t(o) : t && (t.current = o);
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ d(
|
|
22
|
+
y,
|
|
23
|
+
{
|
|
24
|
+
className: _(i.listSortableItem, { [i.dragging]: a }, n),
|
|
25
|
+
style: { transform: I.Translate.toString(m), transition: l, ...g },
|
|
26
|
+
...s,
|
|
27
|
+
ref: b,
|
|
28
|
+
children: typeof e == "function" ? e({ disabled: r, dragging: a, listeners: f, setActivatorNodeRef: S }) : e
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
}),
|
|
32
|
+
{
|
|
33
|
+
Target: L
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
x.displayName = "ListSortableItem";
|
|
18
37
|
export {
|
|
19
|
-
|
|
38
|
+
x as ListSortableItem
|
|
20
39
|
};
|
|
21
40
|
//# sourceMappingURL=ListSortableItem.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
|
-
import { c as e } from "../../../chunks/vendor-
|
|
4
|
-
const a = "
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
const a = "listSortableItemControls__8204f55c", m = {
|
|
5
5
|
listSortableItemControls: a
|
|
6
6
|
}, i = l.forwardRef(
|
|
7
7
|
({ className: t, ...o }, r) => /* @__PURE__ */ s(
|
|
@@ -1,28 +1,28 @@
|
|
|
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 } from "../../../chunks/vendor-
|
|
5
|
-
const I = "
|
|
4
|
+
import { c } from "../../../chunks/vendor-D-uL_icH.js";
|
|
5
|
+
const I = "listSortableItemTarget__6d9f6f44", b = "dragging__0bcce740", S = "listSortableItemTargetContent__b82d3e9f", d = "listSortableItemTargetIcon__1875536e", t = {
|
|
6
6
|
listSortableItemTarget: I,
|
|
7
7
|
dragging: b,
|
|
8
8
|
listSortableItemTargetContent: S,
|
|
9
|
-
listSortableItemTargetIcon:
|
|
10
|
-
},
|
|
11
|
-
({ children:
|
|
9
|
+
listSortableItemTargetIcon: d
|
|
10
|
+
}, T = m.forwardRef(
|
|
11
|
+
({ children: r, className: a, disabled: o, dragging: l, ...s }, g) => /* @__PURE__ */ i(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className: c(t.listSortableItemTarget, { [t.dragging]: l }, "hoverable",
|
|
14
|
+
className: c(t.listSortableItemTarget, { [t.dragging]: l }, "hoverable", a),
|
|
15
15
|
...s,
|
|
16
16
|
ref: g,
|
|
17
17
|
children: [
|
|
18
|
-
/* @__PURE__ */ e("div", { className: t.listSortableItemTargetContent, children:
|
|
18
|
+
/* @__PURE__ */ e("div", { className: t.listSortableItemTargetContent, children: r }),
|
|
19
19
|
!o && /* @__PURE__ */ e(n, { paletteIndex: 5, className: t.listSortableItemTargetIcon })
|
|
20
20
|
]
|
|
21
21
|
}
|
|
22
22
|
)
|
|
23
23
|
);
|
|
24
|
-
|
|
24
|
+
T.displayName = "ListSortableItemTarget";
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
T as ListSortableItemTarget
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=ListSortableItemTarget.js.map
|
package/components/List/index.js
CHANGED
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
import { List as e } from "./List.js";
|
|
2
2
|
import { AdvancedMouseSensor as m, AdvancedTouchSensor as s, ListSortable as i } from "./ListSortable.js";
|
|
3
|
-
import { ListItem as
|
|
4
|
-
import { ListItemControls as
|
|
5
|
-
import { ListItemContent as
|
|
6
|
-
import { L as I } from "../../chunks/ListItemControlsButton-
|
|
7
|
-
import {
|
|
8
|
-
import { ListEmptyState as
|
|
9
|
-
import { ListItemLoading as
|
|
10
|
-
import { ListItemSelectable as
|
|
3
|
+
import { ListItem as p } from "./components/ListItem.js";
|
|
4
|
+
import { ListItemControls as x } from "./components/ListItemControls.js";
|
|
5
|
+
import { ListItemContent as n } from "./components/ListItemContent.js";
|
|
6
|
+
import { L as I } from "../../chunks/ListItemControlsButton-Ch-5PQYH.js";
|
|
7
|
+
import { ListItemControlsButtonDropdown as b } from "./components/ListItemControlsButtonDropdown.js";
|
|
8
|
+
import { ListEmptyState as C } from "./components/ListEmptyState.js";
|
|
9
|
+
import { ListItemLoading as c } from "./components/ListItemLoading.js";
|
|
10
|
+
import { ListItemSelectable as g } from "./components/ListItemSelectable.js";
|
|
11
|
+
import { ListItemTable as v } from "./components/ListItemTable.js";
|
|
11
12
|
import { ListItemTailLeft as B } from "./components/ListItemTailLeft.js";
|
|
12
13
|
import { ListItemTailRight as y } from "./components/ListItemTailRight.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
14
|
+
import { ListSortableItem as E } from "./components/ListSortableItem.js";
|
|
15
|
+
import { ListSortableItemTarget as R } from "./components/ListSortableItemTarget.js";
|
|
16
|
+
import { ListSortableItemControls as k } from "./components/ListSortableItemControls.js";
|
|
15
17
|
export {
|
|
16
18
|
m as AdvancedMouseSensor,
|
|
17
19
|
s as AdvancedTouchSensor,
|
|
18
20
|
e as List,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
C as ListEmptyState,
|
|
22
|
+
p as ListItem,
|
|
23
|
+
n as ListItemContent,
|
|
24
|
+
x as ListItemControls,
|
|
23
25
|
I as ListItemControlsButton,
|
|
24
26
|
b as ListItemControlsButtonDropdown,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
c as ListItemLoading,
|
|
28
|
+
g as ListItemSelectable,
|
|
29
|
+
v as ListItemTable,
|
|
28
30
|
B as ListItemTailLeft,
|
|
29
31
|
y as ListItemTailRight,
|
|
30
32
|
i as ListSortable,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
E as ListSortableItem,
|
|
34
|
+
k as ListSortableItemControls,
|
|
35
|
+
R as ListSortableItemTarget
|
|
34
36
|
};
|
|
35
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -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.1.1", 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 a } from "react/jsx-runtime";
|
|
2
|
+
import o from "react";
|
|
3
|
+
import { c as p } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
const e = "listMasterChipGroup__facb9ac3", c = {
|
|
5
5
|
listMasterChipGroup: e
|
|
6
|
-
}, l =
|
|
6
|
+
}, l = o.forwardRef(
|
|
7
7
|
({ children: s, className: t, ...r }, i) => (
|
|
8
8
|
// <ChipGroup className={clsx("cssClass[listMasterChipGroup]", className)} oneLine {...rest} ref={ref}>
|
|
9
9
|
// {children}
|
|
10
10
|
// </ChipGroup>
|
|
11
|
-
/* @__PURE__ */
|
|
11
|
+
/* @__PURE__ */ a("div", { className: p(c.listMasterChipGroup, t), ref: i, ...r, children: s })
|
|
12
12
|
)
|
|
13
13
|
);
|
|
14
14
|
l.displayName = "ListMasterChips";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import { c as f } from "../../../chunks/vendor-
|
|
4
|
-
import { s as t } from "../../../chunks/ListMasterFooter.module-
|
|
3
|
+
import { c as f } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
import { s as t } from "../../../chunks/ListMasterFooter.module-Dph-_lLg.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
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as i } from "../../../chunks/ListMasterFooter.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
import { s as i } from "../../../chunks/ListMasterFooter.module-Dph-_lLg.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
|
-
import { c as a } from "../../../chunks/vendor-
|
|
4
|
-
import { s as m } from "../../../chunks/ListMasterFooter.module-
|
|
3
|
+
import { c as a } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
import { s as m } from "../../../chunks/ListMasterFooter.module-Dph-_lLg.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
|
);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as w } from "../../../chunks/vendor-
|
|
4
|
-
const p = "
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import f, { useRef as o, useEffect as m } from "react";
|
|
3
|
+
import { c as w } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
const p = "listMasterHeader__f696d997", y = "sticky__10bd904d", c = {
|
|
5
5
|
listMasterHeader: p,
|
|
6
6
|
sticky: y
|
|
7
|
-
}, H =
|
|
7
|
+
}, H = f.forwardRef(
|
|
8
8
|
({ children: i, className: n, sticky: a = !0, ...l }, t) => {
|
|
9
|
-
const e =
|
|
9
|
+
const e = o(null), r = o(0);
|
|
10
10
|
m(() => {
|
|
11
11
|
if (e.current)
|
|
12
12
|
return r.current = e.current.getBoundingClientRect().height, window.scrollTo({ top: window.scrollY + r.current }), () => {
|
|
13
13
|
window.scrollTo({ top: Math.max(window.scrollY - r.current, 0) });
|
|
14
14
|
};
|
|
15
15
|
}, []);
|
|
16
|
-
const
|
|
16
|
+
const d = (s) => {
|
|
17
17
|
e.current = s, typeof t == "function" ? t(s) : t && (t.current = s);
|
|
18
18
|
};
|
|
19
|
-
return /* @__PURE__ */
|
|
19
|
+
return /* @__PURE__ */ u(
|
|
20
20
|
"div",
|
|
21
21
|
{
|
|
22
22
|
className: w(
|
|
23
|
-
|
|
23
|
+
c.listMasterHeader,
|
|
24
24
|
{
|
|
25
|
-
[
|
|
25
|
+
[c.sticky]: a
|
|
26
26
|
},
|
|
27
27
|
n
|
|
28
28
|
),
|
|
29
29
|
...l,
|
|
30
|
-
ref:
|
|
30
|
+
ref: d,
|
|
31
31
|
children: i
|
|
32
32
|
}
|
|
33
33
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as r } from "../../../chunks/vendor-
|
|
4
|
-
const c = "
|
|
3
|
+
import { c as r } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
const c = "selectionControls__9a7ab763", a = {
|
|
5
5
|
selectionControls: c
|
|
6
6
|
}, i = n.forwardRef(
|
|
7
7
|
({ children: o, className: t, ...s }, e) => /* @__PURE__ */ l(
|
|
@@ -9,7 +9,7 @@ const c = "selectionControls__803d25a2", a = {
|
|
|
9
9
|
{
|
|
10
10
|
className: r(a.selectionControls, t),
|
|
11
11
|
...s,
|
|
12
|
-
"data-tx": "1.
|
|
12
|
+
"data-tx": "1.1.1",
|
|
13
13
|
ref: e,
|
|
14
14
|
children: o
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as s, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../../chunks/vendor-
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../../chunks/vendor-D-uL_icH.js";
|
|
3
|
+
const a = "loaderMiddle__b89e7031", e = "dot__fac40394", l = "dot1__71087417", c = "dot2__a5b901ad", n = "dot3__54f8291e", i = "dot4__b15b14ab", r = "line__7eec6c04", d = {
|
|
4
4
|
loaderMiddle: a,
|
|
5
5
|
dot: e,
|
|
6
6
|
dot1: l,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as n, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../chunks/vendor-
|
|
2
|
+
import { c as o } from "../../../chunks/vendor-D-uL_icH.js";
|
|
3
3
|
import { ELoaderSmallTheme as e, ELoaderSmallSize as d } from "./enum.js";
|
|
4
|
-
const c = "
|
|
4
|
+
const c = "loaderSmall__bc39ef1d", m = "sm__5429a9fa", _ = "dot__fac40394", S = "md__97251b29", i = "lg__3e81ffe9", u = "neutral__4dc19195", f = "brand__d603a4c8", p = "dot1__71087417", b = "dot2__a5b901ad", L = "dot3__54f8291e", a = {
|
|
5
5
|
loaderSmall: c,
|
|
6
6
|
sm: m,
|
|
7
7
|
dot: _,
|
|
8
8
|
md: S,
|
|
9
9
|
lg: i,
|
|
10
10
|
neutral: u,
|
|
11
|
-
brand:
|
|
11
|
+
brand: f,
|
|
12
12
|
dot1: p,
|
|
13
|
-
dot2:
|
|
14
|
-
dot3:
|
|
13
|
+
dot2: b,
|
|
14
|
+
dot3: L
|
|
15
15
|
}, t = (s) => {
|
|
16
16
|
switch (s) {
|
|
17
17
|
case e.BRAND:
|
|
@@ -19,7 +19,7 @@ const c = "loaderSmall__0022c2d2", m = "sm__dd0998ce", _ = "dot__352ed08f", S =
|
|
|
19
19
|
case e.NEUTRAL:
|
|
20
20
|
return a.neutral;
|
|
21
21
|
}
|
|
22
|
-
},
|
|
22
|
+
}, g = (s) => {
|
|
23
23
|
switch (s) {
|
|
24
24
|
case d.SM:
|
|
25
25
|
return a.sm;
|
|
@@ -28,12 +28,12 @@ const c = "loaderSmall__0022c2d2", m = "sm__dd0998ce", _ = "dot__352ed08f", S =
|
|
|
28
28
|
case d.LG:
|
|
29
29
|
return a.lg;
|
|
30
30
|
}
|
|
31
|
-
},
|
|
31
|
+
}, N = ({ theme: s, size: r }) => /* @__PURE__ */ n(
|
|
32
32
|
"span",
|
|
33
33
|
{
|
|
34
34
|
role: "status",
|
|
35
35
|
"aria-label": "loading",
|
|
36
|
-
className: o(a.loaderSmall,
|
|
36
|
+
className: o(a.loaderSmall, g(r), t(s)),
|
|
37
37
|
children: [
|
|
38
38
|
/* @__PURE__ */ l("span", { className: o(t(s), a.dot, a.dot1) }),
|
|
39
39
|
/* @__PURE__ */ l("span", { className: o(t(s), a.dot, a.dot2) }),
|
|
@@ -41,8 +41,8 @@ const c = "loaderSmall__0022c2d2", m = "sm__dd0998ce", _ = "dot__352ed08f", S =
|
|
|
41
41
|
]
|
|
42
42
|
}
|
|
43
43
|
);
|
|
44
|
-
|
|
44
|
+
N.displayName = "LoaderSmall";
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
N as LoaderSmall
|
|
47
47
|
};
|
|
48
48
|
//# sourceMappingURL=LoaderSmall.js.map
|
|
@@ -2,24 +2,24 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import { LoaderSmall as m } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
3
3
|
import { ELoaderSmallTheme as s, ELoaderSmallSize as t } from "../Loader/LoaderSmall/enum.js";
|
|
4
4
|
import { LoaderMiddle as n } from "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
5
|
-
import { c as p } from "../../chunks/vendor-
|
|
6
|
-
const B = "
|
|
5
|
+
import { c as p } from "../../chunks/vendor-D-uL_icH.js";
|
|
6
|
+
const B = "loaderWidget__c008143b", k = "loaderSmallBackdrop__07549531", g = "loaderMiddleBackdrop__428ab344", M = "loaderMiddleBackground__0737453d", a = {
|
|
7
7
|
loaderWidget: B,
|
|
8
8
|
loaderSmallBackdrop: k,
|
|
9
9
|
loaderMiddleBackdrop: g,
|
|
10
10
|
loaderMiddleBackground: M
|
|
11
11
|
}, S = ({
|
|
12
12
|
className: o,
|
|
13
|
-
size:
|
|
13
|
+
size: r = t.MD,
|
|
14
14
|
type: l,
|
|
15
|
-
theme:
|
|
15
|
+
theme: e = s.BRAND,
|
|
16
16
|
...c
|
|
17
17
|
}) => {
|
|
18
18
|
const i = p(o, a.loaderWidget, {
|
|
19
19
|
[a.loaderSmallBackdrop]: l === "small",
|
|
20
20
|
[a.loaderMiddleBackdrop]: l === "middle"
|
|
21
21
|
});
|
|
22
|
-
return /* @__PURE__ */ d("div", { className: i, ...c, children: l === "small" ? /* @__PURE__ */ d(m, { size:
|
|
22
|
+
return /* @__PURE__ */ d("div", { className: i, ...c, children: l === "small" ? /* @__PURE__ */ d(m, { size: r, theme: e }) : /* @__PURE__ */ d("div", { className: a.loaderMiddleBackground, children: /* @__PURE__ */ d(n, {}) }) });
|
|
23
23
|
};
|
|
24
24
|
S.displayName = "LoaderWidget";
|
|
25
25
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h } from "react";
|
|
3
|
-
import { c as u } from "../../chunks/vendor-
|
|
3
|
+
import { c as u } from "../../chunks/vendor-D-uL_icH.js";
|
|
4
4
|
import { OverlayBase as k } from "./OverlayBase.js";
|
|
5
5
|
import { OverlayMask as B } from "./OverlayMask.js";
|
|
6
6
|
import { OverlayPanel as M } from "./OverlayPanel.js";
|
|
7
|
-
import { s as r } from "../../chunks/Overlay.module-
|
|
7
|
+
import { s as r } from "../../chunks/Overlay.module-D6LEz1jT.js";
|
|
8
8
|
const s = ({
|
|
9
9
|
children: o,
|
|
10
10
|
className: i,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
|
-
import { c as t } from "../../chunks/vendor-
|
|
4
|
-
import { s as a } from "../../chunks/Overlay.module-
|
|
3
|
+
import { c as t } from "../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
import { s as a } from "../../chunks/Overlay.module-D6LEz1jT.js";
|
|
5
5
|
const f = l.forwardRef(({ className: r, opened: s, ...e }, o) => /* @__PURE__ */ m(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as d } from "../../chunks/vendor-
|
|
3
|
+
import { c as d } from "../../chunks/vendor-D-uL_icH.js";
|
|
4
4
|
import { EOverlayDirection as r } from "./OverlayBase.js";
|
|
5
|
-
import { s as e } from "../../chunks/Overlay.module-
|
|
5
|
+
import { s as e } from "../../chunks/Overlay.module-D6LEz1jT.js";
|
|
6
6
|
const P = n.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: s,
|
package/components/Page/Page.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-D-uL_icH.js";
|
|
4
4
|
import { BodyPage as i } from "./components/BodyPage.js";
|
|
5
5
|
import { HeaderPage as f } from "./components/HeaderPage.js";
|
|
6
6
|
import { FooterPage as p } from "./components/FooterPage.js";
|
|
7
|
-
import { s as d } from "../../chunks/Page.module-
|
|
7
|
+
import { s as d } from "../../chunks/Page.module-Ct9ky9ko.js";
|
|
8
8
|
import "./components/enums.js";
|
|
9
9
|
const g = Object.assign(
|
|
10
10
|
m.forwardRef(function({ children: o, className: r, ...e }, a) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { Body as e } from "../../Body/Body.js";
|
|
4
|
-
import { c as t } from "../../../chunks/vendor-
|
|
5
|
-
import { s as f } from "../../../chunks/Page.module-
|
|
4
|
+
import { c as t } from "../../../chunks/vendor-D-uL_icH.js";
|
|
5
|
+
import { s as f } from "../../../chunks/Page.module-Ct9ky9ko.js";
|
|
6
6
|
const d = s.forwardRef(({ className: o, ...r }, a) => /* @__PURE__ */ m(e, { className: t(f.bodyPage, o), ...r, ref: a }));
|
|
7
7
|
d.displayName = "BodyPage";
|
|
8
8
|
export {
|
|
@@ -2,8 +2,8 @@ import { jsxs as k, jsx as s, Fragment as N } from "react/jsx-runtime";
|
|
|
2
2
|
import S, { useState as p, useRef as P, useEffect as v } from "react";
|
|
3
3
|
import { Footer as n } from "../../Footer/Footer.js";
|
|
4
4
|
import { EFooterPageType as c } from "./enums.js";
|
|
5
|
-
import { s as e } from "../../../chunks/Page.module-
|
|
6
|
-
import { c as D } from "../../../chunks/vendor-
|
|
5
|
+
import { s as e } from "../../../chunks/Page.module-Ct9ky9ko.js";
|
|
6
|
+
import { c as D } from "../../../chunks/vendor-D-uL_icH.js";
|
|
7
7
|
const F = Object.assign(
|
|
8
8
|
S.forwardRef(({ className: u, type: r, ...t }, i) => {
|
|
9
9
|
const [l, g] = p(!1), a = P(null), o = r === c.SECOND && "sticky" in t ? t.sticky : !1;
|
|
@@ -2,8 +2,8 @@ import { jsxs as h, jsx as c, Fragment as S } from "react/jsx-runtime";
|
|
|
2
2
|
import b, { useState as k, useRef as N, useEffect as P } from "react";
|
|
3
3
|
import { Header as e } from "../../Header/Header.js";
|
|
4
4
|
import { EHeaderPageType as o } from "./enums.js";
|
|
5
|
-
import { s as r } from "../../../chunks/Page.module-
|
|
6
|
-
import { c as v } from "../../../chunks/vendor-
|
|
5
|
+
import { s as r } from "../../../chunks/Page.module-Ct9ky9ko.js";
|
|
6
|
+
import { c as v } from "../../../chunks/vendor-D-uL_icH.js";
|
|
7
7
|
const x = Object.assign(
|
|
8
8
|
b.forwardRef(({ className: m, type: a, ...s }, n) => {
|
|
9
9
|
const [f, l] = k(!1), i = N(null), t = a === o.SECOND && "sticky" in s ? s.sticky : !1;
|