@dimasbaguspm/versaur 0.0.63 → 0.0.64

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/js/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { L as s, P as t, S as o } from "./skeleton-BRwIW26B.js";
2
2
  import { A as n, a as i, B as p, b as B, F as u, f as T, c as l, P as I, d as A, e as c, S as d, T as b } from "./top-bar-BD0gTsZF.js";
3
3
  import { C as k, b as M, a as S, D as E, E as m, P as L, c as g, R as O, S as R, d as _, f as x, e as h, g as D, i as N, T as f, h as C, j as K } from "./time-picker-input-1T8z4Ffd.js";
4
- import { B as y, D as H, M as j, T as q } from "./tooltip-DAyfV2gr.js";
4
+ import { B as y, D as H, M as j, T as q } from "./tooltip-CF5sNF0s.js";
5
5
  import { A as w, a as G, b as z, c as J, d as Q, e as U, f as V, B as W, u as X, g as Y, h as Z, i as $, l as aa, j as ea, k as sa, C as ta, F as oa, m as ra, H as na, o as ia, I as pa, r as Ba, t as ua, s as Ta, M as la, N as Ia, T as Aa, p as ca, q as da, n as ba } from "./image-rectangle-Je73yhJX.js";
6
6
  import { S as ka } from "./snackbar-CTq4MLir.js";
7
7
  import { B as Sa, T as Ea } from "./tabs-KrYzaUx1.js";
@@ -1,4 +1,4 @@
1
- import { B as e, D as r, M as t, T as s } from "../tooltip-DAyfV2gr.js";
1
+ import { B as e, D as r, M as t, T as s } from "../tooltip-CF5sNF0s.js";
2
2
  import { M as m } from "../image-rectangle-Je73yhJX.js";
3
3
  export {
4
4
  e as BottomSheet,
@@ -1,34 +1,34 @@
1
- import { j as r } from "./jsx-runtime-C5mzlN2N.js";
2
- import T, { useState as k, useEffect as v, createContext as V, useContext as I, forwardRef as w, useRef as B, useMemo as E, useId as S, cloneElement as X } from "react";
3
- import { c as b, a as g } from "./index-BDtz_hQY.js";
4
- import { XIcon as R } from "lucide-react";
5
- import { H, l as P, v as Z, p as q } from "./image-rectangle-Je73yhJX.js";
1
+ import { j as n } from "./jsx-runtime-C5mzlN2N.js";
2
+ import T, { useState as y, useEffect as g, createContext as V, useContext as I, forwardRef as w, useRef as B, useMemo as R, useId as S, cloneElement as X } from "react";
3
+ import { c as b, a as x } from "./index-BDtz_hQY.js";
4
+ import { XIcon as H } from "lucide-react";
5
+ import { H as P, l as E, v as Z, p as q } from "./image-rectangle-Je73yhJX.js";
6
6
  import "./snackbar-CTq4MLir.js";
7
7
  import J from "react-dom";
8
8
  function Q() {
9
9
  if (typeof window > "u") return !1;
10
10
  const t = window.navigator.userAgent, e = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
11
11
  t
12
- ), o = /iPad|Android(?=.*Mobile)|Tablet/i.test(t), n = "ontouchstart" in window || navigator.maxTouchPoints > 0, a = window.innerWidth <= 1024;
13
- return e || o || n && a;
12
+ ), o = /iPad|Android(?=.*Mobile)|Tablet/i.test(t), r = "ontouchstart" in window || navigator.maxTouchPoints > 0, a = window.innerWidth <= 1024;
13
+ return e || o || r && a;
14
14
  }
15
15
  function C() {
16
16
  return typeof window < "u" && "navigator" in window && "virtualKeyboard" in navigator;
17
17
  }
18
18
  function Y() {
19
- const [t, e] = k(!1), [o, n] = k(0), [a, s] = k(0), [l, c] = k(!1), [m, f] = k(!1);
20
- return v(() => {
19
+ const [t, e] = y(!1), [o, r] = y(0), [a, s] = y(0), [l, c] = y(!1), [m, f] = y(!1);
20
+ return g(() => {
21
21
  if (!Q()) {
22
22
  c(!1);
23
23
  return;
24
24
  }
25
25
  c(!0), f(C());
26
- }, []), v(() => {
26
+ }, []), g(() => {
27
27
  if (!l || !C())
28
28
  return;
29
29
  const d = navigator.virtualKeyboard, i = () => {
30
30
  const { boundingRect: u } = d, p = u?.height || 0, h = u?.width || 0;
31
- e(p > 0), n(p), s(h);
31
+ e(p > 0), r(p), s(h);
32
32
  };
33
33
  return i(), d.addEventListener("geometrychange", i), () => {
34
34
  d.removeEventListener(
@@ -36,15 +36,15 @@ function Y() {
36
36
  i
37
37
  );
38
38
  };
39
- }, [l]), v(() => {
39
+ }, [l]), g(() => {
40
40
  if (!l || C())
41
41
  return;
42
42
  const d = window.innerHeight;
43
43
  let i;
44
44
  const u = () => {
45
45
  clearTimeout(i), i = setTimeout(() => {
46
- const p = window.visualViewport?.height ?? window.innerHeight, h = d - p, j = h > 150;
47
- e(j), n(j ? h : 0), s(j ? window.innerWidth : 0);
46
+ const p = window.visualViewport?.height ?? window.innerHeight, h = d - p, k = h > 150;
47
+ e(k), r(k ? h : 0), s(k ? window.innerWidth : 0);
48
48
  }, 100);
49
49
  };
50
50
  return "visualViewport" in window && window.visualViewport ? (window.visualViewport.addEventListener("resize", u), () => {
@@ -55,8 +55,8 @@ function Y() {
55
55
  }) : (window.addEventListener("resize", u), () => {
56
56
  clearTimeout(i), window.removeEventListener("resize", u);
57
57
  });
58
- }, [l]), v(() => {
59
- l || (e(!1), n(0), s(0));
58
+ }, [l]), g(() => {
59
+ l || (e(!1), r(0), s(0));
60
60
  }, [l]), {
61
61
  isOpen: t,
62
62
  height: o,
@@ -114,15 +114,15 @@ const O = b(
114
114
  ), ot = b(
115
115
  "px-6 py-4 border-t border-border bg-white"
116
116
  ), z = T.forwardRef(
117
- ({ children: t, className: e, hasTab: o, ...n }, a) => /* @__PURE__ */ r.jsx(
117
+ ({ children: t, className: e, hasTab: o, ...r }, a) => /* @__PURE__ */ n.jsx(
118
118
  "header",
119
119
  {
120
120
  ref: a,
121
- className: g(
121
+ className: x(
122
122
  tt({ tab: !!o }),
123
123
  e
124
124
  ),
125
- ...n,
125
+ ...r,
126
126
  children: t
127
127
  }
128
128
  )
@@ -131,34 +131,34 @@ z.displayName = "DrawerHeader";
131
131
  const F = w(
132
132
  (t, e) => {
133
133
  const { titleId: o } = N();
134
- return /* @__PURE__ */ r.jsx(H, { ...t, ref: e, as: "h5", id: o });
134
+ return /* @__PURE__ */ n.jsx(P, { ...t, ref: e, as: "h5", id: o });
135
135
  }
136
136
  );
137
137
  F.displayName = "DrawerTitle";
138
138
  const L = w(({ onClick: t, ...e }, o) => {
139
- const { onClose: n } = N(), a = (s) => {
140
- n(), t?.(s);
139
+ const { onClose: r } = N(), a = (s) => {
140
+ r(), t?.(s);
141
141
  };
142
- return /* @__PURE__ */ r.jsx(
143
- P,
142
+ return /* @__PURE__ */ n.jsx(
143
+ E,
144
144
  {
145
145
  "aria-label": "Close drawer",
146
146
  ...e,
147
147
  onClick: a,
148
148
  variant: "ghost",
149
149
  size: "sm",
150
- as: R,
150
+ as: H,
151
151
  ref: o
152
152
  }
153
153
  );
154
154
  });
155
155
  L.displayName = "DrawerCloseButton";
156
156
  const A = w(
157
- ({ children: t, className: e, ...o }, n) => /* @__PURE__ */ r.jsx(
157
+ ({ children: t, className: e, ...o }, r) => /* @__PURE__ */ n.jsx(
158
158
  "div",
159
159
  {
160
- ref: n,
161
- className: g("[&>nav>div>ul]:px-6", e),
160
+ ref: r,
161
+ className: x("[&>nav>div>ul]:px-6", e),
162
162
  ...o,
163
163
  children: t
164
164
  }
@@ -166,14 +166,14 @@ const A = w(
166
166
  );
167
167
  A.displayName = "DrawerTab";
168
168
  const W = T.forwardRef(
169
- ({ children: t, className: e, ...o }, n) => {
169
+ ({ children: t, className: e, ...o }, r) => {
170
170
  const { descriptionId: a } = N();
171
- return /* @__PURE__ */ r.jsx(
171
+ return /* @__PURE__ */ n.jsx(
172
172
  "main",
173
173
  {
174
- ref: n,
174
+ ref: r,
175
175
  id: a,
176
- className: g(et(), e),
176
+ className: x(et(), e),
177
177
  ...o,
178
178
  children: t
179
179
  }
@@ -182,11 +182,11 @@ const W = T.forwardRef(
182
182
  );
183
183
  W.displayName = "DrawerBody";
184
184
  const K = T.forwardRef(
185
- ({ children: t, className: e, ...o }, n) => /* @__PURE__ */ r.jsx(
185
+ ({ children: t, className: e, ...o }, r) => /* @__PURE__ */ n.jsx(
186
186
  "footer",
187
187
  {
188
- ref: n,
189
- className: g(ot(), e),
188
+ ref: r,
189
+ className: x(ot(), e),
190
190
  ...o,
191
191
  children: t
192
192
  }
@@ -198,11 +198,11 @@ const D = ({
198
198
  children: e
199
199
  }) => {
200
200
  if (typeof window > "u" || typeof document > "u")
201
- return /* @__PURE__ */ r.jsx(r.Fragment, { children: e });
201
+ return /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
202
202
  const o = t ?? document.body;
203
- return o ? J.createPortal(e, o) : /* @__PURE__ */ r.jsx(r.Fragment, { children: e });
203
+ return o ? J.createPortal(e, o) : /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
204
204
  }, _ = (t) => {
205
- v(() => {
205
+ g(() => {
206
206
  if (!t) return;
207
207
  const e = document.body.style.overflow;
208
208
  return document.body.style.overflow = "hidden", () => {
@@ -210,19 +210,19 @@ const D = ({
210
210
  };
211
211
  }, [t]);
212
212
  }, $ = ({ isOpen: t }) => {
213
- const e = B(null), o = E(() => t ? "open" : "closed", [t]);
214
- return v(() => {
215
- const n = e.current;
216
- n && (t && !n.open ? n.showModal() : !t && n.open && n.close());
213
+ const e = B(null), o = R(() => t ? "open" : "closed", [t]);
214
+ return g(() => {
215
+ const r = e.current;
216
+ r && (t && !r.open ? r.showModal() : !t && r.open && r.close());
217
217
  }, [t]), {
218
218
  dialogRef: e,
219
219
  dataState: o
220
220
  };
221
- }, nt = ({
221
+ }, rt = ({
222
222
  container: t,
223
223
  children: e,
224
224
  isOpen: o,
225
- onClose: n,
225
+ onClose: r,
226
226
  position: a = "right",
227
227
  size: s = "md",
228
228
  disableOverlayClickToClose: l = !1,
@@ -233,12 +233,11 @@ const D = ({
233
233
  const d = S(), i = S(), { dialogRef: u, dataState: p } = $({ isOpen: o });
234
234
  _(o);
235
235
  const h = () => {
236
- const y = u.current;
237
- y?.open && y.close(), n();
238
- }, x = (y) => {
239
- y.preventDefault(), !c && h();
240
- }, j = (y) => {
241
- y.target === y.currentTarget && (l || h());
236
+ r();
237
+ }, v = (j) => {
238
+ j.preventDefault(), !c && h();
239
+ }, k = (j) => {
240
+ j.target === j.currentTarget && (l || h());
242
241
  }, U = {
243
242
  isOpen: o,
244
243
  onClose: h,
@@ -249,7 +248,7 @@ const D = ({
249
248
  titleId: d,
250
249
  descriptionId: i
251
250
  };
252
- return /* @__PURE__ */ r.jsx(D, { container: t, children: /* @__PURE__ */ r.jsx(M.Provider, { value: U, children: /* @__PURE__ */ r.jsx(
251
+ return /* @__PURE__ */ n.jsx(D, { container: t, children: /* @__PURE__ */ n.jsx(M.Provider, { value: U, children: /* @__PURE__ */ n.jsx(
253
252
  "dialog",
254
253
  {
255
254
  ref: u,
@@ -259,9 +258,9 @@ const D = ({
259
258
  "aria-describedby": i,
260
259
  "aria-hidden": !o,
261
260
  "data-state": p,
262
- onCancel: x,
263
- onClick: j,
264
- className: g(
261
+ onCancel: v,
262
+ onClick: k,
263
+ className: x(
265
264
  O({
266
265
  position: a,
267
266
  size: s
@@ -272,33 +271,33 @@ const D = ({
272
271
  children: o && e
273
272
  }
274
273
  ) }) });
275
- }, Rt = Object.assign(nt, {
274
+ }, Ht = Object.assign(rt, {
276
275
  Header: z,
277
276
  Title: F,
278
277
  CloseButton: L,
279
278
  Tab: A,
280
279
  Body: W,
281
280
  Footer: K
282
- }), rt = V(null), at = w(
283
- ({ className: t, ...e }, o) => /* @__PURE__ */ r.jsx(
281
+ }), nt = V(null), at = w(
282
+ ({ className: t, ...e }, o) => /* @__PURE__ */ n.jsx(
284
283
  "div",
285
284
  {
286
285
  ref: o,
287
- className: g("px-6 pt-6 pb-2 text-lg font-semibold", t),
286
+ className: x("px-6 pt-6 pb-2 text-lg font-semibold", t),
288
287
  ...e
289
288
  }
290
289
  )
291
290
  ), st = w(
292
- ({ className: t, ...e }, o) => /* @__PURE__ */ r.jsx(
291
+ ({ className: t, ...e }, o) => /* @__PURE__ */ n.jsx(
293
292
  "div",
294
293
  {
295
294
  ref: o,
296
- className: g("px-6 py-4 flex justify-end gap-2", t),
295
+ className: x("px-6 py-4 flex justify-end gap-2", t),
297
296
  ...e
298
297
  }
299
298
  )
300
299
  ), it = w(
301
- ({ className: t, ...e }, o) => /* @__PURE__ */ r.jsx("div", { ref: o, className: g("px-6 py-2", t), ...e })
300
+ ({ className: t, ...e }, o) => /* @__PURE__ */ n.jsx("div", { ref: o, className: x("px-6 py-2", t), ...e })
302
301
  ), lt = b(
303
302
  [
304
303
  "fixed z-61 bg-white rounded-lg shadow-xl",
@@ -339,7 +338,7 @@ const D = ({
339
338
  isOpen: t,
340
339
  onClose: e,
341
340
  size: o = "md",
342
- placement: n = "center",
341
+ placement: r = "center",
343
342
  disableOverlayClickToClose: a = !1,
344
343
  disableEscapeKeyDown: s = !1,
345
344
  children: l,
@@ -349,21 +348,20 @@ const D = ({
349
348
  const { dialogRef: f, dataState: d } = $({ isOpen: t });
350
349
  _(t);
351
350
  const i = () => {
352
- const x = f.current;
353
- x?.open && x.close(), e();
354
- }, u = (x) => {
355
- x.preventDefault(), !s && i();
356
- }, p = (x) => {
357
- x.target === x.currentTarget && (a || i());
351
+ e();
352
+ }, u = (v) => {
353
+ v.preventDefault(), !s && i();
354
+ }, p = (v) => {
355
+ v.target === v.currentTarget && (a || i());
358
356
  }, h = {
359
357
  isOpen: t,
360
358
  onClose: i,
361
359
  size: o,
362
- placement: n,
360
+ placement: r,
363
361
  disableOverlayClickToClose: a,
364
362
  disableEscapeKeyDown: s
365
363
  };
366
- return /* @__PURE__ */ r.jsx(D, { container: c, children: /* @__PURE__ */ r.jsx(rt.Provider, { value: h, children: /* @__PURE__ */ r.jsx(
364
+ return /* @__PURE__ */ n.jsx(D, { container: c, children: /* @__PURE__ */ n.jsx(nt.Provider, { value: h, children: /* @__PURE__ */ n.jsx(
367
365
  "dialog",
368
366
  {
369
367
  ref: f,
@@ -373,15 +371,15 @@ const D = ({
373
371
  "data-state": d,
374
372
  onCancel: u,
375
373
  onClick: p,
376
- className: g(
377
- lt({ size: o, placement: n, isOpen: t }),
374
+ className: x(
375
+ lt({ size: o, placement: r, isOpen: t }),
378
376
  m.className
379
377
  ),
380
378
  ...m,
381
379
  children: t && l
382
380
  }
383
381
  ) }) });
384
- }, Ht = Object.assign(dt, {
382
+ }, Pt = Object.assign(dt, {
385
383
  Header: at,
386
384
  Body: it,
387
385
  Footer: st
@@ -427,23 +425,23 @@ const D = ({
427
425
  throw new Error("useBottomSheet must be used within a BottomSheetProvider");
428
426
  return t;
429
427
  }, bt = w(function(e, o) {
430
- return /* @__PURE__ */ r.jsx(H, { as: "h5", ref: o, ...e });
431
- }), gt = w(function(e, o) {
432
- const { onClose: n } = wt(), a = (s) => {
433
- n(), e?.onClick?.(s);
428
+ return /* @__PURE__ */ n.jsx(P, { as: "h5", ref: o, ...e });
429
+ }), xt = w(function(e, o) {
430
+ const { onClose: r } = wt(), a = (s) => {
431
+ r(), e?.onClick?.(s);
434
432
  };
435
- return /* @__PURE__ */ r.jsx(
436
- P,
433
+ return /* @__PURE__ */ n.jsx(
434
+ E,
437
435
  {
438
436
  ref: o,
439
437
  variant: "ghost",
440
438
  "aria-label": "Close",
441
- as: R,
439
+ as: H,
442
440
  ...e,
443
441
  onClick: a
444
442
  }
445
443
  );
446
- }), xt = w(({ className: t, ...e }, o) => /* @__PURE__ */ r.jsx(
444
+ }), gt = w(({ className: t, ...e }, o) => /* @__PURE__ */ n.jsx(
447
445
  "div",
448
446
  {
449
447
  ref: o,
@@ -451,7 +449,7 @@ const D = ({
451
449
  ...e
452
450
  }
453
451
  )), vt = w(
454
- ({ className: t, ...e }, o) => /* @__PURE__ */ r.jsx(
452
+ ({ className: t, ...e }, o) => /* @__PURE__ */ n.jsx(
455
453
  "div",
456
454
  {
457
455
  ref: o,
@@ -459,7 +457,7 @@ const D = ({
459
457
  ...e
460
458
  }
461
459
  )
462
- ), yt = w(({ className: t, ...e }, o) => /* @__PURE__ */ r.jsx(
460
+ ), yt = w(({ className: t, ...e }, o) => /* @__PURE__ */ n.jsx(
463
461
  "div",
464
462
  {
465
463
  ref: o,
@@ -468,33 +466,33 @@ const D = ({
468
466
  }
469
467
  ));
470
468
  function kt(t, e, o) {
471
- const n = B(null);
472
- return v(() => {
473
- n.current && n.current.focus();
474
- }, []), v(() => {
469
+ const r = B(null);
470
+ return g(() => {
471
+ r.current && r.current.focus();
472
+ }, []), g(() => {
475
473
  const a = (s) => {
476
- s.key === "Escape" && t && n.current && n.current.contains(document.activeElement) && !o && e();
474
+ s.key === "Escape" && t && r.current && r.current.contains(document.activeElement) && !o && e();
477
475
  };
478
476
  return t && (document.addEventListener("keydown", a), document.body.style.overflow = "hidden"), () => {
479
477
  document.removeEventListener("keydown", a), document.body.style.overflow = "unset";
480
478
  };
481
- }, [t, e, o, n]), n;
479
+ }, [t, e, o, r]), r;
482
480
  }
483
481
  const jt = w(
484
482
  ({
485
483
  isOpen: t,
486
484
  children: e,
487
485
  className: o,
488
- onClose: n,
486
+ onClose: r,
489
487
  container: a,
490
488
  disableOverlayClickToClose: s = !1,
491
489
  ...l
492
490
  }, c) => {
493
- const m = kt(t, n), {
491
+ const m = kt(t, r), {
494
492
  isOpen: f,
495
493
  height: d,
496
494
  isSupported: i
497
- } = Y(), u = E(() => !t || !i || !f ? {} : {
495
+ } = Y(), u = R(() => !t || !i || !f ? {} : {
498
496
  // Adjust bottom position to sit above the virtual keyboard
499
497
  bottom: `${d}px`,
500
498
  // Reduce max height to account for keyboard
@@ -502,10 +500,10 @@ const jt = w(
502
500
  // Ensure smooth transition
503
501
  transition: "bottom 0.2s ease-in-out, max-height 0.2s ease-in-out"
504
502
  }, [t, i, f, d]), p = () => {
505
- s || n?.();
503
+ s || r?.();
506
504
  };
507
- return /* @__PURE__ */ r.jsx(D, { container: a, children: /* @__PURE__ */ r.jsxs(ht, { value: { onClose: n }, children: [
508
- /* @__PURE__ */ r.jsx(
505
+ return /* @__PURE__ */ n.jsx(D, { container: a, children: /* @__PURE__ */ n.jsxs(ht, { value: { onClose: r }, children: [
506
+ /* @__PURE__ */ n.jsx(
509
507
  "div",
510
508
  {
511
509
  className: ut({ open: t }),
@@ -513,11 +511,11 @@ const jt = w(
513
511
  onClick: p
514
512
  }
515
513
  ),
516
- /* @__PURE__ */ r.jsx(
514
+ /* @__PURE__ */ n.jsx(
517
515
  "div",
518
516
  {
519
517
  ref: Z(c, m),
520
- className: g(
518
+ className: x(
521
519
  ct({
522
520
  open: t
523
521
  }),
@@ -535,18 +533,18 @@ const jt = w(
535
533
  )
536
534
  ] }) });
537
535
  }
538
- ), Pt = Object.assign(jt, {
539
- Header: xt,
536
+ ), Et = Object.assign(jt, {
537
+ Header: gt,
540
538
  Title: bt,
541
- CloseIcon: gt,
539
+ CloseIcon: xt,
542
540
  Body: vt,
543
541
  Footer: yt
544
542
  });
545
543
  function Bt(t = "auto") {
546
- const e = B(null), [o, n] = k("bottom");
547
- return v(() => {
544
+ const e = B(null), [o, r] = y("bottom");
545
+ return g(() => {
548
546
  if (!open || t !== "auto" || !e.current) {
549
- n(t === "auto" ? "bottom" : t);
547
+ r(t === "auto" ? "bottom" : t);
550
548
  return;
551
549
  }
552
550
  const a = e.current.getBoundingClientRect(), s = window.innerWidth, l = window.innerHeight, c = {
@@ -555,7 +553,7 @@ function Bt(t = "auto") {
555
553
  left: a.left,
556
554
  right: s - a.right
557
555
  };
558
- c.bottom > 64 ? n("bottom") : c.top > 64 ? n("top") : c.right > 128 ? n("right") : n("left");
556
+ c.bottom > 64 ? r("bottom") : c.top > 64 ? r("top") : c.right > 128 ? r("right") : r("left");
559
557
  }, [t, e]), { position: o, ref: e };
560
558
  }
561
559
  const Ct = b(
@@ -578,16 +576,16 @@ const Ct = b(
578
576
  children: t,
579
577
  content: e,
580
578
  position: o = "auto",
581
- popoverClassName: n,
579
+ popoverClassName: r,
582
580
  delay: a,
583
581
  ...s
584
582
  }) => {
585
- const l = S(), [c, m] = k(!1), f = B(null), d = () => {
583
+ const l = S(), [c, m] = y(!1), f = B(null), d = () => {
586
584
  a ? f.current = setTimeout(() => m(!0), a) : m(!0);
587
585
  }, i = () => {
588
586
  f.current && clearTimeout(f.current), m(!1);
589
587
  };
590
- v(() => () => {
588
+ g(() => () => {
591
589
  f.current && clearTimeout(f.current);
592
590
  }, []);
593
591
  const u = {
@@ -599,27 +597,27 @@ const Ct = b(
599
597
  onBlur: i,
600
598
  ...s
601
599
  }, { ref: p, position: h } = Bt(o);
602
- return /* @__PURE__ */ r.jsxs("div", { className: "relative w-fit", ref: p, children: [
600
+ return /* @__PURE__ */ n.jsxs("div", { className: "relative w-fit", ref: p, children: [
603
601
  X(t, u),
604
- /* @__PURE__ */ r.jsx(
602
+ /* @__PURE__ */ n.jsx(
605
603
  "div",
606
604
  {
607
605
  id: l,
608
- className: g(
606
+ className: x(
609
607
  Ct({ position: h }),
610
- n,
608
+ r,
611
609
  !c && "opacity-0 pointer-events-none"
612
610
  ),
613
611
  role: "tooltip",
614
612
  "aria-hidden": !c,
615
- children: /* @__PURE__ */ r.jsx(q, { as: "small", fontWeight: "normal", color: "black", children: e })
613
+ children: /* @__PURE__ */ n.jsx(q, { as: "small", fontWeight: "normal", color: "black", children: e })
616
614
  }
617
615
  )
618
616
  ] });
619
617
  };
620
618
  export {
621
- Pt as B,
622
- Rt as D,
623
- Ht as M,
619
+ Et as B,
620
+ Ht as D,
621
+ Pt as M,
624
622
  Mt as T
625
623
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimasbaguspm/versaur",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "description": "React UI library with Tailwind CSS",
5
5
  "author": "Dimas Bagus Prayogo Mukti<dimas.bagus.pm@gmail.com>",
6
6
  "license": "MIT",