@arthurzakharov/ui-kit 1.4.4 → 1.4.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.
Files changed (47) hide show
  1. package/dist/animations/animation-fade-grow/animation-fade-grow.component.js +29 -22
  2. package/dist/animations/animation-fade-scale/animation-fade-scale.component.js +27 -20
  3. package/dist/animations/animation-fade-slide/animation-fade-slide.component.js +32 -25
  4. package/dist/animations/animation-rotate/animation-rotate.component.js +4 -3
  5. package/dist/assets/flex-BpQNkmJA.css +1 -0
  6. package/dist/assets/text-Bhvd-u-V.css +1 -0
  7. package/dist/components/accordion-table/accordion-table.component.d.ts +0 -7
  8. package/dist/components/bottom-bar/bottom-bar.component.js +31 -31
  9. package/dist/components/data-protected-label/data-protected-label.component.d.ts +3 -7
  10. package/dist/components/data-protected-label/data-protected-label.component.js +15 -19
  11. package/dist/components/flex/flex.component.d.ts +11 -11
  12. package/dist/components/flex/flex.component.js +9 -9
  13. package/dist/components/main-attachment/main-attachment.component.js +17 -10
  14. package/dist/components/message-block/message-block.component.d.ts +0 -3
  15. package/dist/components/message-block/message-block.component.js +16 -27
  16. package/dist/components/payment/components/text-blocks/text-blocks.component.js +3 -3
  17. package/dist/components/sidebar/components/info/info.component.js +10 -10
  18. package/dist/components/sidebar/components/step/step.component.js +4 -4
  19. package/dist/components/sidebar/sidebar.component.js +13 -13
  20. package/dist/components/signature/signature.component.js +140 -140
  21. package/dist/components/text/index.d.ts +1 -0
  22. package/dist/components/text/index.js +4 -0
  23. package/dist/components/text/text.component.d.ts +13 -540
  24. package/dist/components/text/text.component.js +129 -14
  25. package/dist/main.d.ts +1 -1
  26. package/dist/utils/content/content.component.d.ts +3 -1
  27. package/dist/utils/types.d.ts +13 -5
  28. package/package.json +10 -9
  29. package/dist/assets/flex-BhK_u9P8.css +0 -1
  30. package/dist/assets/page-info-Bs3RDQxp.css +0 -1
  31. package/dist/assets/page-subtitle-BrFA-H2S.css +0 -1
  32. package/dist/assets/page-title-BjnleMqb.css +0 -1
  33. package/dist/assets/sidebar-title-BQlVGM_v.css +0 -1
  34. package/dist/assets/step-title-1uG3ODlr.css +0 -1
  35. package/dist/assets/tag-xh8EHVuM.css +0 -1
  36. package/dist/components/text/components/page-info/page-info.component.d.ts +0 -2
  37. package/dist/components/text/components/page-info/page-info.component.js +0 -11
  38. package/dist/components/text/components/page-subtitle/page-subtitle.component.d.ts +0 -2
  39. package/dist/components/text/components/page-subtitle/page-subtitle.component.js +0 -10
  40. package/dist/components/text/components/page-title/page-title.component.d.ts +0 -2
  41. package/dist/components/text/components/page-title/page-title.component.js +0 -10
  42. package/dist/components/text/components/sidebar-title/sidebar-title.component.d.ts +0 -2
  43. package/dist/components/text/components/sidebar-title/sidebar-title.component.js +0 -10
  44. package/dist/components/text/components/step-title/step-title.component.d.ts +0 -2
  45. package/dist/components/text/components/step-title/step-title.component.js +0 -10
  46. package/dist/components/text/components/tag/tag.component.d.ts +0 -543
  47. package/dist/components/text/components/tag/tag.component.js +0 -69
@@ -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
- }, g = (x) => {
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.Tag, { children: e })
21
+ /* @__PURE__ */ c(p, { children: e })
22
22
  ] }, s)) });
23
23
  };
24
24
  export {
25
- g as TextBlocks
25
+ f as TextBlocks
26
26
  };
@@ -1,13 +1,13 @@
1
- import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
- import { Flex as t } from "../../../flex/flex.component.js";
3
- import { Text as a } from "../../../text/text.component.js";
4
- const m = (i) => {
5
- const { data: o = [] } = i;
6
- return /* @__PURE__ */ r(t, { direction: "column", justify: "start", gap: "sm", children: o.map(([e, n]) => /* @__PURE__ */ s(t, { direction: "row", gap: "xs", align: "center", justify: "space-between", children: [
7
- /* @__PURE__ */ r(a.Tag, { tag: "span", weight: "regular", size: "small", color: "secondary", children: e }),
8
- /* @__PURE__ */ r(a.Tag, { tag: "span", weight: "regular", size: "small", color: "primary", align: "right", children: n })
9
- ] }, e)) });
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
- m as Info
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 a } from "../../../text/text.component.js";
5
- const d = (e) => {
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(a.Tag, { tag: "span", weight: "medium", size: "small", color: t === "idle" ? "secondary" : "primary", children: o })
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
- d as Step
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 S } from "../text/text.component.js";
6
- import { UserPanel as p } from "../user-panel/user-panel.component.js";
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 T } from "./components/steps/steps.component.js";
10
- import '../../assets/sidebar-B3KPFpFU.css';const _ = "_SidebarTitle_1sscs_1", B = "_SidebarButton_1sscs_2", a = {
11
- SidebarTitle: _,
12
- SidebarButton: B
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: m = !1,
17
- title: c = "Ihre Übersicht",
18
- steps: s = [],
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("div", { className: a.SidebarTitle, children: /* @__PURE__ */ t(S.SidebarTitle, { children: c }) }),
24
- /* @__PURE__ */ t(T, { data: s }),
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: m, children: [
29
- /* @__PURE__ */ t(p, { title: i.title, button: i.button, data: i.data, onClick: i.onClick }),
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 }) }),