@arthurzakharov/ui-kit 2.4.1 → 2.5.2

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 (63) hide show
  1. package/dist/animations/fade-grow/fade-grow.component.js +1 -1
  2. package/dist/animations/fade-scale/fade-scale.component.js +1 -1
  3. package/dist/animations/fade-slide/fade-slide.component.js +1 -1
  4. package/dist/assets/button-text-BkR57fNF.css +1 -0
  5. package/dist/assets/text-C982pFA7.css +1 -0
  6. package/dist/components/accordion-table/accordion-table.component.js +18 -19
  7. package/dist/components/bottom-bar/bottom-bar.component.js +8 -9
  8. package/dist/components/certifications/certifications.component.js +3 -4
  9. package/dist/components/data-protected-label/data-protected-label.component.js +10 -11
  10. package/dist/components/dialog/dialog.component.js +1 -1
  11. package/dist/components/dialog-article/dialog-article.component.js +8 -9
  12. package/dist/components/expenses/expenses.component.js +6 -7
  13. package/dist/components/footer/footer.component.js +3 -4
  14. package/dist/components/form-row/form-row.component.js +6 -7
  15. package/dist/components/header/header.component.js +1 -1
  16. package/dist/components/info-panel/info-panel.component.js +6 -7
  17. package/dist/components/information/information.component.js +13 -14
  18. package/dist/components/layout/layout.component.js +1 -1
  19. package/dist/components/loader/loader.component.js +9 -10
  20. package/dist/components/main-attachment/main-attachment.component.js +1 -1
  21. package/dist/components/message/message.component.js +3 -4
  22. package/dist/components/message-block/message-block.component.js +3 -4
  23. package/dist/components/not-found/not-found.component.js +3 -4
  24. package/dist/components/payment/components/glass/glass.component.js +10 -11
  25. package/dist/components/payment/components/info/info.component.js +12 -13
  26. package/dist/components/sidebar/sidebar.component.d.ts +1 -1
  27. package/dist/components/sidebar/sidebar.component.js +34 -35
  28. package/dist/components/signature/signature.component.js +8 -9
  29. package/dist/components/text/text.component.js +41 -41
  30. package/dist/components/user-panel/user-panel.component.js +5 -6
  31. package/dist/components/warranty/warranty.component.js +8 -9
  32. package/dist/controls/buttons/button/button.component.js +10 -11
  33. package/dist/controls/buttons/button-card/button-card.component.js +7 -8
  34. package/dist/controls/buttons/button-radio/button-radio.component.js +2 -3
  35. package/dist/controls/buttons/button-text/button-text.component.d.ts +3 -2
  36. package/dist/controls/buttons/button-text/button-text.component.js +106 -84
  37. package/dist/controls/interactives/card-image/card-image.component.js +16 -17
  38. package/dist/controls/interactives/card-text/card-text.component.js +17 -18
  39. package/dist/controls/interactives/checkbox/checkbox.component.js +7 -8
  40. package/dist/controls/interactives/dropdown/dropdown.component.js +8 -9
  41. package/dist/controls/interactives/input/input.component.js +11 -12
  42. package/dist/controls/interactives/radio/radio.component.js +7 -8
  43. package/dist/controls/interactives/text-area/text-area.component.js +7 -8
  44. package/dist/controls/interactives/text-field/text-field.component.js +7 -8
  45. package/dist/controls/primitives/box/box.component.js +15 -16
  46. package/dist/controls/primitives/caption/caption.component.js +7 -8
  47. package/dist/controls/primitives/choice/choice.component.js +10 -11
  48. package/dist/controls/primitives/error-message/error-message.component.js +3 -4
  49. package/dist/controls/primitives/hidden-input/hidden-input.component.js +18 -19
  50. package/dist/controls/primitives/label/label.component.js +17 -18
  51. package/dist/controls/primitives/radio-label/radio-label.component.js +7 -8
  52. package/dist/controls/primitives/status/status.component.js +13 -14
  53. package/dist/controls/utils/types.d.ts +1 -1
  54. package/dist/main.d.ts +1 -0
  55. package/dist/main.js +3 -1
  56. package/dist/utils/functions/functions.util.d.ts +9 -0
  57. package/dist/utils/functions/functions.util.js +35 -15
  58. package/dist/utils/functions/index.js +5 -4
  59. package/dist/utils/svg/svg.component.js +1 -1
  60. package/dist/utils/types.d.ts +3 -1
  61. package/package.json +1 -3
  62. package/dist/assets/button-text-NCcWZ-LB.css +0 -1
  63. package/dist/assets/text-DYEJSFKw.css +0 -1
@@ -1,15 +1,14 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import d from "clsx";
3
- import { baseProps as a } from "../../utils/functions/functions.util.js";
4
- import '../../assets/expenses-BWqSN6hG.css';const u = "_Expenses_hfqkm_1", _ = "_Title_hfqkm_5", p = "_Content_hfqkm_13", h = "_SubContent_hfqkm_18", r = "_Amount_hfqkm_42", x = "_AmountKey_hfqkm_49", A = "_AmountValue_hfqkm_55", e = {
2
+ import { clsx as d, baseProps as a } from "../../utils/functions/functions.util.js";
3
+ import '../../assets/expenses-BWqSN6hG.css';const u = "_Expenses_hfqkm_1", _ = "_Title_hfqkm_5", p = "_Content_hfqkm_13", h = "_SubContent_hfqkm_18", x = "_Amount_hfqkm_42", r = "_AmountKey_hfqkm_49", A = "_AmountValue_hfqkm_55", e = {
5
4
  Expenses: u,
6
5
  Title: _,
7
6
  Content: p,
8
7
  SubContent: h,
9
- Amount: r,
10
- AmountKey: x,
8
+ Amount: x,
9
+ AmountKey: r,
11
10
  AmountValue: A
12
- }, q = ({ title: m, content: c, subContent: n, amountTitle: l, amountNumber: i, ...s }) => /* @__PURE__ */ o(
11
+ }, k = ({ title: m, content: c, subContent: n, amountTitle: l, amountNumber: i, ...s }) => /* @__PURE__ */ o(
13
12
  "div",
14
13
  {
15
14
  "data-testid": a(s, "data-testid", "expenses"),
@@ -26,5 +25,5 @@ import '../../assets/expenses-BWqSN6hG.css';const u = "_Expenses_hfqkm_1", _ = "
26
25
  }
27
26
  );
28
27
  export {
29
- q as Expenses
28
+ k as Expenses
30
29
  };
@@ -1,6 +1,5 @@
1
1
  import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
- import c from "clsx";
3
- import { baseProps as s } from "../../utils/functions/functions.util.js";
2
+ import { clsx as c, baseProps as s } from "../../utils/functions/functions.util.js";
4
3
  import '../../assets/footer-Dt0rYt73.css';const l = "_Footer_1qjpp_1", d = "_Copyright_1qjpp_11", _ = "_Links_1qjpp_18", m = "_Link_1qjpp_18", u = "_Button_1qjpp_32", h = "_Separator_1qjpp_44", t = {
5
4
  Footer: l,
6
5
  Copyright: d,
@@ -8,7 +7,7 @@ import '../../assets/footer-Dt0rYt73.css';const l = "_Footer_1qjpp_1", d = "_Cop
8
7
  Link: m,
9
8
  Button: u,
10
9
  Separator: h
11
- }, L = ({ name: n, links: i, ...a }) => /* @__PURE__ */ e(
10
+ }, j = ({ name: n, links: i, ...a }) => /* @__PURE__ */ e(
12
11
  "footer",
13
12
  {
14
13
  "data-testid": s(a, "data-testid", "footer"),
@@ -39,5 +38,5 @@ import '../../assets/footer-Dt0rYt73.css';const l = "_Footer_1qjpp_1", d = "_Cop
39
38
  }
40
39
  );
41
40
  export {
42
- L as Footer
41
+ j as Footer
43
42
  };
@@ -1,9 +1,8 @@
1
1
  import { jsx as X } from "react/jsx-runtime";
2
2
  import { Children as d, isValidElement as u } from "react";
3
- import f from "clsx";
4
- import { baseProps as _ } from "../../utils/functions/functions.util.js";
5
- import '../../assets/form-row-D6RaOZ-h.css';const L = "_FormRow_7ij1y_1", w = "_XXS_7ij1y_7", j = "_XS_7ij1y_12", S = "_SM_7ij1y_17", y = "_MD_7ij1y_22", F = "_LG_7ij1y_27", x = "_XL_7ij1y_32", v = "_XXL_7ij1y_37", b = "_XXXL_7ij1y_42", M = "_Child_7ij1y_52", o = {
6
- FormRow: L,
3
+ import { clsx as L, baseProps as _ } from "../../utils/functions/functions.util.js";
4
+ import '../../assets/form-row-D6RaOZ-h.css';const f = "_FormRow_7ij1y_1", w = "_XXS_7ij1y_7", j = "_XS_7ij1y_12", S = "_SM_7ij1y_17", y = "_MD_7ij1y_22", F = "_LG_7ij1y_27", x = "_XL_7ij1y_32", v = "_XXL_7ij1y_37", b = "_XXXL_7ij1y_42", M = "_Child_7ij1y_52", o = {
5
+ FormRow: f,
7
6
  XXS: w,
8
7
  XS: j,
9
8
  SM: S,
@@ -21,7 +20,7 @@ import '../../assets/form-row-D6RaOZ-h.css';const L = "_FormRow_7ij1y_1", w = "_
21
20
  "1/4": 3,
22
21
  "2/4": 6,
23
22
  "3/4": 9
24
- }, R = s[1], T = ({ children: r, gap: t = "sm", widths: e, ...a }) => {
23
+ }, R = s[1], D = ({ children: r, gap: t = "sm", widths: e, ...a }) => {
25
24
  if (d.count(r) === 0) return null;
26
25
  const l = d.toArray(r).filter(u);
27
26
  let c = !1;
@@ -42,7 +41,7 @@ import '../../assets/form-row-D6RaOZ-h.css';const L = "_FormRow_7ij1y_1", w = "_
42
41
  "div",
43
42
  {
44
43
  "data-testid": _(a, "data-testid", "form-row"),
45
- className: f(o.FormRow, _(a, "className"), {
44
+ className: L(o.FormRow, _(a, "className"), {
46
45
  [o.XXS]: t === "xxs",
47
46
  [o.XS]: t === "xs",
48
47
  [o.SM]: t === "sm",
@@ -66,5 +65,5 @@ import '../../assets/form-row-D6RaOZ-h.css';const L = "_FormRow_7ij1y_1", w = "_
66
65
  );
67
66
  };
68
67
  export {
69
- T as FormRow
68
+ D as FormRow
70
69
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as s, jsx as n } from "react/jsx-runtime";
2
2
  import { Phone as m, CircleCheck as h } from "lucide-react";
3
- import p from "clsx";
3
+ import { clsx as p } from "../../utils/functions/functions.util.js";
4
4
  import '../../assets/header-COBhsm2d.css';const u = "_Header_1823t_1", I = "_HeaderInfo_1823t_8", P = "_HeaderLogo_1823t_15", D = "_HeaderLogoPlaceholder_1823t_20", g = "_HeaderPhoneButton_1823t_26", N = "_HeaderPhoneButtonIcon_1823t_41", B = "_HeaderPhoneButtonNumber_1823t_48", f = "_HeaderDescriptions_1823t_49", L = "_HeaderDescriptionsIcon_1823t_75", z = "_HeaderDescriptionsIconSm_1823t_80", b = "_HeaderDescriptionsIconMd_1823t_85", e = {
5
5
  Header: u,
6
6
  HeaderInfo: I,
@@ -1,13 +1,12 @@
1
1
  import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
- import o from "clsx";
3
- import { baseProps as n } from "../../utils/functions/functions.util.js";
4
- import '../../assets/info-panel-DT7lLHJR.css';const c = "_InfoPanel_1xmmg_1", d = "_List_1xmmg_30", _ = "_Item_1xmmg_40", r = "_Key_1xmmg_48", f = "_Value_1xmmg_52", a = {
2
+ import { clsx as o, baseProps as n } from "../../utils/functions/functions.util.js";
3
+ import '../../assets/info-panel-DT7lLHJR.css';const c = "_InfoPanel_1xmmg_1", d = "_List_1xmmg_30", _ = "_Item_1xmmg_40", f = "_Key_1xmmg_48", p = "_Value_1xmmg_52", a = {
5
4
  InfoPanel: c,
6
5
  List: d,
7
6
  Item: _,
8
- Key: r,
9
- Value: f
10
- }, u = ({ data: l, ...s }) => /* @__PURE__ */ e(
7
+ Key: f,
8
+ Value: p
9
+ }, I = ({ data: l, ...s }) => /* @__PURE__ */ e(
11
10
  "div",
12
11
  {
13
12
  "data-testid": n(s, "data-testid", "info-panel"),
@@ -19,5 +18,5 @@ import '../../assets/info-panel-DT7lLHJR.css';const c = "_InfoPanel_1xmmg_1", d
19
18
  }
20
19
  );
21
20
  export {
22
- u as InfoPanel
21
+ I as InfoPanel
23
22
  };
@@ -1,24 +1,23 @@
1
- import { jsxs as a, jsx as n } from "react/jsx-runtime";
2
- import { forwardRef as i } from "react";
3
- import { Info as c } from "lucide-react";
4
- import f from "clsx";
5
- import { baseProps as r } from "../../utils/functions/functions.util.js";
6
- import '../../assets/information-D-nqKgE6.css';const e = "_Information_1g632_1", I = "_Icon_1g632_16", _ = "_Text_1g632_25", o = {
7
- Information: e,
1
+ import { jsxs as m, jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as c } from "react";
3
+ import { Info as i } from "lucide-react";
4
+ import { clsx as e, baseProps as s } from "../../utils/functions/functions.util.js";
5
+ import '../../assets/information-D-nqKgE6.css';const f = "_Information_1g632_1", I = "_Icon_1g632_16", _ = "_Text_1g632_25", o = {
6
+ Information: f,
8
7
  Icon: I,
9
8
  Text: _
10
- }, T = i(({ children: m, ...t }, s) => /* @__PURE__ */ a(
9
+ }, N = c(({ children: a, ...t }, r) => /* @__PURE__ */ m(
11
10
  "div",
12
11
  {
13
- "data-testid": r(t, "data-testid", "information"),
14
- className: f(o.Information, r(t, "className")),
15
- ref: s,
12
+ "data-testid": s(t, "data-testid", "information"),
13
+ className: e(o.Information, s(t, "className")),
14
+ ref: r,
16
15
  children: [
17
- /* @__PURE__ */ n(c, { className: o.Icon }),
18
- /* @__PURE__ */ n("div", { className: o.Text, children: m })
16
+ /* @__PURE__ */ n(i, { className: o.Icon }),
17
+ /* @__PURE__ */ n("div", { className: o.Text, children: a })
19
18
  ]
20
19
  }
21
20
  ));
22
21
  export {
23
- T as Information
22
+ N as Information
24
23
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
- import y from "clsx";
2
+ import { clsx as y } from "../../utils/functions/functions.util.js";
3
3
  import '../../assets/layout-Cl9eR89o.css';const L = "_Layout_15p0u_1", d = "_LayoutWithoutSidebar_15p0u_20", c = "_LayoutWithSidebarOnBigScreens_15p0u_21", _ = "_LayoutWithSidebarOnAllScreens_15p0u_29", l = "_LayoutContent_15p0u_39", S = "_LayoutAside_15p0u_58", h = "_LayoutMain_15p0u_66", b = "_LayoutHeader_15p0u_75", p = "_LayoutFooter_15p0u_82", t = {
4
4
  Layout: L,
5
5
  LayoutWithoutSidebar: d,
@@ -1,12 +1,11 @@
1
1
  import { jsxs as n, jsx as s } from "react/jsx-runtime";
2
- import _ from "clsx";
2
+ import { clsx as r, baseProps as o } from "../../utils/functions/functions.util.js";
3
3
  import { Loader as x } from "lucide-react";
4
- import { baseProps as o } from "../../utils/functions/functions.util.js";
5
4
  import { getLoaderSize as X } from "./loader.utils.js";
6
- import '../../assets/loader-DadlBlOF.css';const m = "_Loader_px5cg_1", i = "_Padding_px5cg_5", L = "_XXS_px5cg_10", d = "_XS_px5cg_14", S = "_SM_px5cg_18", y = "_MD_px5cg_22", p = "_LG_px5cg_26", g = "_XL_px5cg_30", P = "_XXL_px5cg_34", A = "_XXXL_px5cg_38", M = "_Icon_px5cg_42", T = "_White_px5cg_47", l = "_TextPrimary_px5cg_51", h = "_TextSecondary_px5cg_55", f = "_AccentPrimary_px5cg_59", D = "_AccentSecondary_px5cg_63", c = {
7
- Loader: m,
5
+ import '../../assets/loader-DadlBlOF.css';const L = "_Loader_px5cg_1", i = "_Padding_px5cg_5", m = "_XXS_px5cg_10", d = "_XS_px5cg_14", S = "_SM_px5cg_18", y = "_MD_px5cg_22", p = "_LG_px5cg_26", g = "_XL_px5cg_30", P = "_XXL_px5cg_34", A = "_XXXL_px5cg_38", M = "_Icon_px5cg_42", T = "_White_px5cg_47", l = "_TextPrimary_px5cg_51", h = "_TextSecondary_px5cg_55", f = "_AccentPrimary_px5cg_59", D = "_AccentSecondary_px5cg_63", c = {
6
+ Loader: L,
8
7
  Padding: i,
9
- XXS: L,
8
+ XXS: m,
10
9
  XS: d,
11
10
  SM: S,
12
11
  MD: y,
@@ -20,11 +19,11 @@ import '../../assets/loader-DadlBlOF.css';const m = "_Loader_px5cg_1", i = "_Pad
20
19
  TextSecondary: h,
21
20
  AccentPrimary: f,
22
21
  AccentSecondary: D
23
- }, z = ({ color: e, size: a, padding: t, ...r }) => /* @__PURE__ */ n(
22
+ }, j = ({ color: e, size: a, padding: t, ..._ }) => /* @__PURE__ */ n(
24
23
  "div",
25
24
  {
26
- "data-testid": o(r, "data-testid", "loader"),
27
- className: _(c.Loader, o(r, "className"), {
25
+ "data-testid": o(_, "data-testid", "loader"),
26
+ className: r(c.Loader, o(_, "className"), {
28
27
  [c.Padding]: !!t,
29
28
  [c.XXS]: t === "xxs",
30
29
  [c.XS]: t === "xs",
@@ -41,7 +40,7 @@ import '../../assets/loader-DadlBlOF.css';const m = "_Loader_px5cg_1", i = "_Pad
41
40
  {
42
41
  "data-testid": "loader-icon",
43
42
  size: X(a),
44
- className: _(c.Icon, {
43
+ className: r(c.Icon, {
45
44
  [c.White]: e === "white",
46
45
  [c.TextPrimary]: e === "text-primary",
47
46
  [c.TextSecondary]: e === "text-secondary",
@@ -55,5 +54,5 @@ import '../../assets/loader-DadlBlOF.css';const m = "_Loader_px5cg_1", i = "_Pad
55
54
  }
56
55
  );
57
56
  export {
58
- z as Loader
57
+ j as Loader
59
58
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as a } from "react/jsx-runtime";
2
- import h from "clsx";
2
+ import { clsx as h } from "../../utils/functions/functions.util.js";
3
3
  import { FadeScale as o } from "../../animations/fade-scale/fade-scale.component.js";
4
4
  import { Text as i } from "../text/text.component.js";
5
5
  import '../../assets/main-attachment-Cw8AP6xv.css';const r = "_MainAttachment_1oa7f_1", s = "_MainAttachmentTitle_1oa7f_5", A = "_MainAttachmentTitleWithSubtitle_1oa7f_9", M = "_MainAttachmentSubtitle_1oa7f_13", t = {
@@ -1,7 +1,6 @@
1
1
  import { jsxs as _, jsx as n } from "react/jsx-runtime";
2
2
  import { Check as g, CircleQuestionMark as d, X as f, CircleAlert as C } from "lucide-react";
3
- import l from "clsx";
4
- import { baseProps as a } from "../../utils/functions/functions.util.js";
3
+ import { clsx as l, baseProps as a } from "../../utils/functions/functions.util.js";
5
4
  import { Content as u } from "../../utils/content/content.component.js";
6
5
  import '../../assets/message-ByzpMD6r.css';const A = "_Message_1591m_1", x = "_Success_1591m_15", T = "_Icon_1591m_19", I = "_Question_1591m_23", N = "_Info_1591m_39", M = "_Content_1591m_52", h = "_ContentFull_1591m_61", F = "_AlignLeft_1591m_65", Q = "_AlignRight_1591m_69", L = "_AlignCenter_1591m_73", R = "_Title_1591m_77", S = "_Text_1591m_81", e = {
7
6
  Message: A,
@@ -17,7 +16,7 @@ import '../../assets/message-ByzpMD6r.css';const A = "_Message_1591m_1", x = "_S
17
16
  AlignCenter: L,
18
17
  Title: R,
19
18
  Text: S
20
- }, m = (t, o, c) => typeof t == "string" ? /* @__PURE__ */ n(u, { "data-testid": o, className: c, children: t }) : t, p = ({ type: t, title: o, text: c, withoutIcon: s, align: i = "left", ...r }) => /* @__PURE__ */ _(
19
+ }, m = (t, o, c) => typeof t == "string" ? /* @__PURE__ */ n(u, { "data-testid": o, className: c, children: t }) : t, $ = ({ type: t, title: o, text: c, withoutIcon: s, align: i = "left", ...r }) => /* @__PURE__ */ _(
21
20
  "div",
22
21
  {
23
22
  "data-testid": a(r, "data-testid", "message"),
@@ -51,5 +50,5 @@ import '../../assets/message-ByzpMD6r.css';const A = "_Message_1591m_1", x = "_S
51
50
  }
52
51
  );
53
52
  export {
54
- p as Message
53
+ $ as Message
55
54
  };
@@ -1,13 +1,12 @@
1
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";
2
+ import { clsx as n, baseProps as d } from "../../utils/functions/functions.util.js";
4
3
  import { Text as o } from "../text/text.component.js";
5
4
  import '../../assets/message-block-DG1cePyB.css';const g = "_MessageBlock_14g5p_1", r = "_Emoji_14g5p_7", _ = "_Titles_14g5p_12", k = "_Content_14g5p_18", e = {
6
5
  MessageBlock: g,
7
6
  Emoji: r,
8
7
  Titles: _,
9
8
  Content: k
10
- }, b = ({ children: m, emoji: c = "", title: t = "", subtitle: a = "", ...i }) => /* @__PURE__ */ l(
9
+ }, x = ({ children: m, emoji: c = "", title: t = "", subtitle: a = "", ...i }) => /* @__PURE__ */ l(
11
10
  "div",
12
11
  {
13
12
  "data-testid": d(i, "data-testid", "message-block"),
@@ -23,5 +22,5 @@ import '../../assets/message-block-DG1cePyB.css';const g = "_MessageBlock_14g5p_
23
22
  }
24
23
  );
25
24
  export {
26
- b as MessageBlock
25
+ x as MessageBlock
27
26
  };
@@ -1,6 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import _ from "clsx";
3
- import { baseProps as o } from "../../utils/functions/functions.util.js";
2
+ import { clsx as _, baseProps as o } from "../../utils/functions/functions.util.js";
4
3
  import '../../assets/not-found-CyFlnajG.css';const b = "_NotFound_d40xv_1", T = "_Title_d40xv_9", u = "_Subtitle_d40xv_16", r = "_TableTitle_d40xv_23", m = "_Table_d40xv_23", h = "_TableRow_d40xv_38", N = "_CellHead_d40xv_42", x = "_CellData_d40xv_43", t = {
5
4
  NotFound: b,
6
5
  Title: T,
@@ -10,7 +9,7 @@ import '../../assets/not-found-CyFlnajG.css';const b = "_NotFound_d40xv_1", T =
10
9
  TableRow: h,
11
10
  CellHead: N,
12
11
  CellData: x
13
- }, p = ({ title: s, subtitle: n, tableTitle: i, tableRows: c, ...a }) => /* @__PURE__ */ d(
12
+ }, C = ({ title: s, subtitle: n, tableTitle: i, tableRows: c, ...a }) => /* @__PURE__ */ d(
14
13
  "section",
15
14
  {
16
15
  "data-testid": o(a, "data-testid", "not-found"),
@@ -34,5 +33,5 @@ import '../../assets/not-found-CyFlnajG.css';const b = "_NotFound_d40xv_1", T =
34
33
  }
35
34
  );
36
35
  export {
37
- p as NotFound
36
+ C as NotFound
38
37
  };
@@ -1,33 +1,32 @@
1
1
  import { jsxs as c, jsx as s } from "react/jsx-runtime";
2
- import m from "clsx";
3
- import { Loader as l } from "../../../loader/loader.component.js";
4
- import { baseProps as o } from "../../../../utils/functions/functions.util.js";
2
+ import { clsx as l, baseProps as o } from "../../../../utils/functions/functions.util.js";
3
+ import { Loader as m } from "../../../loader/loader.component.js";
5
4
  import { m as n } from "../../../../proxy-CmTphuYR.js";
6
5
  import { A as p } from "../../../../index-CPvYWadf.js";
7
- import '../../../../assets/glass-CfX3rUed.css';const d = "_Glass_12crp_1", f = "_Cover_12crp_5", r = {
6
+ import '../../../../assets/glass-CfX3rUed.css';const d = "_Glass_12crp_1", f = "_Cover_12crp_5", t = {
8
7
  Glass: d,
9
8
  Cover: f
10
- }, h = ({ children: t, on: e, withLoader: i = !1, ...a }) => /* @__PURE__ */ c(
9
+ }, C = ({ children: e, on: r, withLoader: i = !1, ...a }) => /* @__PURE__ */ c(
11
10
  "div",
12
11
  {
13
12
  "data-testid": o(a, "data-testid", "payment-glass"),
14
- className: m(r.Glass, o(a, "className")),
13
+ className: l(t.Glass, o(a, "className")),
15
14
  children: [
16
- /* @__PURE__ */ s(p, { mode: "sync", children: e && /* @__PURE__ */ s(
15
+ /* @__PURE__ */ s(p, { mode: "sync", children: r && /* @__PURE__ */ s(
17
16
  n.div,
18
17
  {
19
18
  initial: { opacity: 0, scale: 0.75 },
20
19
  animate: { opacity: 1, scale: 1 },
21
20
  exit: { opacity: 0, scale: 0.75 },
22
21
  transition: { duration: 0.125 },
23
- className: r.Cover,
24
- children: i && /* @__PURE__ */ s(l, { size: "lg", color: "accent-primary" })
22
+ className: t.Cover,
23
+ children: i && /* @__PURE__ */ s(m, { size: "lg", color: "accent-primary" })
25
24
  }
26
25
  ) }),
27
- t
26
+ e
28
27
  ]
29
28
  }
30
29
  );
31
30
  export {
32
- h as Glass
31
+ C as Glass
33
32
  };
@@ -1,25 +1,24 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import s from "clsx";
2
+ import { clsx as s, baseProps as m } from "../../../../utils/functions/functions.util.js";
3
3
  import { Check as a, ArrowRight as _ } from "lucide-react";
4
- import { Content as p } from "../../../../utils/content/content.component.js";
5
- import { baseProps as m } from "../../../../utils/functions/functions.util.js";
6
- import '../../../../assets/info-Bx6imeeA.css';const C = "_Info_1pjmm_1", h = "_Title_1pjmm_14", I = "_List_1pjmm_23", d = "_Item_1pjmm_32", f = "_Content_1pjmm_39", j = "_Circle_1pjmm_45", N = "_CircleCheck_1pjmm_55", k = "_CircleArrow_1pjmm_59", w = "_Icon_1pjmm_63", c = {
7
- Info: C,
4
+ import { Content as C } from "../../../../utils/content/content.component.js";
5
+ import '../../../../assets/info-Bx6imeeA.css';const p = "_Info_1pjmm_1", h = "_Title_1pjmm_14", I = "_List_1pjmm_23", d = "_Item_1pjmm_32", j = "_Content_1pjmm_39", f = "_Circle_1pjmm_45", N = "_CircleCheck_1pjmm_55", k = "_CircleArrow_1pjmm_59", w = "_Icon_1pjmm_63", c = {
6
+ Info: p,
8
7
  Title: h,
9
8
  List: I,
10
9
  Item: d,
11
- Content: f,
12
- Circle: j,
10
+ Content: j,
11
+ Circle: f,
13
12
  CircleCheck: N,
14
13
  CircleArrow: k,
15
14
  Icon: w
16
- }, $ = ({ title: r, list: l, ...n }) => /* @__PURE__ */ o(
15
+ }, T = ({ title: n, list: l, ...r }) => /* @__PURE__ */ o(
17
16
  "div",
18
17
  {
19
- "data-testid": m(n, "data-testid", "payment-info"),
20
- className: s(c.Info, m(n, "className")),
18
+ "data-testid": m(r, "data-testid", "payment-info"),
19
+ className: s(c.Info, m(r, "className")),
21
20
  children: [
22
- r && /* @__PURE__ */ t("h6", { className: c.Title, children: r }),
21
+ n && /* @__PURE__ */ t("h6", { className: c.Title, children: n }),
23
22
  /* @__PURE__ */ t("ul", { className: c.List, children: l.map((e, i) => /* @__PURE__ */ o("li", { className: c.Item, children: [
24
23
  /* @__PURE__ */ o(
25
24
  "span",
@@ -34,11 +33,11 @@ import '../../../../assets/info-Bx6imeeA.css';const C = "_Info_1pjmm_1", h = "_T
34
33
  ]
35
34
  }
36
35
  ),
37
- /* @__PURE__ */ t(p, { className: c.Content, children: e.text })
36
+ /* @__PURE__ */ t(C, { className: c.Content, children: e.text })
38
37
  ] }, i)) })
39
38
  ]
40
39
  }
41
40
  );
42
41
  export {
43
- $ as Info
42
+ T as Info
44
43
  };
@@ -15,7 +15,7 @@ export interface SidebarProps extends PropsWithChildren<Base> {
15
15
  steps: SidebarStep[];
16
16
  info: SidebarInfo[];
17
17
  user: UserPanelProps;
18
- certifications: CertificationsProps['icons'];
18
+ certifications: CertificationsProps;
19
19
  }
20
20
  export declare const Sidebar: ({ children, isButtonVisible, isUserOpen, title, steps, info, certifications, user, ...base }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
21
21
  export {};
@@ -1,13 +1,12 @@
1
1
  import { jsx as t, jsxs as o, Fragment as u } from "react/jsx-runtime";
2
- import c from "clsx";
3
- import { FadeScale as _ } from "../../animations/fade-scale/fade-scale.component.js";
2
+ import { clsx as m, baseProps as S } from "../../utils/functions/functions.util.js";
3
+ import { FadeScale as h } from "../../animations/fade-scale/fade-scale.component.js";
4
4
  import { Certifications as B } from "../certifications/certifications.component.js";
5
- import { Line as s } from "../line/line.component.js";
6
- import { Text as n } from "../text/text.component.js";
5
+ import { Line as n } from "../line/line.component.js";
6
+ import { Text as s } from "../text/text.component.js";
7
7
  import { UserPanel as w } from "../user-panel/user-panel.component.js";
8
8
  import "../../controls/primitives/box/box.component.js";
9
9
  import "../../utils/content/content.component.js";
10
- import { baseProps as f } from "../../utils/functions/functions.util.js";
11
10
  import "lucide-react";
12
11
  import "usehooks-ts";
13
12
  import { Status as x } from "../../controls/primitives/status/status.component.js";
@@ -21,59 +20,59 @@ import '../../assets/sidebar-DyDlIXV0.css';const y = "_Sidebar_17t5d_1", A = "_B
21
20
  Step: $,
22
21
  InfoRow: j,
23
22
  NothingAbove: F
24
- }, W = ({
23
+ }, V = ({
25
24
  // Sidebar props
26
- children: h,
27
- isButtonVisible: m = !1,
25
+ children: f,
26
+ isButtonVisible: b = !1,
28
27
  isUserOpen: l = !1,
29
- title: S = "Ihre Übersicht",
30
- steps: N = [],
31
- info: g = [],
32
- certifications: v = [],
28
+ title: g = "Ihre Übersicht",
29
+ steps: v = [],
30
+ info: N = [],
31
+ certifications: c,
33
32
  user: a,
34
33
  // Base props
35
- ...b
34
+ ...p
36
35
  }) => {
37
- const p = g.filter(([, e]) => e.trim() !== ""), d = p.length > 0;
36
+ const _ = N.filter(([, e]) => e.trim() !== ""), d = _.length > 0;
38
37
  return /* @__PURE__ */ t(
39
38
  "div",
40
39
  {
41
- "data-testid": f(b, "data-testid", "sidebar"),
42
- className: c(i.Sidebar, f(b, "className")),
40
+ "data-testid": S(p, "data-testid", "sidebar"),
41
+ className: m(i.Sidebar, S(p, "className")),
43
42
  children: /* @__PURE__ */ o("div", { className: i.Board, children: [
44
- /* @__PURE__ */ t(n, { preset: "sidebar-title", className: i.SidebarTitle, children: S }),
45
- /* @__PURE__ */ t("div", { className: i.Steps, "data-testid": "sidebar-steps", children: N.map(({ state: e, text: r }) => /* @__PURE__ */ o("div", { className: i.Step, "data-testid": "sidebar-step", children: [
43
+ /* @__PURE__ */ t(s, { preset: "sidebar-title", className: i.SidebarTitle, children: g }),
44
+ /* @__PURE__ */ t("div", { className: i.Steps, "data-testid": "sidebar-steps", children: v.map(({ state: e, text: r }) => /* @__PURE__ */ o("div", { className: i.Step, "data-testid": "sidebar-step", children: [
46
45
  /* @__PURE__ */ t(x, { state: e }),
47
- /* @__PURE__ */ t(n, { tag: "span", weight: "medium", size: "body-small", color: e === "idle" ? "grey-400" : "text-primary", children: r })
46
+ /* @__PURE__ */ t(s, { tag: "span", weight: "medium", size: "body-small", color: e === "idle" ? "grey-400" : "text-primary", children: r })
48
47
  ] }, r)) }),
49
48
  d && /* @__PURE__ */ o(u, { children: [
50
- /* @__PURE__ */ t(s, {}),
51
- /* @__PURE__ */ t("div", { className: i.Info, "data-testid": "sidebar-info", children: p.map(([e, r], I) => /* @__PURE__ */ o("div", { className: i.InfoRow, "data-testid": "sidebar-info-row", children: [
52
- /* @__PURE__ */ t(n, { tag: "span", size: "body-small", color: "text-secondary", children: e }),
53
- /* @__PURE__ */ t(n, { tag: "span", size: "body-small", align: "right", children: r })
49
+ /* @__PURE__ */ t(n, {}),
50
+ /* @__PURE__ */ t("div", { className: i.Info, "data-testid": "sidebar-info", children: _.map(([e, r], I) => /* @__PURE__ */ o("div", { className: i.InfoRow, "data-testid": "sidebar-info-row", children: [
51
+ /* @__PURE__ */ t(s, { tag: "span", size: "body-small", color: "text-secondary", children: e }),
52
+ /* @__PURE__ */ t(s, { tag: "span", size: "body-small", align: "right", children: r })
54
53
  ] }, `${e}-${I}`)) }),
55
- /* @__PURE__ */ t(s, {})
54
+ /* @__PURE__ */ t(n, {})
56
55
  ] }),
57
- /* @__PURE__ */ o(_, { name: "user", condition: l, children: [
58
- !d && /* @__PURE__ */ t(s, {}),
56
+ /* @__PURE__ */ o(h, { name: "user", condition: l, children: [
57
+ !d && /* @__PURE__ */ t(n, {}),
59
58
  /* @__PURE__ */ t(w, { title: a.title, button: a.button, data: a.data, onClick: a.onClick }),
60
- /* @__PURE__ */ t(s, {})
59
+ /* @__PURE__ */ t(n, {})
61
60
  ] }),
62
- /* @__PURE__ */ t(_, { name: "button", condition: m, children: /* @__PURE__ */ t(
61
+ /* @__PURE__ */ t(h, { name: "button", condition: b, children: /* @__PURE__ */ t(
63
62
  "div",
64
63
  {
65
- className: c(i.SidebarButton, {
64
+ className: m(i.SidebarButton, {
66
65
  [i.NothingAbove]: !d && !l
67
66
  }),
68
- children: h
67
+ children: f
69
68
  }
70
69
  ) }),
70
+ /* @__PURE__ */ t(B, { icons: c.icons, tuvSrc: c.tuvSrc, align: c.align }),
71
71
  /* @__PURE__ */ t(
72
- B,
72
+ "div",
73
73
  {
74
- icons: v,
75
- className: c({
76
- [i.NothingAbove]: !d && !l && !m
74
+ className: m({
75
+ [i.NothingAbove]: !d && !l && !b
77
76
  })
78
77
  }
79
78
  )
@@ -82,5 +81,5 @@ import '../../assets/sidebar-DyDlIXV0.css';const y = "_Sidebar_17t5d_1", A = "_B
82
81
  );
83
82
  };
84
83
  export {
85
- W as Sidebar
84
+ V as Sidebar
86
85
  };
@@ -2,11 +2,10 @@ import { jsxs as te, jsx as Y } from "react/jsx-runtime";
2
2
  import We, { useRef as ze, useState as oe, useCallback as re, useEffect as xe } from "react";
3
3
  import { useResizeObserver as Ne } from "usehooks-ts";
4
4
  import { RefreshCw as Fe, RotateCcw as qe, Check as Be } from "lucide-react";
5
- import fe from "clsx";
6
- import { Button as Pe } from "../../controls/buttons/button/button.component.js";
5
+ import { clsx as fe, baseProps as Pe } from "../../utils/functions/functions.util.js";
6
+ import { Button as Ee } from "../../controls/buttons/button/button.component.js";
7
7
  import "../../controls/primitives/box/box.component.js";
8
8
  import "../../utils/content/content.component.js";
9
- import { baseProps as Ee } from "../../utils/functions/functions.util.js";
10
9
  import { ButtonText as ie } from "../../controls/buttons/button-text/button-text.component.js";
11
10
  import { Loader as Ue } from "../loader/loader.component.js";
12
11
  import '../../assets/signature-CYVRZH6h.css';function He(e) {
@@ -1096,7 +1095,7 @@ const ut = /* @__PURE__ */ He(st), ct = "_Signature_1sp4s_1", lt = "_Main_1sp4s_
1096
1095
  AutoPanelLabelText: Ct,
1097
1096
  AutoPanelError: Ot,
1098
1097
  AutoPanelErrorTitle: Rt
1099
- }, Ft = ({
1098
+ }, Nt = ({
1100
1099
  // Signature props
1101
1100
  auto: e,
1102
1101
  manual: a,
@@ -1153,8 +1152,8 @@ const ut = /* @__PURE__ */ He(st), ct = "_Signature_1sp4s_1", lt = "_Main_1sp4s_
1153
1152
  return /* @__PURE__ */ te(
1154
1153
  "div",
1155
1154
  {
1156
- "data-testid": Ee(d, "data-testid", "signature"),
1157
- className: fe(U.Signature, Ee(d, "className")),
1155
+ "data-testid": Pe(d, "data-testid", "signature"),
1156
+ className: fe(U.Signature, Pe(d, "className")),
1158
1157
  children: [
1159
1158
  /* @__PURE__ */ te(
1160
1159
  "div",
@@ -1240,9 +1239,9 @@ const ut = /* @__PURE__ */ He(st), ct = "_Signature_1sp4s_1", lt = "_Main_1sp4s_
1240
1239
  }
1241
1240
  ),
1242
1241
  H(["manual-blank", "manual-drawn"]) && /* @__PURE__ */ te("div", { className: U.Footer, children: [
1243
- /* @__PURE__ */ Y(Pe, { fullWidth: !0, blurAfterClick: !0, text: "Abbrechen", color: "tertiary", onClick: P }),
1242
+ /* @__PURE__ */ Y(Ee, { fullWidth: !0, blurAfterClick: !0, text: "Abbrechen", color: "tertiary", onClick: P }),
1244
1243
  /* @__PURE__ */ Y(
1245
- Pe,
1244
+ Ee,
1246
1245
  {
1247
1246
  fullWidth: !0,
1248
1247
  blurAfterClick: !0,
@@ -1258,5 +1257,5 @@ const ut = /* @__PURE__ */ He(st), ct = "_Signature_1sp4s_1", lt = "_Main_1sp4s_
1258
1257
  );
1259
1258
  };
1260
1259
  export {
1261
- Ft as Signature
1260
+ Nt as Signature
1262
1261
  };