@arthurzakharov/ui-kit 1.2.9 → 1.3.0

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 (57) hide show
  1. package/dist/assets/accordion-table-DWNXtJHt.css +1 -0
  2. package/dist/assets/info-panel-BAcoIlE-.css +1 -0
  3. package/dist/assets/information-D-nqKgE6.css +1 -0
  4. package/dist/components/accordion-table/accordion-table.component.d.ts +10 -8
  5. package/dist/components/accordion-table/accordion-table.component.js +67 -50
  6. package/dist/components/accordion-table/index.d.ts +1 -0
  7. package/dist/components/accordion-table/index.js +4 -0
  8. package/dist/components/animation/animation.component.d.ts +2 -0
  9. package/dist/components/animation/animation.component.js +8 -6
  10. package/dist/components/animation/fade-grow/fade-grow.component.d.ts +14 -0
  11. package/dist/components/animation/fade-grow/fade-grow.component.js +40 -0
  12. package/dist/components/animation/fade-scale/fade-scale.component.js +1 -1
  13. package/dist/components/animation/fade-slide/fade-slide.component.js +1 -1
  14. package/dist/components/bottom-bar/bottom-bar.component.js +1 -1
  15. package/dist/components/control/components/button-card/button-card.component.d.ts +1 -1
  16. package/dist/components/control/components/button-card/button-card.component.js +2 -2
  17. package/dist/components/control/components/button-radio/button-radio.component.js +1 -1
  18. package/dist/components/control/components/button-text/button-text.component.d.ts +1 -1
  19. package/dist/components/control/components/button-text/button-text.component.js +1 -1
  20. package/dist/components/control/components/card-image/card-image.component.js +1 -1
  21. package/dist/components/control/components/card-text/card-text.component.js +1 -1
  22. package/dist/components/control/components/checkbox/checkbox.component.js +1 -1
  23. package/dist/components/control/components/dropdown/dropdown.component.js +1 -1
  24. package/dist/components/control/components/radio/radio.component.js +1 -1
  25. package/dist/components/control/components/text/text.component.js +1 -1
  26. package/dist/components/control/components/textarea/textarea.component.js +1 -1
  27. package/dist/components/control/control.component.js +1 -1
  28. package/dist/components/dialog-article/dialog-article.component.js +1 -1
  29. package/dist/components/flex/flex.component.d.ts +158 -158
  30. package/dist/components/info-panel/index.d.ts +1 -0
  31. package/dist/components/info-panel/index.js +4 -0
  32. package/dist/components/info-panel/info-panel.component.d.ts +3 -2
  33. package/dist/components/info-panel/info-panel.component.js +12 -13
  34. package/dist/components/information/index.d.ts +1 -0
  35. package/dist/components/information/index.js +4 -0
  36. package/dist/components/information/information.component.d.ts +5 -6
  37. package/dist/components/information/information.component.js +13 -38
  38. package/dist/components/sidebar/components/step/step.component.js +1 -1
  39. package/dist/components/signature/signature.component.js +1 -1
  40. package/dist/components/text/components/tag/tag.component.d.ts +316 -316
  41. package/dist/components/text/text.component.d.ts +316 -316
  42. package/dist/components/user-panel/user-panel.component.js +5 -5
  43. package/dist/{control.component-Cq46ev8T.js → control.component-B0Jbmunv.js} +1 -1
  44. package/dist/main.d.ts +4 -4
  45. package/dist/main.js +2 -2
  46. package/dist/utils/content/content.component.d.ts +8 -0
  47. package/dist/utils/svg/index.d.ts +1 -0
  48. package/dist/utils/svg/index.js +4 -0
  49. package/dist/utils/svg/svg.component.d.ts +10 -0
  50. package/dist/utils/svg/svg.component.js +12 -0
  51. package/package.json +1 -1
  52. package/dist/assets/accordion-table-dU2T0YSw.css +0 -1
  53. package/dist/assets/info-panel-Dv3LM7__.css +0 -1
  54. package/dist/assets/information-D17SaeRr.css +0 -1
  55. package/dist/components/svg/svg.component.d.ts +0 -6
  56. package/dist/components/svg/svg.component.js +0 -9
  57. /package/dist/assets/{fade-scale-B23oZuuD.css → fade-grow-B23oZuuD.css} +0 -0
@@ -0,0 +1 @@
1
+ ._AccordionTable_zia0a_1{font-weight:var(--rm-ui-font-weight-regular);width:100%;display:block}._AccordionTableHead_zia0a_7,._AccordionTableBody_zia0a_8{display:block}._AccordionTableHeadRow_zia0a_12,._AccordionTableDataRow_zia0a_13{display:flex;width:100%}._AccordionTable_zia0a_1 ._AccordionTableHeadCell_zia0a_18{background-color:var(--rm-ui-grey-100);padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);font-weight:var(--rm-ui-font-weight-medium);text-align:left;vertical-align:top;color:var(--rm-ui-color-text-primary);white-space:break-spaces;width:calc(100% / var(--accordion-columns));flex:0 1 calc(100% / var(--accordion-columns));min-width:0}._AccordionTable_zia0a_1 ._AccordionTableBodyCell_zia0a_33{padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);font-weight:var(--rm-ui-font-weight-regular);color:var(--rm-ui-color-text-primary);width:calc(100% / var(--accordion-columns));flex:0 1 calc(100% / var(--accordion-columns));min-width:0}._AccordionTable_zia0a_1 ._AccordionTableBodyHeadCell_zia0a_44{width:100%;flex:1 1 100%}._AccordionTable_zia0a_1 ._AccordionTableBodyHead_zia0a_44{padding:var(--rm-ui-padding-xxs);text-align:left}._AccordionTable_zia0a_1 ._AccordionTableIcon_zia0a_54{transition:all var(--rm-ui-amimation-speed-primary) var(--rm-ui-amimation-cubic-primary)}._AccordionTable_zia0a_1 ._AccordionTableIconOpened_zia0a_58{transform:rotate(0)}._AccordionTable_zia0a_1 ._AccordionTableIconClosed_zia0a_62{transform:rotate(180deg)}._AccordionTable_zia0a_1 ._AccordionTableBodyRow_zia0a_66{border-bottom:1px solid var(--rm-ui-grey-100)}
@@ -0,0 +1 @@
1
+ ._InfoPanel_h5syx_1{position:relative;padding:var(--rm-ui-padding-md) 0;background-color:var(--rm-ui-info-panel-bg);font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._InfoPanel_h5syx_1:before,._InfoPanel_h5syx_1:after{content:"";display:block;position:absolute;top:0;z-index:1;height:100%;width:100vw;background-color:inherit}._InfoPanel_h5syx_1:before{left:0}._InfoPanel_h5syx_1:after{right:0}._List_h5syx_30{position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._Item_h5syx_40{display:flex;flex-direction:row;align-items:center;justify-content:space-between}._Key_h5syx_47{color:var(--rm-ui-color-text-secondary)}._Value_h5syx_51{color:var(--rm-ui-color-text-primary)}@media screen and (min-width:480px){._Item_h5syx_40{justify-content:flex-start;gap:var(--rm-ui-padding-xxs)}}
@@ -0,0 +1 @@
1
+ ._Information_1g632_1{--gap: var(--rm-ui-padding-sm);--icon: 24px;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start;gap:var(--gap);font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._Icon_1g632_16{position:relative;top:2px;left:0;width:var(--icon);height:var(--icon);stroke-width:1.5}._Text_1g632_25{flex-basis:calc(100% - var(--icon) - var(--gap))}._Text_1g632_25 b,._Text_1g632_25 strong{font-weight:var(--rm-ui-font-weight-regular)}._Text_1g632_25>p:not(:last-child){margin-bottom:var(--rm-ui-padding-xs)}
@@ -1,15 +1,17 @@
1
+ import { BaseProps } from '../../utils/types';
1
2
  type TableRow = string[];
2
3
  type TableSection = {
3
4
  title: string;
4
5
  rows: TableRow[];
5
6
  };
6
- export interface AccordionTableProps {
7
- table: {
8
- head?: string[];
9
- body?: TableSection[];
10
- };
11
- activeSectionIndex?: number;
12
- onActiveSectionChange?: (activeSectionIndex: number) => void;
7
+ type Table = {
8
+ head: string[];
9
+ body: TableSection[];
10
+ };
11
+ export interface AccordionTableProps extends BaseProps {
12
+ table: Table;
13
+ active?: number;
14
+ onClick?: (active: number) => void;
13
15
  }
14
- export declare const AccordionTable: (props: AccordionTableProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const AccordionTable: ({ table, active, onClick, className }: AccordionTableProps) => import("react/jsx-runtime").JSX.Element;
15
17
  export {};
@@ -1,57 +1,74 @@
1
- import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
- import { useState as p, useEffect as B, Fragment as I } from "react";
3
- import { ChevronDown as f } from "lucide-react";
4
- import b from "clsx";
5
- import { C as H } from "../../control.component-Cq46ev8T.js";
6
- import '../../assets/accordion-table-dU2T0YSw.css';const S = "_AccordionTable_lx6xi_1", u = "_AccordionTableHeadCell_lx6xi_8", g = "_AccordionTableBodyCell_lx6xi_20", v = "_AccordionTableBodyHead_lx6xi_28", w = "_AccordionTableIcon_lx6xi_33", N = "_AccordionTableIconOpened_lx6xi_37", R = "_AccordionTableIconClosed_lx6xi_41", O = "_AccordionTableBodyRow_lx6xi_45", n = {
7
- AccordionTable: S,
8
- AccordionTableHeadCell: u,
9
- AccordionTableBodyCell: g,
10
- AccordionTableBodyHead: v,
11
- AccordionTableIcon: w,
12
- AccordionTableIconOpened: N,
13
- AccordionTableIconClosed: R,
14
- AccordionTableBodyRow: O
15
- }, E = (A) => {
16
- const {
17
- table: { head: r = [], body: l = [] },
18
- activeSectionIndex: T = 0,
19
- onActiveSectionChange: a
20
- } = A, [i, _] = p(l[T].title), m = (o) => {
21
- _(o !== i ? o : "");
22
- }, x = (o, c) => {
23
- const d = o.find((t) => t.title === c);
24
- return d ? d.rows : [];
25
- }, h = (o, c) => o === c ? x(l, c).map((d, t) => /* @__PURE__ */ e("tr", { children: d.map((C, y) => /* @__PURE__ */ e("td", { className: n.AccordionTableBodyCell, children: C }, `tr-${t}-${y}`)) }, `tr-${t}`)) : null;
26
- return B(() => {
27
- const o = l.findIndex((c) => c.title === i);
28
- o >= 0 && a && a(o);
29
- }, [i, l, a]), /* @__PURE__ */ s("table", { id: "accordion-table", className: n.AccordionTable, children: [
30
- /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: r.map((o, c) => /* @__PURE__ */ e("th", { className: n.AccordionTableHeadCell, dangerouslySetInnerHTML: { __html: o } }, c)) }) }),
31
- /* @__PURE__ */ e("tbody", { children: l.map((o, c) => /* @__PURE__ */ s(I, { children: [
32
- /* @__PURE__ */ e("tr", { className: n.AccordionTableBodyRow, children: /* @__PURE__ */ e("td", { colSpan: r.length, className: b(n.AccordionTableBodyCell, n.AccordionTableBodyHead), children: /* @__PURE__ */ e(
33
- H.ButtonText,
1
+ import { jsxs as b, jsx as a } from "react/jsx-runtime";
2
+ import { useState as p, Fragment as z } from "react";
3
+ import { ChevronDown as v } from "lucide-react";
4
+ import i from "clsx";
5
+ import { Animation as w } from "../animation/animation.component.js";
6
+ import { C as u } from "../../control.component-B0Jbmunv.js";
7
+ import '../../assets/accordion-table-DWNXtJHt.css';const R = "_AccordionTable_zia0a_1", N = "_AccordionTableHead_zia0a_7", $ = "_AccordionTableBody_zia0a_8", g = "_AccordionTableHeadRow_zia0a_12", f = "_AccordionTableDataRow_zia0a_13", I = "_AccordionTableHeadCell_zia0a_18", S = "_AccordionTableBodyCell_zia0a_33", D = "_AccordionTableBodyHeadCell_zia0a_44", O = "_AccordionTableBodyHead_zia0a_44", j = "_AccordionTableIcon_zia0a_54", x = "_AccordionTableIconOpened_zia0a_58", F = "_AccordionTableIconClosed_zia0a_62", M = "_AccordionTableBodyRow_zia0a_66", c = {
8
+ AccordionTable: R,
9
+ AccordionTableHead: N,
10
+ AccordionTableBody: $,
11
+ AccordionTableHeadRow: g,
12
+ AccordionTableDataRow: f,
13
+ AccordionTableHeadCell: I,
14
+ AccordionTableBodyCell: S,
15
+ AccordionTableBodyHeadCell: D,
16
+ AccordionTableBodyHead: O,
17
+ AccordionTableIcon: j,
18
+ AccordionTableIconOpened: x,
19
+ AccordionTableIconClosed: F,
20
+ AccordionTableBodyRow: M
21
+ }, E = ({ table: d, active: l, onClick: r, className: s = "" }) => {
22
+ const t = (e, o) => e >= 0 && e < o ? e : null, [_, m] = p(
23
+ t(l ?? 0, d.body.length)
24
+ ), A = l !== void 0, n = t(
25
+ A ? l : _ ?? -1,
26
+ d.body.length
27
+ ), y = (e) => {
28
+ const o = e !== n ? e : null;
29
+ A || m(o), o !== null && r && r(o);
30
+ }, B = {
31
+ "--accordion-columns": `${Math.max(d.head.length, 1)}`
32
+ };
33
+ return /* @__PURE__ */ b("div", { className: i(c.AccordionTable, s), style: B, children: [
34
+ /* @__PURE__ */ a("div", { className: c.AccordionTableHead, children: /* @__PURE__ */ a("div", { className: c.AccordionTableHeadRow, children: d.head.map((e, o) => /* @__PURE__ */ a(
35
+ "div",
36
+ {
37
+ className: c.AccordionTableHeadCell,
38
+ dangerouslySetInnerHTML: { __html: e }
39
+ },
40
+ `${e}-${o}`
41
+ )) }) }),
42
+ /* @__PURE__ */ a("div", { className: c.AccordionTableBody, children: d.body.map((e, o) => /* @__PURE__ */ b(z, { children: [
43
+ /* @__PURE__ */ a("div", { className: c.AccordionTableBodyRow, children: /* @__PURE__ */ a(
44
+ "div",
34
45
  {
35
- size: "md",
36
- weight: "regular",
37
- color: "theme-primary",
38
- iconPosition: "right",
39
- icon: /* @__PURE__ */ e(
40
- f,
46
+ className: i(c.AccordionTableBodyCell, c.AccordionTableBodyHead, c.AccordionTableBodyHeadCell),
47
+ children: /* @__PURE__ */ a(
48
+ u.ButtonText,
41
49
  {
42
- size: 24,
43
- className: b(
44
- n.AccordionTableIcon,
45
- i === o.title ? n.AccordionTableIconOpened : n.AccordionTableIconClosed
46
- )
50
+ size: "md",
51
+ weight: "regular",
52
+ color: "theme-primary",
53
+ iconPosition: "right",
54
+ icon: /* @__PURE__ */ a(
55
+ v,
56
+ {
57
+ size: 24,
58
+ className: i(
59
+ c.AccordionTableIcon,
60
+ n === o ? c.AccordionTableIconOpened : c.AccordionTableIconClosed
61
+ )
62
+ }
63
+ ),
64
+ onClick: () => y(o),
65
+ children: e.title
47
66
  }
48
- ),
49
- onClick: () => m(o.title),
50
- children: o.title
67
+ )
51
68
  }
52
- ) }) }),
53
- h(o.title, i)
54
- ] }, c)) })
69
+ ) }),
70
+ /* @__PURE__ */ a(w.FadeGrow, { name: "visible-section", condition: n === o, duration: 0.5, children: e.rows.map((C, T) => /* @__PURE__ */ a("div", { className: c.AccordionTableDataRow, children: C.map((h, H) => /* @__PURE__ */ a("div", { className: c.AccordionTableBodyCell, children: h }, `tr-${o}-${T}-${H}`)) }, `tr-${o}-${T}`)) })
71
+ ] }, `${e.title}-${o}`)) })
55
72
  ] });
56
73
  };
57
74
  export {
@@ -0,0 +1 @@
1
+ export { AccordionTable, type AccordionTableProps } from './accordion-table.component';
@@ -0,0 +1,4 @@
1
+ import { AccordionTable as c } from "./accordion-table.component.js";
2
+ export {
3
+ c as AccordionTable
4
+ };
@@ -1,6 +1,8 @@
1
+ export type { FadeGrowProps } from './fade-grow/fade-grow.component';
1
2
  export type { FadeScaleProps } from './fade-scale/fade-scale.component';
2
3
  export type { FadeSlideProps } from './fade-slide/fade-slide.component';
3
4
  export declare const Animation: {
5
+ FadeGrow: (props: import('./fade-grow/fade-grow.component').FadeGrowProps) => import("react/jsx-runtime").JSX.Element | null;
4
6
  FadeScale: (props: import('./fade-scale/fade-scale.component').FadeScaleProps) => import("react/jsx-runtime").JSX.Element | null;
5
7
  FadeSlide: (props: import('./fade-slide/fade-slide.component').FadeSlideProps) => import("react/jsx-runtime").JSX.Element | null;
6
8
  };
@@ -1,9 +1,11 @@
1
- import { FadeScale as o } from "./fade-scale/fade-scale.component.js";
2
- import { FadeSlide as e } from "./fade-slide/fade-slide.component.js";
3
- const r = {
4
- FadeScale: o,
5
- FadeSlide: e
1
+ import { FadeGrow as o } from "./fade-grow/fade-grow.component.js";
2
+ import { FadeScale as r } from "./fade-scale/fade-scale.component.js";
3
+ import { FadeSlide as m } from "./fade-slide/fade-slide.component.js";
4
+ const a = {
5
+ FadeGrow: o,
6
+ FadeScale: r,
7
+ FadeSlide: m
6
8
  };
7
9
  export {
8
- r as Animation
10
+ a as Animation
9
11
  };
@@ -0,0 +1,14 @@
1
+ import { AnimationGeneratorType, Easing } from 'motion';
2
+ import { PropsWithChildren } from 'react';
3
+ export interface FadeGrowProps extends PropsWithChildren {
4
+ name: string;
5
+ condition?: boolean;
6
+ flex?: boolean;
7
+ className?: string;
8
+ type?: AnimationGeneratorType;
9
+ ease?: Easing | Easing[];
10
+ duration?: number;
11
+ delay?: number;
12
+ animateOnStart?: boolean;
13
+ }
14
+ export declare const FadeGrow: (props: FadeGrowProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,40 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { useRef as h, useEffect as p } from "react";
3
+ import x from "clsx";
4
+ import { m as y } from "../../../proxy-Cx6n7mT2.js";
5
+ import '../../../assets/fade-grow-B23oZuuD.css';const F = "_Flex_1t96l_1", v = {
6
+ Flex: F
7
+ }, O = (a) => {
8
+ const {
9
+ children: i,
10
+ name: r,
11
+ condition: s = !1,
12
+ flex: e = !1,
13
+ ease: l = "easeInOut",
14
+ type: c = "tween",
15
+ className: t = "",
16
+ duration: m = 0.2,
17
+ delay: f = 0,
18
+ animateOnStart: d = !1
19
+ } = a, n = h(d);
20
+ if (p(() => {
21
+ n.current = !0;
22
+ }, []), !s) return null;
23
+ const u = n.current ? { height: 0, opacity: 0 } : !1;
24
+ return /* @__PURE__ */ o("div", { style: { overflow: "hidden" }, children: /* @__PURE__ */ o(
25
+ y.div,
26
+ {
27
+ initial: u,
28
+ animate: { height: "auto", opacity: 1 },
29
+ transition: { ease: l, duration: m, delay: f, type: c },
30
+ className: t || e ? x(t, {
31
+ [v.Flex]: e
32
+ }) : void 0,
33
+ children: i
34
+ },
35
+ r
36
+ ) });
37
+ };
38
+ export {
39
+ O as FadeGrow
40
+ };
@@ -2,7 +2,7 @@ import { jsx as d } from "react/jsx-runtime";
2
2
  import { useRef as p, useEffect as x } from "react";
3
3
  import F from "clsx";
4
4
  import { m as y } from "../../../proxy-Cx6n7mT2.js";
5
- import '../../../assets/fade-scale-B23oZuuD.css';const _ = "_Flex_1t96l_1", h = {
5
+ import '../../../assets/fade-grow-B23oZuuD.css';const _ = "_Flex_1t96l_1", h = {
6
6
  Flex: _
7
7
  }, S = (n) => {
8
8
  const {
@@ -2,7 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
2
2
  import { useRef as p, useEffect as y } from "react";
3
3
  import F from "clsx";
4
4
  import { m as h } from "../../../proxy-Cx6n7mT2.js";
5
- import '../../../assets/fade-scale-B23oZuuD.css';const v = "_Flex_1t96l_1", _ = {
5
+ import '../../../assets/fade-grow-B23oZuuD.css';const v = "_Flex_1t96l_1", _ = {
6
6
  Flex: v
7
7
  }, S = (i) => {
8
8
  const {
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
2
  import { useRef as p, useEffect as b, useMemo as x } from "react";
3
3
  import f from "clsx";
4
4
  import { useResizeObserver as y, useWindowSize as w } from "usehooks-ts";
5
- import { C as z } from "../../control.component-Cq46ev8T.js";
5
+ import { C as z } from "../../control.component-B0Jbmunv.js";
6
6
  import { Flex as n } from "../flex/flex.component.js";
7
7
  import { Text as m } from "../text/text.component.js";
8
8
  import '../../assets/bottom-bar-DDgm0BQh.css';const R = "_BottomBar_1ao8k_1", _ = "_BottomBarFixed_1ao8k_7", L = "_BottomBarStatic_1ao8k_16", g = {
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { SvgProps } from '../../../svg/svg.component';
2
+ import { SvgProps } from '../../../../utils/svg';
3
3
  export interface ButtonCardProps extends PropsWithChildren {
4
4
  icon?: SvgProps['icon'];
5
5
  iconPosition?: 'top' | 'left';
@@ -2,8 +2,8 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "usehooks-ts";
4
4
  import "clsx";
5
- import { B } from "../../../../control.component-Cq46ev8T.js";
6
- import "../../../svg/svg.component.js";
5
+ import { B } from "../../../../control.component-B0Jbmunv.js";
6
+ import "../../../../utils/svg/svg.component.js";
7
7
  export {
8
8
  B as ButtonCard
9
9
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "usehooks-ts";
4
- import { a as p } from "../../../../control.component-Cq46ev8T.js";
4
+ import { a as p } from "../../../../control.component-B0Jbmunv.js";
5
5
  export {
6
6
  p as ButtonRadio
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { SvgProps } from '../../../svg/svg.component';
2
+ import { SvgProps } from '../../../../utils/svg';
3
3
  export interface ButtonTextProps extends PropsWithChildren {
4
4
  size?: 'sm' | 'md' | 'lg';
5
5
  color?: 'primary' | 'secondary' | 'accent-primary' | 'accent-secondary' | 'theme-primary' | 'theme-secondary';
@@ -1,7 +1,7 @@
1
1
  import { jsxs as h, jsx as x } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import i from "clsx";
4
- import { Svg as y } from "../../../svg/svg.component.js";
4
+ import { Svg as y } from "../../../../utils/svg/svg.component.js";
5
5
  import '../../../../assets/button-text-CNXFsTky.css';const S = "_ButtonText_1x843_1", P = "_ButtonTextColorPrimary_1x843_11", f = "_ButtonTextColorSecondary_1x843_15", W = "_ButtonTextColorAccentPrimary_1x843_19", p = "_ButtonTextColorAccentSecondary_1x843_23", z = "_ButtonTextColorThemePrimary_1x843_27", I = "_ButtonTextColorThemeSecondary_1x843_31", L = "_ButtonTextIconPositionLeft_1x843_35", A = "_ButtonTextIconPositionRight_1x843_39", M = "_ButtonTextIcon_1x843_35", R = "_ButtonTextSizeSm_1x843_47", b = "_ButtonTextSizeMd_1x843_52", U = "_ButtonTextSizeLg_1x843_57", k = "_ButtonTextContent_1x843_62", v = "_ButtonTextContentWeightLight_1x843_81", N = "_ButtonTextContentWeightRegular_1x843_85", j = "_ButtonTextContentWeightMedium_1x843_89", D = "_ButtonTextContentWeightBold_1x843_93", F = "_ButtonTextContentUnderlined_1x843_97", t = {
6
6
  ButtonText: S,
7
7
  ButtonTextColorPrimary: P,
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { b as a } from "../../../../control.component-Cq46ev8T.js";
2
+ import { b as a } from "../../../../control.component-B0Jbmunv.js";
3
3
  import "../../hooks/useChoice/useChoice.hook.js";
4
4
  import "../../utils/functions/functions.util.js";
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { c as i } from "../../../../control.component-Cq46ev8T.js";
2
+ import { c as i } from "../../../../control.component-B0Jbmunv.js";
3
3
  import "../../hooks/useChoice/useChoice.hook.js";
4
4
  import "../../utils/functions/functions.util.js";
5
5
  export {
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "usehooks-ts";
3
3
  import "clsx";
4
- import { d as e } from "../../../../control.component-Cq46ev8T.js";
4
+ import { d as e } from "../../../../control.component-B0Jbmunv.js";
5
5
  import "../../../../utils/converter/converter.util.js";
6
6
  export {
7
7
  e as Checkbox
@@ -3,7 +3,7 @@ import "react";
3
3
  import "usehooks-ts";
4
4
  import "lucide-react";
5
5
  import "clsx";
6
- import { D as e } from "../../../../control.component-Cq46ev8T.js";
6
+ import { D as e } from "../../../../control.component-B0Jbmunv.js";
7
7
  import "../../utils/functions/functions.util.js";
8
8
  import "../../../../utils/converter/converter.util.js";
9
9
  export {
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "clsx";
3
- import { R as t } from "../../../../control.component-Cq46ev8T.js";
3
+ import { R as t } from "../../../../control.component-B0Jbmunv.js";
4
4
  import "../../utils/functions/functions.util.js";
5
5
  export {
6
6
  t as Radio
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../../../animation/animation.component.js";
3
3
  import "clsx";
4
4
  import "usehooks-ts";
5
- import { T as e } from "../../../../control.component-Cq46ev8T.js";
5
+ import { T as e } from "../../../../control.component-B0Jbmunv.js";
6
6
  export {
7
7
  e as Text
8
8
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "usehooks-ts";
3
- import { e as a } from "../../../../control.component-Cq46ev8T.js";
3
+ import { e as a } from "../../../../control.component-B0Jbmunv.js";
4
4
  export {
5
5
  a as Textarea
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import "./components/box/box.component.js";
2
2
  import "./components/button/button.component.js";
3
- import { C as s } from "../../control.component-Cq46ev8T.js";
3
+ import { C as s } from "../../control.component-B0Jbmunv.js";
4
4
  import "./components/button-text/button-text.component.js";
5
5
  import "./components/choice/choice.component.js";
6
6
  import "./components/hidden-input/hidden-input.component.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as i, jsxs as n, Fragment as g } from "react/jsx-runtime";
2
2
  import { useRef as h, useState as A } from "react";
3
3
  import { useWindowSize as D, useResizeObserver as p } from "usehooks-ts";
4
- import { C as c } from "../../control.component-Cq46ev8T.js";
4
+ import { C as c } from "../../control.component-B0Jbmunv.js";
5
5
  import '../../assets/dialog-article-lpJC_c40.css';const B = "_DialogArticle_figqz_1", z = "_DialogArticleButtons_figqz_8", s = {
6
6
  DialogArticle: B,
7
7
  DialogArticleButtons: z