@sberbusiness/triplex-next 0.1.5 → 0.1.6
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-Dz7CKApv.js → AlertProcessSpoiler-BuN7zhGO.js} +14 -14
- package/chunks/Card.module-ByP22Mc4.js +17 -0
- package/chunks/{DropdownListItem-CwqothNf.js → DropdownListItem-CM0DOekv.js} +13 -13
- package/chunks/DropdownMobile.module-gjHocEKh.js +19 -0
- package/chunks/Footer.module-B1rO0bcd.js +11 -0
- package/chunks/{FormFieldInput-Cmc0beZ5.js → FormFieldInput-3TmHcNY0.js} +18 -18
- package/chunks/HeaderLayoutSidebar.module-CEXHjsmH.js +9 -0
- package/chunks/HeaderTabs.module-YFm2izz6.js +9 -0
- package/chunks/HeaderTitle.module-lv649tnz.js +9 -0
- package/chunks/{ListItemControlsButton-Bn_onrHQ.js → ListItemControlsButton-BpUzyKya.js} +7 -7
- package/chunks/ListItemTail.module-D7Oa-l-5.js +12 -0
- package/chunks/ListMasterFooter.module-1LjIdZNa.js +10 -0
- package/chunks/Overlay.module-BbpDNlm7.js +18 -0
- package/chunks/Page.module-DAinpecX.js +16 -0
- package/chunks/TabsExtended.module-CQBdl7x1.js +13 -0
- package/chunks/{TabsExtendedUtils-CZCrojKY.js → TabsExtendedUtils-BT4b2wK1.js} +2 -2
- package/chunks/TooltipDesktop.module-BRkBuup-.js +19 -0
- package/chunks/{index-1QUfI5kD.js → index-CLQ4mLUp.js} +168 -168
- package/chunks/utils-VD40Qwop.js +36 -0
- package/components/Alert/AlertContext/AlertContext.js +21 -21
- package/components/Alert/AlertProcess/AlertProcess.js +26 -26
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +1 -1
- package/components/Button/ButtonBase.js +3 -3
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +2 -2
- package/components/Button/index.js +1 -1
- package/components/Card/CardAction.js +24 -24
- package/components/Card/CardStatic.js +17 -17
- 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 +11 -11
- package/components/Checkbox/CheckboxXGroup.js +10 -10
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- package/components/Col/Col.js +136 -136
- package/components/DesignTokens/DesignTokenUtils.js +34 -34
- package/components/Dropdown/Dropdown.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +2 -2
- package/components/Dropdown/desktop/DropdownList.js +4 -4
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/index.js +2 -2
- package/components/Dropdown/mobile/DropdownMobile.js +8 -8
- 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 +13 -13
- 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 +26 -26
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +12 -12
- package/components/FormField/components/FormFieldMaskedInput.js +4 -4
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- package/components/FormField/index.js +2 -2
- package/components/Header/Header.js +14 -14
- 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/Link/Link.js +36 -36
- package/components/List/List.js +12 -12
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +10 -10
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +5 -5
- package/components/List/components/ListItemSelectable.js +8 -8
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +9 -9
- package/components/List/index.js +2 -2
- package/components/ListMaster/ListMaster.js +8 -8
- package/components/ListMaster/components/ListMasterBody.js +9 -9
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- 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 +10 -10
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +6 -6
- package/components/Loader/LoaderSmall/LoaderSmall.js +18 -18
- package/components/LoaderWidget/LoaderWidget.js +4 -4
- 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 +14 -14
- 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 +1 -1
- package/components/Pagination/components/PaginationSelect.js +12 -12
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +7 -7
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +9 -9
- package/components/SegmentedControl/SegmentedControl.js +1 -1
- package/components/SegmentedControl/SegmentedControlSegment.js +1 -1
- package/components/SegmentedControl/index.js +1 -1
- package/components/Skeleton/Skeleton.js +12 -12
- package/components/SwipeableArea/SwipeableArea.js +19 -19
- 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/MaskedField.js +4 -4
- package/components/TextField/TextField.js +4 -4
- package/components/TextField/TextFieldBase.js +4 -4
- package/components/TextField/index.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +18 -18
- 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 +8 -8
- package/components/Typography/Caption.js +9 -9
- package/components/Typography/Text.js +7 -7
- package/components/Typography/Title.js +15 -15
- package/components/Typography/utils.js +1 -1
- package/components/UploadZone/components/UploadZoneInput.js +37 -37
- package/components/index.js +4 -4
- package/index.js +4 -4
- package/package.json +1 -1
- package/styles/triplex-next.css +333 -333
- package/chunks/Card.module-BVAy3tJd.js +0 -17
- package/chunks/DropdownMobile.module-zLTfuu5W.js +0 -19
- package/chunks/Footer.module-C8ediOIN.js +0 -11
- package/chunks/HeaderLayoutSidebar.module-DUesMumi.js +0 -9
- package/chunks/HeaderTabs.module-B8b_Vmmv.js +0 -9
- package/chunks/HeaderTitle.module-CS0vKAYw.js +0 -9
- package/chunks/ListItemTail.module-8r8-WRy-.js +0 -12
- package/chunks/ListMasterFooter.module-Bylyf04G.js +0 -10
- package/chunks/Overlay.module-BfeGcilV.js +0 -18
- package/chunks/Page.module-DI3KI2pW.js +0 -16
- package/chunks/TabsExtended.module-De1gs7fV.js +0 -13
- package/chunks/TooltipDesktop.module-0Me4J_t3.js +0 -19
- package/chunks/utils-DUlFnyF3.js +0 -36
package/components/Link/Link.js
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as R, jsxs as t, Fragment as d } from "react/jsx-runtime";
|
|
2
|
+
import L from "react";
|
|
3
3
|
import { c as l } from "../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
const
|
|
5
|
-
link:
|
|
4
|
+
const v = "link__e78ca308", F = "wordWithContent__8c83deb4", S = "before__11ca27fc", T = "after__ba0bd28f", e = {
|
|
5
|
+
link: v,
|
|
6
6
|
wordWithContent: F,
|
|
7
7
|
before: S,
|
|
8
8
|
after: T
|
|
9
|
-
}, q =
|
|
10
|
-
({ children:
|
|
11
|
-
const c = () =>
|
|
9
|
+
}, q = L.forwardRef(
|
|
10
|
+
({ children: i, className: N, onBlur: f, onMouseDown: p, contentAfter: s, contentBefore: o, ...C }, _) => {
|
|
11
|
+
const c = () => o ? /* @__PURE__ */ t(d, { children: [
|
|
12
12
|
"",
|
|
13
|
-
|
|
14
|
-
] }) : null, m = () => s ? s() : null,
|
|
15
|
-
const
|
|
16
|
-
if (
|
|
17
|
-
const
|
|
18
|
-
[
|
|
19
|
-
[
|
|
13
|
+
o()
|
|
14
|
+
] }) : null, m = () => s ? s() : null, b = (n) => {
|
|
15
|
+
const r = n.split(" ");
|
|
16
|
+
if (r.length < 2 || r.length < 3 && o && s) {
|
|
17
|
+
const y = l(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 =
|
|
27
|
+
const a = r[0], h = r[r.length - 1], w = r.slice(1, -1).join(" "), k = l(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
|
+
a
|
|
32
|
+
] }) : a, x = l(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
|
}, u = (n) => {
|
|
46
|
-
const
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
|
|
46
|
+
const r = o ? o() : null, a = s ? s() : null;
|
|
47
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
48
|
+
r,
|
|
49
49
|
n,
|
|
50
|
-
|
|
50
|
+
a
|
|
51
51
|
] });
|
|
52
|
-
}, W =
|
|
53
|
-
return /* @__PURE__ */
|
|
52
|
+
}, W = o || s ? ((n) => typeof n == "string" ? b(n) : u(n))(i) : i;
|
|
53
|
+
return /* @__PURE__ */ R(
|
|
54
54
|
"a",
|
|
55
55
|
{
|
|
56
56
|
role: "link",
|
|
57
|
-
...
|
|
58
|
-
className: l(
|
|
59
|
-
onBlur:
|
|
60
|
-
onMouseDown:
|
|
61
|
-
"data-tx":
|
|
62
|
-
ref:
|
|
57
|
+
...C,
|
|
58
|
+
className: l(N, e.link, "hoverable"),
|
|
59
|
+
onBlur: f,
|
|
60
|
+
onMouseDown: p,
|
|
61
|
+
"data-tx": "0.1.6",
|
|
62
|
+
ref: _,
|
|
63
63
|
children: W
|
|
64
64
|
}
|
|
65
65
|
);
|
package/components/List/List.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { c
|
|
4
|
-
const
|
|
5
|
-
list:
|
|
6
|
-
},
|
|
1
|
+
import { jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import r from "react";
|
|
3
|
+
import { c } from "../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const e = "list__58536c7e", m = {
|
|
5
|
+
list: e
|
|
6
|
+
}, f = r.forwardRef(({ children: s, className: t, loading: l, ...i }, o) => /* @__PURE__ */ a(
|
|
7
7
|
"ul",
|
|
8
8
|
{
|
|
9
|
-
className:
|
|
10
|
-
...
|
|
11
|
-
"data-tx":
|
|
12
|
-
ref:
|
|
9
|
+
className: c(m.list, t),
|
|
10
|
+
...i,
|
|
11
|
+
"data-tx": "0.1.6",
|
|
12
|
+
ref: o,
|
|
13
13
|
children: [
|
|
14
14
|
s,
|
|
15
15
|
l ? "Загрузка..." : null
|
|
16
16
|
]
|
|
17
17
|
}
|
|
18
18
|
));
|
|
19
|
-
|
|
19
|
+
f.displayName = "List";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
f as List
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=List.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as o } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
const p = "
|
|
4
|
+
const p = "listEmptyState__765e8027", l = {
|
|
5
5
|
listEmptyState: p
|
|
6
6
|
}, r = i.forwardRef(
|
|
7
|
-
({ children: t, className: s, ...m },
|
|
7
|
+
({ children: t, className: s, ...m }, e) => /* @__PURE__ */ a("div", { className: o(l.listEmptyState, s), ...m, ref: e, children: t })
|
|
8
8
|
);
|
|
9
9
|
r.displayName = "ListItemEmpty";
|
|
10
10
|
export {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import m, { useState as
|
|
3
|
-
import { ListItemContext as
|
|
4
|
-
const
|
|
5
|
-
const [a, i] =
|
|
6
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import m, { useState as d } from "react";
|
|
3
|
+
import { ListItemContext as l } from "./ListItemContext.js";
|
|
4
|
+
const f = m.forwardRef(({ children: e, className: r, ...o }, s) => {
|
|
5
|
+
const [a, i] = d(!1);
|
|
6
|
+
return /* @__PURE__ */ t(l.Provider, { value: { selected: a, setSelected: i }, children: /* @__PURE__ */ t(
|
|
7
7
|
"li",
|
|
8
8
|
{
|
|
9
9
|
className: r,
|
|
10
10
|
...o,
|
|
11
|
-
"data-tx":
|
|
11
|
+
"data-tx": "0.1.6",
|
|
12
12
|
ref: s,
|
|
13
|
-
children:
|
|
13
|
+
children: e
|
|
14
14
|
}
|
|
15
15
|
) });
|
|
16
16
|
});
|
|
17
|
-
|
|
17
|
+
f.displayName = "ListItem";
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
f as ListItem
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=ListItem.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import l, { useContext as i } from "react";
|
|
3
|
+
import { c as r } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
4
|
import { ListItemContext as a } from "./ListItemContext.js";
|
|
5
|
-
const d = "
|
|
5
|
+
const d = "listItemContent__4cc5471a", f = "selected__5fcd7b59", t = {
|
|
6
6
|
listItemContent: d,
|
|
7
|
-
selected:
|
|
8
|
-
}, C =
|
|
7
|
+
selected: f
|
|
8
|
+
}, C = l.forwardRef(
|
|
9
9
|
({ children: e, className: s, ...o }, n) => {
|
|
10
|
-
const { selected:
|
|
11
|
-
return /* @__PURE__ */
|
|
10
|
+
const { selected: c } = i(a);
|
|
11
|
+
return /* @__PURE__ */ m(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: r(t.listItemContent, { [t.selected]: c }, s),
|
|
15
15
|
...o,
|
|
16
|
-
"data-tx":
|
|
16
|
+
"data-tx": "0.1.6",
|
|
17
17
|
ref: n,
|
|
18
18
|
children: e
|
|
19
19
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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-CF2m175I.js";
|
|
4
|
+
const i = "listItemControls__2e6926f6", n = {
|
|
5
5
|
listItemControls: i
|
|
6
|
-
}, a =
|
|
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 {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
import { L as e } from "../../../chunks/ListItemControlsButton-
|
|
4
|
+
import { L as e } from "../../../chunks/ListItemControlsButton-BpUzyKya.js";
|
|
5
5
|
import "../../Typography/enums.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
export {
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../../chunks/vendor-CF2m175I.js";
|
|
4
4
|
import "../../Typography/enums.js";
|
|
5
5
|
import "../../Typography/Text.js";
|
|
6
|
-
import { L as D } from "../../../chunks/index-
|
|
6
|
+
import { L as D } from "../../../chunks/index-CLQ4mLUp.js";
|
|
7
7
|
import "../../../utils/keyboard.js";
|
|
8
8
|
import "../../Dropdown/DropdownListContext.js";
|
|
9
9
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
@@ -15,7 +15,7 @@ import "../../Dropdown/mobile/DropdownMobileInner.js";
|
|
|
15
15
|
import "../../Dropdown/mobile/DropdownMobileInput.js";
|
|
16
16
|
import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
17
17
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
18
|
-
import "../../../chunks/ListItemControlsButton-
|
|
18
|
+
import "../../../chunks/ListItemControlsButton-BpUzyKya.js";
|
|
19
19
|
export {
|
|
20
20
|
D as ListItemControlsButtonDropdown
|
|
21
21
|
};
|
|
@@ -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 a from "react";
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const m = "listItemLoading__430b72a9", d = {
|
|
5
5
|
listItemLoading: m
|
|
6
|
-
}, l =
|
|
7
|
-
({ className: t, ...i }, o) => /* @__PURE__ */ s("div", { className:
|
|
6
|
+
}, l = a.forwardRef(
|
|
7
|
+
({ className: t, ...i }, o) => /* @__PURE__ */ s("div", { className: e(d.listItemLoading, t), ...i, ref: o, children: "Лоадер" })
|
|
8
8
|
);
|
|
9
9
|
l.displayName = "ListItemLoading";
|
|
10
10
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
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-CF2m175I.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__106186b9", L = "selected__5fcd7b59", C = "checkboxWrapper__ad58341a", W = "childrenWrapper__7203d921", I = "checkboxLabel__240ac95b", S = "checkboxLabelClickArea__8b527668", e = {
|
|
7
7
|
listItemSelectable: f,
|
|
8
8
|
selected: L,
|
|
9
9
|
checkboxWrapper: C,
|
|
@@ -12,26 +12,26 @@ const f = "listItemSelectable__08a20734", L = "selected__66a85052", 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
|
]
|
|
@@ -6,8 +6,8 @@ import "../ListSortable.js";
|
|
|
6
6
|
import "./ListItem.js";
|
|
7
7
|
import "./ListItemControls.js";
|
|
8
8
|
import "./ListItemContent.js";
|
|
9
|
-
import "../../../chunks/ListItemControlsButton-
|
|
10
|
-
import { f as h } from "../../../chunks/index-
|
|
9
|
+
import "../../../chunks/ListItemControlsButton-BpUzyKya.js";
|
|
10
|
+
import { f as h } from "../../../chunks/index-CLQ4mLUp.js";
|
|
11
11
|
import "./ListEmptyState.js";
|
|
12
12
|
import "./ListItemLoading.js";
|
|
13
13
|
import "./ListItemSelectable.js";
|
|
@@ -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-CF2m175I.js";
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-D7Oa-l-5.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-CF2m175I.js";
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-D7Oa-l-5.js";
|
|
5
5
|
const r = e.forwardRef(
|
|
6
6
|
({ className: a, ...i }, l) => /* @__PURE__ */ m(
|
|
7
7
|
"span",
|
|
@@ -6,8 +6,8 @@ import "../ListSortable.js";
|
|
|
6
6
|
import "./ListItem.js";
|
|
7
7
|
import "./ListItemControls.js";
|
|
8
8
|
import "./ListItemContent.js";
|
|
9
|
-
import "../../../chunks/ListItemControlsButton-
|
|
10
|
-
import { g as d } from "../../../chunks/index-
|
|
9
|
+
import "../../../chunks/ListItemControlsButton-BpUzyKya.js";
|
|
10
|
+
import { g as d } from "../../../chunks/index-CLQ4mLUp.js";
|
|
11
11
|
import "./ListEmptyState.js";
|
|
12
12
|
import "./ListItemLoading.js";
|
|
13
13
|
import "./ListItemSelectable.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const a = "
|
|
2
|
+
import l from "react";
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const a = "listSortableItemControls__55207bc6", m = {
|
|
5
5
|
listSortableItemControls: a
|
|
6
|
-
}, i =
|
|
6
|
+
}, i = l.forwardRef(
|
|
7
7
|
({ className: t, ...o }, r) => /* @__PURE__ */ s(
|
|
8
8
|
"div",
|
|
9
9
|
{
|
|
10
|
-
className:
|
|
10
|
+
className: e(m.listSortableItemControls, t),
|
|
11
11
|
"data-draggable": "false",
|
|
12
12
|
...o,
|
|
13
13
|
ref: r
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { DragdotsStrokeSrvIcon24 as n } from "@sberbusiness/icons-next";
|
|
4
|
-
import { c
|
|
5
|
-
const
|
|
6
|
-
listSortableItemTarget:
|
|
4
|
+
import { c } from "../../../chunks/vendor-CF2m175I.js";
|
|
5
|
+
const I = "listSortableItemTarget__2cae60e5", b = "dragging__e893fe3f", S = "listSortableItemTargetContent__12429bfd", T = "listSortableItemTargetIcon__c4451f65", t = {
|
|
6
|
+
listSortableItemTarget: I,
|
|
7
7
|
dragging: b,
|
|
8
|
-
listSortableItemTargetContent:
|
|
9
|
-
listSortableItemTargetIcon:
|
|
10
|
-
},
|
|
8
|
+
listSortableItemTargetContent: S,
|
|
9
|
+
listSortableItemTargetIcon: T
|
|
10
|
+
}, d = m.forwardRef(
|
|
11
11
|
({ children: a, className: r, disabled: o, dragging: l, ...s }, g) => /* @__PURE__ */ i(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: c(t.listSortableItemTarget, { [t.dragging]: l }, "hoverable", r),
|
|
15
15
|
...s,
|
|
16
16
|
ref: g,
|
|
17
17
|
children: [
|
|
@@ -21,8 +21,8 @@ const c = "listSortableItemTarget__a75bbd9d", b = "dragging__0dd5f38b", d = "lis
|
|
|
21
21
|
}
|
|
22
22
|
)
|
|
23
23
|
);
|
|
24
|
-
|
|
24
|
+
d.displayName = "ListSortableItemTarget";
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
d as ListSortableItemTarget
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=ListSortableItemTarget.js.map
|
package/components/List/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import { AdvancedMouseSensor as m, AdvancedTouchSensor as s, ListSortable as i }
|
|
|
3
3
|
import { ListItem as a } from "./components/ListItem.js";
|
|
4
4
|
import { ListItemControls as p } from "./components/ListItemControls.js";
|
|
5
5
|
import { ListItemContent as x } from "./components/ListItemContent.js";
|
|
6
|
-
import { L as I } from "../../chunks/ListItemControlsButton-
|
|
7
|
-
import { L as b, f as d, g as C } from "../../chunks/index-
|
|
6
|
+
import { L as I } from "../../chunks/ListItemControlsButton-BpUzyKya.js";
|
|
7
|
+
import { L as b, f as d, g as C } from "../../chunks/index-CLQ4mLUp.js";
|
|
8
8
|
import { ListEmptyState as c } from "./components/ListEmptyState.js";
|
|
9
9
|
import { ListItemLoading as u } from "./components/ListItemLoading.js";
|
|
10
10
|
import { ListItemSelectable as v } from "./components/ListItemSelectable.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { ListMasterChipGroup as
|
|
3
|
-
import { ListMasterBody as
|
|
4
|
-
import { ListMasterFooter as
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { ListMasterChipGroup as s } from "./components/ListMasterChipGroup.js";
|
|
3
|
+
import { ListMasterBody as m } from "./components/ListMasterBody.js";
|
|
4
|
+
import { ListMasterFooter as p } from "./components/ListMasterFooter.js";
|
|
5
5
|
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:
|
|
10
|
-
o.Body =
|
|
11
|
-
o.ChipGroup =
|
|
12
|
-
o.Footer =
|
|
9
|
+
const o = ({ children: t, className: r, ...e }) => /* @__PURE__ */ i("div", { className: r, ...e, "data-tx": "0.1.6", children: t });
|
|
10
|
+
o.Body = m;
|
|
11
|
+
o.ChipGroup = s;
|
|
12
|
+
o.Footer = p;
|
|
13
13
|
o.FooterControls = f;
|
|
14
14
|
o.FooterDescription = L;
|
|
15
15
|
o.Header = a;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
({ children: t, className: a, ...
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
const s = e.forwardRef(
|
|
4
|
+
({ children: t, className: a, ...o }, r) => /* @__PURE__ */ d(
|
|
5
5
|
"div",
|
|
6
6
|
{
|
|
7
7
|
className: a,
|
|
8
|
-
...
|
|
9
|
-
"data-tx":
|
|
10
|
-
ref:
|
|
8
|
+
...o,
|
|
9
|
+
"data-tx": "0.1.6",
|
|
10
|
+
ref: r,
|
|
11
11
|
children: t
|
|
12
12
|
}
|
|
13
13
|
)
|
|
14
14
|
);
|
|
15
|
-
|
|
15
|
+
s.displayName = "ListMasterBody";
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
s as ListMasterBody
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=ListMasterBody.js.map
|
|
@@ -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-CF2m175I.js";
|
|
4
|
+
const e = "listMasterChipGroup__9aa09407", l = {
|
|
5
5
|
listMasterChipGroup: e
|
|
6
|
-
}, m =
|
|
6
|
+
}, m = 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(l.listMasterChipGroup, t), ref: i, ...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-CF2m175I.js";
|
|
4
|
-
import { s as t } from "../../../chunks/ListMasterFooter.module-
|
|
4
|
+
import { s as t } from "../../../chunks/ListMasterFooter.module-1LjIdZNa.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-CF2m175I.js";
|
|
4
|
-
import { s as i } from "../../../chunks/ListMasterFooter.module-
|
|
4
|
+
import { s as i } from "../../../chunks/ListMasterFooter.module-1LjIdZNa.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-CF2m175I.js";
|
|
4
|
-
import { s as m } from "../../../chunks/ListMasterFooter.module-
|
|
4
|
+
import { s as m } from "../../../chunks/ListMasterFooter.module-1LjIdZNa.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 d } 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-CF2m175I.js";
|
|
4
|
-
const p = "
|
|
4
|
+
const p = "listMasterHeader__225a7e7b", y = "sticky__b9469865", c = {
|
|
5
5
|
listMasterHeader: p,
|
|
6
6
|
sticky: y
|
|
7
7
|
}, H = f.forwardRef(
|
|
@@ -13,10 +13,10 @@ const p = "listMasterHeader__1b6ca195", y = "sticky__dd82151f", c = {
|
|
|
13
13
|
window.scrollTo({ top: Math.max(window.scrollY - r.current, 0) });
|
|
14
14
|
};
|
|
15
15
|
}, []);
|
|
16
|
-
const
|
|
16
|
+
const u = (s) => {
|
|
17
17
|
e.current = s, typeof t == "function" ? t(s) : t && (t.current = s);
|
|
18
18
|
};
|
|
19
|
-
return /* @__PURE__ */
|
|
19
|
+
return /* @__PURE__ */ d(
|
|
20
20
|
"div",
|
|
21
21
|
{
|
|
22
22
|
className: w(
|
|
@@ -27,7 +27,7 @@ const p = "listMasterHeader__1b6ca195", y = "sticky__dd82151f", c = {
|
|
|
27
27
|
n
|
|
28
28
|
),
|
|
29
29
|
...l,
|
|
30
|
-
ref:
|
|
30
|
+
ref: u,
|
|
31
31
|
children: i
|
|
32
32
|
}
|
|
33
33
|
);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import n from "react";
|
|
3
3
|
import { c as r } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
const c = "
|
|
4
|
+
const c = "selectionControls__ffffe3dc", i = {
|
|
5
5
|
selectionControls: c
|
|
6
|
-
},
|
|
7
|
-
({ children: o, className:
|
|
6
|
+
}, a = n.forwardRef(
|
|
7
|
+
({ children: o, className: t, ...s }, e) => /* @__PURE__ */ l(
|
|
8
8
|
"div",
|
|
9
9
|
{
|
|
10
|
-
className: r(
|
|
11
|
-
...
|
|
12
|
-
"data-tx":
|
|
10
|
+
className: r(i.selectionControls, t),
|
|
11
|
+
...s,
|
|
12
|
+
"data-tx": "0.1.6",
|
|
13
13
|
ref: e,
|
|
14
14
|
children: o
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
a.displayName = "SelectionControls";
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
a as SelectionControls
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=SelectionControls.js.map
|