@dimasbaguspm/versaur 0.0.25 → 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.
@@ -1,9 +1,8 @@
1
- import { c as i, j as s, a as l } from "./index-DOdDlCoL.js";
2
- import * as v from "react";
3
- import { forwardRef as n } from "react";
4
- import "./image-rectangle-GA3oWX7A.js";
1
+ import { c as i, j as r, a as l } from "./index-DOdDlCoL.js";
2
+ import * as b from "react";
3
+ import { forwardRef as o } from "react";
4
+ import { i as d } from "./image-rectangle-BGLYH2Gl.js";
5
5
  import "./snackbar-DH8jCh2V.js";
6
- import { T as d } from "./text-CRsIInRA.js";
7
6
  const h = i(
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
  {
@@ -34,8 +33,8 @@ const h = i(
34
33
  placement: "start"
35
34
  }
36
35
  }
37
- ), y = n(
38
- ({ children: t, className: a }, e) => /* @__PURE__ */ s.jsx(
36
+ ), y = o(
37
+ ({ children: t, className: a }, e) => /* @__PURE__ */ r.jsx(
39
38
  "div",
40
39
  {
41
40
  ref: e,
@@ -44,8 +43,8 @@ const h = i(
44
43
  children: t
45
44
  }
46
45
  )
47
- ), B = n(
48
- ({ children: t, className: a }, e) => /* @__PURE__ */ s.jsx(
46
+ ), B = o(
47
+ ({ children: t, className: a }, e) => /* @__PURE__ */ r.jsx(
49
48
  "div",
50
49
  {
51
50
  ref: e,
@@ -54,7 +53,7 @@ const h = i(
54
53
  children: t
55
54
  }
56
55
  )
57
- ), w = n(({ children: t, ...a }, e) => /* @__PURE__ */ s.jsx(
56
+ ), w = o(({ children: t, ...a }, e) => /* @__PURE__ */ r.jsx(
58
57
  d,
59
58
  {
60
59
  ...a,
@@ -66,7 +65,7 @@ const h = i(
66
65
  clamp: 1,
67
66
  children: t
68
67
  }
69
- )), N = n(({ children: t, ...a }, e) => /* @__PURE__ */ s.jsx(
68
+ )), N = o(({ children: t, ...a }, e) => /* @__PURE__ */ r.jsx(
70
69
  d,
71
70
  {
72
71
  ...a,
@@ -79,8 +78,8 @@ const h = i(
79
78
  color: "gray",
80
79
  children: t
81
80
  }
82
- )), V = n(
83
- ({ children: t, className: a }, e) => /* @__PURE__ */ s.jsx(
81
+ )), V = o(
82
+ ({ children: t, className: a }, e) => /* @__PURE__ */ r.jsx(
84
83
  "div",
85
84
  {
86
85
  ref: e,
@@ -89,32 +88,32 @@ const h = i(
89
88
  children: t
90
89
  }
91
90
  )
92
- ), T = n(
93
- ({ children: t, className: a, placement: e }, r) => /* @__PURE__ */ s.jsx(
91
+ ), S = o(
92
+ ({ children: t, className: a, placement: e }, s) => /* @__PURE__ */ r.jsx(
94
93
  "div",
95
94
  {
96
- ref: r,
95
+ ref: s,
97
96
  className: l(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
- }) => /* @__PURE__ */ s.jsx(
104
+ }) => /* @__PURE__ */ r.jsx(
106
105
  "header",
107
106
  {
108
107
  className: l(h({ variant: e }), a),
109
108
  role: "banner",
110
109
  children: t
111
110
  }
112
- ), ya = Object.assign(S, {
111
+ ), ya = 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
118
  }), H = i(
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",
@@ -139,11 +138,11 @@ const h = i(
139
138
  }
140
139
  }
141
140
  ), A = i(
142
- "flex flex-col items-center justify-center gap-1 px-2 py-1",
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
  },
@@ -151,38 +150,38 @@ const h = i(
151
150
  active: !1
152
151
  }
153
152
  }
154
- ), L = n(
155
- ({ icon: t, label: a, active: e = !1, className: r, ...o }, c) => /* @__PURE__ */ s.jsxs(
153
+ ), z = o(
154
+ ({ icon: t, label: a, active: e = !1, className: s, ...n }, c) => /* @__PURE__ */ r.jsxs(
156
155
  "div",
157
156
  {
158
157
  ref: c,
159
158
  "aria-current": e ? "page" : void 0,
160
- className: A({ active: e, className: r }),
161
- ...o,
159
+ className: A({ active: e, className: s }),
160
+ ...n,
162
161
  children: [
163
162
  t,
164
- a && /* @__PURE__ */ s.jsx("span", { className: "text-xs mt-0.5", children: a })
163
+ a && /* @__PURE__ */ r.jsx("span", { className: "text-xs mt-0.5", children: a })
165
164
  ]
166
165
  }
167
166
  )
168
- ), P = ({
167
+ ), L = ({
169
168
  children: t,
170
169
  variant: a = "primary",
171
170
  size: e = "md",
172
- className: r,
173
- ...o
174
- }) => /* @__PURE__ */ s.jsx(
171
+ className: s,
172
+ ...n
173
+ }) => /* @__PURE__ */ r.jsx(
175
174
  "nav",
176
175
  {
177
176
  role: "navigation",
178
177
  "aria-label": "Bottom navigation",
179
- className: H({ variant: a, size: e, className: r }),
180
- ...o,
178
+ className: H({ variant: a, size: e, className: s }),
179
+ ...n,
181
180
  children: t
182
181
  }
183
- ), Ba = Object.assign(P, {
184
- Item: L
185
- }), C = i("flex", {
182
+ ), Ba = Object.assign(L, {
183
+ Item: z
184
+ }), P = i("flex", {
186
185
  variants: {
187
186
  orientation: {
188
187
  horizontal: "flex-row",
@@ -214,24 +213,85 @@ const h = i(
214
213
  gap: "md",
215
214
  fluid: !1
216
215
  }
217
- }), wa = n(
216
+ }), wa = o(
218
217
  function({
219
218
  className: a,
220
219
  children: e,
221
- orientation: r = "horizontal",
222
- alignment: o = "start",
220
+ orientation: s = "horizontal",
221
+ alignment: n = "start",
223
222
  gap: c = "md",
224
223
  fluid: p = !1,
225
224
  ...m
226
- }, x) {
227
- return /* @__PURE__ */ s.jsx(
225
+ }, u) {
226
+ return /* @__PURE__ */ r.jsx(
228
227
  "div",
229
228
  {
230
- ref: x,
229
+ ref: u,
230
+ className: l(
231
+ P({
232
+ orientation: s,
233
+ alignment: n,
234
+ gap: c,
235
+ fluid: p
236
+ }),
237
+ a
238
+ ),
239
+ role: "group",
240
+ ...m,
241
+ children: e
242
+ }
243
+ );
244
+ }
245
+ ), C = i("flex", {
246
+ variants: {
247
+ orientation: {
248
+ horizontal: "flex-row",
249
+ vertical: "flex-col"
250
+ },
251
+ alignment: {
252
+ start: "justify-start",
253
+ center: "justify-center",
254
+ end: "justify-end",
255
+ between: "justify-between",
256
+ around: "justify-around",
257
+ evenly: "justify-evenly"
258
+ },
259
+ gap: {
260
+ xs: "gap-1",
261
+ sm: "gap-2",
262
+ md: "gap-3",
263
+ lg: "gap-4",
264
+ xl: "gap-6"
265
+ },
266
+ fluid: {
267
+ true: "[&>*]:flex-1",
268
+ false: ""
269
+ }
270
+ },
271
+ defaultVariants: {
272
+ orientation: "horizontal",
273
+ alignment: "start",
274
+ gap: "md",
275
+ fluid: !1
276
+ }
277
+ }), Na = o(
278
+ function({
279
+ className: a,
280
+ children: e,
281
+ orientation: s = "horizontal",
282
+ alignment: n = "start",
283
+ gap: c = "md",
284
+ fluid: p = !1,
285
+ ...m
286
+ }, u) {
287
+ return /* @__PURE__ */ r.jsx(
288
+ "div",
289
+ {
290
+ ref: u,
231
291
  className: l(
232
292
  C({
233
- orientation: r,
234
- alignment: o,
293
+ orientation: s,
294
+ alignment: n,
235
295
  gap: c,
236
296
  fluid: p
237
297
  }),
@@ -243,54 +303,54 @@ const h = i(
243
303
  }
244
304
  );
245
305
  }
246
- ), z = i("w-full px-4 sm:px-6 py-6 sm:py-8"), Na = n(
247
- ({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
306
+ ), R = i("w-full px-4 sm:px-6 py-6 sm:py-8"), Va = o(
307
+ ({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r.jsx(
248
308
  "div",
249
309
  {
250
- ref: r,
251
- className: l(z(), a),
310
+ ref: s,
311
+ className: l(R(), a),
252
312
  ...e,
253
313
  children: t
254
314
  }
255
315
  )
256
- ), R = i("w-full mt-4"), I = i(
316
+ ), I = i("w-full mt-4"), k = i(
257
317
  "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(
318
+ ), G = i("mb-4 px-4 sm:px-6"), F = i(
259
319
  "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(
320
+ ), O = i("flex items-center gap-2 flex-wrap"), W = i(
261
321
  "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(
322
+ ), M = i(
263
323
  "w-full flex items-center px-4 sm:px-6 py-0 overflow-x-auto"
264
- ), M = n(
265
- ({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
324
+ ), E = o(
325
+ ({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r.jsx(
266
326
  "div",
267
327
  {
268
- ref: r,
269
- className: l(I(), a),
328
+ ref: s,
329
+ className: l(k(), a),
270
330
  "data-versaur-page-header-top": !0,
271
331
  ...e,
272
332
  children: t
273
333
  }
274
334
  )
275
- ), E = n(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
335
+ ), $ = o(({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r.jsx(
276
336
  "div",
277
337
  {
278
- ref: r,
279
- className: l(k(), a),
338
+ ref: s,
339
+ className: l(G(), a),
280
340
  "data-versaur-page-header-breadcrumbs": !0,
281
341
  ...e,
282
342
  children: t
283
343
  }
284
- )), $ = n(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
344
+ )), q = o(({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r.jsx(
285
345
  "div",
286
346
  {
287
- ref: r,
347
+ ref: s,
288
348
  className: l(F(), a),
289
349
  "data-versaur-page-header-content": !0,
290
350
  ...e,
291
351
  children: t
292
352
  }
293
- )), q = n((t, a) => /* @__PURE__ */ s.jsx(
353
+ )), D = o((t, a) => /* @__PURE__ */ r.jsx(
294
354
  d,
295
355
  {
296
356
  ...t,
@@ -300,7 +360,7 @@ const h = i(
300
360
  ellipsis: !0,
301
361
  ref: a
302
362
  }
303
- )), D = n(({ className: t, ...a }, e) => /* @__PURE__ */ s.jsx(
363
+ )), J = o(({ className: t, ...a }, e) => /* @__PURE__ */ r.jsx(
304
364
  d,
305
365
  {
306
366
  as: "p",
@@ -311,70 +371,70 @@ const h = i(
311
371
  className: l("mb-2 sm:clamp-3", t),
312
372
  ...a
313
373
  }
314
- )), J = n(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
374
+ )), K = o(({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r.jsx(
315
375
  "div",
316
376
  {
317
- ref: r,
318
- className: l(G(), a),
377
+ ref: s,
378
+ className: l(O(), a),
319
379
  "data-versaur-page-header-badges": !0,
320
380
  ...e,
321
381
  children: t
322
382
  }
323
- )), K = n(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
383
+ )), Q = o(({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r.jsx(
324
384
  "div",
325
385
  {
326
- ref: r,
327
- className: l(O(), a),
386
+ ref: s,
387
+ className: l(W(), a),
328
388
  "data-versaur-page-header-actions": !0,
329
389
  ...e,
330
390
  children: t
331
391
  }
332
- )), Q = n(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
392
+ )), U = o(({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r.jsx(
333
393
  "div",
334
394
  {
335
- ref: r,
336
- className: l(W(), a),
395
+ ref: s,
396
+ className: l(M(), a),
337
397
  "data-versaur-page-header-bottom": !0,
338
398
  ...e,
339
399
  children: t
340
400
  }
341
- )), U = n(
401
+ )), X = o(
342
402
  ({
343
403
  children: t,
344
404
  className: a,
345
405
  title: e,
346
- subtitle: r,
347
- breadcrumbs: o,
406
+ subtitle: s,
407
+ breadcrumbs: n,
348
408
  badges: c,
349
409
  actions: p,
350
410
  tabs: m,
351
- ...x
352
- }, u) => {
353
- const g = e || r || o || c || p, b = m;
354
- return /* @__PURE__ */ s.jsxs(
411
+ ...u
412
+ }, f) => {
413
+ const g = e || s || n || c || p, v = m;
414
+ return /* @__PURE__ */ r.jsxs(
355
415
  "header",
356
416
  {
357
- ref: u,
358
- className: l(R(), a),
417
+ ref: f,
418
+ className: l(I(), a),
359
419
  role: "banner",
360
- ...x,
420
+ ...u,
361
421
  children: [
362
- o && /* @__PURE__ */ s.jsx(E, { children: o }),
363
- g && /* @__PURE__ */ s.jsxs(M, { children: [
364
- /* @__PURE__ */ s.jsxs($, { children: [
365
- e && /* @__PURE__ */ s.jsx(q, { children: e }),
366
- r && /* @__PURE__ */ s.jsx(D, { children: r }),
367
- c && /* @__PURE__ */ s.jsx(J, { children: c })
422
+ n && /* @__PURE__ */ r.jsx($, { children: n }),
423
+ g && /* @__PURE__ */ r.jsxs(E, { children: [
424
+ /* @__PURE__ */ r.jsxs(q, { children: [
425
+ e && /* @__PURE__ */ r.jsx(D, { children: e }),
426
+ s && /* @__PURE__ */ r.jsx(J, { children: s }),
427
+ c && /* @__PURE__ */ r.jsx(K, { children: c })
368
428
  ] }),
369
- p && /* @__PURE__ */ s.jsx(K, { children: p })
429
+ p && /* @__PURE__ */ r.jsx(Q, { children: p })
370
430
  ] }),
371
- b && /* @__PURE__ */ s.jsx(Q, { children: m }),
431
+ v && /* @__PURE__ */ r.jsx(U, { children: m }),
372
432
  t
373
433
  ]
374
434
  }
375
435
  );
376
436
  }
377
- ), Va = U, X = i("w-full mx-auto relative", {
437
+ ), Sa = X, Y = i("w-full mx-auto relative", {
378
438
  variants: {
379
439
  type: {
380
440
  desktop: "max-w-7xl px-6 pb-10",
@@ -385,19 +445,19 @@ const h = i(
385
445
  defaultVariants: {
386
446
  type: "desktop"
387
447
  }
388
- }), Ta = v.forwardRef(
389
- function({ type: a = "desktop", className: e, children: r, ...o }, c) {
390
- return /* @__PURE__ */ s.jsx(
448
+ }), Ta = b.forwardRef(
449
+ function({ type: a = "desktop", className: e, children: s, ...n }, c) {
450
+ return /* @__PURE__ */ r.jsx(
391
451
  "div",
392
452
  {
393
453
  ref: c,
394
- className: l(X({ type: a }), e),
395
- ...o,
396
- children: r
454
+ className: l(Y({ type: a }), e),
455
+ ...n,
456
+ children: s
397
457
  }
398
458
  );
399
459
  }
400
- ), Y = i("grid w-full gap-4 grid-cols-12"), Z = i("", {
460
+ ), Z = i("grid w-full gap-4 grid-cols-12"), _ = i("", {
401
461
  variants: {
402
462
  span: {
403
463
  1: "col-span-1",
@@ -417,37 +477,37 @@ const h = i(
417
477
  defaultVariants: {
418
478
  span: "4"
419
479
  }
420
- }), _ = n(
421
- function({ className: a, children: e, ...r }, o) {
422
- return /* @__PURE__ */ s.jsx(
480
+ }), aa = o(
481
+ function({ className: a, children: e, ...s }, n) {
482
+ return /* @__PURE__ */ r.jsx(
423
483
  "div",
424
484
  {
425
- ref: o,
426
- className: l(Y(), a),
427
- ...r,
485
+ ref: n,
486
+ className: l(Z(), a),
487
+ ...s,
428
488
  children: e
429
489
  }
430
490
  );
431
491
  }
432
- ), aa = n(
433
- function({ span: a = 4, className: e, children: r, ...o }, c) {
492
+ ), ea = o(
493
+ function({ span: a = 4, className: e, children: s, ...n }, c) {
434
494
  const p = Math.min(12, Math.max(1, a));
435
- return /* @__PURE__ */ s.jsx(
495
+ return /* @__PURE__ */ r.jsx(
436
496
  "div",
437
497
  {
438
498
  ref: c,
439
499
  className: l(
440
- Z({ span: `${p}` }),
500
+ _({ span: `${p}` }),
441
501
  e
442
502
  ),
443
- ...o,
444
- children: r
503
+ ...n,
504
+ children: s
445
505
  }
446
506
  );
447
507
  }
448
- ), Sa = Object.assign(_, {
449
- Column: aa
450
- }), f = i(
508
+ ), Ha = Object.assign(aa, {
509
+ Column: ea
510
+ }), x = i(
451
511
  "flex items-center gap-2 px-4 py-2 rounded-md hover:text-primary focus:outline-none transition-colors",
452
512
  {
453
513
  variants: {
@@ -465,52 +525,52 @@ const h = i(
465
525
  disabled: !1
466
526
  }
467
527
  }
468
- ), ea = n(
528
+ ), ta = o(
469
529
  (t, a) => {
470
- const { icon: e, children: r, href: o, onClick: c, active: p, ...m } = t;
471
- if (typeof o == "string") {
472
- const u = m;
473
- return /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsxs(
530
+ const { icon: e, children: s, href: n, onClick: c, active: p, ...m } = t;
531
+ if (typeof n == "string") {
532
+ const f = m;
533
+ return /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs(
474
534
  "a",
475
535
  {
476
536
  ref: a,
477
- href: o,
478
- className: f({
537
+ href: n,
538
+ className: x({
479
539
  disabled: !!t["aria-disabled"],
480
540
  active: p
481
541
  }),
482
- ...u,
542
+ ...f,
483
543
  children: [
484
544
  e,
485
- /* @__PURE__ */ s.jsx(d, { as: "span", color: "inherit", fontSize: "sm", children: r })
545
+ /* @__PURE__ */ r.jsx(d, { as: "span", color: "inherit", fontSize: "sm", children: s })
486
546
  ]
487
547
  }
488
548
  ) });
489
549
  } else {
490
- const u = m;
491
- return /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsxs(
550
+ const f = m;
551
+ return /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs(
492
552
  "button",
493
553
  {
494
554
  ref: a,
495
555
  type: "button",
496
556
  onClick: c,
497
557
  className: l(
498
- f({ disabled: !!u.disabled, active: p }),
558
+ x({ disabled: !!f.disabled, active: p }),
499
559
  "w-full text-left"
500
560
  ),
501
- ...u,
561
+ ...f,
502
562
  children: [
503
563
  e,
504
- /* @__PURE__ */ s.jsx(d, { as: "span", color: "inherit", fontSize: "sm", children: r })
564
+ /* @__PURE__ */ r.jsx(d, { as: "span", color: "inherit", fontSize: "sm", children: s })
505
565
  ]
506
566
  }
507
567
  ) });
508
568
  }
509
569
  }
510
- ), ta = n(
511
- function({ children: a, label: e, ...r }, o) {
512
- return /* @__PURE__ */ s.jsxs("li", { ref: o, className: "flex flex-col gap-2 mt-2", ...r, children: [
513
- /* @__PURE__ */ s.jsx(
570
+ ), sa = o(
571
+ function({ children: a, label: e, ...s }, n) {
572
+ return /* @__PURE__ */ r.jsxs("li", { ref: n, className: "flex flex-col gap-2 mt-2", ...s, children: [
573
+ /* @__PURE__ */ r.jsx(
514
574
  d,
515
575
  {
516
576
  as: "h2",
@@ -521,30 +581,30 @@ const h = i(
521
581
  children: e
522
582
  }
523
583
  ),
524
- /* @__PURE__ */ s.jsx("ul", { className: "flex flex-col gap-1", children: a })
584
+ /* @__PURE__ */ r.jsx("ul", { className: "flex flex-col gap-1", children: a })
525
585
  ] });
526
586
  }
527
- ), sa = n(
528
- ({ children: t, ...a }, e) => /* @__PURE__ */ s.jsx(
587
+ ), ra = o(
588
+ ({ children: t, ...a }, e) => /* @__PURE__ */ r.jsx(
529
589
  "nav",
530
590
  {
531
591
  ref: e,
532
592
  className: "w-56 bg-background border-r border-border flex flex-col my-2",
533
593
  "aria-label": "Sidebar",
534
594
  ...a,
535
- 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 }) })
595
+ children: /* @__PURE__ */ r.jsx("div", { className: "flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-border scrollbar-track-background", children: /* @__PURE__ */ r.jsx("ul", { className: "flex flex-col gap-1 mx-2", children: t }) })
536
596
  }
537
597
  )
538
- ), Ha = Object.assign(sa, {
539
- Item: ea,
540
- Group: ta
541
- }), ra = i(
598
+ ), Aa = Object.assign(ra, {
599
+ Item: ta,
600
+ Group: sa
601
+ }), na = i(
542
602
  "w-full flex items-center px-6 py-4 mb-6 border-b border-border shadow-xs bg-white",
543
603
  {
544
604
  variants: {},
545
605
  defaultVariants: {}
546
606
  }
547
- ), oa = i("flex items-center gap-3 min-w-0 flex-1"), na = i("flex items-center gap-2 ml-auto"), ia = i(
607
+ ), oa = i("flex items-center gap-3 min-w-0 flex-1"), ia = i("flex items-center gap-2 ml-auto"), la = i(
548
608
  "px-2.5 py-1.5 rounded-md text-sm cursor-pointer transition-colors",
549
609
  {
550
610
  variants: {
@@ -557,52 +617,53 @@ const h = i(
557
617
  active: !1
558
618
  }
559
619
  }
560
- ), la = i("flex items-center gap-2 ml-4"), ca = i("flex items-center gap-2 mr-4"), pa = n(
561
- function({ children: a, className: e, ...r }, o) {
562
- return /* @__PURE__ */ s.jsx("nav", { ref: o, className: la({ className: e }), ...r, children: a });
620
+ ), ca = i("flex items-center gap-2 ml-4"), pa = i("flex items-center gap-2 mr-4"), ma = o(
621
+ function({ children: a, className: e, ...s }, n) {
622
+ return /* @__PURE__ */ r.jsx("nav", { ref: n, className: ca({ className: e }), ...s, children: a });
563
623
  }
564
- ), ma = n(
565
- function({ children: a, className: e, ...r }, o) {
566
- return /* @__PURE__ */ s.jsx("div", { ref: o, className: ca({ className: e }), ...r, children: a });
624
+ ), da = o(
625
+ function({ children: a, className: e, ...s }, n) {
626
+ return /* @__PURE__ */ r.jsx("div", { ref: n, className: pa({ className: e }), ...s, children: a });
567
627
  }
568
- ), da = n(
569
- function({ children: a, className: e, ...r }, o) {
570
- return /* @__PURE__ */ s.jsx("div", { ref: o, className: oa({ className: e }), ...r, children: a });
628
+ ), ua = o(
629
+ function({ children: a, className: e, ...s }, n) {
630
+ return /* @__PURE__ */ r.jsx("div", { ref: n, className: oa({ className: e }), ...s, children: a });
571
631
  }
572
- ), ua = n(
573
- function({ children: a, className: e, ...r }, o) {
574
- return /* @__PURE__ */ s.jsx("div", { ref: o, className: na({ className: e }), ...r, children: a });
632
+ ), fa = o(
633
+ function({ children: a, className: e, ...s }, n) {
634
+ return /* @__PURE__ */ r.jsx("div", { ref: n, className: ia({ className: e }), ...s, children: a });
575
635
  }
576
- ), xa = n(
577
- function({ children: a, className: e, active: r, ...o }, c) {
578
- return /* @__PURE__ */ s.jsx(
636
+ ), xa = o(
637
+ function({ children: a, className: e, active: s, ...n }, c) {
638
+ return /* @__PURE__ */ r.jsx(
579
639
  "div",
580
640
  {
581
641
  ref: c,
582
- className: ia({ active: r, className: e }),
583
- "aria-current": r ? "page" : void 0,
584
- ...o,
642
+ className: la({ active: s, className: e }),
643
+ "aria-current": s ? "page" : void 0,
644
+ ...n,
585
645
  children: a
586
646
  }
587
647
  );
588
648
  }
589
- ), fa = n(
590
- ({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx("header", { ref: r, className: ra({ className: a }), ...e, children: t })
591
- ), Aa = Object.assign(fa, {
592
- Leading: da,
593
- Trailing: ua,
649
+ ), ga = o(
650
+ ({ children: t, className: a, ...e }, s) => /* @__PURE__ */ r.jsx("header", { ref: s, className: na({ className: a }), ...e, children: t })
651
+ ), za = Object.assign(ga, {
652
+ Leading: ua,
653
+ Trailing: fa,
594
654
  NavItem: xa,
595
- Nav: pa,
596
- Actions: ma
655
+ Nav: ma,
656
+ Actions: da
597
657
  });
598
658
  export {
599
659
  ya as A,
600
660
  Ba as B,
601
- Sa as F,
602
- Na as P,
603
- Ha as S,
604
- Aa as T,
661
+ Ha as F,
662
+ Va as P,
663
+ Aa as S,
664
+ za as T,
605
665
  wa as a,
606
- Va as b,
607
- Ta as c
666
+ Na as b,
667
+ Sa as c,
668
+ Ta as d
608
669
  };