@sberbusiness/triplex-next 1.1.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-Dp7FRT9y.js → AlertProcessSpoiler-Caa0745n.js} +10 -10
- package/chunks/Card.module-BRANBAxP.js +17 -0
- package/chunks/{DropdownListItem-y6Rvj_dd.js → DropdownListItem-DIIAnvmw.js} +13 -13
- package/chunks/DropdownMobile.module-BUeZuAYr.js +19 -0
- package/chunks/Footer.module-BFo05t5_.js +11 -0
- package/chunks/{FormFieldInput-apk1b0w6.js → FormFieldInput-rV5ZVe9k.js} +21 -21
- 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-Cn3Vmrsn.js → ListItemControlsButton-Ch-5PQYH.js} +5 -5
- 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-NCwWiX7O.js → TabsExtendedUtils-CkAvE1fA.js} +4 -4
- package/chunks/TooltipDesktop.module-KrPZMfQD.js +19 -0
- package/chunks/{UploadZoneInput-R9729LZY.js → UploadZoneInput-CXjerIVV.js} +7 -7
- package/chunks/utils-bbbspEnw.js +36 -0
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +25 -25
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +37 -37
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +1 -1
- package/components/Card/CardAction.js +25 -25
- 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/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/Col/Col.js +145 -145
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- 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/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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.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 +16 -16
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +8 -8
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +11 -11
- package/components/FormField/components/FormFieldMaskedInput.js +5 -5
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +16 -16
- package/components/FormField/components/FormFieldTextarea.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +11 -11
- 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 +8 -8
- 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/Island/Island.js +16 -16
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Link/Link.js +32 -32
- package/components/List/List.js +5 -5
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- 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 +5 -5
- package/components/List/components/ListItemSelectable.js +11 -11
- 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 +10 -10
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +8 -8
- 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 +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +1 -1
- package/components/Loader/LoaderSmall/LoaderSmall.js +17 -17
- package/components/LoaderWidget/LoaderWidget.js +9 -9
- 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 +2 -2
- 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 +2 -2
- package/components/Radio/RadioXGroup.js +9 -9
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +10 -10
- package/components/SegmentedControl/SegmentedControl.js +20 -20
- package/components/SegmentedControl/SegmentedControlSegment.js +5 -5
- package/components/SelectExtendedField/SelectExtendedField.js +4 -4
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +14 -14
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SwipeableArea/SwipeableArea.js +12 -12
- package/components/TabsExtended/TabsExtended.js +1 -1
- package/components/TabsExtended/TabsExtendedUtils.js +1 -1
- 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/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/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +13 -13
- package/components/Typography/Title.js +18 -18
- package/components/Typography/utils.js +1 -1
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +3 -3
- package/index.js +3 -3
- package/package.json +1 -1
- package/styles/triplex-next.css +354 -354
- package/chunks/Card.module-Ddt7TQ9Z.js +0 -17
- package/chunks/DropdownMobile.module-DrQkghxs.js +0 -19
- package/chunks/Footer.module-CKfl241m.js +0 -11
- package/chunks/HeaderLayoutSidebar.module-DTXnksBK.js +0 -9
- package/chunks/HeaderTabs.module-DVh6MotJ.js +0 -9
- package/chunks/HeaderTitle.module-DOeVL9zC.js +0 -9
- package/chunks/ListItemTail.module-BnbT61OM.js +0 -12
- package/chunks/ListMasterFooter.module-C6QFamKQ.js +0 -10
- package/chunks/Overlay.module-BTSQ5G6t.js +0 -18
- package/chunks/Page.module-DfMBQJob.js +0 -16
- package/chunks/TabsExtended.module-okOlTNQG.js +0 -13
- package/chunks/TooltipDesktop.module-DTbnIWo1.js +0 -19
- package/chunks/utils-B0khB-Lq.js +0 -36
|
@@ -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-D-uL_icH.js";
|
|
4
|
-
const
|
|
5
|
-
islandFooter:
|
|
6
|
-
},
|
|
4
|
+
const d = "islandFooter__4bd1bb46", l = {
|
|
5
|
+
islandFooter: d
|
|
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-D-uL_icH.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "islandHeader__0d3b9afa", l = {
|
|
5
5
|
islandHeader: t
|
|
6
|
-
},
|
|
6
|
+
}, f = d.forwardRef(({ children: a, ...e }, r) => /* @__PURE__ */ s("div", { className: o(l.islandHeader), ref: r, ...e, children: a }));
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
f as IslandHeader
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=IslandHeader.js.map
|
package/components/Link/Link.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { jsx as R, jsxs as
|
|
1
|
+
import { jsx as R, jsxs as t, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import L from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
const v = "
|
|
3
|
+
import { c as a } from "../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
const v = "link__c8803354", F = "wordWithContent__89d8855c", S = "before__9da7c18b", T = "after__34db8420", 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:
|
|
11
|
-
const c = () => o ? /* @__PURE__ */
|
|
10
|
+
({ children: i, className: N, onBlur: p, onMouseDown: C, contentAfter: s, contentBefore: o, ..._ }, f) => {
|
|
11
|
+
const c = () => o ? /* @__PURE__ */ t(d, { children: [
|
|
12
12
|
"",
|
|
13
13
|
o()
|
|
14
14
|
] }) : null, m = () => s ? s() : null, u = (n) => {
|
|
15
|
-
const
|
|
16
|
-
if (
|
|
17
|
-
const y =
|
|
18
|
-
[
|
|
19
|
-
[
|
|
15
|
+
const r = n.split(" ");
|
|
16
|
+
if (r.length < 2 || r.length < 3 && o && s) {
|
|
17
|
+
const y = a(e.wordWithContent, {
|
|
18
|
+
[e.after]: !!s,
|
|
19
|
+
[e.before]: !!o
|
|
20
20
|
});
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ t("span", { className: y, children: [
|
|
22
22
|
c(),
|
|
23
23
|
n,
|
|
24
24
|
m()
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
const
|
|
28
|
-
[
|
|
29
|
-
}), g = o ? /* @__PURE__ */
|
|
27
|
+
const l = r[0], h = r[r.length - 1], w = r.slice(1, -1).join(" "), k = a(e.wordWithContent, {
|
|
28
|
+
[e.before]: !!o
|
|
29
|
+
}), g = o ? /* @__PURE__ */ t("span", { className: k, children: [
|
|
30
30
|
c(),
|
|
31
|
-
|
|
32
|
-
] }) :
|
|
33
|
-
[
|
|
34
|
-
}), j = s ? /* @__PURE__ */
|
|
31
|
+
l
|
|
32
|
+
] }) : l, x = a(e.wordWithContent, {
|
|
33
|
+
[e.after]: !!s
|
|
34
|
+
}), j = s ? /* @__PURE__ */ t("span", { className: x, children: [
|
|
35
35
|
h,
|
|
36
36
|
m()
|
|
37
37
|
] }) : h;
|
|
38
|
-
return /* @__PURE__ */
|
|
38
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
39
39
|
g,
|
|
40
40
|
" ",
|
|
41
|
-
|
|
41
|
+
w,
|
|
42
42
|
" ",
|
|
43
43
|
j
|
|
44
44
|
] });
|
|
45
45
|
}, W = (n) => {
|
|
46
|
-
const
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
|
|
46
|
+
const r = o ? o() : null, l = s ? s() : null;
|
|
47
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
48
|
+
r,
|
|
49
49
|
n,
|
|
50
|
-
|
|
50
|
+
l
|
|
51
51
|
] });
|
|
52
|
-
},
|
|
52
|
+
}, b = o || s ? ((n) => typeof n == "string" ? u(n) : W(n))(i) : i;
|
|
53
53
|
return /* @__PURE__ */ R(
|
|
54
54
|
"a",
|
|
55
55
|
{
|
|
56
56
|
role: "link",
|
|
57
|
-
...
|
|
58
|
-
className:
|
|
59
|
-
onBlur:
|
|
60
|
-
onMouseDown:
|
|
61
|
-
"data-tx": "1.1.
|
|
62
|
-
ref:
|
|
63
|
-
children:
|
|
57
|
+
..._,
|
|
58
|
+
className: a(N, e.link, "hoverable"),
|
|
59
|
+
onBlur: p,
|
|
60
|
+
onMouseDown: C,
|
|
61
|
+
"data-tx": "1.1.1",
|
|
62
|
+
ref: f,
|
|
63
|
+
children: b
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
package/components/List/List.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as o } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { c } from "../../chunks/vendor-D-uL_icH.js";
|
|
4
|
-
const e = "
|
|
4
|
+
const e = "list__b2ddb4a3", m = {
|
|
5
5
|
list: e
|
|
6
|
-
},
|
|
6
|
+
}, d = r.forwardRef(({ children: s, className: t, loading: l, ...a }, i) => /* @__PURE__ */ o(
|
|
7
7
|
"ul",
|
|
8
8
|
{
|
|
9
9
|
className: c(m.list, t),
|
|
10
10
|
...a,
|
|
11
|
-
"data-tx": "1.1.
|
|
11
|
+
"data-tx": "1.1.1",
|
|
12
12
|
ref: i,
|
|
13
13
|
children: [
|
|
14
14
|
s,
|
|
@@ -16,8 +16,8 @@ const e = "list__1519f7a4", m = {
|
|
|
16
16
|
]
|
|
17
17
|
}
|
|
18
18
|
));
|
|
19
|
-
|
|
19
|
+
d.displayName = "List";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
d as List
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=List.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
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-D-uL_icH.js";
|
|
4
|
-
const p = "
|
|
4
|
+
const p = "listEmptyState__f7a08906", l = {
|
|
5
5
|
listEmptyState: p
|
|
6
|
-
},
|
|
7
|
-
({ children: t, className: s, ...m }, a) => /* @__PURE__ */ e("div", { className: o(
|
|
6
|
+
}, r = i.forwardRef(
|
|
7
|
+
({ children: t, className: s, ...m }, a) => /* @__PURE__ */ e("div", { className: o(l.listEmptyState, s), ...m, ref: a, children: t })
|
|
8
8
|
);
|
|
9
|
-
|
|
9
|
+
r.displayName = "ListItemEmpty";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
r as ListEmptyState
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=ListEmptyState.js.map
|
|
@@ -2,10 +2,10 @@ import { jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import l, { useContext as i } from "react";
|
|
3
3
|
import { c as r } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
4
|
import { ListItemContext as a } from "./ListItemContext.js";
|
|
5
|
-
const d = "
|
|
5
|
+
const d = "listItemContent__bc6a5e15", C = "selected__a7373903", t = {
|
|
6
6
|
listItemContent: d,
|
|
7
|
-
selected:
|
|
8
|
-
},
|
|
7
|
+
selected: C
|
|
8
|
+
}, f = l.forwardRef(
|
|
9
9
|
({ children: e, className: s, ...o }, n) => {
|
|
10
10
|
const { selected: m } = i(a);
|
|
11
11
|
return /* @__PURE__ */ c(
|
|
@@ -13,15 +13,15 @@ const d = "listItemContent__1f27a445", f = "selected__37e09951", t = {
|
|
|
13
13
|
{
|
|
14
14
|
className: r(t.listItemContent, { [t.selected]: m }, s),
|
|
15
15
|
...o,
|
|
16
|
-
"data-tx": "1.1.
|
|
16
|
+
"data-tx": "1.1.1",
|
|
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
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import r from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
-
const i = "
|
|
4
|
+
const i = "listItemControls__5d2aeea4", a = {
|
|
5
5
|
listItemControls: i
|
|
6
|
-
},
|
|
7
|
-
({ children: t, className: o, ...s },
|
|
6
|
+
}, n = r.forwardRef(
|
|
7
|
+
({ children: t, className: o, ...s }, e) => /* @__PURE__ */ l("div", { className: m(a.listItemControls, o), ...s, ref: e, 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
3
|
import "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
-
import { L as e } from "../../../chunks/ListItemControlsButton-
|
|
4
|
+
import { L as e } from "../../../chunks/ListItemControlsButton-Ch-5PQYH.js";
|
|
5
5
|
import "../../Typography/enums.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
export {
|
|
@@ -16,7 +16,7 @@ import "../../Dropdown/mobile/DropdownMobileInput.js";
|
|
|
16
16
|
import { DropdownMobileList as F } from "../../Dropdown/mobile/DropdownMobileList.js";
|
|
17
17
|
import { DropdownMobileListItem as H } from "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
18
18
|
import { DropdownList as h } from "../../Dropdown/desktop/DropdownList.js";
|
|
19
|
-
import { s as y, L as V } from "../../../chunks/ListItemControlsButton-
|
|
19
|
+
import { s as y, L as V } from "../../../chunks/ListItemControlsButton-Ch-5PQYH.js";
|
|
20
20
|
const G = P.forwardRef(
|
|
21
21
|
(C, l) => {
|
|
22
22
|
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,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,37 +1,37 @@
|
|
|
1
|
-
import { jsxs as n, jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as p, useEffect as m } from "react";
|
|
3
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:
|
|
15
|
+
const { setSelected: a } = p(_), i = (h) => {
|
|
16
16
|
s(h.target.checked);
|
|
17
17
|
};
|
|
18
|
-
return
|
|
19
|
-
|
|
20
|
-
}, [c,
|
|
18
|
+
return m(() => {
|
|
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 p } 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
9
|
import { c as y } from "../../../chunks/vendor-D-uL_icH.js";
|
|
10
|
-
const C = "
|
|
10
|
+
const C = "listItemTable__c4302c6b", _ = {
|
|
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 c = 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__ */ p(
|
|
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
3
|
import { c as o } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
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
3
|
import { c as o } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
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,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { s as u, C as I, c as _ } from "../../../chunks/vendor-D-uL_icH.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__5c8a32f8", N = "dragging__0bcce740", i = {
|
|
7
7
|
listSortableItem: R,
|
|
8
8
|
dragging: N
|
|
9
9
|
}, x = Object.assign(
|
|
@@ -15,16 +15,16 @@ const R = "listSortableItem__3690a76a", N = "dragging__029d24be", i = {
|
|
|
15
15
|
duration: 300,
|
|
16
16
|
easing: "ease-out"
|
|
17
17
|
}
|
|
18
|
-
}),
|
|
18
|
+
}), b = (o) => {
|
|
19
19
|
c(o), typeof t == "function" ? t(o) : t && (t.current = o);
|
|
20
20
|
};
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ d(
|
|
22
22
|
y,
|
|
23
23
|
{
|
|
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:
|
|
27
|
+
ref: b,
|
|
28
28
|
children: typeof e == "function" ? e({ disabled: r, dragging: a, listeners: f, setActivatorNodeRef: S }) : e
|
|
29
29
|
}
|
|
30
30
|
);
|
|
@@ -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-D-uL_icH.js";
|
|
4
|
-
const a = "
|
|
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
|
|
5
|
-
const
|
|
6
|
-
listSortableItemTarget:
|
|
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
|
+
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:
|
|
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
|
@@ -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-Ch-5PQYH.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.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,18 +1,18 @@
|
|
|
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
|
-
},
|
|
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";
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
l as ListMasterChipGroup
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=ListMasterChipGroup.js.map
|
|
@@ -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-D-uL_icH.js";
|
|
4
|
-
import { s as t } from "../../../chunks/ListMasterFooter.module-
|
|
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
3
|
import { c as m } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
-
import { s as i } from "../../../chunks/ListMasterFooter.module-
|
|
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
3
|
import { c as a } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
-
import { s as m } from "../../../chunks/ListMasterFooter.module-
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import f, { useRef as o, useEffect as m } from "react";
|
|
3
3
|
import { c as w } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
-
const p = "
|
|
4
|
+
const p = "listMasterHeader__f696d997", y = "sticky__10bd904d", c = {
|
|
5
5
|
listMasterHeader: p,
|
|
6
6
|
sticky: y
|
|
7
7
|
}, H = f.forwardRef(
|
|
@@ -13,10 +13,10 @@ const p = "listMasterHeader__46999099", y = "sticky__23534040", c = {
|
|
|
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(
|
|
@@ -27,7 +27,7 @@ const p = "listMasterHeader__46999099", y = "sticky__23534040", c = {
|
|
|
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
3
|
import { c as r } from "../../../chunks/vendor-D-uL_icH.js";
|
|
4
|
-
const c = "
|
|
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__1a46756e", a = {
|
|
|
9
9
|
{
|
|
10
10
|
className: r(a.selectionControls, t),
|
|
11
11
|
...s,
|
|
12
|
-
"data-tx": "1.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
2
|
import { c as t } from "../../../chunks/vendor-D-uL_icH.js";
|
|
3
|
-
const a = "
|
|
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,
|