prometeo-design-system 3.1.7 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/{CardProfile-y9Knsg26.js → CardProfile-C1F83KJV.js} +1 -1
  2. package/dist/CardProfile.es.js +1 -1
  3. package/dist/{DatePicker-6eb-0Ns5.js → DatePicker-QuBgR5DQ.js} +799 -794
  4. package/dist/DatePicker.es.js +1 -1
  5. package/dist/DialogModal.es.js +25 -22
  6. package/dist/Icons/ReassignmentFill.es.js +1 -1
  7. package/dist/Icons/StarFill.d.ts +6 -0
  8. package/dist/Icons/StarFill.es.js +19 -0
  9. package/dist/Icons/components/StarFill.d.ts +4 -0
  10. package/dist/Icons/index.d.ts +1 -0
  11. package/dist/Icons/types.d.ts +4 -2
  12. package/dist/Icons.es.js +18 -16
  13. package/dist/Input.es.js +56 -52
  14. package/dist/PlainTooltip.d.ts +6 -0
  15. package/dist/PlainTooltip.es.js +72 -0
  16. package/dist/PyrionLayout.d.ts +6 -0
  17. package/dist/PyrionLayout.es.js +1357 -0
  18. package/dist/RecurrentDatePicker.es.js +2 -2
  19. package/dist/RecurrentDatePickerRRule.es.js +1 -1
  20. package/dist/Scrollable.es.js +118 -86
  21. package/dist/Select.es.js +524 -524
  22. package/dist/SelectSearch.es.js +44 -43
  23. package/dist/TabLinks.es.js +81 -52
  24. package/dist/{badge-B1IK_-i5.js → badge-CbqYNrl4.js} +28 -28
  25. package/dist/components/DatePicker/DatePicker.d.ts +1 -0
  26. package/dist/components/Input/Input.d.ts +1 -0
  27. package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +19 -11
  28. package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +5 -3
  29. package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +3 -3
  30. package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +1 -0
  31. package/dist/components/NavigationDrawer/NavigationDrawerLinkItem.d.ts +3 -2
  32. package/dist/components/NavigationDrawer/NavigationDrawerNavlinks.d.ts +2 -2
  33. package/dist/components/NavigationDrawer/NavigationDrawerSidebar.d.ts +11 -0
  34. package/dist/components/NotificationCard/NotificationCard.d.ts +3 -2
  35. package/dist/components/PlainTooltip/PlainTooltip.d.ts +11 -0
  36. package/dist/components/PyrionNavigationDrawer/PLContent.d.ts +10 -0
  37. package/dist/components/PyrionNavigationDrawer/PLFooter.d.ts +21 -0
  38. package/dist/components/PyrionNavigationDrawer/PLHeader.d.ts +10 -0
  39. package/dist/components/PyrionNavigationDrawer/PLHelpSection.d.ts +8 -0
  40. package/dist/components/PyrionNavigationDrawer/{PyrionNavigationDrawerMobileAppSwitcher.d.ts → PLMobileAppSwitcher.d.ts} +3 -3
  41. package/dist/components/PyrionNavigationDrawer/PLNotificationsList.d.ts +15 -0
  42. package/dist/components/PyrionNavigationDrawer/PLSidebar.d.ts +12 -0
  43. package/dist/components/PyrionNavigationDrawer/PLSidebarContent.d.ts +17 -0
  44. package/dist/components/PyrionNavigationDrawer/{PyrionNavigationDrawerSystemLogo.d.ts → PLSystemLogo.d.ts} +1 -1
  45. package/dist/components/PyrionNavigationDrawer/PLSystemSessions.d.ts +14 -0
  46. package/dist/components/PyrionNavigationDrawer/PLayoutBase.d.ts +42 -0
  47. package/dist/components/PyrionNavigationDrawer/PyrionLayout.d.ts +146 -0
  48. package/dist/components/PyrionNavigationDrawer/index.d.ts +3 -2
  49. package/dist/components/Scrollable/Scrollable.d.ts +1 -0
  50. package/dist/components/Select/Select.d.ts +1 -0
  51. package/dist/components/TabLinks/TabLinks.d.ts +10 -1
  52. package/dist/components/TabSwitch/TabSwitch.d.ts +2 -0
  53. package/dist/exports/PlainTooltip.d.ts +2 -0
  54. package/dist/exports/PyrionLayout.d.ts +2 -0
  55. package/dist/exports/usePyrionNavigation.d.ts +1 -1
  56. package/dist/hooks/useDevice.d.ts +1 -0
  57. package/dist/index.d.ts +0 -1
  58. package/dist/prometeo-design-system.es.js +2421 -402
  59. package/dist/styles.css +1 -1
  60. package/dist/useDevice-vwn4GLwK.js +16 -0
  61. package/dist/useDevice.es.js +2 -11
  62. package/dist/usePyrionNavigation.es.js +1 -1
  63. package/package.json +8 -16
  64. package/src/styles/base.css +1 -0
  65. package/dist/LayoutGeneric-CfWhV1ov.js +0 -26
  66. package/dist/LayoutGeneric.d.ts +0 -6
  67. package/dist/LayoutGeneric.es.js +0 -4
  68. package/dist/PyrionNavigationDrawer.d.ts +0 -6
  69. package/dist/PyrionNavigationDrawer.es.js +0 -962
  70. package/dist/SwipeContainer.d.ts +0 -4
  71. package/dist/SwipeContainer.es.js +0 -185
  72. package/dist/components/PyrionNavigationDrawer/PyrionHelpSection.d.ts +0 -8
  73. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawer.d.ts +0 -130
  74. package/dist/components/PyrionNavigationDrawer/PyrionNotificationsList.d.ts +0 -8
  75. package/dist/components/PyrionNavigationDrawer/SidebarContent.d.ts +0 -13
  76. package/dist/components/PyrionNavigationDrawer/SystemSessions.d.ts +0 -12
  77. package/dist/components/SwipeContainer/SwipeContainer.d.ts +0 -19
  78. package/dist/exports/LayoutGeneric.d.ts +0 -2
  79. package/dist/exports/PyrionNavigationDrawer.d.ts +0 -2
  80. package/dist/exports/SwipeContainer.d.ts +0 -1
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import O, { useMemo as D, memo as b, useRef as M, useCallback as g, useState as L, useEffect as W } from "react";
3
- import { D as R } from "./DatePicker-6eb-0Ns5.js";
3
+ import { D as R } from "./DatePicker-QuBgR5DQ.js";
4
4
  import f from "./Select.es.js";
5
5
  import I from "./Input.es.js";
6
6
  import _ from "./CheckBox.es.js";
@@ -143,7 +143,7 @@ const P = ({ value: e, onChange: a, errors: s }) => {
143
143
  return;
144
144
  }
145
145
  const t = Number(n);
146
- if (console.log("parsedValue", t), Number.isNaN(t))
146
+ if (Number.isNaN(t))
147
147
  return;
148
148
  let l = t;
149
149
  if (c && t > c && e?.interval === c) {
@@ -1,7 +1,7 @@
1
1
  import { j as J } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { memo as Ie, useState as he, useRef as _e, useEffect as ye } from "react";
3
3
  import { RecurrentDatePicker as We } from "./RecurrentDatePicker.es.js";
4
- import { C as He } from "./DatePicker-6eb-0Ns5.js";
4
+ import { C as He } from "./DatePicker-QuBgR5DQ.js";
5
5
  var re = [
6
6
  "MO",
7
7
  "TU",
@@ -1,11 +1,11 @@
1
1
  import { j as h } from "./jsx-runtime-GkKLlHH4.js";
2
- import { useIsMobile as et } from "./useDevice.es.js";
3
- import { g as rt } from "./useLabelBackground-BDIHUdND.js";
2
+ import { u as st } from "./useDevice-vwn4GLwK.js";
3
+ import { g as nt } from "./useLabelBackground-BDIHUdND.js";
4
4
  import { c as m } from "./cn-B6yFEsav.js";
5
- import { c as C } from "./index-BOQuZ0gG.js";
6
- import U, { useRef as i, useEffect as V } from "react";
7
- import { CrevronLeft as ot } from "./Icons/CrevronLeft.es.js";
8
- const _ = C(
5
+ import { c as j } from "./index-BOQuZ0gG.js";
6
+ import F, { useRef as a, useLayoutEffect as lt, useEffect as ct } from "react";
7
+ import { CrevronLeft as at } from "./Icons/CrevronLeft.es.js";
8
+ const P = j(
9
9
  "",
10
10
  {
11
11
  variants: {
@@ -16,7 +16,7 @@ const _ = C(
16
16
  }
17
17
  }
18
18
  }
19
- ), $ = C("", {
19
+ ), J = j("", {
20
20
  variants: {
21
21
  position: {
22
22
  top: "",
@@ -39,7 +39,7 @@ const _ = C(
39
39
  { type: "shadow", position: "left", className: "left-0 top-0 h-full w-5" },
40
40
  { type: "shadow", position: "right", className: "right-0 top-0 h-full w-5 rotate-180" }
41
41
  ]
42
- }), st = C("", {
42
+ }), it = j("", {
43
43
  variants: {
44
44
  hide: {
45
45
  true: " prometeo-scrollbar-none",
@@ -50,26 +50,27 @@ const _ = C(
50
50
  medium: ""
51
51
  }
52
52
  }
53
- }), ht = (I) => {
54
- const { defaultBehavior: y = "scroll-on-click" } = I, F = et(), P = {
55
- top: { show: !0, type: "shadow", behavior: y },
56
- bottom: { show: !0, type: "shadow", behavior: y },
57
- left: { show: !0, type: "icon", behavior: y },
58
- right: { show: !0, type: "icon", behavior: y }
59
- }, G = {
53
+ }), bt = (R) => {
54
+ const { defaultBehavior: w = "scroll-on-click" } = R, K = st(), G = {
55
+ top: { show: !0, type: "shadow", behavior: w },
56
+ bottom: { show: !0, type: "shadow", behavior: w },
57
+ left: { show: !0, type: "icon", behavior: w },
58
+ right: { show: !0, type: "icon", behavior: w }
59
+ }, Q = {
60
60
  hide: !1,
61
61
  size: "medium"
62
62
  }, {
63
- debugMode: J = !1,
64
- className: j,
65
- axis: k = "both",
66
- children: K,
67
- indicators: v = P,
68
- scrollbarProps: R = G,
69
- disableMouseScroll: z = !1
70
- } = I, s = i({}), l = i(null), d = i(null), b = i(null), a = i(null), u = i(5), f = i({}), w = i(null), p = i(!1), Q = (e) => {
63
+ debugMode: X = !1,
64
+ className: k,
65
+ axis: z = "both",
66
+ children: Y,
67
+ indicators: v = G,
68
+ scrollbarProps: A = Q,
69
+ disableMouseScroll: D = !1,
70
+ persistScroll: L = !1
71
+ } = R, s = a({}), l = a(null), d = a(null), b = a(null), i = a(null), u = a(5), f = a({}), x = a(null), p = a(!1), O = a(!1), T = a(null), g = a(null), Z = (e) => {
71
72
  if (!l.current) return 0;
72
- const { scrollTop: t, scrollLeft: r, scrollHeight: o, clientHeight: n, scrollWidth: c, clientWidth: g } = l.current;
73
+ const { scrollTop: t, scrollLeft: r, scrollHeight: o, clientHeight: n, scrollWidth: c, clientWidth: y } = l.current;
73
74
  switch (e) {
74
75
  case "top":
75
76
  return Math.max(0, t);
@@ -78,22 +79,22 @@ const _ = C(
78
79
  case "left":
79
80
  return Math.max(0, r);
80
81
  case "right":
81
- return Math.max(0, c - (r + g));
82
+ return Math.max(0, c - (r + y));
82
83
  default:
83
84
  return 0;
84
85
  }
85
- }, x = (e, t = 100, r = !0) => {
86
+ }, E = (e, t = 100, r = !0) => {
86
87
  if (!l.current) return;
87
- const o = Q(e), n = Math.min(Math.abs(t), o);
88
+ const o = Z(e), n = Math.min(Math.abs(t), o);
88
89
  if (n === 0) return;
89
- const c = e === "top" || e === "left" ? -n : n, g = {
90
+ const c = e === "top" || e === "left" ? -n : n, y = {
90
91
  top: { top: c, left: 0 },
91
92
  bottom: { top: c, left: 0 },
92
93
  left: { top: 0, left: c },
93
94
  right: { top: 0, left: c }
94
95
  };
95
- l.current.scrollBy({ ...g[e], behavior: r ? "smooth" : "auto" });
96
- }, X = (e) => {
96
+ l.current.scrollBy({ ...y[e], behavior: r ? "smooth" : "auto" });
97
+ }, tt = (e) => {
97
98
  if (!l.current) return;
98
99
  const t = l.current, r = {
99
100
  top: { top: 0, left: t.scrollLeft },
@@ -102,7 +103,7 @@ const _ = C(
102
103
  right: { top: t.scrollTop, left: t.scrollWidth }
103
104
  };
104
105
  t.scrollTo({ ...r[e], behavior: "smooth" });
105
- }, Y = (e, t) => {
106
+ }, et = (e, t) => {
106
107
  const r = s.current[e];
107
108
  if (r) {
108
109
  if (r.style.cursor = "pointer", t === "icon") {
@@ -113,7 +114,7 @@ const _ = C(
113
114
  o && (e === "top" || e === "bottom" ? o.style.height = "90px" : o.style.width = "40px");
114
115
  }
115
116
  }
116
- }, L = (e) => {
117
+ }, M = (e) => {
117
118
  const t = s.current[e];
118
119
  if (!t) return;
119
120
  t.style.cursor = "";
@@ -121,70 +122,98 @@ const _ = C(
121
122
  r && (r.style.transform = "", r.style.backgroundColor = "", r.style.borderRadius = "");
122
123
  const o = t.querySelector("span");
123
124
  o && (o.style.height = "", o.style.width = "");
124
- }, A = (e, t) => {
125
+ }, B = (e, t) => {
125
126
  if (t === "scroll-on-click" && p.current) {
126
127
  p.current = !1;
127
128
  return;
128
129
  }
129
130
  if (f.current[e]) {
130
- a.current && (clearTimeout(a.current), a.current = null), d.current && (clearInterval(d.current), d.current = null), L(e), f.current[e] = !1, X(e);
131
+ i.current && (clearTimeout(i.current), i.current = null), d.current && (clearInterval(d.current), d.current = null), M(e), f.current[e] = !1, tt(e);
131
132
  return;
132
133
  }
133
134
  if (t === "scroll-on-click") {
134
135
  if (!l.current) return;
135
136
  const { clientHeight: r, clientWidth: o } = l.current, n = e === "top" || e === "bottom" ? r * 0.8 : o * 0.8;
136
- x(e, n);
137
+ E(e, n);
137
138
  }
138
- }, D = (e, t) => {
139
- a.current && (clearTimeout(a.current), a.current = null), p.current = !0, u.current = 3;
139
+ }, W = (e, t) => {
140
+ i.current && (clearTimeout(i.current), i.current = null), p.current = !0, u.current = 3;
140
141
  let r = 0;
141
- w.current = e, f.current[e] = !1, x(e, u.current, !1), d.current = setInterval(() => {
142
+ x.current = e, f.current[e] = !1, E(e, u.current, !1), d.current = setInterval(() => {
142
143
  r += 16;
143
144
  const o = r / 1e3;
144
- if (o >= 2 && !f.current[e] && (f.current[e] = !0, Y(e, t)), o <= 2)
145
+ if (o >= 2 && !f.current[e] && (f.current[e] = !0, et(e, t)), o <= 2)
145
146
  u.current = 5 + o * 0.4;
146
147
  else {
147
148
  const n = o - 2;
148
149
  u.current += Math.pow(n, 1.1) * 2;
149
150
  }
150
- u.current = Math.min(u.current, 100), x(e, u.current, !1);
151
+ u.current = Math.min(u.current, 100), E(e, u.current, !1);
151
152
  }, 16);
152
- }, B = (e) => {
153
+ }, q = (e) => {
153
154
  b.current && (clearTimeout(b.current), b.current = null), d.current && (clearInterval(d.current), d.current = null), u.current = 5;
154
- const t = e || w.current;
155
- t ? f.current[t] ? (a.current && clearTimeout(a.current), a.current = setTimeout(() => {
156
- L(t), f.current[t] = !1, p.current = !1;
157
- }, 1e3)) : (L(t), f.current[t] = !1, p.current = !1) : p.current = !1, w.current = null;
158
- }, W = (e, t, r) => {
159
- F || t === "scroll-on-hover" && (b.current = setTimeout(() => {
160
- D(e, r);
155
+ const t = e || x.current;
156
+ t ? f.current[t] ? (i.current && clearTimeout(i.current), i.current = setTimeout(() => {
157
+ M(t), f.current[t] = !1, p.current = !1;
158
+ }, 1e3)) : (M(t), f.current[t] = !1, p.current = !1) : p.current = !1, x.current = null;
159
+ }, H = (e, t, r) => {
160
+ K || t === "scroll-on-hover" && (b.current = setTimeout(() => {
161
+ W(e, r);
161
162
  }, 200));
162
- }, H = (e, t) => {
163
- t === "scroll-on-hover" && B(e);
164
- }, O = (e, t, r) => {
163
+ }, $ = (e, t) => {
164
+ t === "scroll-on-hover" && q(e);
165
+ }, U = (e, t, r) => {
165
166
  t === "scroll-on-click" && (p.current = !1, b.current = setTimeout(() => {
166
- D(e, r);
167
+ W(e, r);
167
168
  }, 200));
168
- }, q = (e, t) => {
169
- t === "scroll-on-click" && B(e);
170
- }, M = () => {
169
+ }, V = (e, t) => {
170
+ t === "scroll-on-click" && q(e);
171
+ }, _ = () => {
171
172
  if (!l.current) return;
172
- const e = l.current, { scrollTop: t, scrollLeft: r, scrollHeight: o, scrollWidth: n, clientHeight: c, clientWidth: g } = e, E = t <= 10, T = t + c >= o - 10, N = r <= 10, S = r + g >= n - 10;
173
- s.current.top?.classList.toggle("opacity-0", E), s.current.top?.classList.toggle("pointer-events-none", E), s.current.top?.classList.toggle("pointer-events-auto", !E), s.current.bottom?.classList.toggle("opacity-0", T), s.current.bottom?.classList.toggle("pointer-events-none", T), s.current.bottom?.classList.toggle("pointer-events-auto", !T), s.current.left?.classList.toggle("opacity-0", N), s.current.left?.classList.toggle("pointer-events-none", N), s.current.left?.classList.toggle("pointer-events-auto", !N), s.current.right?.classList.toggle("opacity-0", S), s.current.right?.classList.toggle("pointer-events-none", S), s.current.right?.classList.toggle("pointer-events-auto", !S);
173
+ const e = l.current, { scrollTop: t, scrollLeft: r, scrollHeight: o, scrollWidth: n, clientHeight: c, clientWidth: y } = e, S = t <= 10, N = t + c >= o - 10, I = r <= 10, C = r + y >= n - 10;
174
+ s.current.top?.classList.toggle("opacity-0", S), s.current.top?.classList.toggle("pointer-events-none", S), s.current.top?.classList.toggle("pointer-events-auto", !S), s.current.bottom?.classList.toggle("opacity-0", N), s.current.bottom?.classList.toggle("pointer-events-none", N), s.current.bottom?.classList.toggle("pointer-events-auto", !N), s.current.left?.classList.toggle("opacity-0", I), s.current.left?.classList.toggle("pointer-events-none", I), s.current.left?.classList.toggle("pointer-events-auto", !I), s.current.right?.classList.toggle("opacity-0", C), s.current.right?.classList.toggle("pointer-events-none", C), s.current.right?.classList.toggle("pointer-events-auto", !C);
174
175
  };
175
- V(() => {
176
+ lt(() => {
176
177
  if (!l.current) return;
177
178
  const e = l.current;
178
- M(), e.addEventListener("scroll", M);
179
- const t = (r) => {
180
- z && r.preventDefault();
179
+ if (L) {
180
+ T.current = typeof L == "string" ? `scrollable-${L}` : `scrollable-${Math.random().toString(36).substr(2, 9)}`;
181
+ try {
182
+ const o = sessionStorage.getItem(T.current);
183
+ if (o) {
184
+ const { scrollTop: n, scrollLeft: c } = JSON.parse(o);
185
+ e.scrollTop = n, e.scrollLeft = c;
186
+ }
187
+ } catch {
188
+ }
189
+ }
190
+ _(), O.current || (O.current = !0, requestAnimationFrame(() => {
191
+ Object.values(s.current).forEach((o) => {
192
+ o?.classList.add("transition-all", "duration-500");
193
+ });
194
+ }));
195
+ const t = () => {
196
+ _(), L && T.current && (g.current && clearTimeout(g.current), g.current = setTimeout(() => {
197
+ try {
198
+ const o = {
199
+ scrollTop: e.scrollTop,
200
+ scrollLeft: e.scrollLeft
201
+ };
202
+ sessionStorage.setItem(T.current, JSON.stringify(o));
203
+ } catch {
204
+ }
205
+ }, 150));
206
+ };
207
+ e.addEventListener("scroll", t);
208
+ const r = (o) => {
209
+ D && o.preventDefault();
181
210
  };
182
- return e.addEventListener("wheel", t, { passive: !1 }), () => {
183
- e.removeEventListener("scroll", M), e.removeEventListener("wheel", t);
211
+ return e.addEventListener("wheel", r, { passive: !1 }), () => {
212
+ e.removeEventListener("scroll", t), e.removeEventListener("wheel", r), g.current && clearTimeout(g.current);
184
213
  };
185
- }, [z]), V(() => {
214
+ }, [D]), ct(() => {
186
215
  if (!l.current) return;
187
- const e = rt(l.current);
216
+ const e = nt(l.current);
188
217
  Object.entries(v).forEach(([t, r]) => {
189
218
  if (r?.show && r.type === "shadow") {
190
219
  const n = s.current[t]?.querySelector("span");
@@ -196,21 +225,21 @@ const _ = C(
196
225
  }
197
226
  });
198
227
  }, [v]);
199
- const Z = U.Children.toArray(K), tt = Object.values(v).some((e) => e?.show && e?.type === "icon");
200
- return /* @__PURE__ */ h.jsxs("div", { className: m("relative p-0", j, _({ axis: k }), "scrolleable", tt ? "overflow-visible" : "overflow-hidden!"), children: [
228
+ const rt = F.Children.toArray(Y), ot = Object.values(v).some((e) => e?.show && e?.type === "icon");
229
+ return /* @__PURE__ */ h.jsxs("div", { className: m("relative p-0", k, P({ axis: z }), "scrolleable", ot ? "overflow-visible" : "overflow-hidden!"), children: [
201
230
  /* @__PURE__ */ h.jsx(
202
231
  "div",
203
232
  {
204
233
  ref: l,
205
234
  className: m(
206
- J && "border border-red-900 border-dashed",
207
- j,
235
+ X && "border border-red-900 border-dashed",
236
+ k,
208
237
  "py-2 relative w-full h-full min-h-full",
209
- _({ axis: k }),
210
- st({ hide: R?.hide, size: R?.size }),
238
+ P({ axis: z }),
239
+ it({ hide: A?.hide, size: A?.size }),
211
240
  ""
212
241
  ),
213
- children: Z?.map((e) => U.cloneElement(e, { className: m(e?.props?.className, "shrink-0! pointer-events-auto") }))
242
+ children: rt?.map((e) => F.cloneElement(e, { className: m(e?.props?.className, "shrink-0! pointer-events-auto") }))
214
243
  }
215
244
  ),
216
245
  /* @__PURE__ */ h.jsx("div", { className: "h-full w-full z-10 absolute inset-0 pointer-events-none overflow-hidden rounded-[inherit]", children: Object.entries(v).map(([e, t]) => {
@@ -222,13 +251,16 @@ const _ = C(
222
251
  ref: (o) => {
223
252
  s.current[e] = o;
224
253
  },
225
- className: m("cursor-default transition-all duration-500 ease-in-out z-100"),
226
- onClick: () => A(r, t.behavior),
227
- onMouseEnter: () => W(r, t.behavior, t.type),
228
- onMouseLeave: () => H(r, t.behavior),
229
- onMouseDown: () => O(r, t.behavior, t.type),
230
- onMouseUp: () => q(r, t.behavior),
231
- children: /* @__PURE__ */ h.jsx("span", { className: m($({ position: r, type: "shadow" }), t.className) })
254
+ className: m(
255
+ "cursor-default ease-in-out z-100",
256
+ "opacity-0 pointer-events-none"
257
+ ),
258
+ onClick: () => B(r, t.behavior),
259
+ onMouseEnter: () => H(r, t.behavior, t.type),
260
+ onMouseLeave: () => $(r, t.behavior),
261
+ onMouseDown: () => U(r, t.behavior, t.type),
262
+ onMouseUp: () => V(r, t.behavior),
263
+ children: /* @__PURE__ */ h.jsx("span", { className: m(J({ position: r, type: "shadow" }), t.className) })
232
264
  },
233
265
  e
234
266
  );
@@ -243,12 +275,12 @@ const _ = C(
243
275
  s.current[e] = o;
244
276
  },
245
277
  className: "pointer-events-auto cursor-default transition-all duration-300 opacity-0",
246
- onClick: () => A(r, t.behavior),
247
- onMouseEnter: () => W(r, t.behavior, t.type),
248
- onMouseLeave: () => H(r, t.behavior),
249
- onMouseDown: () => O(r, t.behavior, t.type),
250
- onMouseUp: () => q(r, t.behavior),
251
- children: /* @__PURE__ */ h.jsx(ot, { size: 20, className: m($({ position: r, type: "icon" }), t.className) })
278
+ onClick: () => B(r, t.behavior),
279
+ onMouseEnter: () => H(r, t.behavior, t.type),
280
+ onMouseLeave: () => $(r, t.behavior),
281
+ onMouseDown: () => U(r, t.behavior, t.type),
282
+ onMouseUp: () => V(r, t.behavior),
283
+ children: /* @__PURE__ */ h.jsx(at, { size: 20, className: m(J({ position: r, type: "icon" }), t.className) })
252
284
  },
253
285
  e
254
286
  );
@@ -256,5 +288,5 @@ const _ = C(
256
288
  ] });
257
289
  };
258
290
  export {
259
- ht as Scrollable
291
+ bt as Scrollable
260
292
  };