@dimasbaguspm/versaur 0.0.57 → 0.0.58

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 (43) hide show
  1. package/dist/js/desktop-breakpoint-CuSom-sN.js +47 -0
  2. package/dist/js/feedbacks/index.js +1 -1
  3. package/dist/js/forms/index.js +1 -1
  4. package/dist/js/helpers/index.js +14 -0
  5. package/dist/js/{image-rectangle-K9jmTTED.js → image-rectangle-CCvXv24a.js} +819 -926
  6. package/dist/js/{index-DOdDlCoL.js → index-BDtz_hQY.js} +520 -802
  7. package/dist/js/index.js +76 -64
  8. package/dist/js/jsx-runtime-C5mzlN2N.js +284 -0
  9. package/dist/js/layouts/index.js +1 -1
  10. package/dist/js/navigation/index.js +1 -1
  11. package/dist/js/overlays/index.js +2 -2
  12. package/dist/js/primitive/index.js +2 -2
  13. package/dist/js/providers/index.js +1 -1
  14. package/dist/js/{skeleton-BNZyaRjo.js → skeleton-BRwIW26B.js} +6 -5
  15. package/dist/js/{snackbar-DH8jCh2V.js → snackbar-CTq4MLir.js} +14 -13
  16. package/dist/js/{tabs-CmfJNCe6.js → tabs-BQs53hHL.js} +8 -7
  17. package/dist/js/{time-picker-input-BgbyllDK.js → time-picker-input-Disd231b.js} +24 -23
  18. package/dist/js/{tooltip-nZW9TUz3.js → tooltip-Dpx3TpR6.js} +211 -205
  19. package/dist/js/{top-bar-Do2JqSqe.js → top-bar-DEesTo9i.js} +195 -171
  20. package/dist/js/{use-snackbars-Cou8L41F.js → use-snackbars-B6lnVjrX.js} +14 -13
  21. package/dist/types/helpers/index.d.ts +1 -0
  22. package/dist/types/helpers/match-media/built-in/components/desktop-breakpoint.d.ts +18 -0
  23. package/dist/types/helpers/match-media/built-in/components/index.d.ts +3 -0
  24. package/dist/types/helpers/match-media/built-in/components/mobile-breakpoint.d.ts +18 -0
  25. package/dist/types/helpers/match-media/built-in/components/tablet-breakpoint.d.ts +18 -0
  26. package/dist/types/helpers/match-media/built-in/hooks/index.d.ts +3 -0
  27. package/dist/types/helpers/match-media/built-in/hooks/use-desktop-breakpoint.d.ts +11 -0
  28. package/dist/types/helpers/match-media/built-in/hooks/use-mobile-breakpoint.d.ts +11 -0
  29. package/dist/types/helpers/match-media/built-in/hooks/use-tablet-breakpoint.d.ts +11 -0
  30. package/dist/types/helpers/match-media/built-in/index.d.ts +2 -0
  31. package/dist/types/helpers/match-media/constants.d.ts +7 -0
  32. package/dist/types/helpers/match-media/index.d.ts +4 -0
  33. package/dist/types/helpers/match-media/match-media.d.ts +25 -0
  34. package/dist/types/helpers/match-media/test-helpers.d.ts +21 -0
  35. package/dist/types/helpers/match-media/use-match-media.d.ts +15 -0
  36. package/dist/types/index.d.ts +1 -0
  37. package/dist/types/layouts/page-header/types.d.ts +14 -0
  38. package/dist/types/overlays/menu/types.d.ts +8 -8
  39. package/dist/types/primitive/button-menu/types.d.ts +1 -1
  40. package/dist/types/primitive/button-menu-icon/types.d.ts +1 -1
  41. package/dist/utils/enforce-subpath-import.js +3 -1
  42. package/package.json +5 -1
  43. package/dist/types/overlays/menu/use-menu.d.ts +0 -15
@@ -1,10 +1,11 @@
1
- import { c as l, j as t, a as i } from "./index-DOdDlCoL.js";
1
+ import { j as t } from "./jsx-runtime-C5mzlN2N.js";
2
+ import { c as i, a as l } from "./index-BDtz_hQY.js";
2
3
  import * as b from "react";
3
4
  import { forwardRef as o } from "react";
4
- import { n as x } from "./image-rectangle-K9jmTTED.js";
5
- import "./snackbar-DH8jCh2V.js";
6
- import { L as y } from "./skeleton-BNZyaRjo.js";
7
- const w = l(
5
+ import { n as x } from "./image-rectangle-CCvXv24a.js";
6
+ import "./snackbar-CTq4MLir.js";
7
+ import { L as w } from "./skeleton-BRwIW26B.js";
8
+ const y = i(
8
9
  "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
10
  {
10
11
  variants: {
@@ -20,7 +21,7 @@ const w = l(
20
21
  variant: "primary"
21
22
  }
22
23
  }
23
- ), B = l(
24
+ ), B = i(
24
25
  "flex flex-col justify-center min-w-0 flex-grow",
25
26
  {
26
27
  variants: {
@@ -35,26 +36,26 @@ const w = l(
35
36
  }
36
37
  }
37
38
  ), N = o(
38
- ({ children: s, className: a }, e) => /* @__PURE__ */ t.jsx(
39
+ ({ children: r, className: a }, e) => /* @__PURE__ */ t.jsx(
39
40
  "div",
40
41
  {
41
42
  ref: e,
42
43
  "data-versaur-appbar-bottom": !0,
43
- className: i("w-full flex items-center min-h-[2.5rem] mt-2", a),
44
- children: s
44
+ className: l("w-full flex items-center min-h-[2.5rem] mt-2", a),
45
+ children: r
45
46
  }
46
47
  )
47
48
  ), V = o(
48
- ({ children: s, className: a }, e) => /* @__PURE__ */ t.jsx(
49
+ ({ children: r, className: a }, e) => /* @__PURE__ */ t.jsx(
49
50
  "div",
50
51
  {
51
52
  ref: e,
52
- className: i("flex items-center", a),
53
+ className: l("flex items-center", a),
53
54
  "data-versaur-appbar-leading": !0,
54
- children: s
55
+ children: r
55
56
  }
56
57
  )
57
- ), z = o(({ children: s, ...a }, e) => /* @__PURE__ */ t.jsx(
58
+ ), z = o(({ children: r, ...a }, e) => /* @__PURE__ */ t.jsx(
58
59
  x,
59
60
  {
60
61
  ...a,
@@ -64,9 +65,9 @@ const w = l(
64
65
  fontWeight: "semibold",
65
66
  ellipsis: !0,
66
67
  clamp: 1,
67
- children: s
68
+ children: r
68
69
  }
69
- )), S = o(({ children: s, ...a }, e) => /* @__PURE__ */ t.jsx(
70
+ )), S = o(({ children: r, ...a }, e) => /* @__PURE__ */ t.jsx(
70
71
  x,
71
72
  {
72
73
  ...a,
@@ -77,46 +78,46 @@ const w = l(
77
78
  ellipsis: !0,
78
79
  clamp: 1,
79
80
  color: "gray",
80
- children: s
81
+ children: r
81
82
  }
82
83
  )), T = o(
83
- ({ children: s, className: a }, e) => /* @__PURE__ */ t.jsx(
84
+ ({ children: r, className: a }, e) => /* @__PURE__ */ t.jsx(
84
85
  "div",
85
86
  {
86
87
  ref: e,
87
- className: i("flex items-center justify-end gap-2", a),
88
+ className: l("flex items-center justify-end gap-2", a),
88
89
  "data-versaur-appbar-trailing": !0,
89
- children: s
90
+ children: r
90
91
  }
91
92
  )
92
93
  ), C = o(
93
- ({ children: s, className: a, placement: e }, r) => /* @__PURE__ */ t.jsx(
94
+ ({ children: r, className: a, placement: e }, s) => /* @__PURE__ */ t.jsx(
94
95
  "div",
95
96
  {
96
- ref: r,
97
- className: i(B({ placement: e }), a),
98
- children: s
97
+ ref: s,
98
+ className: l(B({ placement: e }), a),
99
+ children: r
99
100
  }
100
101
  )
101
102
  ), H = ({
102
- children: s,
103
+ children: r,
103
104
  className: a,
104
105
  variant: e = "primary"
105
106
  }) => /* @__PURE__ */ t.jsx(
106
107
  "header",
107
108
  {
108
- className: i(w({ variant: e }), a),
109
+ className: l(y({ variant: e }), a),
109
110
  role: "banner",
110
- children: s
111
+ children: r
111
112
  }
112
- ), La = Object.assign(H, {
113
+ ), Aa = Object.assign(H, {
113
114
  Leading: V,
114
115
  Headline: z,
115
116
  Subtitle: S,
116
117
  Trailing: T,
117
118
  Center: C,
118
119
  Bottom: N
119
- }), L = l(
120
+ }), L = i(
120
121
  "sticky bottom-0 w-full flex justify-around items-center bg-white border-t border-border shadow-xs z-40 safe-bottom gap-4 select-none px-8",
121
122
  {
122
123
  variants: {
@@ -138,7 +139,7 @@ const w = l(
138
139
  size: "md"
139
140
  }
140
141
  }
141
- ), A = l(
142
+ ), A = i(
142
143
  "flex flex-col items-center justify-center gap-1",
143
144
  {
144
145
  variants: {
@@ -158,19 +159,19 @@ const w = l(
158
159
  }
159
160
  ), P = o(
160
161
  ({
161
- as: s = "button",
162
+ as: r = "button",
162
163
  icon: a,
163
164
  label: e,
164
- active: r = !1,
165
+ active: s = !1,
165
166
  className: n,
166
167
  children: c,
167
168
  ...d
168
169
  }, u) => /* @__PURE__ */ t.jsxs(
169
- s,
170
+ r,
170
171
  {
171
172
  ref: u,
172
- "aria-current": r ? "page" : void 0,
173
- className: A({ active: r, className: n, as: s }),
173
+ "aria-current": s ? "page" : void 0,
174
+ className: A({ active: s, className: n, as: r }),
174
175
  ...d,
175
176
  children: [
176
177
  a && a,
@@ -180,23 +181,23 @@ const w = l(
180
181
  }
181
182
  )
182
183
  ), I = ({
183
- children: s,
184
+ children: r,
184
185
  variant: a = "primary",
185
186
  size: e = "md",
186
- className: r,
187
+ className: s,
187
188
  ...n
188
189
  }) => /* @__PURE__ */ t.jsx(
189
190
  "nav",
190
191
  {
191
192
  role: "navigation",
192
193
  "aria-label": "Bottom navigation",
193
- className: L({ variant: a, size: e, className: r }),
194
+ className: L({ variant: a, size: e, className: s }),
194
195
  ...n,
195
- children: s
196
+ children: r
196
197
  }
197
- ), Aa = Object.assign(I, {
198
+ ), Pa = Object.assign(I, {
198
199
  Item: P
199
- }), R = l("flex items-center", {
200
+ }), R = i("flex items-center", {
200
201
  variants: {
201
202
  orientation: {
202
203
  horizontal: "flex-row",
@@ -233,11 +234,11 @@ const w = l(
233
234
  fluid: !1,
234
235
  overlay: !1
235
236
  }
236
- }), Pa = o(
237
+ }), Ia = o(
237
238
  function({
238
239
  className: a,
239
240
  children: e,
240
- orientation: r = "horizontal",
241
+ orientation: s = "horizontal",
241
242
  alignment: n = "start",
242
243
  gap: c = "md",
243
244
  fluid: d = !1,
@@ -249,9 +250,9 @@ const w = l(
249
250
  "div",
250
251
  {
251
252
  ref: f,
252
- className: i(
253
+ className: l(
253
254
  R({
254
- orientation: r,
255
+ orientation: s,
255
256
  alignment: n,
256
257
  gap: c,
257
258
  fluid: d,
@@ -266,7 +267,7 @@ const w = l(
266
267
  }
267
268
  );
268
269
  }
269
- ), G = l("flex items-center", {
270
+ ), G = i("flex items-center", {
270
271
  variants: {
271
272
  orientation: {
272
273
  horizontal: "flex-row",
@@ -303,11 +304,11 @@ const w = l(
303
304
  fluid: !1,
304
305
  overlay: !1
305
306
  }
306
- }), Ia = o(
307
+ }), Ra = o(
307
308
  function({
308
309
  className: a,
309
310
  children: e,
310
- orientation: r = "horizontal",
311
+ orientation: s = "horizontal",
311
312
  alignment: n = "start",
312
313
  gap: c = "md",
313
314
  fluid: d = !1,
@@ -319,9 +320,9 @@ const w = l(
319
320
  "div",
320
321
  {
321
322
  ref: f,
322
- className: i(
323
+ className: l(
323
324
  G({
324
- orientation: r,
325
+ orientation: s,
325
326
  alignment: n,
326
327
  gap: c,
327
328
  fluid: d,
@@ -336,7 +337,7 @@ const w = l(
336
337
  }
337
338
  );
338
339
  }
339
- ), k = l("flex items-center", {
340
+ ), k = i("flex items-center", {
340
341
  variants: {
341
342
  orientation: {
342
343
  horizontal: "flex-row",
@@ -373,11 +374,11 @@ const w = l(
373
374
  fluid: !1,
374
375
  overlay: !1
375
376
  }
376
- }), Ra = o(
377
+ }), Ga = o(
377
378
  function({
378
379
  className: a,
379
380
  children: e,
380
- orientation: r = "horizontal",
381
+ orientation: s = "horizontal",
381
382
  alignment: n = "start",
382
383
  gap: c = "md",
383
384
  fluid: d = !1,
@@ -389,9 +390,9 @@ const w = l(
389
390
  "div",
390
391
  {
391
392
  ref: f,
392
- className: i(
393
+ className: l(
393
394
  k({
394
- orientation: r,
395
+ orientation: s,
395
396
  alignment: n,
396
397
  gap: c,
397
398
  fluid: d,
@@ -406,7 +407,7 @@ const w = l(
406
407
  }
407
408
  );
408
409
  }
409
- ), F = l("w-full mb-4", {
410
+ ), F = i("w-full mb-4", {
410
411
  variants: {
411
412
  backgroundColor: {
412
413
  white: "bg-white",
@@ -416,65 +417,88 @@ const w = l(
416
417
  defaultVariants: {
417
418
  backgroundColor: "white"
418
419
  }
419
- }), O = l("w-full mx-auto pt-4 md:pt-10", {
420
+ }), O = i("w-full mx-auto pt-4 md:pt-10", {
420
421
  variants: {
421
422
  size: {
422
- fluid: "max-w-full px-0",
423
- wide: "max-w-7xl px-6",
424
- narrow: "max-w-3xl px-4"
423
+ fluid: "max-w-full",
424
+ wide: "max-w-7xl",
425
+ narrow: "max-w-3xl"
425
426
  }
426
427
  },
427
428
  defaultVariants: {
428
429
  size: "fluid"
429
430
  }
430
- }), W = l(
431
- "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4 mb-4"
432
- ), M = l("mb-4"), E = l(
431
+ }), W = i(
432
+ "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4 mb-4",
433
+ {
434
+ variants: {
435
+ size: {
436
+ fluid: "px-0",
437
+ wide: "px-6",
438
+ narrow: "px-4"
439
+ }
440
+ },
441
+ defaultVariants: {
442
+ size: "fluid"
443
+ }
444
+ }
445
+ ), M = i("mb-4", {
446
+ variants: {
447
+ size: {
448
+ fluid: "px-0",
449
+ wide: "px-6",
450
+ narrow: "px-4"
451
+ }
452
+ },
453
+ defaultVariants: {
454
+ size: "fluid"
455
+ }
456
+ }), E = i(
433
457
  "flex-1 min-w-0 flex flex-col gap-2 w-full sm:w-auto"
434
- ), $ = l("flex items-center gap-2 flex-wrap"), q = l(
458
+ ), $ = i("flex items-center gap-2 flex-wrap"), q = i(
435
459
  "hidden md:flex flex-col sm:flex-row gap-2 sm:gap-3 w-full w-auto sm:ml-auto sm:shrink-0 [&>*]:w-full sm:[&>*]:w-auto"
436
- ), D = l("md:hidden"), J = l(
460
+ ), D = i("md:hidden"), J = i(
437
461
  "w-full flex items-center py-0 overflow-x-auto"
438
462
  ), K = o(
439
- ({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
463
+ ({ children: r, className: a, size: e = "fluid", ...s }, n) => /* @__PURE__ */ t.jsx(
440
464
  "div",
441
465
  {
442
- ref: r,
443
- className: i(W(), a),
466
+ ref: n,
467
+ className: l(W({ size: e }), a),
444
468
  "data-versaur-page-header-top": !0,
445
- ...e,
446
- children: s
469
+ ...s,
470
+ children: r
447
471
  }
448
472
  )
449
- ), Q = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
473
+ ), Q = o(({ children: r, className: a, size: e = "fluid", ...s }, n) => /* @__PURE__ */ t.jsx(
450
474
  "div",
451
475
  {
452
- ref: r,
453
- className: i(M(), a),
476
+ ref: n,
477
+ className: l(M({ size: e }), a),
454
478
  "data-versaur-page-header-breadcrumbs": !0,
455
- ...e,
456
- children: s
479
+ ...s,
480
+ children: r
457
481
  }
458
- )), U = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
482
+ )), U = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
459
483
  "div",
460
484
  {
461
- ref: r,
462
- className: i(E(), a),
485
+ ref: s,
486
+ className: l(E(), a),
463
487
  "data-versaur-page-header-content": !0,
464
488
  ...e,
465
- children: s
489
+ children: r
466
490
  }
467
- )), X = o((s, a) => /* @__PURE__ */ t.jsx(
491
+ )), X = o((r, a) => /* @__PURE__ */ t.jsx(
468
492
  x,
469
493
  {
470
- ...s,
494
+ ...r,
471
495
  as: "h1",
472
496
  fontSize: "xl",
473
497
  fontWeight: "semibold",
474
498
  ellipsis: !0,
475
499
  ref: a
476
500
  }
477
- )), Y = o(({ className: s, ...a }, e) => /* @__PURE__ */ t.jsx(
501
+ )), Y = o(({ className: r, ...a }, e) => /* @__PURE__ */ t.jsx(
478
502
  x,
479
503
  {
480
504
  as: "p",
@@ -482,51 +506,51 @@ const w = l(
482
506
  fontWeight: "normal",
483
507
  clamp: 2,
484
508
  ref: e,
485
- className: i("mb-2 sm:clamp-3", s),
509
+ className: l("mb-2 sm:clamp-3", r),
486
510
  ...a
487
511
  }
488
- )), Z = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
512
+ )), Z = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
489
513
  "div",
490
514
  {
491
- ref: r,
492
- className: i($(), a),
515
+ ref: s,
516
+ className: l($(), a),
493
517
  "data-versaur-page-header-badges": !0,
494
518
  ...e,
495
- children: s
519
+ children: r
496
520
  }
497
- )), _ = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
521
+ )), _ = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
498
522
  "div",
499
523
  {
500
- ref: r,
501
- className: i(q(), a),
524
+ ref: s,
525
+ className: l(q(), a),
502
526
  "data-versaur-page-header-actions": !0,
503
527
  ...e,
504
- children: s
528
+ children: r
505
529
  }
506
- )), aa = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
530
+ )), aa = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
507
531
  "div",
508
532
  {
509
- ref: r,
510
- className: i(D(), a),
533
+ ref: s,
534
+ className: l(D(), a),
511
535
  "data-versaur-page-header-mobile-actions": !0,
512
536
  ...e,
513
- children: s
537
+ children: r
514
538
  }
515
- )), ea = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
539
+ )), ea = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
516
540
  "div",
517
541
  {
518
- ref: r,
519
- className: i(J(), a),
542
+ ref: s,
543
+ className: l(J(), a),
520
544
  "data-versaur-page-header-bottom": !0,
521
545
  ...e,
522
- children: s
546
+ children: r
523
547
  }
524
548
  )), ta = o(
525
549
  ({
526
- children: s,
550
+ children: r,
527
551
  className: a,
528
552
  size: e = "fluid",
529
- backgroundColor: r = "white",
553
+ backgroundColor: s = "white",
530
554
  title: n,
531
555
  subtitle: c,
532
556
  breadcrumbs: d,
@@ -541,12 +565,12 @@ const w = l(
541
565
  "header",
542
566
  {
543
567
  ref: h,
544
- className: i(F({ backgroundColor: r })),
568
+ className: l(F({ backgroundColor: s })),
545
569
  role: "banner",
546
570
  ...g,
547
- children: /* @__PURE__ */ t.jsxs("div", { className: i(O({ size: e }), a), children: [
548
- d && /* @__PURE__ */ t.jsx(Q, { children: d }),
549
- /* @__PURE__ */ t.jsxs(K, { children: [
571
+ children: /* @__PURE__ */ t.jsxs("div", { className: l(O({ size: e }), a), children: [
572
+ d && /* @__PURE__ */ t.jsx(Q, { size: e, children: d }),
573
+ /* @__PURE__ */ t.jsxs(K, { size: e, children: [
550
574
  /* @__PURE__ */ t.jsxs(U, { children: [
551
575
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-between", children: [
552
576
  /* @__PURE__ */ t.jsx(X, { children: n }),
@@ -558,12 +582,12 @@ const w = l(
558
582
  p && /* @__PURE__ */ t.jsx(_, { children: p })
559
583
  ] }),
560
584
  j && /* @__PURE__ */ t.jsx(ea, { children: f }),
561
- s
585
+ r
562
586
  ] })
563
587
  }
564
588
  );
565
589
  }
566
- ), Ga = ta, sa = l("w-full", {
590
+ ), ka = ta, ra = i("w-full", {
567
591
  variants: {
568
592
  backgroundColor: {
569
593
  white: "bg-white",
@@ -573,7 +597,7 @@ const w = l(
573
597
  defaultVariants: {
574
598
  backgroundColor: "white"
575
599
  }
576
- }), ra = l("w-full mx-auto relative", {
600
+ }), sa = i("w-full mx-auto relative", {
577
601
  variants: {
578
602
  size: {
579
603
  fluid: "max-w-full px-0",
@@ -591,11 +615,11 @@ const w = l(
591
615
  size: "fluid",
592
616
  template: "single-column"
593
617
  }
594
- }), ka = b.forwardRef(
618
+ }), Fa = b.forwardRef(
595
619
  function({
596
620
  size: a = "fluid",
597
621
  template: e = "single-column",
598
- backgroundColor: r = "white",
622
+ backgroundColor: s = "white",
599
623
  className: n,
600
624
  children: c,
601
625
  ...d
@@ -604,13 +628,13 @@ const w = l(
604
628
  "div",
605
629
  {
606
630
  ref: u,
607
- className: i(sa({ backgroundColor: r })),
631
+ className: l(ra({ backgroundColor: s })),
608
632
  ...d,
609
633
  children: /* @__PURE__ */ t.jsx(
610
634
  "div",
611
635
  {
612
- className: i(
613
- ra({ size: a, template: e }),
636
+ className: l(
637
+ sa({ size: a, template: e }),
614
638
  n
615
639
  ),
616
640
  children: /* @__PURE__ */ t.jsx("div", { children: c })
@@ -619,7 +643,7 @@ const w = l(
619
643
  }
620
644
  );
621
645
  }
622
- ), na = l(
646
+ ), na = i(
623
647
  [
624
648
  // Base styles: flex container that centers content
625
649
  "flex",
@@ -655,16 +679,16 @@ const w = l(
655
679
  fullscreen: !1
656
680
  }
657
681
  }
658
- ), oa = l([
682
+ ), oa = i([
659
683
  "text-foreground-light",
660
684
  "text-sm",
661
685
  "text-center",
662
686
  "max-w-xs"
663
- ]), Fa = b.forwardRef(
687
+ ]), Oa = b.forwardRef(
664
688
  function({
665
689
  type: a = "bar",
666
690
  size: e = "sm",
667
- color: r = "primary",
691
+ color: s = "primary",
668
692
  ariaLabel: n = "Loading page",
669
693
  message: c,
670
694
  fullscreen: d = !1,
@@ -677,15 +701,15 @@ const w = l(
677
701
  "div",
678
702
  {
679
703
  ref: g,
680
- className: i(na({ minimal: u, fullscreen: d }), p),
704
+ className: l(na({ minimal: u, fullscreen: d }), p),
681
705
  ...f,
682
706
  children: [
683
707
  /* @__PURE__ */ t.jsx("div", { className: "max-w-xs w-full flex justify-center", children: /* @__PURE__ */ t.jsx(
684
- y,
708
+ w,
685
709
  {
686
710
  type: a,
687
711
  size: e,
688
- color: r,
712
+ color: s,
689
713
  ariaLabel: n
690
714
  }
691
715
  ) }),
@@ -695,7 +719,7 @@ const w = l(
695
719
  }
696
720
  );
697
721
  }
698
- ), la = l("grid w-full gap-4 grid-cols-12"), ia = l("", {
722
+ ), ia = i("grid w-full gap-4 grid-cols-12"), la = i("", {
699
723
  variants: {
700
724
  span: {
701
725
  1: "col-span-1",
@@ -716,36 +740,36 @@ const w = l(
716
740
  span: "4"
717
741
  }
718
742
  }), ca = o(
719
- function({ className: a, children: e, ...r }, n) {
743
+ function({ className: a, children: e, ...s }, n) {
720
744
  return /* @__PURE__ */ t.jsx(
721
745
  "div",
722
746
  {
723
747
  ref: n,
724
- className: i(la(), a),
725
- ...r,
748
+ className: l(ia(), a),
749
+ ...s,
726
750
  children: e
727
751
  }
728
752
  );
729
753
  }
730
754
  ), da = o(
731
- function({ span: a = 4, className: e, children: r, ...n }, c) {
755
+ function({ span: a = 4, className: e, children: s, ...n }, c) {
732
756
  const d = Math.min(12, Math.max(1, a));
733
757
  return /* @__PURE__ */ t.jsx(
734
758
  "div",
735
759
  {
736
760
  ref: c,
737
- className: i(
738
- ia({ span: `${d}` }),
761
+ className: l(
762
+ la({ span: `${d}` }),
739
763
  e
740
764
  ),
741
765
  ...n,
742
- children: r
766
+ children: s
743
767
  }
744
768
  );
745
769
  }
746
- ), Oa = Object.assign(ca, {
770
+ ), Wa = Object.assign(ca, {
747
771
  Column: da
748
- }), v = l(
772
+ }), v = i(
749
773
  "flex items-center gap-2 px-4 py-2 rounded-md hover:text-primary focus:outline-none transition-colors",
750
774
  {
751
775
  variants: {
@@ -764,8 +788,8 @@ const w = l(
764
788
  }
765
789
  }
766
790
  ), ua = o(
767
- (s, a) => {
768
- const { icon: e, children: r, href: n, onClick: c, active: d, ...u } = s;
791
+ (r, a) => {
792
+ const { icon: e, children: s, href: n, onClick: c, active: d, ...u } = r;
769
793
  if (typeof n == "string") {
770
794
  const m = u;
771
795
  return /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs(
@@ -774,13 +798,13 @@ const w = l(
774
798
  ref: a,
775
799
  href: n,
776
800
  className: v({
777
- disabled: !!s["aria-disabled"],
801
+ disabled: !!r["aria-disabled"],
778
802
  active: d
779
803
  }),
780
804
  ...m,
781
805
  children: [
782
806
  e,
783
- /* @__PURE__ */ t.jsx(x, { as: "span", color: "inherit", fontSize: "sm", children: r })
807
+ /* @__PURE__ */ t.jsx(x, { as: "span", color: "inherit", fontSize: "sm", children: s })
784
808
  ]
785
809
  }
786
810
  ) });
@@ -792,22 +816,22 @@ const w = l(
792
816
  ref: a,
793
817
  type: "button",
794
818
  onClick: c,
795
- className: i(
819
+ className: l(
796
820
  v({ disabled: !!m.disabled, active: d }),
797
821
  "w-full text-left"
798
822
  ),
799
823
  ...m,
800
824
  children: [
801
825
  e,
802
- /* @__PURE__ */ t.jsx(x, { as: "span", color: "inherit", fontSize: "sm", children: r })
826
+ /* @__PURE__ */ t.jsx(x, { as: "span", color: "inherit", fontSize: "sm", children: s })
803
827
  ]
804
828
  }
805
829
  ) });
806
830
  }
807
831
  }
808
832
  ), ma = o(
809
- function({ children: a, label: e, ...r }, n) {
810
- return /* @__PURE__ */ t.jsxs("li", { ref: n, className: "flex flex-col gap-2 mt-2", ...r, children: [
833
+ function({ children: a, label: e, ...s }, n) {
834
+ return /* @__PURE__ */ t.jsxs("li", { ref: n, className: "flex flex-col gap-2 mt-2", ...s, children: [
811
835
  /* @__PURE__ */ t.jsx(
812
836
  x,
813
837
  {
@@ -823,26 +847,26 @@ const w = l(
823
847
  ] });
824
848
  }
825
849
  ), pa = o(
826
- ({ children: s, ...a }, e) => /* @__PURE__ */ t.jsx(
850
+ ({ children: r, ...a }, e) => /* @__PURE__ */ t.jsx(
827
851
  "nav",
828
852
  {
829
853
  ref: e,
830
854
  className: "w-56 bg-background border-r border-border flex flex-col my-2",
831
855
  "aria-label": "Sidebar",
832
856
  ...a,
833
- children: /* @__PURE__ */ t.jsx("div", { className: "flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-border scrollbar-track-background", children: /* @__PURE__ */ t.jsx("ul", { className: "flex flex-col gap-1 mx-2", children: s }) })
857
+ children: /* @__PURE__ */ t.jsx("div", { className: "flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-border scrollbar-track-background", children: /* @__PURE__ */ t.jsx("ul", { className: "flex flex-col gap-1 mx-2", children: r }) })
834
858
  }
835
859
  )
836
- ), Wa = Object.assign(pa, {
860
+ ), Ma = Object.assign(pa, {
837
861
  Item: ua,
838
862
  Group: ma
839
- }), fa = l(
863
+ }), fa = i(
840
864
  "w-full flex items-center px-6 py-4 border-b border-border shadow-xs bg-white",
841
865
  {
842
866
  variants: {},
843
867
  defaultVariants: {}
844
868
  }
845
- ), xa = l("flex items-center gap-3 min-w-0 flex-1"), ga = l("flex items-center gap-2 ml-auto"), va = l(
869
+ ), xa = i("flex items-center gap-3 min-w-0 flex-1"), ga = i("flex items-center gap-2 ml-auto"), va = i(
846
870
  "px-2.5 py-1.5 rounded-md text-sm cursor-pointer transition-colors",
847
871
  {
848
872
  variants: {
@@ -855,54 +879,54 @@ const w = l(
855
879
  active: !1
856
880
  }
857
881
  }
858
- ), ba = l("flex items-center gap-2 ml-4"), ha = l("flex items-center gap-2 mr-4"), ja = o(
859
- function({ children: a, className: e, ...r }, n) {
860
- return /* @__PURE__ */ t.jsx("nav", { ref: n, className: ba({ className: e }), ...r, children: a });
861
- }
862
- ), ya = o(
863
- function({ children: a, className: e, ...r }, n) {
864
- return /* @__PURE__ */ t.jsx("div", { ref: n, className: ha({ className: e }), ...r, children: a });
882
+ ), ba = i("flex items-center gap-2 ml-4"), ha = i("flex items-center gap-2 mr-4"), ja = o(
883
+ function({ children: a, className: e, ...s }, n) {
884
+ return /* @__PURE__ */ t.jsx("nav", { ref: n, className: ba({ className: e }), ...s, children: a });
865
885
  }
866
886
  ), wa = o(
867
- function({ children: a, className: e, ...r }, n) {
868
- return /* @__PURE__ */ t.jsx("div", { ref: n, className: xa({ className: e }), ...r, children: a });
887
+ function({ children: a, className: e, ...s }, n) {
888
+ return /* @__PURE__ */ t.jsx("div", { ref: n, className: ha({ className: e }), ...s, children: a });
889
+ }
890
+ ), ya = o(
891
+ function({ children: a, className: e, ...s }, n) {
892
+ return /* @__PURE__ */ t.jsx("div", { ref: n, className: xa({ className: e }), ...s, children: a });
869
893
  }
870
894
  ), Ba = o(
871
- function({ children: a, className: e, ...r }, n) {
872
- return /* @__PURE__ */ t.jsx("div", { ref: n, className: ga({ className: e }), ...r, children: a });
895
+ function({ children: a, className: e, ...s }, n) {
896
+ return /* @__PURE__ */ t.jsx("div", { ref: n, className: ga({ className: e }), ...s, children: a });
873
897
  }
874
898
  ), Na = o(
875
- function({ children: a, className: e, active: r, ...n }, c) {
899
+ function({ children: a, className: e, active: s, ...n }, c) {
876
900
  return /* @__PURE__ */ t.jsx(
877
901
  "div",
878
902
  {
879
903
  ref: c,
880
- className: va({ active: r, className: e }),
881
- "aria-current": r ? "page" : void 0,
904
+ className: va({ active: s, className: e }),
905
+ "aria-current": s ? "page" : void 0,
882
906
  ...n,
883
907
  children: a
884
908
  }
885
909
  );
886
910
  }
887
911
  ), Va = o(
888
- ({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx("header", { ref: r, className: fa({ className: a }), ...e, children: s })
889
- ), Ma = Object.assign(Va, {
890
- Leading: wa,
912
+ ({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx("header", { ref: s, className: fa({ className: a }), ...e, children: r })
913
+ ), Ea = Object.assign(Va, {
914
+ Leading: ya,
891
915
  Trailing: Ba,
892
916
  NavItem: Na,
893
917
  Nav: ja,
894
- Actions: ya
918
+ Actions: wa
895
919
  });
896
920
  export {
897
- La as A,
898
- Aa as B,
899
- Ra as F,
900
- Ga as P,
901
- Wa as S,
902
- Ma as T,
903
- Pa as a,
904
- Ia as b,
905
- ka as c,
906
- Fa as d,
907
- Oa as e
921
+ Aa as A,
922
+ Pa as B,
923
+ Ga as F,
924
+ ka as P,
925
+ Ma as S,
926
+ Ea as T,
927
+ Ia as a,
928
+ Ra as b,
929
+ Fa as c,
930
+ Oa as d,
931
+ Wa as e
908
932
  };