@dimasbaguspm/versaur 0.0.26 → 0.0.27

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,73 +1,75 @@
1
1
  import { L as s, P as t, S as r } from "./skeleton-BNZyaRjo.js";
2
- import { A as n, B as p, a as u, F as l, P as i, b as I, c, S, T as m } from "./top-bar-BjE0FiE8.js";
3
- import { B as g, C as d, b as T, a as x, D as b, k as f, E as P, M as h, P as k, R as C, d as M, c as A, S as D, e as L, j as R, i as w, h as F, f as j, T as v, g as y } from "./bottom-sheet-input-1C3Up2xF.js";
4
- import { B as N, D as q, M as G } from "./bottom-sheet-CQw_O-4W.js";
5
- import { M as z, T as J } from "./tooltip-BbTHXz6h.js";
6
- import { A as O, a as Q, b as U, B as V, m as W, c as X, d as Y, e as Z, f as _, C as $, g as aa, D as ea, I as sa, j as ta, l as ra, k as oa, N as na, T as pa, h as ua, i as la } from "./image-rectangle--Sy82Ff9.js";
7
- import { S as Ia } from "./snackbar-DH8jCh2V.js";
8
- import { B as Sa, T as ma } from "./tabs-CoNG51E1.js";
9
- import { S as ga, u as da } from "./use-snackbars-B0MaRlg1.js";
2
+ import { A as n, a as p, B as u, b as l, F as i, P as I, c, d as S, S as m, T as B } from "./top-bar-BA88ij4M.js";
3
+ import { B as d, C as T, b as x, a as b, D as f, k as P, E as h, M as C, P as k, R as M, d as A, c as D, S as L, e as R, j as w, i as F, h as j, f as v, T as y, g as E } from "./bottom-sheet-input-D14wjCoC.js";
4
+ import { B as N, D as q, M as H } from "./bottom-sheet-DCwLmjiX.js";
5
+ import { M as J, T as K } from "./tooltip-DlbAOUeP.js";
6
+ import { A as Q, a as U, b as V, B as W, n as X, c as Y, d as Z, e as _, f as $, C as aa, g as ea, h as sa, D as ta, I as ra, k as oa, m as na, l as pa, N as ua, T as la, i as ia, j as Ia } from "./image-rectangle-BGLYH2Gl.js";
7
+ import { S as Sa } from "./snackbar-DH8jCh2V.js";
8
+ import { B as Ba, T as ga } from "./tabs-C0hcpxNk.js";
9
+ import { S as Ta, u as xa } from "./use-snackbars-B0MaRlg1.js";
10
10
  export {
11
- O as Alert,
12
- Q as Anchor,
11
+ Q as Alert,
12
+ U as Anchor,
13
13
  n as AppBar,
14
- U as Avatar,
15
- V as Badge,
16
- W as BaseImage,
17
- p as BottomBar,
14
+ V as Avatar,
15
+ W as Badge,
16
+ p as BadgeGroup,
17
+ X as BaseImage,
18
+ u as BottomBar,
18
19
  N as BottomSheet,
19
- g as BottomSheetInput,
20
- X as Brand,
21
- Sa as Breadcrumbs,
22
- Y as Button,
23
- Z as ButtonFloat,
24
- u as ButtonGroup,
25
- _ as ButtonIcon,
26
- $ as Calculator,
27
- aa as Calendar,
28
- d as CheckboxInput,
29
- T as ChipMultipleInput,
30
- x as ChipSingleInput,
31
- b as DateSinglePickerInput,
32
- ea as DescriptionList,
20
+ d as BottomSheetInput,
21
+ Y as Brand,
22
+ Ba as Breadcrumbs,
23
+ Z as Button,
24
+ _ as ButtonFloat,
25
+ l as ButtonGroup,
26
+ $ as ButtonIcon,
27
+ aa as Calculator,
28
+ ea as Calendar,
29
+ sa as Card,
30
+ T as CheckboxInput,
31
+ x as ChipMultipleInput,
32
+ b as ChipSingleInput,
33
+ f as DateSinglePickerInput,
34
+ ta as DescriptionList,
33
35
  q as Drawer,
34
- f as DrawerInput,
35
- P as EmailInput,
36
- l as FormLayout,
37
- sa as Icon,
38
- ta as ImageCircle,
39
- ra as ImageRectangle,
40
- oa as ImageSquare,
36
+ P as DrawerInput,
37
+ h as EmailInput,
38
+ i as FormLayout,
39
+ ra as Icon,
40
+ oa as ImageCircle,
41
+ na as ImageRectangle,
42
+ pa as ImageSquare,
41
43
  s as LoadingIndicator,
42
- z as Menu,
43
- G as Modal,
44
- h as ModalInput,
45
- na as NoResults,
46
- i as PageContent,
47
- I as PageHeader,
48
- c as PageLayout,
44
+ J as Menu,
45
+ H as Modal,
46
+ C as ModalInput,
47
+ ua as NoResults,
48
+ I as PageContent,
49
+ c as PageHeader,
50
+ S as PageLayout,
49
51
  k as PriceInput,
50
52
  t as ProgressIndicator,
51
- C as RadioInput,
52
- M as SearchInput,
53
- A as SegmentMultipleInput,
54
- D as SegmentSingleInput,
55
- L as SelectInput,
56
- R as SelectableMultipleInput,
57
- w as SelectableSingleInput,
58
- S as SideBar,
53
+ M as RadioInput,
54
+ A as SearchInput,
55
+ D as SegmentMultipleInput,
56
+ L as SegmentSingleInput,
57
+ R as SelectInput,
58
+ w as SelectableMultipleInput,
59
+ F as SelectableSingleInput,
60
+ m as SideBar,
59
61
  r as Skeleton,
60
- Ia as Snackbar,
61
- ga as SnackbarsProvider,
62
- F as SwitchInput,
63
- pa as Table,
64
- ma as Tabs,
65
- ua as Text,
66
- j as TextAreaInput,
67
- v as TextInput,
68
- la as Tile,
69
- y as TimePickerInput,
70
- J as Tooltip,
71
- m as TopBar,
72
- da as useSnackbars
62
+ Sa as Snackbar,
63
+ Ta as SnackbarsProvider,
64
+ j as SwitchInput,
65
+ la as Table,
66
+ ga as Tabs,
67
+ ia as Text,
68
+ v as TextAreaInput,
69
+ y as TextInput,
70
+ Ia as Tile,
71
+ E as TimePickerInput,
72
+ K as Tooltip,
73
+ B as TopBar,
74
+ xa as useSnackbars
73
75
  };
@@ -1,12 +1,13 @@
1
- import { A as r, B as s, a as t, F as e, P as B, b as p, c as u, S as P, T as g } from "../top-bar-BjE0FiE8.js";
1
+ import { A as r, a as s, B as e, b as t, F as B, P as p, c as u, d, S as g, T as P } from "../top-bar-BA88ij4M.js";
2
2
  export {
3
3
  r as AppBar,
4
- s as BottomBar,
4
+ s as BadgeGroup,
5
+ e as BottomBar,
5
6
  t as ButtonGroup,
6
- e as FormLayout,
7
- B as PageContent,
8
- p as PageHeader,
9
- u as PageLayout,
10
- P as SideBar,
11
- g as TopBar
7
+ B as FormLayout,
8
+ p as PageContent,
9
+ u as PageHeader,
10
+ d as PageLayout,
11
+ g as SideBar,
12
+ P as TopBar
12
13
  };
@@ -1,4 +1,4 @@
1
- import { B as s, T as b } from "../tabs-CoNG51E1.js";
1
+ import { B as s, T as b } from "../tabs-C0hcpxNk.js";
2
2
  export {
3
3
  s as Breadcrumbs,
4
4
  b as Tabs
@@ -1,5 +1,5 @@
1
- import { B as e, D as r, M as t } from "../bottom-sheet-CQw_O-4W.js";
2
- import { M, T as m } from "../tooltip-BbTHXz6h.js";
1
+ import { B as e, D as r, M as t } from "../bottom-sheet-DCwLmjiX.js";
2
+ import { M, T as m } from "../tooltip-DlbAOUeP.js";
3
3
  export {
4
4
  e as BottomSheet,
5
5
  r as Drawer,
@@ -1,25 +1,26 @@
1
- import { A as e, a as t, b as o, B as r, m as l, c as n, d as c, e as g, f as m, C as B, g as I, D as i, I as u, j as d, l as A, k as C, N as T, T as b, h as f, i as p } from "../image-rectangle--Sy82Ff9.js";
2
- import { S } from "../snackbar-DH8jCh2V.js";
1
+ import { A as e, a as t, b as r, B as o, n, c as l, d as c, e as g, f as m, C as B, g as I, h as i, D as u, I as d, k as C, m as A, l as T, N as b, T as f, i as p, j as x } from "../image-rectangle-BGLYH2Gl.js";
2
+ import { S as h } from "../snackbar-DH8jCh2V.js";
3
3
  export {
4
4
  e as Alert,
5
5
  t as Anchor,
6
- o as Avatar,
7
- r as Badge,
8
- l as BaseImage,
9
- n as Brand,
6
+ r as Avatar,
7
+ o as Badge,
8
+ n as BaseImage,
9
+ l as Brand,
10
10
  c as Button,
11
11
  g as ButtonFloat,
12
12
  m as ButtonIcon,
13
13
  B as Calculator,
14
14
  I as Calendar,
15
- i as DescriptionList,
16
- u as Icon,
17
- d as ImageCircle,
15
+ i as Card,
16
+ u as DescriptionList,
17
+ d as Icon,
18
+ C as ImageCircle,
18
19
  A as ImageRectangle,
19
- C as ImageSquare,
20
- T as NoResults,
21
- S as Snackbar,
22
- b as Table,
23
- f as Text,
24
- p as Tile
20
+ T as ImageSquare,
21
+ b as NoResults,
22
+ h as Snackbar,
23
+ f as Table,
24
+ p as Text,
25
+ x as Tile
25
26
  };
@@ -1,6 +1,6 @@
1
1
  import { c as d, j as s, a as u } from "./index-DOdDlCoL.js";
2
2
  import { forwardRef as f, createContext as x, useContext as g, useState as p, useLayoutEffect as y, useRef as h } from "react";
3
- import { I as w } from "./image-rectangle--Sy82Ff9.js";
3
+ import { I as w } from "./image-rectangle-BGLYH2Gl.js";
4
4
  import "./snackbar-DH8jCh2V.js";
5
5
  import { ChevronRight as T } from "lucide-react";
6
6
  const j = d(
@@ -1,6 +1,6 @@
1
1
  import { c as h, j as u, a as b } from "./index-DOdDlCoL.js";
2
2
  import { useEffect as m, useRef as c, useId as v, cloneElement as x, useState as g } from "react";
3
- import { h as j } from "./image-rectangle--Sy82Ff9.js";
3
+ import { i as j } from "./image-rectangle-BGLYH2Gl.js";
4
4
  const I = h(
5
5
  "absolute z-30 min-w-40 bg-background rounded-lg border border-border transition-all duration-200 ease-out will-change-transform",
6
6
  {
@@ -23,8 +23,8 @@ const I = h(
23
23
  function E(t, e, r, o) {
24
24
  m(() => {
25
25
  if (!t) return;
26
- function n(s) {
27
- !e.current?.contains(s.target) && !r.current?.contains(s.target) && o();
26
+ function n(i) {
27
+ !e.current?.contains(i.target) && !r.current?.contains(i.target) && o();
28
28
  }
29
29
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
30
30
  }, [t, o, e, r]);
@@ -44,20 +44,20 @@ const F = ({
44
44
  content: o,
45
45
  children: n
46
46
  }) => {
47
- const s = c(null), a = c(null), i = v();
48
- return E(t, a, s, e), M(t, a), /* @__PURE__ */ u.jsxs("div", { className: "relative w-fit", children: [
47
+ const i = c(null), a = c(null), s = v();
48
+ return E(t, a, i, e), M(t, a), /* @__PURE__ */ u.jsxs("div", { className: "relative w-fit", children: [
49
49
  x(n, {
50
50
  // @ts-expect-error: ref is valid for button or forwardRef components
51
- ref: s,
51
+ ref: i,
52
52
  "aria-haspopup": "menu",
53
53
  "aria-expanded": t,
54
- "aria-controls": i,
54
+ "aria-controls": s,
55
55
  tabIndex: 0
56
56
  }),
57
57
  /* @__PURE__ */ u.jsx(
58
58
  "div",
59
59
  {
60
- id: i,
60
+ id: s,
61
61
  ref: a,
62
62
  className: b(I({ size: r, open: t })),
63
63
  role: "menu",
@@ -74,13 +74,13 @@ function z(t = "auto") {
74
74
  o(t === "auto" ? "bottom" : t);
75
75
  return;
76
76
  }
77
- const n = e.current.getBoundingClientRect(), s = window.innerWidth, a = window.innerHeight, i = {
77
+ const n = e.current.getBoundingClientRect(), i = window.innerWidth, a = window.innerHeight, s = {
78
78
  top: n.top,
79
79
  bottom: a - n.bottom,
80
80
  left: n.left,
81
- right: s - n.right
81
+ right: i - n.right
82
82
  };
83
- i.bottom > 64 ? o("bottom") : i.top > 64 ? o("top") : i.right > 128 ? o("right") : o("left");
83
+ s.bottom > 64 ? o("bottom") : s.top > 64 ? o("top") : s.right > 128 ? o("right") : o("left");
84
84
  }, [t, e]), { position: r, ref: e };
85
85
  }
86
86
  const P = h(
@@ -105,9 +105,9 @@ const P = h(
105
105
  position: r = "auto",
106
106
  popoverClassName: o,
107
107
  delay: n,
108
- ...s
108
+ ...i
109
109
  }) => {
110
- const a = v(), [i, d] = g(!1), l = c(null), p = () => {
110
+ const a = v(), [s, d] = g(!1), l = c(null), p = () => {
111
111
  n ? l.current = setTimeout(() => d(!0), n) : d(!0);
112
112
  }, f = () => {
113
113
  l.current && clearTimeout(l.current), d(!1);
@@ -122,7 +122,7 @@ const P = h(
122
122
  onFocus: p,
123
123
  onMouseLeave: f,
124
124
  onBlur: f,
125
- ...s
125
+ ...i
126
126
  }, { ref: y, position: T } = z(r);
127
127
  return /* @__PURE__ */ u.jsxs("div", { className: "relative w-fit", ref: y, children: [
128
128
  x(t, w),
@@ -133,10 +133,10 @@ const P = h(
133
133
  className: b(
134
134
  P({ position: T }),
135
135
  o,
136
- !i && "opacity-0 pointer-events-none"
136
+ !s && "opacity-0 pointer-events-none"
137
137
  ),
138
138
  role: "tooltip",
139
- "aria-hidden": !i,
139
+ "aria-hidden": !s,
140
140
  children: /* @__PURE__ */ u.jsx(j, { as: "p", fontSize: "xs", fontWeight: "normal", color: "black", children: e })
141
141
  }
142
142
  )