prometeo-design-system 2.5.2 → 2.5.4

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.
@@ -1,7 +1,7 @@
1
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
- import { I as wn } from "./Input-Bhd0bmVq.js";
4
+ import { I as wn } from "./Input-PNwH7rb6.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";
@@ -1,71 +1,72 @@
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(() => {
1
+ import { j as g } from "./jsx-runtime-DKDX3adD.js";
2
+ import { c as W } from "./cn-B6yFEsav.js";
3
+ import { forwardRef as K, useState as B, useRef as v, useEffect as F, useCallback as c, useMemo as J, useImperativeHandle as Q } from "react";
4
+ import { createPortal as U } from "react-dom";
5
+ const A = 44, V = "height 0.5s cubic-bezier(0.32, 0.72, 0, 1)", te = K((u, s) => {
6
+ const { children: y, defaultOpen: o = !1, onClose: a, snapPoints: d = ["60%"], setSnap: w, snap: p, attachToParent: O = !1 } = u, [E, x] = B(p || "0%"), [r, C] = B(null), Y = v(a), f = v(w), m = v(r);
7
+ Y.current = a, m.current = r, F(() => {
8
+ o && b();
9
+ }, [o]), F(() => {
10
+ f.current = w;
11
+ }, [w]);
12
+ const M = c(() => {
13
+ x("0%"), Y.current?.(m.current), setTimeout(() => C(null), 300);
14
+ }, []), b = c((H, N) => {
15
+ console.log(H || d[0] || "60%"), x(H || d[0] || "60%"), C(N ?? null);
16
+ }, [d]), S = J(() => E !== "0%", [E]);
17
+ Q(s, () => ({
18
+ open: b,
19
+ close: M,
20
+ isOpen: S,
21
+ getContext: () => m.current
22
+ }), [b, M, S]);
23
+ const L = p || E;
24
+ return O ? /* @__PURE__ */ g.jsx(q, { ...u, snap: L, setSnap: x, context: r, children: y }) : U(/* @__PURE__ */ g.jsx(q, { ...u, snap: L, setSnap: x, context: r, children: y }), document.body);
25
+ }), q = ({ children: u, attachToParent: s = !1, className: y, snap: o, snapPoints: a = ["60%"], setSnap: d, hideOnClose: w = !1, header: p, modal: O = !1, closeOnOverlayClick: E = !1, context: x }) => {
26
+ const r = v(null), C = v(null), Y = v(null), f = v(null), m = v(null), M = c(() => {
26
27
  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();
28
+ console.log(a, "snapPoints");
29
+ const e = s && r.current.parentElement?.offsetHeight || window.innerHeight;
30
+ return a?.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) || [];
31
+ }, [a, s]), b = c((e, t) => {
32
+ const n = M();
32
33
  if (n.length === 0) return e;
33
34
  if (Math.abs(t) > 0.05)
34
35
  if (t > 0) {
35
- const c = n.filter((i) => i < e);
36
- return c.length > 0 ? Math.max(...c) : y ? 0 : G;
36
+ const l = n.filter((i) => i < e);
37
+ return l.length > 0 ? Math.max(...l) : w ? 0 : A;
37
38
  } else {
38
- const c = n.filter((i) => i > e);
39
- if (c.length > 0)
40
- return Math.min(...c);
39
+ const l = n.filter((i) => i > e);
40
+ if (l.length > 0)
41
+ return Math.min(...l);
41
42
  }
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);
43
+ return n.reduce((l, i) => Math.abs(i - e) < Math.abs(l - e) ? i : l);
44
+ }, [M]), S = c((e) => {
45
+ if (d && a) {
46
+ const t = s && r.current?.parentElement?.offsetHeight || window.innerHeight, n = e <= A ? "0%" : `${Math.round(e / t * 100)}%`;
47
+ d(n);
47
48
  }
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;
49
+ }, [d, a, s]), L = c((e) => {
50
+ r.current && (r.current.style.transition = V, r.current.style.height = `${e}px`);
51
+ }, [d, a, s]), R = c(() => {
52
+ if (m.current && s) {
53
+ const { scrollY: e } = m.current;
54
+ document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollTo(0, e), m.current = null;
54
55
  }
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;
56
+ }, [s]);
57
+ F(() => () => {
58
+ R();
59
+ }, [R]), F(() => {
60
+ if (!r.current || !o) return;
61
+ console.log(o, "new snap");
62
+ const e = s && r.current.parentElement?.offsetHeight || window.innerHeight;
62
63
  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) => {
64
+ typeof o == "string" && o.endsWith("%") ? parseFloat(o) <= 0 ? t = w ? 0 : A : t = parseFloat(o) / 100 * e : typeof o == "string" && o.endsWith("px") ? t = parseFloat(o) : typeof o == "number" && (o >= 0 && o <= 1 ? t = o * e : t = o), L(t);
65
+ }, [o, s]);
66
+ const H = c((e) => {
66
67
  if (!r.current) return;
67
68
  const t = e.touches[0], n = r.current.offsetHeight;
68
- u.current = {
69
+ f.current = {
69
70
  isDragging: !1,
70
71
  startY: t.clientY,
71
72
  startHeight: n,
@@ -73,10 +74,10 @@ const G = 44, U = "height 0.5s cubic-bezier(0.32, 0.72, 0, 1)", ee = q((a, o) =>
73
74
  lastTime: Date.now(),
74
75
  velocity: 0
75
76
  };
76
- }, []), W = l((e) => {
77
+ }, []), N = c((e) => {
77
78
  if (!r.current) return;
78
79
  const t = e, n = r.current.offsetHeight;
79
- u.current = {
80
+ f.current = {
80
81
  isDragging: !1,
81
82
  startY: t.clientY,
82
83
  startHeight: n,
@@ -84,128 +85,129 @@ const G = 44, U = "height 0.5s cubic-bezier(0.32, 0.72, 0, 1)", ee = q((a, o) =>
84
85
  lastTime: Date.now(),
85
86
  velocity: 0
86
87
  };
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)) {
88
+ }, []), I = c((e) => {
89
+ if (!f.current || !r.current) return;
90
+ const t = e.touches[0], n = f.current, D = n.startY - t.clientY, l = n.isDragging || Math.abs(D) > 5;
91
+ if (!n.isDragging && l && (n.isDragging = !0, s)) {
91
92
  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
+ m.current = { scrollY: i }, document.body.style.position = "fixed", document.body.style.top = `-${i}px`, document.body.style.width = "100%";
93
94
  }
94
- if (c) {
95
+ if (l) {
95
96
  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;
97
+ const i = Date.now(), j = i - n.lastTime;
98
+ if (j > 0) {
99
+ const G = (t.clientY - n.lastY) / j;
100
+ n.velocity = n.velocity * 0.8 + G * 0.2;
100
101
  }
101
102
  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
+ const T = n.startHeight + D, $ = s && r.current.parentElement?.offsetHeight || window.innerHeight, z = Math.max(0, Math.min(T, $));
103
104
  r.current.style.transition = "none", r.current.style.height = `${z}px`;
104
105
  }
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)) {
106
+ }, [s]), _ = c((e) => {
107
+ if (!f.current || !r.current) return;
108
+ const t = e, n = f.current, D = n.startY - t.clientY, l = n.isDragging || Math.abs(D) > 5;
109
+ if (!n.isDragging && l && (n.isDragging = !0, s)) {
109
110
  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
+ m.current = { scrollY: i }, document.body.style.position = "fixed", document.body.style.top = `-${i}px`, document.body.style.width = "100%";
111
112
  }
112
- if (c) {
113
+ if (l) {
113
114
  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;
115
+ const i = Date.now(), j = i - n.lastTime;
116
+ if (j > 0) {
117
+ const G = (t.clientY - n.lastY) / j;
118
+ n.velocity = n.velocity * 0.8 + G * 0.2;
118
119
  }
119
120
  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
+ const T = n.startHeight + D, $ = s && r.current.parentElement?.offsetHeight || window.innerHeight, z = Math.max(0, Math.min(T, $));
121
122
  r.current.style.transition = "none", r.current.style.height = `${z}px`;
122
123
  }
123
- }, [o]), h = l(() => {
124
- if (!u.current || !r.current) return;
125
- const e = u.current;
124
+ }, [s]), h = c(() => {
125
+ if (!f.current || !r.current) return;
126
+ const e = f.current;
126
127
  if (e.isDragging) {
127
- L();
128
- const t = r.current.offsetHeight, n = D(t, e.velocity);
129
- F(n);
128
+ R();
129
+ const t = r.current.offsetHeight, n = b(t, e.velocity);
130
+ S(n);
130
131
  }
131
- u.current = null;
132
- }, [D, E, L]);
133
- M(() => {
134
- const e = S.current;
132
+ f.current = null;
133
+ }, [b, L, R]);
134
+ F(() => {
135
+ const e = Y.current;
135
136
  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);
137
+ return e.addEventListener("touchstart", H, { passive: !1 }), e.addEventListener("touchmove", I, { passive: !1 }), e.addEventListener("touchend", h), e.addEventListener("touchcancel", h), e.addEventListener("mousedown", N, { passive: !1 }), e.addEventListener("mousemove", _, { passive: !1 }), e.addEventListener("mouseup", h), e.addEventListener("mouseleave", h), () => {
138
+ e.removeEventListener("touchstart", H), e.removeEventListener("touchmove", I), e.removeEventListener("touchend", h), e.removeEventListener("touchcancel", h), e.removeEventListener("mousedown", N), e.removeEventListener("mousemove", _), e.removeEventListener("mouseup", h), e.removeEventListener("mouseleave", h);
138
139
  };
139
- }, [N, O, h]);
140
- const I = B(() => s !== "0%", [s]);
141
- return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
142
- R && /* @__PURE__ */ d.jsx(
140
+ }, [H, I, h]);
141
+ const k = J(() => o !== "0%", [o]);
142
+ return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
143
+ O && /* @__PURE__ */ g.jsx(
143
144
  "div",
144
145
  {
145
- className: T(I ? "fixed inset-0 bg-black/40 z-55 cursor-default" : "hidden"),
146
+ className: W(k ? "fixed inset-0 bg-black/40 z-55 cursor-default" : "hidden"),
146
147
  onClick: (e) => {
147
- e.preventDefault(), e.stopPropagation(), H && F(0);
148
+ e.preventDefault(), e.stopPropagation(), E && S(0);
148
149
  },
149
150
  "aria-hidden": "true"
150
151
  }
151
152
  ),
152
- /* @__PURE__ */ d.jsxs(
153
+ /* @__PURE__ */ g.jsxs(
153
154
  "div",
154
155
  {
155
156
  ref: r,
156
- className: T(
157
- o ? "absolute" : "fixed",
157
+ className: W(
158
+ s ? "absolute" : "fixed",
158
159
  "z-60 bottom-0 w-full overflow-hidden",
159
160
  "bg-neutral-default-default",
160
161
  "border-t border-neutral-strong-default rounded-t-[12px]",
161
- I ? "" : "border-neutral-weak",
162
- p,
162
+ k ? "" : "border-neutral-weak",
163
+ y,
163
164
  "flex flex-col items-center",
164
165
  "touch-none select-none"
165
166
  ),
166
167
  children: [
167
- /* @__PURE__ */ d.jsx(
168
+ /* @__PURE__ */ g.jsx(
168
169
  "div",
169
170
  {
170
- ref: S,
171
+ ref: Y,
171
172
  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
+ children: /* @__PURE__ */ g.jsx("span", { className: "w-12 h-1 rounded-full bg-neutral-weak-default" })
173
174
  }
174
175
  ),
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(
176
+ typeof p == "string" ? /* @__PURE__ */ g.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: p }) : p,
177
+ /* @__PURE__ */ g.jsx(
177
178
  "div",
178
179
  {
179
- ref: j,
180
- className: T(
180
+ ref: C,
181
+ className: W(
181
182
  "w-full h-full overflow-y-auto px-4 pb-4 ",
182
- w ? "mt-22" : "mt-11"
183
+ p ? "mt-22" : "mt-11"
183
184
  ),
184
185
  style: {
185
186
  overscrollBehavior: "contain",
186
- overflow: I ? "auto" : "hidden"
187
+ overflow: k ? "auto" : "hidden"
187
188
  },
188
- children: a
189
+ children: typeof u == "function" ? u(x) : u
189
190
  }
190
191
  )
191
192
  ]
192
193
  }
193
194
  )
194
195
  ] });
195
- }, te = () => {
196
- const a = v(null), o = l((f) => {
197
- a.current?.open(f);
198
- }, []), p = l(() => {
199
- a.current?.close();
200
- }, []);
196
+ }, ne = () => {
197
+ const u = v(null), s = c((d, w) => {
198
+ u.current?.open(d, w);
199
+ }, []), y = c(() => {
200
+ u.current?.close();
201
+ }, []), o = c(() => u.current?.isOpen ?? !1, []), a = c(() => u.current?.getContext() ?? null, []);
201
202
  return {
202
- isOpen: l(() => a.current?.isOpen ?? !1, []),
203
- open: o,
204
- close: p,
205
- drawerRef: a
203
+ isOpen: o,
204
+ open: s,
205
+ close: y,
206
+ drawerRef: u,
207
+ getContext: a
206
208
  };
207
209
  };
208
210
  export {
209
- ee as default,
210
- te as useDrawerMobile
211
+ te as default,
212
+ ne as useDrawerMobile
211
213
  };
@@ -53,6 +53,7 @@ declare const Icons: {
53
53
  readonly Cancel: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
54
54
  readonly CheckCircle: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
55
55
  readonly FormatColorText: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
56
+ readonly CheckList: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
56
57
  };
57
58
  export { Icons };
58
59
  export type IconName = keyof typeof Icons;
package/dist/Icons.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { j as h } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { memo as v } from "react";
3
- const l = (t) => v(t), w = l(({
3
+ const l = (t) => v(t), o = l(({
4
4
  size: t = 24,
5
5
  className: r,
6
6
  ...q
@@ -16,7 +16,7 @@ const l = (t) => v(t), w = l(({
16
16
  className: r,
17
17
  children: /* @__PURE__ */ h.jsx("path", { d: "M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Zm0-80v-102q-37-22-58.5-58.5T720-480q0-43 21.5-79.5T800-618v-102H160v102q37 22 58.5 58.5T240-480q0 43-21.5 79.5T160-342v102h640ZM480-480Z" })
18
18
  }
19
- )), o = l(({
19
+ )), w = l(({
20
20
  size: t = 24,
21
21
  className: r,
22
22
  ...q
@@ -32,7 +32,7 @@ const l = (t) => v(t), w = l(({
32
32
  ...q,
33
33
  children: /* @__PURE__ */ h.jsx("path", { d: "M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Z" })
34
34
  }
35
- )), T = l(({
35
+ )), s = l(({
36
36
  size: t = 24,
37
37
  className: r,
38
38
  ...q
@@ -48,7 +48,7 @@ const l = (t) => v(t), w = l(({
48
48
  className: r,
49
49
  children: /* @__PURE__ */ h.jsx("path", { d: "M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z" })
50
50
  }
51
- )), s = l(({
51
+ )), T = l(({
52
52
  size: t = 24,
53
53
  className: r,
54
54
  ...q
@@ -144,7 +144,7 @@ const l = (t) => v(t), w = l(({
144
144
  className: r,
145
145
  children: /* @__PURE__ */ h.jsx("path", { d: "M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z" })
146
146
  }
147
- )), Z = l(({
147
+ )), c = l(({
148
148
  size: t = 24,
149
149
  className: r,
150
150
  ...q
@@ -160,7 +160,7 @@ const l = (t) => v(t), w = l(({
160
160
  className: r,
161
161
  children: /* @__PURE__ */ h.jsx("path", { d: "M400-240 160-480l240-240 56 58-142 142h486v80H314l142 142-56 58Z" })
162
162
  }
163
- )), c = l(({
163
+ )), Z = l(({
164
164
  size: t = 24,
165
165
  className: r,
166
166
  ...q
@@ -304,7 +304,7 @@ const l = (t) => v(t), w = l(({
304
304
  className: r,
305
305
  children: /* @__PURE__ */ h.jsx("path", { d: "M400-240v-80h160v80H400ZM240-440v-80h480v80H240ZM120-640v-80h720v80H120Z" })
306
306
  }
307
- )), f = l(({
307
+ )), L = l(({
308
308
  size: t = 24,
309
309
  className: r,
310
310
  ...q
@@ -320,7 +320,7 @@ const l = (t) => v(t), w = l(({
320
320
  className: r,
321
321
  children: /* @__PURE__ */ h.jsx("path", { d: "M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" })
322
322
  }
323
- )), H = l(({
323
+ )), f = l(({
324
324
  size: t = 24,
325
325
  className: r,
326
326
  ...q
@@ -336,7 +336,7 @@ const l = (t) => v(t), w = l(({
336
336
  className: r,
337
337
  children: /* @__PURE__ */ h.jsx("path", { d: "m668-380 152-130 120 10-176 153 52 227-102-62-46-198Zm-94-292-42-98 46-110 92 217-96-9ZM294-287l126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM173-120l65-281L20-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-340Z" })
338
338
  }
339
- )), L = l(({
339
+ )), H = l(({
340
340
  size: t = 24,
341
341
  className: r,
342
342
  ...q
@@ -400,7 +400,7 @@ const l = (t) => v(t), w = l(({
400
400
  className: r,
401
401
  children: /* @__PURE__ */ h.jsx("path", { d: "M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z" })
402
402
  }
403
- )), E = l(({
403
+ )), V = l(({
404
404
  size: t = 24,
405
405
  className: r,
406
406
  ...q
@@ -416,7 +416,7 @@ const l = (t) => v(t), w = l(({
416
416
  className: r,
417
417
  children: /* @__PURE__ */ h.jsx("path", { d: "M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z" })
418
418
  }
419
- )), V = l(({
419
+ )), E = l(({
420
420
  size: t = 24,
421
421
  className: r,
422
422
  ...q
@@ -599,17 +599,33 @@ const l = (t) => v(t), w = l(({
599
599
  className: r,
600
600
  children: /* @__PURE__ */ h.jsx("path", { d: "M3.5 21V17.5714H20.5V21H3.5ZM6.475 15L10.9375 3H13.0625L17.525 15H15.485L14.4225 11.9143H9.62L8.515 15H6.475ZM10.215 10.2H13.785L12.0425 5.22857H11.9575L10.215 10.2Z", fill: "currentColor" })
601
601
  }
602
- )), z = {
603
- Ticket: w,
604
- Home: T,
605
- Boards: s,
602
+ )), z = l(({
603
+ size: t = 24,
604
+ className: r,
605
+ ...q
606
+ }) => /* @__PURE__ */ h.jsx(
607
+ "svg",
608
+ {
609
+ xmlns: "http://www.w3.org/2000/svg",
610
+ width: t,
611
+ height: t,
612
+ viewBox: "0 -960 960 960",
613
+ fill: "currentColor",
614
+ ...q,
615
+ className: r,
616
+ children: /* @__PURE__ */ h.jsx("path", { d: "M286.5 -253.875L180 -360.375L222 -402.375L285.75 -338.625L413.25 -466.125L455.25 -423.375L286.5 -253.875ZM286.5 -493.875L180 -600.375L222 -642.375L285.75 -578.625L413.25 -706.125L455.25 -663.375L286.5 -493.875ZM510 -313.875V-373.875H780V-313.875H510ZM510 -553.875V-613.875H780V-553.875H510Z", fill: "currentColor", transform: "translate(480,-480) scale(1.45) translate(-480,480)" })
617
+ }
618
+ )), t0 = {
619
+ Ticket: o,
620
+ Home: s,
621
+ Boards: T,
606
622
  Notifications: n,
607
623
  Help: e,
608
624
  Settings: i,
609
625
  CrevronLeft: x,
610
626
  CrevronRight: g,
611
- ArrowLeft: Z,
612
- Shared: c,
627
+ ArrowLeft: c,
628
+ Shared: Z,
613
629
  ChevronDown: m,
614
630
  Collapse: d,
615
631
  Calendar: C,
@@ -618,14 +634,14 @@ const l = (t) => v(t), w = l(({
618
634
  Logout: j,
619
635
  ArrowUpDown: a,
620
636
  Filter: M,
621
- Search: f,
622
- Stars: H,
623
- MoreVert: L,
637
+ Search: L,
638
+ Stars: f,
639
+ MoreVert: H,
624
640
  Add: B,
625
641
  Edit: k,
626
642
  Upload: y,
627
- Copy: E,
628
- FaLock: V,
643
+ Copy: V,
644
+ FaLock: E,
629
645
  AccountCircle: A,
630
646
  UserAdd: F,
631
647
  AttachFile: S,
@@ -637,7 +653,7 @@ const l = (t) => v(t), w = l(({
637
653
  Check: N,
638
654
  Info: O,
639
655
  Error: P,
640
- TicketFilled: o,
656
+ TicketFilled: w,
641
657
  UploadCloud: R,
642
658
  Clock: $,
643
659
  Pause: G,
@@ -646,10 +662,11 @@ const l = (t) => v(t), w = l(({
646
662
  Sort: Q,
647
663
  Cancel: W,
648
664
  CheckCircle: X,
649
- FormatColorText: Y
665
+ FormatColorText: Y,
666
+ CheckList: z
650
667
  };
651
- for (const [t, r] of Object.entries(z))
668
+ for (const [t, r] of Object.entries(t0))
652
669
  r.displayName = `${t}_Icon`;
653
670
  export {
654
- z as Icons
671
+ t0 as Icons
655
672
  };
@@ -113,7 +113,7 @@ const h = {
113
113
  const x = {
114
114
  small: {
115
115
  container: "text-sm",
116
- input: "h-10 px-3 text-sm",
116
+ input: "h-10 px-3 text-[1rem]",
117
117
  label: "text-xs peer-focus:text-xs peer-placeholder-shown:text-sm",
118
118
  icon: "w-4 h-4 right-3"
119
119
  },
package/dist/Input.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { I as f } from "./Input-Bhd0bmVq.js";
1
+ import { I as f } from "./Input-PNwH7rb6.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -279,7 +279,7 @@ const Ze = (t) => {
279
279
  "div",
280
280
  {
281
281
  className: $(
282
- "relative w-14 h-14 text-[1.2rem] text-white",
282
+ "relative w-12 h-12 md:w-14 md:h-14 text-[1rem] md:text-[1.2rem] text-white",
283
283
  "flex items-center justify-center",
284
284
  "transition-all duration-300",
285
285
  "border-2 border-neutral-default-default rounded-md mx-1",
@@ -5,7 +5,7 @@ import je, { memo as W, useState as fe, useRef as G, useMemo as Z, useCallback a
5
5
  import Be from "./Spinner.es.js";
6
6
  import { createPortal as Ke } from "react-dom";
7
7
  import { u as Ue } from "./useDragScroll-CHN9OMwn.js";
8
- import { u as qe, I as Fe } from "./Input-Bhd0bmVq.js";
8
+ import { u as qe, I as Fe } from "./Input-PNwH7rb6.js";
9
9
  import Ge from "./CheckBox.es.js";
10
10
  import { Skeleton as Ce } from "./Skeleton.es.js";
11
11
  const He = (r) => {
package/dist/Select.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as f } from "./Select-B32JqJIS.js";
1
+ import { S as f } from "./Select-C-aLaiJu.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { j as m } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { useField as c } from "formik";
3
- import { S as f } from "./Select-B32JqJIS.js";
3
+ import { S as f } from "./Select-C-aLaiJu.js";
4
4
  import { useRef as d, useEffect as v } from "react";
5
5
  function n(r) {
6
6
  return Array.isArray(r) && r.every(