prometeo-design-system 2.1.0 → 2.2.1

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 (46) hide show
  1. package/dist/Avatar.es.js +1 -1
  2. package/dist/{Button-Bc0LYLfg.js → Button-DsbEyjth.js} +1 -1
  3. package/dist/Button.es.js +1 -1
  4. package/dist/{CardProfile-BiYr6kY9.js → CardProfile-BhFog7j5.js} +1 -1
  5. package/dist/CardProfile.es.js +1 -1
  6. package/dist/CheckBox.es.js +1 -1
  7. package/dist/CheckboxFormik.es.js +1 -1
  8. package/dist/DatePicker.es.js +2 -2
  9. package/dist/DialogModal.es.js +1 -1
  10. package/dist/DrawerDesktop.es.js +2 -2
  11. package/dist/DrawerMobile.es.js +204 -37
  12. package/dist/DropZone.es.js +1 -1
  13. package/dist/Header.es.js +1 -1
  14. package/dist/Icons/Icons.d.ts +1 -0
  15. package/dist/Icons.es.js +29 -12
  16. package/dist/Input.es.js +1 -1
  17. package/dist/InputFormik.es.js +1 -1
  18. package/dist/InputMultiple.es.js +1 -1
  19. package/dist/{LayoutGeneric-jDE96L2N.js → LayoutGeneric-p4Pll4Cm.js} +1 -1
  20. package/dist/LayoutGeneric.es.js +1 -1
  21. package/dist/Logo.es.js +1 -1
  22. package/dist/Menu.es.js +1 -1
  23. package/dist/OtpInput.es.js +1 -1
  24. package/dist/Pagination.es.js +1 -1
  25. package/dist/ProfilePictureUpload.es.js +1 -1
  26. package/dist/ProgressBar.es.js +1 -1
  27. package/dist/Select.es.js +1 -1
  28. package/dist/SelectFormik.es.js +1 -1
  29. package/dist/Skeleton.es.js +1 -1
  30. package/dist/Spinner.es.js +1 -1
  31. package/dist/Steps.es.js +1 -1
  32. package/dist/SwipeContainer.es.js +1 -1
  33. package/dist/Switch.es.js +1 -1
  34. package/dist/TabLinks.es.js +1 -1
  35. package/dist/Table.es.js +1 -1
  36. package/dist/TextArea.es.js +1 -1
  37. package/dist/Tooltip.es.js +1 -1
  38. package/dist/components/Drawer/DrawerDesktop.d.ts +2 -2
  39. package/dist/components/Drawer/DrawerMobile.d.ts +16 -13
  40. package/dist/components/Drawer/DrawerMobile_old.d.ts +18 -0
  41. package/dist/components/Drawer/useDrawerMobile.d.ts +1 -1
  42. package/dist/{jsx-runtime-ByW6EXIE.js → jsx-runtime-DKDX3adD.js} +94 -96
  43. package/dist/lib/utils.d.ts +1 -0
  44. package/dist/prometeo-design-system.css +1 -1
  45. package/dist/prometeo-design-system.es.js +5 -5
  46. package/package.json +1 -1
package/dist/Avatar.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as p } from "./cn-B6yFEsav.js";
3
3
  import { motion as u } from "framer-motion";
4
4
  import { useState as f } from "react";
@@ -1,4 +1,4 @@
1
- import { j as f } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as f } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as g } from "./cn-B6yFEsav.js";
3
3
  import { clsx as B } from "clsx";
4
4
  import { useAnimationControls as E, motion as j } from "framer-motion";
package/dist/Button.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as f } from "./Button-Bc0LYLfg.js";
1
+ import { B as f } from "./Button-DsbEyjth.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as l } from "./cn-B6yFEsav.js";
3
3
  import { motion as i, AnimatePresence as u } from "framer-motion";
4
4
  import m from "./Avatar.es.js";
@@ -1,4 +1,4 @@
1
- import { C as a } from "./CardProfile-BiYr6kY9.js";
1
+ import { C as a } from "./CardProfile-BhFog7j5.js";
2
2
  export {
3
3
  a as CardProfile
4
4
  };
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as l } from "./Icons.es.js";
3
3
  import { useId as o, useRef as d } from "react";
4
4
  const k = ({ className: s, disabled: e, ...a }) => {
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as x } from "./Icons.es.js";
3
3
  import { c as r } from "./cn-B6yFEsav.js";
4
4
  import { useField as h, ErrorMessage as p } from "formik";
@@ -1,11 +1,11 @@
1
- import { j as $ } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as $ } from "./jsx-runtime-DKDX3adD.js";
2
2
  import m, { createContext as mn, useContext as hn, useCallback as q, useRef as Se, useLayoutEffect as yn, useState as he, useEffect as _e, useMemo as fe, memo as pn } from "react";
3
3
  import { InputMultiple as gn } from "./InputMultiple.es.js";
4
4
  import wn from "./Input.es.js";
5
5
  import { createPortal as bn } from "react-dom";
6
6
  import { Icons as Mt } from "./Icons.es.js";
7
7
  import { c as Be } from "./cn-B6yFEsav.js";
8
- import { B as vt } from "./Button-Bc0LYLfg.js";
8
+ import { B as vt } from "./Button-DsbEyjth.js";
9
9
  function Mn(e, t, n = "long") {
10
10
  return new Intl.DateTimeFormat("en-US", {
11
11
  // Enforces engine to render the time. Without the option JavaScriptCore omits it.
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { forwardRef as u, useState as p, useImperativeHandle as f, useRef as g } from "react";
3
3
  import { c as i } from "./cn-B6yFEsav.js";
4
4
  const x = u(({
@@ -1,6 +1,6 @@
1
- import { j as s } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as s } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as b } from "./cn-B6yFEsav.js";
3
- import { c as y, B as h } from "./Button-Bc0LYLfg.js";
3
+ import { c as y, B as h } from "./Button-DsbEyjth.js";
4
4
  import { createPortal as g } from "react-dom";
5
5
  import { Icons as C } from "./Icons.es.js";
6
6
  import { forwardRef as k, useState as j, useRef as x, useEffect as v, useCallback as l, useImperativeHandle as D } from "react";
@@ -1,44 +1,211 @@
1
- import { j as r } from "./jsx-runtime-ByW6EXIE.js";
2
- import { forwardRef as O, useState as g, useRef as x, useCallback as t, useImperativeHandle as D } from "react";
3
- import { Drawer as n } from "vaul";
4
- import { c as R } from "./cn-B6yFEsav.js";
5
- const N = O(({ children: e, setSnap: s, snap: o, snapPoints: c, onClose: i, defaultOpen: m = !1, modal: b = !0, className: h, open: u }, w) => {
6
- const [j, a] = g(m), l = u !== void 0 ? u : j, d = x(i);
7
- d.current = i;
8
- const f = t(() => {
9
- a(!0);
10
- }, []), p = t(() => {
11
- a(!1);
12
- }, []), v = t(() => {
13
- a(!1), d.current?.();
14
- }, []);
15
- return D(w, () => ({
16
- open: f,
17
- close: p,
18
- isOpen: l
19
- }), [f, p, l]), /* @__PURE__ */ r.jsxs(n.Root, { snapPoints: c, activeSnapPoint: o, setActiveSnapPoint: s, onClose: v, open: l, modal: b, snapToSequentialPoint: !0, children: [
20
- /* @__PURE__ */ r.jsx(n.Overlay, { className: " bg-black/40 inset-0 fixed " }),
21
- /* @__PURE__ */ r.jsx(n.Portal, { children: /* @__PURE__ */ r.jsx(n.Content, { className: R(" bg-neutral-default-default z-[200] flex flex-col rounded-t-[12px] mt-24 fixed bottom-0 left-0 right-0 outline-none h-[90%] border-[1px] border-neutral-strong-default text-neutral-default-default", h), children: /* @__PURE__ */ r.jsxs("div", { className: "p-4 rounded-t-[10px] flex-1 overflow-y-auto z-[201]", children: [
22
- /* @__PURE__ */ r.jsx("div", { "aria-hidden": !0, className: "mx-auto w-12 h-1.5 flex-shrink-0 rounded-full bg-gray-300 mb-8 z-[201]" }),
23
- e
24
- ] }) }) })
1
+ import { j as f } from "./jsx-runtime-DKDX3adD.js";
2
+ import { c as q } from "./cn-B6yFEsav.js";
3
+ import { forwardRef as U, useState as W, useRef as v, useEffect as M, useCallback as c, useMemo as K, useImperativeHandle as V } from "react";
4
+ import { createPortal as X } from "react-dom";
5
+ const N = 44, ne = U((d, r) => {
6
+ const { children: p, defaultOpen: o = !1, onClose: h, snapPoints: b = ["60%"], setSnap: w, snap: H, attachToParent: T = !1 } = d, [y, a] = W(H || "0%"), k = v(h), L = v(w);
7
+ M(() => {
8
+ o && g();
9
+ }, [o]), M(() => {
10
+ L.current = w;
11
+ }, [w]);
12
+ const u = c(() => {
13
+ a("0%"), k.current?.();
14
+ }, []), g = c((Y) => {
15
+ a(Y || b[0] || "60%");
16
+ }, [b]), i = K(() => y !== "0%", [y]);
17
+ return V(r, () => ({
18
+ open: g,
19
+ close: u,
20
+ isOpen: i
21
+ }), [g, u, i]), T ? /* @__PURE__ */ f.jsx(J, { ...d, snap: y, setSnap: a, children: p }) : X(/* @__PURE__ */ f.jsx(J, { ...d, snap: y, setSnap: a, children: p }), document.body);
22
+ }), J = ({ children: d, attachToParent: r = !1, className: p, snap: o, snapPoints: h = ["60%"], setSnap: b, hideOnClose: w = !1, header: H, modal: T = !1, closeOnOverlayClick: y = !1 }) => {
23
+ const a = v(null), k = v(null), L = v(null), u = v(null), g = v(null), [i, D] = W(w ? 0 : N), [Y, S] = W(!1), R = c(() => {
24
+ if (!a.current) return [];
25
+ const e = r && a.current.parentElement?.offsetHeight || window.innerHeight;
26
+ return h?.map((t) => typeof t == "string" && t.endsWith("%") ? parseFloat(t) > 100 ? e : parseFloat(t) / 100 * e : typeof t == "number" && t >= 0 && t <= 1 ? t * e : typeof t == "number" ? t : 0) || [];
27
+ }, [h, r]), A = c((e, t) => {
28
+ const n = R();
29
+ if (n.length === 0) return e;
30
+ if (Math.abs(t) > 0.5)
31
+ if (t > 0) {
32
+ const l = n.filter((s) => s < e);
33
+ return l.length > 0 ? Math.max(...l) : w ? 0 : N;
34
+ } else {
35
+ const l = n.filter((s) => s > e);
36
+ if (l.length > 0)
37
+ return Math.min(...l);
38
+ }
39
+ return n.reduce((l, s) => Math.abs(s - e) < Math.abs(l - e) ? s : l);
40
+ }, [R]), z = c((e) => {
41
+ if (S(!0), D(e), b && h) {
42
+ const t = r && a.current?.parentElement?.offsetHeight || window.innerHeight, n = e <= N ? "0%" : `${Math.round(e / t * 100)}%`;
43
+ b(n);
44
+ }
45
+ setTimeout(() => {
46
+ S(!1);
47
+ }, 300);
48
+ }, [b, h, r]), j = c(() => {
49
+ if (g.current && r) {
50
+ const { scrollY: e } = g.current;
51
+ document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollTo(0, e), g.current = null;
52
+ }
53
+ }, [r]);
54
+ M(() => () => {
55
+ j();
56
+ }, [j]), M(() => {
57
+ if (!a.current || !o) return;
58
+ S(!0);
59
+ const e = r && a.current.parentElement?.offsetHeight || window.innerHeight;
60
+ let t = 0;
61
+ typeof o == "string" && o.endsWith("%") ? parseFloat(o) <= 0 ? t = w ? 0 : N : t = parseFloat(o) / 100 * e : typeof o == "number" && (o >= 0 && o <= 1 ? t = o * e : t = o), D(t), setTimeout(() => {
62
+ S(!1);
63
+ }, 300);
64
+ }, [o, r]);
65
+ const C = c((e) => {
66
+ const t = e.touches[0];
67
+ u.current = {
68
+ isDragging: !1,
69
+ startY: t.clientY,
70
+ startHeight: i,
71
+ lastY: t.clientY,
72
+ lastTime: Date.now(),
73
+ velocity: 0
74
+ };
75
+ }, [i]), B = c((e) => {
76
+ const t = e;
77
+ u.current = {
78
+ isDragging: !1,
79
+ startY: t.clientY,
80
+ startHeight: i,
81
+ lastY: t.clientY,
82
+ lastTime: Date.now(),
83
+ velocity: 0
84
+ };
85
+ }, [i]), F = c((e) => {
86
+ if (!u.current) return;
87
+ const t = e.touches[0], n = u.current, x = n.startY - t.clientY, l = n.isDragging || Math.abs(x) > 5;
88
+ if (!n.isDragging && l && (n.isDragging = !0, r)) {
89
+ const s = window.scrollY;
90
+ g.current = { scrollY: s }, document.body.style.position = "fixed", document.body.style.top = `-${s}px`, document.body.style.width = "100%";
91
+ }
92
+ if (l) {
93
+ e.preventDefault();
94
+ const s = Date.now(), E = s - n.lastTime;
95
+ if (E > 0) {
96
+ const G = (t.clientY - n.lastY) / E;
97
+ n.velocity = n.velocity * 0.8 + G * 0.2;
98
+ }
99
+ n.lastY = t.clientY, n.lastTime = s;
100
+ const I = n.startHeight + x, O = r && a.current?.parentElement?.offsetHeight || window.innerHeight, $ = Math.max(0, Math.min(I, O));
101
+ D($);
102
+ }
103
+ }, [r]), _ = c((e) => {
104
+ if (!u.current) return;
105
+ const t = e, n = u.current, x = n.startY - t.clientY, l = n.isDragging || Math.abs(x) > 5;
106
+ if (!n.isDragging && l && (n.isDragging = !0, r)) {
107
+ const s = window.scrollY;
108
+ g.current = { scrollY: s }, document.body.style.position = "fixed", document.body.style.top = `-${s}px`, document.body.style.width = "100%";
109
+ }
110
+ if (l) {
111
+ e.preventDefault();
112
+ const s = Date.now(), E = s - n.lastTime;
113
+ if (E > 0) {
114
+ const G = (t.clientY - n.lastY) / E;
115
+ n.velocity = n.velocity * 0.8 + G * 0.2;
116
+ }
117
+ n.lastY = t.clientY, n.lastTime = s;
118
+ const I = n.startHeight + x, O = r && a.current?.parentElement?.offsetHeight || window.innerHeight, $ = Math.max(0, Math.min(I, O));
119
+ D($);
120
+ }
121
+ }, [r]), m = c(() => {
122
+ if (!u.current) return;
123
+ const e = u.current;
124
+ if (e.isDragging) {
125
+ j();
126
+ const t = A(i, e.velocity);
127
+ z(t);
128
+ }
129
+ u.current = null;
130
+ }, [i, A, z, j]);
131
+ M(() => {
132
+ const e = L.current;
133
+ if (e)
134
+ return e.addEventListener("touchstart", C, { passive: !1 }), e.addEventListener("touchmove", F, { passive: !1 }), e.addEventListener("touchend", m), e.addEventListener("touchcancel", m), e.addEventListener("mousedown", B, { passive: !1 }), e.addEventListener("mousemove", _, { passive: !1 }), e.addEventListener("mouseup", m), e.addEventListener("mouseleave", m), () => {
135
+ e.removeEventListener("touchstart", C), e.removeEventListener("touchmove", F), e.removeEventListener("touchend", m), e.removeEventListener("touchcancel", m), e.removeEventListener("mousedown", B), e.removeEventListener("mousemove", _), e.removeEventListener("mouseup", m), e.removeEventListener("mouseleave", m);
136
+ };
137
+ }, [C, F, m]);
138
+ const Q = K(() => o !== "0%", [o]);
139
+ return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
140
+ T && /* @__PURE__ */ f.jsx(
141
+ "div",
142
+ {
143
+ className: q(Q ? "fixed inset-0 bg-black/40 z-55 cursor-default" : "hidden"),
144
+ onClick: (e) => {
145
+ e.preventDefault(), e.stopPropagation(), y && z(0);
146
+ },
147
+ "aria-hidden": "true"
148
+ }
149
+ ),
150
+ /* @__PURE__ */ f.jsxs(
151
+ "div",
152
+ {
153
+ ref: a,
154
+ className: q(
155
+ r ? "absolute" : "fixed",
156
+ "z-60 bottom-0 w-full",
157
+ "bg-neutral-default-default",
158
+ "border-t border-neutral-strong-default rounded-t-[12px]",
159
+ i === 0 ? "border-none" : "",
160
+ p,
161
+ "flex flex-col items-center",
162
+ "touch-none select-none"
163
+ ),
164
+ style: {
165
+ height: i > 0 ? `${i}px` : "0px",
166
+ overflow: i < R()[0] || Y ? "hidden" : "auto",
167
+ transition: Y ? "height 0.3s cubic-bezier(0.32, 0.72, 0, 1)" : "none"
168
+ },
169
+ children: [
170
+ /* @__PURE__ */ f.jsx(
171
+ "div",
172
+ {
173
+ ref: L,
174
+ className: "w-full absolute top-0 h-11 flex items-center justify-center cursor-grab active:cursor-grabbing z-70 bg-inherit!",
175
+ children: /* @__PURE__ */ f.jsx("span", { className: "w-12 h-1 rounded-full bg-neutral-weak-default" })
176
+ }
177
+ ),
178
+ typeof H == "string" ? /* @__PURE__ */ f.jsx("p", { className: " prometeo-fonts-headline-small text-neutral-default-default w-full h-12 bg-inherit absolute top-11 z-70 px-4", children: H }) : H,
179
+ /* @__PURE__ */ f.jsx(
180
+ "div",
181
+ {
182
+ ref: k,
183
+ className: "w-full h-full overflow-y-auto pt-11 px-4 pb-4",
184
+ style: {
185
+ overscrollBehavior: "contain",
186
+ overflow: i < R()[0] || Y ? "hidden" : "auto"
187
+ },
188
+ children: d
189
+ }
190
+ )
191
+ ]
192
+ }
193
+ )
25
194
  ] });
26
- });
27
- N.displayName = "DrawerMobile";
28
- const S = () => {
29
- const e = x(null), s = t(() => {
30
- e.current?.open();
31
- }, []), o = t(() => {
32
- e.current?.close();
195
+ }, re = () => {
196
+ const d = v(null), r = c((h) => {
197
+ d.current?.open(h);
198
+ }, []), p = c(() => {
199
+ d.current?.close();
33
200
  }, []);
34
201
  return {
35
- isOpen: t(() => e.current?.isOpen ?? !1, []),
36
- open: s,
37
- close: o,
38
- drawerRef: e
202
+ isOpen: c(() => d.current?.isOpen ?? !1, []),
203
+ open: r,
204
+ close: p,
205
+ drawerRef: d
39
206
  };
40
207
  };
41
208
  export {
42
- N as default,
43
- S as useDrawerMobile
209
+ ne as default,
210
+ re as useDrawerMobile
44
211
  };
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as i } from "./cn-B6yFEsav.js";
3
3
  import R, { useCallback as w } from "react";
4
4
  import { useDropzone as z } from "react-dropzone";
package/dist/Header.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as x } from "./cn-B6yFEsav.js";
3
3
  import { motion as m } from "framer-motion";
4
4
  import { memo as i } from "react";
@@ -48,4 +48,5 @@ export declare const Icons: {
48
48
  readonly Pause: ({ size, className, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
49
49
  readonly FastForward: ({ size, className, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
50
50
  readonly Trash: ({ size, className, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
51
+ readonly Sort: ({ size, className, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
51
52
  };
package/dist/Icons.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as h } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as h } from "./jsx-runtime-DKDX3adD.js";
2
2
  const v = ({
3
3
  size: t = 24,
4
4
  className: q,
@@ -427,19 +427,19 @@ const v = ({
427
427
  size: t = 24,
428
428
  className: q,
429
429
  ...r
430
- }) => /* @__PURE__ */ h.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...r, viewBox: "0 -960 960 960", width: t, height: t, fill: "currentColor", className: q, children: /* @__PURE__ */ h.jsx("path", { d: "M720-400v-120H600v-80h120v-120h80v120h120v80H800v120h-80Zm-360-80q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm80-80h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0-80Zm0 400Z" }) }), U = ({
430
+ }) => /* @__PURE__ */ h.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...r, viewBox: "0 -960 960 960", width: t, height: t, fill: "currentColor", className: q, children: /* @__PURE__ */ h.jsx("path", { d: "M720-400v-120H600v-80h120v-120h80v120h120v80H800v120h-80Zm-360-80q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm80-80h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0-80Zm0 400Z" }) }), S = ({
431
431
  size: t = 24,
432
432
  className: q,
433
433
  ...r
434
- }) => /* @__PURE__ */ h.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...r, viewBox: "0 -960 960 960", width: t, height: t, fill: "currentColor", className: q, children: /* @__PURE__ */ h.jsx("path", { d: "M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-370h80v370q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-390h80v390Z" }) }), D = ({
434
+ }) => /* @__PURE__ */ h.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...r, viewBox: "0 -960 960 960", width: t, height: t, fill: "currentColor", className: q, children: /* @__PURE__ */ h.jsx("path", { d: "M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-370h80v370q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-390h80v390Z" }) }), U = ({
435
435
  size: t = 24,
436
436
  className: q,
437
437
  ...r
438
- }) => /* @__PURE__ */ h.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...r, viewBox: "0 -960 960 960", width: t, height: t, fill: "currentColor", className: q, children: /* @__PURE__ */ h.jsx("path", { d: "M480-80q-155 0-269-103T82-440h81q15 121 105.5 200.5T480-160q134 0 227-93t93-227q0-134-93-227t-227-93q-86 0-159.5 42.5T204-640h116v80H88q29-140 139-230t253-90q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm112-232L440-464v-216h80v184l128 128-56 56Z" }) }), F = ({
438
+ }) => /* @__PURE__ */ h.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...r, viewBox: "0 -960 960 960", width: t, height: t, fill: "currentColor", className: q, children: /* @__PURE__ */ h.jsx("path", { d: "M480-80q-155 0-269-103T82-440h81q15 121 105.5 200.5T480-160q134 0 227-93t93-227q0-134-93-227t-227-93q-86 0-159.5 42.5T204-640h116v80H88q29-140 139-230t253-90q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm112-232L440-464v-216h80v184l128 128-56 56Z" }) }), D = ({
439
439
  size: t = 24,
440
440
  className: q,
441
441
  ...r
442
- }) => /* @__PURE__ */ h.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...r, viewBox: "0 -960 960 960", width: t, height: t, fill: "currentColor", className: q, children: /* @__PURE__ */ h.jsx("path", { d: "M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z" }) }), S = ({
442
+ }) => /* @__PURE__ */ h.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...r, viewBox: "0 -960 960 960", width: t, height: t, fill: "currentColor", className: q, children: /* @__PURE__ */ h.jsx("path", { d: "M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z" }) }), F = ({
443
443
  size: t = 24,
444
444
  className: q,
445
445
  ...r
@@ -534,7 +534,23 @@ const v = ({
534
534
  className: q,
535
535
  children: /* @__PURE__ */ h.jsx("path", { d: "M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM360-280h80v-360h-80v360Zm160 0h80v-360h-80v360ZM280-720v520-520Z" })
536
536
  }
537
- ), Q = {
537
+ ), K = ({
538
+ size: t = 24,
539
+ className: q,
540
+ ...r
541
+ }) => /* @__PURE__ */ h.jsx(
542
+ "svg",
543
+ {
544
+ xmlns: "http://www.w3.org/2000/svg",
545
+ width: t,
546
+ height: t,
547
+ viewBox: "0 0 8 14",
548
+ fill: "currentColor",
549
+ ...r,
550
+ className: q,
551
+ children: /* @__PURE__ */ h.jsx("path", { d: "M4 13.3333L0 9.33333L0.95 8.38333L4 11.4333L7.05 8.38333L8 9.33333L4 13.3333ZM0.966667 4.93333L0 4L4 0L8 4L7.03333 4.93333L4 1.9L0.966667 4.93333Z" })
552
+ }
553
+ ), W = {
538
554
  Ticket: v,
539
555
  Home: T,
540
556
  Boards: w,
@@ -563,10 +579,10 @@ const v = ({
563
579
  FaLock: y,
564
580
  AccountCircle: E,
565
581
  UserAdd: A,
566
- AttachFile: U,
567
- HistoryActivity: D,
568
- MessageSquare: F,
569
- CloseNavBarDesktop: S,
582
+ AttachFile: S,
583
+ HistoryActivity: U,
584
+ MessageSquare: D,
585
+ CloseNavBarDesktop: F,
570
586
  EyeVisibility: V,
571
587
  EyeVisibilityOff: _,
572
588
  Check: b,
@@ -577,8 +593,9 @@ const v = ({
577
593
  Clock: P,
578
594
  Pause: R,
579
595
  FastForward: G,
580
- Trash: J
596
+ Trash: J,
597
+ Sort: K
581
598
  };
582
599
  export {
583
- Q as Icons
600
+ W as Icons
584
601
  };
package/dist/Input.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as J } from "./Icons.es.js";
3
3
  import { c as e } from "./cn-B6yFEsav.js";
4
4
  import { memo as xe, useState as H, useRef as K, useCallback as me, useEffect as L, useLayoutEffect as ge } from "react";
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as u } from "./cn-B6yFEsav.js";
3
3
  import { FastField as O, ErrorMessage as q } from "formik";
4
4
  import { memo as G, useState as I, useRef as H, useCallback as y, useLayoutEffect as J } from "react";
@@ -1,4 +1,4 @@
1
- import { j as r } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as r } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as C } from "./Icons.es.js";
3
3
  import { c as d } from "./cn-B6yFEsav.js";
4
4
  import S, { useRef as M, useState as x, useCallback as T, useEffect as ee } from "react";
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { useRef as a, createContext as i, useContext as u, memo as c } from "react";
3
3
  const o = i(null), l = ({ children: e }) => {
4
4
  const r = a(null), s = (n) => {
@@ -1,4 +1,4 @@
1
- import { L as f } from "./LayoutGeneric-jDE96L2N.js";
1
+ import { L as f } from "./LayoutGeneric-p4Pll4Cm.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/Logo.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as t } from "./Icons.es.js";
3
3
  const s = () => /* @__PURE__ */ e.jsxs("div", { className: "container-logo flex items-center justify-center gap-1 bg-gradient-to-br from-[#312C85] to-[#1E1A4D] rounded-md min-w-[185px]", children: [
4
4
  /* @__PURE__ */ e.jsx(t.TicketFilled, { size: 28, className: "rotate-140 text-primary-medium-pressed icon-logo" }),
package/dist/Menu.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as r } from "./cn-B6yFEsav.js";
3
3
  import { AnimatePresence as n, motion as o } from "framer-motion";
4
4
  const s = ({ menuRef: t, children: a, className: i }) => /* @__PURE__ */ e.jsx("div", { ref: t, className: r("flex bg-neutral-default-default absolute bottom-10 left-24 border-1 border-neutral-strong-default h-auto w-60 rounded-md px-2", i), children: /* @__PURE__ */ e.jsx(n, { mode: "wait", children: /* @__PURE__ */ e.jsx(
@@ -1,4 +1,4 @@
1
- import { j as p } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as p } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as ve } from "./Icons.es.js";
3
3
  import { c as L } from "./cn-B6yFEsav.js";
4
4
  import * as n from "react";
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { motion as a } from "framer-motion";
3
3
  function h({
4
4
  currentPage: i = 1,
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { motion as i, AnimatePresence as E } from "framer-motion";
3
3
  import { useRef as v, useState as R, useLayoutEffect as A } from "react";
4
4
  import H from "./Avatar.es.js";
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as x } from "./cn-B6yFEsav.js";
3
3
  import u from "react";
4
4
  const j = u.forwardRef(
package/dist/Select.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as w } from "./Icons.es.js";
3
3
  import { c as o } from "./cn-B6yFEsav.js";
4
4
  import { memo as se, useState as y, useRef as re, useEffect as oe } from "react";
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as h } from "./Icons.es.js";
3
3
  import { c as i } from "./cn-B6yFEsav.js";
4
4
  import { useField as P, ErrorMessage as M } from "formik";
@@ -1,4 +1,4 @@
1
- import { j as x } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as x } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as P } from "./cn-B6yFEsav.js";
3
3
  import { useRef as $, useLayoutEffect as B } from "react";
4
4
  const v = (g) => {
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { ClipLoader as l, SyncLoader as m, HashLoader as p, GridLoader as x, DotLoader as j, BounceLoader as f } from "react-spinners";
3
3
  import { c as L } from "./cn-B6yFEsav.js";
4
4
  const y = ({
package/dist/Steps.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as j } from "./cn-B6yFEsav.js";
3
3
  import { motion as r } from "framer-motion";
4
4
  import N from "react";
@@ -1,4 +1,4 @@
1
- import { j as o } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as o } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as i } from "./cn-B6yFEsav.js";
3
3
  import { useState as d, useRef as D, useEffect as L } from "react";
4
4
  const O = ({
package/dist/Switch.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as n } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as n } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as r } from "./cn-B6yFEsav.js";
3
3
  import { useRef as p } from "react";
4
4
  import { motion as l } from "framer-motion";
@@ -1,4 +1,4 @@
1
- import { j as a } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as a } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { motion as x } from "framer-motion";
3
3
  import { memo as b } from "react";
4
4
  import { c as r } from "./cn-B6yFEsav.js";
package/dist/Table.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as r } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as r } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as l } from "./cn-B6yFEsav.js";
3
3
  import * as o from "react";
4
4
  const n = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx("div", { className: "w-full", children: /* @__PURE__ */ r.jsx(
@@ -1,4 +1,4 @@
1
- import { j as y } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as y } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as C } from "./cn-B6yFEsav.js";
3
3
  import * as s from "react";
4
4
  function M({
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { AnimatePresence as f, motion as n } from "framer-motion";
3
3
  import { useState as p, cloneElement as x } from "react";
4
4
  import { Icons as b } from "./Icons.es.js";
@@ -13,5 +13,5 @@ export interface DrawerDesktopProps {
13
13
  attachToParent?: boolean;
14
14
  closeOnOverlayClick?: boolean;
15
15
  }
16
- declare const DrawerDesktopV2: import('react').ForwardRefExoticComponent<DrawerDesktopProps & import('react').RefAttributes<DrawerDesktopHandle>>;
17
- export default DrawerDesktopV2;
16
+ declare const DrawerDesktop: import('react').ForwardRefExoticComponent<DrawerDesktopProps & import('react').RefAttributes<DrawerDesktopHandle>>;
17
+ export default DrawerDesktop;