@dimasbaguspm/versaur 0.0.29 → 0.0.31
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/{bottom-sheet-BKd7WCCS.js → bottom-sheet-3W_vCYl6.js} +3 -2
- package/dist/js/{bottom-sheet-input-DrbGhcXv.js → bottom-sheet-input-CI-9wYa7.js} +634 -727
- package/dist/js/forms/index.js +1 -1
- package/dist/js/{image-rectangle-CF656HIm.js → image-rectangle-BpMI_fTE.js} +242 -542
- package/dist/js/index.js +27 -29
- package/dist/js/layouts/index.js +1 -1
- package/dist/js/navigation/index.js +1 -1
- package/dist/js/overlays/index.js +2 -2
- package/dist/js/primitive/index.js +15 -17
- package/dist/js/{tabs-DoiqKzR9.js → tabs-BOdkXJdy.js} +1 -1
- package/dist/js/{tooltip-D1-q8Ars.js → tooltip-C1P1eN0U.js} +65 -57
- package/dist/js/{top-bar-B4SZ2YZC.js → top-bar-sahvpzBv.js} +179 -166
- package/dist/types/forms/chip-multiple-input/chip-multiple-input.d.ts +2 -3
- package/dist/types/forms/chip-multiple-input/types.d.ts +1 -21
- package/dist/types/forms/chip-single-input/chip-single-input.d.ts +2 -3
- package/dist/types/forms/chip-single-input/types.d.ts +1 -9
- package/dist/types/layouts/page-header/page-header.atoms.d.ts +2 -1
- package/dist/types/layouts/page-header/page-header.d.ts +4 -0
- package/dist/types/layouts/page-header/types.d.ts +6 -0
- package/dist/types/overlays/menu/index.d.ts +1 -1
- package/dist/types/overlays/menu/menu.d.ts +4 -1
- package/dist/types/overlays/menu/types.d.ts +4 -2
- package/dist/types/overlays/menu/use-menu.d.ts +0 -1
- package/dist/types/primitive/button-menu/button-menu.d.ts +4 -0
- package/dist/types/primitive/button-menu/index.d.ts +2 -0
- package/dist/types/primitive/button-menu/types.d.ts +13 -0
- package/dist/types/primitive/card/card.atoms.d.ts +3 -0
- package/dist/types/primitive/card/card.d.ts +4 -23
- package/dist/types/primitive/card/types.d.ts +13 -2
- package/dist/types/primitive/index.d.ts +0 -2
- package/dist/utils/enforce-subpath-import.js +1 -2
- package/package.json +1 -1
- package/dist/types/primitive/calendar/calendar.atoms.d.ts +0 -13
- package/dist/types/primitive/calendar/calendar.d.ts +0 -8
- package/dist/types/primitive/calendar/index.d.ts +0 -2
- package/dist/types/primitive/calendar/types.d.ts +0 -54
- package/dist/types/primitive/calendar/use-calendar.d.ts +0 -18
- package/dist/types/primitive/description-list/description-list.atoms.d.ts +0 -13
- package/dist/types/primitive/description-list/description-list.d.ts +0 -6
- package/dist/types/primitive/description-list/index.d.ts +0 -2
- package/dist/types/primitive/description-list/types.d.ts +0 -46
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as i, j as
|
|
1
|
+
import { c as i, j as s, a as l } from "./index-DOdDlCoL.js";
|
|
2
2
|
import * as b from "react";
|
|
3
3
|
import { forwardRef as o } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { j as u } from "./image-rectangle-BpMI_fTE.js";
|
|
5
5
|
import "./snackbar-DH8jCh2V.js";
|
|
6
6
|
const j = i(
|
|
7
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",
|
|
@@ -34,7 +34,7 @@ const j = i(
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
), y = o(
|
|
37
|
-
({ children: t, className: a }, e) => /* @__PURE__ */
|
|
37
|
+
({ children: t, className: a }, e) => /* @__PURE__ */ s.jsx(
|
|
38
38
|
"div",
|
|
39
39
|
{
|
|
40
40
|
ref: e,
|
|
@@ -44,7 +44,7 @@ const j = i(
|
|
|
44
44
|
}
|
|
45
45
|
)
|
|
46
46
|
), B = o(
|
|
47
|
-
({ children: t, className: a }, e) => /* @__PURE__ */
|
|
47
|
+
({ children: t, className: a }, e) => /* @__PURE__ */ s.jsx(
|
|
48
48
|
"div",
|
|
49
49
|
{
|
|
50
50
|
ref: e,
|
|
@@ -53,7 +53,7 @@ const j = i(
|
|
|
53
53
|
children: t
|
|
54
54
|
}
|
|
55
55
|
)
|
|
56
|
-
), w = o(({ children: t, ...a }, e) => /* @__PURE__ */
|
|
56
|
+
), w = o(({ children: t, ...a }, e) => /* @__PURE__ */ s.jsx(
|
|
57
57
|
u,
|
|
58
58
|
{
|
|
59
59
|
...a,
|
|
@@ -65,7 +65,7 @@ const j = i(
|
|
|
65
65
|
clamp: 1,
|
|
66
66
|
children: t
|
|
67
67
|
}
|
|
68
|
-
)), N = o(({ children: t, ...a }, e) => /* @__PURE__ */
|
|
68
|
+
)), N = o(({ children: t, ...a }, e) => /* @__PURE__ */ s.jsx(
|
|
69
69
|
u,
|
|
70
70
|
{
|
|
71
71
|
...a,
|
|
@@ -79,7 +79,7 @@ const j = i(
|
|
|
79
79
|
children: t
|
|
80
80
|
}
|
|
81
81
|
)), V = o(
|
|
82
|
-
({ children: t, className: a }, e) => /* @__PURE__ */
|
|
82
|
+
({ children: t, className: a }, e) => /* @__PURE__ */ s.jsx(
|
|
83
83
|
"div",
|
|
84
84
|
{
|
|
85
85
|
ref: e,
|
|
@@ -89,10 +89,10 @@ const j = i(
|
|
|
89
89
|
}
|
|
90
90
|
)
|
|
91
91
|
), S = o(
|
|
92
|
-
({ children: t, className: a, placement: e },
|
|
92
|
+
({ children: t, className: a, placement: e }, r) => /* @__PURE__ */ s.jsx(
|
|
93
93
|
"div",
|
|
94
94
|
{
|
|
95
|
-
ref:
|
|
95
|
+
ref: r,
|
|
96
96
|
className: l(h({ placement: e }), a),
|
|
97
97
|
children: t
|
|
98
98
|
}
|
|
@@ -101,21 +101,21 @@ const j = i(
|
|
|
101
101
|
children: t,
|
|
102
102
|
className: a,
|
|
103
103
|
variant: e = "primary"
|
|
104
|
-
}) => /* @__PURE__ */
|
|
104
|
+
}) => /* @__PURE__ */ s.jsx(
|
|
105
105
|
"header",
|
|
106
106
|
{
|
|
107
107
|
className: l(j({ variant: e }), a),
|
|
108
108
|
role: "banner",
|
|
109
109
|
children: t
|
|
110
110
|
}
|
|
111
|
-
),
|
|
111
|
+
), Na = Object.assign(T, {
|
|
112
112
|
Leading: B,
|
|
113
113
|
Headline: w,
|
|
114
114
|
Subtitle: N,
|
|
115
115
|
Trailing: V,
|
|
116
116
|
Center: S,
|
|
117
117
|
Bottom: y
|
|
118
|
-
}),
|
|
118
|
+
}), H = i(
|
|
119
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",
|
|
120
120
|
{
|
|
121
121
|
variants: {
|
|
@@ -137,7 +137,7 @@ const j = i(
|
|
|
137
137
|
size: "md"
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
),
|
|
140
|
+
), z = i(
|
|
141
141
|
"flex flex-col items-center justify-center gap-1 px-2 py-1 select-none",
|
|
142
142
|
{
|
|
143
143
|
variants: {
|
|
@@ -150,38 +150,38 @@ const j = i(
|
|
|
150
150
|
active: !1
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
),
|
|
154
|
-
({ icon: t, label: a, active: e = !1, className:
|
|
153
|
+
), A = o(
|
|
154
|
+
({ icon: t, label: a, active: e = !1, className: r, ...n }, c) => /* @__PURE__ */ s.jsxs(
|
|
155
155
|
"div",
|
|
156
156
|
{
|
|
157
157
|
ref: c,
|
|
158
158
|
"aria-current": e ? "page" : void 0,
|
|
159
|
-
className:
|
|
159
|
+
className: z({ active: e, className: r }),
|
|
160
160
|
...n,
|
|
161
161
|
children: [
|
|
162
162
|
t,
|
|
163
|
-
a && /* @__PURE__ */
|
|
163
|
+
a && /* @__PURE__ */ s.jsx("span", { className: "text-xs mt-0.5", children: a })
|
|
164
164
|
]
|
|
165
165
|
}
|
|
166
166
|
)
|
|
167
|
-
),
|
|
167
|
+
), C = ({
|
|
168
168
|
children: t,
|
|
169
169
|
variant: a = "primary",
|
|
170
170
|
size: e = "md",
|
|
171
|
-
className:
|
|
171
|
+
className: r,
|
|
172
172
|
...n
|
|
173
|
-
}) => /* @__PURE__ */
|
|
173
|
+
}) => /* @__PURE__ */ s.jsx(
|
|
174
174
|
"nav",
|
|
175
175
|
{
|
|
176
176
|
role: "navigation",
|
|
177
177
|
"aria-label": "Bottom navigation",
|
|
178
|
-
className:
|
|
178
|
+
className: H({ variant: a, size: e, className: r }),
|
|
179
179
|
...n,
|
|
180
180
|
children: t
|
|
181
181
|
}
|
|
182
|
-
),
|
|
183
|
-
Item:
|
|
184
|
-
}),
|
|
182
|
+
), Va = Object.assign(C, {
|
|
183
|
+
Item: A
|
|
184
|
+
}), P = i("flex", {
|
|
185
185
|
variants: {
|
|
186
186
|
orientation: {
|
|
187
187
|
horizontal: "flex-row",
|
|
@@ -213,23 +213,23 @@ const j = i(
|
|
|
213
213
|
gap: "md",
|
|
214
214
|
fluid: !1
|
|
215
215
|
}
|
|
216
|
-
}),
|
|
216
|
+
}), Sa = o(
|
|
217
217
|
function({
|
|
218
218
|
className: a,
|
|
219
219
|
children: e,
|
|
220
|
-
orientation:
|
|
220
|
+
orientation: r = "horizontal",
|
|
221
221
|
alignment: n = "start",
|
|
222
222
|
gap: c = "md",
|
|
223
223
|
fluid: p = !1,
|
|
224
|
-
...
|
|
225
|
-
},
|
|
226
|
-
return /* @__PURE__ */
|
|
224
|
+
...d
|
|
225
|
+
}, m) {
|
|
226
|
+
return /* @__PURE__ */ s.jsx(
|
|
227
227
|
"div",
|
|
228
228
|
{
|
|
229
|
-
ref:
|
|
229
|
+
ref: m,
|
|
230
230
|
className: l(
|
|
231
|
-
|
|
232
|
-
orientation:
|
|
231
|
+
P({
|
|
232
|
+
orientation: r,
|
|
233
233
|
alignment: n,
|
|
234
234
|
gap: c,
|
|
235
235
|
fluid: p
|
|
@@ -237,12 +237,12 @@ const j = i(
|
|
|
237
237
|
a
|
|
238
238
|
),
|
|
239
239
|
role: "group",
|
|
240
|
-
...
|
|
240
|
+
...d,
|
|
241
241
|
children: e
|
|
242
242
|
}
|
|
243
243
|
);
|
|
244
244
|
}
|
|
245
|
-
),
|
|
245
|
+
), L = i("flex", {
|
|
246
246
|
variants: {
|
|
247
247
|
orientation: {
|
|
248
248
|
horizontal: "flex-row",
|
|
@@ -274,23 +274,23 @@ const j = i(
|
|
|
274
274
|
gap: "md",
|
|
275
275
|
fluid: !1
|
|
276
276
|
}
|
|
277
|
-
}),
|
|
277
|
+
}), Ta = o(
|
|
278
278
|
function({
|
|
279
279
|
className: a,
|
|
280
280
|
children: e,
|
|
281
|
-
orientation:
|
|
281
|
+
orientation: r = "horizontal",
|
|
282
282
|
alignment: n = "start",
|
|
283
283
|
gap: c = "md",
|
|
284
284
|
fluid: p = !1,
|
|
285
|
-
...
|
|
286
|
-
},
|
|
287
|
-
return /* @__PURE__ */
|
|
285
|
+
...d
|
|
286
|
+
}, m) {
|
|
287
|
+
return /* @__PURE__ */ s.jsx(
|
|
288
288
|
"div",
|
|
289
289
|
{
|
|
290
|
-
ref:
|
|
290
|
+
ref: m,
|
|
291
291
|
className: l(
|
|
292
|
-
|
|
293
|
-
orientation:
|
|
292
|
+
L({
|
|
293
|
+
orientation: r,
|
|
294
294
|
alignment: n,
|
|
295
295
|
gap: c,
|
|
296
296
|
fluid: p
|
|
@@ -298,7 +298,7 @@ const j = i(
|
|
|
298
298
|
a
|
|
299
299
|
),
|
|
300
300
|
role: "group",
|
|
301
|
-
...
|
|
301
|
+
...d,
|
|
302
302
|
children: e
|
|
303
303
|
}
|
|
304
304
|
);
|
|
@@ -335,23 +335,23 @@ const j = i(
|
|
|
335
335
|
gap: "md",
|
|
336
336
|
fluid: !1
|
|
337
337
|
}
|
|
338
|
-
}),
|
|
338
|
+
}), Ha = o(
|
|
339
339
|
function({
|
|
340
340
|
className: a,
|
|
341
341
|
children: e,
|
|
342
|
-
orientation:
|
|
342
|
+
orientation: r = "horizontal",
|
|
343
343
|
alignment: n = "start",
|
|
344
344
|
gap: c = "md",
|
|
345
345
|
fluid: p = !1,
|
|
346
|
-
...
|
|
347
|
-
},
|
|
348
|
-
return /* @__PURE__ */
|
|
346
|
+
...d
|
|
347
|
+
}, m) {
|
|
348
|
+
return /* @__PURE__ */ s.jsx(
|
|
349
349
|
"div",
|
|
350
350
|
{
|
|
351
|
-
ref:
|
|
351
|
+
ref: m,
|
|
352
352
|
className: l(
|
|
353
353
|
G({
|
|
354
|
-
orientation:
|
|
354
|
+
orientation: r,
|
|
355
355
|
alignment: n,
|
|
356
356
|
gap: c,
|
|
357
357
|
fluid: p
|
|
@@ -359,59 +359,59 @@ const j = i(
|
|
|
359
359
|
a
|
|
360
360
|
),
|
|
361
361
|
role: "group",
|
|
362
|
-
...
|
|
362
|
+
...d,
|
|
363
363
|
children: e
|
|
364
364
|
}
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
|
-
), R = i("w-full px-4 sm:px-6 py-6 sm:py-8"),
|
|
368
|
-
({ children: t, className: a, ...e },
|
|
367
|
+
), R = i("w-full px-4 sm:px-6 py-6 sm:py-8"), za = o(
|
|
368
|
+
({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
369
369
|
"div",
|
|
370
370
|
{
|
|
371
|
-
ref:
|
|
371
|
+
ref: r,
|
|
372
372
|
className: l(R(), a),
|
|
373
373
|
...e,
|
|
374
374
|
children: t
|
|
375
375
|
}
|
|
376
376
|
)
|
|
377
|
-
),
|
|
377
|
+
), I = i("w-full mt-4"), k = i(
|
|
378
378
|
"flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4 px-4 sm:px-6 mb-4"
|
|
379
379
|
), F = i("mb-4 px-4 sm:px-6"), O = i(
|
|
380
380
|
"flex-1 min-w-0 flex flex-col gap-2 w-full sm:w-auto"
|
|
381
381
|
), W = i("flex items-center gap-2 flex-wrap"), M = i(
|
|
382
|
-
"
|
|
383
|
-
), E = i(
|
|
382
|
+
"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"
|
|
383
|
+
), E = i("md:hidden"), $ = i(
|
|
384
384
|
"w-full flex items-center px-4 sm:px-6 py-0 overflow-x-auto"
|
|
385
|
-
),
|
|
386
|
-
({ children: t, className: a, ...e },
|
|
385
|
+
), q = o(
|
|
386
|
+
({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
387
387
|
"div",
|
|
388
388
|
{
|
|
389
|
-
ref:
|
|
390
|
-
className: l(
|
|
389
|
+
ref: r,
|
|
390
|
+
className: l(k(), a),
|
|
391
391
|
"data-versaur-page-header-top": !0,
|
|
392
392
|
...e,
|
|
393
393
|
children: t
|
|
394
394
|
}
|
|
395
395
|
)
|
|
396
|
-
),
|
|
396
|
+
), D = o(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
397
397
|
"div",
|
|
398
398
|
{
|
|
399
|
-
ref:
|
|
399
|
+
ref: r,
|
|
400
400
|
className: l(F(), a),
|
|
401
401
|
"data-versaur-page-header-breadcrumbs": !0,
|
|
402
402
|
...e,
|
|
403
403
|
children: t
|
|
404
404
|
}
|
|
405
|
-
)),
|
|
405
|
+
)), J = o(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
406
406
|
"div",
|
|
407
407
|
{
|
|
408
|
-
ref:
|
|
408
|
+
ref: r,
|
|
409
409
|
className: l(O(), a),
|
|
410
410
|
"data-versaur-page-header-content": !0,
|
|
411
411
|
...e,
|
|
412
412
|
children: t
|
|
413
413
|
}
|
|
414
|
-
)),
|
|
414
|
+
)), K = o((t, a) => /* @__PURE__ */ s.jsx(
|
|
415
415
|
u,
|
|
416
416
|
{
|
|
417
417
|
...t,
|
|
@@ -421,7 +421,7 @@ const j = i(
|
|
|
421
421
|
ellipsis: !0,
|
|
422
422
|
ref: a
|
|
423
423
|
}
|
|
424
|
-
)),
|
|
424
|
+
)), Q = o(({ className: t, ...a }, e) => /* @__PURE__ */ s.jsx(
|
|
425
425
|
u,
|
|
426
426
|
{
|
|
427
427
|
as: "p",
|
|
@@ -432,70 +432,83 @@ const j = i(
|
|
|
432
432
|
className: l("mb-2 sm:clamp-3", t),
|
|
433
433
|
...a
|
|
434
434
|
}
|
|
435
|
-
)),
|
|
435
|
+
)), U = o(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
436
436
|
"div",
|
|
437
437
|
{
|
|
438
|
-
ref:
|
|
438
|
+
ref: r,
|
|
439
439
|
className: l(W(), a),
|
|
440
440
|
"data-versaur-page-header-badges": !0,
|
|
441
441
|
...e,
|
|
442
442
|
children: t
|
|
443
443
|
}
|
|
444
|
-
)),
|
|
444
|
+
)), X = o(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
445
445
|
"div",
|
|
446
446
|
{
|
|
447
|
-
ref:
|
|
447
|
+
ref: r,
|
|
448
448
|
className: l(M(), a),
|
|
449
449
|
"data-versaur-page-header-actions": !0,
|
|
450
450
|
...e,
|
|
451
451
|
children: t
|
|
452
452
|
}
|
|
453
|
-
)),
|
|
453
|
+
)), Y = o(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
454
454
|
"div",
|
|
455
455
|
{
|
|
456
|
-
ref:
|
|
456
|
+
ref: r,
|
|
457
457
|
className: l(E(), a),
|
|
458
|
+
"data-versaur-page-header-mobile-actions": !0,
|
|
459
|
+
...e,
|
|
460
|
+
children: t
|
|
461
|
+
}
|
|
462
|
+
)), Z = o(({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
463
|
+
"div",
|
|
464
|
+
{
|
|
465
|
+
ref: r,
|
|
466
|
+
className: l($(), a),
|
|
458
467
|
"data-versaur-page-header-bottom": !0,
|
|
459
468
|
...e,
|
|
460
469
|
children: t
|
|
461
470
|
}
|
|
462
|
-
)),
|
|
471
|
+
)), _ = o(
|
|
463
472
|
({
|
|
464
473
|
children: t,
|
|
465
474
|
className: a,
|
|
466
475
|
title: e,
|
|
467
|
-
subtitle:
|
|
476
|
+
subtitle: r,
|
|
468
477
|
breadcrumbs: n,
|
|
469
478
|
badges: c,
|
|
470
479
|
actions: p,
|
|
480
|
+
mobileActions: d,
|
|
471
481
|
tabs: m,
|
|
472
|
-
...
|
|
473
|
-
},
|
|
474
|
-
const
|
|
475
|
-
return /* @__PURE__ */
|
|
482
|
+
...f
|
|
483
|
+
}, g) => {
|
|
484
|
+
const v = m;
|
|
485
|
+
return /* @__PURE__ */ s.jsxs(
|
|
476
486
|
"header",
|
|
477
487
|
{
|
|
478
|
-
ref:
|
|
479
|
-
className: l(
|
|
488
|
+
ref: g,
|
|
489
|
+
className: l(I(), a),
|
|
480
490
|
role: "banner",
|
|
481
|
-
...
|
|
491
|
+
...f,
|
|
482
492
|
children: [
|
|
483
|
-
n && /* @__PURE__ */
|
|
484
|
-
|
|
485
|
-
/* @__PURE__ */
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
493
|
+
n && /* @__PURE__ */ s.jsx(D, { children: n }),
|
|
494
|
+
/* @__PURE__ */ s.jsxs(q, { children: [
|
|
495
|
+
/* @__PURE__ */ s.jsxs(J, { children: [
|
|
496
|
+
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
497
|
+
/* @__PURE__ */ s.jsx(K, { children: e }),
|
|
498
|
+
d && /* @__PURE__ */ s.jsx(Y, { children: d })
|
|
499
|
+
] }),
|
|
500
|
+
r && /* @__PURE__ */ s.jsx(Q, { children: r }),
|
|
501
|
+
c && /* @__PURE__ */ s.jsx(U, { children: c })
|
|
489
502
|
] }),
|
|
490
|
-
p && /* @__PURE__ */
|
|
503
|
+
p && /* @__PURE__ */ s.jsx(X, { children: p })
|
|
491
504
|
] }),
|
|
492
|
-
v && /* @__PURE__ */
|
|
505
|
+
v && /* @__PURE__ */ s.jsx(Z, { children: m }),
|
|
493
506
|
t
|
|
494
507
|
]
|
|
495
508
|
}
|
|
496
509
|
);
|
|
497
510
|
}
|
|
498
|
-
),
|
|
511
|
+
), Aa = _, aa = i("w-full mx-auto relative", {
|
|
499
512
|
variants: {
|
|
500
513
|
type: {
|
|
501
514
|
desktop: "max-w-7xl px-6 pb-10",
|
|
@@ -506,19 +519,19 @@ const j = i(
|
|
|
506
519
|
defaultVariants: {
|
|
507
520
|
type: "desktop"
|
|
508
521
|
}
|
|
509
|
-
}),
|
|
510
|
-
function({ type: a = "desktop", className: e, children:
|
|
511
|
-
return /* @__PURE__ */
|
|
522
|
+
}), Ca = b.forwardRef(
|
|
523
|
+
function({ type: a = "desktop", className: e, children: r, ...n }, c) {
|
|
524
|
+
return /* @__PURE__ */ s.jsx(
|
|
512
525
|
"div",
|
|
513
526
|
{
|
|
514
527
|
ref: c,
|
|
515
|
-
className: l(
|
|
528
|
+
className: l(aa({ type: a }), e),
|
|
516
529
|
...n,
|
|
517
|
-
children:
|
|
530
|
+
children: r
|
|
518
531
|
}
|
|
519
532
|
);
|
|
520
533
|
}
|
|
521
|
-
),
|
|
534
|
+
), ea = i("grid w-full gap-4 grid-cols-12"), ta = i("", {
|
|
522
535
|
variants: {
|
|
523
536
|
span: {
|
|
524
537
|
1: "col-span-1",
|
|
@@ -538,36 +551,36 @@ const j = i(
|
|
|
538
551
|
defaultVariants: {
|
|
539
552
|
span: "4"
|
|
540
553
|
}
|
|
541
|
-
}),
|
|
542
|
-
function({ className: a, children: e, ...
|
|
543
|
-
return /* @__PURE__ */
|
|
554
|
+
}), sa = o(
|
|
555
|
+
function({ className: a, children: e, ...r }, n) {
|
|
556
|
+
return /* @__PURE__ */ s.jsx(
|
|
544
557
|
"div",
|
|
545
558
|
{
|
|
546
559
|
ref: n,
|
|
547
|
-
className: l(
|
|
548
|
-
...
|
|
560
|
+
className: l(ea(), a),
|
|
561
|
+
...r,
|
|
549
562
|
children: e
|
|
550
563
|
}
|
|
551
564
|
);
|
|
552
565
|
}
|
|
553
|
-
),
|
|
554
|
-
function({ span: a = 4, className: e, children:
|
|
566
|
+
), ra = o(
|
|
567
|
+
function({ span: a = 4, className: e, children: r, ...n }, c) {
|
|
555
568
|
const p = Math.min(12, Math.max(1, a));
|
|
556
|
-
return /* @__PURE__ */
|
|
569
|
+
return /* @__PURE__ */ s.jsx(
|
|
557
570
|
"div",
|
|
558
571
|
{
|
|
559
572
|
ref: c,
|
|
560
573
|
className: l(
|
|
561
|
-
|
|
574
|
+
ta({ span: `${p}` }),
|
|
562
575
|
e
|
|
563
576
|
),
|
|
564
577
|
...n,
|
|
565
|
-
children:
|
|
578
|
+
children: r
|
|
566
579
|
}
|
|
567
580
|
);
|
|
568
581
|
}
|
|
569
|
-
),
|
|
570
|
-
Column:
|
|
582
|
+
), Pa = Object.assign(sa, {
|
|
583
|
+
Column: ra
|
|
571
584
|
}), x = i(
|
|
572
585
|
"flex items-center gap-2 px-4 py-2 rounded-md hover:text-primary focus:outline-none transition-colors",
|
|
573
586
|
{
|
|
@@ -586,12 +599,12 @@ const j = i(
|
|
|
586
599
|
disabled: !1
|
|
587
600
|
}
|
|
588
601
|
}
|
|
589
|
-
),
|
|
602
|
+
), na = o(
|
|
590
603
|
(t, a) => {
|
|
591
|
-
const { icon: e, children:
|
|
604
|
+
const { icon: e, children: r, href: n, onClick: c, active: p, ...d } = t;
|
|
592
605
|
if (typeof n == "string") {
|
|
593
|
-
const f =
|
|
594
|
-
return /* @__PURE__ */
|
|
606
|
+
const f = d;
|
|
607
|
+
return /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsxs(
|
|
595
608
|
"a",
|
|
596
609
|
{
|
|
597
610
|
ref: a,
|
|
@@ -603,13 +616,13 @@ const j = i(
|
|
|
603
616
|
...f,
|
|
604
617
|
children: [
|
|
605
618
|
e,
|
|
606
|
-
/* @__PURE__ */
|
|
619
|
+
/* @__PURE__ */ s.jsx(u, { as: "span", color: "inherit", fontSize: "sm", children: r })
|
|
607
620
|
]
|
|
608
621
|
}
|
|
609
622
|
) });
|
|
610
623
|
} else {
|
|
611
|
-
const f =
|
|
612
|
-
return /* @__PURE__ */
|
|
624
|
+
const f = d;
|
|
625
|
+
return /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsxs(
|
|
613
626
|
"button",
|
|
614
627
|
{
|
|
615
628
|
ref: a,
|
|
@@ -622,16 +635,16 @@ const j = i(
|
|
|
622
635
|
...f,
|
|
623
636
|
children: [
|
|
624
637
|
e,
|
|
625
|
-
/* @__PURE__ */
|
|
638
|
+
/* @__PURE__ */ s.jsx(u, { as: "span", color: "inherit", fontSize: "sm", children: r })
|
|
626
639
|
]
|
|
627
640
|
}
|
|
628
641
|
) });
|
|
629
642
|
}
|
|
630
643
|
}
|
|
631
|
-
),
|
|
632
|
-
function({ children: a, label: e, ...
|
|
633
|
-
return /* @__PURE__ */
|
|
634
|
-
/* @__PURE__ */
|
|
644
|
+
), oa = o(
|
|
645
|
+
function({ children: a, label: e, ...r }, n) {
|
|
646
|
+
return /* @__PURE__ */ s.jsxs("li", { ref: n, className: "flex flex-col gap-2 mt-2", ...r, children: [
|
|
647
|
+
/* @__PURE__ */ s.jsx(
|
|
635
648
|
u,
|
|
636
649
|
{
|
|
637
650
|
as: "h2",
|
|
@@ -642,30 +655,30 @@ const j = i(
|
|
|
642
655
|
children: e
|
|
643
656
|
}
|
|
644
657
|
),
|
|
645
|
-
/* @__PURE__ */
|
|
658
|
+
/* @__PURE__ */ s.jsx("ul", { className: "flex flex-col gap-1", children: a })
|
|
646
659
|
] });
|
|
647
660
|
}
|
|
648
|
-
),
|
|
649
|
-
({ children: t, ...a }, e) => /* @__PURE__ */
|
|
661
|
+
), ia = o(
|
|
662
|
+
({ children: t, ...a }, e) => /* @__PURE__ */ s.jsx(
|
|
650
663
|
"nav",
|
|
651
664
|
{
|
|
652
665
|
ref: e,
|
|
653
666
|
className: "w-56 bg-background border-r border-border flex flex-col my-2",
|
|
654
667
|
"aria-label": "Sidebar",
|
|
655
668
|
...a,
|
|
656
|
-
children: /* @__PURE__ */
|
|
669
|
+
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 }) })
|
|
657
670
|
}
|
|
658
671
|
)
|
|
659
|
-
),
|
|
660
|
-
Item:
|
|
661
|
-
Group:
|
|
662
|
-
}),
|
|
672
|
+
), La = Object.assign(ia, {
|
|
673
|
+
Item: na,
|
|
674
|
+
Group: oa
|
|
675
|
+
}), la = i(
|
|
663
676
|
"w-full flex items-center px-6 py-4 mb-6 border-b border-border shadow-xs bg-white",
|
|
664
677
|
{
|
|
665
678
|
variants: {},
|
|
666
679
|
defaultVariants: {}
|
|
667
680
|
}
|
|
668
|
-
),
|
|
681
|
+
), ca = i("flex items-center gap-3 min-w-0 flex-1"), pa = i("flex items-center gap-2 ml-auto"), da = i(
|
|
669
682
|
"px-2.5 py-1.5 rounded-md text-sm cursor-pointer transition-colors",
|
|
670
683
|
{
|
|
671
684
|
variants: {
|
|
@@ -678,54 +691,54 @@ const j = i(
|
|
|
678
691
|
active: !1
|
|
679
692
|
}
|
|
680
693
|
}
|
|
681
|
-
),
|
|
682
|
-
function({ children: a, className: e, ...
|
|
683
|
-
return /* @__PURE__ */
|
|
684
|
-
}
|
|
685
|
-
), ua = o(
|
|
686
|
-
function({ children: a, className: e, ...s }, n) {
|
|
687
|
-
return /* @__PURE__ */ r.jsx("div", { ref: n, className: ma({ className: e }), ...s, children: a });
|
|
688
|
-
}
|
|
689
|
-
), fa = o(
|
|
690
|
-
function({ children: a, className: e, ...s }, n) {
|
|
691
|
-
return /* @__PURE__ */ r.jsx("div", { ref: n, className: ia({ className: e }), ...s, children: a });
|
|
694
|
+
), ma = i("flex items-center gap-2 ml-4"), ua = i("flex items-center gap-2 mr-4"), fa = o(
|
|
695
|
+
function({ children: a, className: e, ...r }, n) {
|
|
696
|
+
return /* @__PURE__ */ s.jsx("nav", { ref: n, className: ma({ className: e }), ...r, children: a });
|
|
692
697
|
}
|
|
693
698
|
), xa = o(
|
|
694
|
-
function({ children: a, className: e, ...
|
|
695
|
-
return /* @__PURE__ */
|
|
699
|
+
function({ children: a, className: e, ...r }, n) {
|
|
700
|
+
return /* @__PURE__ */ s.jsx("div", { ref: n, className: ua({ className: e }), ...r, children: a });
|
|
696
701
|
}
|
|
697
702
|
), ga = o(
|
|
698
|
-
function({ children: a, className: e,
|
|
699
|
-
return /* @__PURE__ */
|
|
703
|
+
function({ children: a, className: e, ...r }, n) {
|
|
704
|
+
return /* @__PURE__ */ s.jsx("div", { ref: n, className: ca({ className: e }), ...r, children: a });
|
|
705
|
+
}
|
|
706
|
+
), va = o(
|
|
707
|
+
function({ children: a, className: e, ...r }, n) {
|
|
708
|
+
return /* @__PURE__ */ s.jsx("div", { ref: n, className: pa({ className: e }), ...r, children: a });
|
|
709
|
+
}
|
|
710
|
+
), ba = o(
|
|
711
|
+
function({ children: a, className: e, active: r, ...n }, c) {
|
|
712
|
+
return /* @__PURE__ */ s.jsx(
|
|
700
713
|
"div",
|
|
701
714
|
{
|
|
702
715
|
ref: c,
|
|
703
|
-
className:
|
|
704
|
-
"aria-current":
|
|
716
|
+
className: da({ active: r, className: e }),
|
|
717
|
+
"aria-current": r ? "page" : void 0,
|
|
705
718
|
...n,
|
|
706
719
|
children: a
|
|
707
720
|
}
|
|
708
721
|
);
|
|
709
722
|
}
|
|
710
|
-
),
|
|
711
|
-
({ children: t, className: a, ...e },
|
|
712
|
-
),
|
|
713
|
-
Leading:
|
|
714
|
-
Trailing:
|
|
715
|
-
NavItem:
|
|
716
|
-
Nav:
|
|
717
|
-
Actions:
|
|
723
|
+
), ja = o(
|
|
724
|
+
({ children: t, className: a, ...e }, r) => /* @__PURE__ */ s.jsx("header", { ref: r, className: la({ className: a }), ...e, children: t })
|
|
725
|
+
), Ga = Object.assign(ja, {
|
|
726
|
+
Leading: ga,
|
|
727
|
+
Trailing: va,
|
|
728
|
+
NavItem: ba,
|
|
729
|
+
Nav: fa,
|
|
730
|
+
Actions: xa
|
|
718
731
|
});
|
|
719
732
|
export {
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
733
|
+
Na as A,
|
|
734
|
+
Va as B,
|
|
735
|
+
Ha as F,
|
|
736
|
+
za as P,
|
|
737
|
+
La as S,
|
|
738
|
+
Ga as T,
|
|
739
|
+
Sa as a,
|
|
740
|
+
Ta as b,
|
|
741
|
+
Aa as c,
|
|
742
|
+
Ca as d,
|
|
743
|
+
Pa as e
|
|
731
744
|
};
|