@dimasbaguspm/versaur 0.0.56 → 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 (47) 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-I4n6MLAv.js → tabs-BQs53hHL.js} +59 -50
  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-Dqje-W3G.js → top-bar-DEesTo9i.js} +242 -197
  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/badge-group/types.d.ts +5 -0
  38. package/dist/types/layouts/button-group/types.d.ts +5 -0
  39. package/dist/types/layouts/filter-chip-group/types.d.ts +5 -0
  40. package/dist/types/layouts/page-header/types.d.ts +14 -0
  41. package/dist/types/navigation/tabs/types.d.ts +4 -0
  42. package/dist/types/overlays/menu/types.d.ts +8 -8
  43. package/dist/types/primitive/button-menu/types.d.ts +1 -1
  44. package/dist/types/primitive/button-menu-icon/types.d.ts +1 -1
  45. package/dist/utils/enforce-subpath-import.js +3 -1
  46. package/package.json +5 -1
  47. package/dist/types/overlays/menu/use-menu.d.ts +0 -15
@@ -1,10 +1,11 @@
1
- import { c as i, j as t, a as l } from "./index-DOdDlCoL.js";
2
- import * as v from "react";
1
+ import { j as t } from "./jsx-runtime-C5mzlN2N.js";
2
+ import { c as i, a as l } from "./index-BDtz_hQY.js";
3
+ import * as b from "react";
3
4
  import { forwardRef as o } from "react";
4
- import { n as f } from "./image-rectangle-K9jmTTED.js";
5
- import "./snackbar-DH8jCh2V.js";
6
- import { L as y } from "./skeleton-BNZyaRjo.js";
7
- const w = i(
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: {
@@ -35,27 +36,27 @@ const w = i(
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
44
  className: l("w-full flex items-center min-h-[2.5rem] mt-2", a),
44
- children: s
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
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
- f,
58
+ ), z = o(({ children: r, ...a }, e) => /* @__PURE__ */ t.jsx(
59
+ x,
59
60
  {
60
61
  ...a,
61
62
  as: "h1",
@@ -64,10 +65,10 @@ const w = i(
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
- f,
70
+ )), S = o(({ children: r, ...a }, e) => /* @__PURE__ */ t.jsx(
71
+ x,
71
72
  {
72
73
  ...a,
73
74
  ref: e,
@@ -77,39 +78,39 @@ const w = i(
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
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
+ ref: s,
97
98
  className: l(B({ placement: e }), a),
98
- children: s
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: l(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,
@@ -158,19 +159,19 @@ const w = i(
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
- }, m) => /* @__PURE__ */ t.jsxs(
169
- s,
169
+ }, u) => /* @__PURE__ */ t.jsxs(
170
+ r,
170
171
  {
171
- ref: m,
172
- "aria-current": r ? "page" : void 0,
173
- className: A({ active: r, className: n, as: s }),
172
+ ref: u,
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 = i(
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 = i("flex flex-wrap items-center", {
200
+ }), R = i("flex items-center", {
200
201
  variants: {
201
202
  orientation: {
202
203
  horizontal: "flex-row",
@@ -220,46 +221,53 @@ const w = i(
220
221
  fluid: {
221
222
  true: "[&>*]:flex-1",
222
223
  false: ""
224
+ },
225
+ overlay: {
226
+ true: "flex-nowrap overflow-x-auto",
227
+ false: "flex-wrap"
223
228
  }
224
229
  },
225
230
  defaultVariants: {
226
231
  orientation: "horizontal",
227
232
  alignment: "start",
228
233
  gap: "md",
229
- fluid: !1
234
+ fluid: !1,
235
+ overlay: !1
230
236
  }
231
- }), Pa = o(
237
+ }), Ia = o(
232
238
  function({
233
239
  className: a,
234
240
  children: e,
235
- orientation: r = "horizontal",
241
+ orientation: s = "horizontal",
236
242
  alignment: n = "start",
237
243
  gap: c = "md",
238
244
  fluid: d = !1,
239
- hasMargin: m,
240
- ...p
241
- }, u) {
245
+ hasMargin: u,
246
+ overlay: p = !1,
247
+ ...m
248
+ }, f) {
242
249
  return /* @__PURE__ */ t.jsx(
243
250
  "div",
244
251
  {
245
- ref: u,
252
+ ref: f,
246
253
  className: l(
247
254
  R({
248
- orientation: r,
255
+ orientation: s,
249
256
  alignment: n,
250
257
  gap: c,
251
- fluid: d
258
+ fluid: d,
259
+ overlay: p
252
260
  }),
253
- m && "mb-4",
261
+ u && "mb-4",
254
262
  a
255
263
  ),
256
264
  role: "group",
257
- ...p,
265
+ ...m,
258
266
  children: e
259
267
  }
260
268
  );
261
269
  }
262
- ), G = i("flex flex-wrap items-center", {
270
+ ), G = i("flex items-center", {
263
271
  variants: {
264
272
  orientation: {
265
273
  horizontal: "flex-row",
@@ -283,46 +291,53 @@ const w = i(
283
291
  fluid: {
284
292
  true: "[&>*]:flex-1",
285
293
  false: ""
294
+ },
295
+ overlay: {
296
+ true: "flex-nowrap overflow-x-auto",
297
+ false: "flex-wrap"
286
298
  }
287
299
  },
288
300
  defaultVariants: {
289
301
  orientation: "horizontal",
290
302
  alignment: "start",
291
303
  gap: "md",
292
- fluid: !1
304
+ fluid: !1,
305
+ overlay: !1
293
306
  }
294
- }), Ia = o(
307
+ }), Ra = o(
295
308
  function({
296
309
  className: a,
297
310
  children: e,
298
- orientation: r = "horizontal",
311
+ orientation: s = "horizontal",
299
312
  alignment: n = "start",
300
313
  gap: c = "md",
301
314
  fluid: d = !1,
302
- hasMargin: m,
303
- ...p
304
- }, u) {
315
+ hasMargin: u,
316
+ overlay: p = !1,
317
+ ...m
318
+ }, f) {
305
319
  return /* @__PURE__ */ t.jsx(
306
320
  "div",
307
321
  {
308
- ref: u,
322
+ ref: f,
309
323
  className: l(
310
324
  G({
311
- orientation: r,
325
+ orientation: s,
312
326
  alignment: n,
313
327
  gap: c,
314
- fluid: d
328
+ fluid: d,
329
+ overlay: p
315
330
  }),
316
- m && "mb-4",
331
+ u && "mb-4",
317
332
  a
318
333
  ),
319
334
  role: "group",
320
- ...p,
335
+ ...m,
321
336
  children: e
322
337
  }
323
338
  );
324
339
  }
325
- ), k = i("flex flex-wrap items-center", {
340
+ ), k = i("flex items-center", {
326
341
  variants: {
327
342
  orientation: {
328
343
  horizontal: "flex-row",
@@ -346,41 +361,48 @@ const w = i(
346
361
  fluid: {
347
362
  true: "[&>*]:flex-1",
348
363
  false: ""
364
+ },
365
+ overlay: {
366
+ true: "flex-nowrap overflow-x-auto",
367
+ false: "flex-wrap"
349
368
  }
350
369
  },
351
370
  defaultVariants: {
352
371
  orientation: "horizontal",
353
372
  alignment: "start",
354
373
  gap: "md",
355
- fluid: !1
374
+ fluid: !1,
375
+ overlay: !1
356
376
  }
357
- }), Ra = o(
377
+ }), Ga = o(
358
378
  function({
359
379
  className: a,
360
380
  children: e,
361
- orientation: r = "horizontal",
381
+ orientation: s = "horizontal",
362
382
  alignment: n = "start",
363
383
  gap: c = "md",
364
384
  fluid: d = !1,
365
- hasMargin: m,
366
- ...p
367
- }, u) {
385
+ hasMargin: u,
386
+ overlay: p = !1,
387
+ ...m
388
+ }, f) {
368
389
  return /* @__PURE__ */ t.jsx(
369
390
  "div",
370
391
  {
371
- ref: u,
392
+ ref: f,
372
393
  className: l(
373
394
  k({
374
- orientation: r,
395
+ orientation: s,
375
396
  alignment: n,
376
397
  gap: c,
377
- fluid: d
398
+ fluid: d,
399
+ overlay: p
378
400
  }),
379
- m && "mb-4",
401
+ u && "mb-4",
380
402
  a
381
403
  ),
382
404
  role: "group",
383
- ...p,
405
+ ...m,
384
406
  children: e
385
407
  }
386
408
  );
@@ -398,151 +420,174 @@ const w = i(
398
420
  }), O = i("w-full mx-auto pt-4 md:pt-10", {
399
421
  variants: {
400
422
  size: {
401
- fluid: "max-w-full px-0",
402
- wide: "max-w-7xl px-6",
403
- narrow: "max-w-3xl px-4"
423
+ fluid: "max-w-full",
424
+ wide: "max-w-7xl",
425
+ narrow: "max-w-3xl"
404
426
  }
405
427
  },
406
428
  defaultVariants: {
407
429
  size: "fluid"
408
430
  }
409
431
  }), W = i(
410
- "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4 mb-4"
411
- ), M = i("mb-4"), E = 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(
412
457
  "flex-1 min-w-0 flex flex-col gap-2 w-full sm:w-auto"
413
458
  ), $ = i("flex items-center gap-2 flex-wrap"), q = i(
414
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"
415
460
  ), D = i("md:hidden"), J = i(
416
461
  "w-full flex items-center py-0 overflow-x-auto"
417
462
  ), K = o(
418
- ({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
463
+ ({ children: r, className: a, size: e = "fluid", ...s }, n) => /* @__PURE__ */ t.jsx(
419
464
  "div",
420
465
  {
421
- ref: r,
422
- className: l(W(), a),
466
+ ref: n,
467
+ className: l(W({ size: e }), a),
423
468
  "data-versaur-page-header-top": !0,
424
- ...e,
425
- children: s
469
+ ...s,
470
+ children: r
426
471
  }
427
472
  )
428
- ), 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(
429
474
  "div",
430
475
  {
431
- ref: r,
432
- className: l(M(), a),
476
+ ref: n,
477
+ className: l(M({ size: e }), a),
433
478
  "data-versaur-page-header-breadcrumbs": !0,
434
- ...e,
435
- children: s
479
+ ...s,
480
+ children: r
436
481
  }
437
- )), U = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
482
+ )), U = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
438
483
  "div",
439
484
  {
440
- ref: r,
485
+ ref: s,
441
486
  className: l(E(), a),
442
487
  "data-versaur-page-header-content": !0,
443
488
  ...e,
444
- children: s
489
+ children: r
445
490
  }
446
- )), X = o((s, a) => /* @__PURE__ */ t.jsx(
447
- f,
491
+ )), X = o((r, a) => /* @__PURE__ */ t.jsx(
492
+ x,
448
493
  {
449
- ...s,
494
+ ...r,
450
495
  as: "h1",
451
496
  fontSize: "xl",
452
497
  fontWeight: "semibold",
453
498
  ellipsis: !0,
454
499
  ref: a
455
500
  }
456
- )), Y = o(({ className: s, ...a }, e) => /* @__PURE__ */ t.jsx(
457
- f,
501
+ )), Y = o(({ className: r, ...a }, e) => /* @__PURE__ */ t.jsx(
502
+ x,
458
503
  {
459
504
  as: "p",
460
505
  fontSize: "sm",
461
506
  fontWeight: "normal",
462
507
  clamp: 2,
463
508
  ref: e,
464
- className: l("mb-2 sm:clamp-3", s),
509
+ className: l("mb-2 sm:clamp-3", r),
465
510
  ...a
466
511
  }
467
- )), Z = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
512
+ )), Z = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
468
513
  "div",
469
514
  {
470
- ref: r,
515
+ ref: s,
471
516
  className: l($(), a),
472
517
  "data-versaur-page-header-badges": !0,
473
518
  ...e,
474
- children: s
519
+ children: r
475
520
  }
476
- )), _ = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
521
+ )), _ = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
477
522
  "div",
478
523
  {
479
- ref: r,
524
+ ref: s,
480
525
  className: l(q(), a),
481
526
  "data-versaur-page-header-actions": !0,
482
527
  ...e,
483
- children: s
528
+ children: r
484
529
  }
485
- )), aa = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
530
+ )), aa = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
486
531
  "div",
487
532
  {
488
- ref: r,
533
+ ref: s,
489
534
  className: l(D(), a),
490
535
  "data-versaur-page-header-mobile-actions": !0,
491
536
  ...e,
492
- children: s
537
+ children: r
493
538
  }
494
- )), ea = o(({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx(
539
+ )), ea = o(({ children: r, className: a, ...e }, s) => /* @__PURE__ */ t.jsx(
495
540
  "div",
496
541
  {
497
- ref: r,
542
+ ref: s,
498
543
  className: l(J(), a),
499
544
  "data-versaur-page-header-bottom": !0,
500
545
  ...e,
501
- children: s
546
+ children: r
502
547
  }
503
548
  )), ta = o(
504
549
  ({
505
- children: s,
550
+ children: r,
506
551
  className: a,
507
552
  size: e = "fluid",
508
- backgroundColor: r = "white",
553
+ backgroundColor: s = "white",
509
554
  title: n,
510
555
  subtitle: c,
511
556
  breadcrumbs: d,
512
- badges: m,
557
+ badges: u,
513
558
  actions: p,
514
- mobileActions: u,
515
- tabs: x,
559
+ mobileActions: m,
560
+ tabs: f,
516
561
  ...g
517
562
  }, h) => {
518
- const j = x;
563
+ const j = f;
519
564
  return /* @__PURE__ */ t.jsx(
520
565
  "header",
521
566
  {
522
567
  ref: h,
523
- className: l(F({ backgroundColor: r })),
568
+ className: l(F({ backgroundColor: s })),
524
569
  role: "banner",
525
570
  ...g,
526
571
  children: /* @__PURE__ */ t.jsxs("div", { className: l(O({ size: e }), a), children: [
527
- d && /* @__PURE__ */ t.jsx(Q, { children: d }),
528
- /* @__PURE__ */ t.jsxs(K, { children: [
572
+ d && /* @__PURE__ */ t.jsx(Q, { size: e, children: d }),
573
+ /* @__PURE__ */ t.jsxs(K, { size: e, children: [
529
574
  /* @__PURE__ */ t.jsxs(U, { children: [
530
575
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-between", children: [
531
576
  /* @__PURE__ */ t.jsx(X, { children: n }),
532
- u && /* @__PURE__ */ t.jsx(aa, { children: u })
577
+ m && /* @__PURE__ */ t.jsx(aa, { children: m })
533
578
  ] }),
534
579
  c && /* @__PURE__ */ t.jsx(Y, { children: c }),
535
- m && /* @__PURE__ */ t.jsx(Z, { children: m })
580
+ u && /* @__PURE__ */ t.jsx(Z, { children: u })
536
581
  ] }),
537
582
  p && /* @__PURE__ */ t.jsx(_, { children: p })
538
583
  ] }),
539
- j && /* @__PURE__ */ t.jsx(ea, { children: x }),
540
- s
584
+ j && /* @__PURE__ */ t.jsx(ea, { children: f }),
585
+ r
541
586
  ] })
542
587
  }
543
588
  );
544
589
  }
545
- ), Ga = ta, sa = i("w-full", {
590
+ ), ka = ta, ra = i("w-full", {
546
591
  variants: {
547
592
  backgroundColor: {
548
593
  white: "bg-white",
@@ -552,7 +597,7 @@ const w = i(
552
597
  defaultVariants: {
553
598
  backgroundColor: "white"
554
599
  }
555
- }), ra = i("w-full mx-auto relative", {
600
+ }), sa = i("w-full mx-auto relative", {
556
601
  variants: {
557
602
  size: {
558
603
  fluid: "max-w-full px-0",
@@ -570,26 +615,26 @@ const w = i(
570
615
  size: "fluid",
571
616
  template: "single-column"
572
617
  }
573
- }), ka = v.forwardRef(
618
+ }), Fa = b.forwardRef(
574
619
  function({
575
620
  size: a = "fluid",
576
621
  template: e = "single-column",
577
- backgroundColor: r = "white",
622
+ backgroundColor: s = "white",
578
623
  className: n,
579
624
  children: c,
580
625
  ...d
581
- }, m) {
626
+ }, u) {
582
627
  return /* @__PURE__ */ t.jsx(
583
628
  "div",
584
629
  {
585
- ref: m,
586
- className: l(sa({ backgroundColor: r })),
630
+ ref: u,
631
+ className: l(ra({ backgroundColor: s })),
587
632
  ...d,
588
633
  children: /* @__PURE__ */ t.jsx(
589
634
  "div",
590
635
  {
591
636
  className: l(
592
- ra({ size: a, template: e }),
637
+ sa({ size: a, template: e }),
593
638
  n
594
639
  ),
595
640
  children: /* @__PURE__ */ t.jsx("div", { children: c })
@@ -639,37 +684,37 @@ const w = i(
639
684
  "text-sm",
640
685
  "text-center",
641
686
  "max-w-xs"
642
- ]), Fa = v.forwardRef(
687
+ ]), Oa = b.forwardRef(
643
688
  function({
644
689
  type: a = "bar",
645
690
  size: e = "sm",
646
- color: r = "primary",
691
+ color: s = "primary",
647
692
  ariaLabel: n = "Loading page",
648
693
  message: c,
649
694
  fullscreen: d = !1,
650
- minimal: m = !1,
695
+ minimal: u = !1,
651
696
  className: p,
652
- children: u,
653
- ...x
697
+ children: m,
698
+ ...f
654
699
  }, g) {
655
700
  return /* @__PURE__ */ t.jsxs(
656
701
  "div",
657
702
  {
658
703
  ref: g,
659
- className: l(na({ minimal: m, fullscreen: d }), p),
660
- ...x,
704
+ className: l(na({ minimal: u, fullscreen: d }), p),
705
+ ...f,
661
706
  children: [
662
707
  /* @__PURE__ */ t.jsx("div", { className: "max-w-xs w-full flex justify-center", children: /* @__PURE__ */ t.jsx(
663
- y,
708
+ w,
664
709
  {
665
710
  type: a,
666
711
  size: e,
667
- color: r,
712
+ color: s,
668
713
  ariaLabel: n
669
714
  }
670
715
  ) }),
671
716
  c && /* @__PURE__ */ t.jsx("p", { className: oa(), "aria-live": "polite", children: c }),
672
- u
717
+ m
673
718
  ]
674
719
  }
675
720
  );
@@ -695,19 +740,19 @@ const w = i(
695
740
  span: "4"
696
741
  }
697
742
  }), ca = o(
698
- function({ className: a, children: e, ...r }, n) {
743
+ function({ className: a, children: e, ...s }, n) {
699
744
  return /* @__PURE__ */ t.jsx(
700
745
  "div",
701
746
  {
702
747
  ref: n,
703
748
  className: l(ia(), a),
704
- ...r,
749
+ ...s,
705
750
  children: e
706
751
  }
707
752
  );
708
753
  }
709
754
  ), da = o(
710
- function({ span: a = 4, className: e, children: r, ...n }, c) {
755
+ function({ span: a = 4, className: e, children: s, ...n }, c) {
711
756
  const d = Math.min(12, Math.max(1, a));
712
757
  return /* @__PURE__ */ t.jsx(
713
758
  "div",
@@ -718,13 +763,13 @@ const w = i(
718
763
  e
719
764
  ),
720
765
  ...n,
721
- children: r
766
+ children: s
722
767
  }
723
768
  );
724
769
  }
725
- ), Oa = Object.assign(ca, {
770
+ ), Wa = Object.assign(ca, {
726
771
  Column: da
727
- }), b = i(
772
+ }), v = i(
728
773
  "flex items-center gap-2 px-4 py-2 rounded-md hover:text-primary focus:outline-none transition-colors",
729
774
  {
730
775
  variants: {
@@ -742,29 +787,29 @@ const w = i(
742
787
  disabled: !1
743
788
  }
744
789
  }
745
- ), ma = o(
746
- (s, a) => {
747
- const { icon: e, children: r, href: n, onClick: c, active: d, ...m } = s;
790
+ ), ua = o(
791
+ (r, a) => {
792
+ const { icon: e, children: s, href: n, onClick: c, active: d, ...u } = r;
748
793
  if (typeof n == "string") {
749
- const u = m;
794
+ const m = u;
750
795
  return /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs(
751
796
  "a",
752
797
  {
753
798
  ref: a,
754
799
  href: n,
755
- className: b({
756
- disabled: !!s["aria-disabled"],
800
+ className: v({
801
+ disabled: !!r["aria-disabled"],
757
802
  active: d
758
803
  }),
759
- ...u,
804
+ ...m,
760
805
  children: [
761
806
  e,
762
- /* @__PURE__ */ t.jsx(f, { as: "span", color: "inherit", fontSize: "sm", children: r })
807
+ /* @__PURE__ */ t.jsx(x, { as: "span", color: "inherit", fontSize: "sm", children: s })
763
808
  ]
764
809
  }
765
810
  ) });
766
811
  } else {
767
- const u = m;
812
+ const m = u;
768
813
  return /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs(
769
814
  "button",
770
815
  {
@@ -772,23 +817,23 @@ const w = i(
772
817
  type: "button",
773
818
  onClick: c,
774
819
  className: l(
775
- b({ disabled: !!u.disabled, active: d }),
820
+ v({ disabled: !!m.disabled, active: d }),
776
821
  "w-full text-left"
777
822
  ),
778
- ...u,
823
+ ...m,
779
824
  children: [
780
825
  e,
781
- /* @__PURE__ */ t.jsx(f, { as: "span", color: "inherit", fontSize: "sm", children: r })
826
+ /* @__PURE__ */ t.jsx(x, { as: "span", color: "inherit", fontSize: "sm", children: s })
782
827
  ]
783
828
  }
784
829
  ) });
785
830
  }
786
831
  }
787
- ), ua = o(
788
- function({ children: a, label: e, ...r }, n) {
789
- return /* @__PURE__ */ t.jsxs("li", { ref: n, className: "flex flex-col gap-2 mt-2", ...r, children: [
832
+ ), ma = o(
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: [
790
835
  /* @__PURE__ */ t.jsx(
791
- f,
836
+ x,
792
837
  {
793
838
  as: "h2",
794
839
  fontSize: "xs",
@@ -802,26 +847,26 @@ const w = i(
802
847
  ] });
803
848
  }
804
849
  ), pa = o(
805
- ({ children: s, ...a }, e) => /* @__PURE__ */ t.jsx(
850
+ ({ children: r, ...a }, e) => /* @__PURE__ */ t.jsx(
806
851
  "nav",
807
852
  {
808
853
  ref: e,
809
854
  className: "w-56 bg-background border-r border-border flex flex-col my-2",
810
855
  "aria-label": "Sidebar",
811
856
  ...a,
812
- 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 }) })
813
858
  }
814
859
  )
815
- ), Wa = Object.assign(pa, {
816
- Item: ma,
817
- Group: ua
860
+ ), Ma = Object.assign(pa, {
861
+ Item: ua,
862
+ Group: ma
818
863
  }), fa = i(
819
864
  "w-full flex items-center px-6 py-4 border-b border-border shadow-xs bg-white",
820
865
  {
821
866
  variants: {},
822
867
  defaultVariants: {}
823
868
  }
824
- ), xa = i("flex items-center gap-3 min-w-0 flex-1"), ga = i("flex items-center gap-2 ml-auto"), ba = i(
869
+ ), xa = i("flex items-center gap-3 min-w-0 flex-1"), ga = i("flex items-center gap-2 ml-auto"), va = i(
825
870
  "px-2.5 py-1.5 rounded-md text-sm cursor-pointer transition-colors",
826
871
  {
827
872
  variants: {
@@ -834,54 +879,54 @@ const w = i(
834
879
  active: !1
835
880
  }
836
881
  }
837
- ), va = i("flex items-center gap-2 ml-4"), ha = i("flex items-center gap-2 mr-4"), ja = o(
838
- function({ children: a, className: e, ...r }, n) {
839
- return /* @__PURE__ */ t.jsx("nav", { ref: n, className: va({ className: e }), ...r, children: a });
840
- }
841
- ), ya = o(
842
- function({ children: a, className: e, ...r }, n) {
843
- 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 });
844
885
  }
845
886
  ), wa = o(
846
- function({ children: a, className: e, ...r }, n) {
847
- 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 });
848
893
  }
849
894
  ), Ba = o(
850
- function({ children: a, className: e, ...r }, n) {
851
- 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 });
852
897
  }
853
898
  ), Na = o(
854
- function({ children: a, className: e, active: r, ...n }, c) {
899
+ function({ children: a, className: e, active: s, ...n }, c) {
855
900
  return /* @__PURE__ */ t.jsx(
856
901
  "div",
857
902
  {
858
903
  ref: c,
859
- className: ba({ active: r, className: e }),
860
- "aria-current": r ? "page" : void 0,
904
+ className: va({ active: s, className: e }),
905
+ "aria-current": s ? "page" : void 0,
861
906
  ...n,
862
907
  children: a
863
908
  }
864
909
  );
865
910
  }
866
911
  ), Va = o(
867
- ({ children: s, className: a, ...e }, r) => /* @__PURE__ */ t.jsx("header", { ref: r, className: fa({ className: a }), ...e, children: s })
868
- ), Ma = Object.assign(Va, {
869
- 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,
870
915
  Trailing: Ba,
871
916
  NavItem: Na,
872
917
  Nav: ja,
873
- Actions: ya
918
+ Actions: wa
874
919
  });
875
920
  export {
876
- La as A,
877
- Aa as B,
878
- Ra as F,
879
- Ga as P,
880
- Wa as S,
881
- Ma as T,
882
- Pa as a,
883
- Ia as b,
884
- ka as c,
885
- Fa as d,
886
- 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
887
932
  };