lawgic-dev-kit 0.16.7 → 0.17.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 (44) hide show
  1. package/dist/_virtual/index2.js +2 -3
  2. package/dist/_virtual/index3.js +3 -3
  3. package/dist/_virtual/index4.js +3 -5
  4. package/dist/_virtual/index5.js +5 -2
  5. package/dist/_virtual/index6.js +2 -2
  6. package/dist/_virtual/index7.js +2 -2
  7. package/dist/components/atoms/CircleProgress/CircleProgress.d.ts +22 -0
  8. package/dist/components/atoms/CircleProgress/CircleProgress.js +78 -0
  9. package/dist/components/atoms/CircleProgress/index.d.ts +1 -0
  10. package/dist/components/atoms/Switch/Switch.d.ts +7 -0
  11. package/dist/components/atoms/Switch/Switch.js +33 -0
  12. package/dist/components/atoms/Switch/index.d.ts +1 -0
  13. package/dist/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.js +108 -0
  14. package/dist/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.types.d.ts +6 -2
  15. package/dist/components/atoms/{TresholdProgressBar/TresholdProgressBar.d.ts → ThresholdProgressBar/ThresholdProgressBar.d.ts} +1 -1
  16. package/dist/components/atoms/ThresholdProgressBar/ThresholdProgressBar.js +72 -0
  17. package/dist/components/atoms/ThresholdProgressBar/index.d.ts +1 -0
  18. package/dist/components/atoms/index.d.ts +4 -0
  19. package/dist/index.js +89 -81
  20. package/dist/lawgic-dev-kit.css +1 -1
  21. package/dist/lawgic-dev-kit.umd.js +47 -38
  22. package/dist/node_modules/prop-types/index.js +1 -1
  23. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  24. package/dist/node_modules/toposort/index.js +1 -1
  25. package/dist/node_modules/yup/index.esm.js +3 -3
  26. package/dist/src/components/atoms/{TresholdProgressBar/TresholdProgressBar.d.ts → ThresholdProgressBar/ThresholdProgressBar.d.ts} +1 -1
  27. package/dist/src/components/atoms/ThresholdProgressBar/index.d.ts +1 -0
  28. package/dist/src/components/atoms/index.d.ts +39 -0
  29. package/package.json +1 -1
  30. package/dist/components/atoms/TresholdProgressBar/index.d.ts +0 -1
  31. package/dist/src/components/atoms/FloatingCard/FloatingCard.d.ts +0 -4
  32. package/dist/src/components/atoms/FloatingCard/FloatingCard.types.d.ts +0 -9
  33. package/dist/src/components/atoms/FloatingCard/index.d.ts +0 -1
  34. package/dist/src/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.d.ts +0 -4
  35. package/dist/src/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.types.d.ts +0 -26
  36. package/dist/src/components/atoms/ThresholdCircleProgress/index.d.ts +0 -1
  37. package/dist/src/components/atoms/TresholdProgressBar/index.d.ts +0 -1
  38. package/dist/src/components/molecules/AlertModal/AlertModal.d.ts +0 -3
  39. package/dist/src/components/molecules/AlertModal/AlertModal.types.d.ts +0 -9
  40. package/dist/src/components/molecules/DialogModal/DialogModal.d.ts +0 -3
  41. package/dist/src/components/molecules/DialogModal/DialogModal.types.d.ts +0 -11
  42. package/dist/src/types/modal.d.ts +0 -34
  43. /package/dist/components/atoms/{TresholdProgressBar/TresholdProgressBar.types.d.ts → ThresholdProgressBar/ThresholdProgressBar.types.d.ts} +0 -0
  44. /package/dist/src/components/atoms/{TresholdProgressBar/TresholdProgressBar.types.d.ts → ThresholdProgressBar/ThresholdProgressBar.types.d.ts} +0 -0
@@ -1,5 +1,4 @@
1
- import { __require as r } from "../node_modules/property-expr/index.js";
2
- var e = r();
1
+ var p = { exports: {} };
3
2
  export {
4
- e as p
3
+ p as __module
5
4
  };
@@ -1,5 +1,5 @@
1
- import { __require as r } from "../node_modules/tiny-case/index.js";
2
- var a = r();
1
+ import { __require as r } from "../node_modules/property-expr/index.js";
2
+ var e = r();
3
3
  export {
4
- a as t
4
+ e as p
5
5
  };
@@ -1,7 +1,5 @@
1
- import { getDefaultExportFromCjs as o } from "./_commonjsHelpers.js";
2
- import { __require as r } from "../node_modules/toposort/index.js";
3
- var t = r();
4
- const s = /* @__PURE__ */ o(t);
1
+ import { __require as r } from "../node_modules/tiny-case/index.js";
2
+ var a = r();
5
3
  export {
6
- s as default
4
+ a as t
7
5
  };
@@ -1,4 +1,7 @@
1
- var p = { exports: {} };
1
+ import { getDefaultExportFromCjs as o } from "./_commonjsHelpers.js";
2
+ import { __require as r } from "../node_modules/toposort/index.js";
3
+ var t = r();
4
+ const s = /* @__PURE__ */ o(t);
2
5
  export {
3
- p as __module
6
+ s as default
4
7
  };
@@ -1,4 +1,4 @@
1
- var o = { exports: {} };
1
+ var e = { exports: {} };
2
2
  export {
3
- o as __module
3
+ e as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var o = { exports: {} };
2
2
  export {
3
- e as __module
3
+ o as __module
4
4
  };
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ interface CircleProgressProps {
3
+ progress?: number;
4
+ label?: string;
5
+ showPercentage?: boolean;
6
+ progressLabel?: string;
7
+ color?: string;
8
+ backgroundColor?: string;
9
+ labelClassName?: string;
10
+ percentaeLabel?: string;
11
+ percentageLabelClassName?: string;
12
+ showPercentageLabel?: boolean;
13
+ percentageClassName?: string;
14
+ className?: string;
15
+ percentageLabel?: string;
16
+ size?: number;
17
+ strokeWidth?: number;
18
+ clockwise?: boolean;
19
+ startAngle?: number;
20
+ }
21
+ declare const CircleProgress: React.FC<CircleProgressProps>;
22
+ export default CircleProgress;
@@ -0,0 +1,78 @@
1
+ import { j as t } from "../../../_virtual/jsx-runtime.js";
2
+ const E = ({
3
+ progress: l = 0,
4
+ showPercentage: x = !0,
5
+ size: s = 120,
6
+ strokeWidth: r = 8,
7
+ color: m = "#4570EB",
8
+ backgroundColor: d = "#E4E4E7",
9
+ label: n,
10
+ className: h = "",
11
+ labelClassName: f = "",
12
+ percentageLabel: o = "",
13
+ percentageClassName: j = "",
14
+ showPercentageLabel: u = !1,
15
+ percentageLabelClassName: y = "",
16
+ clockwise: p = !0,
17
+ startAngle: N = -90
18
+ }) => {
19
+ const i = Math.min(100, Math.max(0, l)), e = s / 2, a = (s - r) / 2, c = 2 * Math.PI * a, $ = c, v = c - i / 100 * c, g = `rotate(${N} ${e} ${e}) scale(${p ? 1 : -1}, 1)`;
20
+ return /* @__PURE__ */ t.jsxs("div", { className: `flex flex-col items-center gap-2 ${h}`, children: [
21
+ /* @__PURE__ */ t.jsxs("div", { className: "relative", style: { width: s, height: s }, children: [
22
+ /* @__PURE__ */ t.jsxs(
23
+ "svg",
24
+ {
25
+ width: s,
26
+ height: s,
27
+ className: "transform -rotate-90",
28
+ viewBox: `0 0 ${s} ${s}`,
29
+ children: [
30
+ /* @__PURE__ */ t.jsx(
31
+ "circle",
32
+ {
33
+ cx: e,
34
+ cy: e,
35
+ r: a,
36
+ fill: "transparent",
37
+ stroke: d,
38
+ strokeWidth: r,
39
+ className: "opacity-20"
40
+ }
41
+ ),
42
+ /* @__PURE__ */ t.jsx(
43
+ "circle",
44
+ {
45
+ cx: e,
46
+ cy: e,
47
+ r: a,
48
+ fill: "transparent",
49
+ stroke: m,
50
+ strokeWidth: r,
51
+ strokeDasharray: $,
52
+ strokeDashoffset: v,
53
+ strokeLinecap: "round",
54
+ transform: g,
55
+ className: "transition-all ease-out",
56
+ style: {
57
+ transitionDuration: "1.5s",
58
+ transitionProperty: "stroke-dashoffset, stroke"
59
+ }
60
+ }
61
+ )
62
+ ]
63
+ }
64
+ ),
65
+ /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ t.jsxs("div", { className: "text-center", children: [
66
+ x && /* @__PURE__ */ t.jsxs("div", { className: `text-2xl font-bold text-gray-800 ${j}`, children: [
67
+ Math.round(i),
68
+ "%"
69
+ ] }),
70
+ o && u && /* @__PURE__ */ t.jsx("div", { className: `text-xs text-gray-500 mt-1 ${y}`, children: o })
71
+ ] }) })
72
+ ] }),
73
+ n && /* @__PURE__ */ t.jsx("p", { className: `text-gray-500 text-label mt-6 ${f}`, children: n })
74
+ ] });
75
+ };
76
+ export {
77
+ E as default
78
+ };
@@ -0,0 +1 @@
1
+ export { default as CircleProgress } from './CircleProgress';
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ export type SwitchProps = {
3
+ active: boolean;
4
+ onClick?: () => void;
5
+ };
6
+ declare const Switch: React.FC<SwitchProps>;
7
+ export default Switch;
@@ -0,0 +1,33 @@
1
+ import { j as s } from "../../../_virtual/jsx-runtime.js";
2
+ import { useTheme as t } from "../../../hooks/useTheme.js";
3
+ const l = ({ active: n, onClick: e }) => {
4
+ const { defaultColorScheme: o } = t();
5
+ return /* @__PURE__ */ s.jsxs(
6
+ "button",
7
+ {
8
+ onClick: e,
9
+ className: `
10
+ relative inline-flex min-h-24 min-w-48 items-center rounded-full
11
+ transition-colors duration-200 ease-in-out focus:outline-none
12
+ shadow-lg
13
+ ${n ? `bg-${o}-500` : "bg-gray-200"}
14
+ `,
15
+ children: [
16
+ /* @__PURE__ */ s.jsx("span", { className: "sr-only", children: n ? "On" : "Off" }),
17
+ /* @__PURE__ */ s.jsx(
18
+ "span",
19
+ {
20
+ className: `
21
+ inline-block h-20 w-20 transform rounded-full bg-white
22
+ transition-transform duration-200 ease-in-out drop-shadow-xl
23
+ ${n ? "translate-x-24" : "translate-x-3"}
24
+ `
25
+ }
26
+ )
27
+ ]
28
+ }
29
+ );
30
+ };
31
+ export {
32
+ l as default
33
+ };
@@ -0,0 +1 @@
1
+ export { default as Switch } from './Switch';
@@ -0,0 +1,108 @@
1
+ import { j as e } from "../../../_virtual/jsx-runtime.js";
2
+ const K = ({
3
+ progress: j = 0,
4
+ showPercentage: p = !0,
5
+ showPercentageLabel: y = !1,
6
+ label: d,
7
+ percentageLabel: f = "progreso",
8
+ percentageClassName: N = "",
9
+ percentageLabelClassName: $ = "",
10
+ labelClassName: v = "",
11
+ className: b = "",
12
+ size: s = 120,
13
+ strokeWidth: l = 8,
14
+ backgroundColor: k = "#e5e7eb",
15
+ animated: u = !0,
16
+ animationDuration: D = "1.5s",
17
+ colorThresholds: n,
18
+ lowThreshold: P = 30,
19
+ mediumThreshold: M = 70,
20
+ lowColor: w = "#ef4444",
21
+ mediumColor: C = "#eab308",
22
+ highColor: L = "#22c55e",
23
+ singleColor: m,
24
+ clockwise: B = !0,
25
+ startAngle: E = -90
26
+ }) => {
27
+ const I = (a) => {
28
+ if (m)
29
+ return m;
30
+ if (n && n.length > 0) {
31
+ const r = [...n].sort(
32
+ (t, x) => t.threshold - x.threshold
33
+ );
34
+ for (let t = r.length - 1; t >= 0; t--)
35
+ if (a >= r[t].threshold)
36
+ return r[t].color;
37
+ return r[0].color;
38
+ }
39
+ return a < P ? w : a < M ? C : L;
40
+ }, R = (a) => {
41
+ if (!n || n.length === 0) return;
42
+ const r = [...n].sort(
43
+ (t, x) => t.threshold - x.threshold
44
+ );
45
+ for (let t = r.length - 1; t >= 0; t--)
46
+ if (a >= r[t].threshold)
47
+ return r[t].label;
48
+ return r[0].label;
49
+ }, c = Math.min(100, Math.max(0, j)), q = I(c), g = R(c), o = s / 2, i = (s - l) / 2, h = 2 * Math.PI * i, A = h, F = h - c / 100 * h, G = `rotate(${E} ${o} ${o}) scale(${B ? 1 : -1}, 1)`;
50
+ return /* @__PURE__ */ e.jsxs("div", { className: `flex flex-col items-center gap-2 ${b}`, children: [
51
+ /* @__PURE__ */ e.jsxs("div", { className: "relative", style: { width: s, height: s }, children: [
52
+ /* @__PURE__ */ e.jsxs(
53
+ "svg",
54
+ {
55
+ width: s,
56
+ height: s,
57
+ className: "transform -rotate-90",
58
+ viewBox: `0 0 ${s} ${s}`,
59
+ children: [
60
+ /* @__PURE__ */ e.jsx(
61
+ "circle",
62
+ {
63
+ cx: o,
64
+ cy: o,
65
+ r: i,
66
+ fill: "transparent",
67
+ stroke: k,
68
+ strokeWidth: l,
69
+ className: "opacity-20"
70
+ }
71
+ ),
72
+ /* @__PURE__ */ e.jsx(
73
+ "circle",
74
+ {
75
+ cx: o,
76
+ cy: o,
77
+ r: i,
78
+ fill: "transparent",
79
+ stroke: q,
80
+ strokeWidth: l,
81
+ strokeDasharray: A,
82
+ strokeDashoffset: F,
83
+ strokeLinecap: "round",
84
+ transform: G,
85
+ className: u ? "transition-all ease-out" : "",
86
+ style: u ? {
87
+ transitionDuration: D,
88
+ transitionProperty: "stroke-dashoffset, stroke"
89
+ } : {}
90
+ }
91
+ )
92
+ ]
93
+ }
94
+ ),
95
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
96
+ p && /* @__PURE__ */ e.jsxs("div", { className: `text-2xl font-bold text-gray-800 ${N}`, children: [
97
+ Math.round(c),
98
+ "%"
99
+ ] }),
100
+ (g || f) && y && /* @__PURE__ */ e.jsx("div", { className: `text-xs text-gray-500 mt-1 ${$}`, children: g || f })
101
+ ] }) })
102
+ ] }),
103
+ d && /* @__PURE__ */ e.jsx("p", { className: `text-gray-500 text-label mt-6 ${v}`, children: d })
104
+ ] });
105
+ };
106
+ export {
107
+ K as default
108
+ };
@@ -4,10 +4,14 @@ export interface ColorThreshold {
4
4
  label?: string;
5
5
  }
6
6
  export interface ThresholdCircleProgressProps {
7
- progress: number;
7
+ progress?: number;
8
8
  showPercentage?: boolean;
9
- showLabel?: boolean;
9
+ showPercentageLabel?: boolean;
10
+ percentageClassName?: string;
11
+ percentageLabelClassName?: string;
10
12
  percentageLabel?: string;
13
+ label?: string;
14
+ labelClassName?: string;
11
15
  className?: string;
12
16
  size?: number;
13
17
  strokeWidth?: number;
@@ -1,4 +1,4 @@
1
1
  import { default as React } from 'react';
2
- import { ThresholdProgressBarProps } from './TresholdProgressBar.types';
2
+ import { ThresholdProgressBarProps } from './ThresholdProgressBar.types';
3
3
  declare const ThresholdProgressBar: React.FC<ThresholdProgressBarProps>;
4
4
  export default ThresholdProgressBar;
@@ -0,0 +1,72 @@
1
+ import { j as r } from "../../../_virtual/jsx-runtime.js";
2
+ const P = ({
3
+ progress: d,
4
+ showPercentage: h = !1,
5
+ percentageLabel: c = "",
6
+ className: u = "",
7
+ height: f = "h-5",
8
+ backgroundColor: x = "bg-gray-200",
9
+ animated: g = !0,
10
+ animationDuration: m = "duration-300",
11
+ colorThresholds: s,
12
+ lowThreshold: p = 30,
13
+ mediumThreshold: b = 70,
14
+ lowColor: j = "bg-red-500",
15
+ mediumColor: N = "bg-yellow-500",
16
+ highColor: $ = "bg-green-500",
17
+ singleColor: o
18
+ }) => {
19
+ const y = (n) => {
20
+ if (o)
21
+ return o;
22
+ if (s && s.length > 0) {
23
+ const t = [...s].sort(
24
+ (e, a) => e.threshold - a.threshold
25
+ );
26
+ for (let e = t.length - 1; e >= 0; e--)
27
+ if (n >= t[e].threshold)
28
+ return t[e].color;
29
+ return t[0].color;
30
+ }
31
+ return n < p ? j : n < b ? N : $;
32
+ }, w = (n) => {
33
+ if (!s || s.length === 0) return;
34
+ const t = [...s].sort(
35
+ (e, a) => e.threshold - a.threshold
36
+ );
37
+ for (let e = t.length - 1; e >= 0; e--)
38
+ if (n >= t[e].threshold)
39
+ return t[e].label;
40
+ return t[0].label;
41
+ }, l = Math.min(100, Math.max(0, d)), v = y(l), i = w(l), C = g ? `transition-all ${m} ease-in-out` : "";
42
+ return /* @__PURE__ */ r.jsxs("div", { className: `w-full flex gap-4 items-center ${u}`, children: [
43
+ /* @__PURE__ */ r.jsx(
44
+ "div",
45
+ {
46
+ className: `flex-1 ${x} rounded-full ${f} overflow-hidden`,
47
+ children: /* @__PURE__ */ r.jsx(
48
+ "div",
49
+ {
50
+ className: `h-full ${v} ${C} rounded-full`,
51
+ style: { width: `${l}%` }
52
+ }
53
+ )
54
+ }
55
+ ),
56
+ h && /* @__PURE__ */ r.jsxs("div", { className: "text-sm text-gray-700 font-medium text-nowrap flex items-center gap-1", children: [
57
+ /* @__PURE__ */ r.jsxs("span", { className: "font-bold", children: [
58
+ Math.round(l),
59
+ "%"
60
+ ] }),
61
+ i && /* @__PURE__ */ r.jsxs("span", { className: "text-xs text-gray-500", children: [
62
+ "(",
63
+ i,
64
+ ")"
65
+ ] }),
66
+ /* @__PURE__ */ r.jsx("span", { className: "text-gray-600", children: c })
67
+ ] })
68
+ ] });
69
+ };
70
+ export {
71
+ P as default
72
+ };
@@ -0,0 +1 @@
1
+ export { default as ThresholdProgressBar } from './ThresholdProgressBar';
@@ -33,3 +33,7 @@ export * from './UncontrolledTextInput/index';
33
33
  export * from './UploadContainer/index';
34
34
  export * from './Tooltip/index';
35
35
  export * from './LoadingProgress/index';
36
+ export * from './ThresholdCircleProgress/index';
37
+ export * from './ThresholdProgressBar/index';
38
+ export * from './CircleProgress/index';
39
+ export * from './Switch/index';
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  /* empty css */
2
2
  import { default as a } from "./components/atoms/ActionButton/ActionButton.js";
3
- import { AsyncToast as p } from "./components/atoms/AsyncToast/index.js";
3
+ import { AsyncToast as l } from "./components/atoms/AsyncToast/index.js";
4
4
  import { default as d } from "./components/atoms/Avatar/Avatar.js";
5
- import { default as s } from "./components/atoms/BoxContainer/BoxContainer.js";
5
+ import { default as m } from "./components/atoms/BoxContainer/BoxContainer.js";
6
6
  import { default as x } from "./components/atoms/Button/Button.js";
7
7
  import { default as i } from "./components/atoms/CenterModal/CenterModal.js";
8
8
  import { default as I } from "./components/atoms/Checkbox/Checkbox.js";
9
- import { default as C } from "./components/atoms/CountryInput/CountryInput.js";
10
- import { default as S } from "./components/atoms/CountryLabel/CountryLabel.js";
11
- import { default as h } from "./components/atoms/CountrySelectInput/CountryDropdown.js";
12
- import { default as D } from "./components/atoms/Divider/Divider.js";
13
- import { default as P } from "./components/atoms/IconButton/IconButton.js";
14
- import { default as L } from "./components/atoms/ImageProfileInput/ImageProfileInput.js";
15
- import { default as w } from "./components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
9
+ import { default as g } from "./components/atoms/CountryInput/CountryInput.js";
10
+ import { default as h } from "./components/atoms/CountryLabel/CountryLabel.js";
11
+ import { default as B } from "./components/atoms/CountrySelectInput/CountryDropdown.js";
12
+ import { default as M } from "./components/atoms/Divider/Divider.js";
13
+ import { default as y } from "./components/atoms/IconButton/IconButton.js";
14
+ import { default as w } from "./components/atoms/ImageProfileInput/ImageProfileInput.js";
15
+ import { default as U } from "./components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
16
16
  import { default as v } from "./components/atoms/IndexedStep/IndexedStep.js";
17
17
  import { default as z } from "./components/atoms/InfoCard/InfoCard.js";
18
18
  import { default as O } from "./components/atoms/InformationDisclaimer/InformationDisclaimer.js";
@@ -25,105 +25,113 @@ import { default as W } from "./components/atoms/SectionButton/SectionButton.js"
25
25
  import { default as Y } from "./components/atoms/SelectInput/SelectInput.js";
26
26
  import { default as _ } from "./components/atoms/SidebarButton/SidebarButton.js";
27
27
  import { default as oo } from "./components/atoms/Tab/Tab.js";
28
- import { default as eo } from "./components/atoms/TextButton/TextButton.js";
28
+ import { default as to } from "./components/atoms/TextButton/TextButton.js";
29
29
  import { default as ao } from "./components/atoms/TextInput/TextInput.js";
30
- import { default as po } from "./components/atoms/TextStaticInput/TextStaticInput.js";
31
- import { default as mo } from "./components/atoms/Toast/Toast.js";
30
+ import { default as lo } from "./components/atoms/TextStaticInput/TextStaticInput.js";
31
+ import { default as so } from "./components/atoms/Toast/Toast.js";
32
32
  import { default as uo } from "./components/atoms/UncontrolledSelector/UncontrolledSelector.js";
33
33
  import { default as no } from "./components/atoms/UncontrolledTextInput/UncontrolledTextInput.js";
34
34
  import { default as co } from "./components/atoms/UploadContainer/UploadContainer.js";
35
35
  import { default as To } from "./components/atoms/Tooltip/Tooltip.js";
36
- import { default as go } from "./components/atoms/LoadingProgress/LoadingProgress.js";
37
- import { default as Bo } from "./components/molecules/AlertModal/AlertModal.js";
38
- import { default as Mo } from "./components/molecules/CalendarSelector/CalendarSelector.js";
39
- import { default as yo } from "./components/molecules/DateInput/DateInput.js";
40
- import { default as bo } from "./components/molecules/DialogModal/DialogModal.js";
41
- import { default as Uo } from "./components/molecules/Dropdown/Dropdown.js";
42
- import { default as Ao } from "./components/molecules/FileUpload/FileUpload.js";
43
- import { default as Fo } from "./components/molecules/FloatingMenu/FloatingMenu.js";
44
- import { default as ko } from "./components/molecules/IndexedStepper/IndexedStepper.js";
45
- import { default as Vo } from "./components/molecules/InformationContainer/InformationContainer.js";
46
- import { default as qo } from "./components/molecules/SearchModal/SearchModal.js";
47
- import { default as Go } from "./components/molecules/Stepper/Stepper.js";
48
- import { default as Jo } from "./components/molecules/Tabs/Tabs.js";
49
- import { default as No } from "./components/molecules/UncontrolledDateInput/UncontrolledDateInput.js";
50
- import { Organism as Ro } from "./components/organisms/index.js";
51
- import { formatLocalizedDate as Xo } from "./utils/dates.js";
52
- import { toBase64 as Zo, translateBytes as _o } from "./utils/files.js";
53
- import { getImageUrl as ot } from "./utils/images.js";
54
- import { ModalContainer as et, closeModal as rt, openCustomModal as at, openModal as ft } from "./utils/modal.js";
55
- import { renderTabContent as lt } from "./utils/renderContentOptions.js";
56
- import { capitalizeFirstLetter as mt, stringToColor as st } from "./utils/strings.js";
57
- import { showToastAsync as xt, showToastLoading as nt, toast as it } from "./utils/toast.js";
58
- import { ThemeProvider as It } from "./providers/ThemeProvider.js";
59
- import { useTheme as Ct } from "./hooks/useTheme.js";
36
+ import { default as Co } from "./components/atoms/LoadingProgress/LoadingProgress.js";
37
+ import { default as So } from "./components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.js";
38
+ import { default as Po } from "./components/atoms/ThresholdProgressBar/ThresholdProgressBar.js";
39
+ import { default as Do } from "./components/atoms/CircleProgress/CircleProgress.js";
40
+ import { default as bo } from "./components/atoms/Switch/Switch.js";
41
+ import { default as Lo } from "./components/molecules/AlertModal/AlertModal.js";
42
+ import { default as Ao } from "./components/molecules/CalendarSelector/CalendarSelector.js";
43
+ import { default as Fo } from "./components/molecules/DateInput/DateInput.js";
44
+ import { default as ko } from "./components/molecules/DialogModal/DialogModal.js";
45
+ import { default as Vo } from "./components/molecules/Dropdown/Dropdown.js";
46
+ import { default as qo } from "./components/molecules/FileUpload/FileUpload.js";
47
+ import { default as Go } from "./components/molecules/FloatingMenu/FloatingMenu.js";
48
+ import { default as Jo } from "./components/molecules/IndexedStepper/IndexedStepper.js";
49
+ import { default as No } from "./components/molecules/InformationContainer/InformationContainer.js";
50
+ import { default as Ro } from "./components/molecules/SearchModal/SearchModal.js";
51
+ import { default as Xo } from "./components/molecules/Stepper/Stepper.js";
52
+ import { default as Zo } from "./components/molecules/Tabs/Tabs.js";
53
+ import { default as $o } from "./components/molecules/UncontrolledDateInput/UncontrolledDateInput.js";
54
+ import { Organism as ee } from "./components/organisms/index.js";
55
+ import { formatLocalizedDate as re } from "./utils/dates.js";
56
+ import { toBase64 as fe, translateBytes as le } from "./utils/files.js";
57
+ import { getImageUrl as de } from "./utils/images.js";
58
+ import { ModalContainer as me, closeModal as ue, openCustomModal as xe, openModal as ne } from "./utils/modal.js";
59
+ import { renderTabContent as ce } from "./utils/renderContentOptions.js";
60
+ import { capitalizeFirstLetter as Te, stringToColor as ge } from "./utils/strings.js";
61
+ import { showToastAsync as he, showToastLoading as Se, toast as Be } from "./utils/toast.js";
62
+ import { ThemeProvider as Me } from "./providers/ThemeProvider.js";
63
+ import { useTheme as ye } from "./hooks/useTheme.js";
60
64
  import "./contexts/themeContext.js";
61
- import { defaultTheme as St } from "./themes/default.js";
65
+ import { defaultTheme as we } from "./themes/default.js";
62
66
  export {
63
67
  a as ActionButton,
64
- Bo as AlertModal,
65
- p as AsyncToast,
68
+ Lo as AlertModal,
69
+ l as AsyncToast,
66
70
  d as Avatar,
67
- s as BoxContainer,
71
+ m as BoxContainer,
68
72
  x as Button,
69
- Mo as CalendarSelector,
73
+ Ao as CalendarSelector,
70
74
  i as CenterModal,
71
75
  I as Checkbox,
72
- h as CountryDropdown,
73
- C as CountryInput,
74
- S as CountryLabel,
75
- yo as DateInput,
76
- bo as DialogModal,
77
- D as Divider,
78
- Uo as Dropdown,
79
- Ao as FileUpload,
80
- Fo as FloatingMenu,
81
- P as IconButton,
82
- L as ImageProfileInput,
76
+ Do as CircleProgress,
77
+ B as CountryDropdown,
78
+ g as CountryInput,
79
+ h as CountryLabel,
80
+ Fo as DateInput,
81
+ ko as DialogModal,
82
+ M as Divider,
83
+ Vo as Dropdown,
84
+ qo as FileUpload,
85
+ Go as FloatingMenu,
86
+ y as IconButton,
87
+ w as ImageProfileInput,
83
88
  v as IndexedStep,
84
- ko as IndexedStepper,
89
+ Jo as IndexedStepper,
85
90
  z as InfoCard,
86
- Vo as InformationContainer,
91
+ No as InformationContainer,
87
92
  O as InformationDisclaimer,
88
- go as LoadingProgress,
93
+ Co as LoadingProgress,
89
94
  j as LoadingSpinner,
90
- et as ModalContainer,
91
- Ro as Organism,
95
+ me as ModalContainer,
96
+ ee as Organism,
92
97
  E as PasswordInput,
93
98
  H as PhoneInput,
94
99
  K as ProgressBar,
95
100
  Q as SearchBar,
96
- qo as SearchModal,
101
+ Ro as SearchModal,
97
102
  W as SectionButton,
98
103
  Y as SelectInput,
99
104
  _ as SidebarButton,
100
- Go as Stepper,
105
+ Xo as Stepper,
106
+ bo as Switch,
101
107
  oo as Tab,
102
- Jo as Tabs,
103
- eo as TextButton,
108
+ Zo as Tabs,
109
+ to as TextButton,
104
110
  ao as TextInput,
105
- po as TextStaticInput,
106
- It as ThemeProvider,
107
- mo as Toast,
111
+ lo as TextStaticInput,
112
+ Me as ThemeProvider,
113
+ So as ThresholdCircleProgress,
114
+ Po as ThresholdProgressBar,
115
+ so as Toast,
108
116
  To as Tooltip,
109
- No as UncontrolledDateInput,
117
+ $o as UncontrolledDateInput,
110
118
  uo as UncontrolledSelector,
111
119
  no as UncontrolledTextInput,
112
120
  co as UploadContainer,
113
- mt as capitalizeFirstLetter,
114
- rt as closeModal,
115
- St as defaultTheme,
116
- Xo as formatLocalizedDate,
117
- ot as getImageUrl,
118
- at as openCustomModal,
119
- ft as openModal,
120
- lt as renderTabContent,
121
- xt as showToastAsync,
122
- nt as showToastLoading,
123
- st as stringToColor,
124
- Zo as toBase64,
125
- it as toast,
126
- _o as translateBytes,
127
- Ct as useTheme,
128
- w as yupImageProfileValidator
121
+ Te as capitalizeFirstLetter,
122
+ ue as closeModal,
123
+ we as defaultTheme,
124
+ re as formatLocalizedDate,
125
+ de as getImageUrl,
126
+ xe as openCustomModal,
127
+ ne as openModal,
128
+ ce as renderTabContent,
129
+ he as showToastAsync,
130
+ Se as showToastLoading,
131
+ ge as stringToColor,
132
+ fe as toBase64,
133
+ Be as toast,
134
+ le as translateBytes,
135
+ ye as useTheme,
136
+ U as yupImageProfileValidator
129
137
  };