@arthurzakharov/ui-kit 1.3.1 → 1.3.3

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 (40) hide show
  1. package/dist/{components/animation → animations}/animation.component.d.ts +2 -0
  2. package/dist/{components/animation → animations}/animation.component.js +5 -3
  3. package/dist/{components/animation → animations}/fade-grow/fade-grow.component.js +2 -2
  4. package/dist/{components/animation → animations}/fade-scale/fade-scale.component.js +2 -2
  5. package/dist/{components/animation → animations}/fade-slide/fade-slide.component.js +2 -2
  6. package/dist/animations/rotate/rotate.component.d.ts +18 -0
  7. package/dist/animations/rotate/rotate.component.js +43 -0
  8. package/dist/assets/accordion-table-Ci3u6qTN.css +1 -0
  9. package/dist/components/accordion-table/accordion-table.component.d.ts +5 -2
  10. package/dist/components/accordion-table/accordion-table.component.js +63 -64
  11. package/dist/components/bottom-bar/bottom-bar.component.js +1 -1
  12. package/dist/components/control/components/button/button.component.js +1 -1
  13. package/dist/components/control/components/button-card/button-card.component.js +1 -1
  14. package/dist/components/control/components/button-radio/button-radio.component.js +1 -1
  15. package/dist/components/control/components/card-image/card-image.component.js +1 -1
  16. package/dist/components/control/components/card-text/card-text.component.js +1 -1
  17. package/dist/components/control/components/checkbox/checkbox.component.js +1 -1
  18. package/dist/components/control/components/dropdown/dropdown.component.js +1 -1
  19. package/dist/components/control/components/radio/radio.component.js +1 -1
  20. package/dist/components/control/components/status/status.component.js +1 -1
  21. package/dist/components/control/components/text/text.component.js +2 -2
  22. package/dist/components/control/components/textarea/textarea.component.js +1 -1
  23. package/dist/components/control/control.component.js +1 -1
  24. package/dist/components/dialog-article/dialog-article.component.js +1 -1
  25. package/dist/components/main-attachment/main-attachment.component.js +1 -1
  26. package/dist/components/sidebar/components/step/step.component.js +1 -1
  27. package/dist/components/sidebar/sidebar.component.js +1 -1
  28. package/dist/components/signature/index.d.ts +1 -0
  29. package/dist/components/signature/index.js +4 -0
  30. package/dist/components/signature/signature.component.d.ts +4 -2
  31. package/dist/components/signature/signature.component.js +484 -483
  32. package/dist/components/user-panel/user-panel.component.js +1 -1
  33. package/dist/{control.component-B0Jbmunv.js → control.component-B9Ao9mfl.js} +1 -1
  34. package/dist/main.d.ts +2 -2
  35. package/dist/main.js +2 -2
  36. package/package.json +1 -1
  37. package/dist/assets/accordion-table-DWNXtJHt.css +0 -1
  38. /package/dist/{components/animation → animations}/fade-grow/fade-grow.component.d.ts +0 -0
  39. /package/dist/{components/animation → animations}/fade-scale/fade-scale.component.d.ts +0 -0
  40. /package/dist/{components/animation → animations}/fade-slide/fade-slide.component.d.ts +0 -0
@@ -1,8 +1,10 @@
1
1
  export type { FadeGrowProps } from './fade-grow/fade-grow.component';
2
2
  export type { FadeScaleProps } from './fade-scale/fade-scale.component';
3
3
  export type { FadeSlideProps } from './fade-slide/fade-slide.component';
4
+ export type { RotateProps } from './rotate/rotate.component';
4
5
  export declare const Animation: {
5
6
  FadeGrow: (props: import('./fade-grow/fade-grow.component').FadeGrowProps) => import("react/jsx-runtime").JSX.Element | null;
6
7
  FadeScale: (props: import('./fade-scale/fade-scale.component').FadeScaleProps) => import("react/jsx-runtime").JSX.Element | null;
7
8
  FadeSlide: (props: import('./fade-slide/fade-slide.component').FadeSlideProps) => import("react/jsx-runtime").JSX.Element | null;
9
+ Rotate: (props: import('./rotate/rotate.component').RotateProps) => import("react/jsx-runtime").JSX.Element;
8
10
  };
@@ -1,11 +1,13 @@
1
1
  import { FadeGrow as o } from "./fade-grow/fade-grow.component.js";
2
2
  import { FadeScale as r } from "./fade-scale/fade-scale.component.js";
3
3
  import { FadeSlide as m } from "./fade-slide/fade-slide.component.js";
4
- const a = {
4
+ import { Rotate as t } from "./rotate/rotate.component.js";
5
+ const d = {
5
6
  FadeGrow: o,
6
7
  FadeScale: r,
7
- FadeSlide: m
8
+ FadeSlide: m,
9
+ Rotate: t
8
10
  };
9
11
  export {
10
- a as Animation
12
+ d as Animation
11
13
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useRef as h, useEffect as p } from "react";
3
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 = {
4
+ import { m as y } from "../../proxy-Cx6n7mT2.js";
5
+ import '../../assets/fade-grow-B23oZuuD.css';const F = "_Flex_1t96l_1", v = {
6
6
  Flex: F
7
7
  }, O = (a) => {
8
8
  const {
@@ -1,8 +1,8 @@
1
1
  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
- import { m as y } from "../../../proxy-Cx6n7mT2.js";
5
- import '../../../assets/fade-grow-B23oZuuD.css';const _ = "_Flex_1t96l_1", h = {
4
+ import { m as y } from "../../proxy-Cx6n7mT2.js";
5
+ import '../../assets/fade-grow-B23oZuuD.css';const _ = "_Flex_1t96l_1", h = {
6
6
  Flex: _
7
7
  }, S = (n) => {
8
8
  const {
@@ -1,8 +1,8 @@
1
1
  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
- import { m as h } from "../../../proxy-Cx6n7mT2.js";
5
- import '../../../assets/fade-grow-B23oZuuD.css';const v = "_Flex_1t96l_1", _ = {
4
+ import { m as h } from "../../proxy-Cx6n7mT2.js";
5
+ import '../../assets/fade-grow-B23oZuuD.css';const v = "_Flex_1t96l_1", _ = {
6
6
  Flex: v
7
7
  }, S = (i) => {
8
8
  const {
@@ -0,0 +1,18 @@
1
+ import { AnimationGeneratorType, Easing } from 'motion';
2
+ import { PropsWithChildren } from 'react';
3
+ type RotateDirection = 'top' | 'left' | 'bottom' | 'right';
4
+ export interface RotateProps extends PropsWithChildren {
5
+ name: string;
6
+ condition?: boolean;
7
+ flex?: boolean;
8
+ from?: RotateDirection;
9
+ to?: RotateDirection;
10
+ className?: string;
11
+ type?: AnimationGeneratorType;
12
+ ease?: Easing | Easing[];
13
+ duration?: number;
14
+ delay?: number;
15
+ animateOnStart?: boolean;
16
+ }
17
+ export declare const Rotate: (props: RotateProps) => import("react/jsx-runtime").JSX.Element;
18
+ export {};
@@ -0,0 +1,43 @@
1
+ import { jsx as E } from "react/jsx-runtime";
2
+ import "react";
3
+ import F from "clsx";
4
+ import { m as g } from "../../proxy-Cx6n7mT2.js";
5
+ import '../../assets/fade-grow-B23oZuuD.css';const u = "_Flex_1t96l_1", I = {
6
+ Flex: u
7
+ }, a = {
8
+ top: 0,
9
+ right: 90,
10
+ bottom: 180,
11
+ left: 270
12
+ }, y = (n) => {
13
+ const {
14
+ children: s,
15
+ name: i,
16
+ condition: r = !1,
17
+ flex: t = !1,
18
+ from: l = "left",
19
+ to: m = "top",
20
+ ease: c = "easeInOut",
21
+ type: f = "tween",
22
+ className: o = "",
23
+ duration: d = 0.15,
24
+ delay: p = 0,
25
+ animateOnStart: x = !1
26
+ } = n, e = `${a[l]}deg`, R = `${a[m]}deg`, _ = x ? { rotate: e } : !1;
27
+ return /* @__PURE__ */ E(
28
+ g.div,
29
+ {
30
+ initial: _,
31
+ animate: { rotate: r ? R : e },
32
+ transition: { ease: c, duration: d, delay: p, type: f },
33
+ className: o || t ? F(o, {
34
+ [I.Flex]: t
35
+ }) : void 0,
36
+ children: s
37
+ },
38
+ i
39
+ );
40
+ };
41
+ export {
42
+ y as Rotate
43
+ };
@@ -0,0 +1 @@
1
+ ._AccordionTable_gmtv3_1{width:100%;display:block;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)}._Head_gmtv3_11{background-color:var(--rm-ui-grey-100)}._HeadRow_gmtv3_15,._DataRow_gmtv3_16{display:flex;width:100%}._BodyRow_gmtv3_21{border-bottom:1px solid var(--rm-ui-grey-100)}._HeadCell_gmtv3_25,._BodyCell_gmtv3_26{min-width:0;width:calc(100% / var(--accordion-columns));flex:0 1 calc(100% / var(--accordion-columns));padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm)}._HeadCell_gmtv3_25{font-weight:var(--rm-ui-font-weight-medium);color:var(--rm-ui-color-text-primary);text-align:left;vertical-align:top;white-space:break-spaces}._BodyHeadCell_gmtv3_41{width:100%;flex:1 1 100%}._BodyHead_gmtv3_41{padding:var(--rm-ui-padding-xxs);text-align:left}
@@ -11,7 +11,10 @@ type Table = {
11
11
  export interface AccordionTableProps extends BaseProps {
12
12
  table: Table;
13
13
  active?: number;
14
- onClick?: (active: number) => void;
15
14
  }
16
- export declare const AccordionTable: ({ table, active, onClick, className }: AccordionTableProps) => import("react/jsx-runtime").JSX.Element;
15
+ /**
16
+ * Is a flexible table component with expandable sections. It renders a table header and a list of collapsible body sections, where each section can be toggled to reveal its rows with smooth animations.<br>
17
+ * The component supports a default active section d and dynamically adapts its column layout based on the provided header configuration.
18
+ */
19
+ export declare const AccordionTable: ({ table, active, className }: AccordionTableProps) => import("react/jsx-runtime").JSX.Element;
17
20
  export {};
@@ -1,76 +1,75 @@
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",
45
- {
46
- className: i(c.AccordionTableBodyCell, c.AccordionTableBodyHead, c.AccordionTableBodyHeadCell),
47
- children: /* @__PURE__ */ a(
48
- u.ButtonText,
1
+ import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
+ import { useState as H, Fragment as B } from "react";
3
+ import { ChevronDown as C } from "lucide-react";
4
+ import m from "clsx";
5
+ import { Animation as s } from "../../animations/animation.component.js";
6
+ import { C as g } from "../../control.component-B9Ao9mfl.js";
7
+ import '../../assets/accordion-table-Ci3u6qTN.css';const w = "_AccordionTable_gmtv3_1", p = "_Head_gmtv3_11", R = "_HeadRow_gmtv3_15", $ = "_DataRow_gmtv3_16", b = "_BodyRow_gmtv3_21", u = "_HeadCell_gmtv3_25", f = "_BodyCell_gmtv3_26", A = "_BodyHeadCell_gmtv3_41", N = "_BodyHead_gmtv3_41", e = {
8
+ AccordionTable: w,
9
+ Head: p,
10
+ HeadRow: R,
11
+ DataRow: $,
12
+ BodyRow: b,
13
+ HeadCell: u,
14
+ BodyCell: f,
15
+ BodyHeadCell: A,
16
+ BodyHead: N
17
+ }, F = ({ table: d, active: l = 0, className: _ = "" }) => {
18
+ const [r, h] = H(l >= 0 && l < d.body.length ? l : null);
19
+ return /* @__PURE__ */ n(
20
+ "div",
21
+ {
22
+ "data-testid": "accordion-table",
23
+ className: m(e.AccordionTable, _),
24
+ style: { "--accordion-columns": Math.max(d.head.length, 1) },
25
+ children: [
26
+ /* @__PURE__ */ o("div", { "data-testid": "accordion-table-head", className: e.Head, children: /* @__PURE__ */ o("div", { className: e.HeadRow, children: d.head.map((t, a) => /* @__PURE__ */ o(
27
+ "div",
28
+ {
29
+ className: e.HeadCell,
30
+ "data-testid": `accordion-table-head-cell-${a}`,
31
+ dangerouslySetInnerHTML: { __html: t }
32
+ },
33
+ t
34
+ )) }) }),
35
+ /* @__PURE__ */ o("div", { children: d.body.map((t, a) => /* @__PURE__ */ n(B, { children: [
36
+ /* @__PURE__ */ o("div", { className: e.BodyRow, children: /* @__PURE__ */ o("div", { className: m(e.BodyCell, e.BodyHead, e.BodyHeadCell), children: /* @__PURE__ */ o(
37
+ g.ButtonText,
49
38
  {
39
+ preventDefault: !0,
40
+ blurAfterClick: !0,
50
41
  size: "md",
51
42
  weight: "regular",
52
43
  color: "theme-primary",
53
44
  iconPosition: "right",
54
- icon: /* @__PURE__ */ a(
55
- v,
45
+ icon: /* @__PURE__ */ o(
46
+ s.Rotate,
56
47
  {
57
- size: 24,
58
- className: i(
59
- c.AccordionTableIcon,
60
- n === o ? c.AccordionTableIconOpened : c.AccordionTableIconClosed
61
- )
48
+ name: "rotate-icon",
49
+ condition: r === a,
50
+ from: "top",
51
+ to: "bottom",
52
+ children: /* @__PURE__ */ o(C, { size: 24 })
62
53
  }
63
54
  ),
64
- onClick: () => y(o),
65
- children: e.title
55
+ onClick: () => h((c) => a !== c ? a : null),
56
+ children: t.title
66
57
  }
67
- )
68
- }
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}`)) })
72
- ] });
58
+ ) }) }),
59
+ /* @__PURE__ */ o(s.FadeGrow, { name: `visible-section-${a}`, condition: r === a, children: /* @__PURE__ */ o("div", { "data-testid": `accordion-table-section-content-${a}`, children: t.rows.map((c, i) => /* @__PURE__ */ o(
60
+ "div",
61
+ {
62
+ className: e.DataRow,
63
+ "data-testid": `accordion-table-data-row-${a}-${i}`,
64
+ children: c.map((v, y) => /* @__PURE__ */ o("div", { className: e.BodyCell, children: v }, `tr-${a}-${i}-${y}`))
65
+ },
66
+ `tr-${a}-${i}`
67
+ )) }) })
68
+ ] }, `${t.title}-${a}`)) })
69
+ ]
70
+ }
71
+ );
73
72
  };
74
73
  export {
75
- E as AccordionTable
74
+ F as AccordionTable
76
75
  };
@@ -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-B0Jbmunv.js";
5
+ import { C as z } from "../../control.component-B9Ao9mfl.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,6 +1,6 @@
1
1
  import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
2
  import i from "clsx";
3
- import { Animation as S } from "../../../animation/animation.component.js";
3
+ import { Animation as S } from "../../../../animations/animation.component.js";
4
4
  import { Loader as p } from "../../../loader/loader.component.js";
5
5
  import { containsHtml as y } from "../../utils/functions/functions.util.js";
6
6
  import '../../../../assets/button-4MJZ7yPE.css';const g = "_Button_1utzs_1", h = "_ButtonSizeSm_1utzs_11", W = "_ButtonSizeLg_1utzs_16", I = "_ButtonColorTertiary_1utzs_16", T = "_ButtonText_1utzs_20", x = "_ButtonSizeMd_1utzs_26", b = "_ButtonColorPrimary_1utzs_54", F = "_ButtonColorSecondary_1utzs_62", N = "_ButtonLoading_1utzs_79", A = "_ButtonFullWidth_1utzs_87", M = "_ButtonInfo_1utzs_95", v = "_ButtonContent_1utzs_102", P = "_ButtonContentLoading_1utzs_106", k = "_ButtonContentIdle_1utzs_110", j = "_ButtonLoaderWrap_1utzs_114", D = "_ButtonLoaderAnimationWrap_1utzs_121", t = {
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "usehooks-ts";
4
4
  import "clsx";
5
- import { B } from "../../../../control.component-B0Jbmunv.js";
5
+ import { B } from "../../../../control.component-B9Ao9mfl.js";
6
6
  import "../../../../utils/svg/svg.component.js";
7
7
  export {
8
8
  B as ButtonCard
@@ -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-B0Jbmunv.js";
4
+ import { a as p } from "../../../../control.component-B9Ao9mfl.js";
5
5
  export {
6
6
  p as ButtonRadio
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { b as a } from "../../../../control.component-B0Jbmunv.js";
2
+ import { b as a } from "../../../../control.component-B9Ao9mfl.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-B0Jbmunv.js";
2
+ import { c as i } from "../../../../control.component-B9Ao9mfl.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-B0Jbmunv.js";
4
+ import { d as e } from "../../../../control.component-B9Ao9mfl.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-B0Jbmunv.js";
6
+ import { D as e } from "../../../../control.component-B9Ao9mfl.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-B0Jbmunv.js";
3
+ import { R as t } from "../../../../control.component-B9Ao9mfl.js";
4
4
  import "../../utils/functions/functions.util.js";
5
5
  export {
6
6
  t as Radio
@@ -1,7 +1,7 @@
1
1
  import { jsxs as a, jsx as c } from "react/jsx-runtime";
2
2
  import { Circle as i, X as u, Check as S } from "lucide-react";
3
3
  import e from "clsx";
4
- import { Animation as n } from "../../../animation/animation.component.js";
4
+ import { Animation as n } from "../../../../animations/animation.component.js";
5
5
  import '../../../../assets/status-6MH80dkz.css';const l = "_Status_5dqaf_1", _ = "_StatusCircle_5dqaf_6", C = "_StatusCircleIdle_5dqaf_14", d = "_StatusCircleSuccess_5dqaf_20", m = "_StatusCircleError_5dqaf_26", f = "_StatusIconContent_5dqaf_32", I = "_StatusIconAnimate_5dqaf_40", h = "_StatusCheck_5dqaf_48", q = "_StatusX_5dqaf_49", t = {
6
6
  Status: l,
7
7
  StatusCircle: _,
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
- import "../../../animation/animation.component.js";
2
+ import "../../../../animations/animation.component.js";
3
3
  import "clsx";
4
4
  import "usehooks-ts";
5
- import { T as e } from "../../../../control.component-B0Jbmunv.js";
5
+ import { T as e } from "../../../../control.component-B9Ao9mfl.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-B0Jbmunv.js";
3
+ import { e as a } from "../../../../control.component-B9Ao9mfl.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-B0Jbmunv.js";
3
+ import { C as s } from "../../control.component-B9Ao9mfl.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-B0Jbmunv.js";
4
+ import { C as c } from "../../control.component-B9Ao9mfl.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
@@ -1,6 +1,6 @@
1
1
  import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
2
  import h from "clsx";
3
- import { Animation as o } from "../animation/animation.component.js";
3
+ import { Animation as o } from "../../animations/animation.component.js";
4
4
  import { Text as a } 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", i = {
6
6
  MainAttachment: r,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
- import { C as s } from "../../../../control.component-B0Jbmunv.js";
2
+ import { C as s } from "../../../../control.component-B9Ao9mfl.js";
3
3
  import { Flex as a } from "../../../flex/flex.component.js";
4
4
  import { Text as m } from "../../../text/text.component.js";
5
5
  const d = (e) => {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as r, jsx as t } from "react/jsx-runtime";
2
- import { Animation as o } from "../animation/animation.component.js";
2
+ import { Animation as o } from "../../animations/animation.component.js";
3
3
  import { Certifications as p } from "../certifications/certifications.component.js";
4
4
  import { Line as e } from "../line/line.component.js";
5
5
  import { Text as S } from "../text/text.component.js";
@@ -0,0 +1 @@
1
+ export { Signature, type SignatureProps } from './signature.component';
@@ -0,0 +1,4 @@
1
+ import { Signature as o } from "./signature.component.js";
2
+ export {
3
+ o as Signature
4
+ };
@@ -1,5 +1,6 @@
1
- export type SignatureMode = 'auto' | 'manual';
2
- export interface SignatureProps {
1
+ import { BaseProps } from '../../utils/types';
2
+ type SignatureMode = 'auto' | 'manual';
3
+ export interface SignatureProps extends BaseProps {
3
4
  modes: SignatureMode[];
4
5
  isInAutoMode: boolean;
5
6
  valueAuto: string;
@@ -9,3 +10,4 @@ export interface SignatureProps {
9
10
  onChange: (value: string) => void;
10
11
  }
11
12
  export declare const Signature: (props: SignatureProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};