@arthurzakharov/ui-kit 1.4.3 → 1.4.5
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/dist/animation.module-DQXuL9kR.js +6 -0
- package/dist/animations/animation-fade-grow/animation-fade-grow.component.js +31 -24
- package/dist/animations/animation-fade-scale/animation-fade-scale.component.js +32 -24
- package/dist/animations/animation-fade-slide/animation-fade-slide.component.js +30 -21
- package/dist/animations/animation-rotate/animation-rotate.component.js +4 -3
- package/dist/assets/animation-rpq5162S.css +1 -0
- package/dist/assets/flex-BpQNkmJA.css +1 -0
- package/dist/assets/text-Bhvd-u-V.css +1 -0
- package/dist/components/accordion-table/accordion-table.component.d.ts +0 -7
- package/dist/components/bottom-bar/bottom-bar.component.js +31 -31
- package/dist/components/data-protected-label/data-protected-label.component.d.ts +3 -7
- package/dist/components/data-protected-label/data-protected-label.component.js +15 -19
- package/dist/components/flex/flex.component.d.ts +11 -11
- package/dist/components/flex/flex.component.js +9 -9
- package/dist/components/main-attachment/main-attachment.component.js +17 -10
- package/dist/components/message-block/message-block.component.d.ts +0 -3
- package/dist/components/message-block/message-block.component.js +16 -27
- package/dist/components/payment/components/text-blocks/text-blocks.component.js +3 -3
- package/dist/components/sidebar/components/info/info.component.js +10 -10
- package/dist/components/sidebar/components/step/step.component.js +4 -4
- package/dist/components/sidebar/sidebar.component.js +13 -13
- package/dist/components/signature/signature.component.js +140 -140
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +4 -0
- package/dist/components/text/text.component.d.ts +13 -540
- package/dist/components/text/text.component.js +129 -14
- package/dist/main.d.ts +1 -1
- package/dist/utils/content/content.component.d.ts +3 -1
- package/dist/utils/types.d.ts +13 -5
- package/package.json +10 -9
- package/dist/assets/flex-BhK_u9P8.css +0 -1
- package/dist/assets/page-info-Bs3RDQxp.css +0 -1
- package/dist/assets/page-subtitle-BrFA-H2S.css +0 -1
- package/dist/assets/page-title-BjnleMqb.css +0 -1
- package/dist/assets/sidebar-title-BQlVGM_v.css +0 -1
- package/dist/assets/step-title-1uG3ODlr.css +0 -1
- package/dist/assets/tag-xh8EHVuM.css +0 -1
- package/dist/components/text/components/page-info/page-info.component.d.ts +0 -2
- package/dist/components/text/components/page-info/page-info.component.js +0 -11
- package/dist/components/text/components/page-subtitle/page-subtitle.component.d.ts +0 -2
- package/dist/components/text/components/page-subtitle/page-subtitle.component.js +0 -10
- package/dist/components/text/components/page-title/page-title.component.d.ts +0 -2
- package/dist/components/text/components/page-title/page-title.component.js +0 -10
- package/dist/components/text/components/sidebar-title/sidebar-title.component.d.ts +0 -2
- package/dist/components/text/components/sidebar-title/sidebar-title.component.js +0 -10
- package/dist/components/text/components/step-title/step-title.component.d.ts +0 -2
- package/dist/components/text/components/step-title/step-title.component.js +0 -10
- package/dist/components/text/components/tag/tag.component.d.ts +0 -543
- package/dist/components/text/components/tag/tag.component.js +0 -69
|
@@ -1,35 +1,24 @@
|
|
|
1
|
-
import { jsxs as l, jsx as
|
|
2
|
-
import
|
|
3
|
-
import { baseProps as
|
|
1
|
+
import { jsxs as l, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import n from "clsx";
|
|
3
|
+
import { baseProps as d } from "../../utils/functions/functions.util.js";
|
|
4
4
|
import { Text as o } from "../text/text.component.js";
|
|
5
|
-
import '../../assets/message-block-DG1cePyB.css';const
|
|
6
|
-
MessageBlock:
|
|
7
|
-
Emoji:
|
|
8
|
-
Titles:
|
|
9
|
-
Content:
|
|
10
|
-
}, b = ({ children:
|
|
5
|
+
import '../../assets/message-block-DG1cePyB.css';const g = "_MessageBlock_14g5p_1", r = "_Emoji_14g5p_7", _ = "_Titles_14g5p_12", k = "_Content_14g5p_18", e = {
|
|
6
|
+
MessageBlock: g,
|
|
7
|
+
Emoji: r,
|
|
8
|
+
Titles: _,
|
|
9
|
+
Content: k
|
|
10
|
+
}, b = ({ children: m, emoji: c = "", title: t = "", subtitle: a = "", ...i }) => /* @__PURE__ */ l(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
|
-
"data-testid":
|
|
14
|
-
className:
|
|
13
|
+
"data-testid": d(i, "data-testid", "message-block"),
|
|
14
|
+
className: n(e.MessageBlock, d(i, "className")),
|
|
15
15
|
children: [
|
|
16
|
-
|
|
17
|
-
(t || a) && /* @__PURE__ */ l("div", { "data-testid": "message-block-titles", className:
|
|
18
|
-
t && /* @__PURE__ */
|
|
19
|
-
a && /* @__PURE__ */
|
|
16
|
+
c && /* @__PURE__ */ s("div", { "data-testid": "message-block-emoji", className: e.Emoji, children: c }),
|
|
17
|
+
(t || a) && /* @__PURE__ */ l("div", { "data-testid": "message-block-titles", className: e.Titles, children: [
|
|
18
|
+
t && /* @__PURE__ */ s(o, { "data-testid": "message-block-title", tag: "h2", weight: "medium", size: "hl2", children: t }),
|
|
19
|
+
a && /* @__PURE__ */ s(o, { "data-testid": "message-block-subtitle", tag: "h6", color: "text-secondary", children: a })
|
|
20
20
|
] }),
|
|
21
|
-
/* @__PURE__ */ e
|
|
22
|
-
o.Tag,
|
|
23
|
-
{
|
|
24
|
-
"data-testid": "message-block-content",
|
|
25
|
-
tag: "div",
|
|
26
|
-
weight: "regular",
|
|
27
|
-
size: "regular",
|
|
28
|
-
color: "primary",
|
|
29
|
-
className: s.Content,
|
|
30
|
-
children: g
|
|
31
|
-
}
|
|
32
|
-
)
|
|
21
|
+
/* @__PURE__ */ s(o, { "data-testid": "message-block-content", tag: "div", className: e.Content, children: m })
|
|
33
22
|
]
|
|
34
23
|
}
|
|
35
24
|
);
|
|
@@ -4,7 +4,7 @@ import '../../../../assets/text-blocks-BFlmgDQ2.css';const B = "_TextBlocks_16ga
|
|
|
4
4
|
TextBlocks: B,
|
|
5
5
|
TextBlocksContent: d,
|
|
6
6
|
TextBlocksTitle: k
|
|
7
|
-
},
|
|
7
|
+
}, f = (x) => {
|
|
8
8
|
const { blocks: a = [] } = x, T = (t) => {
|
|
9
9
|
let e = t.title, s = t.text;
|
|
10
10
|
return t.placeholders && Object.keys(t.placeholders).forEach((l) => {
|
|
@@ -18,9 +18,9 @@ import '../../../../assets/text-blocks-BFlmgDQ2.css';const B = "_TextBlocks_16ga
|
|
|
18
18
|
};
|
|
19
19
|
return /* @__PURE__ */ c("div", { className: o.TextBlocks, children: a.map(T).map(({ title: t, text: e }, s) => /* @__PURE__ */ r("div", { className: o.TextBlocksContent, children: [
|
|
20
20
|
/* @__PURE__ */ c("h6", { className: o.TextBlocksTitle, children: t }),
|
|
21
|
-
/* @__PURE__ */ c(p
|
|
21
|
+
/* @__PURE__ */ c(p, { children: e })
|
|
22
22
|
] }, s)) });
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
f as TextBlocks
|
|
26
26
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Flex as
|
|
3
|
-
import { Text as
|
|
4
|
-
const
|
|
5
|
-
const { data:
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
] },
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { Flex as e } from "../../../flex/flex.component.js";
|
|
3
|
+
import { Text as o } from "../../../text/text.component.js";
|
|
4
|
+
const d = (i) => {
|
|
5
|
+
const { data: n = [] } = i;
|
|
6
|
+
return /* @__PURE__ */ t(e, { direction: "column", justify: "start", gap: "sm", children: n.map(([r, s]) => /* @__PURE__ */ a(e, { direction: "row", gap: "xs", align: "center", justify: "space-between", children: [
|
|
7
|
+
/* @__PURE__ */ t(o, { tag: "span", size: "body-small", color: "text-secondary", children: r }),
|
|
8
|
+
/* @__PURE__ */ t(o, { tag: "span", size: "body-small", align: "right", children: s })
|
|
9
|
+
] }, r)) });
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
d as Info
|
|
13
13
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { ControlStatus as s } from "../../../../controls/control-status/control-status.component.js";
|
|
3
3
|
import { Flex as m } from "../../../flex/flex.component.js";
|
|
4
|
-
import { Text as
|
|
5
|
-
const
|
|
4
|
+
import { Text as n } from "../../../text/text.component.js";
|
|
5
|
+
const c = (e) => {
|
|
6
6
|
const { state: t = "idle", text: o = "" } = e;
|
|
7
7
|
return /* @__PURE__ */ i(m, { direction: "row", align: "center", justify: "start", gap: "xs", children: [
|
|
8
8
|
/* @__PURE__ */ r(s, { state: t }),
|
|
9
|
-
/* @__PURE__ */ r(
|
|
9
|
+
/* @__PURE__ */ r(n, { tag: "span", weight: "medium", size: "body-small", color: t === "idle" ? "text-secondary" : "text-primary", children: o })
|
|
10
10
|
] });
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
c as Step
|
|
14
14
|
};
|
|
@@ -2,31 +2,31 @@ import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { AnimationFadeScale as r } from "../../animations/animation-fade-scale/animation-fade-scale.component.js";
|
|
3
3
|
import { Certifications as f } from "../certifications/certifications.component.js";
|
|
4
4
|
import { Line as o } from "../line/line.component.js";
|
|
5
|
-
import { Text as
|
|
6
|
-
import { UserPanel as
|
|
5
|
+
import { Text as p } from "../text/text.component.js";
|
|
6
|
+
import { UserPanel as S } from "../user-panel/user-panel.component.js";
|
|
7
7
|
import { Board as h } from "./components/board/board.component.js";
|
|
8
8
|
import { Info as u } from "./components/info/info.component.js";
|
|
9
|
-
import { Steps as
|
|
10
|
-
import '../../assets/sidebar-B3KPFpFU.css';const
|
|
11
|
-
SidebarTitle:
|
|
12
|
-
SidebarButton:
|
|
9
|
+
import { Steps as _ } from "./components/steps/steps.component.js";
|
|
10
|
+
import '../../assets/sidebar-B3KPFpFU.css';const B = "_SidebarTitle_1sscs_1", T = "_SidebarButton_1sscs_2", a = {
|
|
11
|
+
SidebarTitle: B,
|
|
12
|
+
SidebarButton: T
|
|
13
13
|
}, F = ({
|
|
14
14
|
children: n,
|
|
15
15
|
isButtonVisible: d = !1,
|
|
16
|
-
isUserOpen:
|
|
17
|
-
title:
|
|
18
|
-
steps:
|
|
16
|
+
isUserOpen: s = !1,
|
|
17
|
+
title: m = "Ihre Übersicht",
|
|
18
|
+
steps: c = [],
|
|
19
19
|
info: l = [],
|
|
20
20
|
certifications: b = [],
|
|
21
21
|
user: i
|
|
22
22
|
}) => /* @__PURE__ */ e(h, { children: [
|
|
23
|
-
/* @__PURE__ */ t(
|
|
24
|
-
/* @__PURE__ */ t(
|
|
23
|
+
/* @__PURE__ */ t(p, { preset: "sidebar-title", className: a.SidebarTitle, children: m }),
|
|
24
|
+
/* @__PURE__ */ t(_, { data: c }),
|
|
25
25
|
/* @__PURE__ */ t(o, {}),
|
|
26
26
|
/* @__PURE__ */ t(u, { data: l }),
|
|
27
27
|
/* @__PURE__ */ t(o, {}),
|
|
28
|
-
/* @__PURE__ */ e(r, { name: "user", condition:
|
|
29
|
-
/* @__PURE__ */ t(
|
|
28
|
+
/* @__PURE__ */ e(r, { name: "user", condition: s, children: [
|
|
29
|
+
/* @__PURE__ */ t(S, { title: i.title, button: i.button, data: i.data, onClick: i.onClick }),
|
|
30
30
|
/* @__PURE__ */ t(o, {})
|
|
31
31
|
] }),
|
|
32
32
|
/* @__PURE__ */ t(r, { name: "button", condition: d, duration: 0.2, delay: 0.1, children: /* @__PURE__ */ t("div", { className: a.SidebarButton, children: n }) }),
|