@dimasbaguspm/versaur 0.0.25 → 0.0.26

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,13 +1,12 @@
1
- import { L as t, P as s, 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-PpiWsgeR.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-DsgPp5zI.js";
4
- import { B as N, D as q, M as G } from "./bottom-sheet-CCDa5VGo.js";
5
- import { M as z, T as J } from "./tooltip-CDdl1U3A.js";
6
- import { A as O, a as Q, b as U, B as V, l as W, c as X, d as Y, e as Z, f as _, C as $, g as aa, D as ea, I as ta, i as sa, k as ra, j as oa, N as na, T as pa, h as ua } from "./image-rectangle-GA3oWX7A.js";
7
- import { S as ia } from "./snackbar-DH8jCh2V.js";
8
- import { T as ca } from "./text-CRsIInRA.js";
9
- import { B as ma, T as Ba } from "./tabs-p6g9kN0N.js";
10
- import { S as da, u as Ta } from "./use-snackbars-B0MaRlg1.js";
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";
11
10
  export {
12
11
  O as Alert,
13
12
  Q as Anchor,
@@ -19,7 +18,7 @@ export {
19
18
  N as BottomSheet,
20
19
  g as BottomSheetInput,
21
20
  X as Brand,
22
- ma as Breadcrumbs,
21
+ Sa as Breadcrumbs,
23
22
  Y as Button,
24
23
  Z as ButtonFloat,
25
24
  u as ButtonGroup,
@@ -35,11 +34,11 @@ export {
35
34
  f as DrawerInput,
36
35
  P as EmailInput,
37
36
  l as FormLayout,
38
- ta as Icon,
39
- sa as ImageCircle,
37
+ sa as Icon,
38
+ ta as ImageCircle,
40
39
  ra as ImageRectangle,
41
40
  oa as ImageSquare,
42
- t as LoadingIndicator,
41
+ s as LoadingIndicator,
43
42
  z as Menu,
44
43
  G as Modal,
45
44
  h as ModalInput,
@@ -48,7 +47,7 @@ export {
48
47
  I as PageHeader,
49
48
  c as PageLayout,
50
49
  k as PriceInput,
51
- s as ProgressIndicator,
50
+ t as ProgressIndicator,
52
51
  C as RadioInput,
53
52
  M as SearchInput,
54
53
  A as SegmentMultipleInput,
@@ -58,17 +57,17 @@ export {
58
57
  w as SelectableSingleInput,
59
58
  S as SideBar,
60
59
  r as Skeleton,
61
- ia as Snackbar,
62
- da as SnackbarsProvider,
60
+ Ia as Snackbar,
61
+ ga as SnackbarsProvider,
63
62
  F as SwitchInput,
64
63
  pa as Table,
65
- Ba as Tabs,
66
- ca as Text,
64
+ ma as Tabs,
65
+ ua as Text,
67
66
  j as TextAreaInput,
68
67
  v as TextInput,
69
- ua as Tile,
68
+ la as Tile,
70
69
  y as TimePickerInput,
71
70
  J as Tooltip,
72
71
  m as TopBar,
73
- Ta as useSnackbars
72
+ da as useSnackbars
74
73
  };
@@ -1,4 +1,4 @@
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-PpiWsgeR.js";
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";
2
2
  export {
3
3
  r as AppBar,
4
4
  s as BottomBar,
@@ -1,4 +1,4 @@
1
- import { B as s, T as b } from "../tabs-p6g9kN0N.js";
1
+ import { B as s, T as b } from "../tabs-CoNG51E1.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-CCDa5VGo.js";
2
- import { M, T as m } from "../tooltip-CDdl1U3A.js";
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";
3
3
  export {
4
4
  e as BottomSheet,
5
5
  r as Drawer,
@@ -1,6 +1,5 @@
1
- import { A as e, a as t, b as o, B as r, 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, i as T, k as d, j as f, N as p, T as x, h as A } from "../image-rectangle-GA3oWX7A.js";
2
- import { S as b } from "../snackbar-DH8jCh2V.js";
3
- import { T as h } from "../text-CRsIInRA.js";
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";
4
3
  export {
5
4
  e as Alert,
6
5
  t as Anchor,
@@ -15,12 +14,12 @@ export {
15
14
  I as Calendar,
16
15
  i as DescriptionList,
17
16
  u as Icon,
18
- T as ImageCircle,
19
- d as ImageRectangle,
20
- f as ImageSquare,
21
- p as NoResults,
22
- b as Snackbar,
23
- x as Table,
24
- h as Text,
25
- A as Tile
17
+ d as ImageCircle,
18
+ 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
26
25
  };
@@ -1,8 +1,7 @@
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-GA3oWX7A.js";
3
+ import { I as w } from "./image-rectangle--Sy82Ff9.js";
4
4
  import "./snackbar-DH8jCh2V.js";
5
- import "./text-CRsIInRA.js";
6
5
  import { ChevronRight as T } from "lucide-react";
7
6
  const j = d(
8
7
  "flex items-center gap-2 text-sm text-gray-500"
@@ -31,7 +30,7 @@ const V = f(
31
30
  function({ children: t, "aria-label": r = "Breadcrumb", ...a }, n) {
32
31
  return /* @__PURE__ */ s.jsx("nav", { "aria-label": r, ...a, children: /* @__PURE__ */ s.jsx("ol", { ref: n, className: j(), children: t }) });
33
32
  }
34
- ), W = Object.assign(V, {
33
+ ), F = Object.assign(V, {
35
34
  Item: B,
36
35
  Separator: C
37
36
  }), v = x(null), m = () => {
@@ -283,10 +282,10 @@ const k = ({
283
282
  ]
284
283
  }
285
284
  ) });
286
- }, D = Object.assign(k, {
285
+ }, W = Object.assign(k, {
287
286
  Trigger: A
288
287
  });
289
288
  export {
290
- W as B,
291
- D as T
289
+ F as B,
290
+ W as T
292
291
  };
@@ -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 { T as j } from "./text-CRsIInRA.js";
3
+ import { h as j } from "./image-rectangle--Sy82Ff9.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
  {
@@ -1,10 +1,9 @@
1
- import { c as i, j as s, a as l } from "./index-DOdDlCoL.js";
2
- import * as v from "react";
1
+ import { c as l, j as s, a as i } from "./index-DOdDlCoL.js";
2
+ import * as b from "react";
3
3
  import { forwardRef as n } from "react";
4
- import "./image-rectangle-GA3oWX7A.js";
4
+ import { h as d } from "./image-rectangle--Sy82Ff9.js";
5
5
  import "./snackbar-DH8jCh2V.js";
6
- import { T as d } from "./text-CRsIInRA.js";
7
- const h = i(
6
+ const h = l(
8
7
  "w-full flex flex-wrap items-center pt-3 mb-3 gap-2 bg-white [&>[data-versaur-appbar-bottom]]:basis-full [&>[data-versaur-appbar-bottom]]:w-full [&:has([data-versaur-appbar-bottom])>[data-versaur-appbar-leading]]:pl-4 [&:has([data-versaur-appbar-bottom])>[data-versaur-appbar-trailing]]:pr-4 [&:not(:has([data-versaur-appbar-bottom]))]:px-4",
9
8
  {
10
9
  variants: {
@@ -20,7 +19,7 @@ const h = i(
20
19
  variant: "primary"
21
20
  }
22
21
  }
23
- ), j = i(
22
+ ), j = l(
24
23
  "flex flex-col justify-center min-w-0 flex-grow",
25
24
  {
26
25
  variants: {
@@ -40,7 +39,7 @@ const h = i(
40
39
  {
41
40
  ref: e,
42
41
  "data-versaur-appbar-bottom": !0,
43
- className: l("w-full flex items-center min-h-[2.5rem] mt-2", a),
42
+ className: i("w-full flex items-center min-h-[2.5rem] mt-2", a),
44
43
  children: t
45
44
  }
46
45
  )
@@ -49,7 +48,7 @@ const h = i(
49
48
  "div",
50
49
  {
51
50
  ref: e,
52
- className: l("flex items-center", a),
51
+ className: i("flex items-center", a),
53
52
  "data-versaur-appbar-leading": !0,
54
53
  children: t
55
54
  }
@@ -84,39 +83,39 @@ const h = i(
84
83
  "div",
85
84
  {
86
85
  ref: e,
87
- className: l("flex items-center justify-end gap-2", a),
86
+ className: i("flex items-center justify-end gap-2", a),
88
87
  "data-versaur-appbar-trailing": !0,
89
88
  children: t
90
89
  }
91
90
  )
92
- ), T = n(
91
+ ), S = n(
93
92
  ({ children: t, className: a, placement: e }, r) => /* @__PURE__ */ s.jsx(
94
93
  "div",
95
94
  {
96
95
  ref: r,
97
- className: l(j({ placement: e }), a),
96
+ className: i(j({ placement: e }), a),
98
97
  children: t
99
98
  }
100
99
  )
101
- ), S = ({
100
+ ), T = ({
102
101
  children: t,
103
102
  className: a,
104
103
  variant: e = "primary"
105
104
  }) => /* @__PURE__ */ s.jsx(
106
105
  "header",
107
106
  {
108
- className: l(h({ variant: e }), a),
107
+ className: i(h({ variant: e }), a),
109
108
  role: "banner",
110
109
  children: t
111
110
  }
112
- ), ya = Object.assign(S, {
111
+ ), ja = Object.assign(T, {
113
112
  Leading: B,
114
113
  Headline: w,
115
114
  Subtitle: N,
116
115
  Trailing: V,
117
- Center: T,
116
+ Center: S,
118
117
  Bottom: y
119
- }), H = i(
118
+ }), H = l(
120
119
  "sticky bottom-0 left-0 w-full flex justify-between items-center bg-white border-t border-border shadow-xs z-40 safe-bottom px-8 py-1",
121
120
  {
122
121
  variants: {
@@ -138,12 +137,12 @@ const h = i(
138
137
  size: "md"
139
138
  }
140
139
  }
141
- ), A = i(
142
- "flex flex-col items-center justify-center gap-1 px-2 py-1",
140
+ ), A = l(
141
+ "flex flex-col items-center justify-center gap-1 px-2 py-1 select-none",
143
142
  {
144
143
  variants: {
145
144
  active: {
146
- true: "font-semibold text-primary",
145
+ true: "text-primary",
147
146
  false: "text-ghost"
148
147
  }
149
148
  },
@@ -180,9 +179,9 @@ const h = i(
180
179
  ...o,
181
180
  children: t
182
181
  }
183
- ), Ba = Object.assign(P, {
182
+ ), ya = Object.assign(P, {
184
183
  Item: L
185
- }), C = i("flex", {
184
+ }), C = l("flex", {
186
185
  variants: {
187
186
  orientation: {
188
187
  horizontal: "flex-row",
@@ -214,7 +213,7 @@ const h = i(
214
213
  gap: "md",
215
214
  fluid: !1
216
215
  }
217
- }), wa = n(
216
+ }), Ba = n(
218
217
  function({
219
218
  className: a,
220
219
  children: e,
@@ -228,7 +227,7 @@ const h = i(
228
227
  "div",
229
228
  {
230
229
  ref: x,
231
- className: l(
230
+ className: i(
232
231
  C({
233
232
  orientation: r,
234
233
  alignment: o,
@@ -243,30 +242,30 @@ const h = i(
243
242
  }
244
243
  );
245
244
  }
246
- ), z = i("w-full px-4 sm:px-6 py-6 sm:py-8"), Na = n(
245
+ ), z = l("w-full px-4 sm:px-6 py-6 sm:py-8"), wa = n(
247
246
  ({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
248
247
  "div",
249
248
  {
250
249
  ref: r,
251
- className: l(z(), a),
250
+ className: i(z(), a),
252
251
  ...e,
253
252
  children: t
254
253
  }
255
254
  )
256
- ), R = i("w-full mt-4"), I = i(
255
+ ), R = l("w-full mt-4"), I = l(
257
256
  "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4 px-4 sm:px-6 mb-4"
258
- ), k = i("mb-4 px-4 sm:px-6"), F = i(
257
+ ), k = l("mb-4 px-4 sm:px-6"), F = l(
259
258
  "flex-1 min-w-0 flex flex-col gap-2 w-full sm:w-auto"
260
- ), G = i("flex items-center gap-2 flex-wrap"), O = i(
259
+ ), G = l("flex items-center gap-2 flex-wrap"), O = l(
261
260
  "flex flex-col sm:flex-row gap-2 sm:gap-3 w-full sm:w-auto sm:ml-auto sm:shrink-0 [&>*]:w-full sm:[&>*]:w-auto"
262
- ), W = i(
261
+ ), W = l(
263
262
  "w-full flex items-center px-4 sm:px-6 py-0 overflow-x-auto"
264
263
  ), M = n(
265
264
  ({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
266
265
  "div",
267
266
  {
268
267
  ref: r,
269
- className: l(I(), a),
268
+ className: i(I(), a),
270
269
  "data-versaur-page-header-top": !0,
271
270
  ...e,
272
271
  children: t
@@ -276,7 +275,7 @@ const h = i(
276
275
  "div",
277
276
  {
278
277
  ref: r,
279
- className: l(k(), a),
278
+ className: i(k(), a),
280
279
  "data-versaur-page-header-breadcrumbs": !0,
281
280
  ...e,
282
281
  children: t
@@ -285,7 +284,7 @@ const h = i(
285
284
  "div",
286
285
  {
287
286
  ref: r,
288
- className: l(F(), a),
287
+ className: i(F(), a),
289
288
  "data-versaur-page-header-content": !0,
290
289
  ...e,
291
290
  children: t
@@ -308,14 +307,14 @@ const h = i(
308
307
  fontWeight: "normal",
309
308
  clamp: 2,
310
309
  ref: e,
311
- className: l("mb-2 sm:clamp-3", t),
310
+ className: i("mb-2 sm:clamp-3", t),
312
311
  ...a
313
312
  }
314
313
  )), J = n(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
315
314
  "div",
316
315
  {
317
316
  ref: r,
318
- className: l(G(), a),
317
+ className: i(G(), a),
319
318
  "data-versaur-page-header-badges": !0,
320
319
  ...e,
321
320
  children: t
@@ -324,7 +323,7 @@ const h = i(
324
323
  "div",
325
324
  {
326
325
  ref: r,
327
- className: l(O(), a),
326
+ className: i(O(), a),
328
327
  "data-versaur-page-header-actions": !0,
329
328
  ...e,
330
329
  children: t
@@ -333,7 +332,7 @@ const h = i(
333
332
  "div",
334
333
  {
335
334
  ref: r,
336
- className: l(W(), a),
335
+ className: i(W(), a),
337
336
  "data-versaur-page-header-bottom": !0,
338
337
  ...e,
339
338
  children: t
@@ -350,12 +349,12 @@ const h = i(
350
349
  tabs: m,
351
350
  ...x
352
351
  }, u) => {
353
- const g = e || r || o || c || p, b = m;
352
+ const g = e || r || o || c || p, v = m;
354
353
  return /* @__PURE__ */ s.jsxs(
355
354
  "header",
356
355
  {
357
356
  ref: u,
358
- className: l(R(), a),
357
+ className: i(R(), a),
359
358
  role: "banner",
360
359
  ...x,
361
360
  children: [
@@ -368,13 +367,13 @@ const h = i(
368
367
  ] }),
369
368
  p && /* @__PURE__ */ s.jsx(K, { children: p })
370
369
  ] }),
371
- b && /* @__PURE__ */ s.jsx(Q, { children: m }),
370
+ v && /* @__PURE__ */ s.jsx(Q, { children: m }),
372
371
  t
373
372
  ]
374
373
  }
375
374
  );
376
375
  }
377
- ), Va = U, X = i("w-full mx-auto relative", {
376
+ ), Na = U, X = l("w-full mx-auto relative", {
378
377
  variants: {
379
378
  type: {
380
379
  desktop: "max-w-7xl px-6 pb-10",
@@ -385,19 +384,19 @@ const h = i(
385
384
  defaultVariants: {
386
385
  type: "desktop"
387
386
  }
388
- }), Ta = v.forwardRef(
387
+ }), Va = b.forwardRef(
389
388
  function({ type: a = "desktop", className: e, children: r, ...o }, c) {
390
389
  return /* @__PURE__ */ s.jsx(
391
390
  "div",
392
391
  {
393
392
  ref: c,
394
- className: l(X({ type: a }), e),
393
+ className: i(X({ type: a }), e),
395
394
  ...o,
396
395
  children: r
397
396
  }
398
397
  );
399
398
  }
400
- ), Y = i("grid w-full gap-4 grid-cols-12"), Z = i("", {
399
+ ), Y = l("grid w-full gap-4 grid-cols-12"), Z = l("", {
401
400
  variants: {
402
401
  span: {
403
402
  1: "col-span-1",
@@ -423,7 +422,7 @@ const h = i(
423
422
  "div",
424
423
  {
425
424
  ref: o,
426
- className: l(Y(), a),
425
+ className: i(Y(), a),
427
426
  ...r,
428
427
  children: e
429
428
  }
@@ -436,7 +435,7 @@ const h = i(
436
435
  "div",
437
436
  {
438
437
  ref: c,
439
- className: l(
438
+ className: i(
440
439
  Z({ span: `${p}` }),
441
440
  e
442
441
  ),
@@ -447,7 +446,7 @@ const h = i(
447
446
  }
448
447
  ), Sa = Object.assign(_, {
449
448
  Column: aa
450
- }), f = i(
449
+ }), f = l(
451
450
  "flex items-center gap-2 px-4 py-2 rounded-md hover:text-primary focus:outline-none transition-colors",
452
451
  {
453
452
  variants: {
@@ -494,7 +493,7 @@ const h = i(
494
493
  ref: a,
495
494
  type: "button",
496
495
  onClick: c,
497
- className: l(
496
+ className: i(
498
497
  f({ disabled: !!u.disabled, active: p }),
499
498
  "w-full text-left"
500
499
  ),
@@ -535,16 +534,16 @@ const h = i(
535
534
  children: /* @__PURE__ */ s.jsx("div", { className: "flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-border scrollbar-track-background", children: /* @__PURE__ */ s.jsx("ul", { className: "flex flex-col gap-1 mx-2", children: t }) })
536
535
  }
537
536
  )
538
- ), Ha = Object.assign(sa, {
537
+ ), Ta = Object.assign(sa, {
539
538
  Item: ea,
540
539
  Group: ta
541
- }), ra = i(
540
+ }), ra = l(
542
541
  "w-full flex items-center px-6 py-4 mb-6 border-b border-border shadow-xs bg-white",
543
542
  {
544
543
  variants: {},
545
544
  defaultVariants: {}
546
545
  }
547
- ), oa = i("flex items-center gap-3 min-w-0 flex-1"), na = i("flex items-center gap-2 ml-auto"), ia = i(
546
+ ), oa = l("flex items-center gap-3 min-w-0 flex-1"), na = l("flex items-center gap-2 ml-auto"), la = l(
548
547
  "px-2.5 py-1.5 rounded-md text-sm cursor-pointer transition-colors",
549
548
  {
550
549
  variants: {
@@ -557,9 +556,9 @@ const h = i(
557
556
  active: !1
558
557
  }
559
558
  }
560
- ), la = i("flex items-center gap-2 ml-4"), ca = i("flex items-center gap-2 mr-4"), pa = n(
559
+ ), ia = l("flex items-center gap-2 ml-4"), ca = l("flex items-center gap-2 mr-4"), pa = n(
561
560
  function({ children: a, className: e, ...r }, o) {
562
- return /* @__PURE__ */ s.jsx("nav", { ref: o, className: la({ className: e }), ...r, children: a });
561
+ return /* @__PURE__ */ s.jsx("nav", { ref: o, className: ia({ className: e }), ...r, children: a });
563
562
  }
564
563
  ), ma = n(
565
564
  function({ children: a, className: e, ...r }, o) {
@@ -579,7 +578,7 @@ const h = i(
579
578
  "div",
580
579
  {
581
580
  ref: c,
582
- className: ia({ active: r, className: e }),
581
+ className: la({ active: r, className: e }),
583
582
  "aria-current": r ? "page" : void 0,
584
583
  ...o,
585
584
  children: a
@@ -588,7 +587,7 @@ const h = i(
588
587
  }
589
588
  ), fa = n(
590
589
  ({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx("header", { ref: r, className: ra({ className: a }), ...e, children: t })
591
- ), Aa = Object.assign(fa, {
590
+ ), Ha = Object.assign(fa, {
592
591
  Leading: da,
593
592
  Trailing: ua,
594
593
  NavItem: xa,
@@ -596,13 +595,13 @@ const h = i(
596
595
  Actions: ma
597
596
  });
598
597
  export {
599
- ya as A,
600
- Ba as B,
598
+ ja as A,
599
+ ya as B,
601
600
  Sa as F,
602
- Na as P,
603
- Ha as S,
604
- Aa as T,
605
- wa as a,
606
- Va as b,
607
- Ta as c
601
+ wa as P,
602
+ Ta as S,
603
+ Ha as T,
604
+ Ba as a,
605
+ Na as b,
606
+ Va as c
608
607
  };
@@ -1,15 +1,18 @@
1
1
  import { default as React } from 'react';
2
- import { DrawerHeaderProps, DrawerBodyProps, DrawerFooterProps, DrawerOverlayProps, DrawerHeaderTabProps } from './types';
2
+ import { DrawerHeaderProps, DrawerBodyProps, DrawerFooterProps, DrawerHeaderTabProps } from './types';
3
+ import { ButtonIconProps, TextProps } from '../../primitive';
3
4
  /**
4
5
  * DrawerOverlay - Background overlay that appears behind the drawer
5
6
  * Always provides a dark blurred background to help users focus on the drawer content
6
7
  */
7
- export declare const DrawerOverlay: React.ForwardRefExoticComponent<DrawerOverlayProps & React.RefAttributes<HTMLDivElement>>;
8
+ export declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
9
  /**
9
10
  * DrawerHeader - Header section of the drawer
10
11
  * Typically contains the title and close button
11
12
  */
12
13
  export declare const DrawerHeader: React.ForwardRefExoticComponent<DrawerHeaderProps & React.RefAttributes<HTMLDivElement>>;
14
+ export declare const DrawerTitle: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
15
+ export declare const DrawerCloseButton: React.ForwardRefExoticComponent<Partial<ButtonIconProps> & React.RefAttributes<HTMLButtonElement>>;
13
16
  export declare const DrawerTab: React.ForwardRefExoticComponent<DrawerHeaderTabProps & React.RefAttributes<HTMLDivElement>>;
14
17
  /**
15
18
  * DrawerBody - Main content area of the drawer
@@ -11,6 +11,8 @@ export declare const DrawerRoot: React.FC<DrawerProps>;
11
11
  */
12
12
  export declare const Drawer: React.FC<DrawerProps> & {
13
13
  Header: React.ForwardRefExoticComponent<import('./types').DrawerHeaderProps & React.RefAttributes<HTMLDivElement>>;
14
+ Title: React.ForwardRefExoticComponent<import('../..').TextProps & React.RefAttributes<HTMLElement>>;
15
+ CloseButton: React.ForwardRefExoticComponent<Partial<import('../..').ButtonIconProps> & React.RefAttributes<HTMLButtonElement>>;
14
16
  Tab: React.ForwardRefExoticComponent<import('./types').DrawerHeaderTabProps & React.RefAttributes<HTMLDivElement>>;
15
17
  Body: React.ForwardRefExoticComponent<import('./types').DrawerBodyProps & React.RefAttributes<HTMLDivElement>>;
16
18
  Footer: React.ForwardRefExoticComponent<import('./types').DrawerFooterProps & React.RefAttributes<HTMLDivElement>>;
@@ -57,8 +57,6 @@ export interface DrawerProps extends ComponentPropsWithoutRef<'div'>, OverlayPor
57
57
  transitionType?: DrawerTransitionType;
58
58
  /** Children components */
59
59
  children: ReactNode;
60
- /** Additional CSS classes */
61
- className?: string;
62
60
  }
63
61
  /**
64
62
  * Props for the DrawerHeader component
@@ -78,8 +76,6 @@ export interface DrawerHeaderTabProps extends HTMLAttributes<HTMLDivElement> {
78
76
  export interface DrawerBodyProps extends ComponentPropsWithoutRef<'div'> {
79
77
  /** Children components */
80
78
  children: ReactNode;
81
- /** Additional CSS classes */
82
- className?: string;
83
79
  }
84
80
  /**
85
81
  * Props for the DrawerFooter component
@@ -87,19 +83,8 @@ export interface DrawerBodyProps extends ComponentPropsWithoutRef<'div'> {
87
83
  export interface DrawerFooterProps extends ComponentPropsWithoutRef<'div'> {
88
84
  /** Children components */
89
85
  children: ReactNode;
90
- /** Additional CSS classes */
91
- className?: string;
92
- /**
93
- * Enable responsive flex behavior
94
- * When true (default): on small screens children expand (flex-grow), on larger screens children are right-aligned and sized to content
95
- * When false: children behavior is not modified by responsive rules
96
- */
97
- responsiveFlex?: boolean;
98
86
  }
99
87
  /**
100
88
  * Props for the DrawerOverlay component
101
89
  */
102
- export interface DrawerOverlayProps extends ComponentPropsWithoutRef<'div'> {
103
- /** Additional CSS classes */
104
- className?: string;
105
- }
90
+ export type DrawerOverlayProps = ComponentPropsWithoutRef<'div'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimasbaguspm/versaur",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
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",