@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
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { FooterDescription as p } from "./components/FooterDescription.js";
|
|
4
4
|
import { c } from "../../chunks/vendor-CF2m175I.js";
|
|
5
|
-
import { s as o } from "../../chunks/Footer.module-
|
|
5
|
+
import { s as o } from "../../chunks/Footer.module-B1rO0bcd.js";
|
|
6
6
|
import "./components/FooterDescriptionControls.js";
|
|
7
7
|
import "./components/FooterDescriptionContent.js";
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
return /* @__PURE__ */
|
|
8
|
+
const f = Object.assign(
|
|
9
|
+
a.forwardRef(function({ children: t, className: r, sticky: e, ...i }, s) {
|
|
10
|
+
return /* @__PURE__ */ m(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
|
-
className: c(o.footer, { [o.sticky]: !!e },
|
|
14
|
-
...
|
|
15
|
-
"data-tx":
|
|
16
|
-
ref:
|
|
17
|
-
children:
|
|
13
|
+
className: c(o.footer, { [o.sticky]: !!e }, r),
|
|
14
|
+
...i,
|
|
15
|
+
"data-tx": "0.1.6",
|
|
16
|
+
ref: s,
|
|
17
|
+
children: t
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
}),
|
|
@@ -22,8 +22,8 @@ const n = Object.assign(
|
|
|
22
22
|
Description: p
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
|
-
|
|
25
|
+
f.displayName = "Footer";
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
f as Footer
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=Footer.js.map
|
|
@@ -3,7 +3,7 @@ import s from "react";
|
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
5
|
import { c as p } from "../../../chunks/vendor-CF2m175I.js";
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-B1rO0bcd.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: t, ...r }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, t), ...r, ref: e, children: o });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-B1rO0bcd.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: t, ...r }, e) => /* @__PURE__ */ s("div", { className: m(n.footerDescriptionContent, t), ...r, ref: e, 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 m } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-B1rO0bcd.js";
|
|
5
5
|
const p = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...t }, s) => /* @__PURE__ */ e("div", { className: m(a.footerDescriptionControls, r), ...t, ref: s, children: o })
|
|
7
7
|
);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { useState as e } from "react";
|
|
3
3
|
import { FormFieldContext as E } from "./FormFieldContext.js";
|
|
4
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
4
|
+
import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
5
5
|
import { c as G } from "../../chunks/vendor-CF2m175I.js";
|
|
6
6
|
import { EFormFieldSize as T } from "./enums.js";
|
|
7
|
-
const y = "
|
|
7
|
+
const y = "formField__c070e927", I = "disabled__f6435c2a", N = "active__80ad563f", R = "error__c25ee82e", t = {
|
|
8
8
|
formField: y,
|
|
9
9
|
disabled: I,
|
|
10
10
|
active: N,
|
|
11
11
|
error: R,
|
|
12
|
-
"size-sm": "size-
|
|
13
|
-
"size-md": "size-
|
|
14
|
-
"size-lg": "size-
|
|
15
|
-
},
|
|
16
|
-
children:
|
|
17
|
-
className:
|
|
12
|
+
"size-sm": "size-sm__5c0732be",
|
|
13
|
+
"size-md": "size-md__3275adc6",
|
|
14
|
+
"size-lg": "size-lg__b7e84fba"
|
|
15
|
+
}, V = ({
|
|
16
|
+
children: n,
|
|
17
|
+
className: F,
|
|
18
18
|
disabled: d,
|
|
19
|
-
error:
|
|
20
|
-
onMouseEnter:
|
|
19
|
+
error: p,
|
|
20
|
+
onMouseEnter: s,
|
|
21
21
|
onMouseLeave: i,
|
|
22
22
|
style: x,
|
|
23
23
|
size: o = T.LG,
|
|
24
|
-
...
|
|
24
|
+
...h
|
|
25
25
|
}) => {
|
|
26
|
-
const [a,
|
|
27
|
-
l(!0),
|
|
26
|
+
const [a, v] = e(!1), [b, l] = e(!1), [z, g] = e(""), [c, u] = e(_), [m, P] = e(_), [W, A] = e(!1), B = (r) => {
|
|
27
|
+
l(!0), s == null || s(r);
|
|
28
28
|
}, D = (r) => {
|
|
29
29
|
l(!1), i == null || i(r);
|
|
30
30
|
};
|
|
@@ -35,11 +35,11 @@ const y = "formField__8491a08a", I = "disabled__5a98a99c", N = "active__f58ae6e4
|
|
|
35
35
|
disabled: !!d,
|
|
36
36
|
focused: a,
|
|
37
37
|
hovered: b,
|
|
38
|
-
id:
|
|
38
|
+
id: z,
|
|
39
39
|
postfixWidth: c,
|
|
40
40
|
prefixWidth: m,
|
|
41
|
-
setFocused:
|
|
42
|
-
setId:
|
|
41
|
+
setFocused: v,
|
|
42
|
+
setId: g,
|
|
43
43
|
setPostfixWidth: u,
|
|
44
44
|
setPrefixWidth: P,
|
|
45
45
|
setValueExist: A,
|
|
@@ -50,27 +50,27 @@ const y = "formField__8491a08a", I = "disabled__5a98a99c", N = "active__f58ae6e4
|
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
52
|
className: G(
|
|
53
|
-
|
|
53
|
+
t.formField,
|
|
54
54
|
{
|
|
55
|
-
[
|
|
56
|
-
[
|
|
57
|
-
[
|
|
58
|
-
[
|
|
55
|
+
[t.active]: a,
|
|
56
|
+
[t.disabled]: !!d,
|
|
57
|
+
[t.error]: !!p,
|
|
58
|
+
[t[`size-${o}`]]: o
|
|
59
59
|
},
|
|
60
|
-
|
|
60
|
+
F
|
|
61
61
|
),
|
|
62
62
|
onMouseEnter: B,
|
|
63
63
|
onMouseLeave: D,
|
|
64
|
-
"data-tx":
|
|
64
|
+
"data-tx": "0.1.6",
|
|
65
65
|
style: { paddingLeft: m, paddingRight: c, ...x },
|
|
66
|
-
...
|
|
67
|
-
children:
|
|
66
|
+
...h,
|
|
67
|
+
children: n
|
|
68
68
|
}
|
|
69
69
|
)
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
};
|
|
73
73
|
export {
|
|
74
|
-
|
|
74
|
+
V as FormField
|
|
75
75
|
};
|
|
76
76
|
//# sourceMappingURL=FormField.js.map
|
|
@@ -3,27 +3,27 @@ import u, { useContext as h } from "react";
|
|
|
3
3
|
import { CrossStrokeSrvIcon16 as x } from "@sberbusiness/icons-next";
|
|
4
4
|
import { FormFieldContext as C } from "../FormFieldContext.js";
|
|
5
5
|
import { c as _ } from "../../../chunks/vendor-CF2m175I.js";
|
|
6
|
-
const w = "
|
|
6
|
+
const w = "formFieldClear__67c0fdb5", b = "shown__50aa24fb", s = {
|
|
7
7
|
formFieldClear: w,
|
|
8
|
-
shown:
|
|
9
|
-
},
|
|
10
|
-
({ className: t, onClick: e, ...
|
|
11
|
-
const { disabled: m, focused: d, hovered:
|
|
12
|
-
const o = document.querySelector(`#${
|
|
8
|
+
shown: b
|
|
9
|
+
}, v = u.forwardRef(
|
|
10
|
+
({ className: t, onClick: e, ...a }, l) => {
|
|
11
|
+
const { disabled: m, focused: d, hovered: n, id: c, valueExist: f } = h(C), i = (F) => {
|
|
12
|
+
const o = document.querySelector(`#${c}`);
|
|
13
13
|
o && o.focus(), e == null || e(F);
|
|
14
14
|
}, p = _(
|
|
15
15
|
s.formFieldClear,
|
|
16
16
|
"hoverable",
|
|
17
17
|
{
|
|
18
|
-
[s.shown]:
|
|
18
|
+
[s.shown]: f && !m && (d || n)
|
|
19
19
|
},
|
|
20
20
|
t
|
|
21
21
|
);
|
|
22
|
-
return /* @__PURE__ */ r("span", { className: p, ref:
|
|
22
|
+
return /* @__PURE__ */ r("span", { className: p, ref: l, onClick: i, ...a, children: /* @__PURE__ */ r(x, { paletteIndex: 5 }) });
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
|
-
|
|
25
|
+
v.displayName = "FormFieldClear";
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
v as FormFieldClear
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=FormFieldClear.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__fe91081a", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
}, f = ({ children:
|
|
6
|
+
}, f = ({ children: e, ...o }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
|
-
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...
|
|
10
|
+
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...o, children: e });
|
|
11
11
|
};
|
|
12
12
|
f.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
@@ -2,12 +2,12 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
4
|
import { FormFieldDescriptionContext as c } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__99da69f4", p = "withCounter__a85b3790", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ children: r, ...e }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(c.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: m(
|
|
10
|
+
return /* @__PURE__ */ t(c.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: m(i.formFieldDescription, { [i.withCounter]: o }), ...e, children: r }) });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
4
|
import "../../../chunks/vendor-CF2m175I.js";
|
|
5
|
-
import { F } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { F } from "../../../chunks/FormFieldInput-3TmHcNY0.js";
|
|
6
6
|
export {
|
|
7
7
|
F as FormFieldInput
|
|
8
8
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import g, { useContext as z, useState as u, useEffect as T } from "react";
|
|
3
3
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
4
|
+
import { TARGET_PADDING_X_DEFAULT as i } from "../consts.js";
|
|
5
5
|
import { c as N } from "../../../chunks/vendor-CF2m175I.js";
|
|
6
|
-
const y = "
|
|
6
|
+
const y = "formFieldLabel__299c90f4", E = "floating__7d637a17", A = "formFieldLabelText__4ca5360a", D = "disabled__f6435c2a", e = {
|
|
7
7
|
formFieldLabel: y,
|
|
8
|
-
"size-sm": "size-
|
|
9
|
-
"size-md": "size-
|
|
10
|
-
"size-lg": "size-
|
|
8
|
+
"size-sm": "size-sm__5c0732be",
|
|
9
|
+
"size-md": "size-md__3275adc6",
|
|
10
|
+
"size-lg": "size-lg__b7e84fba",
|
|
11
11
|
floating: E,
|
|
12
12
|
formFieldLabelText: A,
|
|
13
13
|
disabled: D
|
|
14
14
|
}, R = g.forwardRef(
|
|
15
|
-
({ children:
|
|
16
|
-
const { disabled: c, focused: l, id:
|
|
15
|
+
({ children: o, className: d, style: f, ...m }, r) => {
|
|
16
|
+
const { disabled: c, focused: l, id: n, prefixWidth: b, postfixWidth: _, size: s, valueExist: t } = z(h), [F, x] = u(!1);
|
|
17
17
|
T(() => {
|
|
18
18
|
x(l || t);
|
|
19
19
|
}, [l, t]);
|
|
@@ -27,12 +27,12 @@ const y = "formFieldLabel__c8046235", E = "floating__bfc73993", A = "formFieldLa
|
|
|
27
27
|
d
|
|
28
28
|
), p = {
|
|
29
29
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
30
|
-
left:
|
|
30
|
+
left: b || i,
|
|
31
31
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
32
|
-
right: _ ||
|
|
33
|
-
...
|
|
32
|
+
right: _ || i,
|
|
33
|
+
...f
|
|
34
34
|
};
|
|
35
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ a("label", { className: L, ref: r, htmlFor: n, ...m, style: p, children: /* @__PURE__ */ a("span", { className: e.formFieldLabelText, children: o }) });
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
R.displayName = "FormFieldLabel";
|
|
@@ -5,7 +5,7 @@ import "./FormFieldMaskedInputPresets.js";
|
|
|
5
5
|
import "../../Alert/AlertContext/AlertContext.js";
|
|
6
6
|
import "../../Alert/AlertProcess/AlertProcess.js";
|
|
7
7
|
import "../../Alert/AlertTypeUtils.js";
|
|
8
|
-
import { F as No } from "../../../chunks/index-
|
|
8
|
+
import { F as No } from "../../../chunks/index-CLQ4mLUp.js";
|
|
9
9
|
import "../../Button/ButtonBase.js";
|
|
10
10
|
import "../../Button/ButtonIcon.js";
|
|
11
11
|
import "../../Col/Col.js";
|
|
@@ -17,7 +17,7 @@ import "./FormFieldDescription.js";
|
|
|
17
17
|
import "./FormFieldCounter.js";
|
|
18
18
|
import "./FormFieldLabel.js";
|
|
19
19
|
import "./FormFieldClear.js";
|
|
20
|
-
import "../../../chunks/FormFieldInput-
|
|
20
|
+
import "../../../chunks/FormFieldInput-3TmHcNY0.js";
|
|
21
21
|
import "./FormFieldPostfix.js";
|
|
22
22
|
import "./FormFieldPrefix.js";
|
|
23
23
|
import "./FormFieldTextarea.js";
|
|
@@ -38,7 +38,7 @@ import "../../ThemeProvider/ThemeProviderContext.js";
|
|
|
38
38
|
import "../../Typography/Title.js";
|
|
39
39
|
import "../../Typography/Text.js";
|
|
40
40
|
import "../../Typography/Caption.js";
|
|
41
|
-
import "../../../chunks/DropdownListItem-
|
|
41
|
+
import "../../../chunks/DropdownListItem-CM0DOekv.js";
|
|
42
42
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
43
43
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
44
44
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -53,7 +53,7 @@ import "../../List/ListSortable.js";
|
|
|
53
53
|
import "../../List/components/ListItem.js";
|
|
54
54
|
import "../../List/components/ListItemControls.js";
|
|
55
55
|
import "../../List/components/ListItemContent.js";
|
|
56
|
-
import "../../../chunks/ListItemControlsButton-
|
|
56
|
+
import "../../../chunks/ListItemControlsButton-BpUzyKya.js";
|
|
57
57
|
import "../../List/components/ListEmptyState.js";
|
|
58
58
|
import "../../List/components/ListItemLoading.js";
|
|
59
59
|
import "../../List/components/ListItemSelectable.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import l, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
3
|
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
4
|
import { c as p } from "../../../chunks/vendor-CF2m175I.js";
|
|
5
|
-
const P = "
|
|
5
|
+
const P = "formFieldPostfix__d58c7564", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, _ = l.forwardRef(
|
|
8
8
|
({ children: s, className: i, ...r }, o) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
3
|
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
4
|
import { c as p } from "../../../chunks/vendor-CF2m175I.js";
|
|
5
|
-
const P = "
|
|
5
|
+
const P = "formFieldPrefix__5772a387", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, _ =
|
|
8
|
-
({ children: o, className:
|
|
9
|
-
const s = p(R.formFieldPrefix,
|
|
7
|
+
}, _ = d.forwardRef(
|
|
8
|
+
({ children: o, className: i, ...f }, r) => {
|
|
9
|
+
const s = p(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(F), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
12
|
return a(() => {
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPrefix__3dac481f", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
16
|
e !== n && c(e);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPrefix";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import I, { useContext as N, useRef as R, useEffect as d } from "react";
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { j
|
|
5
|
-
const
|
|
6
|
-
formFieldTextarea:
|
|
3
|
+
import { FormFieldContext as b } from "../FormFieldContext.js";
|
|
4
|
+
import { j, c as y } from "../../../chunks/vendor-CF2m175I.js";
|
|
5
|
+
const C = "formFieldTextarea__0bcd80e4", E = {
|
|
6
|
+
formFieldTextarea: C
|
|
7
7
|
}, q = I.forwardRef(
|
|
8
8
|
({ className: l, id: e, onBlur: a, onFocus: s, placeholder: i, value: o, ...n }, x) => {
|
|
9
|
-
const { disabled: u, focused: F, setFocused:
|
|
9
|
+
const { disabled: u, focused: F, setFocused: m, setId: t, setValueExist: f } = N(b), r = R(e || j()), p = y(E.formFieldTextarea, l);
|
|
10
10
|
d(() => {
|
|
11
11
|
t(r.current);
|
|
12
12
|
}, [t]), d(() => {
|
|
13
13
|
e && (r.current = e, t(r.current));
|
|
14
14
|
}, [e, t]), d(() => {
|
|
15
|
-
|
|
16
|
-
}, [
|
|
15
|
+
f(!!o);
|
|
16
|
+
}, [f, o]);
|
|
17
17
|
const T = (c) => {
|
|
18
|
-
|
|
18
|
+
m(!1), a == null || a(c);
|
|
19
19
|
}, _ = (c) => {
|
|
20
|
-
|
|
20
|
+
m(!0), s == null || s(c);
|
|
21
21
|
};
|
|
22
22
|
return /* @__PURE__ */ h(
|
|
23
23
|
"textarea",
|
|
@@ -3,8 +3,8 @@ import { FormFieldDescription as m } from "./components/FormFieldDescription.js"
|
|
|
3
3
|
import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
4
4
|
import { FormFieldLabel as x } from "./components/FormFieldLabel.js";
|
|
5
5
|
import { FormFieldClear as l } from "./components/FormFieldClear.js";
|
|
6
|
-
import { F as a } from "../../chunks/FormFieldInput-
|
|
7
|
-
import { F as n } from "../../chunks/index-
|
|
6
|
+
import { F as a } from "../../chunks/FormFieldInput-3TmHcNY0.js";
|
|
7
|
+
import { F as n } from "../../chunks/index-CLQ4mLUp.js";
|
|
8
8
|
import { FormFieldPostfix as C } from "./components/FormFieldPostfix.js";
|
|
9
9
|
import { FormFieldPrefix as P } from "./components/FormFieldPrefix.js";
|
|
10
10
|
import { FormFieldTextarea as c } from "./components/FormFieldTextarea.js";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as d } from "../../chunks/vendor-CF2m175I.js";
|
|
4
4
|
import { HeaderTabs as s } from "./components/HeaderTabs/HeaderTabs.js";
|
|
5
|
-
import { HeaderTitle as
|
|
6
|
-
import { HeaderSubheader as
|
|
7
|
-
import { HeaderLayoutSidebar as
|
|
5
|
+
import { HeaderTitle as c } from "./components/HeaderTitle/HeaderTitle.js";
|
|
6
|
+
import { HeaderSubheader as p } from "./components/HeaderSubheader/HeaderSubheader.js";
|
|
7
|
+
import { HeaderLayoutSidebar as f } from "./components/HeaderLayoutSidebar/HeaderLayoutSidebar.js";
|
|
8
8
|
import "./components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js";
|
|
9
9
|
import "./components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js";
|
|
10
10
|
import "./components/HeaderTabs/HeaderTabsContent.js";
|
|
11
11
|
import "./components/HeaderTabs/HeaderTabsControls.js";
|
|
12
12
|
import "./components/HeaderTitle/HeaderTitleContent.js";
|
|
13
13
|
import "./components/HeaderTitle/HeaderTitleControls.js";
|
|
14
|
-
const
|
|
15
|
-
header:
|
|
14
|
+
const n = "header__60b1c013", b = "sticky__c367cf06", e = {
|
|
15
|
+
header: n,
|
|
16
16
|
sticky: b
|
|
17
17
|
}, l = Object.assign(
|
|
18
|
-
|
|
18
|
+
m.forwardRef(function({ className: r, sticky: t, ...a }, o) {
|
|
19
19
|
return /* @__PURE__ */ i(
|
|
20
20
|
"div",
|
|
21
21
|
{
|
|
22
|
-
className:
|
|
23
|
-
...
|
|
24
|
-
"data-tx":
|
|
22
|
+
className: d(e.header, { [e.sticky]: !!t }, r),
|
|
23
|
+
...a,
|
|
24
|
+
"data-tx": "0.1.6",
|
|
25
25
|
ref: o
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
28
|
}),
|
|
29
29
|
{
|
|
30
|
-
LayoutSidebar:
|
|
31
|
-
Subhead:
|
|
30
|
+
LayoutSidebar: f,
|
|
31
|
+
Subhead: p,
|
|
32
32
|
Tabs: s,
|
|
33
|
-
Title:
|
|
33
|
+
Title: c
|
|
34
34
|
}
|
|
35
35
|
);
|
|
36
36
|
l.displayName = "Header";
|
|
@@ -3,7 +3,7 @@ import d from "react";
|
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-CF2m175I.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-CEXHjsmH.js";
|
|
7
7
|
const b = Object.assign(
|
|
8
8
|
d.forwardRef(function({ children: e, className: r, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: i(f.headerLayoutSidebar, r), ...a, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as d } from "../../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
4
|
+
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-CEXHjsmH.js";
|
|
5
5
|
const i = s.forwardRef(
|
|
6
6
|
({ children: e, className: a, ...t }, o) => /* @__PURE__ */ r("div", { className: d(m.headerLayoutSidebarContent, a), ...t, ref: o, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as t } from "../../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
4
|
+
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-CEXHjsmH.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: a, className: r, ...e }, o) => /* @__PURE__ */ d("div", { className: t(s.headerLayoutSidebarSidebar, r), ...e, ref: o, children: a })
|
|
7
7
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
const u = "
|
|
4
|
+
const u = "headerSubheader__9b4b1704", b = "withoutPaddings__1db47d35", e = {
|
|
5
5
|
headerSubheader: u,
|
|
6
|
-
withoutPaddings:
|
|
6
|
+
withoutPaddings: b
|
|
7
7
|
}, n = h.forwardRef(
|
|
8
|
-
({ children:
|
|
8
|
+
({ children: d, className: a, withoutPaddings: r, ...t }, o) => /* @__PURE__ */ s(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
className: i(e.headerSubheader, { [e.withoutPaddings]: !!r },
|
|
11
|
+
className: i(e.headerSubheader, { [e.withoutPaddings]: !!r }, a),
|
|
12
12
|
...t,
|
|
13
13
|
ref: o,
|
|
14
|
-
children:
|
|
14
|
+
children: d
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
@@ -3,7 +3,7 @@ import t from "react";
|
|
|
3
3
|
import { HeaderTabsContent as m } from "./HeaderTabsContent.js";
|
|
4
4
|
import { HeaderTabsControls as n } from "./HeaderTabsControls.js";
|
|
5
5
|
import { c as d } from "../../../../chunks/vendor-CF2m175I.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderTabs.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderTabs.module-YFm2izz6.js";
|
|
7
7
|
const i = Object.assign(
|
|
8
8
|
t.forwardRef(function({ children: r, className: e, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ s("div", { className: d(f.headerTabs, e), ...a, ref: o, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as m } from "../../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
import { s as n } from "../../../../chunks/HeaderTabs.module-
|
|
4
|
+
import { s as n } from "../../../../chunks/HeaderTabs.module-YFm2izz6.js";
|
|
5
5
|
const d = s.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ o("div", { className: m(n.headerTabsContent, r), ...t, ref: a, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { c as m } from "../../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
import { s as l } from "../../../../chunks/HeaderTabs.module-
|
|
4
|
+
import { s as l } from "../../../../chunks/HeaderTabs.module-YFm2izz6.js";
|
|
5
5
|
const d = t.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, a) => /* @__PURE__ */ e("div", { className: m(l.headerTabsControls, r), ...s, ref: a, children: o })
|
|
7
7
|
);
|
|
@@ -3,7 +3,7 @@ import i from "react";
|
|
|
3
3
|
import { HeaderTitleContent as s } from "./HeaderTitleContent.js";
|
|
4
4
|
import { HeaderTitleControls as m } from "./HeaderTitleControls.js";
|
|
5
5
|
import { c as l } from "../../../../chunks/vendor-CF2m175I.js";
|
|
6
|
-
import { s as n } from "../../../../chunks/HeaderTitle.module-
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-lv649tnz.js";
|
|
7
7
|
const d = Object.assign(
|
|
8
8
|
i.forwardRef(function({ children: e, className: t, ...r }, o) {
|
|
9
9
|
return /* @__PURE__ */ a("div", { className: l(n.headerTitle, t), ...r, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as m } from "../../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
import { s as i } from "../../../../chunks/HeaderTitle.module-
|
|
4
|
+
import { s as i } from "../../../../chunks/HeaderTitle.module-lv649tnz.js";
|
|
5
5
|
const l = s.forwardRef(
|
|
6
6
|
({ children: e, className: t, ...r }, o) => /* @__PURE__ */ a("div", { className: m(t, i.headerTitleContent), ...r, ref: o, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { c as l } from "../../../../chunks/vendor-CF2m175I.js";
|
|
4
|
-
import { s as m } from "../../../../chunks/HeaderTitle.module-
|
|
4
|
+
import { s as m } from "../../../../chunks/HeaderTitle.module-lv649tnz.js";
|
|
5
5
|
const i = a.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...e }, t) => /* @__PURE__ */ s("div", { className: l(m.headerTitleControls, r), ...e, ref: t, children: o })
|
|
7
7
|
);
|