@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
|
@@ -4,31 +4,31 @@ import { CaretdownStrokeSrvIcon16 as _ } from "@sberbusiness/icons-next";
|
|
|
4
4
|
import { ButtonIcon as m } from "../components/Button/ButtonIcon.js";
|
|
5
5
|
import { AlertProcessContext as x } from "../components/Alert/AlertProcess/AlertProcessContext.js";
|
|
6
6
|
import { c as a } from "./vendor-D-uL_icH.js";
|
|
7
|
-
const y = "
|
|
7
|
+
const y = "alertProcess__e3df344a", f = "withSpoiler__44a97e28", u = "themeIcon__ae1cc75c", T = "alertTypeError__68fefbb8", b = "alertTypeInfo__10294097", B = "alertTypeWarning__82d4628a", C = "alertTypeSystem__99bcd9dc", S = "alertTypeFeature__20d04c61", h = "alertProcessContentBlock__bd5f1b83", I = "closeButton__abc14e0e", P = "expandableContent__384ce06b", g = "expanded__a694b027", k = "expandButton__b518649c", e = {
|
|
8
8
|
alertProcess: y,
|
|
9
9
|
withSpoiler: f,
|
|
10
10
|
themeIcon: u,
|
|
11
11
|
alertTypeError: T,
|
|
12
|
-
alertTypeInfo:
|
|
13
|
-
alertTypeWarning:
|
|
14
|
-
alertTypeSystem:
|
|
15
|
-
alertTypeFeature:
|
|
12
|
+
alertTypeInfo: b,
|
|
13
|
+
alertTypeWarning: B,
|
|
14
|
+
alertTypeSystem: C,
|
|
15
|
+
alertTypeFeature: S,
|
|
16
16
|
alertProcessContentBlock: h,
|
|
17
17
|
closeButton: I,
|
|
18
18
|
expandableContent: P,
|
|
19
19
|
expanded: g,
|
|
20
20
|
expandButton: k
|
|
21
|
-
}, v = ({ children: s, open: r, onOpen: o, ...
|
|
21
|
+
}, v = ({ children: s, open: r, onOpen: o, ...c }) => {
|
|
22
22
|
const { setHasSpoiler: n } = d(x);
|
|
23
23
|
i(() => (n(!0), () => {
|
|
24
24
|
n(!1);
|
|
25
25
|
}), [n]);
|
|
26
|
-
const
|
|
26
|
+
const l = () => {
|
|
27
27
|
o == null || o(!r);
|
|
28
28
|
};
|
|
29
29
|
return /* @__PURE__ */ p("div", { className: e.spoiler, children: [
|
|
30
|
-
/* @__PURE__ */ t("div", { className: a(e.expandableContent, { [e.expanded]: r }), ...
|
|
31
|
-
/* @__PURE__ */ t("div", { className: a(e.expandButton, { [e.expanded]: r }), children: /* @__PURE__ */ t(m, { onClick:
|
|
30
|
+
/* @__PURE__ */ t("div", { className: a(e.expandableContent, { [e.expanded]: r }), ...c, children: s }),
|
|
31
|
+
/* @__PURE__ */ t("div", { className: a(e.expandButton, { [e.expanded]: r }), children: /* @__PURE__ */ t(m, { onClick: l, children: /* @__PURE__ */ t(_, { paletteIndex: 5 }) }) })
|
|
32
32
|
] });
|
|
33
33
|
};
|
|
34
34
|
v.displayName = "AlertProcessSpoiler";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
v as A,
|
|
37
37
|
e as s
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=AlertProcessSpoiler-
|
|
39
|
+
//# sourceMappingURL=AlertProcessSpoiler-Caa0745n.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const n = "card__daae2f0b", d = "roundingMD__c6640f92", a = "roundingSM__a3bb893f", o = "general__07636847", r = "secondary__20644df7", t = "cardMedia__456654d4", c = "cardContent__37f92347", e = "paddingMD__df394cf8", _ = "paddingSM__e601bd6f", s = "cardContentHeader__44d7343b", g = "cardContentFooter__02667ad2", i = {
|
|
2
|
+
card: n,
|
|
3
|
+
roundingMD: d,
|
|
4
|
+
roundingSM: a,
|
|
5
|
+
general: o,
|
|
6
|
+
secondary: r,
|
|
7
|
+
cardMedia: t,
|
|
8
|
+
cardContent: c,
|
|
9
|
+
paddingMD: e,
|
|
10
|
+
paddingSM: _,
|
|
11
|
+
cardContentHeader: s,
|
|
12
|
+
cardContentFooter: g
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
i as c
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=Card.module-BRANBAxP.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import E, { useEffect as u } from "react";
|
|
3
3
|
import { EVENT_KEY_CODES as m } from "../utils/keyboard.js";
|
|
4
4
|
import { c as v } from "./vendor-D-uL_icH.js";
|
|
5
|
-
const D = "
|
|
5
|
+
const D = "dropdownList__9c6a5e4c", y = "dropdownListItem__f8396c23", I = "active__d5e4f5bd", l = "selected__9cce8f91", n = {
|
|
6
6
|
dropdownList: D,
|
|
7
7
|
dropdownListItem: y,
|
|
8
8
|
active: I,
|
|
9
9
|
selected: l,
|
|
10
|
-
"dropdownList-sm": "dropdownList-
|
|
11
|
-
"dropdownList-md": "dropdownList-
|
|
12
|
-
"dropdownList-lg": "dropdownList-
|
|
13
|
-
}, N = [m.SPACE, m.ENTER], O =
|
|
10
|
+
"dropdownList-sm": "dropdownList-sm__518f233d",
|
|
11
|
+
"dropdownList-md": "dropdownList-md__aae6f829",
|
|
12
|
+
"dropdownList-lg": "dropdownList-lg__995089d8"
|
|
13
|
+
}, N = [m.SPACE, m.ENTER], O = E.forwardRef(
|
|
14
14
|
({
|
|
15
15
|
active: d,
|
|
16
16
|
keyCodesForSelection: p = N,
|
|
17
17
|
children: s,
|
|
18
|
-
className:
|
|
18
|
+
className: _,
|
|
19
19
|
onClick: e,
|
|
20
20
|
onSelect: o,
|
|
21
21
|
selected: i,
|
|
22
|
-
...
|
|
22
|
+
...a
|
|
23
23
|
}, w) => {
|
|
24
24
|
const r = (t) => {
|
|
25
25
|
const { keyCode: f } = t;
|
|
@@ -29,18 +29,18 @@ const D = "dropdownList__817388c8", y = "dropdownListItem__31a65fb6", I = "activ
|
|
|
29
29
|
};
|
|
30
30
|
return u(() => (d ? document.addEventListener("keydown", r) : document.removeEventListener("keydown", r), () => {
|
|
31
31
|
document.removeEventListener("keydown", r);
|
|
32
|
-
}), [d]), /* @__PURE__ */
|
|
32
|
+
}), [d]), /* @__PURE__ */ c(
|
|
33
33
|
"div",
|
|
34
34
|
{
|
|
35
35
|
className: v(
|
|
36
36
|
n.dropdownListItem,
|
|
37
37
|
{ [n.active]: !!d, [n.selected]: !!i },
|
|
38
|
-
|
|
38
|
+
_
|
|
39
39
|
),
|
|
40
40
|
title: typeof s == "string" ? s : void 0,
|
|
41
41
|
role: "option",
|
|
42
42
|
"aria-selected": !!i,
|
|
43
|
-
...
|
|
43
|
+
...a,
|
|
44
44
|
onClick: L,
|
|
45
45
|
ref: w,
|
|
46
46
|
children: s
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
O as D,
|
|
54
54
|
n as s
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=DropdownListItem-
|
|
56
|
+
//# sourceMappingURL=DropdownListItem-DIIAnvmw.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const o = "dropdownMobileWrapper__600715e0", e = "dropdownMobileBackdrop__bb7418a1", d = "closing__050d7d54", n = "opening__69172f89", r = "opened__c6ab1d63", p = "dropdownMobile__54284097", l = "dropdownMobileHeader__7ea600ea", i = "dropdownMobileContent__f9ba4069", t = "dropdownMobileFooter__90fb0506", b = "dropdownMobileListItem__8c886963", s = "selected__9cce8f91", w = "dropdownMobileClose__3a4c49be", c = "dropdownMobileBodyOverflow__8fca1e52", M = {
|
|
2
|
+
dropdownMobileWrapper: o,
|
|
3
|
+
dropdownMobileBackdrop: e,
|
|
4
|
+
closing: d,
|
|
5
|
+
opening: n,
|
|
6
|
+
opened: r,
|
|
7
|
+
dropdownMobile: p,
|
|
8
|
+
dropdownMobileHeader: l,
|
|
9
|
+
dropdownMobileContent: i,
|
|
10
|
+
dropdownMobileFooter: t,
|
|
11
|
+
dropdownMobileListItem: b,
|
|
12
|
+
selected: s,
|
|
13
|
+
dropdownMobileClose: w,
|
|
14
|
+
dropdownMobileBodyOverflow: c
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
M as s
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=DropdownMobile.module-BUeZuAYr.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const o = "footer__52ada31d", t = "sticky__dbc24e77", e = "footerDescription__4794a5cb", r = "footerDescriptionContent__811de0a0", s = "footerDescriptionControls__f55741fb", n = {
|
|
2
|
+
footer: o,
|
|
3
|
+
sticky: t,
|
|
4
|
+
footerDescription: e,
|
|
5
|
+
footerDescriptionContent: r,
|
|
6
|
+
footerDescriptionControls: s
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
n as s
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=Footer.module-BFo05t5_.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as S } from "react/jsx-runtime";
|
|
2
|
-
import A, { useContext as P, useRef as R, useEffect as
|
|
2
|
+
import A, { useContext as P, useRef as R, useEffect as d } from "react";
|
|
3
3
|
import { FormFieldContext as g } from "../components/FormField/FormFieldContext.js";
|
|
4
4
|
import { c as y, f as C } from "./vendor-D-uL_icH.js";
|
|
5
5
|
import { EFormFieldStatus as D } from "../components/FormField/enums.js";
|
|
6
|
-
const W = "
|
|
6
|
+
const W = "formFieldInput__0a336adf", N = {
|
|
7
7
|
formFieldInput: W,
|
|
8
|
-
"autofill-applied-hook": "autofill-applied-
|
|
9
|
-
"autofill-cancelled-hook": "autofill-cancelled-
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
13
|
-
}, j = A.forwardRef((
|
|
14
|
-
const { className:
|
|
15
|
-
|
|
8
|
+
"autofill-applied-hook": "autofill-applied-hook__55d126c9",
|
|
9
|
+
"autofill-cancelled-hook": "autofill-cancelled-hook__f64bf84f",
|
|
10
|
+
"size-sm": "size-sm__7fca3bb8",
|
|
11
|
+
"size-md": "size-md__fdf39150",
|
|
12
|
+
"size-lg": "size-lg__fed542e3"
|
|
13
|
+
}, j = A.forwardRef((u, c) => {
|
|
14
|
+
const { className: k, id: o, onAnimationStart: l, onBlur: i, onFocus: r, placeholder: f, value: s, ...x } = u, { render: m, ...b } = u, { focused: B, status: E, setFocused: p, setId: n, setValueExist: a, size: F } = P(g), _ = y(N.formFieldInput, k, N[`size-${F}`]), t = R(o || C("input_"));
|
|
15
|
+
d(() => {
|
|
16
16
|
n(t.current);
|
|
17
|
-
}, []),
|
|
17
|
+
}, []), d(() => {
|
|
18
18
|
o && (t.current = o, n(t.current));
|
|
19
|
-
}, [o, n]),
|
|
19
|
+
}, [o, n]), d(() => {
|
|
20
20
|
a(!!s);
|
|
21
21
|
}, [a, s]);
|
|
22
22
|
const h = (e) => {
|
|
@@ -26,23 +26,23 @@ const W = "formFieldInput__bb5e3b5a", b = {
|
|
|
26
26
|
}, z = (e) => {
|
|
27
27
|
e.animationName.startsWith("autofill-applied-hook") ? a(!0) : e.animationName.startsWith("autofill-cancelled-hook") && !s && a(!1), l == null || l(e);
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return m ? m(
|
|
30
30
|
{
|
|
31
|
-
...
|
|
31
|
+
...b,
|
|
32
32
|
className: _,
|
|
33
33
|
id: t.current,
|
|
34
34
|
onAnimationStart: z,
|
|
35
35
|
onBlur: h,
|
|
36
36
|
onFocus: I,
|
|
37
37
|
/* Когда элемент не в фокусе, вместо placeholder показывается Label. */
|
|
38
|
-
placeholder: B ?
|
|
38
|
+
placeholder: B ? f : " ",
|
|
39
39
|
size: F
|
|
40
40
|
},
|
|
41
|
-
|
|
41
|
+
c
|
|
42
42
|
) : /* @__PURE__ */ S(
|
|
43
43
|
"input",
|
|
44
44
|
{
|
|
45
|
-
...
|
|
45
|
+
...x,
|
|
46
46
|
className: _,
|
|
47
47
|
disabled: E === D.DISABLED,
|
|
48
48
|
id: t.current,
|
|
@@ -50,14 +50,14 @@ const W = "formFieldInput__bb5e3b5a", b = {
|
|
|
50
50
|
onFocus: I,
|
|
51
51
|
onBlur: h,
|
|
52
52
|
value: s,
|
|
53
|
-
placeholder:
|
|
54
|
-
ref:
|
|
53
|
+
placeholder: f,
|
|
54
|
+
ref: c
|
|
55
55
|
}
|
|
56
56
|
);
|
|
57
57
|
});
|
|
58
58
|
j.displayName = "FormFieldInput";
|
|
59
59
|
export {
|
|
60
60
|
j as F,
|
|
61
|
-
|
|
61
|
+
N as s
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=FormFieldInput-
|
|
63
|
+
//# sourceMappingURL=FormFieldInput-rV5ZVe9k.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = "headerLayoutSidebar__d5f6309a", a = "headerLayoutSidebarContent__dc0bbf94", d = "headerLayoutSidebarSidebar__67f26a45", r = {
|
|
2
|
+
headerLayoutSidebar: e,
|
|
3
|
+
headerLayoutSidebarContent: a,
|
|
4
|
+
headerLayoutSidebarSidebar: d
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
r as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=HeaderLayoutSidebar.module-CEqBuRNu.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = "headerTitle__ed604e35", t = "headerTitleControls__60f5f99a", o = "headerTitleContent__2ff0527d", l = {
|
|
2
|
+
headerTitle: e,
|
|
3
|
+
headerTitleControls: t,
|
|
4
|
+
headerTitleContent: o
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
l as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=HeaderTitle.module-Db-1fcNm.js.map
|
|
@@ -3,13 +3,13 @@ import i from "react";
|
|
|
3
3
|
import { c as I } from "./vendor-D-uL_icH.js";
|
|
4
4
|
import { ETextSize as u } from "../components/Typography/enums.js";
|
|
5
5
|
import { Text as c } from "../components/Typography/Text.js";
|
|
6
|
-
const a = "
|
|
6
|
+
const a = "listItemControlsButton__d3a425aa", B = "listItemControlsButtonDropdown__32c36909", C = "listItemControlsButtonIcon__f6c89dc6", p = "withText__3b8c8555", _ = "listItemControlsButtonLabel__e2f460c5", d = "listItemControlsButtonInner__ca528ef4", f = "withIcon__bcc005a7", w = "buttonDropdownMenuItem__316a2f5d", t = {
|
|
7
7
|
listItemControlsButton: a,
|
|
8
8
|
listItemControlsButtonDropdown: B,
|
|
9
9
|
listItemControlsButtonIcon: C,
|
|
10
|
-
withText:
|
|
11
|
-
listItemControlsButtonLabel:
|
|
12
|
-
listItemControlsButtonInner:
|
|
10
|
+
withText: p,
|
|
11
|
+
listItemControlsButtonLabel: _,
|
|
12
|
+
listItemControlsButtonInner: d,
|
|
13
13
|
withIcon: f,
|
|
14
14
|
buttonDropdownMenuItem: w
|
|
15
15
|
}, b = i.forwardRef(
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
b as L,
|
|
41
41
|
t as s
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=ListItemControlsButton-
|
|
43
|
+
//# sourceMappingURL=ListItemControlsButton-Ch-5PQYH.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const t = "listItemTail__4fcd1d41", i = "listItemTailLine__22f9c915", l = "listItemTailTop__ba5d89c9", s = "listItemTailBottom__084aff6d", e = "listItemTailRight__c3fa6b8d", a = "listItemTailLeft__da198784", m = {
|
|
2
|
+
listItemTail: t,
|
|
3
|
+
listItemTailLine: i,
|
|
4
|
+
listItemTailTop: l,
|
|
5
|
+
listItemTailBottom: s,
|
|
6
|
+
listItemTailRight: e,
|
|
7
|
+
listItemTailLeft: a
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
m as s
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=ListItemTail.module-C5-4SAqt.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const t = "listMasterFooter__fb7836d7", s = "sticky__10bd904d", o = "listMasterFooterDescription__81d66876", r = "listMasterFooterControls__c2451cd8", e = {
|
|
2
|
+
listMasterFooter: t,
|
|
3
|
+
sticky: s,
|
|
4
|
+
listMasterFooterDescription: o,
|
|
5
|
+
listMasterFooterControls: r
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
e as s
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=ListMasterFooter.module-Dph-_lLg.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const e = "overlay__e33030a1", o = "fixed__7641f697", t = "closing__9530ece2", n = "opened__e03c488b", a = "overlayPanel__a79bd27e", c = "bottom__53bb94bb", l = "left__57265d97", _ = "right__57ccb8bc", s = "top__920c84eb", r = "overlayContent__7d4a77eb", y = "overlayMask__9d91f5c8", v = "overlayOpened__978f5cc4", b = {
|
|
2
|
+
overlay: e,
|
|
3
|
+
fixed: o,
|
|
4
|
+
closing: t,
|
|
5
|
+
opened: n,
|
|
6
|
+
overlayPanel: a,
|
|
7
|
+
bottom: c,
|
|
8
|
+
left: l,
|
|
9
|
+
right: _,
|
|
10
|
+
top: s,
|
|
11
|
+
overlayContent: r,
|
|
12
|
+
overlayMask: y,
|
|
13
|
+
overlayOpened: v
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
b as s
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=Overlay.module-D6LEz1jT.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const e = "page__6840fab8", a = "headerPageBackground__2bd10709", o = "footerPageBackground__4c198e06", r = "headerPageSticky__11c8928e", t = "footerPageSticky__8880df10", g = "headerPageStuck__b1989892", c = "footerPageStuck__ba077376", d = "observerTarget__7c9c180f", P = "headerPage__c6fbb760", _ = "bodyPage__6d540173", k = {
|
|
2
|
+
page: e,
|
|
3
|
+
headerPageBackground: a,
|
|
4
|
+
footerPageBackground: o,
|
|
5
|
+
headerPageSticky: r,
|
|
6
|
+
footerPageSticky: t,
|
|
7
|
+
headerPageStuck: g,
|
|
8
|
+
footerPageStuck: c,
|
|
9
|
+
observerTarget: d,
|
|
10
|
+
headerPage: P,
|
|
11
|
+
bodyPage: _
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
k as s
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=Page.module-Ct9ky9ko.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const t = "tabsExtended__94512493", e = "tabsExtendedContent__572da312", d = "tabsExtendedTab__c1afd907", n = "tabsExtendedDropdown__b2872151", a = "tabsReal__4745fe94", s = "tabsFake__fdfe36c7", b = "hidden__02df470a", o = {
|
|
2
|
+
tabsExtended: t,
|
|
3
|
+
tabsExtendedContent: e,
|
|
4
|
+
tabsExtendedTab: d,
|
|
5
|
+
tabsExtendedDropdown: n,
|
|
6
|
+
tabsReal: a,
|
|
7
|
+
tabsFake: s,
|
|
8
|
+
hidden: b
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
o as s
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=TabsExtended.module-CmU9j8zG.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ETabsExtendedTabButtonSize as t } from "../components/TabsExtended/enums.js";
|
|
2
2
|
import { ETextSize as e } from "../components/Typography/enums.js";
|
|
3
|
-
const
|
|
4
|
-
tabsExtendedTabButton:
|
|
5
|
-
lg:
|
|
3
|
+
const d = "tabsExtendedTabButton__cf5fb41e", a = "lg__71ad155d", o = "md__942ffac3", n = "sm__41f69d82", c = "selected__92cc9ea4", s = {
|
|
4
|
+
tabsExtendedTabButton: d,
|
|
5
|
+
lg: a,
|
|
6
6
|
md: o,
|
|
7
7
|
sm: n,
|
|
8
8
|
selected: c
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
s,
|
|
21
21
|
_ as t
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=TabsExtendedUtils-
|
|
23
|
+
//# sourceMappingURL=TabsExtendedUtils-CkAvE1fA.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const t = "tooltipDesktop__0e1ecae6", o = "tooltipBody__16109107", p = "tooltipXButton__c3ca3d9a", l = "tooltipDesktopContent__98b66d5a", e = "closable__97efa65b", i = "tooltipSM__f310b7ad", s = "tooltipLG__8aa81ada", n = "tooltipOverlay__4eba4c15", _ = "tooltipDesktopTip__ec73b243", c = "down__b8a48b1b", a = "up__0866ebe4", b = "left__aa8e0714", d = "right__86c6dccb", k = {
|
|
2
|
+
tooltipDesktop: t,
|
|
3
|
+
tooltipBody: o,
|
|
4
|
+
tooltipXButton: p,
|
|
5
|
+
tooltipDesktopContent: l,
|
|
6
|
+
closable: e,
|
|
7
|
+
tooltipSM: i,
|
|
8
|
+
tooltipLG: s,
|
|
9
|
+
tooltipOverlay: n,
|
|
10
|
+
tooltipDesktopTip: _,
|
|
11
|
+
down: c,
|
|
12
|
+
up: a,
|
|
13
|
+
left: b,
|
|
14
|
+
right: d
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
k as s
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=TooltipDesktop.module-KrPZMfQD.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import l, { createElement as r } from "react";
|
|
2
2
|
import { UploadZoneContext as u } from "../components/UploadZone/UploadZoneContext.js";
|
|
3
3
|
import { c as d } from "./vendor-D-uL_icH.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "uploadZone__6e89d310", c = "uploadZoneDragArea__bd59f57f", Z = "uploadZoneContainerDragArea__5f058172", i = "uploadZoneInput__d84752b0", g = {
|
|
5
5
|
uploadZone: s,
|
|
6
6
|
uploadZoneDragArea: c,
|
|
7
7
|
uploadZoneContainerDragArea: Z,
|
|
8
8
|
uploadZoneInput: i
|
|
9
|
-
},
|
|
9
|
+
}, f = ({ className: n, ...a }) => {
|
|
10
10
|
const e = l.useContext(u), t = (o) => {
|
|
11
11
|
e.onChange(o.target.files, o);
|
|
12
12
|
}, p = (o) => {
|
|
@@ -17,7 +17,7 @@ const s = "uploadZone__7ef466bf", c = "uploadZoneDragArea__6231c055", Z = "uploa
|
|
|
17
17
|
{
|
|
18
18
|
...a,
|
|
19
19
|
type: "file",
|
|
20
|
-
className: d(n,
|
|
20
|
+
className: d(n, g.uploadZoneInput),
|
|
21
21
|
onChange: t,
|
|
22
22
|
onClick: p,
|
|
23
23
|
ref: e.setInputNode,
|
|
@@ -25,9 +25,9 @@ const s = "uploadZone__7ef466bf", c = "uploadZoneDragArea__6231c055", Z = "uploa
|
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
f.displayName = "UploadZone";
|
|
29
29
|
export {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
f as U,
|
|
31
|
+
g as s
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=UploadZoneInput-
|
|
33
|
+
//# sourceMappingURL=UploadZoneInput-CXjerIVV.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EFontType as r } from "../components/Typography/enums.js";
|
|
2
|
+
const t = "underline__32d95373", n = "strikethrough__aa1c23dd", s = "underlineStrikethrough__6397a224", o = "typography__7e303a7f", a = "primary__27d6ea21", c = "complementary__c7ba8dea", d = "secondary__d381e93f", i = "tertiary__86c6d39c", _ = "disabled__c7320f99", y = "brand__a46b57e5", p = "info__07048766", m = "success__b6049f18", h = "error__4133e982", l = "warning__315dd327", u = "system__7728dabd", b = "compact__bb5e7a66", e = {
|
|
3
|
+
underline: t,
|
|
4
|
+
strikethrough: n,
|
|
5
|
+
underlineStrikethrough: s,
|
|
6
|
+
typography: o,
|
|
7
|
+
primary: a,
|
|
8
|
+
complementary: c,
|
|
9
|
+
secondary: d,
|
|
10
|
+
tertiary: i,
|
|
11
|
+
disabled: _,
|
|
12
|
+
brand: y,
|
|
13
|
+
info: p,
|
|
14
|
+
success: m,
|
|
15
|
+
error: h,
|
|
16
|
+
warning: l,
|
|
17
|
+
system: u,
|
|
18
|
+
compact: b
|
|
19
|
+
}, R = {
|
|
20
|
+
[r.PRIMARY]: e.primary,
|
|
21
|
+
[r.COMPLEMENTARY]: e.complementary,
|
|
22
|
+
[r.SECONDARY]: e.secondary,
|
|
23
|
+
[r.TERTIARY]: e.tertiary,
|
|
24
|
+
[r.DISABLED]: e.disabled,
|
|
25
|
+
[r.BRAND]: e.brand,
|
|
26
|
+
[r.INFO]: e.info,
|
|
27
|
+
[r.SUCCESS]: e.success,
|
|
28
|
+
[r.ERROR]: e.error,
|
|
29
|
+
[r.WARNING]: e.warning,
|
|
30
|
+
[r.SYSTEM]: e.system
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
R as m,
|
|
34
|
+
e as t
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=utils-bbbspEnw.js.map
|
|
@@ -5,10 +5,10 @@ import { alertTypeToClassNameMap as m } from "../AlertTypeUtils.js";
|
|
|
5
5
|
import { Text as y } from "../../Typography/Text.js";
|
|
6
6
|
import { EFontType as r, ETextSize as f } from "../../Typography/enums.js";
|
|
7
7
|
import { SystemStrokeStsIcon16 as I, ErrorStrokeStsIcon16 as S, WarningStrokeStsIcon16 as i, InfoStrokeStsIcon16 as R } from "@sberbusiness/icons-next";
|
|
8
|
-
import { c as
|
|
9
|
-
const
|
|
10
|
-
alertContext:
|
|
11
|
-
alertContextText:
|
|
8
|
+
import { c as N } from "../../../chunks/vendor-D-uL_icH.js";
|
|
9
|
+
const _ = "alertContext__c6b14ba5", d = "alertContextText__ffe826e1", E = "alertTypeError__68fefbb8", C = "alertTypeInfo__10294097", u = "alertTypeWarning__82d4628a", A = "alertTypeSystem__99bcd9dc", n = {
|
|
10
|
+
alertContext: _,
|
|
11
|
+
alertContextText: d,
|
|
12
12
|
alertTypeError: E,
|
|
13
13
|
alertTypeInfo: C,
|
|
14
14
|
alertTypeWarning: u,
|
|
@@ -29,14 +29,14 @@ const N = "alertContext__afadde77", _ = "alertContextText__9688d2fb", E = "alert
|
|
|
29
29
|
[e.WARNING]: r.WARNING,
|
|
30
30
|
[e.ERROR]: r.ERROR,
|
|
31
31
|
[e.SYSTEM]: r.SECONDARY
|
|
32
|
-
},
|
|
32
|
+
}, b = x.forwardRef(
|
|
33
33
|
({ children: o, className: l, type: a, renderIcon: s, ...p }, c) => /* @__PURE__ */ T(
|
|
34
34
|
"span",
|
|
35
35
|
{
|
|
36
36
|
role: "alert",
|
|
37
|
-
className:
|
|
37
|
+
className: N(n.alertContext, m[a](n), l),
|
|
38
38
|
...p,
|
|
39
|
-
"data-tx": "1.1.
|
|
39
|
+
"data-tx": "1.1.1",
|
|
40
40
|
ref: c,
|
|
41
41
|
children: [
|
|
42
42
|
s || O(a),
|
|
@@ -45,8 +45,8 @@ const N = "alertContext__afadde77", _ = "alertContextText__9688d2fb", E = "alert
|
|
|
45
45
|
}
|
|
46
46
|
)
|
|
47
47
|
);
|
|
48
|
-
|
|
48
|
+
b.displayName = "AlertContext";
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
b as AlertContext
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=AlertContext.js.map
|
|
@@ -3,7 +3,7 @@ import P, { useState as n } from "react";
|
|
|
3
3
|
import { EAlertType as t } from "../EAlertType.js";
|
|
4
4
|
import { alertTypeToClassNameMap as k } from "../AlertTypeUtils.js";
|
|
5
5
|
import { ButtonIcon as v } from "../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-Caa0745n.js";
|
|
7
7
|
import { AlertProcessContext as R } from "./AlertProcessContext.js";
|
|
8
8
|
import { CrossStrokeSrvIcon16 as E, DefaulticonStrokePrdIcon20 as T, SystemStrokeStsIcon20 as y, ErrorStrokeStsIcon20 as j, WarningStrokeStsIcon20 as w, InfoStrokeStsIcon20 as B } from "@sberbusiness/icons-next";
|
|
9
9
|
import { c as C } from "../../../chunks/vendor-D-uL_icH.js";
|
|
@@ -38,7 +38,7 @@ const O = (o) => {
|
|
|
38
38
|
d
|
|
39
39
|
),
|
|
40
40
|
...f,
|
|
41
|
-
"data-tx": "1.1.
|
|
41
|
+
"data-tx": "1.1.1",
|
|
42
42
|
ref: u,
|
|
43
43
|
children: [
|
|
44
44
|
/* @__PURE__ */ e("div", { className: r.themeIcon, children: l || O(a) }),
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "@sberbusiness/icons-next";
|
|
4
4
|
import "../../../Button/ButtonIcon.js";
|
|
5
5
|
import "../AlertProcessContext.js";
|
|
6
|
-
import { A as l } from "../../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { A as l } from "../../../../chunks/AlertProcessSpoiler-Caa0745n.js";
|
|
7
7
|
import "../../../../chunks/vendor-D-uL_icH.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
package/components/Body/Body.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const y = "
|
|
2
|
+
import n from "react";
|
|
3
|
+
import { c as t } from "../../chunks/vendor-D-uL_icH.js";
|
|
4
|
+
const y = "body__79f29b7d", b = "bodyInner__d4a9b66a", d = {
|
|
5
5
|
body: y,
|
|
6
|
-
bodyInner:
|
|
7
|
-
},
|
|
8
|
-
|
|
6
|
+
bodyInner: b
|
|
7
|
+
}, c = n.forwardRef(({ children: a, className: r, ...s }, e) => /* @__PURE__ */ o("div", { className: t(d.body, r), ...s, "data-tx": "1.1.1", ref: e, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: a }) }));
|
|
8
|
+
c.displayName = "Body";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
c as Body
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Body.js.map
|