lawgic-dev-kit 0.9.6 → 0.10.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 (43) hide show
  1. package/dist/_virtual/index.js +5 -2
  2. package/dist/_virtual/index2.js +3 -5
  3. package/dist/_virtual/index3.js +3 -3
  4. package/dist/_virtual/index4.js +5 -3
  5. package/dist/_virtual/index5.js +2 -5
  6. package/dist/_virtual/index7.js +2 -2
  7. package/dist/_virtual/index8.js +2 -2
  8. package/dist/components/atoms/Avatar/Avatar.js +1 -1
  9. package/dist/components/atoms/CenterModal/CenterModal.js +4 -4
  10. package/dist/components/atoms/Checkbox/Checkbox.js +34 -0
  11. package/dist/components/atoms/CountryInput/CountryInput.js +255 -0
  12. package/dist/components/atoms/IndexedStep/IndexedStep.js +40 -0
  13. package/dist/components/atoms/SidebarButton/SidebarButton.d.ts +10 -0
  14. package/dist/components/atoms/SidebarButton/SidebarButton.js +49 -0
  15. package/dist/components/atoms/SidebarButton/index.d.ts +1 -10
  16. package/dist/components/atoms/TextStaticInput/TextStaticInput.js +12 -0
  17. package/dist/components/atoms/UploadContainer/UploadContainer.js +1 -1
  18. package/dist/components/atoms/index.d.ts +8 -5
  19. package/dist/components/molecules/AlertModal/AlertModal.js +4 -4
  20. package/dist/components/molecules/CalendarSelector/CalendarSelector.js +1 -1
  21. package/dist/components/molecules/DateInput/DateInput.js +1 -1
  22. package/dist/components/molecules/DialogModal/DialogModal.js +46 -45
  23. package/dist/components/molecules/FloatingMenu/FloatingMenu.js +1 -1
  24. package/dist/components/molecules/Tabs/Tabs.js +1 -1
  25. package/dist/index.js +114 -108
  26. package/dist/lawgic-dev-kit.css +1 -1
  27. package/dist/lawgic-dev-kit.umd.js +155 -132
  28. package/dist/node_modules/@fortawesome/pro-regular-svg-icons/index.js +5 -0
  29. package/dist/node_modules/@fortawesome/pro-solid-svg-icons/index.js +7 -2
  30. package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +1 -1
  31. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  32. package/dist/node_modules/scheduler/index.js +1 -1
  33. package/dist/node_modules/toposort/index.js +1 -1
  34. package/dist/node_modules/yup/index.esm.js +3 -3
  35. package/dist/src/components/atoms/SidebarButton/SidebarButton.d.ts +10 -0
  36. package/dist/src/components/atoms/SidebarButton/index.d.ts +1 -0
  37. package/dist/src/components/atoms/index.d.ts +33 -0
  38. package/dist/utils/modal.js +1 -1
  39. package/dist/utils/toast.js +1 -1
  40. package/package.json +1 -1
  41. package/dist/components/atoms/FullLogo/FullLogo.d.ts +0 -3
  42. package/dist/components/atoms/FullLogo/FullLogo.js +0 -21
  43. package/dist/components/atoms/FullLogo/index.d.ts +0 -1
@@ -1,4 +1,7 @@
1
- var e = { exports: {} };
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as o } from "../node_modules/prop-types/index.js";
3
+ var p = /* @__PURE__ */ o();
4
+ const s = /* @__PURE__ */ r(p);
2
5
  export {
3
- e as __module
6
+ s as default
4
7
  };
@@ -1,7 +1,5 @@
1
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
- import { __require as o } from "../node_modules/prop-types/index.js";
3
- var p = /* @__PURE__ */ o();
4
- const s = /* @__PURE__ */ r(p);
1
+ import { __require as r } from "../node_modules/property-expr/index.js";
2
+ var e = r();
5
3
  export {
6
- s as default
4
+ e as p
7
5
  };
@@ -1,5 +1,5 @@
1
- import { __require as r } from "../node_modules/property-expr/index.js";
2
- var e = r();
1
+ import { __require as r } from "../node_modules/tiny-case/index.js";
2
+ var a = r();
3
3
  export {
4
- e as p
4
+ a as t
5
5
  };
@@ -1,5 +1,7 @@
1
- import { __require as r } from "../node_modules/tiny-case/index.js";
2
- var a = r();
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);
3
5
  export {
4
- a as t
6
+ s as default
5
7
  };
@@ -1,7 +1,4 @@
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
+ var e = { exports: {} };
5
2
  export {
6
- s as default
3
+ e as __module
7
4
  };
@@ -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
  };
@@ -7,8 +7,8 @@ import { getImageUrl as E } from "../../../utils/images.js";
7
7
  import "../../../_virtual/lodash.js";
8
8
  import "../../../contexts/themeContext.js";
9
9
  import "react-hook-form";
10
- import "../ImageProfileInput/ImageProfileInput.validators.js";
11
10
  import "../../../constants/countries.js";
11
+ import "../ImageProfileInput/ImageProfileInput.validators.js";
12
12
  import "react-dom";
13
13
  const $ = ({ containerProps: x = {}, imageProps: p = {}, src: m = "", alt: i = "", size: e = 30, user: t = null }) => {
14
14
  const { className: d = " ", ...g } = x, { className: s = " ", ...v } = p, o = e + "px", n = e * 0.5 + "px", l = e * 0.4 + "px", [j, w] = W(!1), N = () => i ? h(i) : t ? h(t != null && t.first_name || t != null && t.last_name ? ((t == null ? void 0 : t.first_name) || "") + " " + ((t == null ? void 0 : t.last_name) || "") : t == null ? void 0 : t.email) : "#9CA1B6", c = (f) => {
@@ -37,7 +37,7 @@ const b = ({
37
37
  return /* @__PURE__ */ i.jsx(p, { children: n && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
38
38
  s.div,
39
39
  {
40
- className: "fixed inset-0 bg-black bg-opacity-50 z-9999 flex items-center justify-center",
40
+ className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
41
41
  initial: "hidden",
42
42
  animate: "visible",
43
43
  exit: "hidden",
@@ -46,13 +46,13 @@ const b = ({
46
46
  children: /* @__PURE__ */ i.jsx(
47
47
  s.div,
48
48
  {
49
- className: "w-full max-w-screen-md mx-16 z-50",
49
+ className: "w-full max-w-lg mx-16 z-50",
50
50
  variants: r,
51
51
  initial: "hidden",
52
52
  animate: "visible",
53
53
  exit: "exit",
54
54
  onClick: (l) => l.stopPropagation(),
55
- children: /* @__PURE__ */ i.jsxs(m, { className: "flex flex-col gap-16 md:gap-24 !p-0", children: [
55
+ children: /* @__PURE__ */ i.jsxs(m, { className: "flex flex-col gap-16 md:gap-24 p-0!", children: [
56
56
  /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-16 md:gap-24 md:p-32 md:pb-0", children: [
57
57
  /* @__PURE__ */ i.jsxs("div", { className: "flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0", children: [
58
58
  t && /* @__PURE__ */ i.jsx("h2", { className: "text-black font-700 text-2xl", children: t }),
@@ -65,7 +65,7 @@ const b = ({
65
65
  }
66
66
  )
67
67
  ] }),
68
- t && /* @__PURE__ */ i.jsx(x, { className: "!bg-gray-100" })
68
+ t && /* @__PURE__ */ i.jsx(x, { className: "bg-gray-100!" })
69
69
  ] }),
70
70
  /* @__PURE__ */ i.jsx("div", { className: "flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4", children: typeof a == "function" ? a(e) : a })
71
71
  ] })
@@ -0,0 +1,34 @@
1
+ import { j as a } from "../../../_virtual/jsx-runtime.js";
2
+ const b = ({
3
+ active: r,
4
+ color: s = "blue",
5
+ variant: d = "rounded",
6
+ className: t,
7
+ ...u
8
+ }) => {
9
+ const e = {
10
+ blue: "border-blue-500 bg-blue-500",
11
+ aqua: "border-aqua-500 bg-aqua-500",
12
+ red: "border-red-500 bg-red-500",
13
+ gray: "border-gray-500 bg-gray-500"
14
+ }[s], o = {
15
+ rounded: "rounded-full",
16
+ square: "rounded-md"
17
+ }[d];
18
+ return /* @__PURE__ */ a.jsx(
19
+ "div",
20
+ {
21
+ className: `transition-colors ease-in-out duration-150 flex items-center justify-center ${o} border-[1.5px] bg-white ${r ? e : "border-gray-400"} ${t}`,
22
+ ...u,
23
+ children: /* @__PURE__ */ a.jsx(
24
+ "div",
25
+ {
26
+ className: `absolute transition-colors ease-in-out duration-150 ${o} size-12 ${r ? e : ""}`
27
+ }
28
+ )
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ b as default
34
+ };
@@ -0,0 +1,255 @@
1
+ import { j as t } from "../../../_virtual/jsx-runtime.js";
2
+ import { useState as b, useRef as w, useEffect as P } from "react";
3
+ import { useController as re } from "react-hook-form";
4
+ import { useFloating as se, useClick as le, useDismiss as ne, useInteractions as ae, useTransitionStyles as ie } from "../../../node_modules/@floating-ui/react/dist/floating-ui.react.js";
5
+ import { useTheme as ce } from "../../../hooks/useTheme.js";
6
+ import de from "../../../constants/countries.js";
7
+ import { autoUpdate as pe } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
8
+ import { offset as ue, flip as me, shift as fe, size as he, arrow as xe } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
9
+ const Le = ({
10
+ countries: v = de,
11
+ name: C,
12
+ control: _,
13
+ label: z = "select_a_country",
14
+ placeholder: F = "type_to_search",
15
+ language: p = "en",
16
+ className: M = "",
17
+ translateKey: D
18
+ }) => {
19
+ var O, I, R;
20
+ const { t: s } = ce(), { field: l, fieldState: A } = re({
21
+ name: C,
22
+ control: _,
23
+ rules: { validate: {} },
24
+ defaultValue: null
25
+ }), [n, u] = b(!1), [c, j] = b(""), [o, S] = b(
26
+ l.value || null
27
+ ), m = w(null), y = w(null), f = w(null), { x: Y, y: H, strategy: U, refs: N, context: h, placement: V, middlewareData: L } = se({
28
+ open: n,
29
+ onOpenChange: u,
30
+ middleware: [
31
+ ue(8),
32
+ me(),
33
+ fe({ padding: 8 }),
34
+ he({
35
+ apply({ availableHeight: e, elements: r }) {
36
+ Object.assign(r.floating.style, {
37
+ maxHeight: `${Math.min(e - 10, 300)}px`
38
+ });
39
+ },
40
+ padding: 8
41
+ }),
42
+ xe({ element: y })
43
+ ],
44
+ placement: "bottom-start",
45
+ whileElementsMounted: pe
46
+ }), W = le(h), X = ne(h), { getReferenceProps: q, getFloatingProps: G } = ae([
47
+ W,
48
+ X
49
+ ]), { isMounted: $, styles: J } = ie(h, {
50
+ duration: {
51
+ open: 200,
52
+ close: 150
53
+ },
54
+ initial: {
55
+ opacity: 0,
56
+ transform: "translateY(-4px)"
57
+ }
58
+ }), E = (Array.isArray(v) ? v : []).filter((e) => {
59
+ if (!c.trim()) return !0;
60
+ const r = p === "es" && e.labelES ? e.labelES.toLowerCase() : e.label.toLowerCase(), i = e.code ? e.code.toLowerCase() : "";
61
+ return r.includes(c.toLowerCase()) || i.includes(c.toLowerCase());
62
+ }), K = (e) => {
63
+ S(e), u(!1), j(""), l.onChange(e);
64
+ }, Q = () => {
65
+ u(!n), !n && m.current && setTimeout(() => {
66
+ var e;
67
+ (e = m.current) == null || e.focus();
68
+ }, 100);
69
+ }, Z = () => {
70
+ setTimeout(() => {
71
+ n || l.onBlur();
72
+ }, 200);
73
+ };
74
+ P(() => {
75
+ S(l.value);
76
+ }, [l.value]), P(() => {
77
+ const e = (r) => {
78
+ f.current && !f.current.contains(r.target) && l.onBlur();
79
+ };
80
+ return document.addEventListener("mousedown", e), () => {
81
+ document.removeEventListener("mousedown", e);
82
+ };
83
+ }, [l]);
84
+ const x = (e) => {
85
+ var r;
86
+ return e ? e.codeISO2 ? e.codeISO2.toLowerCase() : ((r = e.code) == null ? void 0 : r.toLowerCase()) || "" : "";
87
+ }, T = (O = L.arrow) == null ? void 0 : O.x, k = (I = L.arrow) == null ? void 0 : I.y, a = {
88
+ top: "bottom",
89
+ right: "left",
90
+ bottom: "top",
91
+ left: "right"
92
+ }[V.split("-")[0]], ee = q({
93
+ onClick: Q,
94
+ onBlur: Z
95
+ }), te = s(z), oe = s(F), d = (R = A.error) == null ? void 0 : R.message;
96
+ return /* @__PURE__ */ t.jsxs(
97
+ "div",
98
+ {
99
+ ref: f,
100
+ className: `w-full relative flex flex-col gap-8 ${M}`,
101
+ children: [
102
+ /* @__PURE__ */ t.jsx(
103
+ "label",
104
+ {
105
+ className: `text-gray-600 font-600 group ${d && "!text-red-500"} text-label`,
106
+ children: te
107
+ }
108
+ ),
109
+ /* @__PURE__ */ t.jsxs(
110
+ "div",
111
+ {
112
+ ref: N.setReference,
113
+ className: `flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${d && "border-red-500 hover:border-red-600"} ${$ ? "border-blue-400" : "border-blue-100"}`,
114
+ ...ee,
115
+ tabIndex: 0,
116
+ children: [
117
+ o != null && o.code ? /* @__PURE__ */ t.jsxs("div", { className: "flex items-center w-full", children: [
118
+ x(o) && /* @__PURE__ */ t.jsx(
119
+ "img",
120
+ {
121
+ loading: "lazy",
122
+ width: "24",
123
+ height: "16",
124
+ className: "mr-2",
125
+ src: `https://flagcdn.com/w20/${x(
126
+ o
127
+ )}.png`,
128
+ srcSet: `https://flagcdn.com/w40/${x(
129
+ o
130
+ )}.png 2x`,
131
+ alt: o.label,
132
+ onError: (e) => {
133
+ e.currentTarget.style.display = "none";
134
+ }
135
+ }
136
+ ),
137
+ /* @__PURE__ */ t.jsxs("span", { className: "flex-grow", children: [
138
+ p === "es" && o.labelES ? o.labelES : o.label,
139
+ o.code ? ` (${o.code})` : s("select_country")
140
+ ] })
141
+ ] }) : /* @__PURE__ */ t.jsx("span", { className: "text-gray-500", children: oe }),
142
+ /* @__PURE__ */ t.jsx(
143
+ "svg",
144
+ {
145
+ className: `w-16 h-16 transition-transform ${n ? "transform rotate-180" : ""}`,
146
+ fill: "none",
147
+ stroke: "currentColor",
148
+ viewBox: "0 0 24 24",
149
+ children: /* @__PURE__ */ t.jsx(
150
+ "path",
151
+ {
152
+ strokeLinecap: "round",
153
+ strokeLinejoin: "round",
154
+ strokeWidth: "2",
155
+ d: "M19 9l-7 7-7-7"
156
+ }
157
+ )
158
+ }
159
+ )
160
+ ]
161
+ }
162
+ ),
163
+ d && /* @__PURE__ */ t.jsx("p", { className: "mt-1 text-sm text-red-600", children: s(d, { x: s(D || "") || s(C) }) }),
164
+ $ && /* @__PURE__ */ t.jsxs(
165
+ "div",
166
+ {
167
+ ref: N.setFloating,
168
+ style: {
169
+ position: U,
170
+ top: H ?? 0,
171
+ left: Y ?? 0,
172
+ ...J
173
+ },
174
+ className: "z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",
175
+ ...G(),
176
+ children: [
177
+ /* @__PURE__ */ t.jsx(
178
+ "div",
179
+ {
180
+ ref: y,
181
+ className: "absolute w-4 h-4 bg-white rotate-45 border-blue-400",
182
+ style: {
183
+ left: T != null ? `${T}px` : "",
184
+ top: k != null ? `${k}px` : "",
185
+ right: "",
186
+ bottom: "",
187
+ [a]: "-2px",
188
+ borderRight: a === "left" ? "1px solid" : "none",
189
+ borderBottom: a === "top" ? "1px solid" : "none",
190
+ borderLeft: a === "right" ? "1px solid" : "none",
191
+ borderTop: a === "bottom" ? "1px solid" : "none"
192
+ }
193
+ }
194
+ ),
195
+ /* @__PURE__ */ t.jsx("div", { className: "sticky top-0 bg-white p-2 z-20", children: /* @__PURE__ */ t.jsx(
196
+ "input",
197
+ {
198
+ ref: m,
199
+ type: "text",
200
+ className: "w-full p-16",
201
+ placeholder: s("search") + "...",
202
+ value: c,
203
+ onChange: (e) => j(e.target.value),
204
+ onClick: (e) => e.stopPropagation(),
205
+ onBlur: (e) => {
206
+ e.stopPropagation();
207
+ },
208
+ autoFocus: !0
209
+ }
210
+ ) }),
211
+ /* @__PURE__ */ t.jsx("div", { children: E.length > 0 ? /* @__PURE__ */ t.jsx("ul", { className: "flex flex-col", children: E.map((e, r) => {
212
+ var B;
213
+ const i = e.codeISO2 ? e.codeISO2.toLowerCase() : ((B = e.code) == null ? void 0 : B.toLowerCase()) || "";
214
+ return /* @__PURE__ */ t.jsxs(
215
+ "li",
216
+ {
217
+ className: "flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",
218
+ onClick: (g) => {
219
+ g.stopPropagation(), K(e);
220
+ },
221
+ children: [
222
+ i && /* @__PURE__ */ t.jsx(
223
+ "img",
224
+ {
225
+ loading: "lazy",
226
+ width: "24",
227
+ height: "16",
228
+ className: "mr-2",
229
+ src: `https://flagcdn.com/w20/${i}.png`,
230
+ srcSet: `https://flagcdn.com/w40/${i}.png 2x`,
231
+ alt: e.label,
232
+ onError: (g) => {
233
+ g.currentTarget.style.display = "none";
234
+ }
235
+ }
236
+ ),
237
+ /* @__PURE__ */ t.jsxs("span", { children: [
238
+ p === "es" && e.labelES ? e.labelES : e.label,
239
+ e.code ? ` (${e.code})` : "Country not found"
240
+ ] })
241
+ ]
242
+ },
243
+ `${e.code}-${r}`
244
+ );
245
+ }) }) : /* @__PURE__ */ t.jsx("div", { className: "px-3 py-2 text-gray-500", children: s("no_countries_found") }) })
246
+ ]
247
+ }
248
+ )
249
+ ]
250
+ }
251
+ );
252
+ };
253
+ export {
254
+ Le as default
255
+ };
@@ -0,0 +1,40 @@
1
+ import { j as t } from "../../../_virtual/jsx-runtime.js";
2
+ import { faCheck as n } from "../../../node_modules/@fortawesome/pro-regular-svg-icons/index.js";
3
+ import { FontAwesomeIcon as a } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
+ const u = ({ index: o, label: s, active: r, completed: e }) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-8", children: [
5
+ /* @__PURE__ */ t.jsx(
6
+ "div",
7
+ {
8
+ className: `
9
+ size-24 rounded-full border-[1px] flex items-center justify-center text-center font-600 text-label transition-colors ease-in-out duration-200
10
+ ${r && "border-blue-500! text-blue-500!"}
11
+ ${e ? "text-blue-500 bg-blue-50 border-none!" : "border-gray-300 text-gray-300"}
12
+ `,
13
+ children: e ? /* @__PURE__ */ t.jsx(
14
+ a,
15
+ {
16
+ icon: n,
17
+ className: `
18
+ text-blue-500
19
+ size-16
20
+ `
21
+ }
22
+ ) : o
23
+ }
24
+ ),
25
+ /* @__PURE__ */ t.jsx(
26
+ "h6",
27
+ {
28
+ className: `
29
+ text-body-m transition-colors ease-in-out duration-200
30
+ ${r || e ? "text-blue-500" : "text-gray-300"}
31
+ ${r && "font-600"}
32
+ ${e && "font-500"}
33
+ `,
34
+ children: s
35
+ }
36
+ )
37
+ ] });
38
+ export {
39
+ u as default
40
+ };
@@ -0,0 +1,10 @@
1
+ import { IconProp } from '@fortawesome/fontawesome-svg-core';
2
+ declare const SidebarButton: ({ active, icon, label, onClick, expanded, disabled, }: {
3
+ active: boolean;
4
+ icon: IconProp;
5
+ label: string;
6
+ onClick: () => void;
7
+ expanded: boolean;
8
+ disabled?: boolean;
9
+ }) => import("react/jsx-runtime").JSX.Element;
10
+ export default SidebarButton;
@@ -0,0 +1,49 @@
1
+ import { j as o } from "../../../_virtual/jsx-runtime.js";
2
+ import { FontAwesomeIcon as i } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
3
+ const p = ({
4
+ active: t,
5
+ icon: r,
6
+ label: l,
7
+ onClick: a,
8
+ expanded: e,
9
+ disabled: n = !1
10
+ }) => /* @__PURE__ */ o.jsxs(
11
+ "div",
12
+ {
13
+ onClick: () => a(),
14
+ className: `
15
+ flex items-center rounded-full text-gray transition-all duration-150 h-[40px] w-full px-[12.3px]
16
+ ${!e && "w-fit"} hover:bg-[#ECF1FD] ${n ? "cursor-not-allowed opacity-50" : "cursor-pointer"} ${t ? "text-[#4570EB] bg-[#ECF1FD]" : "bg-transparent"}`,
17
+ children: [
18
+ /* @__PURE__ */ o.jsx(
19
+ i,
20
+ {
21
+ icon: r,
22
+ color: t ? "#4570EB" : "#00000",
23
+ style: {
24
+ height: "16px"
25
+ }
26
+ }
27
+ ),
28
+ /* @__PURE__ */ o.jsx(
29
+ "h4",
30
+ {
31
+ className: `
32
+ text-md
33
+ leading-none
34
+ font-600
35
+ w-[0px]
36
+ text-nowrap
37
+ transition-all duration-100 ease-in-out
38
+ opacity-0 capitalize
39
+ ${e && "translate-x-0 opacity-100 !w-full !h-auto ml-8"}
40
+ ${t && "text-lightblue"} `,
41
+ children: l
42
+ }
43
+ )
44
+ ]
45
+ }
46
+ );
47
+ export {
48
+ p as default
49
+ };
@@ -1,10 +1 @@
1
- import { IconProp } from '@fortawesome/fontawesome-svg-core';
2
- declare const SidebarButton: ({ active, icon, label, onClick, expanded, disabled, }: {
3
- active: boolean;
4
- icon: IconProp;
5
- label: string;
6
- onClick: () => void;
7
- expanded: boolean;
8
- disabled?: boolean;
9
- }) => import("react/jsx-runtime").JSX.Element;
10
- export default SidebarButton;
1
+ export { default as SidebarButton } from './SidebarButton';
@@ -0,0 +1,12 @@
1
+ import { j as t } from "../../../_virtual/jsx-runtime.js";
2
+ const l = ({
3
+ label: e,
4
+ value: s,
5
+ className: a
6
+ }) => /* @__PURE__ */ t.jsxs("div", { className: `flex flex-col gap-4 ${a || ""}`, children: [
7
+ /* @__PURE__ */ t.jsx("p", { className: "text-lg font-600 text-gray-800", children: e }),
8
+ /* @__PURE__ */ t.jsx("p", { className: "text-base font-400 text-gray-600", children: s })
9
+ ] });
10
+ export {
11
+ l as default
12
+ };
@@ -6,8 +6,8 @@ import { translateBytes as F } from "../../../utils/files.js";
6
6
  import "../../../_virtual/lodash.js";
7
7
  import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
8
8
  import "react-hook-form";
9
- import "../ImageProfileInput/ImageProfileInput.validators.js";
10
9
  import "../../../constants/countries.js";
10
+ import "../ImageProfileInput/ImageProfileInput.validators.js";
11
11
  import "react-dom";
12
12
  const z = ({
13
13
  title: h = "drag_and_drop_your_files_here",
@@ -1,17 +1,23 @@
1
1
  export * from './ActionButton/index';
2
+ export * from './ActionButton/index';
2
3
  export * from './AsyncToast/index';
3
4
  export * from './Avatar/index';
4
5
  export * from './BoxContainer/index';
5
6
  export * from './Button/index';
6
7
  export * from './CenterModal/index';
8
+ export * from './Checkbox/index';
9
+ export * from './CountryInput/index';
10
+ export * from './CountryLabel/index';
7
11
  export * from './CountrySelectInput/index';
8
12
  export * from './Divider/index';
9
- export * from './FullLogo/index';
10
13
  export * from './IconButton/index';
11
14
  export * from './ImageProfileInput/index';
15
+ export * from './IndexedStep/index';
12
16
  export * from './InfoCard/index';
17
+ export * from './InformationDisclaimer/index';
13
18
  export * from './LoadingSpinner/index';
14
19
  export * from './PasswordInput/index';
20
+ export * from './PhoneInput/index';
15
21
  export * from './ProgressBar/index';
16
22
  export * from './SearchBar/index';
17
23
  export * from './SectionButton/index';
@@ -20,11 +26,8 @@ export * from './SidebarButton/index';
20
26
  export * from './Tab/index';
21
27
  export * from './TextButton/index';
22
28
  export * from './TextInput/index';
29
+ export * from './TextStaticInput/index';
23
30
  export * from './Toast/index';
24
31
  export * from './UncontrolledSelector/index';
25
32
  export * from './UncontrolledTextInput/index';
26
33
  export * from './UploadContainer/index';
27
- export * from './InformationDisclaimer/index';
28
- export * from './CountryLabel/index';
29
- export * from './PhoneInput/index';
30
- export * from './SidebarButton/index';
@@ -8,8 +8,8 @@ import "react-hook-form";
8
8
  import g from "../../atoms/BoxContainer/BoxContainer.js";
9
9
  import "react-dom";
10
10
  import a from "../../atoms/Button/Button.js";
11
- import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
12
11
  import "../../../constants/countries.js";
12
+ import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
13
13
  import { AnimatePresence as u } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
14
14
  import { motion as n } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
15
15
  const M = ({
@@ -55,7 +55,7 @@ const M = ({
55
55
  return /* @__PURE__ */ t.jsx(u, { children: o && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
56
56
  n.div,
57
57
  {
58
- className: "fixed inset-0 bg-black bg-opacity-50 z-9999 flex items-center justify-center",
58
+ className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
59
59
  initial: "hidden",
60
60
  animate: "visible",
61
61
  exit: "hidden",
@@ -89,7 +89,7 @@ const M = ({
89
89
  {
90
90
  onClick: d,
91
91
  variant: "transparent",
92
- className: "px-24 !py-10 !text-lg",
92
+ className: "px-24 py-10! text-lg!",
93
93
  children: e("cancel")
94
94
  }
95
95
  ),
@@ -97,7 +97,7 @@ const M = ({
97
97
  a,
98
98
  {
99
99
  onClick: p,
100
- className: "px-24 py-16 !text-lg",
100
+ className: "px-24 py-16 text-lg!",
101
101
  children: e("confirm")
102
102
  }
103
103
  )
@@ -11,9 +11,9 @@ import ee from "./TimeDisplay.js";
11
11
  import { faChevronDown as te } from "../../../node_modules/@fortawesome/pro-regular-svg-icons/index.js";
12
12
  import "react-hook-form";
13
13
  import "react-dom";
14
+ import "../../../constants/countries.js";
14
15
  import P from "../../atoms/IconButton/IconButton.js";
15
16
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
16
- import "../../../constants/countries.js";
17
17
  import { AnimatePresence as oe } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
18
18
  import { motion as A } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
19
19
  import { startOfWeek as re } from "../../../node_modules/date-fns/startOfWeek.js";
@@ -9,8 +9,8 @@ import { faX as S } from "../../../node_modules/@fortawesome/free-solid-svg-icon
9
9
  import { useTheme as I } from "../../../hooks/useTheme.js";
10
10
  import { formatLocalizedDate as v } from "../../../utils/dates.js";
11
11
  import "../../../_virtual/lodash.js";
12
- import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
13
12
  import "../../../constants/countries.js";
13
+ import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
14
14
  import "react-dom";
15
15
  const O = ({ control: l, name: n, showTimeSelector: m = !1, label: p, placeholder: i }) => {
16
16
  const {