prometeo-design-system 2.1.0 → 2.2.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.
- package/dist/Avatar.es.js +1 -1
- package/dist/{Button-Bc0LYLfg.js → Button-DsbEyjth.js} +1 -1
- package/dist/Button.es.js +1 -1
- package/dist/{CardProfile-BiYr6kY9.js → CardProfile-BhFog7j5.js} +1 -1
- package/dist/CardProfile.es.js +1 -1
- package/dist/CheckBox.es.js +1 -1
- package/dist/CheckboxFormik.es.js +1 -1
- package/dist/DatePicker.es.js +2 -2
- package/dist/DialogModal.es.js +1 -1
- package/dist/DrawerDesktop.es.js +3 -3
- package/dist/DrawerMobile.es.js +204 -37
- package/dist/DropZone.es.js +1 -1
- package/dist/Header.es.js +1 -1
- package/dist/Icons/Icons.d.ts +1 -0
- package/dist/Icons.es.js +29 -12
- package/dist/Input.es.js +1 -1
- package/dist/InputFormik.es.js +1 -1
- package/dist/InputMultiple.es.js +1 -1
- package/dist/{LayoutGeneric-jDE96L2N.js → LayoutGeneric-p4Pll4Cm.js} +1 -1
- package/dist/LayoutGeneric.es.js +1 -1
- package/dist/Logo.es.js +1 -1
- package/dist/Menu.es.js +1 -1
- package/dist/OtpInput.es.js +1 -1
- package/dist/Pagination.es.js +1 -1
- package/dist/ProfilePictureUpload.es.js +1 -1
- package/dist/ProgressBar.es.js +1 -1
- package/dist/Select.es.js +1 -1
- package/dist/SelectFormik.es.js +1 -1
- package/dist/Skeleton.es.js +1 -1
- package/dist/Spinner.es.js +1 -1
- package/dist/Steps.es.js +1 -1
- package/dist/SwipeContainer.es.js +1 -1
- package/dist/Switch.es.js +1 -1
- package/dist/TabLinks.es.js +1 -1
- package/dist/Table.es.js +1 -1
- package/dist/TextArea.es.js +1 -1
- package/dist/Tooltip.es.js +1 -1
- package/dist/components/Drawer/DrawerDesktop.d.ts +2 -2
- package/dist/components/Drawer/DrawerMobile.d.ts +16 -13
- package/dist/components/Drawer/DrawerMobile_old.d.ts +18 -0
- package/dist/components/Drawer/useDrawerMobile.d.ts +1 -1
- package/dist/{jsx-runtime-ByW6EXIE.js → jsx-runtime-DKDX3adD.js} +94 -96
- package/dist/lib/utils.d.ts +1 -0
- package/dist/prometeo-design-system.css +1 -1
- package/dist/prometeo-design-system.es.js +5 -5
- package/package.json +1 -1
package/dist/Avatar.es.js
CHANGED
package/dist/Button.es.js
CHANGED
package/dist/CardProfile.es.js
CHANGED
package/dist/CheckBox.es.js
CHANGED
package/dist/DatePicker.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { j as $ } from "./jsx-runtime-
|
|
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-
|
|
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.
|
package/dist/DialogModal.es.js
CHANGED
package/dist/DrawerDesktop.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as s } from "./jsx-runtime-
|
|
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-
|
|
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";
|
|
@@ -92,7 +92,7 @@ const z = ({ children: e, direction: a = "left", isOpen: t, close: n, modal: o =
|
|
|
92
92
|
"div",
|
|
93
93
|
{
|
|
94
94
|
className: b(
|
|
95
|
-
"bg-neutral-strong-default p-4 pt-10 h-full top-0 z-
|
|
95
|
+
"bg-neutral-strong-default p-4 pt-10 h-full top-0 z-60 w-max overflow-y-auto",
|
|
96
96
|
d ? "absolute" : "fixed",
|
|
97
97
|
f({ isOpen: t, direction: a }),
|
|
98
98
|
c
|
package/dist/DrawerMobile.es.js
CHANGED
|
@@ -1,44 +1,211 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}, [])
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { j as d } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
+
import { c as T } from "./cn-B6yFEsav.js";
|
|
3
|
+
import { forwardRef as q, useState as J, useRef as v, useEffect as M, useCallback as l, useMemo as B, useImperativeHandle as K } from "react";
|
|
4
|
+
import { createPortal as Q } from "react-dom";
|
|
5
|
+
const G = 44, U = "height 0.5s cubic-bezier(0.32, 0.72, 0, 1)", ee = q((a, o) => {
|
|
6
|
+
const { children: p, defaultOpen: s = !1, onClose: f, snapPoints: m = ["60%"], setSnap: y, snap: w, attachToParent: R = !1 } = a, [H, r] = J(w || "0%"), j = v(f), S = v(y);
|
|
7
|
+
M(() => {
|
|
8
|
+
s && g();
|
|
9
|
+
}, [s]), M(() => {
|
|
10
|
+
S.current = y;
|
|
11
|
+
}, [y]);
|
|
12
|
+
const u = l(() => {
|
|
13
|
+
r("0%"), j.current?.();
|
|
14
|
+
}, []), g = l((E) => {
|
|
15
|
+
console.log(E || m[0] || "60%"), r(E || m[0] || "60%");
|
|
16
|
+
}, [m]), x = B(() => H !== "0%", [H]);
|
|
17
|
+
K(o, () => ({
|
|
18
|
+
open: g,
|
|
19
|
+
close: u,
|
|
20
|
+
isOpen: x
|
|
21
|
+
}), [g, u, x]);
|
|
22
|
+
const D = w || H;
|
|
23
|
+
return R ? /* @__PURE__ */ d.jsx(_, { ...a, snap: D, setSnap: r, children: p }) : Q(/* @__PURE__ */ d.jsx(_, { ...a, snap: D, setSnap: r, children: p }), document.body);
|
|
24
|
+
}), _ = ({ children: a, attachToParent: o = !1, className: p, snap: s, snapPoints: f = ["60%"], setSnap: m, hideOnClose: y = !1, header: w, modal: R = !1, closeOnOverlayClick: H = !1 }) => {
|
|
25
|
+
const r = v(null), j = v(null), S = v(null), u = v(null), g = v(null), x = l(() => {
|
|
26
|
+
if (!r.current) return [];
|
|
27
|
+
console.log(f, "snapPoints");
|
|
28
|
+
const e = o && r.current.parentElement?.offsetHeight || window.innerHeight;
|
|
29
|
+
return f?.map((t) => typeof t == "string" && t.endsWith("%") ? parseFloat(t) > 100 ? e : parseFloat(t) / 100 * e : typeof t == "string" && t.endsWith("px") ? parseFloat(t) : typeof t == "number" && t >= 0 && t <= 1 ? t * e : typeof t == "number" ? t : 0) || [];
|
|
30
|
+
}, [f, o]), D = l((e, t) => {
|
|
31
|
+
const n = x();
|
|
32
|
+
if (n.length === 0) return e;
|
|
33
|
+
if (Math.abs(t) > 0.05)
|
|
34
|
+
if (t > 0) {
|
|
35
|
+
const c = n.filter((i) => i < e);
|
|
36
|
+
return c.length > 0 ? Math.max(...c) : y ? 0 : G;
|
|
37
|
+
} else {
|
|
38
|
+
const c = n.filter((i) => i > e);
|
|
39
|
+
if (c.length > 0)
|
|
40
|
+
return Math.min(...c);
|
|
41
|
+
}
|
|
42
|
+
return n.reduce((c, i) => Math.abs(i - e) < Math.abs(c - e) ? i : c);
|
|
43
|
+
}, [x]), F = l((e) => {
|
|
44
|
+
if (m && f) {
|
|
45
|
+
const t = o && r.current?.parentElement?.offsetHeight || window.innerHeight, n = e <= G ? "0%" : `${Math.round(e / t * 100)}%`;
|
|
46
|
+
m(n);
|
|
47
|
+
}
|
|
48
|
+
}, [m, f, o]), E = l((e) => {
|
|
49
|
+
r.current && (r.current.style.transition = U, r.current.style.height = `${e}px`);
|
|
50
|
+
}, [m, f, o]), L = l(() => {
|
|
51
|
+
if (g.current && o) {
|
|
52
|
+
const { scrollY: e } = g.current;
|
|
53
|
+
document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollTo(0, e), g.current = null;
|
|
54
|
+
}
|
|
55
|
+
}, [o]);
|
|
56
|
+
M(() => () => {
|
|
57
|
+
L();
|
|
58
|
+
}, [L]), M(() => {
|
|
59
|
+
if (!r.current || !s) return;
|
|
60
|
+
console.log(s, "new snap");
|
|
61
|
+
const e = o && r.current.parentElement?.offsetHeight || window.innerHeight;
|
|
62
|
+
let t = 0;
|
|
63
|
+
typeof s == "string" && s.endsWith("%") ? parseFloat(s) <= 0 ? t = y ? 0 : G : t = parseFloat(s) / 100 * e : typeof s == "string" && s.endsWith("px") ? t = parseFloat(s) : typeof s == "number" && (s >= 0 && s <= 1 ? t = s * e : t = s), E(t);
|
|
64
|
+
}, [s, o]);
|
|
65
|
+
const N = l((e) => {
|
|
66
|
+
if (!r.current) return;
|
|
67
|
+
const t = e.touches[0], n = r.current.offsetHeight;
|
|
68
|
+
u.current = {
|
|
69
|
+
isDragging: !1,
|
|
70
|
+
startY: t.clientY,
|
|
71
|
+
startHeight: n,
|
|
72
|
+
lastY: t.clientY,
|
|
73
|
+
lastTime: Date.now(),
|
|
74
|
+
velocity: 0
|
|
75
|
+
};
|
|
76
|
+
}, []), W = l((e) => {
|
|
77
|
+
if (!r.current) return;
|
|
78
|
+
const t = e, n = r.current.offsetHeight;
|
|
79
|
+
u.current = {
|
|
80
|
+
isDragging: !1,
|
|
81
|
+
startY: t.clientY,
|
|
82
|
+
startHeight: n,
|
|
83
|
+
lastY: t.clientY,
|
|
84
|
+
lastTime: Date.now(),
|
|
85
|
+
velocity: 0
|
|
86
|
+
};
|
|
87
|
+
}, []), O = l((e) => {
|
|
88
|
+
if (!u.current || !r.current) return;
|
|
89
|
+
const t = e.touches[0], n = u.current, b = n.startY - t.clientY, c = n.isDragging || Math.abs(b) > 5;
|
|
90
|
+
if (!n.isDragging && c && (n.isDragging = !0, o)) {
|
|
91
|
+
const i = window.scrollY;
|
|
92
|
+
g.current = { scrollY: i }, document.body.style.position = "fixed", document.body.style.top = `-${i}px`, document.body.style.width = "100%";
|
|
93
|
+
}
|
|
94
|
+
if (c) {
|
|
95
|
+
e.preventDefault();
|
|
96
|
+
const i = Date.now(), Y = i - n.lastTime;
|
|
97
|
+
if (Y > 0) {
|
|
98
|
+
const C = (t.clientY - n.lastY) / Y;
|
|
99
|
+
n.velocity = n.velocity * 0.8 + C * 0.2;
|
|
100
|
+
}
|
|
101
|
+
n.lastY = t.clientY, n.lastTime = i;
|
|
102
|
+
const k = n.startHeight + b, $ = o && r.current.parentElement?.offsetHeight || window.innerHeight, z = Math.max(0, Math.min(k, $));
|
|
103
|
+
r.current.style.transition = "none", r.current.style.height = `${z}px`;
|
|
104
|
+
}
|
|
105
|
+
}, [o]), A = l((e) => {
|
|
106
|
+
if (!u.current || !r.current) return;
|
|
107
|
+
const t = e, n = u.current, b = n.startY - t.clientY, c = n.isDragging || Math.abs(b) > 5;
|
|
108
|
+
if (!n.isDragging && c && (n.isDragging = !0, o)) {
|
|
109
|
+
const i = window.scrollY;
|
|
110
|
+
g.current = { scrollY: i }, document.body.style.position = "fixed", document.body.style.top = `-${i}px`, document.body.style.width = "100%";
|
|
111
|
+
}
|
|
112
|
+
if (c) {
|
|
113
|
+
e.preventDefault();
|
|
114
|
+
const i = Date.now(), Y = i - n.lastTime;
|
|
115
|
+
if (Y > 0) {
|
|
116
|
+
const C = (t.clientY - n.lastY) / Y;
|
|
117
|
+
n.velocity = n.velocity * 0.8 + C * 0.2;
|
|
118
|
+
}
|
|
119
|
+
n.lastY = t.clientY, n.lastTime = i;
|
|
120
|
+
const k = n.startHeight + b, $ = o && r.current.parentElement?.offsetHeight || window.innerHeight, z = Math.max(0, Math.min(k, $));
|
|
121
|
+
r.current.style.transition = "none", r.current.style.height = `${z}px`;
|
|
122
|
+
}
|
|
123
|
+
}, [o]), h = l(() => {
|
|
124
|
+
if (!u.current || !r.current) return;
|
|
125
|
+
const e = u.current;
|
|
126
|
+
if (e.isDragging) {
|
|
127
|
+
L();
|
|
128
|
+
const t = r.current.offsetHeight, n = D(t, e.velocity);
|
|
129
|
+
F(n);
|
|
130
|
+
}
|
|
131
|
+
u.current = null;
|
|
132
|
+
}, [D, E, L]);
|
|
133
|
+
M(() => {
|
|
134
|
+
const e = S.current;
|
|
135
|
+
if (e)
|
|
136
|
+
return e.addEventListener("touchstart", N, { passive: !1 }), e.addEventListener("touchmove", O, { passive: !1 }), e.addEventListener("touchend", h), e.addEventListener("touchcancel", h), e.addEventListener("mousedown", W, { passive: !1 }), e.addEventListener("mousemove", A, { passive: !1 }), e.addEventListener("mouseup", h), e.addEventListener("mouseleave", h), () => {
|
|
137
|
+
e.removeEventListener("touchstart", N), e.removeEventListener("touchmove", O), e.removeEventListener("touchend", h), e.removeEventListener("touchcancel", h), e.removeEventListener("mousedown", W), e.removeEventListener("mousemove", A), e.removeEventListener("mouseup", h), e.removeEventListener("mouseleave", h);
|
|
138
|
+
};
|
|
139
|
+
}, [N, O, h]);
|
|
140
|
+
const I = B(() => s !== "0%", [s]);
|
|
141
|
+
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
142
|
+
R && /* @__PURE__ */ d.jsx(
|
|
143
|
+
"div",
|
|
144
|
+
{
|
|
145
|
+
className: T(I ? "fixed inset-0 bg-black/40 z-55 cursor-default" : "hidden"),
|
|
146
|
+
onClick: (e) => {
|
|
147
|
+
e.preventDefault(), e.stopPropagation(), H && F(0);
|
|
148
|
+
},
|
|
149
|
+
"aria-hidden": "true"
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
/* @__PURE__ */ d.jsxs(
|
|
153
|
+
"div",
|
|
154
|
+
{
|
|
155
|
+
ref: r,
|
|
156
|
+
className: T(
|
|
157
|
+
o ? "absolute" : "fixed",
|
|
158
|
+
"z-60 bottom-0 w-full overflow-hidden",
|
|
159
|
+
"bg-neutral-default-default",
|
|
160
|
+
"border-t border-neutral-strong-default rounded-t-[12px]",
|
|
161
|
+
I ? "" : "border-neutral-weak",
|
|
162
|
+
p,
|
|
163
|
+
"flex flex-col items-center",
|
|
164
|
+
"touch-none select-none"
|
|
165
|
+
),
|
|
166
|
+
children: [
|
|
167
|
+
/* @__PURE__ */ d.jsx(
|
|
168
|
+
"div",
|
|
169
|
+
{
|
|
170
|
+
ref: S,
|
|
171
|
+
className: "w-full absolute top-0 h-11 flex items-center justify-center cursor-grab active:cursor-grabbing z-50 bg-inherit!",
|
|
172
|
+
children: /* @__PURE__ */ d.jsx("span", { className: "w-12 h-1 rounded-full bg-neutral-weak-default" })
|
|
173
|
+
}
|
|
174
|
+
),
|
|
175
|
+
typeof w == "string" ? /* @__PURE__ */ d.jsx("p", { className: " prometeo-fonts-headline-small text-neutral-default-default w-full h-11 bg-inherit absolute top-11 z-50 px-4", children: w }) : w,
|
|
176
|
+
/* @__PURE__ */ d.jsx(
|
|
177
|
+
"div",
|
|
178
|
+
{
|
|
179
|
+
ref: j,
|
|
180
|
+
className: T(
|
|
181
|
+
"w-full h-full overflow-y-auto px-4 pb-4 ",
|
|
182
|
+
w ? "mt-22" : "mt-11"
|
|
183
|
+
),
|
|
184
|
+
style: {
|
|
185
|
+
overscrollBehavior: "contain",
|
|
186
|
+
overflow: I ? "auto" : "hidden"
|
|
187
|
+
},
|
|
188
|
+
children: a
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
)
|
|
25
194
|
] });
|
|
26
|
-
})
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}, []), o = t(() => {
|
|
32
|
-
e.current?.close();
|
|
195
|
+
}, te = () => {
|
|
196
|
+
const a = v(null), o = l((f) => {
|
|
197
|
+
a.current?.open(f);
|
|
198
|
+
}, []), p = l(() => {
|
|
199
|
+
a.current?.close();
|
|
33
200
|
}, []);
|
|
34
201
|
return {
|
|
35
|
-
isOpen:
|
|
36
|
-
open:
|
|
37
|
-
close:
|
|
38
|
-
drawerRef:
|
|
202
|
+
isOpen: l(() => a.current?.isOpen ?? !1, []),
|
|
203
|
+
open: o,
|
|
204
|
+
close: p,
|
|
205
|
+
drawerRef: a
|
|
39
206
|
};
|
|
40
207
|
};
|
|
41
208
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
209
|
+
ee as default,
|
|
210
|
+
te as useDrawerMobile
|
|
44
211
|
};
|
package/dist/DropZone.es.js
CHANGED
package/dist/Header.es.js
CHANGED
package/dist/Icons/Icons.d.ts
CHANGED
|
@@ -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-
|
|
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" }) }),
|
|
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" }) }),
|
|
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" }) }),
|
|
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" }) }),
|
|
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
|
-
),
|
|
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:
|
|
567
|
-
HistoryActivity:
|
|
568
|
-
MessageSquare:
|
|
569
|
-
CloseNavBarDesktop:
|
|
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
|
-
|
|
600
|
+
W as Icons
|
|
584
601
|
};
|
package/dist/Input.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-
|
|
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";
|
package/dist/InputFormik.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
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";
|
package/dist/InputMultiple.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
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-
|
|
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) => {
|
package/dist/LayoutGeneric.es.js
CHANGED
package/dist/Logo.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
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-
|
|
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(
|
package/dist/OtpInput.es.js
CHANGED
package/dist/Pagination.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
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";
|
package/dist/ProgressBar.es.js
CHANGED
package/dist/Select.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-
|
|
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";
|
package/dist/SelectFormik.es.js
CHANGED
package/dist/Skeleton.es.js
CHANGED
package/dist/Spinner.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
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
package/dist/Switch.es.js
CHANGED
package/dist/TabLinks.es.js
CHANGED
package/dist/Table.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
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(
|
package/dist/TextArea.es.js
CHANGED
package/dist/Tooltip.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
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
|
|
17
|
-
export default
|
|
16
|
+
declare const DrawerDesktop: import('react').ForwardRefExoticComponent<DrawerDesktopProps & import('react').RefAttributes<DrawerDesktopHandle>>;
|
|
17
|
+
export default DrawerDesktop;
|